Improve window dividers code.
[bpt/emacs.git] / lisp / ChangeLog
1 2014-02-03 Martin Rudalics <rudalics@gmx.at>
2
3 * faces.el (window-divider): New default value. Rewrite
4 doc-string.
5 (window-divider-first-pixel, window-divider-last-pixel): New
6 faces.
7
8 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
9
10 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
11 `protected' and `public' can also be called without arguments.
12
13 2014-02-03 Glenn Morris <rgm@gnu.org>
14
15 * register.el (window-configuration-to-register)
16 (frame-configuration-to-register): Unadvertise unused argument.
17 * frameset.el (frameset-to-register): Remove unused argument.
18
19 * kmacro.el (kmacro-to-register):
20 * register.el (increment-register):
21 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
22 (calc-append-to-register, calc-prepend-to-register):
23 * play/gametree.el (gametree-layout-to-register)
24 (gametree-apply-register-layout):
25 * textmodes/picture.el (picture-clear-rectangle-to-register)
26 (picture-yank-rectangle-from-register):
27 * vc/emerge.el (emerge-combine-versions-register):
28 Use register-read-with-preview to read registers.
29
30 2014-02-03 João Távora <joaotavora@gmail.com>
31
32 * elec-pair.el (electric-pair-backward-delete-char): Don't error
33 when at beginning of (possibly narrowed) buffer.
34
35 2014-02-02 Daniel Colascione <dancol@dancol.org>
36
37 * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display): Also
38 try to display local help from just before point.
39
40 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
41
42 c-parse-state. Don't "append-lower-brace-pair" in certain
43 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
44 recognised as a comment.
45
46 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
47 as well as normal comment starter.
48 (c-parse-state-get-strategy): Extra return possibility
49 'back-and-forward.
50 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
51 return value list to indicate replacement of a brace-pair cons
52 with its car.
53 (c-parse-state-1): With 'back-and-forward, only call
54 c-append-lower-brace-pair-to state-cache when cons-separated.
55
56 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
57
58 * term/ns-win.el (ns-suspend-error): New function.
59 (ns-initialize-window-system): Add ns-suspend-error to
60 suspend-hook (Bug#16612).
61
62 2014-02-02 Daniel Colascione <dancol@dancol.org>
63
64 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
65
66 2014-02-02 Daniel Colascione <dancol@dancol.org>
67
68 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
69
70 2014-02-02 Glenn Morris <rgm@gnu.org>
71
72 * register.el (register-read-with-preview, point-to-register)
73 (window-configuration-to-register, frame-configuration-to-register)
74 (jump-to-register, number-to-register, view-register, insert-register)
75 (copy-to-register, append-to-register, prepend-to-register)
76 (copy-rectangle-to-register): Doc fixes.
77
78 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
79
80 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
81 * emacs-lisp/find-func.el (find-function-C-source): Idem.
82 * emacs-lisp/nadvice.el (advice--cd*r): New function.
83 * help-fns.el (describe-function-1): Use it.
84
85 2014-02-02 Glenn Morris <rgm@gnu.org>
86
87 * register.el (register-preview-default): New function,
88 split from register-preview.
89 (register-preview-function): Rename from register-preview-functions,
90 make it not a hook.
91 (register-preview): Use register-preview-function.
92 (register-read-with-preview): Error on non-character event. (Bug#16595)
93
94 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
95
96 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
97 `:' before binary operators (bug#16609). Don't check for `:'
98 before `[' and `(', or their syntax status. A percent literal
99 can't end with either.
100 (ruby-font-lock-keywords): For built-ins that require arguments,
101 check that they're followed by something that looks like argument
102 (bug#16610).
103
104 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
105
106 * subr.el (butlast): Document what an omitted N means (bug#13437).
107 (nbutlast): Ditto.
108
109 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
110
111 * net/shr.el (shr-generic): Make into a defsubst to make the stack
112 depth shallower (bug#16587).
113 (shr-tag-svg): Respect `shr-inhibit-images'.
114 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
115
116 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
117
118 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
119 (ruby-smie-grammar): Make "." right-associative. Make its priority
120 lower than the ternary and all binary operators.
121 (ruby-smie-rules): Indent "(" relative to the first non-"."
122 parent, or the first "." parent at indentation.
123 Use `ruby-align-chained-calls' for indentation of "." tokens.
124 (Bug#16593)
125
126 2014-01-31 Juri Linkov <juri@jurta.org>
127
128 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
129 from `make-hash-table'.
130
131 * textmodes/ispell.el (ispell-init-process): Change message format
132 to be consistent with other messages.
133
134 2014-01-31 Glenn Morris <rgm@gnu.org>
135
136 * delsel.el (delete-selection-mode): Doc fix.
137
138 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
139 (trace-function-background): Doc fixes.
140
141 * ido.el (ido-use-virtual-buffers): Doc fix.
142 Reset :version, since the default value has not changed.
143
144 * register.el (register-preview-delay, register-read-with-preview):
145 Doc fixes.
146
147 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
148 do not mess with mail-buffer position (fixes 2009-11-03 change).
149 * progmodes/cc-mode.el (c-submit-bug-report):
150 Check auto-fill-mode is bound. (Bug#16592)
151
152 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
153
154 * startup.el (fancy-splash-image-file): New function,
155 split from fancy-splash-head.
156 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
157 so that we are both using the same image. (Bug#16574)
158
159 2014-01-30 Glenn Morris <rgm@gnu.org>
160
161 * simple.el (eval-expression): Doc fix.
162
163 * hexl.el (hexl-mode-hook):
164 * ielm.el (ielm-mode-hook):
165 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
166 (lisp-interaction-mode-hook):
167 * progmodes/cfengine.e (cfengine3-documentation-function):
168 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
169
170 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
171
172 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
173 is a symbol (bug#16584).
174
175 2014-01-30 Glenn Morris <rgm@gnu.org>
176
177 * help.el (help-for-help-internal): Add "P" to text.
178
179 2014-01-29 Glenn Morris <rgm@gnu.org>
180
181 * simple.el (just-one-space, cycle-spacing): Doc fixes.
182
183 2014-01-28 Martin Rudalics <rudalics@gmx.at>
184
185 * window.el (fit-frame-to-buffer): Fix calculations for margins and
186 height constraints.
187
188 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
189
190 * progmodes/hideif.el: Extend to full CPP expression syntax.
191 (hif-token-alist): Add missing tokens.
192 (hif-token-regexp): Add support for float/octal/hex immediates.
193 (hif-string-literal-regexp): New const.
194 (hif-tokenize): Recognize strings and float/octal/hex immediates.
195 (hif-exprlist): New function.
196 (hif-parse-if-exp): Use it.
197 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
198 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
199 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
200 (hif-logxor, hif-comma): New functions.
201
202 2014-01-28 Glenn Morris <rgm@gnu.org>
203
204 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
205
206 * indent.el (tab-stop-list): Doc fix. Add :version.
207
208 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
209 (cvs-append-to-ignore): Add compatibility alias.
210
211 2014-01-27 Glenn Morris <rgm@gnu.org>
212
213 * dired.el (dired-hide-details-mode): Don't autoload it,
214 since it cannot be used outside Dired buffers anyway.
215
216 * emulation/cua-base.el (cua-mode): Doc fix.
217
218 * dired.el (dired-hide-details-hide-symlink-targets)
219 (dired-hide-details-hide-information-lines)
220 (dired-hide-details-mode): Doc fixes.
221
222 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
223 * strokes.el (strokes-file): Doc fix. Bump :version.
224 (strokes-help): Doc fix.
225 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
226 * emulation/viper.el (viper): Doc fix for custom group.
227 (top-level): Remove oh-so-no-longer-relevant text about vip.
228 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
229
230 * ido.el (ido-save-directory-list-file):
231 * saveplace.el (save-place-file):
232 * calendar/timeclock.el (timeclock-file):
233 * net/quickurl.el (quickurl-url-file):
234 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
235 * progmodes/idlwave.el (idlwave-config-directory):
236 * textmodes/remember.el (remember-data-file):
237 Bump :version.
238
239 2014-01-26 Glenn Morris <rgm@gnu.org>
240
241 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
242 Doc fix. Make obsolete.
243 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
244
245 * sort.el (delete-duplicate-lines): Doc fix.
246
247 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
248
249 * progmodes/ada-mode.el (ada):
250 * woman.el (woman): Link to info manual and Commentary section.
251
252 * progmodes/flymake.el (flymake):
253 * nxml/nxml-mode.el (nxml):
254 * net/eww.el (eww):
255 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
256 * htmlfontify.el (htmlfontify):
257 * ses.el (ses):
258 * epa.el (epa):
259 * ido.el (ido): Link to info manual.
260
261 2014-01-25 Leo Liu <sdl.web@gmail.com>
262
263 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
264
265 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
266
267 * net/shr.el (shr-tag-img): Prefer the title over the alt text
268 (bug#16537).
269
270 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
271
272 * net/eww.el (eww-download-callback):
273 Fix reference to eww-download-directory.
274
275 * emacs-lisp/bytecomp.el (byte-compile-file):
276 Remove unused local variable `file-name'.
277
278 2014-01-24 Glenn Morris <rgm@gnu.org>
279
280 * woman.el (woman-default-faces, woman-monochrome-faces):
281 Fix obsolescence specification.
282
283 * subr.el (with-demoted-errors): Doc fix.
284
285 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
286
287 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
288 (cl--macroexp-fboundp): New function.
289 (cl--make-type-test): Use it.
290
291 2014-01-23 Glenn Morris <rgm@gnu.org>
292
293 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
294 * simple.el (eval-expression): Doc fixes.
295
296 2014-01-22 Glenn Morris <rgm@gnu.org>
297
298 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
299
300 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
301
302 * emacs-lisp/package.el: Write files silently.
303 (package-autoload-ensure-default-file, package--write-file-no-coding)
304 (package-generate-description-file, package--download-one-archive)
305 (package-install-from-archive): Tell `write-region' to stay quiet.
306 (package-menu-mode, package-menu--print-info): Omit the Archive column
307 if there's only one archive.
308 (package-all-keywords, package--has-keyword-p): Remove dead code.
309
310 2014-01-22 Glenn Morris <rgm@gnu.org>
311
312 * version.el (emacs-bzr-version-bzr): Fix typo.
313
314 * version.el (emacs-repository-get-version):
315 Check either .bzr or .git, but not both.
316 Make the git case actually use the DIR argument, and return nil
317 rather than the empty string.
318 Avoid error if .git exists but the git executable is not found.
319
320 2014-01-22 Martin Rudalics <rudalics@gmx.at>
321
322 Fixes in window size functions around Bug#16430 and Bug#16470.
323 * window.el (window-total-size, window-size): New argument ROUND.
324 (window--min-delta-1, window-min-delta, window--max-delta-1):
325 Be more conservative when calculating the numbers of lines or
326 columns a window can shrink (Bug#16430).
327 (fit-window-to-buffer): Simplify code.
328 * term.el (term-window-width): Call window-body-width again.
329
330 2014-01-22 Glenn Morris <rgm@gnu.org>
331
332 * image.el (image-format-suffixes): Doc fix.
333
334 * international/quail.el (quail-define-package): Doc fix.
335
336 * emacs-lisp/authors.el (authors-valid-file-names):
337 (authors-renamed-files-alist): Additions.
338
339 * vc/vc-git.el (vc-git-print-log): Remove --follow;
340 reverts 2014-01-09 change. (Bug#16422)
341
342 * calc/calc-embed.el (thing-at-point-looking-at):
343 * emacs-lisp/map-ynp.el (x-popup-dialog):
344 * obsolete/lmenu.el (x-popup-dialog):
345 * emacs-lisp/package.el (url-recreate-url):
346 * mail/mailclient.el (clipboard-kill-ring-save):
347 * subr.el (x-popup-dialog): Update declaration.
348 * mail/rmail.el (rmail-mime-message-p):
349 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
350
351 2014-01-21 Daniel Colascione <dancol@dancol.org>
352
353 * progmodes/sh-script.el (sh--inside-noncommand-expression):
354 Correctly detect when we're inside an arithmetic expansion form
355 containing nested parenthesis.
356 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
357 to detect cases where we shouldn't expand "<<" to a heredoc
358 skeleton.
359
360 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
361
362 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
363 (eldoc--message-command-p): New function.
364 (eldoc-display-message-p): Use it.
365 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
366 message is not automatically erased for us.
367 (eldoc-print-current-symbol-info): Erase previous message, if any.
368
369 2014-01-21 Tassilo Horn <tsdh@gnu.org>
370
371 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
372 specify it's an interactive function.
373
374 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
375 Fix regex used for scanning for citation keys which failed for
376 citations with optional arguments.
377
378 2014-01-21 Leo Liu <sdl.web@gmail.com>
379
380 * simple.el (read--expression): Don't enable eldoc-mode.
381
382 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
383
384 * simple.el (move-beginning-of-line): Make sure we don't move forward
385 (bug#16497).
386
387 2014-01-20 Juri Linkov <juri@jurta.org>
388
389 * saveplace.el (toggle-save-place, save-place-to-alist)
390 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
391 'dired-mode) before checking for dired-directory. (Bug#16477)
392
393 2014-01-20 Juri Linkov <juri@jurta.org>
394
395 * indent.el (indent-line-to): Use backward-to-indentation
396 instead of back-to-indentation. (Bug#16461)
397
398 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
399
400 Revert some of the CANNOT_DUMP fix (Bug#16494).
401 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
402 but fixing this can wait until after the next release.
403 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
404
405 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
406
407 * eshell/esh-mode.el (eshell-password-prompt-regexp):
408 Use `password-word-equivalents'.
409 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
410 to t. (Bug#5664, Bug#13124)
411
412 2014-01-19 Alan Mackenzie <acm@muc.de>
413
414 Bind open-paren-in-column-0-is-defun-start to nil at some entry
415 points.
416 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
417 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
418 * progmodes/cc-mode.el (c-before-change, c-after-change)
419 (c-font-lock-fontify-region): Bind it here.
420
421 2014-01-19 Martin Rudalics <rudalics@gmx.at>
422
423 * term.el (term-window-width): Call window-text-width instead of
424 window-width (Bug#16470).
425
426 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
427
428 * simple.el (password-word-equivalents): Remove duplicates.
429 Sort, to make this easier next time.
430 Downcase. Omit ": " after "jelszó".
431
432 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
433
434 * term/common-win.el (saved-region-selection): Defvar it.
435 (x-select-text): Set saved-region-selection (Bug#16382).
436
437 2014-01-18 Glenn Morris <rgm@gnu.org>
438
439 * emacs-lisp/authors.el (authors-aliases)
440 (authors-renamed-files-alist): Add some entries.
441
442 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
443
444 * net/tramp.el (tramp-password-prompt-regexp):
445 Use `password-word-equivalents' if available.
446 (tramp-action-password, tramp-process-one-action)
447 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
448
449 2014-01-17 Chong Yidong <cyd@gnu.org>
450
451 * simple.el (password-word-equivalents): New defcustom.
452 * comint.el (comint-password-prompt-regexp): Use it. Bump version
453 to 24.4.
454 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
455 to t. (Bug#13124)
456
457 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
458
459 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
460 (ruby-align-to-stmt-keywords): Change the default value.
461 Use `ruby-alignable-keywords' to generate the possible customization
462 choices.
463 (ruby-smie-rules): Instead of using a hardcoded list of alignable
464 keywords, check against the value of `ruby-alignable-keywords'
465 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
466
467 2014-01-17 Glenn Morris <rgm@gnu.org>
468
469 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
470
471 Make M-x authors return zero *Authors Errors* from current logs.
472 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
473 (authors-ignored-files): Add some entries, remove others.
474 (authors-ambiguous-files, authors-valid-file-names):
475 Add some entries.
476 (authors-renamed-files-alist): Add, remove, and adjust entries.
477 (authors-renamed-files-regexps): Add some entries.
478 Remove some very broad ones. Make some entries `lax'.
479 (authors-lax-changelogs): New constant.
480 (authors-disambiguate-file-name): Treat top-level specially.
481 (authors-lax-changelog-p): New function.
482 (authors-canonical-file-name): Check file as written against
483 authors-valid-file-names. Do not special-case etc/.
484 Handle `lax' logs and authors-renamed-files-regexps elements.
485
486 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
487
488 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
489 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
490 callers.
491
492 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
493
494 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
495 Assume we're already in the proper buffer.
496 Inspired by Anders Lindgren <andlind@gmail.com>.
497 (follow-post-command-hook): Call it from the right buffer.
498 (follow-comint-scroll-to-bottom): Adjust call.
499 (follow-all-followers): Use get-buffer-window-list.
500
501 2014-01-15 Daniel Colascione <dancol@dancol.org>
502
503 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
504 `buffer-file-name' in interactive-form so that we don't leave
505 pathless file names in `file-name-history'.
506
507 2014-01-15 Juri Linkov <juri@jurta.org>
508
509 * indent.el (indent-rigidly): Set deactivate-mark to nil
510 in transient indentation mode. (Bug#16438)
511
512 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
513
514 * emacs-lisp/package.el (package-desc-keywords): New function
515 (Bug#16222).
516 (describe-package-1, package-all-keywords)
517 (package--has-keyword-p): Use it.
518
519 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
520
521 * simple.el (define-alternatives): When creating the
522 COMMAND-alternatives variable, assign COMMAND as its definition
523 name so that `describe-variable' can relocate it.
524
525 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
526
527 * font-lock.el (font-lock-keywords): Fix typo in docstring
528 (bug#16307).
529
530 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
531
532 * ispell.el (ispell-region): Reset `in-comment' for new line
533 instead of wrongly reset `add-coment' (bug#13577).
534
535 2014-01-14 Daiki Ueno <ueno@gnu.org>
536
537 * epa-file.el (epa-file-write-region): Encode the region according
538 to `buffer-file-format'. Problem reported at:
539 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
540
541 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
542
543 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
544 so it applies in the right buffer (bug#16410).
545
546 2014-01-13 Daniel Colascione <dancol@dancol.org>
547
548 * textmodes/rst.el (rst-define-key): Provide deprecated
549 keybindings through named functions instead of anonymous ones so
550 that "??" doesn't appear in describe-mode output.
551
552 2014-01-13 Bastien Guerry <bzg@gnu.org>
553
554 * simple.el (define-alternatives): Call the selected command
555 interactively. When setting `COMMAND--implementation' for the
556 first time, tell the user how to chose another implementation.
557 Enhance the docstring.
558
559 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
560
561 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
562 (log-edit--match-first-line): New function.
563 (log-edit-font-lock-keywords): Use it.
564 (log-edit-mode): Make jit-lock-defer-multiline work.
565
566 2014-01-13 Bastien Guerry <bzg@gnu.org>
567
568 * rect.el (rectangle-mark-mode): When the region is not active,
569 display a message saying that the mark as been set and that
570 rectangle mode is in use.
571 (rectangle--highlight-for-redisplay): Only put an overlay with a
572 visible vertical bar when (display-graphic-p) is non-nil.
573 This partially fixes Bug#16403.
574
575 2014-01-13 Juri Linkov <juri@jurta.org>
576
577 * info.el (Info-find-file): Go to DIR before displaying the error
578 about a nonexistent file if no previous Info file is visited.
579 Use `user-error' instead of `error' for "Info file %s does not exist".
580 (Info-find-node-2): In case of a nonexistent node in unwind forms
581 go to the Top node if there is no previous node to revert to.
582 (Bug#16405)
583
584 2014-01-13 Martin Rudalics <rudalics@gmx.at>
585
586 fit-frame/window-to-buffer code fixes including one for Bug#14096.
587 * window.el (fit-frame-to-buffer): Fix doc-string.
588 Respect window-min-height/-width. Fit pixelwise when
589 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
590 when avoiding that frame goes partially off-screen.
591 (fit-window-to-buffer): Respect window-min-height/-width
592 (Bug#14096).
593
594 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
595
596 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
597 after an empty line.
598
599 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
600
601 * net/shr.el (shr-render-region): Autoload.
602
603 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
604
605 * net/eww.el (eww-download-directory): Rename from
606 `eww-download-path' (Bug#16419).
607
608 2014-01-12 Leo Liu <sdl.web@gmail.com>
609
610 * dired-x.el (dired-mode-map): Fix last change.
611
612 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
613
614 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
615
616 Spelling fixes.
617 * emacs-lisp/generic.el (generic--normalize-comments):
618 Rename from generic--normalise-comments. All uses changed.
619 * play/bubbles.el (bubbles--neighborhood-score):
620 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
621 (bubbles--neighborhood-available)
622 (bubbles--update-neighborhood-score):
623 Rename from names with 'neighbourhood'. All uses changed.
624
625 2014-01-12 Leo Liu <sdl.web@gmail.com>
626
627 Re-implement the feature of showing eldoc info after editing.
628 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
629 (eldoc-edit-message-commands): New function.
630 (eldoc-print-after-edit): New variable.
631 (eldoc-pre-command-refresh-echo-area): Emit message only by
632 eldoc-message-commands.
633 (eldoc-mode): Restrict eldoc-message-commands to editing commands
634 if eldoc-print-after-edit is set. (Bug#16346)
635 * simple.el (read--expression): Enable eldoc-mode.
636 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
637
638 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
639 Eric S. Raymond <esr@thyrsus.com>
640
641 * version.el (emacs-repository-get-version): Enhance so the
642 function works correctly in either a Bazaar or Git repo.
643
644 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
645
646 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
647 Goes with removal of the joke manpages from /etc.
648
649 2014-01-10 K. Handa <handa@gnu.org>
650
651 * mail/rmail.el (rmail-get-coding-system):
652 Check rmail-get-coding-function before "funcall"ing it.
653
654 2014-01-10 Glenn Morris <rgm@gnu.org>
655
656 * emacs-lisp/authors.el (authors-fixed-entries):
657 Update for files that no longer exist.
658
659 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
660
661 * version.el (emacs-bzr-get-version): Restore compatibilty with
662 24.3 (Tested).
663
664 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
665
666 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
667 and Podfile.
668
669 2014-01-10 Eli Zaretskii <eliz@gnu.org>
670
671 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
672
673 2014-01-10 Chong Yidong <cyd@gnu.org>
674
675 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
676
677 2014-01-10 Anders Lindgren <andlind@gmail.com>
678
679 * follow.el (follow-cache-command-list): Include right-char and
680 left-char.
681
682 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
683
684 Spelling fixes.
685 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
686 * woman.el (woman-mark-horizontal-position):
687 Rename from woman-mark-horizonal-position. Use changed.
688
689 2014-01-10 Glenn Morris <rgm@gnu.org>
690
691 * info.el (info-initialize): If running uninstalled, ensure our
692 own info files are always found first, even if INFOPATH is set.
693
694 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
695
696 2014-01-09 David Engster <deng@randomsample.de>
697
698 * emacs-lisp/eieio-custom.el:
699 * emacs-lisp/eieio-opt.el: Set generated autoload file to
700 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
701 * emacs-lisp/eieio.el: Regenerate autoloads.
702
703 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
704
705 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
706 following renames. (Bug#8756)
707
708 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
709
710 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
711 (bug#16382).
712 (activate-mark): Add `no-tmm' argument.
713 (set-mark, push-mark-command): Use it instead of running
714 activate-mark-hook by hand.
715
716 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
717
718 In preparation for the move to git, sanitize out some
719 Bazaar-specific names.
720
721 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
722
723 * version.el (emacs-bzr-version): Name changed to
724 emacs-repository-version. Obsolete-variable alias made.
725 * loadup.el: Follow through on this name change.
726 * mail/emacsbug.el (report-emacs-bug): Factor out any
727 assumption about the version control system in use.
728
729 2014-01-08 David Engster <deng@randomsample.de>
730
731 * help-fns.el (help-fns-describe-function-functions):
732 New variable to call functions for augmenting help buffers.
733 (describe-function-1): Remove explicit calls to
734 `help-fns--compiler-macro', `help-fns--parent-mode' and
735 `help-fns--obsolete'. Put them in above new variable instead, and
736 call them through `run-hook-with-args'.
737 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
738 `eieio-describe-class'. Not meant for interactive use anymore,
739 but to augment existing help buffers. Remove optional second
740 argument. Create proper button for file location.
741 Rewrite function to use `insert' instead of `princ' and `prin1' where
742 possible.
743 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
744 (eieio-method-def, eieio-class-def): Move further up.
745 (describe-method, describe-generic, eieio-describe-method):
746 Remove aliases.
747 (eieio-help-constructor, eieio-help-generic): Rename from
748 `eieio-describe-constructor' and `eieio-describe-generic', resp.
749 Rewrite to use `insert' in the current buffer and use proper help
750 buttons.
751 (eieio-help-find-method-definition)
752 (eieio-help-find-class-definition): Also accept symbols as
753 arguments.
754 (eieio-help-mode-augmentation-maybee): Remove.
755 (eieio-describe-class-sb): Use `describe-function'.
756 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
757 Add `eieio-help-generic' and `eieio-help-constructor'.
758
759 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
760
761 Spelling fixes.
762 * language/china-util.el (hz-ascii-designation):
763 Rename from hz-ascii-designnation.
764 (hz-ascii-designation): Rename from hz-ascii-designnation.
765 All uses changed.
766
767 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
768
769 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
770 package-alist.
771
772 2014-01-08 Bastien Guerry <bzg@gnu.org>
773
774 * emacs-lisp/package.el (package-delete):
775 Correctly delete the package from package-alist.
776
777 2014-01-08 Daiki Ueno <ueno@gnu.org>
778
779 * emacs-lisp/package.el (url-recreate-url): Declare.
780 (url-http-target-url): Declare.
781 (package-handle-response): Include requested URL in the error message.
782 (package--check-signature): Don't re-signal errors from
783 package--with-work-buffer. Suggested by Stefan Monnier.
784
785 2014-01-07 Bastien Guerry <bzg@gnu.org>
786
787 * minibuffer.el (completion--try-word-completion): When both a
788 hyphen and a space are possible candidates for the character
789 following a word, display both candidates. (Bug#15980)
790
791 2014-01-07 Martin Rudalics <rudalics@gmx.at>
792
793 * window.el (balance-windows-2): While rounding don't give a
794 window more than the remainder. Bug#16351, Bug#16383.
795
796 2014-01-07 Glenn Morris <rgm@gnu.org>
797
798 * menu-bar.el (menu-bar-help-extra-packages): Remove.
799 (menu-bar-help-menu): Use view-external-packages instead.
800
801 2014-01-07 Bastien Guerry <bzg@gnu.org>
802
803 * emacs-lisp/package.el (package-delete): Also delete the package
804 name from `package-alist', not its description only.
805
806 2014-01-07 Glenn Morris <rgm@gnu.org>
807
808 * help.el (view-external-packages):
809 * menu-bar.el (menu-bar-help-extra-packages):
810 Visit efaq.info rather than etc/MORE.STUFF.
811
812 2014-01-07 Juri Linkov <juri@jurta.org>
813
814 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
815 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
816
817 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
818 that shadows RET. (Bug#16342)
819
820 2014-01-07 Chong Yidong <cyd@gnu.org>
821
822 * isearch.el (isearch-yank-char, isearch-yank-word)
823 (isearch-yank-line): Doc fix.
824
825 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
826
827 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
828 * emacs-lisp/elint.el (elint-find-builtins):
829 * emacs-lisp/eldoc.el (eldoc-symbol-function):
830 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
831 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
832 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
833 * apropos.el (apropos-safe-documentation):
834 * subr.el (symbol-file): Remove redundant fboundp.
835 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
836
837 2014-01-06 Bastien Guerry <bzg@gnu.org>
838
839 * hl-line.el (global-hl-line-overlay): Make a local variable.
840 (global-hl-line-overlays): New variable to store all overlays.
841 (global-hl-line-mode): Don't delete overlays from the current
842 buffer when `global-hl-line-sticky-flag' is non-nil.
843 (global-hl-line-highlight): Add new overlays to
844 `global-hl-line-overlays'.
845 (global-hl-line-unhighlight-all): New function to delete all
846 overlays when turning off `global-hl-line-mode'.
847 This fixes Bug#16183.
848
849 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
850
851 * subr.el (set-transient-map): Fix nested case and docstring.
852
853 2014-01-06 Tassilo Horn <tsdh@gnu.org>
854
855 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
856 `Texinfo' entry.
857
858 2014-01-06 Daniel Colascione <dancol@dancol.org>
859
860 Fix defun navigation in vc log view.
861
862 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
863 like `beginning-of-defun'.
864 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
865 log-view-end-of-defun to log-view-end-of-defun-1. Replace
866 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
867 (log-view-extract-comment): Call `log-view-current-entry' directly
868 instead of relying on broken `log-view-beginning-of-defun' behavior.
869
870 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
871
872 Spelling fixes.
873 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
874 * emacs-lisp/debug.el (cancel-debug-on-entry):
875 * epg.el (epg-error-to-string):
876 * files.el (recover-file):
877 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
878 * mail/emacsbug.el (report-emacs-bug-hook):
879 * mail/sendmail.el (mail-recover):
880 * ses.el (ses-yank-resize):
881 * term/ns-win.el (ns-print-buffer):
882 Spelling fixes in diagnostics, mostly for "canceled" with one L.
883 * epg.el (epg-key-capability-alist): Rename from misspelled version.
884 All uses changed.
885 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
886
887 2014-01-06 Leo Liu <sdl.web@gmail.com>
888
889 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
890 to avoid shadowing global key. (Bug#16354)
891
892 2014-01-06 Daniel Colascione <dancol@dancol.org>
893
894 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
895 rst-mode.
896
897 2014-01-05 Martin Rudalics <rudalics@gmx.at>
898
899 * window.el (balance-windows): Add mising t to fix Bug#16351.
900
901 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
902
903 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
904 (bug#16285).
905 (shr-insert): If we have a word that's longer than `shr-width',
906 break after it anyway. Otherwise we'll do no breaking once we get
907 such a long word.
908
909 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
910
911 * net/eww.el (eww): Support single/double quote for search.
912 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
913 (eww-history-quit): Delete and use quit-window.
914 (eww-history-kill): Delete, because it doesn't work well and
915 not necessary.
916 (eww-history-mode-map): Delete some keys and add easy-menu.
917
918 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
919
920 Fix misspelling of 'chinese' in rx (Bug#16237).
921 * emacs-lisp/rx.el (rx-categories): Correct spelling of
922 chinese-two-byte.
923
924 Change subword regexps back to vars (Bug#16296).
925 * progmodes/subword.el (subword-forward-regexp)
926 (subword-backward-regexp): Change these back to variables.
927
928 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
929
930 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
931 syntax-begin-function (bug#16247).
932
933 2014-01-03 Chong Yidong <cyd@gnu.org>
934
935 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
936 (advice--docstring): Delete variable.
937 (advice--make-1): Leave the docstring empty.
938 (advice-add): Use function-documentation for advised docstring.
939
940 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
941 Ignore function-documentation property when getting documentation.
942 (ad-activate-advised-definition): Use function-documentation
943 generate the docstring.
944 (ad-make-advised-definition): Don't call
945 ad-make-advised-definition-docstring.
946 (ad-make-advised-definition-docstring, ad-advised-definition-p):
947 Delete functions.
948
949 * progmodes/sql.el (sql-help): Use function-documentation instead
950 of dynamic-docstring-function property. No need to autoload now.
951 (sql--help-docstring): New variable.
952 (sql--make-help-docstring): Use it.
953
954 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
955
956 * ielm.el (ielm-tab): Retarget.
957 (ielm-map): Use ielm-tab for tab.
958 (ielm-complete-filename): Use comint-filename-completion.
959 (ielm-complete-symbol): Remove.
960 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
961 remove ielm-tab from completion-at-point-functions (bug#16224).
962
963 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
964 Beware signals raised by predicates (bug#16201).
965
966 2014-01-02 Richard Stallman <rms@gnu.org>
967
968 * dired-aux.el (dired-do-print): Handle printer-name.
969
970 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
971 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
972 (rmail-epa-decrypt): Turn off mime processing.
973
974 * mail/rmail.el (rmail-make-in-reply-to-field):
975 Add parens in message-id.
976
977 * mail/rmail.el (rmail-get-coding-function): Variable.
978 (rmail-get-coding-system): Use it.
979
980 2013-12-31 Eli Zaretskii <eliz@gnu.org>
981
982 * international/mule-conf.el: Unify the charset indian-is13194.
983 (indian-is13194): Specify unify-map.
984
985 2013-12-31 Leo Liu <sdl.web@gmail.com>
986
987 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
988
989 2013-12-30 Daniel Colascione <dancol@dancol.org>
990
991 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
992 of printing a useless when we resume from sleep.
993
994 * progmodes/sh-script.el
995 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
996 in indentation code. (Bug#16233)
997
998 2013-12-28 João Távora <joaotavora@gmail.com>
999
1000 * elec-pair.el (electric-pair-post-self-insert-function):
1001 Don't open extra newlines at beginning of buffer. (Bug#16272)
1002
1003 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1004
1005 * frame.el (window-system-for-display): Don't allow to create a
1006 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1007
1008 2013-12-28 Glenn Morris <rgm@gnu.org>
1009
1010 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1011 Update callers.
1012
1013 * apropos.el (apropos-match-face):
1014 * calculator.el (calculator-displayer):
1015 * dabbrev.el (dabbrev-search-these-buffers-only):
1016 * face-remap.el (buffer-face-mode-face):
1017 * simple.el (yank-handled-properties):
1018 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1019 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1020 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1021 (hashcash-double-spend-database):
1022 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1023 (ruby-deep-indent-paren-style):
1024 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1025 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1026 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1027 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1028 Specify custom types.
1029
1030 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1031 * bookmark.el (bookmark-bmenu-use-header-line):
1032 * doc-view.el (doc-view-scale-internally):
1033 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1034 * register.el (register-preview-delay):
1035 * net/shr.el (shr-bullet):
1036 * progmodes/cfengine.el (cfengine-cf-promises)
1037 (cfengine-parameters-indent):
1038 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1039 * textmodes/reftex-vars.el (reftex-label-regexps):
1040 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1041
1042 * net/tls.el (tls-certtool-program): Fix default value.
1043
1044 * desktop.el (desktop-restore-in-current-display):
1045 * newcomment.el (comment-empty-lines):
1046 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1047 (idlwave-pad-keyword):
1048 * progmodes/tcl.el (tcl-tab-always-indent):
1049 * textmodes/reftex-vars.el (reftex-index-default-tag):
1050 * elec-pair.el (electric-pair-skip-whitespace):
1051 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1052
1053 * emacs-lisp/authors.el (authors-ignored-files)
1054 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1055
1056 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1057
1058 * shell.el (shell-dynamic-complete-command): Doc fix.
1059 (shell--command-completion-data): Shell completion now matches
1060 executable filenames from the current buffer's directory, on
1061 systems in which this behavior is the default (windows-nt, ms-dos).
1062
1063 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1064
1065 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1066
1067 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1068
1069 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1070 (bug#16251).
1071
1072 * electric.el: Move all electric-pair-* to elec-pair.el.
1073 * elec-pair.el: New file, split from electric.el.
1074
1075 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1076
1077 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1078 indentation level is larger than the width, because that will
1079 infloop.
1080 (shr-insert): Fill repeatedly long texts, so that Japanese is
1081 formatted correctly (bug#16263).
1082 (shr-find-fill-point): Off by one error in comparison with the
1083 indentation.
1084
1085 2013-12-26 João Távora <joaotavora@gmail.com>
1086
1087 * electric.el (electric-pair-mode): More flexible engine for skip-
1088 and inhibit predicates, new options for pairing-related functionality.
1089 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1090 if that keeps or improves their balance in buffers.
1091 (electric-pair-delete-adjacent-pairs): Delete the pair when
1092 backspacing over adjacent matched delimiters.
1093 (electric-pair-open-extra-newline): Open extra newline when
1094 inserting newlines between adjacent matched delimiters.
1095 (electric--sort-post-self-insertion-hook):
1096 Sort post-self-insert-hook according to priority values when
1097 minor-modes are activated.
1098 * simple.el (newline-and-indent): Call newline with interactive
1099 set to t.
1100 (blink-paren-post-self-insert-function): Set priority to 100.
1101 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1102 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1103 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1104 electric-pair-open-newline-between-pairs to nil.
1105
1106 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1107
1108 * progmodes/python.el: Use lexical-binding.
1109 (python-nav-beginning-of-defun): Stop searching ASAP.
1110
1111 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1112
1113 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1114 Fix interactive spec. Doc fix. (Bug#15754)
1115
1116 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1117
1118 * emacs-lisp/byte-run.el (eval-when-compile):
1119 * progmodes/cc-defs.el (cc-eval-when-compile):
1120 Fix edebug spec (bug#16184).
1121
1122 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1123
1124 * net/shr.el (shr-visit-file): Remove debugging function.
1125 (shr-insert): Don't infloop if we can't find a good place to break
1126 the line (bug#16256).
1127
1128 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1129
1130 * progmodes/python.el:
1131 (python-nav--lisp-forward-sexp): New function.
1132 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1133 python-nav-lisp-forward-sexp-safe.
1134 (python-nav--forward-sexp): New argument SAFE allows switching
1135 forward sexp movement behavior for parens.
1136 (python-nav-forward-sexp): Throw errors on unterminated parens
1137 (Bug#16191).
1138 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1139 (python-nav-backward-sexp-safe): New functions.
1140 (python-shell-buffer-substring):
1141 Use `python-nav-forward-sexp-safe'.
1142
1143 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1144
1145 * net/shr.el (shr-find-fill-point): Don't break lines before a
1146 quotation mark.
1147 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1148 (shr-find-fill-point): Remove the special checks for the quotation
1149 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1150
1151 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1152
1153 * net/eww.el (eww-form-textarea): Use a different face for
1154 textareas than text input since they have different keymaps
1155 (bug#16142).
1156
1157 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1158
1159 * progmodes/python.el (python-nav-beginning-of-statement):
1160 Speed up (Bug#15295).
1161
1162 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1163
1164 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1165 the window configuration.
1166
1167 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1168
1169 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1170 we run on MS-Windows or MS-DOS.
1171
1172 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1173
1174 * window.el (balance-windows-area): Call window-size instead of
1175 window-height and window-width. Bug#16241.
1176
1177 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1178
1179 * net/eww.el (eww-bookmark-quit): Remove.
1180 (eww-bookmark-browse): Restore the window configuration when you
1181 choose a bookmark (bug#16144).
1182
1183 2013-12-24 Daniel Colascione <dancol@dancol.org>
1184
1185 * icomplete.el: Remove redundant :group arguments to `defcustom'
1186 throughout.
1187 (icomplete-show-matches-on-no-input): New customizable variable.
1188 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1189 we have something to show.
1190 (icomplete-exhibit): Compute completions even if we have no user input.
1191
1192 2013-12-23 Daniel Colascione <dancol@dancol.org>
1193
1194 * icomplete.el: Move `provide' to end of file.
1195
1196 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1197
1198 * net/gnutls.el (gnutls-verify-error): Add version tag.
1199
1200 2013-12-23 Chong Yidong <cyd@gnu.org>
1201
1202 * subr.el (set-transient-map): Rename from
1203 set-temporary-overlay-map. Doc fix.
1204
1205 * face-remap.el (text-scale-adjust):
1206 * indent.el (indent-rigidly):
1207 * kmacro.el (kmacro-call-macro):
1208 * minibuffer.el (minibuffer-force-complete):
1209 * repeat.el (repeat):
1210 * simple.el (universal-argument--mode):
1211 * calendar/todo-mode.el (todo-insert-item--next-param):
1212 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1213
1214 * indent.el (indent-rigidly): Use substitute-command-keys.
1215
1216 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1217
1218 * net/eww.el (eww-tag-select): Add text-property to jump to next
1219 select field.
1220 (eww): Add non-supported ftp error.
1221
1222 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1223
1224 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1225 comments. Handle electric indent after typing `?' and `!'.
1226
1227 2013-12-22 Chong Yidong <cyd@gnu.org>
1228
1229 * faces.el (face-spec-recalc): If the theme specs are not
1230 applicable to a frame, fall back on the defface spec.
1231 This prevents themes from obliterating faces on low-color terminals.
1232
1233 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1234
1235 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1236 after `{'. We need it after block openers, and it doesn't seem
1237 to hurt after hash openers.
1238
1239 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1240
1241 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1242 extracted from `ruby-smie-rules'.
1243 (ruby--electric-indent-chars): New variable.
1244 (ruby--electric-indent-p): New function.
1245 (ruby-mode): Use `electric-indent-functions' instead of
1246 `electric-indent-chars'.
1247
1248 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1249
1250 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1251 docstring.
1252 (ruby-smie-rules): Indent plus one level after `=>'.
1253
1254 2013-12-21 Richard Stallman <rms@gnu.org>
1255
1256 * simple.el (newline): Doc fix.
1257
1258 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1259
1260 * net/eww.el (eww-list-histories, eww-list-histories)
1261 (eww-history-browse, eww-history-quit, eww-history-kill)
1262 (eww-history-mode-map, eww-history-mode): New command and
1263 functions to list browser histories.
1264 (eww-form-text): Support text form with disabled
1265 and readonly attributes.
1266 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1267
1268 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1269
1270 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1271 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1272 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1273 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1274 Use `user-error'.
1275 (eww-bookmark-mode-map): Add menu.
1276 (eww-render, eww-mode): Use `setq-local'.
1277 (eww-tool-bar-map): New variable.
1278 (eww-mode): Set `tool-bar-map'.
1279 (eww-view-source): Check for `html-mode' with `fboundp'.
1280
1281 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1282
1283 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1284 elements with text inside. Also remove debugging.
1285
1286 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1287
1288 * cus-start.el (all): Add ns-use-srgb-colorspace.
1289
1290 2013-12-21 Chong Yidong <cyd@gnu.org>
1291
1292 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1293 undefined. Thus, theme settings for undefined faces do not take
1294 effect until the faces are defined with defface, the same as with
1295 theme variables.
1296
1297 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1298 (face-spec-reset-face): Don't assign extra properties in temacs.
1299 (face-spec-recalc): Apply X resources too.
1300
1301 2013-12-21 Chong Yidong <cyd@gnu.org>
1302
1303 * faces.el (face-spec-set):
1304 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1305 * custom.el (defface): Doc fixes (Bug#16203).
1306
1307 * indent.el (indent-rigidly-map): Add docstring, and move commands
1308 into named functions.
1309 (indent-rigidly-left, indent-rigidly-right)
1310 (indent-rigidly-left-to-tab-stop)
1311 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1312 indentation direction based on bidi direction, and accumulate
1313 sequential commands in a single undo boundary.
1314 (indent-rigidly--pop-undo): New utility function.
1315
1316 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1317
1318 * faces.el (read-face-name): Require crm.el when using crm-separator.
1319
1320 2013-12-20 Daniel Colascione <dancol@dancol.org>
1321
1322 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1323 so that we don't reflow comments into the shebang line.
1324
1325 2013-12-20 Juri Linkov <juri@jurta.org>
1326
1327 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1328 a position when `dired-directory' is non-nil. Check integer
1329 positions with `integerp'.
1330 (toggle-save-place, save-places-to-alist): Add check for
1331 `dired-directory'.
1332 (save-place-find-file-hook): Check integer positions with
1333 `integerp'.
1334 (save-place-dired-hook): Use `dired-goto-file' when
1335 `dired-filename' is found in the assoc list. Check integer
1336 positions with `integerp'.
1337 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1338
1339 * dired.el (dired-initial-position-hook): Rename back from
1340 `dired-initial-point-hook'.
1341 (dired-initial-position): Rename `dired-initial-point-hook' to
1342 `dired-initial-position-hook'.
1343 (dired-file-name-at-point): Doc fix. (Bug#15329)
1344
1345 2013-12-20 Juri Linkov <juri@jurta.org>
1346
1347 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1348 (read-regexp-suggestions): New function.
1349 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1350 Use `read-regexp-suggestions'. Add non-empty default to history
1351 for empty input.
1352 (occur-read-regexp-defaults-function): Remove function.
1353 (occur-read-primary-args): Use `regexp-history-last' instead of
1354 `occur-read-regexp-defaults-function'.
1355
1356 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1357 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1358 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1359 `hi-lock-read-regexp-defaults-function'. Doc fix.
1360 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1361 with `find-tag-default-as-symbol-regexp'. Doc fix.
1362 (hi-lock-read-regexp-defaults): Remove function.
1363 (hi-lock-regexp-okay): Add check for null.
1364
1365 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1366 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1367
1368 * subr.el (find-tag-default-as-symbol-regexp): New function.
1369 (find-tag-default-as-regexp): Move symbol regexp formatting to
1370 `find-tag-default-as-symbol-regexp'.
1371
1372 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1373
1374 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1375 (Bug#14179)
1376
1377 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1378
1379 * calendar/todo-mode.el: New implementation of item insertion
1380 commands and key bindings.
1381 (todo-key-prompt): New face.
1382 (todo-insert-item): New command.
1383 (todo-insert-item--parameters): New defconst, replacing defvar
1384 todo-insertion-commands-args-genlist.
1385 (todo-insert-item--param-key-alist): New defconst, replacing
1386 defvar todo-insertion-commands-arg-key-list.
1387 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1388 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1389 (todo-insert-item--next-param): New functions.
1390 (todo-insert-item--args, todo-insert-item--argleft)
1391 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1392 New variables.
1393 (todo-key-bindings-t): Change binding of "i" from
1394 todo-insertion-map to todo-insert-item.
1395 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1396 (todo-insertion-command-name, todo-insertion-commands-names)
1397 (todo-define-insertion-command, todo-insertion-commands)
1398 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1399
1400 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1401
1402 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1403 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1404 eval-when-compile.
1405 (todo-move-category): Allow choosing a non-existing todo file to
1406 move the category to, and create that file.
1407 (todo-default-priority): New user option.
1408 (todo-set-item-priority): Use it.
1409 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1410 (desktop-restore-file-buffer): Declare.
1411 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1412 (todo-modes-set-2): Locally set desktop-save-buffer to
1413 todo-desktop-save-buffer.
1414 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1415 (auto-mode-alist): Add autoload cookie.
1416
1417 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1418
1419 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1420 helpers.el was a poor choice of name.
1421 (string-remove-prefix): New function.
1422 (string-remove-suffix): New function.
1423
1424 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1425
1426 Fix assignment for new window total sizes.
1427 * window.el (window--pixel-to-size): Remove function.
1428 (window--pixel-to-total-1, window--pixel-to-total):
1429 Fix calculation of new total sizes.
1430
1431 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1432
1433 * comint.el (comint-output-filter): Fix rear-nonsticky property
1434 placement (Bug#16010).
1435
1436 2013-12-20 Chong Yidong <cyd@gnu.org>
1437
1438 * faces.el (read-color): Minor fix for completion function.
1439
1440 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1441
1442 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1443 New option. (Bug#16182)
1444 (ruby-smie--indent-to-stmt-p): Use it.
1445 (ruby-smie-rules): Revert the logic in the handling of `when'.
1446 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1447 (ruby-deep-arglist, ruby-deep-indent-paren)
1448 (ruby-deep-indent-paren-style): Update docstrings to note that the
1449 vars don't have any effect with SMIE.
1450
1451 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1452
1453 * calc/calc.el (calc-enter, calc-pop): Use the variable
1454 `calc-context-sensitive-enter'.
1455
1456 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1457
1458 * net/shr.el (shr-insert): Protect against infloops in degenerate
1459 tables.
1460
1461 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1462
1463 * progmodes/octave.el (octave): Add link to manual and octave
1464 homepage.
1465 (octave-mode-menu): Link to octave-mode manual.
1466
1467 2013-12-20 Leo Liu <sdl.web@gmail.com>
1468
1469 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1470 insertion using skeleton-end-newline. (Bug#16138)
1471
1472 2013-12-20 Juri Linkov <juri@jurta.org>
1473
1474 * replace.el (occur-engine): Use `add-face-text-property'
1475 to add the face property to matches and titles. (Bug#14645)
1476
1477 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1478 the palette of other hi-lock colors.
1479 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1480
1481 2013-12-19 Juri Linkov <juri@jurta.org>
1482
1483 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1484 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1485 (minibuffer-history-symbol): Move variable declaration closer to
1486 its usage.
1487
1488 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1489 (Bug#14785)
1490
1491 2013-12-19 Juri Linkov <juri@jurta.org>
1492
1493 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1494 New function.
1495 (log-edit-hook): Add it to :options. (Bug#16170)
1496
1497 2013-12-19 Juri Linkov <juri@jurta.org>
1498
1499 * simple.el (eval-expression-print-format): Don't check for
1500 command names and the last command. Always display additional
1501 formats of the integer result in the echo area, and insert them
1502 to the current buffer only with a zero prefix arg.
1503 Display character when char-displayable-p is non-nil.
1504 (eval-expression): With a zero prefix arg, set `print-length' and
1505 `print-level' to nil, and insert the integer values from
1506 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1507
1508 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1509 `eval-last-sexp-arg-internal'. Doc fix.
1510 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1511 `eval-last-sexp-print-value'. Doc fix.
1512 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1513 Set `print-length' and `print-level' to nil when arg is zero.
1514 (eval-last-sexp): Doc fix.
1515 (eval-defun-2): Print the integer values from
1516 `eval-expression-print-format' at the end.
1517
1518 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1519 values from `eval-expression-print-format' at the end.
1520
1521 * ielm.el (ielm-eval-input): Print the integer
1522 values from `eval-expression-print-format' at the end.
1523
1524 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1525
1526 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1527 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1528
1529 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1530
1531 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1532 (hl-line-highlight, global-hl-line-highlight): Use it.
1533 (hl-line-overlay): Use defvar-local.
1534
1535 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1536
1537 * term/ns-win.el: Require dnd.
1538 (global-map): Remove drag items.
1539 (ns-insert-text, ns-set-foreground-at-mouse)
1540 (ns-set-background-at-mouse):
1541 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1542 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1543 New functions.
1544
1545 2013-12-19 Glenn Morris <rgm@gnu.org>
1546
1547 * emacs-lisp/ert.el (ert-select-tests):
1548 Fix string/symbol mixup. (Bug#16121)
1549
1550 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1551
1552 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1553 keywords to their parent.
1554
1555 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1556
1557 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1558 first arg to be a string (fixed dead code), or an operator symbol.
1559 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1560 operator symbols.
1561 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1562 did nothing. Don't respond to `(:after ".")', it will be called
1563 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1564 change anything. Only return indentation for binary operators
1565 when they are hanging. De-dent opening paren when its parent is
1566 `.', otherwise it looks bad when the dot is not at bol or eol
1567 (bug#16182).
1568
1569 2013-12-19 Juri Linkov <juri@jurta.org>
1570
1571 * replace.el (query-replace-read-args): Split a non-negative arg
1572 and a negative arg into separate elements.
1573 (query-replace, query-replace-regexp, replace-string)
1574 (replace-regexp): Add arg `backward'. Doc fix.
1575 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1576 move point to the beginning of the match.
1577 (replace-search, replace-highlight): Use new arg `backward'
1578 to set the value of `isearch-forward'.
1579 (perform-replace): Add arg `backward' and use it to perform
1580 replacement backward. (Bug#14979)
1581
1582 * isearch.el (isearch-query-replace): Use a negative prefix arg
1583 to call `perform-replace' with a non-nil arg `backward'.
1584
1585 2013-12-18 Juri Linkov <juri@jurta.org>
1586
1587 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1588 to the default list. Move `log-edit-show-files' to the end.
1589 Add more available functions to options.
1590 (log-edit): Move default specific settings to
1591 `log-edit-insert-message-template'. Don't move point.
1592 (log-edit-insert-message-template): New function.
1593 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1594 (Bug#16170)
1595
1596 2013-12-18 Juri Linkov <juri@jurta.org>
1597
1598 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1599 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1600
1601 2013-12-18 Leo Liu <sdl.web@gmail.com>
1602
1603 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1604 (Bug#16186)
1605
1606 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1607
1608 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1609 formats for displaying file sizes when the -s switch is given.
1610 Instead, compute a separate format for displaying the size in
1611 blocks, which is displayed in addition to the "regular" size.
1612 When -h is given in addition to -s, produce size in blocks in
1613 human-readable form as well. (Bug#16179)
1614
1615 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1616
1617 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1618 Reference tables with ~\ref{...} instead of only \ref{...}.
1619
1620 2013-12-18 Chong Yidong <cyd@gnu.org>
1621
1622 * cus-edit.el (custom-magic-alist): Fix "themed" description
1623 (Bug#14348).
1624
1625 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1626 is non-nil, do not create a new entry in the symbol's theme-value
1627 or theme-face property; update theme-settings only (Bug#14664).
1628 (custom-available-themes): Doc fix.
1629
1630 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1631 (Bug#15674).
1632
1633 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1634
1635 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1636
1637 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1638 (Bug#13914).
1639
1640 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1641
1642 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1643
1644 2013-12-18 Glenn Morris <rgm@gnu.org>
1645
1646 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1647 * cus-start.el (load-prefer-newer): New option.
1648
1649 2013-12-18 Le Wang <l26wang@gmail.com>
1650
1651 * comint.el (comint-previous-matching-input-from-input):
1652 Retain point (Bug#13404).
1653
1654 2013-12-18 Chong Yidong <cyd@gnu.org>
1655
1656 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1657
1658 2013-12-18 Glenn Morris <rgm@gnu.org>
1659
1660 * mail/emacsbug.el (report-emacs-bug):
1661 Only mention enable-multibyte-characters if non-standard.
1662
1663 2013-12-17 Juri Linkov <juri@jurta.org>
1664
1665 * arc-mode.el (archive-extract-by-file): Check if directory exists
1666 before deletion to not show irrelevant errors if it doesn't exist.
1667
1668 2013-12-17 Juri Linkov <juri@jurta.org>
1669
1670 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1671 (Bug#14751)
1672
1673 * net/eww.el (browse-web): Add alias to `eww'.
1674 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1675 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1676
1677 * net/browse-url.el (browse-url-browser-function): Move `eww'
1678 closer to similar functions.
1679
1680 * startup.el (fancy-startup-screen, fancy-about-screen):
1681 Set browse-url-browser-function to eww-browse-url locally.
1682 (Bug#14751)
1683
1684 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1685
1686 * window.el (window--pixel-to-total): Remove unused `mini' var.
1687 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1688 (split-window): Remove unused `new' var.
1689 (window--display-buffer): Remove unused `frame' and `delta' vars.
1690 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1691 and display-width'.
1692
1693 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1694
1695 * dired.el (dired-mark-pop-up):
1696 * register.el (register-preview): Don't bind
1697 split-height-threshold here since it's now done in
1698 display-buffer-below-selected.
1699
1700 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1701
1702 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1703 xterm-rgb-convert-to-16bit.
1704 (rxvt-register-default-colors): Standardize with
1705 xterm-register-default-colors (Bug#14078).
1706
1707 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1708
1709 * simple.el (kill-region): Pass mark first, then point, so that
1710 kill-append works right (Bug#12819).
1711 (copy-region-as-kill, kill-ring-save): Likewise.
1712
1713 2013-12-17 Leo Liu <sdl.web@gmail.com>
1714
1715 * net/rcirc.el (rcirc-add-face):
1716 * eshell/em-prompt.el (eshell-emit-prompt):
1717 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1718 (Bug#16167)
1719
1720 2013-12-17 Chong Yidong <cyd@gnu.org>
1721
1722 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1723 Suggested by Xue Fuqiao.
1724
1725 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1726
1727 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1728
1729 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1730
1731 * net/shr.el (shr-insert-document): Remove unused var
1732 `shr-preliminary-table-render'.
1733 (shr-rescale-image): Remove unused arg `force'.
1734 (shr-put-image): Update calls accordingly.
1735 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1736
1737 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1738
1739 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1740 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1741 :close-all, to see which indentation method to use (Bug#16116).
1742 (smie-rules-function): Document the method :close-all.
1743
1744 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1745
1746 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1747
1748 * net/eww.el (eww-display-html): If we can't find the anchor we're
1749 looking for, then go to point-min.
1750
1751 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1752
1753 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1754 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1755 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1756 Expand dir too, in case it's relative.
1757
1758 2013-12-16 Juri Linkov <juri@jurta.org>
1759
1760 * desktop.el (desktop-auto-save-timeout): Change default to
1761 `auto-save-timeout'. Doc fix.
1762 (desktop-save): Skip the timestamp in desktop-saved-frameset
1763 when checking for auto-save changes.
1764 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1765 `desktop-auto-save' is called repeatedly by the idle timer.
1766 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1767 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1768 (Bug#15331)
1769
1770 2013-12-16 Juri Linkov <juri@jurta.org>
1771
1772 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1773 (Bug#16035)
1774 (isearch-pre-command-hook): Check `this-command' for symbolp.
1775
1776 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1777
1778 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1779
1780 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1781
1782 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1783 (cfengine3--current-function): Bring in the current-function
1784 functionality from `cfengine3--current-word'.
1785 (cfengine3-completion-function): Bring in the
1786 bounds-of-current-word functionality from
1787 `cfengine3--current-word'.
1788
1789 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1790
1791 * window.el (display-buffer-below-selected):
1792 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1793
1794 2013-12-16 Leo Liu <sdl.web@gmail.com>
1795
1796 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1797 Remove NOMSG arg and all uses changed.
1798
1799 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1800
1801 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1802 (cua--deactivate-rectangle): Don't deactivate the mark.
1803 (cua-set-rectangle-mark): Don't set mark-active since
1804 cua--activate-rectangle already does it for us.
1805 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1806 non-rectangular region.
1807
1808 * emulation/cua-base.el (cua-repeat-replace-region):
1809 Use with-current-buffer.
1810
1811 * net/gnutls.el: Use cl-lib.
1812 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1813
1814 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1815
1816 * emacs-lisp/package.el (package-built-in-p): Support both
1817 built-in and the package.el converted package descriptions.
1818 (package-show-package-list): Allow keywords.
1819 (package-keyword-button-action): Use it instead of
1820 `finder-list-matches'.
1821 (package-menu-filter-interactive): Interactive filtering (by
1822 keyword) function.
1823 (package-menu--generate): Support keywords and change keymappings
1824 and headers when they are given.
1825 (package--has-keyword-p): Helper function.
1826 (package-menu--refresh): Use it.
1827 (package--mapc): Helper function.
1828 (package-all-keywords): Use it.
1829 (package-menu-mode-map): Set up menu items and keybindings to
1830 provide a filtering UI.
1831
1832 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1833
1834 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1835 the behavior when a certificate fails validation. Defaults to
1836 old behavior: never abort, just warn.
1837 (gnutls-negotiate): Use it.
1838
1839 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1840
1841 * window.el (display-buffer-below-selected): Never split window
1842 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1843
1844 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1845
1846 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1847 (package-buffer-info): Use it (bug#15108).
1848
1849 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1850
1851 * icomplete.el (icomplete-completions): Make sure the prefix is already
1852 displayed elsewhere before hiding it (bug#16219).
1853
1854 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1855
1856 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1857 open-paren tokens when preceded by a open-paren, too.
1858 (ruby-smie-rules): Handle virtual indentation after open-paren
1859 tokens specially. If there is code between it and eol, return the
1860 column where is starts (Bug#16118).
1861
1862 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1863
1864 * progmodes/cfengine.el: Fix `add-hook' doc.
1865 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1866 (cfengine3--current-word): Fix parameters.
1867 (cfengine3-make-syntax-cache): Simplify further.
1868 (cfengine3-completion-function, cfengine3--current-function):
1869 Use `assq' for symbols.
1870 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1871
1872 2013-12-13 Glenn Morris <rgm@gnu.org>
1873
1874 * loadup.el (load-path): Warn if site-load or site-init changes it.
1875 No more need to reset it when bootstrapping.
1876
1877 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1878
1879 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1880 locations for cf-promises.
1881 (cfengine-mode-syntax-functions-regex): New caching variable.
1882 (cfengine3-fallback-syntax): Fallback syntax for cases where
1883 cf-promises doesn't run.
1884 (cfengine3--current-word): Reimplement using
1885 `cfengine-mode-syntax-functions-regex'.
1886 (cfengine3-completion-function, cfengine3--current-function):
1887 Use `cfengine3-make-syntax-cache' directly.
1888 (cfengine3-clear-syntax-cache): New function.
1889 (cfengine3-make-syntax-cache): Simplify and create
1890 `cfengine-mode-syntax-functions-regex' on demand.
1891 (cfengine3-format-function-docstring): Don't call
1892 `cfengine3-make-syntax-cache' explicitly.
1893
1894 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1895
1896 Fix windmove-find-other-window broken after pixelwise resizing
1897 (Bug#16017).
1898 * windmove.el (windmove-other-window-loc): Revert change from
1899 2013-12-04.
1900 (windmove-find-other-window): Call window-in-direction.
1901 * window.el (window-in-direction): New arguments SIGN, WRAP and
1902 MINI to emulate original windmove-find-other-window behavior.
1903
1904 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1905
1906 * simple.el (blink-matching--overlay): New variable.
1907 (blink-matching-open): Instead of moving point, highlight the
1908 matching paren with an overlay
1909 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1910
1911 * faces.el (paren-showing-faces, show-paren-match)
1912 (show-paren-mismatch): Move from paren.el.
1913
1914 2013-12-13 Leo Liu <sdl.web@gmail.com>
1915
1916 * indent.el (indent-region): Disable progress reporter in
1917 minibuffer. (Bug#16108)
1918
1919 * bindings.el (visual-order-cursor-movement): Fix version.
1920
1921 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1922
1923 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1924 Also match after beginning of line.
1925 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1926 files. Thanks to Russell Sim. (Bug#15378)
1927
1928 2013-12-13 Juri Linkov <juri@jurta.org>
1929
1930 * simple.el <Keypad support>: Remove key bindings duplicated
1931 with bindings.el. (Bug#14397)
1932
1933 2013-12-13 Juri Linkov <juri@jurta.org>
1934
1935 * comint.el (comint-mode-map): Replace `delete-char' with
1936 `delete-forward-char'. (Bug#16109)
1937
1938 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1939
1940 * progmodes/python.el (python-indent-calculate-indentation):
1941 Fix de-denters cornercase. (Bug#15731)
1942
1943 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1944
1945 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1946 (advice--make): Pay attention to `depth'.
1947 (advice--make-1): Don't autoload commands eagerly.
1948 * emacs-lisp/elp.el (elp-instrument-function):
1949 * emacs-lisp/trace.el (trace-function-internal):
1950 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1951
1952 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1953
1954 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1955
1956 * term/w32-win.el (w32-handle-dropped-file):
1957 * startup.el (normal-top-level):
1958 * net/browse-url.el (browse-url-file-url):
1959 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1960 decode file names using 'utf-8' rather than
1961 file-name-coding-system.
1962
1963 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1964
1965 * progmodes/python.el (python-indent-context)
1966 (python-indent-calculate-indentation): Fix auto-identation
1967 behavior for comment blocks. (Bug#15916)
1968
1969 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1970
1971 * progmodes/python.el (python-indent-calculate-indentation):
1972 When determining indentation, don't treat "return", "pass", etc., as
1973 operators when they are just string constituents. (Bug#15812)
1974
1975 2013-12-12 Juri Linkov <juri@jurta.org>
1976
1977 * uniquify.el (uniquify-buffer-name-style): Change default to
1978 `post-forward-angle-brackets'.
1979
1980 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1981 `uniquify'. Change default to `post-forward-angle-brackets'.
1982
1983 2013-12-11 Glenn Morris <rgm@gnu.org>
1984
1985 * emacs-lisp/package.el (finder-list-matches):
1986 Autoload rather than falsely declaring.
1987
1988 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1989
1990 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1991 (eww-mode-map): Use them.
1992
1993 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1994
1995 * window.el (display-buffer-in-side-window): Fix doc-string
1996 (Bug#16115).
1997
1998 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1999
2000 * vc/vc-git.el: Silence byte-compiler warnings.
2001 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2002 (log-edit-set-header): Declare.
2003
2004 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2005
2006 * Makefile.in (custom-deps, finder-data): Run output file names
2007 through unmsys--file-name. (Bug#16099)
2008
2009 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2010
2011 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2012 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2013
2014 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2015 instead of deleting the selection "by hand" (bug#16098).
2016 Rely on insert-for-yank to yank rectangles.
2017 (cua-highlight-region-shift-only): Mark obsolete.
2018 (cua-mode): Don't enable/disable transient-mark-mode,
2019 shift-select-mode (cua-mode works both with and without them), and
2020 pc-selection-mode (obsolete).
2021 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2022 (cua--deactivate-rectangle): Deactivate it.
2023
2024 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2025 (delete-selection-helper): Make sure yank starts at the top of the
2026 deleted region.
2027 (minibuffer-keyboard-quit): Use region-active-p.
2028
2029 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2030
2031 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2032 to `delete' (bug#16109).
2033
2034 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2035
2036 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2037 info manual and show keybindings and set `:group' keyword.
2038
2039 2013-12-11 Juri Linkov <juri@jurta.org>
2040
2041 * delsel.el (delete-active-region): Let-bind `this-command'
2042 to prevent `kill-region' from changing its original value.
2043 (delete-selection-helper): Handle `overwrite-mode' for the type
2044 `kill' exactly the same way as for the type `t'.
2045 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2046 Support more commands. (Bug#13312)
2047
2048 2013-12-11 Juri Linkov <juri@jurta.org>
2049
2050 * bindings.el: Map kp keys to non-kp keys systematically
2051 with basic modifiers control, meta and shift. (Bug#14397)
2052
2053 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2054
2055 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2056 "Close browser" menu items. Fix wrong function of "List
2057 bookmarks".
2058
2059 2013-12-11 Juri Linkov <juri@jurta.org>
2060
2061 * misearch.el (multi-isearch-buffers): Set the value of
2062 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2063 arg of isearch-forward to t.
2064 (multi-isearch-buffers-regexp): Set the value of
2065 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2066 arg of isearch-forward-regexp to t.
2067 (multi-isearch-files): Set the value of
2068 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2069 arg of isearch-forward to t.
2070 (multi-isearch-files-regexp): Set the value of
2071 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
2072 arg of isearch-forward-regexp to t. (Bug#16035)
2073
2074 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2075 arg of isearch-forward to t.
2076 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2077 arg of isearch-forward-regexp to t.
2078 (dired-isearch-filter-filenames): Remove unnecessary check for
2079 `dired-isearch-filenames'.
2080
2081 * comint.el (comint-history-isearch-backward):
2082 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2083 (comint-history-isearch-backward-regexp):
2084 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2085
2086 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2087
2088 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2089 unmsys--file-name. (Bug#16099)
2090
2091 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2092
2093 * emacs-lisp/package.el (package-keyword-button-action):
2094 Remove finder.el require dependency.
2095
2096 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2097
2098 * emacs-lisp/package.el: Require finder.el.
2099 (describe-package-1): Add keyword buttons.
2100 (package-make-button): New convenience function.
2101 (package-keyword-button-action): Keyword button action using
2102 `finder-list-matches'.
2103
2104 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2105
2106 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2107 last commit.
2108
2109 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2110
2111 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2112 symlinked files.
2113
2114 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2115
2116 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2117 after the end of a percent literal.
2118
2119 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2120
2121 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2122 Handle caret-delimited strings (Bug#16079).
2123
2124 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2125
2126 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2127 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2128 `ruby-parse-partial' (Bug#16078).
2129
2130 2013-12-09 Leo Liu <sdl.web@gmail.com>
2131
2132 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2133
2134 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2135
2136 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2137 (js-switch-indent-offset): New option.
2138 (js--proper-indentation): Use it. And handle the case when
2139 "default" is actually a key in an object literal.
2140 (js--same-line): New function.
2141 (js--multi-line-declaration-indentation): Use it.
2142 (js--indent-in-array-comp, js--array-comp-indentation):
2143 New functions.
2144 (js--proper-indentation): Use them, to handle array comprehension
2145 continuations.
2146
2147 2013-12-08 Leo Liu <sdl.web@gmail.com>
2148
2149 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2150 (flymake-make-overlay): Remove arg MOUSE-FACE.
2151 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2152
2153 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2154
2155 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2156 New function.
2157 (redisplay-highlight-region-function): Use it.
2158
2159 * emulation/cua-base.el (cua--explicit-region-start)
2160 (cua--last-region-shifted): Remove.
2161 (cua--deactivate): Use deactivate-mark.
2162 (cua--pre-command-handler-1): Don't handle shift-selection.
2163 (cua--post-command-handler-1): Don't change transient-mark-mode.
2164 (cua--select-keymaps): Use region-active-p rather than
2165 cua--explicit-region-start or cua--last-region-shifted.
2166 (cua-mode): Enable shift-select-mode.
2167
2168 2013-12-08 Leo Liu <sdl.web@gmail.com>
2169
2170 * progmodes/flymake.el (flymake-popup-current-error-menu):
2171 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2172 (flymake-posn-at-point-as-event, flymake-popup-menu)
2173 (flymake-make-emacs-menu): Remove. (Bug#16077)
2174
2175 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2176
2177 * rect.el (rectangle-mark-mode): Activate mark even if
2178 transient-mark-mode is off (bug#16066).
2179 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2180 is > mark and at bolp.
2181
2182 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2183 (region-extract-function): Use it.
2184 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2185 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2186 Delete functions.
2187 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2188 kill-ring-save, kill-region, delete-char, delete-forward-char.
2189 Ignore self-insert-iso.
2190
2191 * emulation/cua-gmrk.el (cua--init-global-mark):
2192 Ignore `self-insert-iso'.
2193
2194 * emulation/cua-base.el (cua--prefix-copy-handler)
2195 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2196 checking cua--rectangle.
2197 (cua-delete-region): Use region-extract-function.
2198 (cua-replace-region): Delete function.
2199 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2200 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2201 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2202 (cua--init-keymaps): Don't remap delete-selection commands.
2203 (cua-mode): Use delete-selection-mode instead of rolling our own
2204 (bug#16085).
2205
2206 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2207 Obey region-extract-function.
2208
2209 Make registers and delete-selection-mode work on rectangles.
2210 * register.el (describe-register-1): Don't modify the register's value.
2211 (copy-to-register): Obey region-extract-function.
2212 * delsel.el (delete-active-region): Obey region-extract-function.
2213
2214 2013-12-08 Leo Liu <sdl.web@gmail.com>
2215
2216 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2217 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2218 (flymake-compilation-prevents-syntax-check)
2219 (flymake-start-syntax-check-on-newline)
2220 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2221 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2222 (flymake-xml-program, flymake-master-file-dirs)
2223 (flymake-master-file-count-limit)
2224 (flymake-allowed-file-name-masks): Relocate.
2225 (flymake-makehash, flymake-float-time)
2226 (flymake-replace-regexp-in-string, flymake-split-string)
2227 (flymake-get-temp-dir): Remove.
2228 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2229 (flymake-current-row, flymake-selected-frame)
2230 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2231 related functions. (Bug#16077)
2232
2233 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2234
2235 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2236
2237 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2238
2239 * help-fns.el (describe-function-1): Use new advice-* functions
2240 rather than old ad-* functions. Fix function type description and
2241 source links for advised functions and subrs.
2242
2243 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2244
2245 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2246
2247 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2248
2249 * progmodes/compile.el (compilation-start):
2250 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2251
2252 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2253 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2254
2255 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2256
2257 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2258 Touch up the last change.
2259
2260 2013-12-06 Leo Liu <sdl.web@gmail.com>
2261
2262 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2263 (inferior-octave-startup): Always use "octave> " for prompt.
2264 (octave-goto-function-definition)
2265 (octave-sync-function-file-names)
2266 (octave-find-definition-default-filename): Remove redundant backquotes.
2267
2268 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2269
2270 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2271 syntax for `?'.
2272 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2273 where appropriate already.
2274 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2275 end of method names (Bug#15874).
2276
2277 2013-12-06 Juri Linkov <juri@jurta.org>
2278
2279 * isearch.el (isearch--saved-overriding-local-map):
2280 New internal variable.
2281 (isearch-mode): Set it to the initial value of
2282 `overriding-terminal-local-map'.
2283 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2284 with `isearch--saved-overriding-local-map'. (Bug#16035)
2285
2286 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2287
2288 * progmodes/octave.el (inferior-octave-completion-table):
2289 Turn back into function, use `completion-table-with-cache'
2290 (Bug#11906). Update all references.
2291
2292 * minibuffer.el (completion-table-with-cache): New function.
2293
2294 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2295
2296 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2297
2298 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2299
2300 * net/eww.el (eww-current-source): New variable to store page
2301 source.
2302 (eww-display-html, eww-mode, eww-save-history)
2303 (eww-restore-history): Use it.
2304 (eww-view-source): New command to view page source.
2305 Opportunistically uses `html-mode' to highlight the buffer.
2306 (eww-mode-map): Install it.
2307
2308 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2309
2310 * net/dbus.el (dbus-unregister-service)
2311 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2312 Fix docstring.
2313 (dbus-unregister-service): Skip :serial entries in
2314 `dbus-registered-objects-table'.
2315 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2316
2317 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2318
2319 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2320 around keywords with extra `split-string' argument.
2321
2322 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2323
2324 * windmove.el (windmove-other-window-loc): Handle navigation
2325 between windows (excluding the minibuffer window - Bug#16017).
2326
2327 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2328
2329 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2330 in D-Bus type syntax.
2331 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2332 preserve unibyte strings. (Bug#16048)
2333
2334 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2335
2336 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2337 Call force-mode-line-update is the proper buffer (bug#16042).
2338
2339 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2340
2341 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2342 `log-edit-remember-comment', make argument optional. Adjust all
2343 callers.
2344 (log-edit-mode): Add `log-edit-remember-comment' to
2345 `kill-buffer-hook' locally.
2346 (log-edit-kill-buffer): Don't remember comment explicitly since
2347 the buffer is killed anyway.
2348
2349 2013-12-04 Juri Linkov <juri@jurta.org>
2350
2351 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2352 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2353
2354 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2355
2356 * notifications.el (notifications-close-notification): Call the
2357 D-Bus method with ID being a `:uint32'. (Bug#16030)
2358
2359 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2360
2361 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2362
2363 2013-12-03 Juri Linkov <juri@jurta.org>
2364
2365 * progmodes/compile.el (compilation-start): Rename window alist
2366 entry `no-display-ok' to `allow-no-window'.
2367
2368 * simple.el (shell-command): Add window alist entry
2369 `allow-no-window' to `display-buffer'.
2370 (async-shell-command): Doc fix.
2371
2372 * window.el (display-buffer-no-window): New action function.
2373 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2374
2375 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2376
2377 * vc/log-edit.el (log-edit-set-header): Extract from
2378 `log-edit-toggle-header'.
2379 (log-edit-extract-headers): Separate the summary, when extracted
2380 from header, from the rest of the message with an empty line.
2381
2382 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2383 line, if present, to the Summary header.
2384
2385 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2386
2387 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2388 in current-buffer (bug#16029).
2389
2390 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2391
2392 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2393 (debugger-mode-map): Bind it.
2394 (debugger--backtrace-base): New function.
2395 (debugger-eval-expression): Use it.
2396 (debugger-frame-number): Skip local vars when present.
2397 (debugger--locals-visible-p, debugger--insert-locals)
2398 (debugger--show-locals, debugger--hide-locals): New functions.
2399
2400 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2401
2402 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2403 "LC_ALL".
2404 (tramp-get-remote-locale): New defun.
2405 (tramp-open-connection-setup-interactive-shell): Use it.
2406
2407 2013-12-02 Leo Liu <sdl.web@gmail.com>
2408
2409 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2410
2411 * progmodes/sh-script.el (sh-shell-process):
2412 * progmodes/octave.el (inferior-octave-process-live-p):
2413 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2414 (gdb-inferior-io-sentinel):
2415 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2416
2417 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2418
2419 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2420 `save-selected-window' to `log-edit-hide-buf'. This makes
2421 `log-edit-show-files' idempotent.
2422 (log-edit-show-files): Mark the new window as dedicated.
2423
2424 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2425
2426 * vc/log-edit.el (log-edit-mode-map): Add binding for
2427 `log-edit-kill-biffer'.
2428 (log-edit-hide-buf): Add a FIXME comment.
2429 (log-edit-add-new-comment): New function, extracted from
2430 `log-edit-done'.
2431 (log-edit-done, log-edit-add-to-changelog): Use it.
2432 (log-edit-kill-buffer): New command.
2433
2434 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2435
2436 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2437 instead of killing the buffer.
2438
2439 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2440
2441 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2442
2443 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2444
2445 * net/eww.el (eww-form-checkbox-selected-symbol)
2446 (eww-form-checkbox-symbol): New customizable variable.
2447 (eww-form-checkbox, eww-toggle-checkbox):
2448 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2449
2450 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2451 (shr--get-media-pref, shr--extract-best-source): New function.
2452 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2453 no :src tag was specified.
2454
2455 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2456 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2457 Use \\` to match beginning of string instead of ^.
2458 (eww-browse-with-external-browser): Provide optional URL parameter.
2459 (eww-render): Set `eww-current-title' back to "".
2460
2461 * net/shr.el (shr-tag-video): Display content for video if no
2462 poster is available.
2463 (shr-tag-audio): Add support for <audio> tag.
2464
2465 * net/eww.el (eww-text-input-types): New const.
2466 (eww-process-text-input): Treat input types in
2467 `eww-text-input-types' as text.
2468
2469 * net/shr.el (shr-tag-table): Fix comment typo.
2470
2471 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2472
2473 * net/eww.el (eww-follow-link): New command to avoid reloading
2474 pages when we follow #target links (bug#15243).
2475 (eww-quit): Special mode buffers shouldn't query before exiting.
2476
2477 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2478
2479 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2480 forms.
2481
2482 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2483
2484 * net/eww.el (eww-restore-history): Update the window title after
2485 moving in the history.
2486 (eww-current-dom): New variable used to save the current DOM.
2487
2488 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2489
2490 * vc/log-edit.el (log-edit-mode-map): Add binding for
2491 `log-edit-beginning-of-line'.
2492 (log-edit-setup-add-author): New user option.
2493 (log-edit-beginning-of-line): New command.
2494 (log-edit): Move major mode call above the contents setup so that
2495 the local variable values are already applied.
2496 (log-edit): Only insert "Author: " when
2497 `log-edit-setup-add-author' is non-nil.
2498 (log-edit): When SETUP is non-nil, position point after ": "
2499 instead of point-min.
2500
2501 2013-12-01 Glenn Morris <rgm@gnu.org>
2502
2503 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2504
2505 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2506
2507 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2508 redisplay to make sure the initial frame gets a chance to become
2509 visible. (Bug#16014)
2510
2511 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2512
2513 Support resizing frames and windows pixelwise.
2514 * cus-start.el (frame-resize-pixelwise)
2515 (window-resize-pixelwise): New entries.
2516 * emacs-lisp/debug.el (debug): Use window-total-height instead
2517 of window-total-size.
2518 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2519 * help.el (describe-bindings-internal): Call help-buffer
2520 (temp-buffer-max-width): New option.
2521 (resize-temp-buffer-window, help-window-setup)
2522 (with-help-window): Rewrite.
2523 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2524 dragging dividers.
2525 * window.el (frame-char-size, window-min-pixel-height)
2526 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2527 (window-min-pixel-width, window-safe-min-pixel-size)
2528 (window-combination-p, window-safe-min-size)
2529 (window-resizable-p, window--size-to-pixel)
2530 (window--pixel-to-size, window--resize-apply-p): New functions.
2531 (window-safe-min-height): Fix doc-string.
2532 (window-size, window-min-size, window--min-size-1)
2533 (window-sizable, window-sizable-p, window--min-delta-1)
2534 (window-min-delta, window--max-delta-1, window-max-delta)
2535 (window--resizable, window--resizable-p, window-resizable)
2536 (window-full-height-p, window-full-width-p, window-at-side-p)
2537 (window--in-direction-2, window-in-direction)
2538 (window--resize-reset-1, window--resize-mini-window)
2539 (window-resize, window-resize-no-error)
2540 (window--resize-child-windows-normal)
2541 (window--resize-child-windows, window--resize-siblings)
2542 (window--resize-this-window, window--resize-root-window)
2543 (window--resize-root-window-vertically)
2544 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2545 (maximize-window, minimize-window, delete-window)
2546 (quit-restore-window, window-split-min-size, split-window)
2547 (balance-windows-2, balance-windows)
2548 (balance-windows-area-adjust, balance-windows-area)
2549 (window--state-get-1, window-state-get, window--state-put-1)
2550 (window--state-put-2, window-state-put)
2551 (display-buffer-record-window, window--display-buffer):
2552 Make functions handle pixelwise sizing of windows.
2553 (display-buffer--action-function-custom-type)
2554 (display-buffer-fallback-action):
2555 Add display-buffer-in-previous-window.
2556 (display-buffer-use-some-window): Resize window to height it had
2557 before.
2558 (fit-window-to-buffer-horizontally): New option.
2559 (fit-frame-to-buffer): Describe new values.
2560 (fit-frame-to-buffer-bottom-margin): Replace with
2561 fit-frame-to-buffer-margins.
2562 (window--sanitize-margin): New function.
2563 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2564 using window-text-pixel-size.
2565
2566 2013-11-30 Glenn Morris <rgm@gnu.org>
2567
2568 * emacs-lisp/bytecomp.el (byte-compile-form):
2569 Make the `interactive-only' warning like the `obsolete' one.
2570 * comint.el (comint-run):
2571 * files.el (insert-file-literally, insert-file):
2572 * replace.el (replace-string, replace-regexp):
2573 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2574 (goto-line, insert-buffer, next-line, previous-line):
2575 Tweak `interactive-only' spec.
2576
2577 Stop keeping (most) generated cedet grammar files in the repository.
2578 * Makefile.in (semantic): New.
2579 (compile-main): Depend on semantic.
2580
2581 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2582
2583 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2584 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2585
2586 * uniquify.el (uniquify-buffer-name-style): Change default.
2587
2588 * loadup.el: Preload "uniquify".
2589
2590 * time.el (display-time-update): Update all mode lines (bug#15999).
2591
2592 * electric.el (electric-indent-mode): Enable by default.
2593 * loadup.el: Preload "electric".
2594
2595 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2596
2597 * emacs-lisp/helpers.el (string-empty-p): New function.
2598 (string-blank-p): New function.
2599
2600 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2601
2602 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2603 (Bug#14029).
2604
2605 2013-11-29 Andreas Politz <politza@fh-trier.de>
2606 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2607 allow non-lambda lists as functions.
2608 (imenu--in-alist): Don't recurse into non-subalists.
2609 (imenu): Don't pass function itself as an argument (Bug#14029).
2610
2611 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2612
2613 * progmodes/python.el (python-mode-map): Remove binding for ":".
2614 (python-indent-electric-colon): Remove command.
2615 (python-indent-post-self-insert-function): Integrate the previous code
2616 of python-indent-electric-colon. Make it conditional on
2617 electric-indent-mode.
2618 (python-mode): Add ?: to electric-indent-chars.
2619 Move python-indent-post-self-insert-function to the end of
2620 post-self-insert-hook.
2621
2622 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2623
2624 * doc-view.el (doc-view-goto-page): Update mode-line.
2625
2626 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2627
2628 2013-11-27 Glenn Morris <rgm@gnu.org>
2629
2630 * international/charprop.el, international/uni-bidi.el:
2631 * international/uni-category.el, international/uni-combining.el:
2632 * international/uni-comment.el, international/uni-decimal.el:
2633 * international/uni-decomposition.el, international/uni-digit.el:
2634 * international/uni-lowercase.el, international/uni-mirrored.el:
2635 * international/uni-name.el, international/uni-numeric.el:
2636 * international/uni-old-name.el, international/uni-titlecase.el:
2637 * international/uni-uppercase.el:
2638 Remove generated files from VCS repository.
2639
2640 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2641
2642 * filenotify.el (file-notify-add-watch): Don't special-case
2643 w32notify when computing the directory to watch.
2644
2645 2013-11-27 Glenn Morris <rgm@gnu.org>
2646
2647 Make bootstrap without generated uni-*.el files possible again.
2648 * loadup.el: Update command-line-args checking for unidata-gen.
2649 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2650 * composite.el, international/characters.el:
2651 Handle unicode tables being undefined.
2652
2653 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2654 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2655 (compile-main): Depend on leim rule.
2656 (leim): New rule.
2657 * loadup.el: Move leim-list.el to leim/ subdirectory.
2658 * startup.el (normal-top-level): No more leim directory.
2659 * international/ja-dic-cnv.el (skkdic-convert):
2660 Disable version-control and autoloads in output files.
2661 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2662 Disable version-control and autoloads in output files.
2663 * leim/quail: Move here from ../leim.
2664 * leim/quail/hangul.el (hangul-input-method-activate):
2665 Add autoload cookie.
2666 (generated-autoload-load-name): Set file-local value.
2667 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2668 (generated-autoload-load-name): Set file-local value.
2669
2670 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2671
2672 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2673 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2674 (eww-quit): Ask confirmation before quitting eww.
2675
2676 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2677
2678 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2679 reading output from Diff on MS-Windows and MS-DOS.
2680
2681 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2682
2683 * emacs-lisp/helpers.el (string-reverse): New function.
2684
2685 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2686
2687 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2688 names on MS Windows, like "/[::1]:".
2689
2690 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2691 SWITCHES.
2692
2693 2013-11-26 Glenn Morris <rgm@gnu.org>
2694
2695 * progmodes/python.el (python-indent-guess-indent-offset):
2696 Avoid corner-case error. (Bug#15975)
2697
2698 Preload leim-list.el. (Bug#4789)
2699 * loadup.el: Load leim-list.el when found.
2700 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2701
2702 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2703
2704 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2705
2706 * emacs-lisp/helpers.el (string-join): New function.
2707
2708 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2709
2710 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2711 Mark as obsolete and replace it with a symbol property.
2712 (byte-compile-form): Use new 'interactive-only property.
2713 * comint.el, files.el, replace.el, simple.el:
2714 Apply new 'interactive-only properly.
2715
2716 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2717
2718 * window.el (display-buffer-at-bottom): Make sure that
2719 split-window-sensibly creates the new window on bottom
2720 (Bug#15961).
2721
2722 2013-11-23 David Kastrup <dak@gnu.org>
2723
2724 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2725 on the conflict markers when available.
2726 (smerge--get-marker): New function.
2727 (smerge-end-re, smerge-base-re): Add subgroup.
2728
2729 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2730
2731 * frame.el (handle-focus-in, handle-focus-out): Add missing
2732 interactive spec.
2733
2734 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2735
2736 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2737 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2738
2739 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2740
2741 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2742 (gomoku--last-pos): New var.
2743 (gomoku--intangible-chars): New const.
2744 (gomoku--intangible): New function.
2745 (gomoku-mode): Use it. Derive from special-mode.
2746 (gomoku-move-up): Adjust line count.
2747 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2748 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2749 Simplify accordingly.
2750
2751 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2752 Remove blink-cursor code.
2753 (blink-cursor-timer-function, blink-cursor-suspend):
2754 Don't special-case GUIs.
2755 (blink-cursor-mode): Use focus-in/out-hook.
2756
2757 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2758
2759 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2760 work when annotation is invisible (Bug#13886).
2761
2762 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2763
2764 * json.el (json-alist-p): Only return non-nil if the alist has
2765 simple keys (Bug#13518).
2766
2767 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2768
2769 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2770 when control-statement is the first statement in a buffer (Bug#15956).
2771
2772 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2773
2774 * imenu.el (imenu-generic-skip-comments-and-strings):
2775 New option (Bug#15560).
2776 (imenu--generic-function): Use it.
2777
2778 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2779
2780 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2781 (Bug#13898)
2782
2783 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2784
2785 * emacs-lisp/helpers.el: Add some string helpers.
2786 (string-trim-left): Removes leading whitespace.
2787 (string-trim-right): Removes trailing whitespace.
2788 (string-trim): Removes leading and trailing whitespace.
2789
2790 * subr.el (string-suffix-p): New function.
2791
2792 2013-11-23 Glenn Morris <rgm@gnu.org>
2793
2794 * progmodes/python.el (python-shell-send-file):
2795 Add option to delete file when done. (Bug#15647)
2796 (python-shell-send-string, python-shell-send-region): Use it.
2797
2798 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2799
2800 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2801 to set buffer-read-only to t, never to nil. (Bug#15938)
2802
2803 * textmodes/tex-mode.el (latex-noindent-environments):
2804 Add safe-local-variable property. (Bug#15936)
2805
2806 2013-11-23 Glenn Morris <rgm@gnu.org>
2807
2808 * textmodes/enriched.el (enriched-mode): Doc fix.
2809 * emacs-lisp/authors.el (authors-renamed-files-alist):
2810 Add enriched.doc -> enriched.txt.
2811
2812 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2813
2814 2013-11-22 Leo Liu <sdl.web@gmail.com>
2815
2816 * progmodes/octave.el (inferior-octave-startup): Spit out error
2817 message.
2818
2819 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2820
2821 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2822 Improve docstring.
2823 Add :version.
2824 (ruby-encoding-magic-comment-style): Add :version.
2825
2826 2013-11-22 Leo Liu <sdl.web@gmail.com>
2827
2828 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2829 (Bug#15076)
2830 (octave-help-mode): Adapt to change to help-mode-finish to use
2831 derived-mode-p on 2013-09-17.
2832 (inferior-octave-prompt): Also match octave-gui.
2833 (octave-kill-process): Don't ask twice. (Bug#10564)
2834
2835 2013-11-22 Leo Liu <sdl.web@gmail.com>
2836
2837 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2838 (inferior-octave-startup, inferior-octave-check-process)
2839 (inferior-octave-track-window-width-change)
2840 (octave-completion-at-point, octave-eldoc-function): Use it.
2841 (octave-kill-process): Provide confirmation. (Bug#10564)
2842
2843 2013-11-21 Leo Liu <sdl.web@gmail.com>
2844
2845 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2846 Fix obsolete variable comment-use-global-state.
2847
2848 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2849
2850 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2851 Add `octave-source-file'.
2852 (octave-source-file): New function. (Bug#15935)
2853
2854 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2855
2856 * net/eww.el (eww-local-regex): New variable.
2857 (eww): Use it to detect localhost and similar.
2858
2859 2013-11-21 Leo Liu <sdl.web@gmail.com>
2860
2861 Add completion for command `ag'.
2862 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2863 (pcomplete/ag): New function.
2864 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2865
2866 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2867
2868 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2869 (bug#14646).
2870 (make-obsolete): Remove interactive spec.
2871
2872 2013-11-21 Glenn Morris <rgm@gnu.org>
2873
2874 * startup.el (command-line-1): Use path-separator with -L.
2875
2876 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2877
2878 * emacs-lisp/package.el (describe-package-1): Add package archive
2879 to shown fields.
2880
2881 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2882
2883 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2884 Change default to "# encoding: %s" to differentiate it from the
2885 default Ruby encoding comment template.
2886
2887 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2888
2889 * ses.el (ses-mode): Doc fix. (Bug#14748)
2890
2891 2013-11-20 Leo Liu <sdl.web@gmail.com>
2892
2893 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2894
2895 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2896
2897 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2898 when rebase or bisect are in progress.
2899
2900 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2901
2902 * filenotify.el (file-notify-add-watch): Doc fix.
2903
2904 2013-11-19 Leo Liu <sdl.web@gmail.com>
2905
2906 * obsolete/rcompile.el: Mark obsolete.
2907
2908 * progmodes/compile.el (compilation-start)
2909 (compilation-goto-locus, compilation-find-file):
2910 Pass no-display-ok and handle nil value from display-buffer.
2911 (Bug#13594)
2912
2913 * window.el (display-buffer-alist, display-buffer): Document the
2914 new parameter no-display-ok. Return either a window or nil
2915 but never a non-window value.
2916
2917 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2918
2919 * electric.el (electric-indent-mode-map): Remove.
2920 (electric-indent-mode): Change the global-map instead (bug#15915).
2921
2922 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2923 Use add-function.
2924
2925 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2926
2927 * emacs-lisp/nadvice.el (remove-function): Align with
2928 add-function's behavior.
2929
2930 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2931 (gdb--string-regexp): New constant.
2932 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2933 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2934 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2935 submatch 1.
2936 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2937 Adjust use accordingly.
2938 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2939
2940 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2941
2942 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2943 interpolation curlies (Bug#15914).
2944
2945 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2946
2947 * calc/calc.el (calc-context-sensitive-enter): New variable.
2948 (calc-enter): Use `calc-context-sensitive-enter'.
2949
2950 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2951
2952 * progmodes/cfengine.el: Version bump.
2953 (cfengine-cf-promises): New defcustom to locate cf-promises.
2954 (cfengine3-vartypes): Add new "data" type.
2955 (cfengine3--current-word): New function to get current name-like
2956 word or its bounds.
2957 (cfengine3--current-function): New function to look up a CFEngine
2958 function's definition.
2959 (cfengine3-format-function-docstring): New function.
2960 (cfengine3-make-syntax-cache): New function.
2961 (cfengine3-documentation-function): New function: ElDoc glue.
2962 (cfengine3-completion-function): New function: completion glue.
2963 (cfengine3-mode): Set `compile-command',
2964 `eldoc-documentation-function', and add to
2965 `completion-at-point-functions'.
2966
2967 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2968
2969 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2970 `tramp-current-connection'.
2971
2972 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2973
2974 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2975 nil/self/true/false with "end of symbol".
2976
2977 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2978
2979 * subr.el (version-regexp-alist): Fix a typo.
2980
2981 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2982
2983 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2984 "en_US.utf8" and "LC_CTYPE" to "".
2985 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2986 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2987
2988 2013-11-15 Leo Liu <sdl.web@gmail.com>
2989
2990 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2991
2992 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2993
2994 * progmodes/gud.el (ctl-x-map):
2995 Remove C-x SPC binding. (Bug#12342)
2996 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2997
2998 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2999
3000 * subr.el (version-regexp-alist):
3001 Recognize hg, svn and darcs versions as snapshot versions.
3002
3003 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3004 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3005 (ruby--encoding-comment-required-p): Extract from
3006 `ruby-mode-set-encoding'.
3007 (ruby-mode-set-encoding): Add the ability to always insert an
3008 utf-8 encoding comment. Fix and simplify coding comment update
3009 logic.
3010
3011 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3012
3013 * net/tramp-gvfs.el (top): Run init code only when
3014 `tramp-gvfs-enabled' is not nil.
3015 (tramp-gvfs-enabled): Check also :system bus.
3016
3017 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3018
3019 Sync with upstream verilog-mode revision 78e66ba.
3020 * progmodes/verilog-mode.el (verilog-end-of-defun)
3021 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3022 (verilog-get-end-of-defun): Remove unused argument.
3023 (verilog-comment-depth): Remove unused local `e'.
3024 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3025 Don't pass arg to verilog-get-end-of-defun.
3026
3027 2013-11-14 Glenn Morris <rgm@gnu.org>
3028
3029 * obsolete/assoc.el (aget): Prefix dynamic variable.
3030
3031 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3032
3033 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3034
3035 * widget.el, hfy-cmap.el: Remove bogus package version number.
3036
3037 2013-11-13 Glenn Morris <rgm@gnu.org>
3038
3039 * replace.el (replace-eval-replacement):
3040 Try to give more helpful error message. (Bug#15836)
3041
3042 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3043 (archive-7z-update): Avoid custom type mismatches.
3044
3045 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3046
3047 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3048
3049 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3050 address can be empty.
3051
3052 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3053 Accept nil SWITCHES.
3054 (tramp-gvfs-handle-write-region): Implement APPEND.
3055
3056 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3057
3058 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3059 binary "|" operator and closing block args delimiter.
3060 Remove FIXME comment referring to Ruby 1.8-only syntax.
3061 (ruby-smie--implicit-semi-p): Not after "|" operator.
3062 (ruby-smie--closing-pipe-p): New function.
3063 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3064 (ruby-smie-rules): Indent after "|".
3065
3066 2013-11-12 Glenn Morris <rgm@gnu.org>
3067
3068 * ps-print.el (ps-face-attribute-list):
3069 Handle anonymous faces. (Bug#15827)
3070
3071 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3072
3073 * window.el (display-buffer-other-frame): Fix doc-string.
3074 (Bug#15868)
3075
3076 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3077
3078 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3079
3080 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3081
3082 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3083 (tramp-sh-handle-file-local-copy): Don't write a message when
3084 saving temporary files.
3085
3086 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3087 both directories are remote.
3088 (tramp-smb-handle-directory-files): Do not return double entries.
3089 Do not expand full file names.
3090 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3091 (tramp-smb-handle-write-region): Implement APPEND.
3092 (tramp-smb-get-stat-capability): Fix a stupid bug.
3093
3094 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3095
3096 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3097
3098 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3099
3100 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3101 throwing error over malformed let/let* (bug#15814).
3102
3103 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3104
3105 * iswitchb.el (iswitchb-mode): Mark obsolete.
3106
3107 2013-11-11 Glenn Morris <rgm@gnu.org>
3108
3109 * international/uni-bidi.el, international/uni-category.el:
3110 * international/uni-name.el, international/uni-numeric.el:
3111 Regenerate for Unicode 6.3.0.
3112
3113 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3114
3115 * net/tramp.el (tramp-methods):
3116 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3117 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3118
3119 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3120
3121 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3122 Force highlighting text after Summary keyword in doc face for rpm.
3123
3124 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3125
3126 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3127 available and the word has no wildcards, append one to the grep pattern.
3128 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3129 (ispell-complete-word): Call `ispell-lookup-words' with the value
3130 independent of `ispell-look-p'.
3131
3132 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3133
3134 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3135 Not after "||".
3136 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3137 their parent.
3138
3139 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3140
3141 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3142 (ruby-font-lock-keywords): Use backquote.
3143
3144 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3145
3146 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3147 (ruby-smie--backward-token): Only consider full-string matches.
3148
3149 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3150
3151 * faces.el (describe-face): Add distant-foreground.
3152
3153 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3154
3155 * progmodes/ruby-mode.el: Improve encoding comment handling.
3156 (ruby-encoding-magic-comment-style): New option.
3157 (ruby-custom-encoding-magic-comment-template): New option.
3158 (ruby--insert-coding-comment, ruby--detect-encoding):
3159 New functions extracted from `ruby-mode-set-encoding'.
3160 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3161 to control the style of the auto-inserted encoding comment.
3162
3163 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3164
3165 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3166 Use `smie-backward-sexp' with token argument.
3167
3168 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3169
3170 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3171 Remove instrumentation code.
3172
3173 2013-11-08 Glenn Morris <rgm@gnu.org>
3174
3175 * progmodes/autoconf.el (autoconf-mode):
3176 Tweak comment-start-skip. (Bug#15822)
3177
3178 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3179
3180 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3181 at bobp (bug#15826).
3182 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3183
3184 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3185
3186 * man.el (Man-start-calling): New macro, extracted from
3187 Man-getpage-in-background.
3188 (Man-getpage-in-background): Use it.
3189 (Man-update-manpage): New command.
3190 (Man-mode-map): Bind it.
3191
3192 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3193
3194 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3195 of "and", "or", "&&" and "||".
3196 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3197 argument. Prohibit opening curly brace because it could only be a
3198 block opener in that position.
3199 (ruby-smie--forward-token, ruby-smie--backward-token):
3200 Separate "|" from "&" or "*" going after it. That can happen in block
3201 arguments.
3202 (ruby-smie--indent-to-stmt): New function, seeks the end of
3203 previous statement or beginning of buffer.
3204 (ruby-smie-rules): Use it.
3205 (ruby-smie-rules): Check if there's a ":" before a curly block
3206 opener candidate; if there is, it's a hash.
3207
3208 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3209
3210 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3211 (cl--block-wrapper): Fix last accidental change.
3212
3213 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3214
3215 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3216 Instrument, in order to hunt failure on hydra.
3217
3218 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3219
3220 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3221 malformed bindings form (bug#15814).
3222
3223 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3224
3225 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3226 "." compared to " @ ". This incidentally fixes some indentation
3227 examples with "do".
3228 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3229 (ruby-smie-grammar): New tokens: "and" and "or".
3230 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3231 Exclude "and" and "or". Remove "do" in order to work around token
3232 priorities.
3233 (ruby-smie-rules): Add all infix tokens. Handle the case of
3234 beginning-of-buffer.
3235
3236 2013-11-06 Glenn Morris <rgm@gnu.org>
3237
3238 * Makefile.in (setwins_almost, setwins_for_subdirs):
3239 Avoid accidental matches.
3240
3241 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3242
3243 * menu-bar.el (popup-menu): Use key-binding.
3244
3245 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3246
3247 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3248 menus, support also the menus produced by minor modes.
3249 (Bug#15817)
3250
3251 2013-11-06 Leo Liu <sdl.web@gmail.com>
3252
3253 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3254 DISTANCE to bound the search. All uses changed. (Bug#15808)
3255
3256 2013-11-06 Glenn Morris <rgm@gnu.org>
3257
3258 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3259 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3260 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3261
3262 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3263
3264 * electric.el (electric-indent-just-newline): New command.
3265 (electric-indent-mode-map): New keymap.
3266 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3267 Re-add :group which weren't redundant.
3268
3269 * electric.el (electric-indent-local-mode): New minor mode.
3270 (electric-indent-functions-without-reindent): New var.
3271 (electric-indent-post-self-insert-function): Use it.
3272 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3273
3274 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3275
3276 * international/quail.el (quail-help): Be more explicit about the
3277 meaning of the labels shown on the keys. (Bug#15800)
3278
3279 * startup.el (normal-top-level): Load the subdirs.el files before
3280 setting the locale environment. (Bug#15805)
3281
3282 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3283
3284 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3285 via arguments so as to get the right ones (bug#15418).
3286
3287 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3288
3289 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3290
3291 Fix problems found while writing a test suite.
3292
3293 * net/tramp-compat.el (tramp-compat-load): New defun.
3294 * net/tramp.el (tramp-handle-load): Use it.
3295
3296 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3297 "(numberp ok-if-already-exists)" correctly.
3298
3299 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3300
3301 * international/characters.el (glyphless-char-display-control):
3302 Add usage note.
3303
3304 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3305
3306 * progmodes/python.el (python-mode):
3307 * progmodes/scheme.el (scheme-mode):
3308 * progmodes/prolog.el (prolog-mode):
3309 * progmodes/ruby-mode.el (ruby-mode):
3310 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3311 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3312
3313 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3314
3315 * rect.el (rectangle--highlight-for-redisplay):
3316 * emacs-lisp/smie.el (smie--next-indent-change):
3317 Use buffer-chars-modified-tick.
3318
3319 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3320
3321 * electric.el (electric-indent-post-self-insert-function):
3322 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3323
3324 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3325
3326 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3327
3328 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3329
3330 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3331 (bug#15786).
3332
3333 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3334
3335 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3336
3337 * progmodes/python.el: Fix up last change.
3338 (python-shell--save-temp-file): New function.
3339 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3340 `string' comes from the current buffer.
3341 (python-shell-send-string-no-output): Remove `msg' arg.
3342 (python--use-fake-loc): New var.
3343 (python-shell-buffer-substring): Obey it. Try to compensate for the
3344 extra coding line added by python-shell--save-temp-file.
3345 (python-shell-send-region): Use python-shell--save-temp-file and
3346 python-shell-send-file directly. Add `nomain' argument.
3347 (python-shell-send-buffer): Use python-shell-send-region.
3348 (python-electric-pair-string-delimiter): New function.
3349 (python-mode): Use it.
3350
3351 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3352
3353 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3354 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3355 environment and decoding all of the default-directory's to here
3356 from command-line.
3357 (command-line): Decode also argv[0].
3358
3359 * loadup.el: Error out if default-directory is a multibyte string
3360 when we are dumping.
3361
3362 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3363
3364 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3365
3366 * emacs-lisp/package.el (package-menu-mode)
3367 (package-menu--print-info, package-menu--archive-predicate):
3368 Add Archive column to package list.
3369
3370 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3371
3372 Fix problems found while writing a test suite.
3373
3374 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3375 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3376 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3377 to nil when running original file name handler. Otherwise,
3378 there are problems with constructs like "$$FOO".
3379
3380 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3381 for `localname'.
3382
3383 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3384
3385 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3386
3387 * subr.el (version<, version<=, version=):
3388 Update docstrings with information for snapshot versions.
3389
3390 * helpers.el: New library for misc helper functions.
3391 (hash-table-keys): New function returning a list of hash keys.
3392 (hash-table-values): New function returning a list of hash values.
3393
3394 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3395
3396 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3397 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3398
3399 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3400
3401 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3402 checking whether point is after a 1-letter word.
3403
3404 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3405
3406 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3407 Don't infloop when expanding region over `multiline' syntax-type that
3408 begins a line (bug#15778).
3409
3410 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3411
3412 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3413 Make it into a proper minor mode.
3414 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3415 (rectangle-mark-mode-map): New keymap.
3416 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3417
3418 2013-11-04 Glenn Morris <rgm@gnu.org>
3419
3420 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3421
3422 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3423
3424 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3425 (ruby-smie-rules): Use smie-rule-parent instead.
3426
3427 * emacs-lisp/smie.el (smie-rule-parent): Always call
3428 smie-indent-virtual rather than only for hanging tokens.
3429 (smie--next-indent-change): New helper command.
3430
3431 2013-11-03 Glenn Morris <rgm@gnu.org>
3432
3433 * Makefile.in (abs_srcdir): Remove.
3434 (emacs): Unset EMACSLOADPATH.
3435
3436 2013-11-02 Glenn Morris <rgm@gnu.org>
3437
3438 * Makefile.in (EMACS): Use a relative filename.
3439 (abs_top_builddir): Remove.
3440 (custom-deps, finder-data, autoloads): Use --chdir.
3441
3442 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3443
3444 Use relative filenames in TAGS files.
3445 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3446 (lisptagsfiles4, TAGS): Use relative file names.
3447 (TAGS-LISP): Remove.
3448 (maintainer-clean): No more TAGS-LISP file.
3449
3450 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3451 (lisptagsfiles4): Use absolute filenames again.
3452 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3453 Remove all *loaddefs files, not just the first. Remove esh-groups.
3454 (maintainer-clean): Delete TAGS, TAGS-LISP.
3455
3456 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3457
3458 * emacs-lisp/package.el (package-version-join):
3459 Recognize snapshot versions.
3460
3461 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3462
3463 * subr.el (version-regexp-alist): Add support for snapshot versions.
3464
3465 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3466
3467 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3468 New function, replacement for `smie-rule-parent' for when we want to
3469 skip over our direct parent if it's an assignment token..
3470 (ruby-smie-rules): Use it.
3471
3472 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3473
3474 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3475 unconditionally. Remove now unnecessary forward declarations.
3476 Remove XEmacs-specific setup.
3477 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3478 (ruby-font-lock-syntactic-keywords)
3479 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3480 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3481 (ruby-here-doc-end-syntax): Remove.
3482 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3483 defined as function.
3484
3485 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3486
3487 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3488
3489 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3490
3491 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3492 table and abbrev table, `define-derived-mode' does that for us
3493 anyway.
3494
3495 2013-11-01 Glenn Morris <rgm@gnu.org>
3496
3497 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3498 files is atomic for some time, so no parallel compilation issues).
3499
3500 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3501
3502 * faces.el (face-x-resources): Add :distant-foreground.
3503 (region): Use :distant-foreground for gtk and ns.
3504
3505 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3506
3507 Allow multiple bibliographies when BibLaTeX is used rather than
3508 BibTeX.
3509 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3510 (reftex-locate-bibliography-files): Us it.
3511
3512 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3513
3514 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3515 allow comments in pbm files.
3516
3517 * term/w32-win.el (dynamic-library-alist): Support newer versions
3518 of libjpeg starting with v7: look only for the DLL from the
3519 version against which Emacs was built.
3520 Support versions of libpng beyond 1.4.x.
3521 Support libtiff v4.x.
3522
3523 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3524
3525 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3526 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3527 Add property :safe.
3528 (ruby-deep-arglist): Add property :type.
3529
3530 2013-10-31 Glenn Morris <rgm@gnu.org>
3531
3532 * Makefile.in (custom-deps, finder-data): No need to setq the target
3533 variables, we are in the right directory and the defaults work fine.
3534
3535 2013-10-30 Glenn Morris <rgm@gnu.org>
3536
3537 * Makefile.in (autoloads): Do not use abs_lisp.
3538
3539 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3540 `newline' does not respect `standard-output', so use `princ'.
3541
3542 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3543
3544 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3545 * buff-menu.el (Buffer-menu--unmark): New function.
3546 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3547
3548 2013-10-30 Glenn Morris <rgm@gnu.org>
3549
3550 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3551
3552 * emacs-lisp/package.el (lm-homepage): Declare.
3553
3554 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3555 Fix doc typos.
3556
3557 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3558
3559 * Makefile.in (finder-data, autoloads, update-subdirs)
3560 (compile-main, compile-clean, compile-always, bootstrap-clean):
3561 Check return value of cd.
3562 (compile-calc): Remove.
3563
3564 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3565
3566 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3567
3568 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3569 (byte-compile-and-folded): New function.
3570 (=, <, >, <=, >=): Use it.
3571
3572 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3573 (path-separator, null-device, buffer-file-coding-system)
3574 (lpr-headers-switches): Check system-type before modifying them.
3575 (find-buffer-file-type-coding-system): Mark obsolete.
3576 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3577 find-file-not-found-set-buffer-file-coding-system.
3578 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3579 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3580 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3581 (w32-direct-print-region-helper, w32-direct-print-region-function)
3582 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3583 * startup.el (normal-top-level-add-subdirs-to-load-path):
3584 * ps-print.el (ps-print-region-function):
3585 * lpr.el (print-region-function): Use new name.
3586
3587 * subr.el (custom-declare-variable-early): Remove function.
3588 (custom-declare-variable-list): Remove var.
3589 (error, user-error): Remove `while' loop.
3590 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3591 (user-emacs-directory-warning, locate-user-emacs-file):
3592 Move to files.el.
3593 * simple.el (read-quoted-char-radix, read-quoted-char):
3594 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3595 Move from subr.el.
3596 * custom.el (custom-declare-variable-list): Don't process
3597 custom-declare-variable-list.
3598
3599 * progmodes/python.el (python-shell-get-buffer): New function.
3600 (python-shell-get-process): Use it.
3601 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3602 Python which encoding was used. Don't split-string since we only care
3603 about the first line. Return the temp-file, if applicable.
3604 (python-shell-send-region): Tell compile.el how to turn locations in
3605 the temp-file into locations in the source buffer.
3606
3607 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3608
3609 * subr.el (undefined): Add missing behavior from the C code for
3610 unbound keys.
3611
3612 * rect.el: Use lexical-binding. Add new rectangular region support.
3613 (rectangle-mark): New command.
3614 (rectangle--region): New var.
3615 (deactivate-mark-hook): Reset rectangle--region.
3616 (rectangle--extract-region, rectangle--insert-for-yank)
3617 (rectangle--highlight-for-redisplay)
3618 (rectangle--unhighlight-for-redisplay): New functions.
3619 (region-extract-function, redisplay-unhighlight-region-function)
3620 (redisplay-highlight-region-function): Use them to handle
3621 rectangular region.
3622 * simple.el (region-extract-function): New var.
3623 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3624 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3625 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3626 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3627 (redisplay-unhighlight-region-function)
3628 (redisplay-highlight-region-function): New vars.
3629 (redisplay--update-region-highlight): New function.
3630 (pre-redisplay-function): Use it.
3631 (exchange-point-and-mark): Don't deactivate the mark before
3632 reactivate-it anyway.
3633 * comint.el (comint-kill-region): Remove yank-handler argument.
3634 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3635 (delete-char): Remove property, since it's now part of their
3636 default behavior.
3637 (self-insert-iso): Remove property since this command doesn't exist.
3638
3639 * emacs-lisp/package.el (package--download-one-archive)
3640 (describe-package-1): Don't query the user about final newline.
3641
3642 2013-10-29 Daniel Colascione <dancol@dancol.org>
3643
3644 * net/tramp.el (tramp-methods): Document new functionality.
3645 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3646 tramp-hostname-checker if method provides one instead of scanning
3647 argument list for "%h" to decide hostname acceptability.
3648
3649 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3650
3651 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3652 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3653 Handle COPY-CONTENTS. (Bug#15737)
3654
3655 2013-10-28 Daiki Ueno <ueno@gnu.org>
3656
3657 * epa-file.el
3658 (epa-file-cache-passphrase-for-symmetric-encryption):
3659 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3660
3661 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3662
3663 * image.el (defimage):
3664 (image-load-path): Doc fixes.
3665
3666 2013-10-27 Alan Mackenzie <acm@muc.de>
3667
3668 Indent statements in macros following "##" correctly.
3669 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3670 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3671
3672 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3673
3674 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3675
3676 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3677
3678 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3679 after `=' is probably a new expression.
3680
3681 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3682
3683 * man.el (man-imenu-title): New option.
3684 (Man-mode-map): Add menu. (Bug#15722)
3685 (Man-mode): Add imenu to menu.
3686
3687 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3688
3689 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3690 specific in what the first arg can be: a non-keyword word,
3691 string/regexp/percent literal opener, opening paren, or unary
3692 operator followed directly by word.
3693
3694 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3695
3696 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3697 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3698 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3699 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3700 Remove vars, they do not apply any more.
3701 (prolog-mode-abbrev-table): Remove redundant declaration.
3702 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3703 (prolog-use-smie): Remove.
3704 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3705 supported by prolog-electric-if-then-else-flag.
3706 (prolog-mode-variables, prolog-menu): Use setq-local.
3707 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3708 Remove binding to `Backspace' since this key doesn't exist anyway.
3709 Remove bindings for electric self-inserting keys.
3710 (prog-mode): Assume it's defined.
3711 (prolog-post-self-insert): New function.
3712 (prolog-mode): Use it.
3713 (prolog-indent-line, prolog-indent-level)
3714 (prolog-find-indent-of-matching-paren)
3715 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3716 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3717 (prolog-goto-next-paren, prolog-in-string-or-comment)
3718 (prolog-tokenize, prolog-inside-mline-comment)
3719 (prolog-find-start-of-mline-comment): Remove functions.
3720 (prolog-find-unmatched-paren, prolog-clause-end)
3721 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3722 (prolog-electric--if-then-else): Rename from
3723 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3724 (prolog-tokenize-searchkey): Remove const.
3725 (prolog-clause-info): Use forward-sexp.
3726 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3727 (prolog-electric-if-then-else): Remove commands.
3728 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3729 for use in post-self-insert-hook.
3730 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3731 for use in post-self-insert-hook.
3732 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3733 for use in post-self-insert-hook.
3734 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3735 adapt it for use in post-self-insert-hook.
3736
3737 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3738
3739 * emacs-lisp/ert.el (ert-run-tests-interactively):
3740 Use `completing-read'. (Bug#9756)
3741
3742 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3743
3744 * simple.el (line-move): Call line-move-1 instead of
3745 line-move-visual when the current window hscroll is zero, but
3746 temporary-goal-column indicates we will need to hscroll as result
3747 of the movement. (Bug#15712)
3748
3749 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3750
3751 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3752 capitalization. Use :visible instead of :active.
3753 Fix `ruby-indent-exp' reference. Add menu items for the generic
3754 commands that are used with SMIE.
3755 (ruby-do-end-to-brace): Insert space after `{'.
3756
3757 2013-10-25 John Anthony <john@jo.hnanthony.com>
3758
3759 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3760
3761 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3762
3763 2013-10-25 Glenn Morris <rgm@gnu.org>
3764
3765 * vc/vc.el (vc-print-log): Don't use a working revision unless
3766 one was explicitly specified. (Bug#15322)
3767
3768 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3769
3770 * subr.el (add-to-list): Preserve return value in compiler-macro
3771 (bug#15692).
3772
3773 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3774
3775 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3776 result. Ask user to retry using '-all' flag. (Bug#15701)
3777
3778 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3779
3780 * emacs-lisp/smie.el: New smie-config system.
3781 (smie-config): New defcustom.
3782 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3783 (smie-config-guess, smie-config-save): New commands.
3784 (smie-config--mode-local, smie-config--buffer-local)
3785 (smie-config--trace, smie-config--modefuns): New vars.
3786 (smie-config--advice, smie-config--mode-hook)
3787 (smie-config--setter, smie-config-local, smie-config--get-trace)
3788 (smie-config--guess-value, smie-config--guess): New functions.
3789 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3790 text properties. Treat "string fence" syntax like string syntax.
3791
3792 * progmodes/sh-script.el (sh-use-smie): Change default.
3793 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3794 (sh-var-value): Simplify by CSE.
3795 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3796 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3797 is used.
3798 (sh-guess-basic-offset): Use cl-incf.
3799 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3800
3801 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3802
3803 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3804 (bug#15699).
3805
3806 2013-10-24 Glenn Morris <rgm@gnu.org>
3807
3808 * Makefile.in (abs_top_srcdir): Remove.
3809 (update-subdirs): Use relative path to update-subdirs.
3810
3811 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3812
3813 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3814 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3815 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3816 Call unmsys--file-name before expand-file-name, not after it.
3817
3818 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3819
3820 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3821 (ert-test-skipped): New error.
3822 (ert-skip, ert-stats-skipped): New defuns.
3823 (ert--skip-unless): New macro.
3824 (ert-test-skipped): New struct.
3825 (ert--run-test-debugger, ert-test-result-type-p)
3826 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3827 (ert--stats-set-test-and-result, ert-char-for-test-result)
3828 (ert-string-for-test-result, ert-run-tests-batch)
3829 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3830 Handle skipped tests. (Bug#9803)
3831
3832 2013-10-24 Glenn Morris <rgm@gnu.org>
3833
3834 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3835
3836 * Makefile.in (abs_top_srcdir): New, set by configure.
3837 (update-subdirs): Correct build-aux location.
3838
3839 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3840
3841 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3842 value, whether we could auto-deduce `backend', or not.
3843
3844 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3845 with parameters" example. Simplify the "is it block or is it
3846 hash" check, but also make it more thorough.
3847
3848 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3849
3850 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3851
3852 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3853
3854 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3855 { if it is hanging.
3856
3857 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3858 :before ";".
3859
3860 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3861
3862 * progmodes/compile.el (compilation-directory-matcher)
3863 (compilation-page-delimiter):
3864 Support GNU Make-4.0 directory quoting. (Bug#15678)
3865
3866 2013-10-23 Leo Liu <sdl.web@gmail.com>
3867
3868 * ido.el (ido-tidy): Handle read-only text.
3869
3870 2013-10-23 Glenn Morris <rgm@gnu.org>
3871
3872 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3873 (emacs, compile, compile-always):
3874 Quote entities that might contain whitespace.
3875 (custom-deps, finder-data, autoloads): Use abs_lisp.
3876 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3877 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3878 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3879
3880 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3881
3882 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3883 Use `following-char'.
3884
3885 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3886
3887 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3888 * progmodes/ruby-mode.el (ruby-smie-rules):
3889 Remove corresponding workaround. Fix indentation rule of ";" so it
3890 also applies when ";" is the parent.
3891
3892 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3893
3894 * frame.el (display-screens, display-pixel-height)
3895 (display-pixel-width, display-mm-width, display-backing-store)
3896 (display-save-under, display-planes, display-color-cells)
3897 (display-visual-class, display-monitor-attributes-list):
3898 Mention the optional ‘display’ argument in doc strings.
3899
3900 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3901
3902 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3903 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3904
3905 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3906
3907 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3908 TODO. Add "." after " @ ".
3909 (ruby-smie--at-dot-call): New function. Checks if point at method
3910 call with explicit target.
3911 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3912 to the method name tokens when it precedes them.
3913 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3914 (ruby-smie-rules): Add rule for indentation before and after "."
3915 token.
3916
3917 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3918
3919 * textmodes/remember.el (remember-diary-extract-entries):
3920 Avoid add-to-list.
3921
3922 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3923 an instruction.
3924
3925 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3926
3927 * progmodes/ruby-mode.el (ruby-smie-grammar):
3928 Add (almost) all infix operators.
3929 (ruby-smie--implicit-semi-p): Add new operator chars.
3930
3931 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3932 `smie-down-list'.
3933 (ruby-smie--args-separator-p): Check that there's no newline
3934 between method call and its arguments.
3935
3936 2013-10-20 Alan Mackenzie <acm@muc.de>
3937
3938 Allow comma separated lists after Java "implements".
3939
3940 * progmodes/cc-engine.el (c-backward-over-enum-header):
3941 Parse commas.
3942 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3943 from a "disallowed" list in enum fontification.
3944
3945 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3946
3947 * startup.el (default-frame-background-mode): Remove unused defvar.
3948
3949 * progmodes/verilog-mode.el (verilog-mode): Don't set
3950 comment-indent-function globally.
3951
3952 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3953
3954 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3955 Move Info menu item creation to ns-win.el.
3956
3957 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3958 in menu bar.
3959
3960 * menu-bar.el: Move GNUstep specific menus...
3961
3962 * term/ns-win.el (ns-initialize-window-system): ... to here.
3963
3964 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3965
3966 * simple.el (newline): Only run post-self-insert-hook when
3967 called interactively.
3968
3969 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3970
3971 * icomplete.el (icomplete-with-completion-tables): Add :version.
3972
3973 2013-10-19 Alan Mackenzie <acm@muc.de>
3974
3975 Fix fontification bugs with constructors and const.
3976
3977 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3978 CASE 2) Remove the check for the absence of a suffix construct
3979 after a function declaration with only types (no identifiers) in
3980 the parentheses. Also, accept a function declaration with just a
3981 type inside the parentheses, if this type can be positively
3982 recognised as such, or if a prefix keyword like "explicit" nails
3983 down the construct as a declaration.
3984
3985 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3986
3987 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3988 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3989 the problem whereby selecting a menu item that leads to a
3990 minibuffer prompt moves the cursor out of the minibuffer window,
3991 making it hard to type at the prompt. Suggested by Stefan Monnier
3992 <monnier@iro.umontreal.ca>.
3993
3994 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3995
3996 * menu-bar.el: Don't make Services menu.
3997
3998 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3999
4000 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4001 (ffap-alist): Use ffap-c++-mode for c++-mode.
4002 (ffap-c++-path): New variable.
4003 (ffap-c++-mode): New function.
4004
4005 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4006
4007 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4008
4009 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4010
4011 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4012 introduced on 2013-09-08, which results in an infinite loop
4013 requesting a password.
4014
4015 2013-10-18 Glenn Morris <rgm@gnu.org>
4016
4017 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4018
4019 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4020
4021 Sync with upstream verilog-mode revision 1a6ecec7.
4022 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4023 (verilog-mode-release-date): Remove.
4024 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4025 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4026 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4027 (verilog-auto-tieoff-ignore-regexp)
4028 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4029 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4030 (verilog-signals-with, verilog-dir-cache-preserving)
4031 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4032 Doc fixes.
4033 (verilog-case-fold): New option, to control case folding in
4034 regexp searches, bug597.
4035 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4036 (verilog-string-match-fold, verilog-in-paren-count)
4037 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4038 (verilog-at-close-struct-p): New functions.
4039 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4040 (verilog-forward-sexp, verilog-set-auto-endcomments):
4041 (verilog-leap-to-case-head): Handle "unique0" case.
4042 (verilog-in-constraint-re): New constant.
4043 (verilog-keywords, verilog-type-font-keywords):
4044 Add some SystemVerilog 1800-2012 keywords.
4045 (verilog-label-be): Remove unimplemented argument, bug669.
4046 (verilog-batch-execute-func): When batch expanding clear
4047 create-lockfiles to prevent spurious user locks when a file ends
4048 up not changing.
4049 (verilog-calculate-indent, verilog-calc-1)
4050 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4051 (verilog-do-indent): Fix indentation of nested constraints
4052 and structures.
4053 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4054 (verilog-auto-inst-param): Use verilog-string-match-fold.
4055 (verilog-read-inst-module-matcher):
4056 Fix AUTOINST on gate primitives with #1.
4057 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4058 Reads all user-defined typed variables.
4059 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4060 (verilog-signals-matching-regexp)
4061 (verilog-signals-not-matching-regexp, verilog-auto):
4062 Respect verilog-case-fold.
4063 (verilog-diff-report): Fix line count.
4064 (verilog-auto-assign-modport): Remove unused local `modi'.
4065 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4066 better handle multidimensional arrays.
4067 Fix packed array ports misadding bit index in AUTOINST, bug637.
4068 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4069 to not double-declare existing outputs and inputs, respectively.
4070 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4071 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4072 (verilog-sk-uvm-component): New skeleton.
4073 (verilog-submit-bug-report): Add verilog-case-fold,
4074 remove verilog-mode-release-date.
4075
4076 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4077
4078 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4079 as before.
4080
4081 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4082
4083 * textmodes/remember.el (remember): Set buffer-offer-save in
4084 remember buffers (bug#13566).
4085
4086 2013-10-18 Daniel Colascione <dancol@dancol.org>
4087
4088 When evaluating forms in ielm, direct standard output to ielm
4089 buffer. Add new ielm-return-for-effect command. Remove trailing
4090 whitespace throughout.
4091
4092 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4093 (ielm-return-for-effect): New command.
4094 (ielm-send-input): Accept optional `for-effect' parameter.
4095 (ielm-eval-input): Accept optional `for-effect' parameter.
4096 Bind `standard-output' to stream we create using
4097 `ielm-standard-output-impl'. Suppress printing result when
4098 `for-effect'.
4099 (ielm-standard-output-impl): New function.
4100 (inferior-emacs-lisp-mode): Explain new features in documentation.
4101
4102 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4103
4104 Code cleanup.
4105
4106 * net/tramp.el (tramp-debug-message): Do not check for connection
4107 buffer.
4108 (tramp-message): Use "vector" connection property.
4109
4110 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4111 (tramp-equal-remote, tramp-eshell-directory-change)
4112 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4113 (tramp-adb-handle-rename-file)
4114 * net/tramp-cmds.el (tramp-list-remote-buffers)
4115 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4116 * net/tramp-compat.el (tramp-compat-process-running-p)
4117 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4118 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4119 (tramp-gvfs-handle-rename-file)
4120 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4121 (tramp-set-file-uid-gid)
4122 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4123 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4124 of `file-remote-p'.
4125
4126 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4127 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4128 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4129 (tramp-gw-open-network-stream): Suppress unrelated traces.
4130
4131 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4132 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4133 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4134 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4135 connection property.
4136
4137 * net/tramp-cache.el (top): Suppress traces when reading
4138 persistency file.
4139
4140 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4141 Refactor common code. Improve debug message.
4142 (tramp-maybe-open-connection)
4143 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4144 connection buffer too early.
4145
4146 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4147 from `tramp-smb-actions-with-acl'.
4148 (tramp-smb-actions-set-acl): New defconst.
4149 (tramp-smb-handle-copy-directory)
4150 (tramp-smb-action-get-acl): New defun, renamed from
4151 `tramp-smb-action-with-acl'.
4152 (tramp-smb-action-set-acl): New defun.
4153 (tramp-smb-handle-set-file-acl): Rewrite.
4154
4155 2013-10-17 Glenn Morris <rgm@gnu.org>
4156
4157 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4158
4159 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4160
4161 * skeleton.el (skeleton-newline): Remove.
4162 (skeleton-internal-1): Use (insert "\n") instead.
4163
4164 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4165 let-bindings.
4166
4167 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4168 forward-sexp-function while we redo its job (bug#15613).
4169
4170 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4171
4172 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4173 represented by lists.
4174
4175 2013-10-16 Glenn Morris <rgm@gnu.org>
4176
4177 * tmm.el (tmm--history): New dynamic variable.
4178 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4179
4180 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4181
4182 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4183 (tramp-smb-errors): Add error messages.
4184 (tramp-smb-actions-with-acl): New defconst.
4185 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4186 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4187 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4188 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4189 (tramp-smb-get-stat-capability): Fix tests.
4190
4191 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4192
4193 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4194 (bug#15580).
4195
4196 2013-10-16 Glenn Morris <rgm@gnu.org>
4197
4198 * ansi-color.el (ansi-color-drop-regexp):
4199 Add 1J, 1K, 2K. (Bug#15617)
4200
4201 * files.el (hack-local-variables--warned-lexical): New.
4202 (hack-local-variables):
4203 Warn about misplaced lexical-binding. (Bug#15616)
4204
4205 * net/eww.el (eww-render): Always set eww-current-url,
4206 and update header line. (Bug#15622)
4207 (eww-display-html): ... Rather than just doing it here.
4208
4209 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4210
4211 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4212 menu navigations commands.
4213
4214 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4215
4216 * progmodes/subword.el (subword-capitalize): Be careful when
4217 the search for [[:alpha:]] fails (bug#15580).
4218
4219 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4220
4221 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4222 to commands that scroll the menu.
4223
4224 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4225
4226 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4227 Handle methods ending with `?' and `!'.
4228
4229 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4230
4231 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4232 `japanese-cp932' to `cp932' to fix the problem where saving a
4233 source file written in Shift_JIS twice would end up having
4234 `coding: japanese-cp932' which Ruby could not recognize.
4235 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4236 in `ruby-encoding-map'.
4237 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4238 doesn't need to be explicitly declared in magic comment.
4239 (ruby-encoding-map): Add type declaration for better customize UI.
4240
4241 2013-10-13 Glenn Morris <rgm@gnu.org>
4242
4243 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4244 Occur buffers are read-only. http://bugs.debian.org/720775
4245
4246 * emacs-lisp/authors.el (authors-fixed-entries):
4247 Comment out old alpha stuff.
4248
4249 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4250
4251 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4252 to `after-save-hook' instead of `before-save-hook'.
4253 (ruby-mode-set-encoding): Use the value of coding system used to
4254 write the file. Call `basic-save-buffer-1' after modifying the
4255 buffer.
4256
4257 2013-10-13 Alan Mackenzie <acm@muc.de>
4258
4259 Fix indentation/fontification of Java enum with
4260 "implements"/generic.
4261
4262 * progmodes/cc-engine.el (c-backward-over-enum-header):
4263 Extracted from the three other places and enhanced to handle generics.
4264 (c-inside-bracelist-p): Uses new function above.
4265 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4266 function above.
4267 (c-font-lock-enum-tail): Uses new function above.
4268
4269 2013-10-13 Kenichi Handa <handa@gnu.org>
4270
4271 * international/mule-cmds.el (select-safe-coding-system): Remove a
4272 superfluous condition in chekcing whether a coding system is safe
4273 or not.
4274
4275 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4276
4277 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4278
4279 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4280
4281 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4282
4283 2013-10-13 Glenn Morris <rgm@gnu.org>
4284
4285 * menu-bar.el (menu-bar-update-buffers):
4286 Unify Buffers menu prompt string. (Bug#15576)
4287
4288 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4289
4290 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4291 Add some entries.
4292 (authors-fixed-entries): Use accented form of name.
4293
4294 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4295
4296 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4297 method calls (bug#15594).
4298 (ruby-smie--args-separator-p): New function.
4299 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4300 recognize paren-free method calls.
4301
4302 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4303 internals of universal-argument.
4304
4305 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4306
4307 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4308 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4309 dropped menu on second mouse click on the menu bar.
4310
4311 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4312
4313 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4314 (explicit-shell-file-name): Declare.
4315 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4316 (sh-completion-at-point-function): New function.
4317 (sh-mode): Use it.
4318 (sh-smie--keyword-p): Remove unused argument.
4319 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4320 vars.
4321 (sh-set-shell): Always setup SMIE, even if we use the
4322 old indentation code.
4323
4324 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4325
4326 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4327 cases of ? and =.
4328 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4329 predicate would return nil are almost non-existent.
4330 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4331
4332 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4333 cache also after commands that modify the buffer but don't move
4334 point.
4335
4336 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4337
4338 * env.el (substitute-env-in-file-name): New function.
4339 (substitute-env-vars): Extend the meaning of the optional arg.
4340
4341 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4342
4343 * term/w32-win.el (dynamic-library-alist): Define separate lists
4344 of GIF DLLs for versions before and after 5.0.0 of giflib.
4345 (Bug#15531)
4346
4347 2013-10-10 João Távora <joaotavora@gmail.com>
4348
4349 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4350 not locked, use last revision and current source as
4351 defaults. (Bug#15569)
4352
4353 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4354
4355 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4356 menu-bar is hidden.
4357
4358 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4359
4360 * window.el (pop-to-buffer-same-window): Fix doc-string.
4361 (Bug#15492)
4362
4363 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4364
4365 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4366
4367 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4368
4369 * calendar/icalendar.el (icalendar-import-file):
4370 Fix interactive spec. (Bug#15482)
4371
4372 2013-10-10 Glenn Morris <rgm@gnu.org>
4373
4374 * desktop.el (desktop-save): Default to saving in .emacs.d,
4375 since PWD is no longer in desktop-path by default. (Bug#15319)
4376
4377 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4378 now that text mode has a menu with the same entry.
4379 (menu-bar-text-mode-auto-fill): Remove now unused func.
4380 * textmodes/text-mode.el (text-mode-map):
4381 Use auto-fill help text from menu-bar.el.
4382
4383 2013-10-10 John Anthony <john@jo.hnanthony.com>
4384
4385 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4386
4387 2013-10-09 Juri Linkov <juri@jurta.org>
4388
4389 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4390 instead of this-command-keys. Add universal-argument-more and
4391 universal-argument-minus to the list of prefix commands. (Bug#15568)
4392
4393 2013-10-09 Glenn Morris <rgm@gnu.org>
4394
4395 * vc/vc-svn.el (vc-svn-create-repo):
4396 Expand paths in file://... url. (Bug#15446)
4397
4398 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4399 Add some entries.
4400 (authors): Remove unused local variables.
4401
4402 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4403
4404 * profiler.el: Create a more coherent calltree from partial backtraces.
4405 (profiler-format): Hide the tail with `invisible' so that C-s can still
4406 find the hidden elements.
4407 (profiler-calltree-depth): Don't recurse so enthusiastically.
4408 (profiler-function-equal): New hash-table-test.
4409 (profiler-calltree-build-unified): New function.
4410 (profiler-calltree-build): Use it.
4411 (profiler-report-make-name-part): Indent the calltree less.
4412 (profiler-report-mode): Add visibility specs for profiler-format.
4413 (profiler-report-expand-entry, profiler-report-toggle-entry):
4414 Expand the whole subtree when provided with a prefix arg.
4415
4416 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4417
4418 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4419 iuwu-mod token.
4420 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4421 hanging iuwu-mod token.
4422 (ruby-smie--forward-token): Do not include a dot after a token in
4423 that token.
4424 (ruby-smie--backward-token): Likewise.
4425
4426 2013-10-08 Juri Linkov <juri@jurta.org>
4427
4428 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4429 to isearch-other-control-char.
4430 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4431 and isearch-post-command-hook to post-command-hook.
4432 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4433 and isearch-post-command-hook from post-command-hook.
4434 (isearch-unread-key-sequence)
4435 (isearch-reread-key-sequence-naturally)
4436 (isearch-lookup-scroll-key, isearch-other-control-char)
4437 (isearch-other-meta-char): Remove functions.
4438 (isearch-pre-command-hook, isearch-post-command-hook):
4439 New functions based on isearch-other-meta-char rewritten
4440 relying on the new behavior of overriding-terminal-local-map
4441 that does not replace the local keymaps any more. (Bug#15200)
4442
4443 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4444
4445 Support menus on text-mode terminals.
4446 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4447 functionality.
4448
4449 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4450
4451 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4452 Move here from mouse.el.
4453 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4454 and arrow keys.
4455 (tty-menu-navigation-map): New map for TTY menu navigation.
4456
4457 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4458
4459 * frame.el (display-mouse-p): Report text-mode mouse as available
4460 on w32.
4461 (display-popup-menus-p): Report availability if mouse is
4462 available; don't condition on window-system.
4463
4464 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4465 (tty-menu-selected-face): New faces.
4466
4467 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4468
4469 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4470 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4471 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4472 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4473 New constants.
4474 (lisp-mode-variables): New `elisp' argument.
4475 (emacs-lisp-mode): Use it.
4476 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4477 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4478
4479 * indent.el: Use lexical-binding.
4480 (indent-region): Add progress reporter.
4481 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4482 last step.
4483 (indent--next-tab-stop): New function to implement this behavior.
4484 (tab-to-tab-stop, move-to-tab-stop): Use it.
4485
4486 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4487
4488 * indent.el (indent-rigidly--current-indentation): New function.
4489 (indent-rigidly-map): New var.
4490 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4491
4492 2013-10-08 Bastien Guerry <bzg@gnu.org>
4493
4494 * register.el (insert-register): Fix 2013-10-07 change.
4495
4496 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4497
4498 * progmodes/perl-mode.el: Use lexical-binding.
4499 Remove redundant :group args.
4500 (perl-nochange): Change default to be closer to other major modes's
4501 standard behavior.
4502 (perl-indent-line): Don't consider text on current line as a
4503 valid beginning of function from which to indent.
4504
4505 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4506 with more than one argument (bug#15538).
4507
4508 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4509
4510 * vc/pcvs.el: Use lexical-binding.
4511 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4512 environment of `eval'.
4513 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4514 than a list of expressions. Adjust callers.
4515 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4516
4517 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4518
4519 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4520 case of the dot in a chained method call being on the following line.
4521
4522 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4523
4524 * electric.el (electric-indent-inhibit): New var.
4525 (electric-indent-post-self-insert-function): Use it.
4526 * progmodes/python.el (python-mode): Set it.
4527
4528 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4529 open braces.
4530
4531 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4532
4533 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4534 (css-mode): Use electric-indent-chars.
4535
4536 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4537 (font-lock-beg, font-lock-end): Move before first use.
4538 (nxml-mode): Use syntax-propertize-function.
4539 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4540 (nxml-extend-after-change-region): Remove.
4541 * nxml/xmltok.el: Use lexical-binding.
4542 (xmltok-save): Use `declare'.
4543 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4544 * nxml/nxml-util.el: Use lexical-binding.
4545 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4546 Use `declare'.
4547 * nxml/nxml-ns.el: Use lexical-binding.
4548 (nxml-ns-save): Use `declare'.
4549 (nxml-ns-prefixes-for): Avoid add-to-list.
4550 * nxml/rng-match.el: Use lexical-binding.
4551 (rng--ipattern): Use cl-defstruct.
4552 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4553 (rng-cons-group-after, rng-subst-group-after)
4554 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4555 Use closures instead of `(lambda...).
4556
4557 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4558
4559 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4560 of BEG and END.
4561
4562 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4563 Use `tramp-handle-insert-file-contents'.
4564 (tramp-gvfs-handle-insert-file-contents): Remove function.
4565
4566 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4567 Use `save-restriction' in order to keep markers.
4568
4569 * net/trampver.el: Update release number.
4570
4571 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4572
4573 * progmodes/compile.el (compilation-parse-errors):
4574 Use compilation--put-prop.
4575 (compilation--ensure-parse): Check compilation-multiline.
4576
4577 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4578
4579 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4580 lexical-binding.
4581
4582 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4583
4584 * progmodes/ruby-mode.el: Fix recently added tests.
4585 (ruby-smie-grammar): Add - and +.
4586 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4587 (ruby-smie--backward-id): New functions.
4588 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4589 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4590 any more.
4591
4592 2013-10-07 Leo Liu <sdl.web@gmail.com>
4593
4594 * register.el (register-preview-delay)
4595 (register-preview-functions): New variables.
4596 (register-read-with-preview, register-preview)
4597 (register-describe-oneline): New functions.
4598 (point-to-register, window-configuration-to-register)
4599 (frame-configuration-to-register, jump-to-register)
4600 (number-to-register, view-register, insert-register)
4601 (copy-to-register, append-to-register, prepend-to-register)
4602 (copy-rectangle-to-register): Use register-read-with-preview to
4603 read register. (Bug#15525)
4604
4605 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4606
4607 * net/network-stream.el (network-stream-open-starttls): Don't add
4608 --insecure if it's already present, because that gnutls-cli
4609 rejects getting that parameter twice.
4610
4611 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4612
4613 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4614 keyword, too.
4615
4616 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4617
4618 * newcomment.el (comment-use-global-state): Change default value
4619 to t, mark obsolete (Bug#15251).
4620 (comment-beginning): In addition to `comment-to-syntax', check the
4621 value of `comment-use-global-state'.
4622
4623 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4624
4625 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4626 (ruby-comment-column): Follow the global default, by default.
4627 (ruby-smie-grammar): Add assignment syntax.
4628 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4629 open-paren, a comma, or a \.
4630 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4631 and line continuations.
4632 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4633 followed by implicit semi-colons. Add rule for string concatenation
4634 and for indentation at BOB.
4635 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4636
4637 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4638 calling next-sexp, since next-token may have skipped chars which
4639 next-sexp doesn't know should be skipped!
4640
4641 2013-10-05 Leo Liu <sdl.web@gmail.com>
4642
4643 * progmodes/octave.el (octave-send-region):
4644 Call compilation-forget-errors.
4645
4646 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4647
4648 * vc/vc-svn.el (vc-svn-find-admin-dir):
4649 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4650 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4651 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4652 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4653
4654 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4655
4656 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4657
4658 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4659
4660 * subr.el (read-passwd): Hide chars even when called within a context
4661 where after-change-functions is disabled (bug#15501).
4662 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4663 until we removed ourself from overriding-terminal-local-map.
4664
4665 2013-10-04 Leo Liu <sdl.web@gmail.com>
4666
4667 * progmodes/octave.el (inferior-octave-mode):
4668 Call compilation-forget-errors.
4669
4670 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4671
4672 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4673
4674 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4675
4676 * net/secrets.el (secrets-create-collection): Add optional
4677 argument ALIAS. Use proper Label keyword. Append ALIAS as
4678 dbus-call-method argument. (Bug#15516)
4679
4680 2013-10-04 Leo Liu <sdl.web@gmail.com>
4681
4682 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4683 (inferior-octave-compilation-font-lock-keywords): New variables.
4684 (compilation-error-regexp-alist)
4685 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4686 (inferior-octave-mode): Use compilation-shell-minor-mode.
4687
4688 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4689
4690 * minibuffer.el (completion--replace): Be careful that `end' might be
4691 a marker.
4692
4693 2013-10-03 Daiki Ueno <ueno@gnu.org>
4694
4695 Add support for package signature checking.
4696 * emacs-lisp/package.el (url-http-file-exists-p)
4697 (epg-make-context, epg-context-set-home-directory)
4698 (epg-verify-string, epg-context-result-for)
4699 (epg-signature-status, epg-signature-to-string)
4700 (epg-check-configuration, epg-configuration)
4701 (epg-import-keys-from-file): Declare.
4702 (package-check-signature): New user option.
4703 (package-unsigned-archives): New user option.
4704 (package-desc): Add `signed' field.
4705 (package-load-descriptor): Set `signed' field if .signed file exists.
4706 (package--archive-file-exists-p): New function.
4707 (package--check-signature): New function.
4708 (package-install-from-archive): Check package signature.
4709 (package--download-one-archive): Check archive signature.
4710 (package-delete): Remove .signed file.
4711 (package-import-keyring): New command.
4712 (package-refresh-contents): Import default keyring.
4713 (package-desc-status): Add "unsigned" status.
4714 (describe-package-1, package-menu--print-info)
4715 (package-menu-mark-delete, package-menu--find-upgrades)
4716 (package-menu--status-predicate): Support "unsigned" status.
4717
4718 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4719
4720 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4721 the new compilation scheme using the new byte-codes.
4722
4723 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4724 (byte-pophandler): New byte codes.
4725 (byte-goto-ops): Adjust accordingly.
4726 (byte-compile--use-old-handlers): New var.
4727 (byte-compile-catch): Use new byte codes depending on
4728 byte-compile--use-old-handlers.
4729 (byte-compile-condition-case--old): Rename from
4730 byte-compile-condition-case.
4731 (byte-compile-condition-case--new): New function.
4732 (byte-compile-condition-case): New function that dispatches depending
4733 on byte-compile--use-old-handlers.
4734 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4735 when we can.
4736
4737 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4738 Optimize under `condition-case' and `catch' if
4739 byte-compile--use-old-handlers is nil.
4740 (disassemble-offset): Handle new bytecodes.
4741
4742 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4743
4744 * subr.el (error): Use `declare'.
4745 (decode-char, encode-char): Use advertised-calling-convention instead
4746 of the docstring to discourage use of the `restriction' arg.
4747
4748 2013-10-03 Daiki Ueno <ueno@gnu.org>
4749
4750 * epg.el (epg-verify-file): Add a comment saying that it does not
4751 notify verification error as a return value nor a signal.
4752 (epg-verify-string): Ditto.
4753
4754 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4755
4756 * progmodes/compile.el (compilation-start): Try globbing the arg to
4757 `cd' (bug#15417).
4758
4759 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4760
4761 Sync with Tramp 2.2.8.
4762
4763 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4764 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4765 * net/trampver.el: Update release number.
4766
4767 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4768
4769 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4770 and default-process-coding-system for darwin only.
4771
4772 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4773
4774 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4775
4776 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4777
4778 * vc/vc-git.el (vc-git-grep): Disable pager.
4779
4780 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4781
4782 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4783 Use :url instead of :homepage, as per
4784 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4785
4786 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4787 non-nil, use `syntax-ppss' (Bug#15251).
4788
4789 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4790
4791 * progmodes/octave.el (inferior-octave-startup-file):
4792 Prefer ~/.emacs.d/init_octave.m.
4793
4794 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4795
4796 * emacs-lisp/package.el (package-desc-from-define):
4797 Accept additional arguments as plist, convert them to an alist and store
4798 them in the `extras' slot.
4799 (package-generate-description-file): Convert extras alist back to
4800 plist and append to the `define-package' form arguments.
4801 (package--alist-to-plist): New function.
4802 (package--ac-desc): Add `extras' slot.
4803 (package--add-to-archive-contents): Check if the archive-contents
4804 vector is long enough, and if it is, pass its `extras' slot value
4805 to `package-desc-create'.
4806 (package-buffer-info): Call `lm-homepage', pass the returned value
4807 to `package-desc-from-define'.
4808 (describe-package-1): Render the homepage button (Bug#13291).
4809
4810 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4811 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4812
4813 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4814
4815 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4816 and default-process-coding-system to utf-8-unix (Bug#15402).
4817
4818 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4819
4820 * subr.el (looking-back): Do not recommend using looking-back.
4821
4822 2013-09-28 Alan Mackenzie <acm@muc.de>
4823
4824 Fix indentation/fontification of Java enum with "implements".
4825
4826 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4827 regexp which matches "implements", etc., in Java.
4828 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4829 specifier clauses coming after "enum".
4830 * progmodes/cc-fonts.el (c-font-lock-declarations)
4831 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4832 after "enum".
4833
4834 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4835
4836 * faces.el (region): Change ns_selection_color to
4837 ns_selection_fg_color, add ns_selection_bg_color.
4838
4839 2013-09-28 Leo Liu <sdl.web@gmail.com>
4840
4841 * progmodes/octave.el (inferior-octave-completion-table)
4842 (inferior-octave-completion-at-point): Minor tweaks.
4843
4844 * textmodes/ispell.el (ispell-lookup-words): Rename from
4845 lookup-words. (Bug#15460)
4846 (lookup-words): Obsolete.
4847 (ispell-complete-word, ispell-command-loop): All uses changed.
4848
4849 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4850
4851 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4852 (octave-mode-menu): Add octave-send-buffer.
4853 (octave-send-buffer): New function.
4854
4855 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4856
4857 * progmodes/octave.el (octave-mode-map): Add key binding for
4858 octave-lookfor.
4859 (octave-mode-menu): Add octave-lookfor.
4860 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4861 octave-lookfor.
4862 (octave-lookfor): New function.
4863
4864 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4865
4866 * emacs-lisp/cl-macs.el:
4867 (cl--loop-destr-temps): Remove.
4868 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4869 its convention.
4870 (cl--loop-set-iterator-function): New function.
4871 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4872 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4873 Bind `it' with `let' instead of substituting it with `cl-subst'.
4874 (cl--unused-var-p): New function.
4875 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4876 Eliminate some unused variable warnings (bug#15326).
4877
4878 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4879
4880 * doc-view.el (doc-view-scale-reset): Rename from
4881 `doc-view-reset-zoom-level'.
4882 (doc-view-scale-adjust): New command.
4883 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4884 `doc-view-scale-adjust'.
4885
4886 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4887
4888 * doc-view.el (doc-view-reset-zoom-level): New command.
4889 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4890 zoom commands (bug#15466).
4891
4892 2013-09-26 Kenichi Handa <handa@gnu.org>
4893
4894 * international/quail.el (quail-help): Make it not a command.
4895
4896 2013-09-26 Leo Liu <sdl.web@gmail.com>
4897
4898 * minibuffer.el (completion-all-sorted-completions): Make args
4899 optional as they are.
4900
4901 2013-09-25 Daniel Colascione <dancol@dancol.org>
4902
4903 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4904 specs are and that they're not evaluated.
4905
4906 2013-09-24 Sam Steingold <sds@gnu.org>
4907
4908 * midnight.el (clean-buffer-list-kill-regexps)
4909 (clean-buffer-list-kill-buffer-names): Update for the new Man
4910 buffer naming which includes the object name.
4911
4912 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4913
4914 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4915 (eshell-parse-command, eshell-parse-pipeline): Use it since
4916 eshell-separate-commands requires a dynamic scoped var.
4917 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4918
4919 2013-09-23 Leo Liu <sdl.web@gmail.com>
4920
4921 * autoinsert.el (auto-insert-alist): Make the value of
4922 lexical-binding match its file setting.
4923
4924 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4925
4926 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4927
4928 * autoarg.el (autoarg-kp-digit-argument):
4929 * electric.el (Electric-command-loop):
4930 * kmacro.el (kmacro-step-edit-insert):
4931 Do not set universal-argument-num-events.
4932
4933 2013-09-22 Leo Liu <sdl.web@gmail.com>
4934
4935 * files.el (interpreter-mode-alist): Add octave.
4936
4937 2013-09-21 Alan Mackenzie <acm@muc.de>
4938
4939 C++: fontify identifier in declaration following "public:" correctly.
4940 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4941 to match "public", etc.
4942 (c-decl-prefix-re): Add ":" into the C++ value.
4943 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4944 bit. Add a check for a ":" preceded by "public", etc.
4945
4946 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4947
4948 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4949 recognized by GDB 7.5 and later.
4950
4951 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4952
4953 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4954
4955 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4956
4957 * subr.el (internal--call-interactively): New const.
4958 (called-interactively-p): Use it (bug#3984).
4959
4960 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4961
4962 * vc/pcvs.el (cvs-mode-ignore):
4963 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4964 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4965
4966 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4967
4968 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4969 (eshell-ls-orig-insert-directory): Remove.
4970 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4971 (eshell-ls-use-in-dired): Use advice-add/remove.
4972 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4973 Add `orig-fun' arg for use in :around advice.
4974 Make it check (redundantly) eshell-ls-use-in-dired.
4975
4976 2013-09-19 Glenn Morris <rgm@gnu.org>
4977
4978 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4979
4980 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4981
4982 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4983
4984 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4985
4986 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4987 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4988 (tramp-get-remote-python): New defuns.
4989 (tramp-get-remote-uid-with-perl)
4990 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4991 contributed by yary <not.com@gmail.com> (tiny change).
4992 (tramp-get-remote-uid-with-python)
4993 (tramp-get-remote-gid-with-python): New defuns. Python code
4994 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4995 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4996
4997 2013-09-19 Glenn Morris <rgm@gnu.org>
4998
4999 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5000
5001 * eshell/em-unix.el (eshell-remove-entries):
5002 Rename argument to avoid name-clash with global `top-level'.
5003
5004 * eshell/esh-proc.el (eshell-kill-process-function):
5005 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5006 (eshell-reset-after-proc): Remove unused arg `proc'.
5007
5008 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5009 (directory-files-and-attributes): Mark unused arg.
5010
5011 * eshell/em-unix.el (eshell-remove-entries):
5012 Remove unused arg `path'. Update callers.
5013
5014 * eshell/em-hist.el (eshell-hist-parse-arguments):
5015 Remove unused arg `silent'. Update callers.
5016
5017 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5018 Fix (f)boundp mix-up.
5019
5020 * eshell/em-smart.el (eshell-smart-scroll-window)
5021 (eshell-disable-after-change):
5022 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5023
5024 2013-09-18 Alan Mackenzie <acm@muc.de>
5025
5026 Fix fontification of type when followed by "const".
5027 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5028 "known" types from fontification.
5029
5030 2013-09-18 Glenn Morris <rgm@gnu.org>
5031
5032 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5033 (chart-face-list): Drop Emacsen without display-color-p.
5034
5035 * net/eww.el (libxml-parse-html-region): Declare.
5036 (eww-display-html): Explicit error if no libxml2 support.
5037
5038 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5039
5040 * image.el (image-type-from-buffer, image-multi-frame-p):
5041 Remove --without-x warning/error.
5042
5043 * mouse.el (mouse-yank-primary):
5044 * term.el (term-mouse-paste):
5045 Reorder to silence --without-x compilation.
5046
5047 * mpc.el (doc-view-mode): Silence --without-x compilation.
5048
5049 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5050 Silence --without-x compilation.
5051
5052 * progmodes/gud.el (gud-find-file, gud-mode):
5053 Silence --without-x compilation.
5054 (tooltip-mode): Declare.
5055
5056 * wdired.el (dired-backup-overwrite): Remove declaration.
5057 (wdired-mode-map): Add doc string.
5058
5059 * custom.el (x-get-resource): Declare.
5060
5061 * eshell/em-glob.el (ange-cache):
5062 * eshell/em-unix.el (ange-cache): Declare.
5063
5064 * faces.el (x-display-list, x-open-connection, x-get-resource):
5065 Declare.
5066
5067 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5068 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5069 Declare.
5070
5071 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5072
5073 * net/gnutls.el (gnutls-log-level): Declare.
5074
5075 * net/shr.el (image-size, image-animate): Declare.
5076
5077 * simple.el (font-info): Declare.
5078
5079 * subr.el (x-popup-dialog): Declare.
5080
5081 * term/common-win.el (x-select-enable-primary)
5082 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5083 Declare.
5084
5085 * term/ns-win.el (x-handle-args): Declare.
5086
5087 * term/x-win.el (x-select-enable-clipboard): Declare.
5088
5089 * term/w32-win.el (create-default-fontset): Declare.
5090
5091 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5092 Declare.
5093
5094 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5095 (fit-frame-to-buffer): Explicit error if --without-x.
5096 (mouse-autoselect-window-select): Silence compiler.
5097
5098 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5099
5100 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5101 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5102 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5103 * eshell/esh-util.el (eshell-sublist):
5104 Remove unused local variables.
5105
5106 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5107
5108 * textmodes/two-column.el: Make 2C-split work for --without-x.
5109 (scroll-bar-columns): Autoload.
5110 (top-level): Require fringe when compiling.
5111
5112 2013-09-18 Leo Liu <sdl.web@gmail.com>
5113
5114 * subr.el (add-hook): Robustify to handle closure as well.
5115
5116 2013-09-17 Glenn Morris <rgm@gnu.org>
5117
5118 * simple.el (messages-buffer-mode-map): Unbind "g".
5119
5120 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5121
5122 * help-mode.el (help-mode-finish): Use derived-mode-p.
5123 Remove obsolete highlighting.
5124
5125 * play/life.el (life-mode): Use define-derived-mode. Derive from
5126 special-mode.
5127 (life): Let-bind inhibit-read-only.
5128 (life-setup): Avoid `setq'. Use `life-mode'.
5129
5130 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5131 which should not be needed any more.
5132 (package-menu-refresh, package-menu-describe-package): Use user-error.
5133
5134 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5135 (eshell-post-rewrite-command-hook): Make obsolete.
5136 (eshell-parse-command): Simplify.
5137 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5138 (eshell--cmd): Declare.
5139 (eshell-parse-pipeline): Remove unused var `final-p'.
5140 Pass a dynvar to eshell-post-rewrite-command-hook.
5141 Implement the new eshell-post-rewrite-command-function.
5142 (eshell-invoke-directly): Remove unused arg `input'.
5143 * eshell/esh-io.el (eshell-io-initialize):
5144 Use eshell-post-rewrite-command-function (bug#15399).
5145 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5146 adjust to new calling convention.
5147 (eshell-create-handles): Rename args to avoid clashing with dynvar
5148 `standard-output'.
5149
5150 2013-09-17 Glenn Morris <rgm@gnu.org>
5151
5152 * simple.el (messages-buffer-mode): New major mode.
5153 (messages-buffer): New function.
5154 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5155 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5156 (ert-run-test): Use `messages-buffer' function.
5157 (ert--force-message-log-buffer-truncation): Ignore read-only.
5158 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5159 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5160
5161 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5162
5163 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5164
5165 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5166
5167 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5168
5169 * icomplete.el (icomplete-in-buffer): New var.
5170 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5171 vars and replace them with functions.
5172 (icomplete-minibuffer-setup): Adjust accordingly.
5173 (icomplete--completion-table, icomplete--completion-predicate)
5174 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5175 New functions.
5176 (icomplete-forward-completions, icomplete-backward-completions)
5177 (icomplete-simple-completing-p, icomplete-exhibit)
5178 (icomplete-completions): Use them.
5179 (icomplete--in-region-buffer): New var.
5180 (icomplete--in-region-setup): New function.
5181 (icomplete-mode): Use it.
5182
5183 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5184 (bug#15379).
5185 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5186 return args and options.
5187 (eshell-eval-using-options): Use the new return value of
5188 eshell--do-opts to set the options's vars in their scope.
5189 (eshell--set-option): Rename from eshell-set-option.
5190 Add arg `opt-vals'.
5191 (eshell--process-option): Rename from eshell-process-option.
5192 Add arg `opt-vals'.
5193 (eshell--process-args): Use an `opt-vals' alist to store the options's
5194 values during their processing and return them additionally to the
5195 remaining args.
5196
5197 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5198
5199 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5200 continuation character an operator, as far as indentation is
5201 concerned (Bug#15369).
5202
5203 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5204
5205 * window.el (window--state-put-2): Don't process buffer state
5206 when buffer doesn't exist any more (Bug#15382).
5207
5208 2013-09-15 Glenn Morris <rgm@gnu.org>
5209
5210 * eshell/em-unix.el (eshell/rm):
5211 Make -f ignore missing files. (Bug#15373)
5212
5213 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5214 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5215 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5216
5217 2013-09-14 Glenn Morris <rgm@gnu.org>
5218
5219 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5220
5221 2013-09-13 Glenn Morris <rgm@gnu.org>
5222
5223 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5224 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5225
5226 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5227
5228 * frame.el (x-focus-frame): Mark as declared in frame.c.
5229
5230 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5231
5232 * ls-lisp.el: Use advice-add.
5233 (original-insert-directory): Remove.
5234 (ls-lisp--insert-directory): Rename from insert-directory; add
5235 `orig-fun' argument.
5236 (insert-directory): Advise.
5237
5238 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5239
5240 * term.el (term-emulate-terminal): Decode the command string
5241 before passing it to term-command-hook. (Bug#15337)
5242
5243 2013-09-13 Glenn Morris <rgm@gnu.org>
5244
5245 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5246
5247 * eshell/esh-ext.el (eshell-search-path): Declare.
5248
5249 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5250 Otherwise an error occurs if eshell-dirs module not loaded.
5251
5252 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5253
5254 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5255
5256 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5257 `tramp-check-proper-host'. Check for a valid method name.
5258
5259 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5260 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5261 * net/tramp-sh.el (tramp-maybe-open-connection):
5262 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5263
5264 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5265 also for hash values.
5266
5267 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5268
5269 * term/ns-win.el (parameters): Don't declare as dynamic.
5270 (before-make-frame-hook): Don't add ineffective function.
5271
5272 * eshell/*.el: Use lexical-binding (bug#15231).
5273
5274 2013-09-12 Kenichi Handa <handa@gnu.org>
5275
5276 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5277
5278 2013-09-12 Glenn Morris <rgm@gnu.org>
5279
5280 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5281 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5282
5283 * subr.el (do-after-load-evaluation): Also give compiler warnings
5284 when obsolete files are used (except by obsolete files).
5285
5286 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5287 in the status output, assume `filename' is the first. (Bug#15322)
5288
5289 * vc/vc.el (vc-deduce-fileset): Doc fix.
5290
5291 * calc/calc-help.el (Info-goto-node):
5292 * progmodes/cperl-mode.el (Info-find-node):
5293 * vc/ediff.el (Info-goto-node): Update declarations.
5294
5295 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5296
5297 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5298 (vc-bzr-pull): Require vc-dispatcher.
5299 * vc/vc-git.el (vc-compilation-mode): Declare.
5300 (vc-git-pull): Require vc-dispatcher.
5301
5302 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5303
5304 * progmodes/octave.el (help-button-action): Declare.
5305
5306 * shell.el (shell-directory-tracker): Output error as a message
5307 rather than just returning it as a string.
5308 (shell-process-pushd): Remove useless use of message.
5309
5310 * dframe.el (dframe-timer-fn):
5311 * files.el (dir-locals-read-from-file):
5312 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5313 (mpc-format):
5314 * reveal.el (reveal-post-command):
5315 * saveplace.el (load-save-place-alist-from-file):
5316 * shell.el (shell-resync-dirs):
5317 * w32-common-fns.el (x-get-selection-value):
5318 * emacs-lisp/copyright.el (copyright-find-copyright):
5319 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5320 * emulation/tpu-edt.el (tpu-copy-keyfile):
5321 * play/bubbles.el (bubbles--mark-neighbourhood):
5322 * progmodes/executable.el
5323 (executable-make-buffer-file-executable-if-script-p):
5324 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5325
5326 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5327
5328 Cleanup Eshell to rely less on dynamic scoping.
5329 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5330 last-value, and ext-command here. Bind `args' closer to `body'.
5331 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5332 (eshell--args): Declare new dynamic var.
5333 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5334 last-value, and ext-command. Pass `args' to `body'.
5335 (eshell-process-args): Bind eshell--args.
5336 (eshell-set-option): Use eshell--args.
5337 * eshell/eshell.el (eshell): Use derived-mode-p.
5338 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5339 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5340 (eshell-glob-function): Declare.
5341 * eshell/esh-util.el: Require cl-lib.
5342 (eshell-read-hosts-file): Avoid add-to-list.
5343 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5344 `err'.
5345 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5346 Declare.
5347 (eshell/diff): Remove unused var `err'.
5348 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5349 `killflag'.
5350 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5351 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5352 first use.
5353 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5354 Move declaration before first use.
5355 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5356 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5357 rely on cl-return.
5358
5359 2013-09-12 Glenn Morris <rgm@gnu.org>
5360
5361 * term/ns-win.el (global-map): Remove binding for ispell-next,
5362 deleted 1999-05-29. (Bug#15357)
5363
5364 2013-09-11 Glenn Morris <rgm@gnu.org>
5365
5366 * echistory.el (electric-command-history): Remove call to deleted func.
5367
5368 * play/landmark.el (landmark-mode): Fix typos.
5369
5370 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5371 Check cvs-sort-ignore-file is bound.
5372
5373 * savehist.el: No need for cl when compiling on Emacs.
5374
5375 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5376
5377 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5378 (bug#15338).
5379 (eshell-self-insert-command, eshell-send-invisible):
5380 Remove unused argument.
5381 (eshell-handle-control-codes): Remove unused var `orig'.
5382 Avoid delete-backward-char.
5383
5384 * files.el (set-auto-mode): Simplify a bit further.
5385
5386 2013-09-11 Glenn Morris <rgm@gnu.org>
5387
5388 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5389 (set-auto-mode): Don't regexp-quote elements.
5390 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5391 * progmodes/cc-mode.el (interpreter-mode-alist):
5392 * progmodes/ruby-mode.el (interpreter-mode-alist):
5393 Revert previous change.
5394
5395 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5396
5397 * play/snake.el (snake-mode):
5398 * play/mpuz.el (mpuz-mode):
5399 * play/landmark.el (lm-mode):
5400 * play/blackbox.el (blackbox-mode):
5401 * play/5x5.el (5x5-mode):
5402 * obsolete/options.el (Edit-options-mode):
5403 * net/quickurl.el (quickurl-list-mode):
5404 * net/newst-treeview.el (newsticker-treeview-mode):
5405 * mail/rmailsum.el (rmail-summary-mode):
5406 * mail/mspools.el (mspools-mode):
5407 * locate.el (locate-mode):
5408 * ibuffer.el (ibuffer-mode):
5409 * emulation/ws-mode.el (wordstar-mode):
5410 * emacs-lisp/debug.el (debugger-mode):
5411 * array.el (array-mode):
5412 * net/eudc.el (eudc-mode): Use define-derived-mode.
5413 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5414 Move initialization into declaration.
5415 (mairix-searches-mode): Use define-derived-mode.
5416 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5417 (eudc-edit-hotlist): Use dolist.
5418 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5419 (Man-mode): Use define-derived-mode.
5420 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5421 (Info-edit-mode): Use define-derived-mode.
5422 (Info-cease-edit): Use Info-mode.
5423 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5424 into declaration.
5425 (eshell-mode): Use define-derived-mode.
5426 * chistory.el (command-history-mode-map): Rename from
5427 command-history-map.
5428 (command-history-mode): Use define-derived-mode.
5429 (Command-history-setup): Remove function.
5430 * calc/calc.el (calc-trail-mode-map): New var.
5431 (calc-trail-mode): Use define-derived-mode.
5432 (calc-trail-buffer): Set calc-main-buffer manually.
5433 * bookmark.el (bookmark-insert-annotation): New function.
5434 (bookmark-edit-annotation): Use it.
5435 (bookmark-edit-annotation-mode): Make it a proper major mode.
5436 (bookmark-send-edited-annotation): Use derived-mode-p.
5437 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5438 closer to its ideal place. Use \' to match EOS.
5439
5440 * profiler.el (profiler-calltree-find): Use function-equal.
5441
5442 2013-09-10 Glenn Morris <rgm@gnu.org>
5443
5444 * files.el (interpreter-mode-alist): Convert to regexps.
5445 (set-auto-mode): Adapt for this. (Bug#15306)
5446 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5447 Comment out unused variable.
5448 * progmodes/cc-mode.el (interpreter-mode-alist):
5449 * progmodes/python.el (interpreter-mode-alist):
5450 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5451 * progmodes/sh-script.el (sh-set-shell):
5452 No longer use interpreter-mode-alist to get list of shells.
5453
5454 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5455
5456 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5457
5458 * simple.el: Use set-temporary-overlay-map for universal-argument.
5459 (universal-argument-map): Don't use default-bindings (bug#15317).
5460 Bind switch-frame explicitly. Replace universal-argument-minus with
5461 a conditional binding.
5462 (universal-argument-num-events, saved-overriding-map): Remove.
5463 (restore-overriding-map): Remove.
5464 (universal-argument--mode): Rename from save&set-overriding-map,
5465 and rewrite.
5466 (universal-argument, universal-argument-more, negative-argument)
5467 (digit-argument): Adjust accordingly.
5468 (universal-argument-minus): Remove.
5469 (universal-argument-other-key): Remove.
5470
5471 * subr.el (with-demoted-errors): Add `format' argument.
5472
5473 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5474
5475 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5476 `tramp-cleanup-connection'.
5477
5478 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5479 parameters KEEP-DEBUG and KEEP-PASSWORD.
5480
5481 * net/tramp.el (tramp-file-name-handler):
5482 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5483 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5484 (tramp-maybe-open-connection):
5485 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5486 Use `tramp-cleanup-connection'.
5487
5488 * net/tramp-sh.el (tramp-maybe-open-connection):
5489 Catch 'uname-changed inside the progress reporter.
5490
5491 2013-09-10 Glenn Morris <rgm@gnu.org>
5492
5493 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5494
5495 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5496 returns "alternate access method" in mode (eg "-rw-r--r--.").
5497
5498 2013-09-08 Glenn Morris <rgm@gnu.org>
5499
5500 * saveplace.el (load-save-place-alist-from-file):
5501 Demote errors. (Bug#15305)
5502
5503 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5504
5505 Improve compatibility with older Emacsen, and XEmacs.
5506
5507 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5508 only if it is bound. It isn't for XEmacs.
5509 (with-tramp-progress-reporter): Do not let-bind `result'.
5510 This yields to scoping errors in XEmacs.
5511 (tramp-handle-make-auto-save-file-name): New function, moved from
5512 tramp-sh.el.
5513
5514 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5515 for `make-auto-save-file-name'.
5516 (tramp-adb--gnu-switches-to-ash):
5517 Use `tramp-compat-replace-regexp-in-string'.
5518
5519 * net/tramp-cache.el (tramp-cache-print): Call
5520 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5521
5522 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5523 bound. It isn't for XEmacs.
5524
5525 * net/tramp-compat.el (tramp-compat-copy-file):
5526 Catch `wrong-number-of-arguments' error.
5527 (tramp-compat-replace-regexp-in-string): New defun.
5528
5529 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5530 for `make-auto-save-file-name'.
5531 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5532 `copy-file'.
5533 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5534 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5535 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5536
5537 * net/tramp-gw.el (tramp-gw-open-network-stream):
5538 Use `tramp-compat-replace-regexp-in-string'.
5539
5540 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5541 Call `tramp-handle-make-auto-save-file-name'.
5542 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5543 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5544 (tramp-sh-file-inotifywait-process-filter):
5545 Use `tramp-compat-replace-regexp-in-string'.
5546 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5547
5548 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5549 for `make-auto-save-file-name'.
5550 (tramp-smb-handle-copy-directory):
5551 Call `tramp-compat-replace-regexp-in-string'.
5552 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5553 (tramp-smb-handle-copy-file): Improve error message.
5554 (tramp-smb-handle-rename-file): Rename directly only in case
5555 `newname' does not exist yet. This is a restriction of smbclient.
5556 (tramp-smb-maybe-open-connection): Rerun the function only when
5557 `auth-sources' is non-nil.
5558
5559 2013-09-08 Kenichi Handa <handa@gnu.org>
5560
5561 * international/characters.el: Set category "^" (Combining) for
5562 more characters.
5563
5564 2013-09-07 Alan Mackenzie <acm@muc.de>
5565
5566 Correctly fontify Java class constructors.
5567 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5568 in Java Mode.
5569 (c-recognize-typeless-decls): Set the Java value to t.
5570 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5571 While handling a "(", add a check for, effectively, Java, and handle a
5572 "typeless" declaration there.
5573
5574 2013-09-07 Roland Winkler <winkler@gnu.org>
5575
5576 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5577 field subtitle for entry type book.
5578
5579 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5580
5581 * minibuffer.el: Make minibuffer-complete call completion-in-region
5582 rather than other way around.
5583 (completion--some, completion-pcm--find-all-completions):
5584 Don't delay signals when debugging.
5585 (minibuffer-completion-contents): Beware fields within the
5586 minibuffer contents.
5587 (completion-all-sorted-completions): Use defvar-local.
5588 (completion--do-completion, completion--cache-all-sorted-completions)
5589 (completion-all-sorted-completions, minibuffer-force-complete):
5590 Add args `beg' and `end'.
5591 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5592 (minibuffer-complete): Use completion-in-region.
5593 (completion-complete-and-exit): New fun, extracted from
5594 minibuffer-complete-and-exit.
5595 (minibuffer-complete-and-exit): Use it.
5596 (completion--complete-and-exit): Rename from
5597 minibuffer--complete-and-exit.
5598 (completion-in-region--single-word): New function, extracted from
5599 minibuffer-complete-word.
5600 (minibuffer-complete-word): Use it.
5601 (display-completion-list): Make `common-substring' argument obsolete.
5602 (completion--in-region): Call completion--in-region-1 instead of
5603 minibuffer-complete.
5604 (completion-help-at-point): Pass boundaries to
5605 minibuffer-completion-help as args rather than via an overlay.
5606 (completion-pcm--string->pattern): Use `any-delim'.
5607 (completion-pcm--optimize-pattern): New function.
5608 (completion-pcm--pattern->regex): Handle `any-delim'.
5609 * icomplete.el (icomplete-forward-completions)
5610 (icomplete-backward-completions, icomplete-completions):
5611 Adjust calls to completion-all-sorted-completions and
5612 completion--cache-all-sorted-completions.
5613 (icomplete-with-completion-tables): Default to t.
5614 * emacs-lisp/crm.el (crm--current-element): Rename from
5615 crm--select-current-element. Don't put an overlay but return the
5616 boundaries instead.
5617 (crm--completion-command): Take two new args to bind to the boundaries.
5618 (crm-completion-help): Adjust accordingly.
5619 (crm-complete): Use completion-in-region.
5620 (crm-complete-word): Use completion-in-region--single-word.
5621 (crm-complete-and-exit): Use completion-complete-and-exit.
5622
5623 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5624
5625 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5626 than dynamically.
5627
5628 2013-09-06 Juri Linkov <juri@jurta.org>
5629
5630 * info.el (Info-display-images-node): When image file doesn't exist
5631 display text version of the image if it's provided in the Info file.
5632 Otherwise, display the location of missing image from SRC attribute.
5633 Add help-echo text property from ALT attribute. (Bug#15279)
5634
5635 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5636
5637 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5638 (edit-abbrevs-mode): Use define-derived-mode.
5639
5640 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5641 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5642 that it's defined.
5643 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5644 Use define-derived-mode.
5645
5646 * epg.el (epg-start-encrypt): Minor CSE simplification.
5647
5648 2013-09-06 William Xu <william.xwl@gmail.com>
5649
5650 * arc-mode.el: Add support for 7za (bug#15264).
5651 (archive-7z-program): New var.
5652 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5653 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5654 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5655
5656 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5657
5658 Remove URL syntax.
5659
5660 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5661 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5662 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5663 (tramp-postfix-host-format, tramp-file-name-regexp)
5664 (tramp-completion-file-name-regexp)
5665 (tramp-completion-dissect-file-name)
5666 (tramp-handle-substitute-in-file-name): Remove 'url case.
5667 (tramp-file-name-regexp-url)
5668 (tramp-completion-file-name-regexp-url): Remove constants.
5669
5670 2013-09-06 Glenn Morris <rgm@gnu.org>
5671
5672 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5673
5674 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5675
5676 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5677 keywords" below "here-doc beginnings" (Bug#15270).
5678
5679 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5680
5681 * subr.el (pop): Use `car-safe'.
5682 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5683 to detect unused `pop' return value.
5684
5685 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5686 var `block-regexp'.
5687 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5688 (python-fill-string): Remove unused var `marker'.
5689 (python-skeleton-add-menu-items): Remove unused var `items'.
5690
5691 * international/mule-cmds.el: Require CL.
5692 (find-coding-systems-for-charsets): Avoid add-to-list.
5693 (sanitize-coding-system-list): New function, extracted from
5694 select-safe-coding-system-interactively.
5695 (select-safe-coding-system-interactively): Use it.
5696 (read-input-method-name): Accept symbols for `default'.
5697
5698 * emacs-lisp/advice.el (defadvice): Add indent rule.
5699
5700 2013-09-05 Daniel Hackney <dan@haxney.org>
5701
5702 * dired-x.el:
5703 * net/ange-ftp.el:
5704 * net/browse-url.el:
5705 * net/dbus.el:
5706 * net/eudc.el:
5707 * net/eudcb-ldap.el:
5708 * net/eww.el:
5709 * net/imap.el:
5710 * printing.el:
5711 * vc/ediff-diff.el:
5712 * vc/ediff-init.el:
5713 * vc/ediff-merg.el:
5714 * vc/ediff-mult.el:
5715 * vc/ediff-util.el:
5716 * vc/ediff-wind.el:
5717 * vc/ediff.el:
5718 * vc/emerge.el:
5719 * vc/pcvs.el:
5720 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5721 byte compiler. Remove some unused let-bound variables.
5722
5723 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5724
5725 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5726 a "ref-cell", since it gets better optimized (bug#14883).
5727
5728 2013-09-05 Glenn Morris <rgm@gnu.org>
5729
5730 * progmodes/cc-awk.el (c-forward-sws): Declare.
5731
5732 2013-09-04 Glenn Morris <rgm@gnu.org>
5733
5734 * generic-x.el [rul-generic-mode]: Require cc-mode.
5735 (c++-mode-syntax-table): Declare.
5736 (rul-generic-mode-syntax-table): Init in the defvar.
5737
5738 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5739
5740 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5741 (vc-do-command, vc-set-async-update):
5742 * vc/vc-mtn.el (vc-mtn-dir-status):
5743 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5744 (vc-hg-pull, vc-hg-merge-branch):
5745 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5746 (vc-git-merge-branch):
5747 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5748 (vc-cvs-dir-status-files):
5749 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5750 (vc-bzr-dir-status-files):
5751 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5752 * vc/vc-annotate.el: Use lexical-binding.
5753 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5754 (vc-sentinel-movepoint): Declare.
5755 (vc-annotate): Don't use `goto-line'.
5756 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5757 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5758 (vc-sentinel-movepoint): Declare.
5759 * vc/vc-svn.el: Use lexical-binding.
5760 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5761 * vc/vc-sccs.el:
5762 * vc/vc-rcs.el: Use lexical-binding.
5763
5764 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5765 `deleted'. Don't drop errors silently.
5766
5767 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5768
5769 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5770
5771 * vc/vc.el (vc-ignore): Rewrite.
5772 (vc-default-ignore): New function.
5773 (vc-default-ignore-completion-table): Use find-ignore-file.
5774
5775 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5776 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5777 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5778 Remove. Most code moved to vc.el.
5779
5780 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5781
5782 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5783 * net/tramp-smb.el (tramp-smb-get-file-entries):
5784 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5785 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5786
5787 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5788 Update call to it.
5789 (eww-change-select): Remove unused var `properties'.
5790 (eww-make-unique-file-name): Remove unused var `base'.
5791
5792 * finder.el (finder-compile-keywords): Don't mess with windows.
5793
5794 * calculator.el (calculator-funcall): Fix typo in last change.
5795
5796 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5797
5798 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5799 <pkg>-autoloads.el file stop us.
5800
5801 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5802 warnings, and factor out common code.
5803
5804 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5805
5806 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5807 two-character operators and whether the character preceding them
5808 changes their meaning (Bug#15208).
5809
5810 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5811
5812 Format code sent to Python shell for robustness.
5813 * progmodes/python.el (python-shell-buffer-substring):
5814 New function.
5815 (python-shell-send-region, python-shell-send-buffer): Use it.
5816
5817 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5818
5819 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5820 * net/tramp.el (tramp-user-error): ... here.
5821 (tramp-find-method, tramp-check-proper-host)
5822 (tramp-dissect-file-name, tramp-debug-message)
5823 (tramp-handle-shell-command):
5824 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5825 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5826
5827 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5828
5829 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5830
5831 * avoid.el (mouse-avoidance-point-position)
5832 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5833 returns nil.
5834
5835 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5836
5837 * progmodes/python.el (python-shell-completion-get-completions):
5838 Drop use of deleted `comint-last-prompt-overlay'.
5839 (python-nav-if-name-main): New command.
5840
5841 2013-09-01 Glenn Morris <rgm@gnu.org>
5842
5843 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5844 Avoid leading space in $wins. Otherwise the sed command used by
5845 eg compile-main ends up containing "/*.el". (Bug#15170)
5846
5847 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5848
5849 2013-08-30 Glenn Morris <rgm@gnu.org>
5850
5851 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5852 Fix is-this-a-directory logic. (Bug#15220)
5853
5854 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5855
5856 * textmodes/css-mode.el: Use SMIE.
5857 (css-smie-grammar): New var.
5858 (css-smie--forward-token, css-smie--backward-token)
5859 (css-smie-rules): New functions.
5860 (css-mode): Use them.
5861 (css-navigation-syntax-table): Remove var.
5862 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5863 (css-indent-calculate, css-indent-line): Remove functions.
5864
5865 Misc changes to reduce use of `(lambda...); and other cleanups.
5866 * cus-edit.el: Use lexical-binding.
5867 (customize-push-and-save, customize-apropos)
5868 (custom-buffer-create-internal): Use closures.
5869 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5870 * progmodes/ada-xref.el: Use setq.
5871 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5872 * dframe.el: Use lexical-binding.
5873 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5874 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5875 * descr-text.el: Use lexical-binding.
5876 (describe-text-widget, describe-text-sexp, describe-property-list):
5877 Use closures.
5878 * comint.el (comint-history-isearch-push-state): Use a closure.
5879 * calculator.el: Use lexical-binding.
5880 (calculator-number-to-string): Make it work with lexical-binding.
5881 (calculator-funcall): Same and use cl-letf.
5882
5883 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5884 (lisp--company-doc-string, lisp--company-location): New functions.
5885 (lisp-completion-at-point): Use them to improve Company support.
5886
5887 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5888 params of lambda expressions.
5889 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5890 (ruby-smie--opening-pipe-p): New function.
5891 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5892 symbols and matched |...| for formal params.
5893 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5894 from being treated as hanging. Handle "rescue".
5895
5896 2013-08-29 Glenn Morris <rgm@gnu.org>
5897
5898 * progmodes/cc-engine.el (c-pull-open-brace):
5899 Move definition before use.
5900
5901 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5902
5903 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5904 are immutable. Don't use `unsafe' any more.
5905 (cl--defsubst-expand): Don't substitute at the same time as keeping
5906 a residual unused let-binding. Don't use `unsafe' any more.
5907
5908 2013-08-29 Glenn Morris <rgm@gnu.org>
5909
5910 * calendar/cal-china.el (calendar-chinese-year-cache):
5911 Recenter on 2015.
5912
5913 * nxml/nxml-util.el (nxml-debug-clear-inside):
5914 Use cl-loop rather than loop.
5915
5916 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5917
5918 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5919
5920 2013-08-28 Glenn Morris <rgm@gnu.org>
5921
5922 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5923
5924 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5925
5926 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5927
5928 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5929
5930 * simple.el (repeat-complex-command--called-interactively-skip):
5931 New function.
5932 (repeat-complex-command): Use it (bug#14136).
5933
5934 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5935 (c-define-abbrev-table): Add `doc' argument.
5936 (c-mode-abbrev-table, c++-mode-abbrev-table)
5937 (objc-mode-abbrev-table, java-mode-abbrev-table)
5938 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5939 (awk-mode-abbrev-table): Use it.
5940 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5941 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5942 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5943 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5944 Move initialization into the declaration; and remove any
5945 autoload cookie.
5946
5947 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5948 and dynamic let binding.
5949
5950 * vc/smerge-mode.el: Remove redundant :group args.
5951
5952 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5953 to load-path.
5954
5955 2013-08-28 Juri Linkov <juri@jurta.org>
5956
5957 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5958 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5959 (isearch-other-meta-char): Handle an undefined shifted printing
5960 character by downshifting it. (Bug#15200)
5961
5962 2013-08-28 Juri Linkov <juri@jurta.org>
5963
5964 * isearch.el (isearch-search): Change regexp error message for
5965 non-regexp searches. (Bug#15166)
5966
5967 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5968
5969 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5970 for portability to hosts where /bin/sh has problems.
5971
5972 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5973
5974 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5975
5976 2013-08-27 Juri Linkov <juri@jurta.org>
5977
5978 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5979 in the keyboard macro. (Bug#15126)
5980
5981 2013-08-27 Juri Linkov <juri@jurta.org>
5982
5983 * isearch.el (isearch-quote-char): Comment out converting unibyte
5984 to multibyte, thus syncing with its `quoted-insert' counterpart.
5985 (Bug#15166)
5986
5987 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5988
5989 * window.el (display-buffer-use-some-window): Add missing
5990 argument in call of get-largest-window (Bug#15185).
5991 Reported by Stephen Leake.
5992
5993 2013-08-27 Glenn Morris <rgm@gnu.org>
5994
5995 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5996
5997 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5998
5999 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6000 from a matcher-function unless there's no more matches (bug#15161).
6001
6002 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6003
6004 * minibuffer.el: Revert change from 2013-08-20.
6005
6006 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6007 with text property `tramp-default', if appropriate.
6008 (tramp-check-proper-host): New defun.
6009 (tramp-dissect-file-name): Do not check hostname. Revert change
6010 of 2013-03-18.
6011 (tramp-backtrace): Make VEC-OR-PROC optional.
6012
6013 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6014 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6015 * net/tramp-sh.el (tramp-maybe-open-connection):
6016 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6017 Apply `tramp-check-proper-host'.
6018
6019 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6020
6021 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6022 lambda expression in order to have `describe-variable' display it.
6023
6024 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6025
6026 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6027 BUF can be optional. (Bug#15186)
6028
6029 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6030
6031 * progmodes/flymake.el (flymake-get-real-file-name-function):
6032 Fix broken customization. (Bug#15184)
6033
6034 2013-08-25 Alan Mackenzie <acm@muc.de>
6035
6036 Improve indentation of bracelists defined by macros (without "=").
6037
6038 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6039 expansion begins with "{", regard it as bracelist when it doesn't
6040 contain a ";".
6041
6042 Parse C++ inher-intro when there's a template split over 2 lines.
6043
6044 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6045 rigorously the search for "class" etc. followed by ":".
6046
6047 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6048 random languages a regexp which never matches rather than nil.
6049
6050 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6051
6052 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6053 (c-awk-regexp-one-line-possibly-open-char-list-re)
6054 (c-awk-one-line-possibly-open-regexp-re)
6055 (c-awk-one-line-non-syn-ws*-re): Remove.
6056 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6057 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6058 (c-awk-space*-unclosed-regexp-/-re): New constants.
6059 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6060 aren't regexp delimiters.
6061
6062 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6063 handling for a rare situation in AWK Mode involving unterminated
6064 strings/regexps.
6065
6066 2013-08-23 Glenn Morris <rgm@gnu.org>
6067
6068 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6069
6070 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6071
6072 * files.el (create-file-buffer): If the result would begin with
6073 spaces, prepend a "|" instead of removing them. (Bug#15162)
6074
6075 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6076
6077 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6078 text-properties (bug#15155).
6079
6080 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6081 exist any more.
6082 (calc-keypad-redraw): Remove unused var `pad'.
6083 (calc-keypad-press): Remove unused var `menu'.
6084
6085 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6086
6087 * window.el (display-buffer-pop-up-frame):
6088 Call pop-up-frame-function with BUFFER current so `make-frame' will
6089 use it as the new frame's buffer (Bug#15133).
6090
6091 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6092
6093 * calendar/timeclock.el: Minor cleanups.
6094 (timeclock-ask-before-exiting, timeclock-use-display-time):
6095 Use `symbol'.
6096 (timeclock-modeline-display): Define as alias before the
6097 actual definition.
6098 (timeclock-mode-line-display): Use define-minor-mode.
6099 (timeclock-day-list-template): Make it a function, add an argument.
6100 (timeclock-day-list-required, timeclock-day-list-length)
6101 (timeclock-day-list-debt, timeclock-day-list-span)
6102 (timeclock-day-list-break): Adjust calls accordingly.
6103
6104 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6105
6106 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6107 Use read--expression so that completion works again.
6108
6109 2013-08-21 Sam Steingold <sds@gnu.org>
6110
6111 Add rudimentary inferior shell interaction
6112 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6113 (sh-set-shell): Reset it.
6114 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6115 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6116
6117 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6118
6119 * align.el: Use lexical-binding.
6120 (align-region): Simplify accordingly.
6121
6122 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6123
6124 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6125
6126 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6127 `non-essential' up.
6128
6129 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6130
6131 * net/tramp.el:
6132 * net/tramp-adb.el:
6133 * net/tramp-cmds.el:
6134 * net/tramp-ftp.el:
6135 * net/tramp-gvfs.el:
6136 * net/tramp-gw.el:
6137 * net/tramp-sh.el: Don't wrap external variable declarations by
6138 `eval-when-compile'.
6139
6140 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6141
6142 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6143 now that Emacs supports ImageMagick animations.
6144
6145 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6146
6147 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6148 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6149
6150 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6151
6152 * window.el (mouse-autoselect-window-select): Do autoselect when
6153 mouse pointer is on margin.
6154
6155 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6156
6157 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6158
6159 2013-08-16 Glenn Morris <rgm@gnu.org>
6160
6161 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6162 Handle "Remote Directory" response of some clients. (Bug#15058)
6163
6164 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6165 Tweak warning. (Bug#14926)
6166
6167 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6168 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6169
6170 * image-mode.el (image-mode-map): Add menu items to reverse,
6171 increase, decrease, reset animation speed.
6172 (image--set-speed, image-increase-speed, image-decrease-speed)
6173 (image-reverse-speed, image-reset-speed): New functions.
6174 (image-mode-map): Add bindings for speed commands.
6175
6176 * image.el (image-animate-get-speed, image-animate-set-speed):
6177 New functions.
6178 (image-animate-timeout): Respect image :speed property.
6179
6180 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6181
6182 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6183 previous line (bug#15101).
6184 (debugger-eval-expression, debugger-record-expression):
6185 Use read--expression (bug#15102).
6186
6187 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6188
6189 Remove byte compiler warnings, visible when compiling with
6190 `byte-compile-force-lexical-warnings' set to t.
6191
6192 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6193 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6194 (tramp-handle-unhandled-file-name-directory)
6195 (tramp-handle-file-notify-add-watch, tramp-action-login)
6196 (tramp-action-succeed, tramp-action-permission-denied)
6197 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6198 arguments with "_".
6199
6200 * net/tramp-adb.el (tramp-adb-parse-device-names)
6201 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6202 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6203 (tramp-adb-handle-file-truename): Remove unused arguments.
6204
6205 * net/tramp-cache.el (tramp-flush-directory-property)
6206 (tramp-flush-connection-property, tramp-list-connections)
6207 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6208
6209 * net/tramp-compat.el (tramp-compat-make-temp-file):
6210 Rename FILENAME to F.
6211
6212 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6213 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6214 (tramp-zeroconf-parse-workstation-device-names)
6215 (tramp-zeroconf-parse-webdav-device-names)
6216 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6217
6218 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6219 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6220
6221 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6222 arguments.
6223 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6224 (tramp-sh-handle-insert-file-contents-literally)
6225 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6226 with "_".
6227 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6228 Remove unused variables.
6229
6230 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6231 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6232 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6233
6234 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6235 Make them a defconst.
6236 (tramp-uuencode-region): Remove unused variable.
6237
6238 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6239
6240 * frameset.el (frameset--prop-setter): New function.
6241 (frameset-prop): Add gv-setter declaration.
6242 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6243 parameter was already set in FILTERED. Doc fix.
6244 (frameset--record-minibuffer-relationships): Allow saving a
6245 minibufferless frame without its corresponding minibuffer frame.
6246 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6247 frame, if the frame id matches.
6248 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6249 frames before orphaned ones.
6250 (frameset-restore): Warn about orphaned windows, instead of error out.
6251
6252 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6253
6254 * window.el (window-make-atom): Don't overwrite parameter
6255 already present.
6256 (display-buffer-in-atom-window): Handle special case where we
6257 split an already atomic window.
6258 (window--major-non-side-window, display-buffer-in-side-window)
6259 (window--side-check): Ignore minibuffer window when walking
6260 window tree.
6261 (window-deletable-p): Return 'frame only if no other frame uses
6262 our minibuffer window.
6263 (record-window-buffer): Run buffer-list-update-hook.
6264 (split-window): Make sure window--check-frame won't destroy an
6265 existing atomic window in case the new window gets nested
6266 inside.
6267 (display-buffer-at-bottom): Ignore minibuffer window when
6268 walking window tree. Don't split a side window.
6269 (pop-to-buffer): Don't set-buffer here, the select-window call
6270 should do that.
6271 (mouse-autoselect-window-select): Autoselect only if we are in the
6272 text portion of the window.
6273
6274 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6275
6276 * net/shr.el (shr-parse-image-data): New function to grab both the
6277 data itself and the Content-Type.
6278 (shr-put-image): Use it.
6279
6280 * net/eww.el (eww-display-image): Ditto.
6281
6282 * image.el (image-content-type-suffixes): New variable.
6283
6284 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6285
6286 * progmodes/python.el (python-imenu--build-tree)
6287 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6288
6289 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6290
6291 * simple.el (backward-word): Mention the optional argument.
6292
6293 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6294
6295 * frameset.el (frameset--make): Rename constructor from make-frameset.
6296 (frameset-p, frameset-valid-p): Don't autoload.
6297 (frameset-valid-p): Use normal accessors.
6298
6299 2013-08-13 Glenn Morris <rgm@gnu.org>
6300
6301 * progmodes/compile.el (compile-command): Tweak example in doc.
6302 * obsolete/scribe.el (scribe-mode):
6303 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6304
6305 * mail/feedmail.el (feedmail-confirm-outgoing)
6306 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6307
6308 * cus-start.el (truncate-partial-width-windows): Fix type.
6309
6310 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6311
6312 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6313
6314 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6315
6316 * emacs-lisp/timer.el (timer--time-setter): New function.
6317 (timer--time): Use it as gv-setter.
6318
6319 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6320 setter is not a symbol.
6321
6322 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6323
6324 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6325 if sending fails. This makes debugging easier.
6326
6327 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6328
6329 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6330 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6331 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6332
6333 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6334
6335 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6336
6337 2013-08-12 Glenn Morris <rgm@gnu.org>
6338
6339 * format.el (format-annotate-function):
6340 Handle read-only text properties in the source. (Bug#14887)
6341
6342 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6343
6344 * net/eww.el (eww-display-html): Ignore coding system errors.
6345 One web site uses "utf-8lias" as the coding system.
6346
6347 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6348
6349 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6350
6351 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6352
6353 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6354 (tutorial--detailed-help): Remove unused local variables.
6355 (tutorial--save-tutorial-to): Use ignore-errors.
6356 (help-with-tutorial): Use looking-at-p.
6357
6358 * view.el (view-buffer-other-window, view-buffer-other-frame):
6359 Mark unused arguments.
6360
6361 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6362 (woman-select-symbol-fonts, woman, woman-find-file)
6363 (woman-insert-file-contents, woman-non-underline-faces):
6364 Use string-match-p.
6365 (woman1-unquote): Move declaration.
6366
6367 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6368 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6369 argument. Remove unused local variable.
6370 (xml-parse-elem-type): Use string-match-p.
6371 (xml-substitute-numeric-entities): Use ignore-errors.
6372
6373 * calculator.el (calculator): Mark unused argument.
6374 (calculator-paste, calculator-quit, calculator-integer-p):
6375 Use ignore-errors.
6376 (calculator-string-to-number, calculator-decimal, calculator-exp)
6377 (calculator-op-or-exp): Use string-match-p.
6378
6379 * dired.el (dired-buffer-more-recently-used-p): Declare.
6380 (dired-insert-set-properties, dired-insert-old-subdirs):
6381 Use ignore-errors.
6382
6383 * dired-aux.el (dired-compress): Use ignore-errors.
6384 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6385 (dired-do-async-shell-command, dired-do-shell-command)
6386 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6387 (dired-insert-subdir-validate): Use string-match-p.
6388 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6389 (dired-add-entry): Use string-match-p, looking-at-p.
6390 (dired-insert-subdir-newpos): Remove unused local variable.
6391
6392 * filenotify.el (file-notify-callback): Remove unused local variable.
6393
6394 * filesets.el (filesets-error): Mark unused argument.
6395 (filesets-which-command-p, filesets-filter-dir-names)
6396 (filesets-directory-files, filesets-get-external-viewer)
6397 (filesets-ingroup-get-data): Use string-match-p.
6398
6399 * find-file.el (ff-other-file-name, ff-other-file-name)
6400 (ff-find-the-other-file, ff-cc-hh-converter):
6401 Remove unused local variables.
6402 (ff-get-file-name): Use string-match-p.
6403 (ff-all-dirs-under): Use ignore-errors.
6404
6405 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6406 (follow-select-if-visible): Remove unused local variable.
6407
6408 * forms.el (read-file-filter): Move declaration.
6409 (forms--make-format, forms--make-parser, forms-insert-record):
6410 Quote function with #'.
6411 (forms--update): Use string-match-p. Quote function with #'.
6412
6413 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6414 (help-make-xrefs): Use looking-at-p.
6415 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6416
6417 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6418 (ibuffer-confirm-operation-on): Use string-match-p.
6419
6420 * msb.el (msb-item-handler, msb-dired-item-handler):
6421 Mark unused arguments.
6422
6423 * ses.el (ses-decode-cell-symbol)
6424 (ses-kill-override): Remove unused local variable.
6425 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6426 (ses-load): Use ignore-errors, looking-at-p.
6427 (ses-jump-safe): Use ignore-errors.
6428 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6429
6430 * tabify.el (untabify, tabify): Mark unused arguments.
6431
6432 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6433 Mark unused argument.
6434 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6435 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6436
6437 * emacs-lisp/timer.el (timer--time): Define setter with
6438 gv-define-setter to avoid deprecation warning.
6439
6440 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6441 (*record-cmpl-statistics-p*): Remove (was commented out).
6442 (cmpl-statistics-block): Remove (body was commented out).
6443 All callers changed.
6444 (add-completions-from-buffer, load-completions-from-file):
6445 Remove unused variables.
6446
6447 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6448
6449 * filecache.el (file-cache-delete-file-list):
6450 Print message only when told so.
6451 (file-cache-files-matching): Use #' in mapconcat argument.
6452
6453 * ffap.el (ffap-url-at-point): Fix reference to variable
6454 thing-at-point-default-mail-uri-scheme.
6455
6456 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6457
6458 * subr.el (define-error): New function.
6459 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6460 error-file-not-found and define with define-error.
6461 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6462 and define with define-error.
6463 * userlock.el (file-locked, file-supersession):
6464 * simple.el (mark-inactive):
6465 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6466 * progmodes/ada-mode.el (ada-mode-errors):
6467 * play/life.el (life-extinct):
6468 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6469 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6470 * nxml/rng-util.el (rng-error):
6471 * nxml/rng-uri.el (rng-uri-error):
6472 * nxml/rng-match.el (rng-compile-error):
6473 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6474 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6475 * nxml/nxml-rap.el (nxml-scan-error):
6476 * nxml/nxml-outln.el (nxml-outline-error):
6477 * net/soap-client.el (soap-error):
6478 * net/gnutls.el (gnutls-error):
6479 * net/ange-ftp.el (ftp-error):
6480 * mpc.el (mpc-proc-error):
6481 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6482 (json-number-format, json-string-escape, json-string-format)
6483 (json-key-format, json-object-format):
6484 * jka-compr.el (compression-error):
6485 * international/quail.el (quail-error):
6486 * international/kkc.el (kkc-error):
6487 * emacs-lisp/ert.el (ert-test-failed):
6488 * calc/calc.el (calc-error, inexact-result, math-overflow)
6489 (math-underflow):
6490 * bookmark.el (bookmark-error-no-filename):
6491 * epg.el (epg-error): Define with define-error.
6492
6493 * time.el (display-time-event-handler)
6494 (display-time-next-load-average): Don't call sit-for since it seems
6495 unnecessary (bug#15045).
6496
6497 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6498 Use #' instead of ' to quote functions.
6499 (checkdoc-output-mode): Use setq-local.
6500 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6501 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6502 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6503 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6504 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6505 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6506 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6507 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6508
6509 * ido.el (ido-completion-help): Fix up compiler warning.
6510
6511 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6512
6513 * frameset.el (frameset-p): Add autoload cookie.
6514 (frameset--jump-to-register): New function, based on code moved from
6515 register.el.
6516 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6517
6518 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6519 (frameset-restore, frameset-save, frameset-session-filter-alist):
6520 Remove declarations.
6521 (register-alist): Doc fix.
6522 (frameset-to-register): Move to frameset.el.
6523 (jump-to-register, describe-register-1): Remove frameset-specific code.
6524
6525 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6526
6527 * allout-widgets.el (allout-widgets-pre-command-business)
6528 (allout-widgets-post-command-business)
6529 (allout-widgets-after-change-handler)
6530 (allout-decorate-item-and-context, allout-set-boundary-marker)
6531 (allout-body-modification-handler)
6532 (allout-graphics-modification-handler): Mark ignored arguments.
6533 (allout-widgets-post-command-business)
6534 (allout-widgets-exposure-change-processor)
6535 (allout-widgets-exposure-undo-processor)
6536 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6537 (allout-parse-item-at-point, allout-decorate-item-guides)
6538 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6539 * allout.el (epa-passphrase-callback-function): Declare.
6540 (allout-overlay-insert-in-front-handler)
6541 (allout-overlay-interior-modification-handler)
6542 (allout-isearch-end-handler, allout-chart-siblings)
6543 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6544 (allout-yank-processing, allout-process-exposed)
6545 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6546 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6547 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6548 (lisp-indent-defform): Mark ignored arguments.
6549 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6550 (calculate-lisp-indent): Remove unused variables.
6551 * international/characters.el (indian-2-column, arabic-2-column)
6552 (tibetan): Mark ignored arguments.
6553 (use-cjk-char-width-table): Mark ignored arguments.
6554 Remove unused variables.
6555 * international/fontset.el (build-default-fontset-data)
6556 (x-compose-font-name, create-fontset-from-fontset-spec):
6557 Mark ignored arguments.
6558 (fontset-plain-name): Remove unused variables.
6559 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6560 (keyboard-coding-system): Mark ignored arguments.
6561 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6562 * help.el (resize-temp-buffer-window):
6563 * window.el (display-buffer-in-major-side-window)
6564 (display-buffer-in-side-window, display-buffer-in-previous-window):
6565 Remove unused variables.
6566 * isearch.el (isearch-forward-symbol):
6567 * version.el (emacs-bzr-version-bzr):
6568 * international/mule-cmds.el (current-language-environment):
6569 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6570 (x-handle-display):
6571 * term/pc-win.el (x-list-fonts, x-display-planes)
6572 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6573 (x-server-version, x-display-screens, x-display-mm-height)
6574 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6575 (x-selection-owner-p, x-own-selection-internal)
6576 (x-disown-selection-internal, x-get-selection-internal)
6577 (msdos-initialize-window-system):
6578 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6579 * term/x-win.el (x-handle-no-bitmap-icon):
6580 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6581 (vc-default-find-file-hook, vc-default-extra-menu):
6582 Mark ignored arguments.
6583
6584 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6585
6586 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6587 break-condition in the context of the debugged code (bug#12685).
6588
6589 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6590
6591 * comint.el:
6592 Do not use an overlay to highlight the last prompt. (Bug#14744)
6593 (comint-mode): Make comint-last-prompt buffer local.
6594 (comint-last-prompt): New variable.
6595 (comint-last-prompt-overlay): Remove. Superseded by
6596 comint-last-prompt.
6597 (comint-snapshot-last-prompt, comint-output-filter):
6598 Use comint-last-prompt.
6599
6600 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6601
6602 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6603 (frameset-save): Check validity of the resulting frameset.
6604
6605 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6606
6607 * ido.el (ido-record-command): Add doc string.
6608
6609 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6610
6611 * frameset.el (frameset): Do not disable creation of the default
6612 frameset-p predicate. Doc fix.
6613 (frameset-valid-p): New function, copied from the old predicate-p.
6614 Add additional checks.
6615 (frameset-restore): Check with frameset-valid-p.
6616 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6617 (frameset-name, frameset-description, frameset-properties)
6618 (frameset-states): Add docstring.
6619 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6620 (frameset-filter-alist): Doc fixes.
6621
6622 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6623
6624 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6625
6626 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6627
6628 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6629 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6630 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6631 (byte-compile-normal-call): Remove obsolescence check.
6632
6633 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6634
6635 * frameset.el (frameset-restore): Doc fix.
6636
6637 * register.el (frameset-frame-id, frameset-frame-with-id)
6638 (frameset-p, frameset-restore, frameset-save): Declare.
6639 (register-alist): Document framesets.
6640 (frameset-session-filter-alist): Declare.
6641 (frameset-to-register): New function.
6642 (jump-to-register): Implement jumping to framesets. Doc fix.
6643 (describe-register-1): Describe framesets.
6644
6645 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6646
6647 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6648
6649 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6650 Use lexical-binding.
6651
6652 * frameset.el (frameset): Use type vector, not list (incompatible
6653 change). Do not declare a new constructor, use the default one.
6654 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6655 `name' and `description', respectively, and add read-only slot
6656 `timestamp'. Doc fixes.
6657 (frameset-copy, frameset-persistent-filter-alist)
6658 (frameset-filter-alist, frameset-switch-to-gui-p)
6659 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6660 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6661 (frameset-filter-iconified, frameset-keep-original-display-p):
6662 Doc fixes.
6663 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6664 Rename from frameset-filter-(save|restore)-param. All callers changed.
6665 Doc fix.
6666 (frameset-p): Adapt to change to vector and be more thorough.
6667 Change arg name to OBJECT. Doc fix.
6668 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6669 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6670 All callers changed.
6671 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6672 All callers changed.
6673 (frameset--record-minibuffer-relationships): Rename from
6674 frameset--process-minibuffer-frames. All callers changed.
6675 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6676 Use new default constructor (again). Doc fix.
6677 (frameset--find-frame-if): Rename from `frameset--find-frame.
6678 All callers changed.
6679 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6680 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6681 Doc fix.
6682 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6683 PARAMETERS and WINDOW-STATE, respectively.
6684 (frameset-restore): Add new keyword argument PREDICATE.
6685 Reset frameset--target-display to nil. Doc fix.
6686
6687 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6688
6689 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6690 (bat-mode): Use it.
6691 (bat-mode-syntax-table): Mark \n as end-of-comment.
6692 (bat-font-lock-keywords): Remove comment rule.
6693
6694 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6695 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6696
6697 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6698 (byte-compile-callargs-warn): Use `push'.
6699 (byte-compile-arglist-warn): Ignore higher-order "calls".
6700 (byte-compile-file-form-autoload): Use `pcase'.
6701 (byte-compile-function-form): If quoting a symbol, check that it exists.
6702
6703 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6704
6705 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6706 and add a few popular commands found in batch files.
6707 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6708 (dos-mode): Doc fixes.
6709
6710 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6711
6712 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6713 (dos-mode): Use setq-local. Add space after "rem".
6714 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6715 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6716
6717 2013-08-07 Arni Magnusson <arnima@hafro.is>
6718
6719 * progmodes/dos.el: New file.
6720 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6721 dos-mode.
6722
6723 2013-08-06 Glenn Morris <rgm@gnu.org>
6724
6725 * calendar/calendar.el: Add new faces, and day-header-array.
6726 (calendar-weekday-header, calendar-weekend-header)
6727 (calendar-month-header): New faces.
6728 (calendar-day-header-construct): New function.
6729 (calendar-day-header-width): Also :set calendar-day-header-array.
6730 (calendar-american-month-header, calendar-european-month-header)
6731 (calendar-iso-month-header): Use calendar- faces.
6732 (calendar-generate-month):
6733 Use calendar-day-header-array for day headers; apply faces to them.
6734 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6735 (calendar-abbrev-construct): Add optional maxlen argument.
6736 (calendar-day-name-array): Doc fix.
6737 (calendar-day-name-array, calendar-abbrev-length)
6738 (calendar-day-abbrev-array):
6739 Also :set calendar-day-header-array, and maybe redraw.
6740 (calendar-day-header-array): New option. (Bug#15007)
6741 (calendar-font-lock-keywords): Set to nil and make obsolete.
6742 (calendar-day-name): Add option to use header array.
6743
6744 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6745
6746 * net/shr.el (shr-render-td): Remove debugging.
6747 (shr-render-td): Make width computation consistent by defaulting
6748 all zero-width columns to 10 characters. This may not be optimal,
6749 but it's at least consistent.
6750 (shr-make-table-1): Redo last change to fix the real problem in
6751 colspan handling.
6752
6753 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6754
6755 * files.el (cache-long-line-scans):
6756 Make obsolete alias to `cache-long-scans'.
6757
6758 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6759
6760 * frameset.el (frameset, frameset-filter-alist)
6761 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6762 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6763 (frameset-compute-pos): Rename from frameset--compute-pos,
6764 and add docstring.
6765 (frameset-move-onscreen): Use frameset-compute-pos.
6766 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6767
6768 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6769 Fix typos in docstrings.
6770
6771 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6772
6773 * frame.el (get-other-frame): Tiny cleanup.
6774
6775 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6776
6777 * vc/vc.el (vc-default-ignore-completion-table):
6778 Silence byte-compiler warning.
6779
6780 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6781 slot, which can indeed be nil.
6782 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6783 Move entry for `left' from persistent to live filter alist.
6784 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6785 Doc fixes.
6786 (frameset-filter-params): When restoring a frame, copy items added to
6787 `filtered', to avoid unwittingly modifying the original parameters.
6788 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6789 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6790
6791 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6792 to use looking-at-p instead of looking-at. (Bug#15028)
6793
6794 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6795
6796 Revert introduction of isearch-filter-predicates (bug#14714).
6797 Rely on add-function instead.
6798 * isearch.el (isearch-filter-predicates): Rename it back to
6799 isearch-filter-predicate.
6800 (isearch-message-prefix): Use advice-function-mapc and advice
6801 properties to get the isearch-message-prefix.
6802 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6803 instead of run-hook-with-args-until-failure.
6804 (isearch-filter-visible): Not obsolete any more.
6805 * loadup.el: Preload nadvice.
6806 * replace.el (perform-replace): Revert to funcall
6807 instead of run-hook-with-args-until-failure.
6808 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6809 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6810 dired-isearch-filenames-toggle; make it into a proper minor mode.
6811 Use add/remove-function.
6812 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6813 Call the minor-mode rather than add/remove-hook.
6814 (dired-isearch-filter-filenames):
6815 Remove isearch-message-prefix property.
6816 * info.el (Info--search-loop): New function, extracted from Info-search.
6817 Funcall isearch-filter-predicate instead of
6818 run-hook-with-args-until-failure isearch-filter-predicates.
6819 (Info-search): Use it.
6820 (Info-mode): Use isearch-filter-predicate instead of
6821 isearch-filter-predicates.
6822
6823 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6824
6825 Do not call to `selected-window' where it is assumed by default.
6826 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6827 `window-hscroll', `window-width', `window-height', `window-buffer',
6828 `window-frame', `window-start', `window-point', `next-window'
6829 and `window-display-table'.
6830 * abbrev.el (abbrev--default-expand):
6831 * bs.el (bs--show-with-configuration):
6832 * buff-menu.el (Buffer-menu-mouse-select):
6833 * calc/calc.el (calc):
6834 * calendar/calendar.el (calendar-generate-window):
6835 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6836 (diary-make-entry):
6837 * comint.el (send-invisible, comint-dynamic-complete-filename)
6838 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6839 * completion.el (complete):
6840 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6841 * disp-table.el (describe-current-display-table):
6842 * doc-view.el (doc-view-insert-image):
6843 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6844 * ehelp.el (with-electric-help):
6845 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6846 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6847 * emacs-lisp/helper.el (Helper-help-scroller):
6848 * emulation/cua-base.el (cua--post-command-handler-1):
6849 * eshell/esh-mode.el (eshell-output-filter):
6850 * ffap.el (ffap-gnus-wrapper):
6851 * help-macro.el (make-help-screen):
6852 * hilit-chg.el (highlight-compare-buffers):
6853 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6854 * hl-line.el (global-hl-line-highlight):
6855 * icomplete.el (icomplete-simple-completing-p):
6856 * isearch.el (isearch-done):
6857 * jit-lock.el (jit-lock-stealth-fontify):
6858 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6859 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6860 * mpc.el (mpc-tagbrowser, mpc):
6861 * net/rcirc.el (rcirc-any-buffer):
6862 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6863 * play/landmark.el (landmark-max-width, landmark-max-height):
6864 * play/zone.el (zone):
6865 * progmodes/compile.el (compilation-goto-locus):
6866 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6867 * progmodes/etags.el (find-tag-other-window):
6868 * progmodes/fortran.el (fortran-column-ruler):
6869 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6870 * progmodes/verilog-mode.el (verilog-point-text):
6871 * reposition.el (reposition-window):
6872 * rot13.el (toggle-rot13-mode):
6873 * server.el (server-switch-buffer):
6874 * shell.el (shell-dynamic-complete-command)
6875 (shell-dynamic-complete-environment-variable):
6876 * simple.el (insert-buffer, set-selective-display)
6877 (delete-completion-window):
6878 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6879 (speedbar-recenter):
6880 * startup.el (fancy-splash-head):
6881 * textmodes/ispell.el (ispell-command-loop):
6882 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6883 * tutorial.el (help-with-tutorial):
6884 * vc/add-log.el (add-change-log-entry):
6885 * vc/compare-w.el (compare-windows):
6886 * vc/ediff-help.el (ediff-indent-help-message):
6887 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6888 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6889 (ediff-setup-control-frame):
6890 * vc/emerge.el (emerge-position-region):
6891 * vc/pcvs-util.el (cvs-bury-buffer):
6892 * window.el (walk-windows, mouse-autoselect-window-select):
6893 * winner.el (winner-set-conf, winner-undo): Related users changed.
6894
6895 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6896
6897 * frameset.el (frameset--set-id): Doc fix.
6898 (frameset-frame-id, frameset-frame-id-equal-p)
6899 (frameset-locate-frame-id): New functions.
6900 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6901 (frameset-restore): Use them.
6902
6903 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6904
6905 Do not call to `selected-frame' where it is assumed by default.
6906 Affected functions are `raise-frame', `redraw-frame',
6907 `frame-first-window', `frame-terminal' and `delete-frame'.
6908 * calendar/appt.el (appt-disp-window):
6909 * epg.el (epg-wait-for-completion):
6910 * follow.el (follow-delete-other-windows-and-split)
6911 (follow-avoid-tail-recenter):
6912 * international/mule.el (set-terminal-coding-system):
6913 * mail/rmail.el (rmail-mail-return):
6914 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6915 * progmodes/f90.el (f90-add-imenu-menu):
6916 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6917 * server.el (server-switch-buffer):
6918 * simple.el (delete-completion-window):
6919 * talk.el (talk):
6920 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6921 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6922 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6923 * vc/ediff.el (ediff-documentation): Related users changed.
6924 * frame.el (selected-terminal): Remove the leftover.
6925
6926 2013-08-05 Glenn Morris <rgm@gnu.org>
6927
6928 * calendar/calendar.el (calendar-generate-month):
6929 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6930 (calendar-generate-month, calendar-font-lock-keywords):
6931 Fix for calendar-day-header-width > length of any day name.
6932
6933 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6934
6935 * desktop.el (desktop-clear): Use new name of sort predicate.
6936
6937 * frameset.el (frameset): Add docstring. Move :version property to its
6938 own `version' slot.
6939 (frameset-copy): Rename from copy-frameset.
6940 (frameset-p): Check more thoroughly.
6941 (frameset-prop): Do not check for :version, which is no longer a prop.
6942 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6943 Use new :never value instead of t.
6944 (frameset-filter-alist): Expand and clarify docstring.
6945 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6946 (frameset-filter-minibuffer, frameset-filter-save-param)
6947 (frameset-filter-restore-param, frameset-filter-iconified):
6948 Add pointer to docstring of frameset-filter-alist.
6949 (frameset-filter-params): Rename filter values to be more meaningful:
6950 :never instead of t, and reverse the meanings of :save and :restore.
6951 (frameset--process-minibuffer-frames): Clarify error message.
6952 (frameset-save): Avoid unnecessary and confusing call to framep.
6953 Use new BOA constructor for framesets.
6954 (frameset--reuse-list): Doc fix.
6955 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6956 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6957 (frameset-minibufferless-first-p): Doc fix.
6958 Rename from frameset-sort-frames-for-deletion.
6959 (frameset-restore): Doc fixes. Use new function names.
6960 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6961
6962 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6963
6964 * desktop.el (desktop-restore-forces-onscreen)
6965 (desktop-restore-reuses-frames): Document :keyword constant values.
6966 (desktop-filter-parameters-alist): Remove, now identical to
6967 frameset-filter-alist.
6968 (desktop--filter-tty*): Remove, moved to frameset.el.
6969 (desktop-save-frameset, desktop-restore-frameset):
6970 Do not pass :filters argument.
6971
6972 * frameset.el (frameset-live-filter-alist)
6973 (frameset-persistent-filter-alist): New variables.
6974 (frameset-filter-alist): Use them. Add autoload cookie.
6975 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6976 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6977 `frameset--id' (it's supposed to be internal to frameset.el).
6978 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6979 (frameset--initial-params): New function.
6980 (frameset--get-frame): Use it. Doc fix.
6981 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6982 Accept :all, not 'all.
6983 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6984 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6985 with fbound symbols. Fix frame id matching, and remove matching ids if
6986 the frame being restored is deleted. Obey :delete.
6987
6988 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6989
6990 * subr.el (macrop): New function.
6991 (text-clone--maintaining): New var.
6992 (text-clone--maintain): Rename from text-clone-maintain. Use it
6993 instead of inhibit-modification-hooks.
6994
6995 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6996 a proxy, so as handle autoloads and redefinitions of the target.
6997 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6998
6999 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7000 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7001 (pcase--mutually-exclusive-p): New function.
7002 (pcase--split-consp): Use it.
7003 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7004 mutually exclusive with the current predicate.
7005
7006 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7007 (edebug-macrop): Remove. Use `macrop' instead.
7008 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7009 (ad-macro-p):
7010 * eshell/esh-cmd.el (eshell-macrop):
7011 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7012
7013 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7014
7015 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7016 (advice-mapc): New function, using it.
7017 (advice-function-member-p): New function.
7018 (advice--normalize): Store the cdr in advice--saved-rewrite since
7019 that's the part that will be changed.
7020 (advice--symbol-function): New function.
7021 (advice-remove): Handle removal before the function is defined.
7022 Adjust to new advice--saved-rewrite.
7023 (advice-member-p): Use advice-function-member-p and
7024 advice--symbol-function.
7025
7026 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7027
7028 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7029 (frameset-filter-minibuffer): Doc fix.
7030 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7031 (frameset--set-id, frameset--process-minibuffer-frames)
7032 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7033 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7034
7035 * desktop.el (desktop-clear): Only delete frames when called
7036 interactively and desktop-restore-frames is non-nil. Doc fix.
7037 (desktop-read): Set desktop-saved-frameset to nil.
7038
7039 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7040
7041 * vc/vc.el (vc-ignore): Rewrite.
7042 (vc-default-ignore-completion-table):
7043 (vc--read-lines):
7044 (vc--add-line, vc--remove-regexp): New functions.
7045
7046 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7047 (vc-svn-ignore-completion-table): New function.
7048
7049 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7050 (vc-hg-ignore-completion-table):
7051 (vc-hg-find-ignore-file): New functions.
7052
7053 * vc/vc-git.el (vc-git-ignore): Rewrite.
7054 (vc-git-ignore-completion-table):
7055 (vc-git-find-ignore-file): New functions.
7056
7057 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7058
7059 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7060 (vc-bzr-ignore-completion-table):
7061 (vc-bzr-find-ignore-file): New functions.
7062
7063 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7064
7065 * frameset.el (frameset-prop): New function and setter.
7066 (frameset-save): Do not modify frame list passed by the caller.
7067
7068 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7069
7070 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7071
7072 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7073
7074 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7075 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7076
7077 * custom.el (custom-initialize-default, custom-initialize-set)
7078 (custom-initialize-reset, custom-initialize-changed): Affect the
7079 toplevel-default-value (bug#6275, bug#14586).
7080 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7081 for bug#6275.
7082
7083 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7084
7085 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7086 Add cl-def* expressions.
7087
7088 * frameset.el (frameset-filter-params): Fix order of arguments.
7089
7090 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7091
7092 Move code related to saving frames to frameset.el.
7093 * desktop.el: Require frameset.
7094 (desktop-restore-frames): Doc fix.
7095 (desktop-restore-reuses-frames): Rename from
7096 desktop-restoring-reuses-frames.
7097 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7098 (desktop-clear): Clear frames too.
7099 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7100 (desktop--filter-tty*, desktop-save, desktop-read):
7101 Use frameset functions.
7102 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7103 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7104 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7105 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7106 (desktop--process-minibuffer-frames, desktop-save-frames)
7107 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7108 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7109 (desktop--sort-states, desktop-restoring-frames-p)
7110 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7111 (desktop-restoring-frameset-p, desktop-restore-frameset)
7112 (desktop--check-dont-save, desktop-save-frameset): New functions.
7113 (desktop--app-id): New constant.
7114 (desktop-first-buffer, desktop-buffer-ok-count)
7115 (desktop-buffer-fail-count): Move before first use.
7116 * frameset.el: New file.
7117
7118 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7119
7120 * files.el: Use lexical-binding.
7121 (dir-locals-read-from-file): Remove unused `err' variable.
7122 (hack-dir-local-variables--warned-coding): New var.
7123 (hack-dir-local-variables): Use it to avoid repeated warnings.
7124 (make-backup-file-name--default-function): New function.
7125 (make-backup-file-name-function): Use it as default.
7126 (buffer-stale--default-function): New function.
7127 (buffer-stale-function): Use it as default.
7128 (revert-buffer-insert-file-contents--default-function): New function.
7129 (revert-buffer-insert-file-contents-function): Use it as default.
7130 (insert-directory): Avoid add-to-list.
7131
7132 * autorevert.el (auto-revert-handler): Simplify.
7133 Use buffer-stale--default-function.
7134
7135 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7136
7137 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7138
7139 * whitespace.el (whitespace-ensure-local-variables): New function.
7140 (whitespace-cleanup-region): Call it.
7141 (whitespace-turn-on): Call it.
7142
7143 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7144
7145 Complete file name handlers.
7146
7147 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7148 (tramp-handle-verify-visited-file-modtime)
7149 (tramp-handle-file-notify-rm-watch): New functions.
7150 (tramp-call-process): Do not bind `default-directory'.
7151
7152 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7153 Order alphabetically.
7154 [access-file, add-name-to-file, dired-call-process]:
7155 [dired-compress-file, file-acl, file-notify-rm-watch]:
7156 [file-ownership-preserved-p, file-selinux-context]:
7157 [make-directory-internal, make-symbolic-link, set-file-acl]:
7158 [set-file-selinux-context, set-visited-file-modtime]:
7159 [verify-visited-file-modtime]: Add handler.
7160 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7161
7162 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7163 [file-notify-add-watch, file-notify-rm-watch]:
7164 [set-file-times, set-visited-file-modtime]:
7165 [verify-visited-file-modtime]: Add handler.
7166 (with-tramp-gvfs-error-message)
7167 (tramp-gvfs-handle-set-visited-file-modtime)
7168 (tramp-gvfs-fuse-file-name): Remove.
7169 (tramp-gvfs-handle-file-notify-add-watch)
7170 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7171 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7172
7173 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7174 Order alphabetically.
7175 [file-notify-rm-watch ]: Use default Tramp handler.
7176 [executable-find]: Remove private handler.
7177 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7178 `default-directory'.
7179 (tramp-sh-handle-executable-find)
7180 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7181 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7182 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7183 Do not use `format' in `tramp-message'.
7184
7185 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7186 [file-notify-rm-watch, set-visited-file-modtime]:
7187 [verify-visited-file-modtime]: Add handler.
7188 (tramp-smb-call-winexe): Do not bind `default-directory'.
7189
7190 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7191
7192 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7193
7194 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7195
7196 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7197 use it.
7198 (log-view-diff-changeset): Same.
7199 (log-view-diff-common): Call backend command `previous-revision'
7200 to find out the previous revision, in both cases. Swap the
7201 variables `to' and `fr', so that `fr' usually refers to the
7202 earlier revision (Bug#14989).
7203
7204 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7205
7206 * ibuf-ext.el (ibuffer-filter-by-filename):
7207 Make it work with dired buffers too.
7208
7209 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7210
7211 * emacs-lisp/re-builder.el (reb-color-display-p):
7212 * files.el (save-buffers-kill-terminal):
7213 * net/browse-url.el (browse-url):
7214 * server.el (server-save-buffers-kill-terminal):
7215 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7216 Prefer nil to selected-frame for the first arg of frame-parameter.
7217
7218 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7219
7220 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7221
7222 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7223
7224 * minibuffer.el (completion--twq-all): Try and preserve each
7225 completion's case choice (bug#14907).
7226
7227 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7228
7229 * net/network-stream.el (open-network-stream): Mention the new
7230 :nogreeting parameter.
7231 (network-stream-open-starttls): Use the :nogreeting parameter
7232 (bug#14938).
7233
7234 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7235
7236 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7237 more natural than popping.
7238
7239 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7240 (shr-urlify): Highlight under mouse.
7241
7242 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7243
7244 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7245
7246 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7247
7248 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7249 buffer for output.
7250
7251 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7252 point-min==1. Fix search string. Fix parentheses missing.
7253
7254 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7255 assume point-min==1. Fix search string. Fix parentheses missing.
7256
7257 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7258
7259 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7260 buffer for output.
7261
7262 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7263
7264 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7265 initial frame is minibuffer-less. (Bug#14841)
7266
7267 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7268
7269 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7270 option.
7271
7272 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7273 (tramp-maybe-open-connection): Use it.
7274
7275 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7276
7277 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7278 minimal set of parameters passed when creating a frame, because
7279 the minibuffer status of a frame cannot be changed later.
7280
7281 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7282
7283 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7284 replace-regexp-in-string and inadvertent omissions in previous change.
7285 (todo-filter-items): Ensure only file names are comma-separated in
7286 name of filtered items buffer.
7287
7288 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7289
7290 * desktop.el: Optionally force offscreen frames back onscreen.
7291 (desktop-restoring-reuses-frames): New option.
7292 (desktop--compute-pos, desktop--move-onscreen): New functions.
7293 (desktop--make-frame): Use desktop--move-onscreen.
7294
7295 2013-07-27 Alan Mackenzie <acm@muc.de>
7296
7297 Fontify a Java generic method as a function.
7298 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7299 value to t.
7300
7301 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7302
7303 * calendar/todo-mode.el: Add command to rename todo files.
7304 (todo-rename-file): New command.
7305 (todo-key-bindings-t): Add key binding for it. Change the
7306 bindings of todo-filter-regexp-items(-multifile) to use `x'
7307 instead of `r', since the latter is better suited to the new
7308 renaming command.
7309
7310 2013-07-27 Alan Mackenzie <acm@muc.de>
7311
7312 Make Java try-with-resources statement parse properly.
7313 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7314 (c-block-stmt-1-2-key): New language constants/variables.
7315 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7316 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7317 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7318 with c-block-stmt-1-2-key.
7319
7320 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7321
7322 * desktop.el (desktop--make-frame): Apply most frame parameters after
7323 creating the frame to force (partially or totally) offscreen frames to
7324 be restored as such.
7325
7326 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7327
7328 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7329 (Bug#14948)
7330
7331 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7332
7333 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7334 `base' arg of backtrace-frame.
7335
7336 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7337
7338 * simple.el (list-processes): Doc fix.
7339
7340 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7341
7342 * desktop.el (desktop--select-frame):
7343 Try harder to reuse existing frames.
7344
7345 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7346
7347 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7348 (edebug-eval): Use backtrace-eval.
7349 (edebug--display, edebug--recursive-edit): Don't let-bind the
7350 edebug-outer-* vars that keep track of variables we locally let-bind.
7351 (edebug-outside-excursion): Don't restore outside values of locally
7352 let-bound vars.
7353 (edebug--display): Use user-error.
7354 (cl-lexical-debug, cl-debug-env): Remove.
7355
7356 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7357
7358 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7359 are restored to be sure that they are visible before deleting any
7360 remaining ones.
7361
7362 2013-07-26 Matthias Meulien <orontee@gmail.com>
7363
7364 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7365 vc-print-root-log. (Bug#14948)
7366
7367 2013-07-26 Richard Stallman <rms@gnu.org>
7368
7369 Add aliases for encrypting mail.
7370 * epa.el (epa-mail-aliases): New option.
7371 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7372 Bind inhibit-read-only so read-only text doesn't ruin everything.
7373 (epa-mail-default-recipients): New subroutine broken out.
7374 Handle epa-mail-aliases.
7375
7376 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7377
7378 Add support for lexical variables to the debugger's `e' command.
7379 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7380 vars, except for debugger-outer-match-data.
7381 (debugger-frame-number): Move check for "on a function call" from
7382 callers into it. Add `skip-base' argument.
7383 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7384 (debugger-env-macro): Only reset the state stored in non-variables,
7385 i.e. current-buffer and match-data.
7386 (debugger-eval-expression): Rewrite using backtrace-eval.
7387 * subr.el (internal--called-interactively-p--get-frame): Remove.
7388 (called-interactively-p):
7389 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7390 `base' arg of backtrace-frame instead.
7391
7392 2013-07-26 Glenn Morris <rgm@gnu.org>
7393
7394 * align.el (align-regexp): Doc fix. (Bug#14857)
7395 (align-region): Explicit error if subexpression missing/does not match.
7396
7397 * simple.el (global-visual-line-mode):
7398 Do not duplicate the mode lighter. (Bug#14858)
7399
7400 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7401
7402 * window.el (display-buffer): In display-buffer bind
7403 split-window-keep-point to t, bug#14829.
7404
7405 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7406
7407 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7408 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7409 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7410 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7411 Change accordingly.
7412 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7413 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7414
7415 2013-07-25 Glenn Morris <rgm@gnu.org>
7416
7417 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7418
7419 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7420
7421 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7422 parameter to modify-frame-parameters if the value has not changed;
7423 this is a workaround for bug#14949.
7424 (desktop--make-frame): On cl-delete-if call, check parameter name,
7425 not full parameter.
7426
7427 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7428
7429 * vc/vc.el (vc-ignore): New function.
7430
7431 * vc/vc-svn.el (vc-svn-ignore): New function.
7432
7433 * vc/vc-hg.el (vc-hg-ignore): New function.
7434
7435 * vc/vc-git.el (vc-git-ignore): New function.
7436
7437 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7438 (vc-dir-ignore): New function.
7439
7440 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7441 (cvs-append-to-ignore): Move here from pcvs.el.
7442
7443 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7444
7445 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7446
7447 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7448
7449 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7450 (desktop-restore-frames): Warn when deleting an existing frame failed.
7451
7452 2013-07-24 Glenn Morris <rgm@gnu.org>
7453
7454 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7455
7456 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7457
7458 * filenotify.el (file-notify-supported-p):
7459 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7460 Remove functions.
7461
7462 * autorevert.el (auto-revert-use-notify):
7463 (auto-revert-notify-add-watch):
7464 * net/tramp.el (tramp-file-name-for-operation):
7465 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7466 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7467 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7468 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7469 Remove `file-notify-supported-p' entry.
7470
7471 2013-07-24 Glenn Morris <rgm@gnu.org>
7472
7473 * printing.el: Replace all uses of deleted ps-windows-system,
7474 ps-lp-system, ps-flatten-list with lpr- versions.
7475
7476 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7477
7478 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7479 checked with memq (bug#14935).
7480
7481 * files.el (revert-buffer-function): Use a non-nil default.
7482 (revert-buffer-preserve-modes): Declare var to
7483 provide access to the `preserve-modes' argument.
7484 (revert-buffer): Let-bind it.
7485 (revert-buffer--default): New function, extracted from revert-buffer.
7486
7487 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7488
7489 * lpr.el: Signal print errors more prominently.
7490 (print-region-function): Don't default to nil.
7491 (lpr-print-region): New function, extracted from print-region-1.
7492 Check lpr's return value and signal an error in case of problem.
7493 (print-region-1): Use it.
7494 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7495 versions instead.
7496 (ps-printer-name): Default to nil.
7497 (ps-printer-name-option): Default to lpr-printer-switch.
7498 (ps-print-region-function): Don't default to nil.
7499 (ps-postscript-code-directory): Simplify default.
7500 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7501 (ps-string-list, ps-eval-switch, ps-flatten-list)
7502 (ps-flatten-list-1): Remove.
7503 (ps-multibyte-buffer): Avoid setq.
7504 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7505 (print-region-function, ps-print-region-function): Don't set them here.
7506
7507 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7508
7509 * ido.el (ido-fractionp):
7510 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7511 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7512 (ido-max-directory-size, ido-max-dir-file-cache)
7513 (ido-decorations): Doc fix.
7514
7515 * ansi-color.el: Fix old URL.
7516
7517 2013-07-23 Michael R. Mauger <michael@mauger.com>
7518
7519 * progmodes/sql.el: Version 3.3
7520 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7521 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7522 (sql-interactive-remove-continuation-prompt): Rewrite, use
7523 functions above. Fix continuation prompt and complete output line
7524 handling.
7525 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7526 redirected output buffer.
7527 (sql-mode): Restore deleted code (Bug#13591).
7528
7529 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7530
7531 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7532
7533 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7534
7535 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7536
7537 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7538 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7539 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7540
7541 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7542
7543 * desktop.el (desktop-clear): Simplify; remove useless checks
7544 against invalid buffer names.
7545 (desktop-list*): Use cl-list*.
7546 (desktop-buffer-info, desktop-create-buffer): Simplify.
7547
7548 2013-07-23 Leo Liu <sdl.web@gmail.com>
7549
7550 * bookmark.el (bookmark-make-record): Restore NAME as a default
7551 value. (Bug#14933)
7552
7553 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7554
7555 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7556 extracted from autoload--insert-text.
7557 (autoload--insert-text): Remove.
7558 (autoload--print-cookie-text): New function, extracted from
7559 autoload--insert-cookie-text.
7560 (autoload--insert-cookie-text): Remove.
7561 (autoload-generate-file-autoloads): Adjust calls accordingly.
7562
7563 * winner.el (winner-hook-installed-p): Remove.
7564 (winner-mode): Simplify accordingly.
7565
7566 * subr.el (add-to-list): Fix compiler-macro when `append' is
7567 not constant. Don't use `cl-member' for the base case.
7568
7569 * progmodes/subword.el: Fix boundary case (bug#13758).
7570 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7571 own group.
7572 (subword-backward-regexp): Make it a constant.
7573 (subword-forward-internal): Don't treat a trailing capital as the
7574 beginning of a word.
7575
7576 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7577
7578 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7579 global value of tabulated-list-revert-hook (bug#14930).
7580
7581 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7582
7583 * desktop.el: Require 'cl-lib.
7584 (desktop-before-saving-frames-functions): New hook.
7585 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7586 for frames being saved. Rename from desktop--save-minibuffer-frames.
7587 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7588 Do not save frames with non-nil `desktop-dont-save' parameter.
7589 Filter out deleted frames.
7590 (desktop--find-frame): Use cl-find-if.
7591 (desktop--select-frame): Use cl-(first|second|third) to access values
7592 of desktop-mini.
7593 (desktop--make-frame): Use cl-delete-if.
7594 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7595 (desktop-restore-frames): Use cl-(first|second|third) to access values
7596 of desktop-mini. Look for visible frame at the end, not while
7597 restoring frames.
7598
7599 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7600 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7601 Use string-match-p, looking-at-p (bug#14927).
7602
7603 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7604
7605 * desktop.el (desktop-saved-frame-states):
7606 Rename from desktop--saved-states; all users changed.
7607 (desktop-save-frames): Rename from desktop--save-frames.
7608 Do not save state to desktop file.
7609 (desktop-save): Save desktop-saved-frame-states to desktop file
7610 and reset to nil.
7611 (desktop-restoring-frames-p): New function.
7612 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7613 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7614 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7615
7616 * desktop.el: Correctly restore iconified frames.
7617 (desktop--filter-iconified-position): New function.
7618 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7619
7620 2013-07-20 Glenn Morris <rgm@gnu.org>
7621
7622 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7623 Let `message' do the formatting.
7624 (def-gdb-preempt-display-buffer): Add explicit format.
7625
7626 * image-dired.el (image-dired-track-original-file):
7627 Use with-current-buffer.
7628 (image-dired-track-thumbnail): Use with-current-buffer.
7629 Avoid changing point of wrong window.
7630
7631 * image-dired.el (image-dired-track-original-file):
7632 Avoid changing point of wrong window. (Bug#14909)
7633
7634 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7635
7636 * progmodes/gdb-mi.el (gdb-done-or-error):
7637 Guard against "%" in gdb output. (Bug#14127)
7638
7639 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7640
7641 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7642 (Bug#14826)
7643
7644 * international/mule.el (coding-system-iso-2022-flags): Fix last
7645 change.
7646
7647 2013-07-20 Kenichi Handa <handa@gnu.org>
7648
7649 * international/mule.el (coding-system-iso-2022-flags):
7650 Add `8-bit-level-4'. (Bug#8522)
7651
7652 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7653
7654 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7655 (bug#14815).
7656
7657 * net/eww.el (eww-process-text-input): Allow inputting when the
7658 point is at the start of the line, as the properties aren't
7659 front-sticky.
7660
7661 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7662 degenerate widths.
7663
7664 2013-07-19 Richard Stallman <rms@gnu.org>
7665
7666 * epa.el (epa-popup-info-window): Doc fix.
7667
7668 * subr.el (split-string): New arg TRIM.
7669
7670 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7671
7672 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7673 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7674
7675 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7676
7677 * filenotify.el (file-notify--library): Rename from
7678 `file-notify-support'. Do not autoload. Adapt all uses.
7679 (file-notify-supported-p): New defun.
7680
7681 * autorevert.el (auto-revert-use-notify):
7682 Use `file-notify-supported-p' instead of `file-notify-support'.
7683 Adapt docstring.
7684 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7685
7686 * net/tramp.el (tramp-file-name-for-operation):
7687 Add `file-notify-supported-p'.
7688
7689 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7690 New defun.
7691 (tramp-sh-file-name-handler-alist): Add it as handler for
7692 `file-notify-supported-p '.
7693
7694 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7695 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7696 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7697 Add `ignore' as handler for `file-notify-*' functions.
7698
7699 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7700
7701 * simple.el (line-move-partial, line-move): Don't start vscroll or
7702 scroll-up if the current line is not taller than the window.
7703 (Bug#14881)
7704
7705 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7706
7707 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7708 highlight question marks in the method names as strings.
7709 (ruby-block-beg-keywords): Inline.
7710 (ruby-font-lock-keyword-beg-re): Extract from
7711 `ruby-font-lock-keywords'.
7712
7713 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7714
7715 * frame.el (blink-cursor-blinks): New defcustom.
7716 (blink-cursor-blinks-done): New defvar.
7717 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7718 (blink-cursor-timer-function): Check if number of blinks has been
7719 done on X and NS.
7720 (blink-cursor-suspend, blink-cursor-check): New defuns.
7721
7722 2013-07-15 Glenn Morris <rgm@gnu.org>
7723
7724 * edmacro.el (edmacro-format-keys): Fix previous change.
7725
7726 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7727
7728 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7729 The hack didn't work outside English locales anyway.
7730
7731 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7732
7733 * simple.el (define-alternatives): Rename from alternatives-define,
7734 per RMS' suggestion.
7735
7736 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7737
7738 * desktop.el (desktop-restore-frames): Change default to t.
7739 (desktop-restore-in-current-display): Now offer more options.
7740 (desktop-restoring-reuses-frames): New customization option.
7741 (desktop--saved-states): Doc fix.
7742 (desktop-filter-parameters-alist): New variable, renamed and expanded
7743 from desktop--excluded-frame-parameters.
7744 (desktop--target-display): New variable.
7745 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7746 (desktop--filter-tty*, desktop--filter-*-color)
7747 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7748 (desktop--filter-save-desktop-parm)
7749 (desktop-restore-in-original-display-p): New functions.
7750 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7751 (desktop--save-minibuffer-frames): New function, inspired by a similar
7752 function from Martin Rudalics.
7753 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7754 (desktop--restore-in-this-display-p): Remove.
7755 (desktop--find-frame): Rename from desktop--find-frame-in-display
7756 and add predicate argument.
7757 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7758 (desktop--reuse-list): New variable.
7759 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7760 New functions.
7761 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7762
7763 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7764
7765 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7766
7767 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7768
7769 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7770 Highlight conversion methods on Kernel.
7771
7772 2013-07-13 Alan Mackenzie <acm@muc.de>
7773
7774 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7775 and comment it out. This out-commenting enables certain C++
7776 declarations to be parsed correctly.
7777
7778 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7779
7780 * international/mule.el (define-coding-system): Doc fix.
7781
7782 * simple.el (default-font-height): Don't call font-info if the
7783 frame's default font didn't change since the frame was created.
7784 (Bug#14838)
7785
7786 2013-07-13 Leo Liu <sdl.web@gmail.com>
7787
7788 * ido.el (ido-read-file-name): Guard against non-symbol value.
7789
7790 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7791
7792 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7793 in nested defuns.
7794
7795 2013-07-13 Leo Liu <sdl.web@gmail.com>
7796
7797 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7798 ido-set-matches call. (Bug#6852)
7799
7800 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7801
7802 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7803 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7804 Ruby 2.0.
7805 (ruby-font-lock-keywords): Distinguish calls to functions with
7806 module-like names from module references. Highlight character
7807 literals.
7808
7809 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7810
7811 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7812 (gdb-send): Handle continued commands. (Bug#14847)
7813
7814 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7815
7816 * desktop.el (desktop--v2s): Remove unused local variable.
7817 (desktop-save-buffer): Make defvar-local; adjust docstring.
7818 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7819 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7820
7821 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7822
7823 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7824
7825 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7826
7827 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7828 (Bug#14842)
7829
7830 2013-07-12 Glenn Morris <rgm@gnu.org>
7831
7832 * doc-view.el: Require cl-lib at runtime too.
7833 (doc-view-remove-if): Remove.
7834 (doc-view-search-next-match, doc-view-search-previous-match):
7835 Use cl-remove-if.
7836
7837 * edmacro.el: Require cl-lib at runtime too.
7838 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7839 (edmacro-mismatch, edmacro-subseq): Remove.
7840
7841 * shadowfile.el: Require cl-lib.
7842 (shadow-remove-if): Remove.
7843 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7844 Use cl-remove-if.
7845
7846 * wid-edit.el: Require cl-lib.
7847 (widget-choose): Use cl-remove-if.
7848 (widget-remove-if): Remove.
7849
7850 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7851 (ebrowse-delete-if-not): Remove.
7852 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7853 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7854 Use cl-delete-if-not.
7855
7856 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7857
7858 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7859 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7860
7861 2013-07-12 Leo Liu <sdl.web@gmail.com>
7862
7863 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7864
7865 2013-07-11 Glenn Morris <rgm@gnu.org>
7866
7867 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7868 (edebug-gensym-index, edebug-gensym):
7869 Remove reimplementation of cl-gensym.
7870 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7871
7872 * thumbs.el: Require cl-lib at run-time too.
7873 (thumbs-gensym-counter, thumbs-gensym):
7874 Remove reimplementation of cl-gensym.
7875 (thumbs-temp-file): Use cl-gensym.
7876
7877 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7878 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7879 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7880 (ert--union, ert--gensym-counter, ert--gensym-counter)
7881 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7882 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7883 (ert-make-test-unbound, ert--expand-should-1)
7884 (ert--expand-should, ert--should-error-handle-error)
7885 (should-error, ert--explain-equal-rec)
7886 (ert--plist-difference-explanation, ert-select-tests)
7887 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7888 Use cl-lib functions rather than reimplementations.
7889
7890 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7891
7892 * net/tramp.el (tramp-methods): Extend docstring.
7893 (tramp-connection-timeout): New defcustom.
7894 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7895 (with-tramp-progress-reporter): Simplify.
7896 (tramp-process-actions): Improve messages.
7897
7898 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7899 * net/tramp-sh.el (tramp-maybe-open-connection):
7900 Use `tramp-connection-timeout'.
7901 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7902 (Bug#14808)
7903
7904 2013-07-11 Leo Liu <sdl.web@gmail.com>
7905
7906 * ido.el (ido-read-file-name): Conform to the requirements of
7907 read-file-name. (Bug#11861)
7908 (ido-read-directory-name): Conform to the requirements of
7909 read-directory-name.
7910
7911 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7912
7913 * subr.el (delay-warning): New function.
7914
7915 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7916
7917 * simple.el (default-line-height): New function.
7918 (line-move-partial, line-move): Use it instead of computing the
7919 line height inline.
7920 (line-move-partial): Always compute ROWH. If the last line is
7921 partially-visible, but its text is completely visible, allow
7922 cursor to enter such a partially-visible line.
7923
7924 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7925
7926 Improve error messages. (Bug#14808)
7927
7928 * net/tramp.el (tramp-current-connection): New defvar, moved from
7929 tramp-sh.el.
7930 (tramp-message-show-progress-reporter-message): Remove, not
7931 needed anymore.
7932 (tramp-error-with-buffer): Show message in minibuffer.
7933 Discard input before waiting. Reset connection timestamp.
7934 (with-tramp-progress-reporter): Improve messages.
7935 (tramp-process-actions): Use progress reporter. Delete process in
7936 case of error. Improve messages.
7937
7938 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7939 Call `tramp-error-with-buffer' with vector and buffer.
7940 (tramp-current-connection): Remove.
7941 (tramp-maybe-open-connection): The car of
7942 `tramp-current-connection' are the first 3 slots of the vector.
7943
7944 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7945
7946 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7947 inside continued strings.
7948
7949 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7950
7951 Timestamp fixes for undo (Bug#14824).
7952 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7953
7954 2013-07-10 Leo Liu <sdl.web@gmail.com>
7955
7956 * files.el (require-final-newline): Allow safe local value.
7957 (Bug#14834)
7958
7959 2013-07-09 Leo Liu <sdl.web@gmail.com>
7960
7961 * ido.el (ido-read-directory-name): Handle fallback.
7962 (ido-read-file-name): Update DIR to ido-current-directory.
7963 (Bug#1516)
7964 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7965
7966 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7967
7968 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7969 "autoload". Remove "warn lower camel case" section, previously
7970 commented out. Highlight negation char. Do not highlight the
7971 target in singleton method definitions.
7972
7973 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7974
7975 * faces.el (tty-setup-hook): Declare the hook.
7976
7977 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7978 and detect when a guard/pred depends on local vars (bug#14773).
7979 (pcase--u1): Adjust caller.
7980
7981 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7982
7983 * simple.el (line-move-partial, line-move): Account for
7984 line-spacing.
7985 (line-move-partial): Avoid setting vscroll when the last
7986 partially-visible line in window is of default height.
7987
7988 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7989
7990 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7991 been used a while.
7992
7993 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7994
7995 * subr.el (read-quoted-char): Remove unused local variable `char'.
7996
7997 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7998
7999 * ediff.el (ediff-version): Version update.
8000 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8001 (ediff-merge-with-ancestor-command, ediff-directories-command)
8002 (ediff-directories3-command, ediff-merge-directories-command)
8003 (ediff-merge-directories-with-ancestor-command): New functions.
8004 All are command-line interfaces to ediff: to facilitate calling
8005 Emacs with the appropriate ediff functions invoked.
8006
8007 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8008 (viper-save-kill-buffer): Check if buffer is modified.
8009
8010 * viper.el (viper-version): Version update.
8011 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8012
8013 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8014
8015 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8016 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8017 (viper-intercept-ESC-key): Simplify.
8018 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8019 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8020 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8021 (viper-setup-ESC-to-escape): New functions.
8022 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8023 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8024
8025 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8026
8027 * simple.el (default-font-height, window-screen-lines):
8028 New functions.
8029 (line-move, line-move-partial): Use them instead of
8030 frame-char-height and window-text-height. This makes scrolling
8031 text smoother when the buffer's default face uses a font that is
8032 different from the frame's default font.
8033
8034 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8035
8036 * files.el (write-file): Do not display confirm dialog for NS,
8037 it does its own dialog, which can't be canceled (Bug#14578).
8038
8039 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8040
8041 * simple.el (line-move-partial): Adjust the row returned by
8042 posn-at-point for the current window-vscroll. (Bug#14567)
8043
8044 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8045
8046 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8047 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8048 spaces.
8049
8050 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8051
8052 * window.el (window-state-put-stale-windows): New variable.
8053 (window--state-put-2): Save list of windows without matching buffer.
8054 (window-state-put): Remove "bufferless" windows if possible.
8055
8056 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8057
8058 * simple.el (alternatives-define): Remove leftover :group keyword.
8059 Tweak docstring.
8060
8061 2013-07-06 Leo Liu <sdl.web@gmail.com>
8062
8063 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8064 (ido-enable-virtual-buffers): New variable.
8065 (ido-buffer-internal, ido-toggle-virtual-buffers)
8066 (ido-make-buffer-list): Use it.
8067 (ido-exhibit): Support turning on and off virtual buffers
8068 automatically.
8069
8070 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8071
8072 * simple.el (alternatives-define): New macro.
8073
8074 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8075
8076 * subr.el (read-quoted-char): Use read-key.
8077 (sit-for): Let read-event decode tty input (bug#14782).
8078
8079 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8080
8081 * calendar/todo-mode.el: Add handling of file deletion, both by
8082 mode command and externally. Fix various related bugs.
8083 Clarify Commentary and improve some documentation strings and code.
8084 (todo-delete-file): New command.
8085 (todo-check-file): New function.
8086 (todo-show): Handle external deletion of the file we're trying to
8087 show (bug#14688). Replace called-interactively-p by an optional
8088 prefix argument to avoid problematic interaction with catch form
8089 when byte compiled (bug#14702).
8090 (todo-quit): Handle external deletion of the archive's todo file.
8091 Make sure the buffer that was visiting the archive file is still
8092 live before trying to bury it.
8093 (todo-category-completions): Handle external deletion of any
8094 category completion files.
8095 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8096 of todo files, in case of external deletion.
8097 (todo-add-file): Replace unnecessary setq by let-binding.
8098 (todo-find-archive): Check whether there are any archives.
8099 Replace unnecessary setq by let-binding.
8100 (todo-archive-done-item): Use find-file-noselect to get the
8101 archive buffer whether or not the archive already exists.
8102 Remove superfluous code. Use file size instead of buffer-file-name to
8103 check if the archive is new; if it is, update list of archives.
8104 (todo-default-todo-file): Allow nil to be a valid value for when
8105 there are no todo files.
8106 (todo-reevaluate-default-file-defcustom): Use corrected definition
8107 of todo-default-todo-file.
8108 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8109 (todo-delete-category, todo-show-categories-table)
8110 (todo-category-number): Clarify comment.
8111 (todo-filter-items): Clarify documentation string.
8112 (todo-show-current-file, todo-display-as-todo-file)
8113 (todo-reset-and-enable-done-separator): Tweak documentation string.
8114 (todo-done-separator): Make separator length window-width, since
8115 bug#2749 is now fixed.
8116
8117 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8118
8119 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8120 Support both "gvfs-monitor-dir" and "inotifywait".
8121 (tramp-sh-file-inotifywait-process-filter): Rename from
8122 `tramp-sh-file-notify-process-filter'.
8123 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8124 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8125
8126 2013-07-05 Leo Liu <sdl.web@gmail.com>
8127
8128 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8129
8130 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8131
8132 * frame.el (display-pixel-height, display-pixel-width)
8133 (display-mm-height, display-mm-width): Mention behavior on
8134 multi-monitor setups in docstrings.
8135 (w32-display-monitor-attributes-list): Declare function.
8136 (display-monitor-attributes-list): Use it.
8137
8138 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8139
8140 * filenotify.el: New package.
8141
8142 * autorevert.el (top): Require filenotify.el.
8143 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8144 instead.
8145 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8146 (auto-revert-notify-handler): Use `file-notify-*' functions.
8147
8148 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8149
8150 * net/tramp.el (tramp-file-name-for-operation):
8151 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8152
8153 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8154 for `file-notify-add-watch' and `file-notify-rm-watch'.
8155 (tramp-process-sentinel): Improve trace.
8156 (tramp-sh-handle-file-notify-add-watch)
8157 (tramp-sh-file-notify-process-filter)
8158 (tramp-sh-handle-file-notify-rm-watch)
8159 (tramp-get-remote-inotifywait): New defuns.
8160
8161 2013-07-03 Juri Linkov <juri@jurta.org>
8162
8163 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8164 call of `occur-read-primary-args' to interactive spec.
8165
8166 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8167 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8168
8169 2013-07-03 Matthias Meulien <orontee@gmail.com>
8170
8171 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8172 `Buffer-menu-multi-occur'. Add it to the menu.
8173 (Buffer-menu-mode): Document it in docstring.
8174 (Buffer-menu-multi-occur): New command. (Bug#14673)
8175
8176 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8177
8178 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8179 keywords and built-ins.
8180
8181 2013-07-03 Glenn Morris <rgm@gnu.org>
8182
8183 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8184
8185 Make info-xref checks case-sensitive by default
8186 * info.el (Info-find-node, Info-find-in-tag-table)
8187 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8188 Add option for exact case matching of nodes.
8189 * info-xref.el (info-xref): New custom group.
8190 (info-xref-case-fold): New option.
8191 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8192
8193 2013-07-03 Leo Liu <sdl.web@gmail.com>
8194
8195 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8196
8197 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8198
8199 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8200 middle of block statement initially, lower the depth. Remove
8201 FIXME comment, not longer valid. Remove middle of block statement
8202 detection, no need to do that anymore since we've been using
8203 `ruby-parse-region' here.
8204
8205 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8206
8207 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8208
8209 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8210
8211 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8212
8213 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8214
8215 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8216 (desktop-restore-in-current-display): New customization option.
8217 (desktop--excluded-frame-parameters): Add `font'.
8218 (desktop--save-frames): Rename from desktop--save-windows.
8219 (desktop--restore-in-this-display-p): New function.
8220 (desktop--make-full-frame): Remove unwanted width/height from
8221 full(width|height) frames.
8222 (desktop--restore-frames): Rename from desktop--restore-windows.
8223 Obey desktop-restore-current-display. Do not delete old frames or
8224 select a new frame unless we were able to restore at least one frame.
8225
8226 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8227
8228 * files.el (find-file-noselect): Simplify conditional expression.
8229
8230 * textmodes/remember.el (remember-append-to-file):
8231 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8232
8233 Add `remember-notes' function to store random notes across Emacs
8234 restarts.
8235 * textmodes/remember.el (remember-data-file): Add :set callback to
8236 affect notes buffer (if any).
8237 (remember-notes): New command.
8238 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8239 New defcustoms for the `remember-notes' function.
8240 (remember-notes-save-and-bury-buffer): New command.
8241 (remember-notes-mode-map): New variable.
8242 (remember-mode): New minor mode.
8243 (remember-notes--kill-buffer-query): New function.
8244 * startup.el (initial-buffer-choice): Add notes to custom type.
8245
8246 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8247
8248 * bindings.el (right-char, left-char): Don't call sit-for, this is
8249 no longer needed. Use arithmetic comparison only for numerical
8250 arguments.
8251
8252 * international/mule-cmds.el (select-safe-coding-system):
8253 Handle the case of FROM being a string correctly. (Bug#14755)
8254
8255 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8256
8257 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8258 progression on degenerate tables.
8259 (shr-rescale-image): ImageMagick animated images currently don't work.
8260
8261 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8262
8263 Some fixes and improvements for desktop frame restoration.
8264 It is still experimental and disabled by default.
8265 * desktop.el (desktop--save-windows): Put the selected frame at
8266 the head of the list.
8267 (desktop--make-full-frame): New function.
8268 (desktop--restore-windows): Try to re-select the frame that was
8269 selected upon saving. Do not abort if some frames fail to restore,
8270 just show an error message and continue. Set up maximized frames
8271 so they have default non-maximized dimensions.
8272
8273 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8274
8275 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8276 Don't start heredoc inside a string or comment.
8277
8278 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8279
8280 * bindings.el (visual-order-cursor-movement): New defcustom.
8281 (right-char, left-char): Provide visual-order cursor motion by
8282 calling move-point-visually. Update the doc strings.
8283
8284 2013-06-28 Kenichi Handa <handa@gnu.org>
8285
8286 * international/mule.el (define-coding-system): New coding system
8287 properties :inhibit-null-byte-detection,
8288 :inhibit-iso-escape-detection, and :prefer-utf-8.
8289 (set-buffer-file-coding-system): If :charset-list property of
8290 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8291 appropriate for setting.
8292
8293 * international/mule-cmds.el (select-safe-coding-system):
8294 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8295 multibyte characters, return utf-8 (or one of its siblings).
8296
8297 * international/mule-conf.el (prefer-utf-8): New coding system.
8298 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8299 files.
8300
8301 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8302
8303 * net/shr.el (shr-render-region): New function.
8304
8305 * net/eww.el: Autoload `eww-browse-url'.
8306
8307 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8308
8309 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8310 Adapt to `package-desc-version' being a list.
8311 Use `package--ac-desc-version' to retrieve version from a package
8312 archive element.
8313
8314 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8315
8316 New experimental feature to save&restore window and frame setup.
8317 * desktop.el (desktop-save-windows): New defcustom.
8318 (desktop--saved-states): New var.
8319 (desktop--excluded-frame-parameters): New defconst.
8320 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8321 (desktop--restore-windows, desktop--save-windows): New functions.
8322 (desktop-save): Call `desktop--save-windows'.
8323 (desktop-read): Call `desktop--restore-windows'.
8324
8325 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8326
8327 * net/shr.el (add-face-text-property): Remove compat definition.
8328
8329 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8330
8331 * info.el (Info-try-follow-nearest-node): Move search for footnote
8332 above search for node name to prevent missing a footnote (bug#14717).
8333
8334 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8335
8336 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8337
8338 2013-06-27 Leo Liu <sdl.web@gmail.com>
8339
8340 * net/eww.el (eww-read-bookmarks): Check file size.
8341
8342 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8343
8344 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8345 advice--pending if newdef is nil or an autoload (bug#13820).
8346 (advice-mapc): New function.
8347
8348 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8349
8350 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8351 probably.
8352 (eww-mode-map): Add a menu bar.
8353 (eww-add-bookmark): New command.
8354 (eww-bookmark-mode): New mode and commands.
8355 (eww-add-bookmark): Remove newlines from the title.
8356 (eww-bookmark-browse): Don't bug out if it's the only window.
8357
8358 2013-06-26 Glenn Morris <rgm@gnu.org>
8359
8360 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8361 (hfy-size): Handle ttys. (Bug#14668)
8362
8363 * info-xref.el: Update for Texinfo 5 change in *note format.
8364 (info-xref-node-re, info-xref-note-re): New constants.
8365 (info-xref-check-buffer): Use info-xref-note-re.
8366
8367 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8368
8369 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8370
8371 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8372 nil terminate the loop (bug#14718).
8373
8374 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8375
8376 * net/eww.el: Rework history traversal. When going forward/back,
8377 put these actions into the history, too, so that they can be
8378 replayed.
8379 (eww-render): Move the history reset to the correct buffer.
8380
8381 2013-06-25 Juri Linkov <juri@jurta.org>
8382
8383 * files-x.el (modify-dir-local-variable): Change the header comment
8384 in the file with directory local variables. (Bug#14692)
8385
8386 * files-x.el (read-file-local-variable-value): Add `default'.
8387 (Bug#14710)
8388
8389 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8390
8391 * net/eww.el (eww-make-unique-file-name): Create a unique file
8392 name before saving to entering `y' accidentally asynchronously.
8393
8394 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8395
8396 * net/eww.el (eww-download): New command and keystroke.
8397
8398 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8399
8400 * net/eww.el (eww-copy-page-url): Change name of command.
8401
8402 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8403 be more consistent with Info and dired.
8404
8405 * net/eww.el (eww-mode-map): Ditto.
8406
8407 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8408
8409 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8410 packages from archives.
8411 (package-archive-contents): Change format; include obsolete packages.
8412 (package-desc): Use `dir' to mark builtin packages.
8413 (package--from-builtin): Set the `dir' field to `builtin'.
8414 (generated-autoload-file, version-control): Declare.
8415 (package-compute-transaction): Change first arg and return value to be
8416 lists of package-descs. Adjust to new package-archive-contents format.
8417 (package--add-to-archive-contents): Adjust to new
8418 package-archive-contents format.
8419 (package-download-transaction): Arg is now a list of package-descs.
8420 (package-install): If `pkg' is a package name, pass it as
8421 a requirement, so it is subject to the usual (e.g. disabled) checks.
8422 (describe-package): Accept package-desc as well.
8423 (describe-package-1): Describe a specific package-desc. Add links to
8424 other package-descs for the same package name.
8425 (package-menu-describe-package): Pass the actual package-desc.
8426 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8427 works correctly.
8428 (package-desc-status): New function.
8429 (package-menu--refresh): New function, extracted
8430 from package-menu--generate.
8431 (package-menu--generate): Use it.
8432 (package-delete): Update package-alist.
8433 (package-menu-execute): Don't call package-initialize.
8434
8435 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8436 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8437 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8438 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8439 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8440 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8441
8442 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8443
8444 * window.el (window--state-get-1): Workaround for bug#14527.
8445 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8446
8447 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8448
8449 * net/eww.el (eww-back-url): Implement the history by stashing all
8450 the data into a list.
8451 (eww-forward-url): Allow going forward in the history, too.
8452
8453 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8454
8455 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8456 for values and use read--expression for expressions (bug#14710).
8457 (read-file-local-variable): Avoid setq.
8458 (read-file-local-variable-mode): Use minor-mode-list.
8459
8460 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8461
8462 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8463 for DOI URLs.
8464
8465 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8466
8467 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8468 Update imenu-support when dialect changes.
8469
8470 2013-06-25 Leo Liu <sdl.web@gmail.com>
8471
8472 * ido.el (ido-read-internal): Allow forward slash on windows.
8473
8474 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8475
8476 * net/eww.el (eww): Start of strings is \\`, not ^.
8477
8478 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8479
8480 * net/shr.el (shr-browse-url): Fix interactive spec.
8481
8482 * net/eww.el (eww): Add a trailing slash to domain names.
8483
8484 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8485
8486 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8487
8488 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8489
8490 * net/shr.el (shr-browse-url): Use an external browser if given a
8491 prefix.
8492
8493 * net/eww.el (eww-external-browser): Move to shr.
8494
8495 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8496
8497 * net/eww.el (eww): Work more correctly for file: URLs.
8498 (eww-detect-charset): Allow quoted charsets.
8499 (eww-yank-page-url): New command and keystroke.
8500
8501 2013-06-24 Daiki Ueno <ueno@gnu.org>
8502
8503 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8504 file name of gpg executable.
8505 (epg-context-program): New function.
8506 (epg-context-home-directory): New function.
8507 (epg-context-set-program): New function.
8508 (epg-context-set-home-directory): New function.
8509 (epg--start): Use `epg-context-program' instead of
8510 'epg-gpg-program'.
8511 (epg--list-keys-1): Likewise.
8512
8513 2013-06-24 Leo Liu <sdl.web@gmail.com>
8514
8515 * ido.el (ido-read-internal): Fix bug#14620.
8516
8517 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8518
8519 * faces.el (face-documentation): Simplify.
8520 (read-face-attribute, tty-find-type, x-resolve-font-name):
8521 Use `string-match-p'.
8522 (list-faces-display): Use `string-match-p'. Simplify.
8523 (face-spec-recalc): Check face to avoid face alias loops.
8524 (read-color): Use `string-match-p' and non-capturing parenthesis.
8525
8526 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8527
8528 * net/shr.el (shr-rescale-image): Use the new
8529 :max-width/:max-height functionality.
8530
8531 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8532
8533 * net/eww.el (eww-search-prefix): New variable.
8534 (eww): Use it.
8535 (eww-external-browser): New variable.
8536 (eww-mode-map): New keystroke.
8537 (eww-browse-with-external-browser): New command.
8538
8539 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8540
8541 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8542
8543 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8544 Don't skip aligning the next header field when padding is 0;
8545 otherwise, field width is not respected unless the title is as
8546 wide as the field.
8547
8548 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8549
8550 * emacs-lisp/package.el (package-el-version): Remove.
8551 (package-process-define-package): Fix inf-loop.
8552 (package-install): Allow symbols as arguments again.
8553
8554 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8555
8556 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8557 add some more keyword-like methods.
8558 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8559
8560 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8561
8562 * bs.el (bs-buffer-show-mark): Make defvar-local.
8563 (bs-mode): Use setq-local.
8564
8565 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8566 (emacs-lock--try-unlocking): Make defvar-local.
8567
8568 2013-06-22 Glenn Morris <rgm@gnu.org>
8569
8570 * play/cookie1.el (cookie-apropos): Minor simplification.
8571
8572 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8573
8574 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8575
8576 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8577 `regexp-opt', it breaks the build during dumping.
8578
8579 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8580
8581 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8582 Highlight keyword-like methods on Kernel and Module with
8583 font-lock-builtin-face.
8584 (auto-mode-alist): Consolidate different entries into one regexp
8585 and add more *file-s.
8586
8587 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8588
8589 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8590
8591 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8592 (diary-entry): Use it in the action of this button type instead of
8593 diary-goto-entry.
8594
8595 * calendar/todo-mode.el: New version.
8596 (todo-add-category): Append new category to end of file and give
8597 it the highest number, instead of putting it at the beginning and
8598 giving it 0. Incorporate noninteractive functionality.
8599 (todo-forward-category): Adapt to 1-based category numbering.
8600 Allow skipping over archived categories.
8601 (todo-backward-category): Derive from todo-forward-category.
8602 (todo-backward-item, todo-forward-item): Make noninteractive and
8603 delegate interactive part to new commands. Make sensitive to done items.
8604 (todo-categories): Make value an alist of category names and
8605 vectors of item counts.
8606 (todo-category-beg): Make a defconst.
8607 (todo-category-number): Use 1 instead of 0 as initial value.
8608 (todo-category-select): Make sensitive to overlays, optional item
8609 highlighting and done items.
8610 (todo-delete-item): Make sensitive to overlays and marked and done items.
8611 (todo-edit-item): Make sensitive to overlays and editing of
8612 date/time header optional. Add format checks.
8613 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8614 no-op if point is not on an item. Advertise using todo-edit-quit.
8615 (todo-edit-mode): Make sensitive to new format, font-locking, and
8616 multiple todo files.
8617 (todo-insert-item, todo-insert-item-here): Derive from
8618 todo-basic-insert-item and extend functionality.
8619 (todo-item-end, todo-item-start): Make sensitive to done items.
8620 (todo-item-string): Don't return text properties. Restore point.
8621 (todo-jump-to-category): Make sensitive to multiple todo files and
8622 todo archives. Use extended category completion.
8623 (todo-lower-item, todo-raise-item): Rename to *-priority and
8624 derive from todo-set-item-priority.
8625 (todo-mode): Derive from special-mode. Make sensitive to new
8626 format, font-locking and multiple todo files. Make read-only.
8627 (todo-mode-map): Don't suppress digit keys, so they can supply
8628 prefix arguments. Add many new key bindings.
8629 (todo-prefix): Insert as an overlay instead of file text.
8630 Change semantics from diary date expression to purely visual mark.
8631 (todo-print): Rename to todo-print-buffer. Make buffer display
8632 features printable. Remove option to restrict number of items
8633 printed. Add option to print to file.
8634 (todo-print-function): Rename to todo-print-buffer-function.
8635 (todo-quit): Extend to handle exiting new todo modes.
8636 (todo-remove-item): Make sensitive to overlays.
8637 (todo-save): Extend to buffers of filtered items.
8638 (todo-show): Make sensitive to done items, multiple todo files and
8639 new todo modes. Offer to convert legacy todo file before creating
8640 first new todo file.
8641 (todo-show-priorities): Rename to todo-top-priorities.
8642 Change semantics of value 0.
8643 (todo-top-priorities): Rename to todo-filter-top-priorities,
8644 derive from todo-filter-items and extend functionality.
8645 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8646 and extend functionality to other types of filtered items.
8647 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8648 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8649 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8650 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8651 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8652 (todo-edit-mode-hook, todo-entry-prefix-function)
8653 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8654 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8655 (todo-initials, todo-insert-threshold, todo-item-string-start)
8656 (todo-line-string, todo-menu, todo-mode-hook)
8657 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8658 (todo-print-priorities, todo-remove-separator)
8659 (todo-save-top-priorities-too, todo-string-count-lines)
8660 (todo-string-multiline-p, todo-time-string-format)
8661 (todo-tmp-buffer-name): Remove.
8662 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8663 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8664 (todo-edit-category-diary-inclusion)
8665 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8666 (todo-edit-file, todo-edit-item-date-day)
8667 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8668 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8669 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8670 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8671 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8672 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8673 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8674 (todo-filter-top-priorities-multifile, todo-find-archive)
8675 (todo-find-filtered-items-file, todo-go-to-source-item)
8676 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8677 (todo-jump-to-archive-category, todo-lower-category)
8678 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8679 (todo-move-category, todo-move-item, todo-next-button)
8680 (todo-next-item, todo-padded-string, todo-powerset)
8681 (todo-previous-button, todo-previous-item)
8682 (todo-print-buffer-to-file, todo-raise-category)
8683 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8684 (todo-set-category-number, todo-set-item-priority)
8685 (todo-set-top-priorities-in-category)
8686 (todo-set-top-priorities-in-file, todo-show-categories-table)
8687 (todo-sort-categories-alphabetically-or-numerically)
8688 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8689 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8690 (todo-toggle-item-header, todo-toggle-item-highlighting)
8691 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8692 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8693 (todo-unarchive-items, todo-unmark-category): New commands.
8694 (todo-absolute-file-name, todo-add-to-buffer-list)
8695 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8696 (todo-basic-insert-item, todo-category-completions)
8697 (todo-category-number, todo-category-string-matcher-1)
8698 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8699 (todo-check-format, todo-clear-matches)
8700 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8701 (todo-current-category, todo-date-string-matcher)
8702 (todo-define-insertion-command, todo-diary-expired-matcher)
8703 (todo-diary-goto-entry, todo-diary-item-p)
8704 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8705 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8706 (todo-done-item-section-p, todo-done-separator)
8707 (todo-done-string-matcher, todo-files, todo-filter-items)
8708 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8709 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8710 (todo-insert-category-line, todo-insert-item-from-calendar)
8711 (todo-insert-sort-button, todo-insert-with-overlays)
8712 (todo-insertion-command-name, todo-insertion-key-bindings)
8713 (todo-label-to-key, todo-longest-category-name-length)
8714 (todo-make-categories-list, todo-mode-external-set)
8715 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8716 (todo-modes-set-3, todo-multiple-filter-files)
8717 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8718 (todo-read-category, todo-read-date, todo-read-dayname)
8719 (todo-read-file-name, todo-read-time)
8720 (todo-reevaluate-category-completions-files-defcustom)
8721 (todo-reevaluate-default-file-defcustom)
8722 (todo-reevaluate-filelist-defcustoms)
8723 (todo-reevaluate-filter-files-defcustom)
8724 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8725 (todo-reset-done-separator, todo-reset-done-separator-string)
8726 (todo-reset-done-string, todo-reset-global-current-todo-file)
8727 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8728 (todo-reset-prefix, todo-set-categories)
8729 (todo-set-date-from-calendar, todo-set-show-current-file)
8730 (todo-set-top-priorities, todo-short-file-name)
8731 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8732 (todo-total-item-counts, todo-update-buffer-list)
8733 (todo-update-categories-display, todo-update-categories-sexp)
8734 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8735 New functions.
8736 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8737 New major modes.
8738 (todo-categories, todo-display, todo-edit, todo-faces)
8739 (todo-filtered): New defgroups.
8740 (todo-archived-only, todo-button, todo-category-string, todo-date)
8741 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8742 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8743 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8744 (todo-add-item-if-new-category, todo-always-add-time-string)
8745 (todo-categories-align, todo-categories-archived-label)
8746 (todo-categories-category-label, todo-categories-diary-label)
8747 (todo-categories-done-label, todo-categories-number-separator)
8748 (todo-categories-todo-label, todo-categories-totals-label)
8749 (todo-category-completions-files, todo-completion-ignore-case)
8750 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8751 (todo-done-separator-string, todo-done-string)
8752 (todo-files-function, todo-filter-done-items, todo-filter-files)
8753 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8754 (todo-initial-category, todo-initial-file, todo-item-mark)
8755 (todo-legacy-date-time-regexp, todo-mode-line-function)
8756 (todo-nondiary-marker, todo-number-prefix)
8757 (todo-print-buffer-function, todo-show-current-file)
8758 (todo-show-done-only, todo-show-first, todo-show-with-done)
8759 (todo-skip-archived-categories, todo-top-priorities-overrides)
8760 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8761 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8762 New defcustoms.
8763 (todo-category-done, todo-date-pattern, todo-date-string-start)
8764 (todo-diary-items-buffer, todo-done-string-start)
8765 (todo-filtered-items-buffer, todo-item-start)
8766 (todo-month-abbrev-array, todo-month-name-array)
8767 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8768 (todo-top-priorities-buffer): New defconsts.
8769 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8770 (todo-categories-with-marks, todo-category-string-face)
8771 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8772 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8773 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8774 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8775 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8776 (todo-font-lock-keywords, todo-global-current-todo-file)
8777 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8778 (todo-insertion-commands-args)
8779 (todo-insertion-commands-args-genlist)
8780 (todo-insertion-commands-names, todo-insertion-map)
8781 (todo-key-bindings-t, todo-key-bindings-t+a)
8782 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8783 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8784 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8785 (todo-visited): New variables.
8786
8787 2013-06-21 Glenn Morris <rgm@gnu.org>
8788
8789 * play/cookie1.el (cookie-apropos): Add optional display argument.
8790 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8791 (psychoanalyze-pinhead): Use cookie-doctor.
8792
8793 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8794
8795 * emacs-lisp/package.el (tar-get-file-descriptor)
8796 (tar--extract): Declare.
8797
8798 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8799
8800 Extend flymake's warning predicate to be a function (bug#14217).
8801 * progmodes/flymake.el (flymake-warning-predicate): New.
8802 (flymake-parse-line): Use it.
8803 (flymake-warning-re): Make obsolete alias to
8804 `flymake-warning-predicate'.
8805
8806 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8807
8808 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8809 (package-obsolete-list): Remove.
8810 (package-activate): Remove min-version argument. Add `force' argument.
8811 Adjust to new package-alist format.
8812 (package-mark-obsolete): Remove.
8813 (package-unpack): Force reload of the package's autoloads.
8814 (package-installed-p): Check builtins if the installed package is not
8815 recent enough.
8816 (package-initialize): Don't reset package-obsolete-list.
8817 Don't specify which package version to activate.
8818 (package-process-define-package, describe-package-1)
8819 (package-menu--generate): Adjust to new package-alist format.
8820
8821 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8822
8823 * allout-widgets.el (allout-widgets-mode-off)
8824 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8825 (allout-widgets-post-command-business)
8826 (allout-widgets-after-copy-or-kill-function)
8827 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8828 (allout-decorate-item-and-context)
8829 (allout-graphics-modification-handler): Fix typos in docstrings.
8830 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8831
8832 * cmuscheme.el (scheme-start-file): Doc fix.
8833 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8834 (scheme-input-filter): Use `string-match-p'.
8835
8836 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8837
8838 * dired-x.el: Use Dired consistently in docstrings.
8839
8840 * dired.el: Use Dired consistently in docstrings.
8841 (dired-readin, dired-mode): Use `setq-local'.
8842 (dired-switches-alist): Make defvar-local.
8843 (dired-buffers-for-dir): Use `zerop'.
8844 (dired-safe-switches-p, dired-switches-escape-p)
8845 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8846 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8847 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8848 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8849 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8850 (dired-toggle-marks, dired-mark-files-containing-regexp)
8851 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8852 (dired-flag-auto-save-files, dired-flag-backup-files):
8853 Use `looking-at-p'.
8854 (dired-mark-files-regexp, dired-build-subdir-alist):
8855 Use `string-match-p', `looking-at-p'.
8856
8857 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8858 (direct-print-region-helper): Use `string-match-p'.
8859
8860 2013-06-21 Leo Liu <sdl.web@gmail.com>
8861
8862 * comint.el (comint-redirect-results-list-from-process):
8863 Fix infinite loop.
8864
8865 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8866
8867 * net/eww.el (eww-update-header-line-format): Quote % characters.
8868
8869 2013-06-21 Glenn Morris <rgm@gnu.org>
8870
8871 * play/cookie1.el (cookie): New custom group.
8872 (cookie-file): New option.
8873 (cookie-check-file): New function.
8874 (cookie): Make it interactive. Make start and end messages optional.
8875 Interactively, display the result. Default to cookie-file.
8876 (cookie-insert): Default to cookie-file.
8877 (cookie-snarf): Make start and end messages optional.
8878 Default to cookie-file. Use with-temp-buffer.
8879 (cookie-read): Rename from read-cookie.
8880 Make start and end messages optional. Default to cookie-file.
8881 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8882 Do not autoload it.
8883 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8884 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8885
8886 2013-06-21 Leo Liu <sdl.web@gmail.com>
8887
8888 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8889
8890 2013-06-21 Glenn Morris <rgm@gnu.org>
8891
8892 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8893
8894 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8895 Daniel Hackney <dan@haxney.org>
8896
8897 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8898 Consolidate the single-file vs tarball code.
8899 (package-desc-suffix): New function.
8900 (package-desc-full-name): Don't bother inlining it.
8901 (package-load-descriptor): Return the new package-desc.
8902 (package-mark-obsolete): Remove unused arg `package'.
8903 (package-unpack): Make it work for single files as well.
8904 Make it update package-alist.
8905 (package--make-autoloads-and-stuff): Rename from
8906 package--make-autoloads-and-compile. Don't compile any more.
8907 (package--compile): New function.
8908 (package-generate-description-file): New function, extracted from
8909 package-unpack-single.
8910 (package-unpack-single): Remove.
8911 (package--with-work-buffer): Add indentation and debugging info.
8912 (package-download-single): Remove.
8913 (package-install-from-archive): Rename from package-download-tar, make
8914 it take a pkg-desc, and make it work for single files as well.
8915 (package-download-transaction): Simplify.
8916 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8917 external tar program.
8918 (package-install-from-buffer): Remove `pkg-desc' argument.
8919 Use package-tar-file-info for tar-mode buffers.
8920 (package-install-file): Simplify accordingly.
8921 (package-archive-base): Change to take a pkg-desc.
8922 * tar-mode.el (tar--check-descriptor): New function, extracted from
8923 tar-get-descriptor.
8924 (tar-get-descriptor): Use it.
8925 (tar-get-file-descriptor): New function.
8926 (tar--extract): New function, extracted from tar-extract.
8927 (tar--extract): Use it.
8928 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8929 case the summary uses non-ascii. Adjust to new calling convention of
8930 package-tar-file-info.
8931
8932 2013-06-21 Leo Liu <sdl.web@gmail.com>
8933
8934 * comint.el (comint-redirect-results-list-from-process):
8935 Fix random delay. (Bug#14681)
8936
8937 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8938
8939 * profiler.el (profiler-format-number): Use log, not log10.
8940
8941 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8942
8943 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8944
8945 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8946
8947 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8948 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8949 yet available.
8950 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8951 (AUTOGENEL): ... here.
8952 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8953 (cl--defsubst-expand): Use it.
8954
8955 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8956
8957 * subr.el (log10): Move here from C code, and declare as obsolete.
8958 All uses of (log10 X) replaced with (log X 10).
8959
8960 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8961
8962 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8963 Declare with `defvar-local'.
8964 (tabulated-list-use-header-line, tabulated-list-entries)
8965 (tabulated-list-padding, tabulated-list-printer)
8966 (tabulated-list-sort-key): Declare with `defvar-local'.
8967 (tabulated-list-init-header, tabulated-list-print-fake-header):
8968 Use `setq-local'.
8969
8970 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8971
8972 * arc-mode.el (archive-mode): Add `archive-write-file' to
8973 `write-contents-functions' also for remote files. (Bug#14652)
8974
8975 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8976
8977 * cus-edit.el (custom-commands): Fix typos.
8978 (custom-display): Fix tooltip text.
8979 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8980 Fix typos in docstrings.
8981 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8982 (custom-unlispify-menu-entry, custom-magic-value-create)
8983 (custom-add-see-also, custom-group-value-create): Use ?\s.
8984 (custom-guess-type, customize-apropos, editable-field)
8985 (custom-face-value-create): Use `string-match-p'.
8986 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8987
8988 * custom.el (custom-load-symbol): Use `string-match-p'.
8989
8990 * ansi-color.el: Convert to lexical binding.
8991 (ansi-colors): Fix URL.
8992 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8993 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8994 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8995
8996 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8997
8998 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8999
9000 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9001
9002 2013-06-19 Tom Tromey <tromey@redhat.com>
9003
9004 * net/eww.el (eww-top-url): Remove.
9005 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9006 (eww-render): Set new variables. Don't set eww-top-url.
9007 (eww-handle-link): Handle "prev", "home", and "contents".
9008 Downcase the rel text.
9009 (eww-top-url): Choose best top URL.
9010
9011 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9012
9013 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9014 relying in widget.el. Using widget.el leads to too many
9015 user interface inconsistencies.
9016 (eww-self-insert): Implement entering commands in text fields.
9017 (eww-process-text-input): New function to make text input field editing
9018 work.
9019 (eww-submit): Rewrite to use the new-style form methods.
9020 (eww-select-display): Display the correct selected item.
9021 (eww-change-select): Implement changing the select value.
9022 (eww-toggle-checkbox): Implement radio/checkboxes.
9023 (eww-update-field): Fix compilation error.
9024 (eww-tag-textarea): Implement <textarea>.
9025
9026 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9027 we don't shadow mode-specific bindings.
9028
9029 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9030 nothing to push.
9031
9032 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9033
9034 2013-06-19 Glenn Morris <rgm@gnu.org>
9035
9036 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9037
9038 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9039
9040 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9041 not needed.
9042
9043 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9044
9045 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9046
9047 * net/browse-url.el (browse-url-browser-function):
9048 `eww-browse-url' has the right calling signature, `eww' does not.
9049
9050 2013-06-19 Glenn Morris <rgm@gnu.org>
9051
9052 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9053 Only eval autoloaded macros.
9054 (byte-compile-autoload): Only give the macro warning for macros.
9055
9056 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9057 (ps-underlined-faces): Declare.
9058
9059 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9060 (speedbar-add-supported-extension): Declare.
9061
9062 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9063 Don't include a date stamp in the header of the generated file;
9064 it leads to needless differences between output files.
9065
9066 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9067
9068 * net/secrets.el (secrets-struct-secret-content-type):
9069 Replace check of introspection data by a test call of "CreateItem".
9070 Some servers do not offer introspection.
9071
9072 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9073
9074 * electric.el (electric-pair-mode): Improve interaction with
9075 electric-layout-mode.
9076 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9077 (electric-pair-syntax): Use text-mode-syntax-table in comments
9078 and strings.
9079 (electric-pair--insert): New function.
9080 (electric-pair-post-self-insert-function): Use it and
9081 electric--after-char-pos.
9082
9083 2013-06-19 Leo Liu <sdl.web@gmail.com>
9084
9085 * progmodes/octave.el (octave-help): Fix regexp.
9086
9087 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9088
9089 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9090 (shr-table-horizontal-line): Allow nil as a value, and change the
9091 default.
9092 (shr-insert-table-ruler): Respect the nil value.
9093
9094 2013-06-18 Tom Tromey <tromey@barimba>
9095
9096 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9097 New defvars.
9098 (eww-open-file): New defun.
9099 (eww-render): Initialize new variables.
9100 (eww-display-html): Handle "link" and "a".
9101 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9102 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9103 (eww-back-url): Rename from eww-previous-url.
9104 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9105 New defuns.
9106
9107 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9108
9109 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9110 Distinguish ternary operator tokens from slash symbol and slash
9111 char literal.
9112
9113 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9114
9115 Convert symbol prettification into minor mode and global minor mode.
9116
9117 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9118 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9119 (prettify-symbols--keywords): Rename from
9120 `prog-prettify-symbols-alist' and make a local defvar.
9121 (prettify-symbols--compose-symbol): Rename from
9122 `prog--prettify-font-lock-compose-symbol'.
9123 (prettify-symbols--make-keywords): Rename from
9124 `prog-prettify-font-lock-symbols-keywords' and simplify.
9125 (prog-prettify-install): Remove.
9126 (prettify-symbols-mode): New minor mode, based on
9127 `prog-prettify-install'.
9128 (turn-on-prettify-symbols-mode): New function.
9129 (global-prettify-symbols-mode): New globalized minor mode.
9130
9131 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9132 * progmodes/cfengine.el (cfengine3-mode):
9133 * progmodes/perl-mode.el (perl-mode): Don't call
9134 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9135
9136 2013-06-18 Juri Linkov <juri@jurta.org>
9137
9138 * files-x.el (modify-file-local-variable-message): New function.
9139 (modify-file-local-variable)
9140 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9141 and call `modify-file-local-variable-message' when it's non-nil.
9142 (add-file-local-variable, delete-file-local-variable)
9143 (add-file-local-variable-prop-line)
9144 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9145 and use it. (Bug#9820)
9146
9147 2013-06-18 Juri Linkov <juri@jurta.org>
9148
9149 * emulation/vi.el (vi-shell-op):
9150 * emulation/vip.el (vip-execute-com, ex-command):
9151 * emulation/viper-cmd.el (viper-exec-bang):
9152 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9153 the call of `shell-command-on-region'. (Bug#14637)
9154
9155 * simple.el (shell-command-on-region): Doc fix.
9156
9157 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9158
9159 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9160 (bug#14633).
9161
9162 2013-06-18 Glenn Morris <rgm@gnu.org>
9163
9164 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9165
9166 * newcomment.el (comment-search-forward, comment-search-backward):
9167 Doc fix. (Bug#14376)
9168
9169 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9170
9171 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9172 (buffer-face-mode-invoke): Doc fix.
9173
9174 2013-06-18 Matthias Meulien <orontee@gmail.com>
9175
9176 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9177 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9178
9179 2013-06-18 Glenn Morris <rgm@gnu.org>
9180
9181 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9182 Replace obsolete function generic-make-keywords with its expansion.
9183
9184 * progmodes/python.el (ffap-alist): Declare.
9185
9186 * textmodes/reftex.el (bibtex-mode-map): Declare.
9187
9188 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9189
9190 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9191 (package-unpack, package-unpack-single): Return the pkg-dir.
9192 (package-download-transaction): Use it to update package-alist.
9193
9194 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9195
9196 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9197 possible choice.
9198
9199 2013-06-17 Juri Linkov <juri@jurta.org>
9200
9201 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9202
9203 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9204
9205 * emacs-lisp/package.el (package-load-descriptor):
9206 Remove `with-syntax-table' call, `read' doesn't need it.
9207 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9208
9209 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9210
9211 * startup.el (command-line): Expand package name returned by
9212 `package--description-file' (bug#14639).
9213
9214 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9215
9216 * emacs-lisp/package.el (package-load-descriptor): Do not call
9217 `emacs-lisp-mode', just use its syntax table.
9218
9219 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9220
9221 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9222 `font-lock-extra-managed-props' if any prettifying keyword is added.
9223 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9224 (prog-mode): Use `setq-local'.
9225
9226 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9227
9228 * international/characters.el (standard-case-table): Set syntax of ?»
9229 and ?« to punctuation.
9230
9231 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9232
9233 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9234 Save relevant match data before calling `syntax-ppss' (bug#14595).
9235
9236 2013-06-15 Juri Linkov <juri@jurta.org>
9237
9238 * files-x.el (modify-file-local-variable-prop-line): Add local
9239 variables to the end of the existing comment on the first line.
9240 Use `file-auto-mode-skip' to skip interpreter magic line,
9241 and also skip XML declaration.
9242
9243 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9244
9245 * startup.el (package--builtin-versions): New var.
9246 (package-subdirectory-regexp): Remove.
9247 (package--description-file): Hard code its value instead.
9248
9249 * emacs-lisp/package.el: Don't activate packages older than builtin.
9250 (package-obsolete-list): Rename from package-obsolete-alist, and make
9251 it into a simple list of package-desc.
9252 (package-strip-version): Remove.
9253 (package-built-in-p): Use package--builtin-versions.
9254 (package-mark-obsolete): Simplify.
9255 (package-process-define-package): Mark it obsolete if older than the
9256 builtin version.
9257 (package-handle-response): Use line-end-position.
9258 (package-read-archive-contents, package--download-one-archive):
9259 Simplify.
9260 (package--add-to-archive-contents): Skip if older than the builtin or
9261 installed version.
9262 (package-menu-describe-package): Fix last change.
9263 (package-list-unversioned): New var.
9264 (package-menu--generate): Use it.
9265
9266 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9267 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9268 (autoload-builtin-package-versions): New variable.
9269 (autoload-generate-file-autoloads): Use them.
9270 Remove the list of autoloaded functions/macros from the
9271 (autoload...) comments.
9272
9273 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9274
9275 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9276
9277 * simple.el (line-move-partial): Don't jump to the next screen
9278 line as soon as it becomes visible. Instead, continue enlarging
9279 the vscroll until the portion of a tall screen line that's left on
9280 display is about the height of the frame's default font.
9281 (Bug#14567)
9282
9283 2013-06-15 Glenn Morris <rgm@gnu.org>
9284
9285 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9286 compilation-error-regexp-alist void, or local while let-bound.
9287
9288 * progmodes/make-mode.el (makefile-mode-syntax-table):
9289 Treat "=" as punctuation. (Bug#14614)
9290
9291 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9292
9293 * help-fns.el (describe-variable):
9294 Add extra line for permanent-local variables.
9295
9296 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9297
9298 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9299 Add export, import, library. (Bug#9164)
9300 (library): Set indent function.
9301
9302 2013-06-14 Glenn Morris <rgm@gnu.org>
9303
9304 * term/xterm.el (xterm--query):
9305 Stop after first matching handler. (Bug#14615)
9306
9307 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9308
9309 Add support for dired in saveplace.
9310 * dired.el (dired-initial-position-hook): New variable.
9311 (dired-initial-position): Call hook to place cursor position.
9312 * saveplace.el (save-place-to-alist): Add dired position.
9313 (save-place-dired-hook): New function.
9314
9315 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9316
9317 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9318 through a symbol rather than letrec.
9319
9320 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9321 (package-desc): Add `dir' field.
9322 (package-desc-full-name): New function.
9323 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9324 (package-maybe-load-descriptor): Remove.
9325 (package-load-all-descriptors): Just call package-load-descriptor.
9326 (package--disabled-p): New function.
9327 (package-desc-vers, package-desc-doc): Remove aliases.
9328 (package--dir): Remove function.
9329 (package-activate): Check if a package is disabled.
9330 (package-process-define-package): New function, extracted from
9331 define-package.
9332 (define-package): Turn into a place holder.
9333 (package-unpack-single, package-tar-file-info):
9334 Use package--description-file.
9335 (package-compute-transaction): Use package--disabled-p.
9336 (package-download-transaction): Don't call
9337 package-maybe-load-descriptor since they're all loaded anyway.
9338 (package-install): Change argument to be a pkg-desc.
9339 (package-delete): Use a single pkg-desc argument.
9340 (describe-package-1): Use package-desc-dir instead of package--dir.
9341 Use package-desc property instead of package-symbol.
9342 (package-install-button-action): Adjust accordingly.
9343 (package--push): Rewrite.
9344 (package-menu--print-info): Adjust accordingly. Change the ID format
9345 to be a pkg-desc.
9346 (package-menu-describe-package, package-menu-get-status)
9347 (package-menu--find-upgrades, package-menu-mark-upgrades)
9348 (package-menu-execute, package-menu--name-predicate):
9349 Adjust accordingly.
9350 * startup.el (package--description-file): New function.
9351 (command-line): Use it.
9352 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9353 Use package-desc-version.
9354
9355 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9356 (byte-compile-preprocess): Use it.
9357 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9358 can't quite recognize.
9359 (byte-compile-add-to-list): Remove.
9360 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9361 (cconv-closure-convert): Add assertion.
9362
9363 * emacs-lisp/map-ynp.el: Use lexical-binding.
9364 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9365 Factor out some repeated code.
9366
9367 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9368
9369 * subr.el (with-eval-after-load): New macro.
9370 (eval-after-load): Allow form to be a function.
9371 take advantage of lexical-binding.
9372 (do-after-load-evaluation): Use dolist and adjust to new format.
9373 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9374
9375 2013-06-13 Juri Linkov <juri@jurta.org>
9376
9377 * replace.el (perform-replace): Display "symbol " and other search
9378 modes from `isearch-message-prefix' in the *Help* buffer.
9379
9380 * isearch.el (isearch-query-replace): Add " symbol" and other
9381 possible search modes from `isearch-message-prefix' to the prompt.
9382 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9383 when reading a regexp to collect.
9384
9385 2013-06-13 Juri Linkov <juri@jurta.org>
9386
9387 * isearch.el (word-search-regexp): Match whitespace if the search
9388 string begins or ends in whitespace. The LAX arg is applied to
9389 both ends of the search string. Use `regexp-quote' and explicit
9390 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9391 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9392 boundaries are replaced with symbol boundaries, and characters
9393 between symbols match non-word non-symbol syntax. (Bug#14602)
9394
9395 2013-06-13 Juri Linkov <juri@jurta.org>
9396
9397 * isearch.el (isearch-del-char): Don't exceed the length of
9398 `isearch-string' by the prefix arg. (Bug#14563)
9399
9400 2013-06-13 Juri Linkov <juri@jurta.org>
9401
9402 * isearch.el (isearch-yank-word, isearch-yank-line)
9403 (isearch-char-by-name, isearch-quote-char)
9404 (isearch-printing-char, isearch-process-search-char):
9405 Add optional count prefix arg. (Bug#14563)
9406
9407 * international/isearch-x.el
9408 (isearch-process-search-multibyte-characters):
9409 Add optional count prefix arg.
9410
9411 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9412
9413 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9414 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9415 lexical-binding.
9416
9417 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9418
9419 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9420
9421 2013-06-13 Glenn Morris <rgm@gnu.org>
9422
9423 * startup.el (tty-handle-args):
9424 Don't just discard "--" and anything after. (Bug#14608)
9425
9426 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9427
9428 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9429
9430 Implement changes in Secret Service API. Make it backward compatible.
9431 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9432 (secrets-create-item): Use it. Prefix properties with interface.
9433
9434 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9435
9436 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9437 (term-emulate-terminal): Respect term-suppress-hard-newline.
9438
9439 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9440
9441 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9442 Only remove a `thumb-file' overlay. (Bug#14548)
9443
9444 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9445
9446 * mail/reporter.el (reporter-submit-bug-report):
9447 Handle missing package-name. (Bug#14600)
9448
9449 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9450
9451 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9452 (reftex-citation-prompt, reftex-default-bibliography)
9453 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9454 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9455 (reftex-bib-sort-author, reftex-bib-sort-year)
9456 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9457 (reftex-extract-bib-entries-from-thebibliography)
9458 (reftex-get-bibkey-default, reftex-get-bib-names)
9459 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9460 (reftex-format-bib-entry, reftex-parse-bibitem)
9461 (reftex-format-bibitem, reftex-do-citation)
9462 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9463 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9464 (reftex-insert-bib-matches, reftex-format-citation)
9465 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9466 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9467 existing comments into docstrings.
9468
9469 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9470
9471 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9472
9473 2013-06-12 Andreas Schwab <schwab@suse.de>
9474
9475 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9476 for auto-save files.
9477
9478 2013-06-12 Glenn Morris <rgm@gnu.org>
9479
9480 * ido.el (ido-delete-ignored-files): Remove.
9481 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9482 Go back to calling ido-ignore-item-p directly.
9483
9484 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9485
9486 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9487
9488 * ido.el (ido-delete-ignored-files): New function,
9489 split from ido-make-file-list-1.
9490 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9491 (ido-make-file-list-1): Use ido-delete-ignored-files.
9492
9493 2013-06-12 Leo Liu <sdl.web@gmail.com>
9494
9495 * progmodes/octave.el (inferior-octave-startup)
9496 (inferior-octave-completion-table)
9497 (inferior-octave-track-window-width-change)
9498 (octave-eldoc-function-signatures, octave-help)
9499 (octave-find-definition): Use single quoted strings.
9500 (inferior-octave-startup-args): Change default value.
9501 (inferior-octave-startup): Do not hard code "-i" and
9502 "--no-line-editing".
9503 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9504 (inferior-octave-directory-tracker): Use it.
9505 (octave-goto-function-definition): Robustify.
9506 (octave-help): Support highlighting operators in 'See also'.
9507 (octave-find-definition): Find subfunctions only in Octave mode.
9508
9509 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9510
9511 * help-fns.el (help-fns--compiler-macro): If the handler function is
9512 named, then put a link to it.
9513 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9514 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9515 (cl-typep): Use it.
9516 (cl-eval-when): Simplify debug spec.
9517 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9518 compiler-macro function instead of setting `compiler-macro-file'.
9519
9520 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9521
9522 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9523 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9524
9525 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9526 Daniel Hackney <dan@haxney.org>
9527
9528 First part of Daniel Hackney's patch to package.el.
9529 * emacs-lisp/package.el: Use defstruct.
9530 (package-desc): New, main struct.
9531 (package--bi-desc, package--ac-desc): New structs, used to describe the
9532 format in external files.
9533 (package-desc-vers): Replace with package-desc-version accessor.
9534 (package-desc-doc): Replace with package-desc-summary accessor.
9535 (package-activate-1): Remove `package' arg since the pkg-vec now
9536 includes the name.
9537 (define-package): Use package-desc-from-define.
9538 (package-unpack-single): Change file-name arg to be a symbol.
9539 (package--add-to-archive-contents): Use package-desc-create and new
9540 accessor functions to package--ac-desc.
9541 (package-buffer-info, package-tar-file-info): Return a package-desc.
9542 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9543 arg to be a package-desc.
9544 (package-install-file): Adjust accordingly. Use \' to match EOS.
9545 (package--from-builtin): New function.
9546 (describe-package-1, package-menu--generate): Use it.
9547 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9548 (package-generate-autoloads): Idem and return the name of the file.
9549 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9550 Change pkg-info arg to be a package-desc.
9551 Use package-make-ac-desc.
9552 (package-upload-file): Use \' to match EOS.
9553 * finder.el (finder-compile-keywords): Use package-make-builtin.
9554
9555 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9556
9557 * vc/vc.el (vc-deduce-fileset): Change error message.
9558 (vc-read-backend): New function.
9559 (vc-next-action): Use it.
9560
9561 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9562
9563 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9564 (prolog-font-lock-keywords): Use regexp-opt instead.
9565 Don't manually highlight strings.
9566 (prolog-mode-variables): Simplify comment-start-skip.
9567 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9568
9569 * emacs-lisp/generic.el (generic--normalise-comments)
9570 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9571 (generic-mode-set-comments): Use them.
9572 (generic-bracket-support): Use setq-local.
9573 (generic-make-keywords-list): Declare obsolete.
9574
9575 2013-06-11 Glenn Morris <rgm@gnu.org>
9576
9577 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9578 Prettify after setting font-lock-defaults. (Bug#14574)
9579
9580 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9581
9582 * replace.el (query-replace, occur-read-regexp-defaults-function)
9583 (replace-search):
9584 * subr.el (declare-function, number-sequence, local-set-key)
9585 (substitute-key-definition, locate-user-emacs-file)
9586 (with-silent-modifications, split-string, eval-after-load):
9587 Fix typos, remove unneeded backslashes and reflow some docstrings.
9588
9589 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9590
9591 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9592 default for Elisp files.
9593
9594 2013-06-11 Glenn Morris <rgm@gnu.org>
9595
9596 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9597 although define-derived-mode was doing this anyway. (Bug#14583)
9598
9599 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9600
9601 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9602 Fix make-variable-buffer-local call to refer to the correct variable.
9603
9604 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9605
9606 * eshell/em-term.el (eshell-visual-commands)
9607 (eshell-visual-subcommands, eshell-visual-options):
9608 Add summary line to docstrings. Add cross-references.
9609
9610 2013-06-10 Glenn Morris <rgm@gnu.org>
9611
9612 * epa.el (epa-read-file-name): New function. (Bug#14510)
9613 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9614
9615 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9616
9617 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9618 output redirection to be ignored with visual commands.
9619
9620 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9621
9622 * eshell/em-term.el (eshell-visual-command-p): New function.
9623 (eshell-term-initialize): Move long lambda to separate function
9624 eshell-visual-command-p.
9625 * eshell/em-dirs.el (eshell-dirs-initialise):
9626 * eshell/em-script.el (eshell-script-initialize):
9627 Add missing #' to lambda.
9628
9629 2013-06-08 Leo Liu <sdl.web@gmail.com>
9630
9631 * progmodes/octave.el (octave-add-log-current-defun): New function.
9632 (octave-mode): Set add-log-current-defun-function.
9633 (octave-goto-function-definition): Do not move point if not found.
9634 (octave-find-definition): Enhance to try subfunctions first.
9635
9636 2013-06-08 Glenn Morris <rgm@gnu.org>
9637
9638 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9639 (byte-compile-backward-char, byte-compile-backward-word):
9640 Improve previous change, to handle non-explicit nil.
9641
9642 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9643
9644 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9645 (smie--opener/closer-at-point): New function.
9646 (smie--matching-block-data): Use it. Don't match from right after an
9647 opener or right before a closer. Obey smie-blink-matching-inners.
9648 Don't signal a mismatch for repeated inners like "switch..case..case".
9649
9650 2013-06-07 Leo Liu <sdl.web@gmail.com>
9651
9652 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9653 to t. (Bug#14303)
9654 (octave-function-header-regexp): Fix. (Bug#14570)
9655 (octave-help-mode-finish-hook, octave-help-mode-finish):
9656 Remove. Just use temp-buffer-show-hook.
9657
9658 * newcomment.el (comment-search-backward): Revert last change.
9659 (Bug#14434)
9660
9661 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9662
9663 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9664
9665 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9666 through xargs, to avoid failure due to MS-Windows limitations on
9667 command-line length.
9668
9669 2013-06-06 Glenn Morris <rgm@gnu.org>
9670
9671 * font-lock.el (lisp-font-lock-keywords-2):
9672 Treat user-error like error.
9673
9674 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9675 (byte-compile-backward-char, byte-compile-backward-word):
9676 Handle explicit nil arguments. (Bug#14565)
9677
9678 2013-06-05 Alan Mackenzie <acm@muc.de>
9679
9680 * isearch.el (isearch-allow-prefix): New user option.
9681 (isearch-other-meta-char): Don't exit isearch when a prefix
9682 argument is typed whilst `isearch-allow-prefix' is non-nil.
9683 (Bug#9706)
9684
9685 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9686
9687 * autorevert.el (auto-revert-notify-handler): Use memq.
9688 Hide assertion failure.
9689
9690 * skeleton.el: Use cl-lib.
9691 (skeleton-further-elements): Use defvar-local.
9692 (skeleton-insert): Use cl-progv.
9693
9694 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9695
9696 * progmodes/prog-mode.el (prog-prettify-symbols)
9697 (prog-prettify-install): Update docstrings.
9698
9699 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9700
9701 * simple.el: Move all the prog-mode code to prog-mode.el.
9702 * progmodes/prog-mode.el: New file.
9703 * loadup.el: Add prog-mode.el.
9704
9705 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9706
9707 * simple.el (prog-prettify-symbols): Add version.
9708 (prog-prettify-install): Add convenience function to prettify symbols.
9709
9710 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9711 (perl--augmented-font-lock-keywords-1)
9712 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9713 variables and use it.
9714
9715 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9716 (cfengine3-mode): Remove unneeded variable and use it.
9717
9718 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9719 (lisp--augmented-font-lock-keywords-1)
9720 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9721 Remove unneeded variables and use it.
9722
9723 2013-06-05 João Távora <joaotavora@gmail.com>
9724
9725 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9726 to point when opening the connection. (Bug#14380)
9727
9728 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9729
9730 * subr.el (load-history-regexp, load-history-filename-element)
9731 (eval-after-load, after-load-functions, do-after-load-evaluation)
9732 (eval-next-after-load, display-delayed-warnings)
9733 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9734 definition of save-match-data.
9735 (overriding-local-map): Remove accidental obsolescence declaration.
9736
9737 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9738
9739 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9740
9741 Generalize symbol prettify support to prog-mode and implement it
9742 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9743 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9744 (prog--prettify-font-lock-compose-symbol)
9745 (prog-prettify-font-lock-symbols-keywords): New variables and
9746 functions to support symbol prettification.
9747 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9748 (lisp--augmented-font-lock-keywords-1)
9749 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9750 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9751 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9752 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9753 Implement prettify of -> => :: strings.
9754 * progmodes/perl-mode.el (perl-prettify-symbols)
9755 (perl--font-lock-compose-symbol)
9756 (perl--font-lock-symbols-keywords): Move to prog-mode.
9757 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9758 (perl-font-lock-keywords-1)
9759 (perl-font-lock-keywords-2): Remove explicit prettify support.
9760 (perl--augmented-font-lock-keywords)
9761 (perl--augmented-font-lock-keywords-1)
9762 (perl--augmented-font-lock-keywords-2, perl-mode):
9763 Implement prettify support.
9764
9765 2013-06-05 Leo Liu <sdl.web@gmail.com>
9766
9767 Re-implement smie matching block highlight using
9768 show-paren-data-function. (Bug#14395)
9769 * emacs-lisp/smie.el (smie-matching-block-highlight)
9770 (smie--highlight-matching-block-overlay)
9771 (smie--highlight-matching-block-lastpos)
9772 (smie-highlight-matching-block)
9773 (smie-highlight-matching-block-mode): Remove.
9774 (smie--matching-block-data-cache): New variable.
9775 (smie--matching-block-data): New function.
9776 (smie-setup): Use smie--matching-block-data for
9777 show-paren-data-function.
9778
9779 * progmodes/octave.el (octave-mode-menu): Fix.
9780 (octave-find-definition): Skip garbage lines.
9781
9782 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9783
9784 Fix compilation error with simultaneous dynamic+lexical scoping.
9785 Add warning when a defvar appears after the first let-binding.
9786 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9787 (byte-compile-close-variables): Initialize it.
9788 (byte-compile--declare-var): New function.
9789 (byte-compile-file-form-defvar)
9790 (byte-compile-file-form-define-abbrev-table)
9791 (byte-compile-file-form-custom-declare-variable): Use it.
9792 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9793 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9794 (byte-compile-bind): Handle dynamic bindings that shadow
9795 lexical bindings.
9796 (byte-compile-unbind): Make arg non-optional.
9797 (byte-compile-let): Simplify.
9798 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9799 (cconv--analyse-function, cconv-analyse-form): Populate it.
9800 Protect byte-compile-bound-variables to limit the scope of defvars.
9801 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9802 Remove unneeded rule for `declare'.
9803
9804 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9805 so as to avoid depending on cl-adjoin at run-time.
9806 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9807
9808 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9809 (macroexp--warn-and-return): Use it.
9810
9811 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9812
9813 * subr.el: Convert to lexical binding.
9814 (overriding-local-map): Make obsolete.
9815 (add-to-list): Doc fix. Add compiler macro.
9816 (read-key): Swap values of local maps.
9817
9818 2013-06-05 Leo Liu <sdl.web@gmail.com>
9819
9820 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9821
9822 2013-06-04 Leo Liu <sdl.web@gmail.com>
9823
9824 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9825 (compilation-auto-jump): Suppress the "Mark set" message to give
9826 way to exit message.
9827
9828 2013-06-04 Alan Mackenzie <acm@muc.de>
9829
9830 Remove faulty optimisation from indentation calculation.
9831 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9832 search limit based on 2000 characters back from indent-point.
9833
9834 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9835
9836 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9837
9838 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9839
9840 * emacs-lisp/lisp.el: Use lexical-binding.
9841 (lisp--local-variables-1, lisp--local-variables): New functions.
9842 (lisp--local-variables-completion-table): New var.
9843 (lisp-completion-at-point): Use it complete let-bound vars.
9844
9845 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9846 eagerly (bug#14422).
9847
9848 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9849
9850 * autorevert.el (auto-revert-notify-enabled)
9851 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9852 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9853 (auto-revert-notify-handler): Handle also gfilenotify.
9854
9855 * subr.el (file-notify-handle-event): New defun. Replacing ...
9856 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9857 Remove.
9858
9859 2013-06-03 Juri Linkov <juri@jurta.org>
9860
9861 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9862 `M-s h .'. (Bug#14427)
9863
9864 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9865 command `hi-lock-face-symbol-at-point'.
9866 (hi-lock-face-symbol-at-point): New command.
9867 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9868 (hi-lock-menu): Add `highlight-symbol-at-point'.
9869 (hi-lock-mode): Doc fix.
9870
9871 * isearch.el (isearch-forward-symbol-at-point): New command.
9872 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9873 (isearch-highlight-regexp): Add a regexp which matches
9874 words/symbols for word/symbol mode.
9875
9876 * subr.el (find-tag-default-bounds): New function with the body
9877 mostly moved from `find-tag-default'.
9878 (find-tag-default): Move most code to `find-tag-default-bounds',
9879 call it and apply `buffer-substring-no-properties' afterwards.
9880
9881 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9882
9883 * eshell/em-term.el (eshell-term-initialize):
9884 Use `cl-intersection' rather than `intersection'.
9885
9886 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9887
9888 * vc/log-view.el: Doc fix.
9889 (log-view-mode-map): Copy keymap from `special-mode-map'.
9890
9891 2013-06-02 Eric Ludlam <zappo@gnu.org>
9892
9893 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9894 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9895 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9896 (eieio-unbound, eieio-default-superclass)
9897 (eieio--define-field-accessors, method-static, method-before)
9898 (method-primary, method-after, method-num-lists)
9899 (method-generic-before, method-generic-primary)
9900 (method-generic-after, method-num-slots)
9901 (eieio-specialized-key-to-generic-key)
9902 (eieio--check-type, class-v, class-p)
9903 (eieio-class-name, define-obsolete-function-alias)
9904 (eieio-class-parents-fast, eieio-class-children-fast)
9905 (same-class-fast-p, class-constructor, generic-p)
9906 (generic-primary-only-p, generic-primary-only-one-p)
9907 (class-option-assoc, class-option, eieio-object-p)
9908 (class-abstract-p, class-method-invocation-order)
9909 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9910 (eieio-class-un-autoload, eieio-defclass)
9911 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9912 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9913 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9914 (eieio-defgeneric-reset-generic-form)
9915 (eieio-defgeneric-form-primary-only)
9916 (eieio-defgeneric-reset-generic-form-primary-only)
9917 (eieio-defgeneric-form-primary-only-one)
9918 (eieio-defgeneric-reset-generic-form-primary-only-one)
9919 (eieio-unbind-method-implementations)
9920 (eieio--defmethod, eieio--typep)
9921 (eieio-perform-slot-validation, eieio-validate-slot-value)
9922 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9923 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9924 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9925 (eieio-slot-name-index, eieio-class-slot-name-index)
9926 (eieio-set-defaults, eieio-initarg-to-attribute)
9927 (eieio-attribute-to-initarg, eieio-c3-candidate)
9928 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9929 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9930 (eieio-class-precedence-list, eieio-generic-call-methodname)
9931 (eieio-generic-call-arglst, eieio-generic-call-key)
9932 (eieio-generic-call-next-method-list)
9933 (eieio-pre-method-execution-functions, eieio-generic-call)
9934 (eieio-generic-call-primary-only, eieiomt-method-list)
9935 (eieiomt-optimizing-obarray, eieiomt-install)
9936 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9937 (eieio-generic-form, eieio-defmethod, make-obsolete)
9938 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9939 (defclass): Remove `eval-and-compile' from macro.
9940 (call-next-method, shared-initialize): Instead of using
9941 `scoped-class' variable, use new eieio--scoped-class, and
9942 eieio--with-scoped-class.
9943 (initialize-instance): Rename local variable 'scoped-class' to
9944 'this-class' to remove ambiguitity from old global.
9945
9946 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9947 eieio.el.
9948 (eieio--scoped-class-stack): New variable.
9949 (eieio--scoped-class): New fcn.
9950 (eieio--with-scoped-class): New scoping macro.
9951 (eieio-defclass): Use pushnew instead of add-to-list.
9952 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9953 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9954 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9955 `scoped-class' variable, use new eieio--scoped-class, and
9956 eieio--with-scoped-class.
9957
9958 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9959
9960 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9961
9962 * eshell/esh-ext.el (eshell-external-command): Pass args to
9963 `eshell-find-interpreter'.
9964 (eshell-find-interpreter): Add new second parameter ARGS.
9965
9966 * eshell/em-script.el (eshell-script-initialize): Add second arg
9967 to the function added as MATCH to `eshell-interpreter-alist'.
9968
9969 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9970 the function added as MATCH to `eshell-interpreter-alist'.
9971
9972 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9973 (eshell-visual-options): New defcustom.
9974 (eshell-escape-control-x): Adapt docstring.
9975 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9976 `eshell-visual-options' in addition to `eshell-visual-commands'.
9977 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9978
9979 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9980
9981 * progmodes/python.el (python-indent-block-enders): Add break,
9982 continue and raise keywords.
9983
9984 2013-06-01 Glenn Morris <rgm@gnu.org>
9985
9986 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9987
9988 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9989 * progmodes/cc-cmds.el (delete-forward-p):
9990 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9991 * progmodes/cc-engine.el (buffer-syntactic-context):
9992 * progmodes/cc-fonts.el (face-property-instance):
9993 * progmodes/cc-mode.el (set-keymap-parents):
9994 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9995 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9996 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9997 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9998 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9999
10000 * progmodes/cc-vars.el (other): Emacs has this widget since
10001 at least 21.1, so don't (re)define it.
10002
10003 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10004 Replace the obsolete alias pcomplete-arg-quote-list.
10005
10006 2013-06-01 Leo Liu <sdl.web@gmail.com>
10007
10008 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10009 punctuation syntax.
10010 (inferior-octave-minimal-columns)
10011 (inferior-octave-last-column-width): New variables.
10012 (inferior-octave-track-window-width-change): New function.
10013 (inferior-octave-mode): Adjust column width so that Octave output,
10014 for example from 'ls', can fit into the window nicely.
10015
10016 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10017
10018 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10019 Highlight expansions inside regexp literals.
10020
10021 2013-05-31 Glenn Morris <rgm@gnu.org>
10022
10023 * obsolete/sym-comp.el (symbol-complete):
10024 Replace obsolete completion-annotate-function.
10025
10026 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10027
10028 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10029
10030 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10031 New function, checks if point is inside a literal that allows
10032 expression expansion.
10033 (ruby-syntax-propertize-expansion): Use it.
10034 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10035 around the body.
10036
10037 2013-05-30 Juri Linkov <juri@jurta.org>
10038
10039 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10040 to "\M-si".
10041 (isearch-invisible): New variable.
10042 (isearch-forward): Doc fix.
10043 (isearch-mode): Set `isearch-invisible'
10044 to the value of `search-invisible'.
10045 (isearch-toggle-case-fold): Doc fix.
10046 (isearch-toggle-invisible): New command.
10047 (isearch-query-replace): Let-bind `search-invisible'
10048 to the value of `isearch-invisible'.
10049 (isearch-search): Use `isearch-invisible' instead of
10050 `search-invisible'. Let-bind `search-invisible'
10051 to the value of `isearch-invisible'. (Bug#11378)
10052
10053 2013-05-30 Juri Linkov <juri@jurta.org>
10054
10055 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10056 call when `query-flag' is nil and `search-invisible' is non-nil.
10057 (Bug#11746)
10058
10059 2013-05-30 Glenn Morris <rgm@gnu.org>
10060
10061 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10062
10063 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10064 (cc-require): Suppress spurious "noruntime" warnings.
10065 (cc-require-when-compile): Use fboundp, for sake of compiler.
10066
10067 * progmodes/cc-mode.el: Move load of cc-vars before that of
10068 cc-langs (which in turn loads cc-vars), to quieten compiler.
10069
10070 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10071
10072 * paren.el: Simplify the code.
10073 (show-paren-mode): Always start the timer.
10074 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10075 (show-paren--overlay, show-paren--overlay-1): Rename from
10076 show-paren-overlay and show-paren-overlay-1, and initialize to an
10077 overlay rather than to nil.
10078 (show-paren-function): Misc cleanup and simplifications.
10079
10080 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10081
10082 * paren.el (show-paren-data-function): New hook.
10083 (show-paren--default): New function, extracted from show-paren-function.
10084 (show-paren-function): Use show-paren-data-function.
10085
10086 2013-05-30 Glenn Morris <rgm@gnu.org>
10087
10088 * ielm.el (ielm-map, ielm-complete-symbol):
10089 Use completion-at-point rather than obsolete functions.
10090 (inferior-emacs-lisp-mode): Doc fix.
10091 Set completion-at-point-functions, rather than
10092 comint-dynamic-complete-functions.
10093
10094 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10095 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10096 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10097
10098 * image.el (image-animated-p): Tweak definition.
10099
10100 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10101 (rlogin-process-connection-type): Tweak default. Add set-after.
10102 (rlogin-host): Doc fix.
10103 (rlogin): Tweak prompt.
10104 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10105
10106 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10107 * progmodes/tcl.el (inferior-tcl-mode-map):
10108 Use completion-at-point rather than obsolete alias.
10109
10110 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10111
10112 * minibuffer.el (read-file-name-completion-ignore-case):
10113 Move before completion--in-region, for eager macro expansion.
10114
10115 2013-05-29 Juri Linkov <juri@jurta.org>
10116
10117 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10118 for total count of matching lines. Add `global-matches' for total
10119 count of matches. Rename `matches' to `lines' for count of
10120 matching lines. Add `matches' for count of matches.
10121 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10122 to `prev-line' for line number of prev match endpt.
10123 Increment `matches' for every match. Print the number of
10124 matching lines in the header.
10125 (occur-context-lines): Rename `lines' to `curr-line'.
10126 Rename `prev-lines' to `prev-line'. (Bug#14017)
10127
10128 2013-05-29 Juri Linkov <juri@jurta.org>
10129
10130 * replace.el (perform-replace): Add `skip-read-only-count',
10131 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10132 Increment them for corresponding conditions and report the number
10133 of skipped occurrences in the final message. (Bug#11746)
10134 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10135 (replace-string, replace-regexp): Doc fix.
10136
10137 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10138
10139 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10140
10141 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10142 prog-mode-map (bug#14504).
10143
10144 2013-05-29 Leo Liu <sdl.web@gmail.com>
10145
10146 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10147 (octave-help): Small simplification.
10148
10149 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10150 off the highlight first.
10151
10152 2013-05-29 Glenn Morris <rgm@gnu.org>
10153
10154 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10155 Handle idlwave-last-system-routine-info-cons-cell being nil.
10156
10157 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10158 (idlwave-write-paths): Simplify via with-temp-buffer.
10159
10160 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10161 * emulation/cua-rect.el: Also load cua-base at run time.
10162
10163 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10164 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10165 (cperl-imenu-on-info): Require imenu.
10166
10167 2013-05-28 Alan Mackenzie <acm@muc.de>
10168
10169 Handle "capitalised keywords" correctly.
10170 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10171
10172 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10173
10174 * eshell/em-unix.el: Add -r option to cp.
10175
10176 2013-05-28 Glenn Morris <rgm@gnu.org>
10177
10178 * vc/vc-arch.el (vc-exec-after): Declare.
10179 (vc-switches): Autoload.
10180 * vc/vc-bzr.el: No need to require vc when compiling.
10181 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10182 (vc-resynch-buffer, vc-dir-refresh): Declare.
10183 (vc-setup-buffer, vc-switches): Autoload.
10184 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10185 (vc-resynch-buffer): Declare.
10186 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10187 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10188 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10189 (grep-read-regexp, grep-read-files, grep-expand-template)
10190 (vc-dir-refresh): Declare.
10191 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10192 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10193 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10194 * vc/vc-mtn.el (vc-exec-after): Declare.
10195 (vc-switches): Autoload.
10196 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10197 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10198 (vc-file-tree-walk): Declare.
10199 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10200 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10201 (vc-tag-precondition, vc-rename-master): Autoload.
10202 * vc/vc-svn.el (vc-exec-after): Declare.
10203 (vc-switches, vc-setup-buffer): Autoload.
10204 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10205 Autoload.
10206 (vc-resynch-buffer): Declare.
10207
10208 * obsolete/fast-lock.el (byte-compile-warnings):
10209 Don't warn about obsolete features in this obsolete file.
10210
10211 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10212 Move definition before use.
10213
10214 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10215 (dun-unix-verbs): Remove dun-zippy.
10216 (dun-zippy): Remove function.
10217
10218 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10219
10220 2013-05-27 Juri Linkov <juri@jurta.org>
10221
10222 * replace.el (replace-search): New function with code moved out
10223 from `perform-replace'.
10224 (replace-highlight, replace-dehighlight): Move function definitions
10225 up closer to `replace-search'. (Bug#11746)
10226
10227 2013-05-27 Juri Linkov <juri@jurta.org>
10228
10229 * replace.el (perform-replace): Ignore invisible matches.
10230 In addition to checking `query-replace-skip-read-only', also
10231 filter out matches by calling `run-hook-with-args-until-failure'
10232 on `isearch-filter-predicates', and also check `search-invisible'
10233 for t or call `isearch-range-invisible'.
10234 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10235
10236 2013-05-27 Juri Linkov <juri@jurta.org>
10237
10238 * isearch.el (isearch-filter-predicates): Rename from
10239 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10240 (isearch-message-prefix): Display text from the property
10241 `isearch-message-prefix' of the currently active filters.
10242 (isearch-search): Don't compare `isearch-filter-predicate' with
10243 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10244 on `isearch-filter-predicates'. Also check `search-invisible' for t
10245 or call `isearch-range-invisible'.
10246 (isearch-filter-visible): Make obsolete.
10247 (isearch-lazy-highlight-search):
10248 Call `run-hook-with-args-until-failure' on
10249 `isearch-filter-predicates' and use `isearch-range-invisible'.
10250
10251 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10252 `isearch-filter-predicates' instead of `funcall'ing
10253 `isearch-filter-predicate'.
10254 (Info-mode): Set `Info-isearch-filter' to
10255 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10256
10257 * dired-aux.el (dired-isearch-filter-predicate-orig):
10258 Remove variable.
10259 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10260 (dired-isearch-filenames-end): Add and remove
10261 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10262 instead of changing the value of `isearch-filter-predicate'.
10263 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10264 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10265 Put property `isearch-message-prefix' to "filename " on
10266 `dired-isearch-filter-filenames'.
10267
10268 * wdired.el (wdired-change-to-wdired-mode):
10269 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10270 locally instead of changing `isearch-filter-predicate'.
10271 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10272
10273 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10274
10275 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10276 return the commit hash (Bug#14459). Also set the
10277 `vc-git-detached' property.
10278 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10279 (vc-git-mode-line-string): Use the same help-echo format whether
10280 in detached mode or not, because we know the actual revision now.
10281 When in detached mode, shorten the revision to 7 chars.
10282
10283 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10284
10285 * emacs-lisp/easy-mmode.el (define-minor-mode):
10286 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10287 mode hook and provide a docstring.
10288
10289 2013-05-27 Alan Mackenzie <acm@muc.de>
10290
10291 Remove spurious syntax-table text properties inserted by C-y.
10292 * progmodes/cc-mode.el (c-after-change): Also clear hard
10293 syntax-table property with value nil.
10294
10295 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10296
10297 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10298 when reading the events; the buffer layout shall not be changed.
10299
10300 2013-05-27 Leo Liu <sdl.web@gmail.com>
10301
10302 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10303 New variable.
10304 (inferior-octave-directory-tracker): Automatically re-sync
10305 default-directory.
10306 (octave-help): Improve handling of 'See also'.
10307
10308 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10309
10310 * doc-view.el: Minor naming convention tweaks.
10311 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10312
10313 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10314 even if there's no `display' property yet (bug#14435).
10315
10316 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10317
10318 * subr.el (unmsys--file-name): Rename from reveal-filename.
10319
10320 * Makefile.in (custom-deps, finder-data, autoloads)
10321 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10322 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10323 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10324
10325 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10326
10327 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10328 error-completion on the first 2 args of condition-case (bug#14446).
10329 Don't burp at EOB.
10330
10331 2013-05-25 Leo Liu <sdl.web@gmail.com>
10332
10333 * comint.el (comint-previous-matching-input): Do not flood the
10334 *Messages* buffer with trivial messages.
10335
10336 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10337
10338 * progmodes/flymake.el (flymake-nop): Don't return a string.
10339 (flymake-set-at): Fix typo.
10340
10341 * simple.el (read--expression): New function, extracted from
10342 eval-expression. Set completion-at-point-functions (bug#14465).
10343 (eval-expression, eval-minibuffer): Use it.
10344
10345 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10346
10347 * progmodes/flymake.el (flymake-save-buffer-in-file)
10348 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10349 (flymake-selected-frame, flymake-log, flymake-ins-after)
10350 (flymake-set-at, flymake-get-buildfile-from-cache)
10351 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10352 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10353 Refine the doc string.
10354 (flymake-get-file-name-mode-and-masks): Reformat.
10355 (flymake-get-real-file-name-function): Fix a minor bug.
10356
10357 2013-05-24 Juri Linkov <juri@jurta.org>
10358
10359 * progmodes/grep.el (grep-mode-font-lock-keywords):
10360 Support =linenumber= format used by git-grep for lines with
10361 function names. (Bug#13549)
10362
10363 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10364
10365 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10366 0 after a semi-colon; it works better for smie-auto-fill.
10367 (octave--indent-new-comment-line): New function.
10368 (octave-indent-new-comment-line): Use it (indirectly).
10369 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10370 modify comment-line-break-function.
10371
10372 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10373 (smie-setup): Use add-function to set it.
10374
10375 2013-05-24 Sam Steingold <sds@gnu.org>
10376
10377 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10378 argument (before the `interactive' argument).
10379
10380 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10381
10382 * image-mode.el (image-mode-winprops): Add winprops to
10383 image-mode-winprops-alist before running
10384 image-mode-new-window-functions.
10385 * doc-view.el (doc-view-new-window-function): Don't delay
10386 doc-view-goto-page via timers (bug#14435).
10387
10388 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10389
10390 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10391 (doc-view-desktop-save-buffer): New function.
10392 (doc-view-restore-desktop-buffer): New function.
10393 (desktop-buffer-mode-handlers):
10394 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10395 handler.
10396 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10397 `desktop-save-buffer' function.
10398
10399 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10400
10401 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10402 (tramp-gvfs-file-name-handler): Raise a user error when
10403 `tramp-gvfs-enabled' is nil.
10404 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10405 Do not raise a user error when loading package. (Bug#14447)
10406
10407 * net/xesam.el: Move to obsolete/.
10408
10409 2013-05-24 Glenn Morris <rgm@gnu.org>
10410
10411 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10412
10413 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10414
10415 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10416 (Info-find-node, Man-getpage-in-background): Declare.
10417
10418 * mail/unrmail.el (unrmail):
10419 Replace obsolete detect-coding-with-priority.
10420
10421 * net/socks.el (socks-split-string): Use this rather than split-string.
10422 (socks-nslookup-host): Update for above change.
10423 (dynamic-choice, s5-dynamic-choice-match)
10424 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10425 Comment out unused code.
10426
10427 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10428 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10429 (gud-tooltip-echo-area): Make obsolete.
10430 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10431
10432 * progmodes/js.el (js--optimize-arglist): Declare.
10433
10434 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10435
10436 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10437 (ediff-window-C): Declare.
10438
10439 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10440 Tweak requires to silence compiler.
10441
10442 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10443 (he-search-string, he-tried-table, he-expand-list)
10444 (he-init-string, he-string-member, he-substitute-string)
10445 (he-reset-string): Declare.
10446
10447 * obsolete/options.el (list-options): Use custom-variable-p,
10448 rather than obsolete alias.
10449
10450 2013-05-23 Sam Steingold <sds@gnu.org>
10451
10452 * simple.el (shell-command-on-region): Pass the `replace' argument
10453 down to `call-process-region' to comply with the doc as reported on
10454 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10455
10456 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10457
10458 * emacs-lisp/smie.el (smie-indent-forward-token)
10459 (smie-indent-backward-token): Handle string tokens (bug#14381).
10460
10461 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10462
10463 * ielm.el (ielm-menu): New menu.
10464 (inferior-emacs-lisp-mode): Set comment-start.
10465
10466 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10467
10468 * textmodes/reftex.el (reftex-ref-style-toggle):
10469 Fix deactivate action.
10470
10471 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10472 Add cleveref macros.
10473
10474 * textmodes/reftex-parse.el
10475 (reftex-locate-bibliography-files): Accept options for
10476 bibliography commands.
10477 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10478 Add addbibresource. Basic Biblatex support.
10479
10480 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10481
10482 * net/tramp-gvfs.el (top):
10483 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10484 when loading package. (Bug#14447)
10485
10486 2013-05-23 Glenn Morris <rgm@gnu.org>
10487
10488 * progmodes/js.el: No need to load comint when compiling.
10489 (ring-insert, comint-send-string, comint-send-input)
10490 (comint-last-input-end, ido-chop): Declare.
10491
10492 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10493 * vc/ediff-mult.el: Adjust requires.
10494 (ediff-directories-internal, ediff-directory-revisions-internal)
10495 (ediff-patch-file-internal): Declare.
10496 * vc/ediff-ptch.el: Adjust requires.
10497 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10498 (ediff-find-file): Autoload.
10499 * vc/ediff-util.el: No need to load ediff when compiling.
10500 (ediff-regions-internal): Declare.
10501 * vc/ediff-wind.el: Adjust requires.
10502 (ediff-compute-toolbar-width): Define when compiling.
10503 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10504 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10505 (dired-get-filename, dired-get-marked-files)
10506 (ediff-last-dir-patch, ediff-patch-default-directory)
10507 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10508 (ediff-patch-buffer-internal): Declare.
10509
10510 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10511 (ispell-process, ispell-buffer-local-words, lm-summary)
10512 (lm-section-start, lm-section-end): Declare.
10513 (checkdoc-ispell-init): Simplify.
10514
10515 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10516 (he-string-member, he-reset-string, he-substitute-string): Declare.
10517
10518 * eshell/em-ls.el: Adjust requires.
10519 (eshell-glob-regexp): Declare.
10520 * eshell/em-tramp.el: Adjust requires.
10521 (eshell-parse-command): Autoload.
10522 * eshell/em-xtra.el: Adjust requires.
10523 (eshell-parse-command): Autoload.
10524 * eshell/esh-ext.el: Adjust requires.
10525 (eshell-parse-command, eshell-close-handles): Autoload.
10526 * eshell/esh-io.el: Adjust requires.
10527 (eshell-output-filter): Autoload.
10528 * eshell/esh-util.el: No need to load tramp when compiling.
10529 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10530 Declare.
10531 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10532 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10533 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10534 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10535 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10536 * eshell/esh-opt.el, eshell/esh-proc.el:
10537 * eshell/esh-var.el: Adjust requires.
10538 * eshell/eshell.el: Do not require esh-util twice.
10539 (eshell-add-input-to-history): Declare.
10540 (eshell-command): Check history module is active before using it.
10541
10542 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10543
10544 2013-05-22 Leo Liu <sdl.web@gmail.com>
10545
10546 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10547
10548 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10549
10550 * autorevert.el (auto-revert-notify-add-watch)
10551 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10552 it indicates changes in file modification time.
10553
10554 2013-05-22 Glenn Morris <rgm@gnu.org>
10555
10556 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10557 Always delete the autoloaded function from the noruntime and
10558 unresolved functions lists.
10559
10560 * allout.el: No need to load epa, epg, overlay when compiling.
10561 (epg-context-set-passphrase-callback, epg-list-keys)
10562 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10563 (epg-key-user-id-list): Declare.
10564
10565 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10566 (viper-set-parsing-style-toggling-macro)
10567 (viper-set-emacs-state-searchstyle-macros):
10568 Use called-interactively-p on Emacs.
10569 (viper-looking-back): Make it an obsolete alias. Update callers.
10570 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10571 Use looking-back rather than viper-looking-back.
10572 (viper-tmp-insert-at-eob, viper-enlarge-region)
10573 (viper-read-string-with-history, viper-register-to-point)
10574 (viper-append-to-register, viper-change-state-to-vi)
10575 (viper-backward-char-carefully, viper-forward-char-carefully)
10576 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10577 (viper-change-state-to-emacs): Declare.
10578 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10579 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10580 * emulation/viper-mous.el: Do not load viper-cmd.
10581 (viper-backward-char-carefully, viper-forward-char-carefully)
10582 (viper-forward-word, viper-adjust-window): Declare.
10583
10584 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10585
10586 * progmodes/idlw-help.el (idlwave-help-fontify):
10587 Use called-interactively-p.
10588
10589 * term/w32console.el (w32-get-console-codepage)
10590 (w32-get-console-output-codepage): Declare.
10591
10592 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10593 Remove unnecessary declarations.
10594 (dframe-message): Doc fix.
10595
10596 * info.el (dframe-select-attached-frame, dframe-current-frame):
10597 Declare.
10598
10599 * speedbar.el (speedbar-message): Make it an obsolete alias.
10600 Update all callers.
10601 (speedbar-with-attached-buffer)
10602 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10603 (speedbar-with-writable): Use backquote.
10604 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10605 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10606 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10607 rather than speedbar- aliases.
10608 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10609 (speedbar-make-specialized-keymap, speedbar-insert-button)
10610 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10611 (speedbar-do-function-pointer): Declare.
10612 (rmail-speedbar-button, rmail-speedbar-find-file)
10613 (rmail-speedbar-move-message):
10614 Use dframe-with-attached-buffer rather than speedbar- alias.
10615 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10616 (dframe-message, speedbar-make-specialized-keymap)
10617 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10618 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10619 (speedbar-insert-button, dframe-select-attached-frame)
10620 (dframe-maybee-jump-to-attached-frame)
10621 (speedbar-change-initial-expansion-list)
10622 (speedbar-previously-used-expansion-list-name): Declare.
10623 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10624 Use dframe-message, dframe-with-attached-buffer rather than
10625 speedbar- aliases.
10626 (gud-sentinel): Silence compiler.
10627 * progmodes/vhdl-mode.el (speedbar-refresh)
10628 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10629 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10630 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10631 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10632 (speedbar-file-lists, speedbar-make-tag-line)
10633 (speedbar-line-directory, speedbar-goto-this-file)
10634 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10635 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10636 (speedbar-make-button, speedbar-reset-scanners)
10637 (speedbar-files-item-info, speedbar-line-text)
10638 (speedbar-find-file-in-frame, speedbar-set-timer)
10639 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10640 (speedbar-with-writable): Do not (re)define it.
10641 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10642 rather than speedbar- alias.
10643
10644 2013-05-21 Leo Liu <sdl.web@gmail.com>
10645
10646 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10647 menu items.
10648 (octave-mode): Tweak fill-nobreak-predicate.
10649 (inferior-octave-startup): Check process to avoid infinite loop.
10650 (inferior-octave): Pop to buffer first to show abornmal process
10651 exit information.
10652
10653 2013-05-21 Glenn Morris <rgm@gnu.org>
10654
10655 * printing.el (pr-menu-bar): Define when compiling.
10656
10657 2013-05-21 Leo Liu <sdl.web@gmail.com>
10658
10659 * progmodes/octave.el (octave-auto-fill): Remove.
10660 (octave-indent-new-comment-line): Improve.
10661 (octave-mode): Use auto fill mode through
10662 comment-line-break-function and fill-nobreak-predicate.
10663 (octave-goto-function-definition): Support DEFUN_DLD.
10664 (octave-beginning-of-defun): Small tweak.
10665 (octave-help): Show parent directory.
10666
10667 2013-05-21 Glenn Morris <rgm@gnu.org>
10668
10669 * files.el (dired-unmark):
10670 * progmodes/gud.el (gdb-input): Update declarations.
10671
10672 * calculator.el (electric, ehelp): No need to load when compiling.
10673 (Electric-command-loop, electric-describe-mode): Declare.
10674
10675 * doc-view.el (doc-view-current-converter-processes): Move before use.
10676
10677 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10678 Move MODE-set-explicitly definition before use.
10679
10680 * international/mule-diag.el (mule-diag):
10681 Don't use obsolete window-system-version.
10682
10683 * mail/feedmail.el (smtpmail): No need to load when compiling.
10684 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10685
10686 * mail/mail-utils.el (rfc822): No need to load when compiling.
10687 (rfc822-addresses): Autoload it.
10688 (mail-strip-quoted-names): Trivial simplification.
10689
10690 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10691 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10692
10693 * net/snmp-mode.el (tempo): Don't duplicate requires.
10694
10695 * progmodes/prolog.el (info): No need to load when compiling.
10696 (comint): Require before shell requires it.
10697 (Info-goto-node): Autoload it.
10698 (Info-follow-nearest-node): Declare.
10699 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10700
10701 * textmodes/artist.el (picture-mode-exit): Declare.
10702
10703 * textmodes/reftex-parse.el (reftex-parse-from-file):
10704 Trivial rewrite so the compiler can parse it better.
10705
10706 2013-05-20 Leo Liu <sdl.web@gmail.com>
10707
10708 * progmodes/octave.el (octave-help-mode-map)
10709 (octave-help-mode-finish-hook): New variables.
10710 (octave-help-mode, octave-help-mode-finish): New functions.
10711 (octave-help): Use octave-help-mode.
10712
10713 2013-05-20 Glenn Morris <rgm@gnu.org>
10714
10715 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10716
10717 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10718
10719 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10720 start at point, so that expansion starting right after opening
10721 slash in a regexp is recognized.
10722 (ruby-syntax-before-regexp-re): New defvar, extracted from
10723 ruby-syntax-propertize-function. Since the value of this regexp
10724 is looked up at runtime now, we should be able to turn
10725 `ruby-syntax-methods-before-regexp' into a defcustom later.
10726 (ruby-syntax-propertize-function): Split regexp matching into two
10727 parts, for opening and closing slashes. That allows us to skip
10728 over string interpolations and support multiline regexps.
10729 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10730 for them, which calls `ruby-syntax-propertize-expansion'.
10731 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10732 call to `ruby-syntax-propertize-function'.
10733 (ruby-syntax-propertize-expansion): Extracted from
10734 `ruby-syntax-propertize-expansions'. Handles one expansion.
10735 (ruby-syntax-propertize-percent-literal): Leave point right after
10736 the percent symbol, so that the expression expansion rule can
10737 propertize the contents.
10738 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10739 heredoc openers.
10740 (ruby-syntax-propertize-expansions): Remove.
10741
10742 2013-05-18 Juri Linkov <juri@jurta.org>
10743
10744 * man.el (Man-default-man-entry): Remove `-' from the end
10745 of the default value. (Bug#14400)
10746
10747 2013-05-18 Glenn Morris <rgm@gnu.org>
10748
10749 * comint.el (comint-password-prompt-regexp):
10750 Allow "password for XXX" where XXX contains colons (eg https://...).
10751
10752 2013-05-18 Leo Liu <sdl.web@gmail.com>
10753
10754 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10755 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10756 (octave-source-directories): Don't check process.
10757 (octave-source-directories, octave-find-definition): Doc fix.
10758
10759 2013-05-18 Glenn Morris <rgm@gnu.org>
10760
10761 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10762 Remove backspace/delete bindings. (Bug#14392)
10763
10764 * cus-dep.el (custom-make-dependencies): Sort the output.
10765 (custom-versions-load-alist): Convert comment to doc.
10766
10767 2013-05-17 Leo Liu <sdl.web@gmail.com>
10768
10769 * newcomment.el (comment-search-backward): Stricter in finding
10770 comment start. (Bug#14303)
10771
10772 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10773 (octave-comment-start-skip): Properly anchored.
10774
10775 2013-05-17 Leo Liu <sdl.web@gmail.com>
10776
10777 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10778 Clean up when turned off. (Bug#14395)
10779 (smie--highlight-matching-block-overlay): No longer buffer-local.
10780 (smie-highlight-matching-block): Adjust.
10781
10782 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10783
10784 Doc string fix for "nanoseconds" (Bug#14406).
10785 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10786 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10787
10788 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10789
10790 * calc/calc-units.el (math-extract-units): Preserve powers
10791 of units.
10792
10793 2013-05-17 Leo Liu <sdl.web@gmail.com>
10794
10795 * subr.el (delete-consecutive-dups): New function.
10796 * ido.el (ido-set-matches-1): Use it.
10797 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10798 * ido.el (ido-remove-consecutive-dups): Remove.
10799
10800 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10801
10802 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10803 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10804 regexp-opt's `words'.
10805
10806 2013-05-16 Leo Liu <sdl.web@gmail.com>
10807
10808 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10809 (smie--highlight-matching-block-overlay)
10810 (smie--highlight-matching-block-lastpos)
10811 (smie--highlight-matching-block-timer): New variables.
10812 (smie-highlight-matching-block): New function.
10813 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10814 (smie-setup): Conditionally enable smie-blink-matching-open.
10815
10816 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10817
10818 Sync with upstream verilog-mode r840.
10819 * progmodes/verilog-mode.el (verilog-mode-version)
10820 (verilog-mode-release-date): Update.
10821 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10822 (verilog-sig-tieoff): Fix string error on
10823 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10824 (verilog-read-decls): Fix parameters confusing
10825 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10826
10827 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10828
10829 * subr.el (reveal-filename): New function.
10830
10831 * loadup.el: Compute Emacs executable versions on MS-Windows,
10832 where executables have the .exe extension. Add a hard link
10833 emacs-XX.YY.ZZ.exe on MS-Windows.
10834
10835 * Makefile.in (XARGS_LIMIT): New variable.
10836 (custom-deps, finder-data, autoloads)
10837 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10838 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10839 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10840 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10841
10842 2013-05-16 Leo Liu <sdl.web@gmail.com>
10843
10844 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10845 (octave-mode-menu, octave-mode-map): Remove its uses.
10846
10847 2013-05-16 Reto Zimmermann <reto@gnu.org>
10848
10849 Sync with upstream vhdl mode v3.34.2.
10850 * progmodes/vhdl-mode.el: Use `push' throughout.
10851 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10852 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10853 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10854 (vhdl-actual-generic-name): New option to derive actual generic name.
10855 (vhdl-port-paste-signals): Replace formal by actual generics.
10856 (vhdl-beautify): New name for old group vhdl-align. Update users.
10857 (vhdl-beautify-options): New option.
10858 (vhdl-last-input-event): New compat alias. Use throughout.
10859 (vhdl-goto-line): Replace user level function `goto-line'.
10860 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10861 vhdl-fix-statement-buffer.
10862 (vhdl-create-mode-menu): Add some entries.
10863 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10864 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10865 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10866 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10867 to force statements on one line.
10868 (vhdl-remove-trailing-spaces-region):
10869 New, split from vhdl-remove-trailing-spaces.
10870 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10871 Respect vhdl-beautify-options.
10872 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10873 (vhdl-update-sensitivity-list): Not add with index if exists without.
10874 Not include array index with signal. Ignore keywords in comments.
10875 (vhdl-get-visible-signals): Regexp tweaks.
10876 (vhdl-template-component-inst): Handle empty library.
10877 (vhdl-template-type): Add template for 'enum' type.
10878 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10879 Use vhdl-replace-string.
10880 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10881 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10882 (vhdl-speedbar-initialize): Update for above name change.
10883 (vhdl-compose-wire-components): Fix in handling of constants.
10884 (vhdl-error-regexp-emacs-alist): New variable.
10885 (vhdl-error-regexp-add-emacs): New function;
10886 adds support for new compile.el (Emacs 22+)
10887 (vhdl-generate-makefile-1): Change target order for single lib. units.
10888 Allow use of absolute file names.
10889
10890 2013-05-16 Leo Liu <sdl.web@gmail.com>
10891
10892 * simple.el (prog-indent-sexp): Indent enclosing defun.
10893
10894 2013-05-15 Glenn Morris <rgm@gnu.org>
10895
10896 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10897 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10898 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10899 (whitespace-highlight): Move to whitespace group.
10900
10901 * comint.el (comint-source):
10902 * pcmpl-linux.el (pcmpl-linux):
10903 * shell.el (shell-faces):
10904 * eshell/esh-opt.el (eshell-opt):
10905 * international/ccl.el (ccl): Remove empty custom groups.
10906
10907 * completion.el (dynamic-completion-mode):
10908 * jit-lock.el (jit-lock-debug-mode):
10909 * minibuffer.el (completion-in-region-mode):
10910 * type-break.el (type-break-mode-line-message-mode)
10911 (type-break-query-mode):
10912 * emulation/tpu-edt.el (tpu-edt-mode):
10913 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10914 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10915 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10916
10917 * term/xterm.el (xterm): Change parent group to terminals.
10918
10919 * master.el (master): Remove empty custom group.
10920 (master-mode): Remove unused :group argument.
10921 * textmodes/refill.el (refill): Remove empty custom group.
10922 (refill-mode): Remove unused :group argument.
10923
10924 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10925
10926 * cus-dep.el: Provide a feature.
10927 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10928 Don't mistakenly ignore files whose basenames match a basename
10929 from preloaded-file-list (eg cedet/ede/simple.el).
10930 Add a fallback method for getting :group.
10931
10932 2013-05-15 Juri Linkov <juri@jurta.org>
10933
10934 * isearch.el (isearch-char-by-name): Rename from
10935 `isearch-insert-char-by-name'. Doc fix.
10936 (isearch-forward): Mention `isearch-char-by-name' in
10937 the docstring. (Bug#13348)
10938
10939 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10940 `exit-minibuffer' instead of
10941 `isearch-nonincremental-exit-minibuffer'.
10942 (isearch-edit-string): Remove mention of
10943 `isearch-nonincremental-exit-minibuffer' from docstring.
10944 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10945 (isearch-forward-exit-minibuffer)
10946 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10947
10948 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10949
10950 * loadup.el: Just use unversioned DOC.
10951
10952 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10953 literals as extending to EOB.
10954 (nxml-last-fontify-end): Remove unused variable.
10955 (nxml-after-change1): Use with-silent-modifications.
10956 (nxml-extend-after-change-region): Simplify.
10957 (nxml-extend-after-change-region1): Remove function.
10958 (nxml-after-change1): Don't adjust for dependent regions.
10959 (nxml-fontify-matcher): Simplify.
10960 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10961 (xmltok-add-dependent): Remove function.
10962 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10963 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10964 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10965 unclosed <[[, <?, comment, and other literals as extending to EOB.
10966 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10967 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10968 Remove functions.
10969 (rng-do-some-validation-1): Don't mark dependent regions.
10970 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10971 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10972 (nxml-clear-dependent-regions): Remove functions.
10973 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10974 (nxml-ensure-scan-up-to-date):
10975 Don't clear&mark dependent regions.
10976
10977 2013-05-15 Leo Liu <sdl.web@gmail.com>
10978
10979 * progmodes/octave.el (octave-goto-function-definition):
10980 Improve and fix callers.
10981
10982 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10983
10984 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10985 the setter (bug#14387).
10986
10987 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10988 surrounding group (bug#14402).
10989
10990 2013-05-14 Juri Linkov <juri@jurta.org>
10991
10992 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10993 (Bug#14390)
10994
10995 2013-05-14 Glenn Morris <rgm@gnu.org>
10996
10997 * progmodes/f90.el (f90-imenu-generic-expression):
10998 Fix typo in 2013-05-08 change. (Bug#14402)
10999
11000 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11001
11002 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11003 Remove signals for which replies are never received.
11004
11005 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11006
11007 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11008 (gdb-handler-alist, gdb-handler-number): Remove variables.
11009 (gdb-handler-list): New variable.
11010 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11011 (gdb-pending-handler-p, gdb-handle-reply)
11012 (gdb-remove-all-pending-triggers): New functions.
11013 (gdb-discard-unordered-replies): New defcustom.
11014 (gdb-handler): New defstruct.
11015 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11016 instead of gdb-pending-triggers. Update docstring.
11017 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11018 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11019 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11020 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11021 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11022 (gdb-frame-handler): Pending triggers are now automatically managed.
11023 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11024 Remove argument.
11025 (gdb-input): Automatically handles pending triggers. Update docstring.
11026 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11027 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11028 Update comments.
11029 (gdb-done-or-error): Now use gdb-handle-reply.
11030
11031 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11032
11033 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11034 gdb-debug-log.
11035
11036 2013-05-14 Glenn Morris <rgm@gnu.org>
11037
11038 * subr.el (user-emacs-directory-warning): New option.
11039 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11040
11041 2013-05-14 Leo Liu <sdl.web@gmail.com>
11042
11043 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11044 during redisplay.
11045 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11046 (octave-font-lock-texinfo-comment): Fix invalid search bound
11047 error: wrong side of point.
11048
11049 2013-05-14 Glenn Morris <rgm@gnu.org>
11050
11051 * progmodes/flymake.el (flymake-xml-program): New option.
11052 (flymake-xml-init): Use it.
11053
11054 * term/xterm.el: Provide a feature.
11055
11056 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11057
11058 2013-05-13 Glenn Morris <rgm@gnu.org>
11059
11060 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11061 Add compat aliases as a hack workaround. (Bug#14384)
11062
11063 2013-05-13 Leo Liu <sdl.web@gmail.com>
11064
11065 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11066 ###, and %!.
11067 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11068 C-M-q.
11069 (octave-comment-start-skip): Include %!.
11070 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11071
11072 2013-05-12 Leo Liu <sdl.web@gmail.com>
11073
11074 * progmodes/octave.el (inferior-octave-startup): Store the value
11075 of __octave_srcdir__ for octave-source-directories.
11076 (inferior-octave-check-process): New function refactored out of
11077 inferior-octave-send-list-and-digest.
11078 (octave-source-directories)
11079 (octave-find-definition-filename-function): New variables.
11080 (octave-source-directories)
11081 (octave-find-definition-default-filename): New functions.
11082 (octave-find-definition): Improve to find functions implemented in C++.
11083
11084 2013-05-12 Glenn Morris <rgm@gnu.org>
11085
11086 * calendar/diary-lib.el (diary-outlook-format-1):
11087 Don't include dayname in the output. (Bug#14349)
11088
11089 2013-05-11 Glenn Morris <rgm@gnu.org>
11090
11091 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11092
11093 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11094 Treat cc-provide like provide.
11095
11096 2013-05-11 Kevin Ryde <user42@zip.com.au>
11097
11098 * cus-dep.el (custom-make-dependencies):
11099 Use generated-autoload-load-name for the sake of files such
11100 such cedet/semantic/bovine/c.el, where the base file name
11101 is not in load-path. (Bug#5277)
11102
11103 2013-05-11 Glenn Morris <rgm@gnu.org>
11104
11105 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11106 Provide features.
11107
11108 2013-05-11 Leo Liu <sdl.web@gmail.com>
11109
11110 * progmodes/octave.el (octave-indent-comment): Improve.
11111 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11112 (octave-eldoc-function-signatures, octave-eldoc-function):
11113 New functions.
11114 (octave-mode, inferior-octave-mode): Add eldoc support.
11115
11116 2013-05-11 Richard Stallman <rms@gnu.org>
11117
11118 * epa.el (epa-decrypt-file): Take output file name as argument
11119 and read it using `interactive'.
11120
11121 2013-05-11 Leo Liu <sdl.web@gmail.com>
11122
11123 * progmodes/octave.el (octave-beginning-of-line)
11124 (octave-end-of-line): Check before using up-list because it jumps
11125 out of more syntactic contructs since moving to smie.
11126 (octave-indent-comment): New function.
11127 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11128 (octave-begin-keywords, octave-end-keywords)
11129 (octave-reserved-words, octave-smie-bnf-table)
11130 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11131
11132 2013-05-11 Glenn Morris <rgm@gnu.org>
11133
11134 * faces.el (internal-face-x-get-resource):
11135 * frame.el (ns-display-monitor-attributes-list):
11136 * calc/calc-aent.el (math-to-radians-2):
11137 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11138 Fix declarations.
11139
11140 * calc/calc-menu.el: Make it loadable in isolation.
11141
11142 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11143 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11144 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11145 (eudc-bbdb-query-internal): Require 'bbdb.
11146
11147 * lpr.el (lpr-headers-switches):
11148 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11149
11150 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11151
11152 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11153
11154 * term.el (term-set-escape-char): Make it idempotent.
11155
11156 2013-05-10 Leo Liu <sdl.web@gmail.com>
11157
11158 * progmodes/octave.el (inferior-octave-completion-table):
11159 No longer a function and all uses changed. Use cache to speed up
11160 completion due to bug#11906.
11161 (octave-beginning-of-defun): Re-write to be more general.
11162
11163 2013-05-10 Glenn Morris <rgm@gnu.org>
11164
11165 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11166
11167 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11168
11169 * comint.el (comint-redirect-send-command-to-process): Use :around
11170 rather than :override for comint-redirect-filter.
11171 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11172 Call it instead of comint-redirect-original-filter-function (which
11173 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11174
11175 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11176
11177 * frame.el (display-monitor-attributes-list): Add NS case.
11178 (ns-display-monitor-attributes-list): Declare.
11179
11180 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11181
11182 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11183
11184 2013-05-09 Glenn Morris <rgm@gnu.org>
11185
11186 * international/fontset.el (vertical-centering-font-regexp):
11187 Set standard-value.
11188
11189 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11190
11191 * bookmark.el (bookmark-search-delay):
11192 * cus-start.el (vertical-centering-font-regexp):
11193 * ps-mule.el (ps-mule-font-info-database-default):
11194 * ps-print.el (ps-default-fg, ps-default-bg):
11195 * type-break.el (type-break-good-break-interval):
11196 * whitespace.el (whitespace-indentation-regexp)
11197 (whitespace-space-after-tab-regexp):
11198 * emacs-lisp/testcover.el (testcover-1value-functions)
11199 (testcover-noreturn-functions, testcover-progn-functions)
11200 (testcover-prog1-functions):
11201 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11202 * eshell/em-glob.el (eshell-glob-translate-alist):
11203 * play/tetris.el (tetris-tty-colors):
11204 * progmodes/cpp.el (cpp-face-default-list):
11205 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11206 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11207 (idlwave-help-browser-generic-args):
11208 * progmodes/make-mode.el (makefile-special-targets-list):
11209 * progmodes/python.el (python-shell-virtualenv-path):
11210 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11211 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11212 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11213 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11214 * textmodes/reftex-vars.el (reftex-format-label-function):
11215 * textmodes/remember.el (remember-diary-file): Fix custom types.
11216
11217 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11218 Add :version.
11219
11220 2013-05-09 Leo Liu <sdl.web@gmail.com>
11221
11222 * progmodes/octave.el (inferior-octave-completion-at-point):
11223 Restore file completion. (Bug#14300)
11224 (inferior-octave-startup): Fix incorrect highlighting for the
11225 first prompt.
11226
11227 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11228
11229 * progmodes/ruby-mode.el: First cut at SMIE support.
11230 (ruby-use-smie): New var.
11231 (ruby-smie-grammar): New constant.
11232 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11233 (ruby-smie--forward-token, ruby-smie--backward-token)
11234 (ruby-smie-rules): New functions.
11235 (ruby-mode-variables): Setup SMIE if applicable.
11236
11237 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11238
11239 * simple.el (line-move-visual): Signal beginning/end of buffer
11240 only if vertical-motion moved less than it was requested. Avoids
11241 silly incorrect error messages when there are display strings with
11242 multiple newlines at EOL.
11243
11244 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11245
11246 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11247 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11248 (prolog-char-quote-workaround):
11249 * progmodes/cperl-mode.el (cperl-under-as-char):
11250 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11251 Mark as obsolete.
11252 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11253 their declaration.
11254 (vhdl-mode-syntax-table-init): Remove.
11255
11256 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11257 last change.
11258
11259 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11260 syntax for "_".
11261 (ld-script-font-lock-keywords):
11262 Change regexps to use things like \_< and \_>.
11263
11264 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11265 Change all regexps to use things like \_< and \_>.
11266
11267 * progmodes/autoconf.el (autoconf-definition-regexp)
11268 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11269 Handle a _ with symbol syntax.
11270 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11271
11272 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11273 Consolidate declaration.
11274 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11275 the declaration.
11276 (ada-create-syntax-table): Remove.
11277 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11278 already has the right syntax nowadays.
11279 (ada-goto-next-word): Don't change the syntax of "_".
11280
11281 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11282 with-wrapper-hook.
11283
11284 2013-05-08 Sam Steingold <sds@gnu.org>
11285
11286 * thingatpt.el (thing-at-point): Accept optional second argument
11287 NO-PROPERTIES to strip the text properties from the return value.
11288 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11289 to `thing-at-point' instead of stripping the properties ourselves.
11290 Also, when `thing-at-point' fails to find a url, prepend "http://"
11291 to the filename at point on the assumption that the user is
11292 pointing at something like gnu.org/gnu.
11293
11294 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11295
11296 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11297 * faces.el (crm-separator):
11298 Silence byte-compiler.
11299
11300 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11301 (tool-bar-map): Remove unneeded defvars.
11302
11303 2013-05-08 Leo Liu <sdl.web@gmail.com>
11304
11305 Re-work a fix for bug#10994 based on Le Wang's patch.
11306 * ido.el (ido-remove-consecutive-dups): New helper.
11307 (ido-completing-read): Use it.
11308 (ido-chop): Revert fix for bug#10994.
11309
11310 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11311
11312 * cus-edit.el (custom-save-variables):
11313 Pretty-print long values. (Bug#14187)
11314
11315 2013-05-08 Glenn Morris <rgm@gnu.org>
11316
11317 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11318 (m4-mode-syntax-table): Init in the defvar.
11319 (m4-mode-abbrev-table): Let define-derived-mode define it.
11320
11321 2013-05-08 Tom Tromey <tromey@redhat.com>
11322
11323 * progmodes/m4-mode.el (m4-mode-syntax-table):
11324 Do not treat "_" as word constituent. (Bug#14167)
11325
11326 2013-05-07 Glenn Morris <rgm@gnu.org>
11327
11328 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11329 Remove explicit eshell-isearch-cancel-map.
11330
11331 * progmodes/f90.el (f90-smart-end-names): New option.
11332 (f90-smart-end): Doc fix.
11333 (f90-end-block-optional-name): New constant.
11334 (f90-block-match): Respect f90-smart-end-names.
11335
11336 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11337
11338 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11339 about implicit semi-colons (bug#14218).
11340
11341 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11342
11343 * frame.el (display-monitor-attributes-list)
11344 (frame-monitor-attributes): New functions.
11345
11346 2013-05-06 Leo Liu <sdl.web@gmail.com>
11347
11348 * progmodes/octave.el (octave-syntax-propertize-function): Change
11349 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11350 (octave-font-lock-keywords): Use octave-operator-regexp.
11351 (octave-completion-at-point): Rename from
11352 octave-completion-at-point-function.
11353 (inferior-octave-directory-tracker): Robustify.
11354 (octave-text-functions): Remove and fix its uses. No such things
11355 any more.
11356
11357 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11358
11359 * emacs-lisp/trace.el (trace--display-buffer): New function.
11360 (trace-make-advice): Use it.
11361
11362 2013-05-06 Juri Linkov <juri@jurta.org>
11363
11364 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11365 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11366 Doc fix.
11367 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11368 in the help string. (Bug#12985)
11369
11370 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11371
11372 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11373
11374 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11375
11376 * progmodes/perl-mode.el: Add support for here documents.
11377 (perl-syntax-propertize-function): Match here-doc markers.
11378 (perl-syntax-propertize-special-constructs): Find their end.
11379 (perl-imenu-generic-expression): Use [:alnum:].
11380
11381 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11382 (advice--add-function): Refresh the advice if already present
11383 (bug#14317).
11384
11385 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11386
11387 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11388
11389 2013-05-06 Glenn Morris <rgm@gnu.org>
11390
11391 * w32-fns.el (w32-charset-info-alist): Declare.
11392
11393 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11394 of its defcustom properties.
11395 (eshell-cmpl-initialize): No need to load pcomplete.
11396
11397 * generic-x.el: No need to require comint when compiling.
11398
11399 * net/eudc-export.el: Make it loadable without bbdb.
11400 (top-level): Use require rather than load-library.
11401 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11402 (eudc-batch-export-records-to-bbdb)
11403 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11404 Require bbdb.
11405
11406 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11407
11408 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11409 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11410 some tweaks, instead.
11411
11412 2013-05-05 Leo Liu <sdl.web@gmail.com>
11413
11414 * progmodes/octave.el (octave-font-lock-keywords)
11415 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11416 (inferior-octave-send-list-and-digest): Improve error message.
11417 (octave-mode, inferior-octave-mode): Use setq-local.
11418 (octave-help): Set info-lookup-mode.
11419
11420 2013-05-05 Richard Stallman <rms@gnu.org>
11421
11422 * vc/compare-w.el (compare-windows-whitespace):
11423 Treat no-break space as whitespace.
11424
11425 * mail/rmailsum.el (rmail-summary-rmail-update):
11426 Detect empty summary and don't change selected message.
11427 (rmail-summary-goto-msg): Likewise.
11428
11429 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11430 Doc fixes, rename args.
11431
11432 2013-05-05 Alan Mackenzie <acm@muc.de>
11433
11434 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11435
11436 2013-05-05 Juri Linkov <juri@jurta.org>
11437
11438 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11439 to not add the length of the summary segment to the return value.
11440 (Bug#14125)
11441
11442 2013-05-05 Leo Liu <sdl.web@gmail.com>
11443
11444 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11445 (inferior-octave-output-filter): Remove.
11446 (octave-send-region, inferior-octave-startup): Fix callers.
11447 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11448 (octave-binary-file-extensions): New user variable.
11449 (octave-find-definition): Confirm if opening binary files.
11450 (octave-help-file): Use octave-find-definition to get the binary
11451 confirmation.
11452 (octave-help): Adjust for octave-help-file change.
11453
11454 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11455
11456 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11457 Merge the two entries that handle function definitions.
11458 (pascal--syntax-propertize): New const.
11459 (pascal-mode): Use it. Use setq-local.
11460
11461 2013-05-04 Glenn Morris <rgm@gnu.org>
11462
11463 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11464 (diary-from-outlook): Respect diary-from-outlook-function.
11465
11466 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11467
11468 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11469 Move the declaration from C.
11470 (read-minibuffer, eval-minibuffer): Move from C.
11471 (completion-setup-function): Avoid minibuffer-completion-contents.
11472
11473 2013-05-03 Leo Liu <sdl.web@gmail.com>
11474
11475 * progmodes/octave.el (octave-font-lock-keywords): Do not
11476 dehighlight 'end' in comments or strings.
11477 (octave-completing-read, octave-goto-function-definition):
11478 New helpers.
11479 (octave-help-buffer): New user variable.
11480 (octave-help-file, octave-help-function): New button types.
11481 (octave-help): New command and bind it to C-h ;.
11482 (octave-find-definition): New command and bind it to M-.
11483 (user-error): Alias to error if not defined.
11484
11485 2013-05-02 Leo Liu <sdl.web@gmail.com>
11486
11487 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11488 for \. (bug#14332)
11489 (octave-font-lock-keywords): Include [ and {.
11490
11491 2013-05-02 Leo Liu <sdl.web@gmail.com>
11492
11493 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11494 (inferior-octave): Remove calling comint-mode and return the buffer.
11495 (inferior-octave-startup): Cosmetic changes.
11496
11497 2013-05-02 Leo Liu <sdl.web@gmail.com>
11498
11499 * progmodes/octave.el (octave-syntax-propertize-function):
11500 Include the case when ' is at line beginning. (Bug#14336)
11501
11502 2013-05-02 Glenn Morris <rgm@gnu.org>
11503
11504 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11505 * desktop.el (vc-dir-mode): Just autoload it here.
11506
11507 2013-05-02 Alan Mackenzie <acm@muc.de>
11508
11509 Eliminate variable c-standard-font-lock-fontify-region-function.
11510 * progmodes/cc-mode.el
11511 (c-standard-font-lock-fontify-region-function): Remove.
11512 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11513
11514 2013-05-01 Leo Liu <sdl.web@gmail.com>
11515
11516 * progmodes/octave.el: Compatible with older emacs-24 releases.
11517 (inferior-octave-has-built-in-variables): Remove. Built-in
11518 variables were removed from Octave in 2007.
11519 (inferior-octave-startup): Fix uses.
11520 (comint-line-beginning-position): Remove compatibility code for
11521 emacs 21.
11522
11523 2013-05-01 Juri Linkov <juri@jurta.org>
11524
11525 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11526
11527 2013-05-01 Juri Linkov <juri@jurta.org>
11528
11529 * comint.el (comint-previous-matching-input): Don't print message
11530 "History item: %d" when `isearch-mode' is active.
11531 (comint-history-isearch-message): Print message "History item: %d"
11532 when `comint-input-ring-index' is not empty and this function is
11533 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11534
11535 2013-05-01 Leo Liu <sdl.web@gmail.com>
11536
11537 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11538 definitions. Use completion-at-point to insert keywords.
11539 (octave-abbrev-start): Remove.
11540 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11541
11542 2013-04-30 Leo Liu <sdl.web@gmail.com>
11543
11544 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11545 change.
11546
11547 2013-04-30 Alan Mackenzie <acm@muc.de>
11548
11549 Handle arbitrarily long C++ member initialisation lists.
11550 * progmodes/cc-engine.el (c-back-over-member-initializers):
11551 new function.
11552 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11553 (most) member init lists.
11554
11555 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11556
11557 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11558 variable.
11559
11560 2013-04-30 Leo Liu <sdl.web@gmail.com>
11561
11562 * progmodes/octave.el (octave-variables): Remove. No builtin
11563 variables any more. All converted to functions.
11564 (octave-font-lock-keywords, octave-completion-at-point-function):
11565 Fix uses.
11566 (octave-font-lock-texinfo-comment): New user variable.
11567 (octave-texinfo-font-lock-keywords): New variable for texinfo
11568 comment block.
11569 (octave-function-comment-block): New face.
11570 (octave-font-lock-texinfo-comment): New function.
11571 (octave-mode): Font lock texinfo comment block.
11572
11573 2013-04-29 Leo Liu <sdl.web@gmail.com>
11574
11575 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11576 indexing expression.
11577 (octave-continuation-string): Do not use \.
11578 (inferior-octave-complete-impossible): Remove.
11579 (inferior-octave-completion-table)
11580 (inferior-octave-completion-at-point): Remove its uses.
11581 (inferior-octave-startup): completion_matches was introduced to
11582 Octave in 1996 so safe to assume it.
11583 (octave-function-file-comment): Improve to follow how Octave does it.
11584 (octave-update-function-file-comment): Tweak.
11585
11586 2013-04-29 Leo Liu <sdl.web@gmail.com>
11587
11588 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11589 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11590 (octave-function-file-comment): Fix typo.
11591 (octave-sync-function-file-names): Use read-char-choice.
11592
11593 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11594
11595 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11596 to t for the less important warnings.
11597
11598 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11599
11600 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11601
11602 2013-04-27 Glenn Morris <rgm@gnu.org>
11603
11604 * vc/log-view.el (log-view-current-entry):
11605 Treat "---" separator lines as part of the following rev. (Bug#14169)
11606
11607 2013-04-27 Juri Linkov <juri@jurta.org>
11608
11609 * subr.el (read-number): Doc fix about using it by interactive
11610 code letter `n'. (Bug#14254)
11611
11612 2013-04-27 Juri Linkov <juri@jurta.org>
11613
11614 * desktop.el (desktop-auto-save-timeout): New option.
11615 (desktop-file-checksum): New variable.
11616 (desktop-save): Add optional arg `auto-save' and don't auto-save
11617 if nothing changed.
11618 (desktop-auto-save-timer): New variable.
11619 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11620 (after-init-hook): Call `desktop-auto-save-set-timer'.
11621 Suggested by Reuben Thomas <rrt@sc3d.org> in
11622 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11623
11624 2013-04-27 Leo Liu <sdl.web@gmail.com>
11625
11626 * progmodes/octave.el (octave-function-file-p)
11627 (octave-skip-comment-forward, octave-function-file-comment)
11628 (octave-update-function-file-comment): New functions.
11629 (octave-mode-map): Bind C-c ; to
11630 octave-update-function-file-comment.
11631 (octave-mode-menu): Add octave-update-function-file-comment.
11632 (octave-mode, inferior-octave-mode): Fix doc-string.
11633 (octave-insert-defun): Conform to Octave's coding convention.
11634 (Bug#14285)
11635
11636 * files.el (basic-save-buffer): Don't let errors in
11637 before-save-hook prevent saving buffer.
11638
11639 2013-04-20 Roland Winkler <winkler@gnu.org>
11640
11641 * faces.el (read-face-name): Use completing-read if arg multiple
11642 is nil.
11643
11644 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11645
11646 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11647 displayed, move point to after the totals line.
11648 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11649 for the details.
11650
11651 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11652
11653 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11654 Add current dir to the load-path.
11655 (package-generate-autoloads): Don't rely on
11656 autoload-ensure-default-file.
11657
11658 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11659
11660 * textmodes/remember.el (remember-store-in-files): Document that
11661 the file name format is passed to `format-time-string'.
11662
11663 2013-04-26 Leo Liu <sdl.web@gmail.com>
11664
11665 * progmodes/octave.el (octave-sync-function-file-names): New function.
11666 (octave-mode): Use it in before-save-hook.
11667
11668 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11669
11670 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11671 (bug#14274).
11672
11673 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11674 \n and comment, even if it's not an implicit ; (bug#14218).
11675
11676 2013-04-26 Glenn Morris <rgm@gnu.org>
11677
11678 * subr.el (read-number): Once more use `read' rather than
11679 `string-to-number', to trap non-numeric input. (Bug#14254)
11680
11681 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11682
11683 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11684 Use `syntax-multiline' text property consistently instead of
11685 `font-lock-multiline'. (Bug#14237)
11686
11687 2013-04-26 Glenn Morris <rgm@gnu.org>
11688
11689 * emacs-lisp/shadow.el (list-load-path-shadows):
11690 No longer necessary to check for duplicate simple.el, since
11691 2012-07-07 change to init_lread to not include installation lisp
11692 directories in load-path when running uninstalled. (Bug#14270)
11693
11694 2013-04-26 Leo Liu <sdl.web@gmail.com>
11695
11696 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11697 (octave-mode, inferior-octave-mode): Use setq-local.
11698 (octave-not-in-string-or-comment-p): Rename to
11699 octave-in-string-or-comment-p.
11700 (octave-in-comment-p, octave-in-string-p)
11701 (octave-in-string-or-comment-p): Replace defsubst with defun.
11702
11703 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11704
11705 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11706
11707 2013-04-25 Bastien Guerry <bzg@gnu.org>
11708
11709 * textmodes/remember.el (remember-data-directory)
11710 (remember-directory-file-name-format): Fix custom types.
11711
11712 2013-04-25 Leo Liu <sdl.web@gmail.com>
11713
11714 * progmodes/octave.el (octave-completion-at-point-function):
11715 Make use of inferior octave process.
11716 (octave-initialize-completions): Remove.
11717 (inferior-octave-completion-table): New function.
11718 (inferior-octave-completion-at-point): Use it.
11719 (octave-completion-alist): Remove.
11720
11721 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11722
11723 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11724 (opascal-mode-syntax-table): New var.
11725 (opascal-literal-kind, opascal-is-literal-end)
11726 (opascal-literal-token-at): Rewrite.
11727 (opascal--literal-start-re, opascal-font-lock-keywords)
11728 (opascal--syntax-propertize): New constants.
11729 (opascal-font-lock-defaults): Adjust.
11730 (opascal-mode): Use them. Set comment-<foo> variables as well.
11731 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11732 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11733 (delphi-other-face, opascal-other-face): Remove face variables.
11734 (opascal-save-state): Remove macro.
11735 (opascal-fontifying-progress-step): Remove constant.
11736 (opascal--ignore-changes): Remove var.
11737 (opascal-set-token-property, opascal-parse-next-literal)
11738 (opascal-is-stable-literal, opascal-complete-literal)
11739 (opascal-is-literal-start, opascal-face-of)
11740 (opascal-parse-region, opascal-parse-region-until-stable)
11741 (opascal-fontify-region, opascal-after-change)
11742 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11743 (opascal-debug-parse-region, opascal-debug-parse-window)
11744 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11745 (opascal-debug-fontify-buffer): Remove.
11746 (opascal-debug-mode-map): Adjust accordingly.
11747
11748 2013-04-25 Leo Liu <sdl.web@gmail.com>
11749
11750 Merge octave-mod.el and octave-inf.el into octave.el with some
11751 cleanups.
11752 * progmodes/octave.el: New file renamed from octave-mod.el.
11753 * progmodes/octave-inf.el: Merged into octave.el.
11754 * progmodes/octave-mod.el: Renamed to octave.el.
11755
11756 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11757
11758 * textmodes/reftex-vars.el
11759 (reftex-label-ignored-macros-and-environments): New defcustom.
11760
11761 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11762
11763 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11764
11765 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11766 (smie-indent-keyword): Improve the check to ensure that the next
11767 comment is really on the same line.
11768 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11769
11770 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11771 semi-colons if the line is not otherwise empty (bug#14218).
11772
11773 2013-04-25 Glenn Morris <rgm@gnu.org>
11774
11775 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11776
11777 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11778
11779 * progmodes/opascal.el (opascal-set-token-property): Rename from
11780 opascal-set-text-properties and only set `token' (bug#14134).
11781 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11782 (opascal-literal-text-properties): Remove.
11783 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11784 Adjust callers.
11785
11786 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11787
11788 * textmodes/remember.el (remember-handler-functions): Add an
11789 option for a new handler `remember-store-in-files'.
11790 (remember-data-directory, remember-directory-file-name-format):
11791 New options.
11792 (remember-store-in-files): New function to store remember notes
11793 as separate files within a directory.
11794
11795 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11796
11797 * progmodes/compile.el (compilation-next-error-function):
11798 Pass "formats" to compilation-find-file (bug#11777).
11799
11800 2013-04-24 Glenn Morris <rgm@gnu.org>
11801
11802 * vc/vc-bzr.el (vc-bzr-print-log):
11803 * vc/vc-hg.el (vc-hg-print-log):
11804 * vc/vc-svn.el (vc-svn-print-log):
11805 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11806
11807 * vc/vc-bzr.el (vc-bzr-print-log):
11808 * vc/vc-cvs.el (vc-cvs-print-log):
11809 * vc/vc-git.el (vc-git-print-log):
11810 * vc/vc-hg.el (vc-hg-print-log):
11811 * vc/vc-mtn.el (vc-mtn-print-log):
11812 * vc/vc-rcs.el (vc-rcs-print-log):
11813 * vc/vc-sccs.el (vc-sccs-print-log):
11814 * vc/vc-svn.el (vc-svn-print-log):
11815 * vc/vc.el (vc-print-log-internal): Doc fixes.
11816
11817 2013-04-23 Glenn Morris <rgm@gnu.org>
11818
11819 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11820 Remove venerable code attempting to avoid substitute-command-keys.
11821
11822 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11823
11824 * textmodes/reftex-vars.el (reftex-label-regexps):
11825 Call `reftex-compile-variables' after changes to this variable.
11826
11827 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11828
11829 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11830 Use lexical-binding.
11831 (jit-lock-force-redisplay): Use markers, check buffer's continued
11832 existence and beware narrowed buffers.
11833 (jit-lock-fontify-now): Adjust call accordingly.
11834
11835 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11836
11837 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11838 to avoid misleading the user.
11839
11840 2013-04-22 Leo Liu <sdl.web@gmail.com>
11841
11842 * info-look.el: Prefer latex2e.info. (Bug#14240)
11843
11844 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11845
11846 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11847
11848 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11849 * net/tramp.el (tramp-call-process): ... here.
11850 (tramp-set-completion-function, tramp-parse-putty):
11851 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11852 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11853 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11854 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11855 (tramp-call-local-coding-command): Use `tramp-call-process'
11856 instead of `tramp-compat-call-process'.
11857
11858 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11859 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11860 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11861 (tramp-find-inline-compress): Improve traces.
11862 (tramp-maybe-send-script): Check for Perl binary.
11863 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11864
11865 2013-04-22 Daiki Ueno <ueno@gnu.org>
11866
11867 * epg.el (epg-context-pinentry-mode): New function.
11868 (epg-context-set-pinentry-mode): New function.
11869 (epg--start): Pass --pinentry-mode option to gpg command.
11870
11871 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11872
11873 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11874 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11875 `completion-at-point'. (Bug#13774)
11876
11877 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11878 default key binding for `describe-distribution' has been moved to
11879 `C-h C-o'. (Bug#13970)
11880
11881 2013-04-21 Glenn Morris <rgm@gnu.org>
11882
11883 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11884 Add doc strings.
11885 (vc-print-log): Clarify interactive prompt.
11886
11887 2013-04-20 Glenn Morris <rgm@gnu.org>
11888
11889 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11890 No longer include timestamp etc information.
11891
11892 2013-04-20 Roland Winkler <winkler@gnu.org>
11893
11894 * faces.el (read-face-name): Bug fix, return just one face if arg
11895 multiple is nil. (Bug#14209)
11896
11897 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11898
11899 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11900 (remove-function): Autoload.
11901
11902 * comint.el (comint-redirect-original-filter-function): Remove.
11903 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11904 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11905 (vc-cvs-annotate-command):
11906 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11907 * progmodes/prolog.el (prolog-consult-compile):
11908 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11909 Use add/remove-function instead.
11910 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11911 (gud-tooltip-process-output, gud-tooltip-tips):
11912 Use add/remove-function instead.
11913 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11914 (scheme-interaction-mode, exit-scheme-interaction-mode):
11915 Use add/remove-function instead.
11916
11917 * vc/vc-dispatcher.el: Use lexical-binding.
11918 (vc--process-sentinel): Rename from vc-process-sentinel.
11919 Change last arg to be the code to run. Don't use vc-previous-sentinel
11920 and vc-sentinel-commands any more.
11921 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11922 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11923
11924 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11925
11926 * progmodes/sh-script.el (sh-imenu-generic-expression):
11927 Handle function names with a single character. (Bug#14111)
11928
11929 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11930
11931 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11932 for subroutines defined in an eval (bug#14182).
11933
11934 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11935
11936 * bookmark.el (bookmark-completing-read): Improve handling of empty
11937 string (bug#14176).
11938
11939 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11940
11941 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11942
11943 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11944
11945 New faster Imenu implementation (bug#14058).
11946 * progmodes/python.el:
11947 (python-imenu-prev-index-position):
11948 (python-imenu-format-item-label-function)
11949 (python-imenu-format-parent-item-label-function)
11950 (python-imenu-format-parent-item-jump-label-function):
11951 New vars.
11952 (python-imenu-format-item-label)
11953 (python-imenu-format-parent-item-label)
11954 (python-imenu-format-parent-item-jump-label)
11955 (python-imenu--put-parent, python-imenu--build-tree)
11956 (python-imenu-create-index, python-imenu-create-flat-index)
11957 (python-util-popn): New functions.
11958 (python-mode): Set imenu-create-index-function to
11959 python-imenu-create-index.
11960
11961 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11962
11963 * winner.el (winner-active-region): Use region-active-p, activate-mark
11964 and deactivate-mark (bug#14225).
11965
11966 * simple.el (deactivate-mark): Don't inline it.
11967
11968 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11969
11970 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11971
11972 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11973
11974 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11975 file extensions from the archive-mode entry in order to prefer
11976 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11977
11978 2013-04-18 Leo Liu <sdl.web@gmail.com>
11979
11980 * bindings.el (help-event-list): Add ?\?.
11981
11982 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11983
11984 * subr.el (with-wrapper-hook): Declare obsolete.
11985 * simple.el (filter-buffer-substring-function): New hook.
11986 (filter-buffer-substring): Use it.
11987 (filter-buffer-substring-functions): Mark obsolete.
11988 * minibuffer.el (completion-in-region-function): New hook.
11989 (completion-in-region): Use it.
11990 (completion-in-region-functions): Mark obsolete.
11991 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11992 * abbrev.el (abbrev-expand-function): New hook.
11993 (expand-abbrev): Use it.
11994 (abbrev-expand-functions): Mark obsolete.
11995 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11996 and :filter-return.
11997
11998 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11999
12000 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12001 and do not care about match data.
12002
12003 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12004
12005 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12006 completion tables when completing error conditions and
12007 `declare' arguments.
12008 (lisp-complete-symbol, field-complete): Mark as obsolete.
12009 (check-parens): Unmatched parens are user errors.
12010 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12011
12012 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12013
12014 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12015 command changed buffer (ie. `flyspell-pre-buffer' is not current
12016 buffer), which prevents making decisions based on invalid value of
12017 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12018 cause an error when `flyspell-pre-point' was nil after switching
12019 buffers.
12020 (flyspell-post-command-hook): No longer needs to change buffers when
12021 checking pre-word. While at it remove unnecessary progn.
12022
12023 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12024
12025 * textmodes/ispell.el (ispell-add-per-file-word-list):
12026 Fix `flyspell-correct-word-before-point' error when accepting
12027 words and `coment-padding' is an integer by using
12028 `comment-normalize-vars' (Bug #14214).
12029
12030 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12031
12032 New defun movement commands.
12033 * progmodes/python.el (python-nav--syntactically)
12034 (python-nav--forward-defun, python-nav-backward-defun)
12035 (python-nav-forward-defun): New functions.
12036
12037 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12038
12039 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12040 (python-syntax-context): Use named compiler-macro for backwards
12041 compatibility with Emacs 24.x.
12042
12043 2013-04-17 Leo Liu <sdl.web@gmail.com>
12044
12045 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12046 octave-hide-process-buffer.
12047
12048 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12049
12050 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12051 (bug#14216).
12052
12053 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12054
12055 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12056 Fix adjustment of offset when receiving incomplete responses from GDB
12057 (bug#14129).
12058
12059 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12060
12061 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12062 python-mode-abbrev-table.
12063 (python-skeleton-define): Adjust accordingly.
12064 (python-mode-abbrev-table): New table that inherits from it so that
12065 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12066
12067 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12068 (abbrev-symbol): Use it.
12069 (abbrev--before-point): Use it since we already handle inheritance.
12070
12071 2013-04-16 Leo Liu <sdl.web@gmail.com>
12072
12073 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12074 binding to info-lookup-symbol.
12075
12076 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12077
12078 * minibuffer.el (completion--twq-all):
12079 * term/ns-win.el (ns-initialize-window-system):
12080 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12081
12082 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12083
12084 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12085 global bindings.
12086
12087 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12088
12089 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12090
12091 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12092 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12093 to nil.
12094 (ruby-end-of-defun): Remove the unused arg, change the docstring
12095 to reflect that this function is only used as the value of
12096 `end-of-defun-function'.
12097 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12098 to reflect an earlier change that beginning/end-of-defun functions
12099 jump between methods in a class definition, as well as top-level
12100 functions.
12101
12102 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12103
12104 * minibuffer.el (minibuffer-complete): Don't just scroll
12105 a *Completions* that's been iconified.
12106 (minibuffer-force-complete): Make sure repetitions do cycle when going
12107 through completion-in-region -> minibuffer-complete.
12108
12109 2013-04-15 Alan Mackenzie <acm@muc.de>
12110
12111 Correct the placement of c-cpp-delimiters when there're #s not at
12112 col 0.
12113
12114 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12115 place a submatch around the #.
12116 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12117 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12118 on the #, not BOL.
12119
12120 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12121
12122 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12123 (advice--member-p): New arg `name'.
12124 (advice--add-function, advice-member-p): Use it (bug#14202).
12125
12126 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12127
12128 Reformulate java imenu-generic-expression.
12129 The old expression contained ill formed regexps.
12130
12131 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12132 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12133 (cc-imenu-java-method-arg-regexp): New defconsts.
12134 (cc-imenu-java-build-type-args-regex): New defun.
12135 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12136 handling of spaces in the regexp.
12137
12138 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12139
12140 * textmodes/ispell.el (ispell-command-loop): Remove
12141 flyspell highlight of a word when ispell accepts it (bug #14178).
12142
12143 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12144
12145 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12146 uses code from the previous `ange-ftp-run-real-handler'.
12147 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12148 only in case that function exist. This is needed for proper
12149 unloading of Tramp.
12150
12151 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12152
12153 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12154
12155 * textmodes/reftex.el (reftex-compile-variables): Use it.
12156
12157 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12158
12159 * files.el (normal-mode): Only use default major-mode if no other mode
12160 was specified.
12161
12162 * emacs-lisp/trace.el (trace-values): New function.
12163
12164 * files.el: Allow : in local variables (bug#14089).
12165 (hack-local-variable-regexp): New var.
12166 (hack-local-variables-prop-line, hack-local-variables): Use it.
12167
12168 2013-04-13 Roland Winkler <winkler@gnu.org>
12169
12170 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12171 data before it gets modified by bibtex-beginning-of-entry.
12172
12173 2013-04-13 Roland Winkler <winkler@gnu.org>
12174
12175 * textmodes/bibtex.el (bibtex-url): Doc fix.
12176
12177 2013-04-13 Roland Winkler <winkler@gnu.org>
12178
12179 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12180 does not visit a BibTeX file, exclude it from the list of buffers
12181 returned by bibtex-initialize.
12182
12183 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12184
12185 * window.el (split-window): Remove interactive form, since as a
12186 command this function is a special case of split-window-below.
12187 Correct doc string.
12188
12189 2013-04-12 Roland Winkler <winkler@gnu.org>
12190
12191 * faces.el (read-face-name): Do not override value of arg default.
12192 Allow single faces and strings as default values. Remove those
12193 elements from return value that are not faces.
12194 (describe-face): Simplify.
12195 (face-at-point): New optional args thing and multiple so that this
12196 function can provide the same functionality previously provided by
12197 read-face-name.
12198 (make-face-bold, make-face-unbold, make-face-italic)
12199 (make-face-unitalic, make-face-bold-italic, invert-face)
12200 (modify-face, read-face-and-attribute): Use face-at-point.
12201
12202 * cus-edit.el (customize-face, customize-face-other-window)
12203 * cus-theme.el (custom-theme-add-face)
12204 * face-remap.el (buffer-face-set)
12205 * facemenu.el (facemenu-set-face): Use face-at-point.
12206
12207 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12208
12209 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12210
12211 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12212
12213 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12214 off leading { and trailing } from field values.
12215
12216 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12217
12218 * emacs-lisp/timer.el (timer--check): New function.
12219 (timer--time, timer-set-function, timer-event-handler): Use it.
12220 (timer-set-idle-time): Simplify.
12221 (timer--activate): CSE.
12222 (timer-event-handler): Give more info in error message.
12223 (internal-timer-start-idle): New function, moved from C.
12224
12225 * mpc.el (mpc-proc): Add `restart' argument.
12226 (mpc-proc-cmd): Use it.
12227 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12228 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12229 less often.
12230
12231 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12232
12233 * progmodes/sh-script.el: Implement `sh-mode' own
12234 `add-log-current-defun-function' (bug#14112).
12235 (sh-current-defun-name): New function.
12236 (sh-mode): Use the function.
12237
12238 2013-04-09 Bastien Guerry <bzg@gnu.org>
12239
12240 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12241
12242 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12243
12244 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12245
12246 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12247 timer (bug#14156).
12248
12249 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12250
12251 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12252 declaration.
12253
12254 2013-04-07 Leo Liu <sdl.web@gmail.com>
12255
12256 * pcmpl-x.el: New file.
12257
12258 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12259
12260 Do not set x-display-name until X connection is established.
12261 This is needed to prevent from weird situation described at
12262 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12263 * frame.el (make-frame): Set x-display-name after call to
12264 window system initialization function, not before.
12265 * term/x-win.el (x-initialize-window-system): Add optional
12266 display argument and use it.
12267 * term/w32-win.el (w32-initialize-window-system):
12268 * term/ns-win.el (ns-initialize-window-system):
12269 * term/pc-win.el (msdos-initialize-window-system):
12270 Add compatible optional display argument.
12271
12272 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12273
12274 * files.el (normal-backup-enable-predicate): On MS-Windows and
12275 MS-DOS compare truenames of temporary-file-directory and of the
12276 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12277 don't fail comparison by compare-strings. Also, compare file
12278 names case-insensitively on MS-Windows and MS-DOS.
12279
12280 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12281
12282 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12283 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12284
12285 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12286
12287 * whitespace.el (whitespace-color-on, whitespace-color-off):
12288 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12289
12290 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12291
12292 * ispell.el (ispell-set-spellchecker-params):
12293 Really set `ispell-args' for all equivs.
12294
12295 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12296
12297 * ido.el (ido-completions): Use extra elements of ido-decorations
12298 (bug#14143).
12299 (ido-decorations): Update docstring.
12300
12301 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12302
12303 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12304 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12305 nil during initialization, in order not to miss changes since the
12306 file was opened. (Bug#14140)
12307
12308 2013-04-05 Leo Liu <sdl.web@gmail.com>
12309
12310 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12311
12312 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12313
12314 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12315
12316 2013-04-04 Glenn Morris <rgm@gnu.org>
12317
12318 * electric.el (electric-pair-inhibit-predicate): Add :version.
12319
12320 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12321
12322 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12323 when a package is required several times (bug#14082).
12324
12325 2013-04-04 Roland Winkler <winkler@gnu.org>
12326
12327 * faces.el (read-face-name): Behave as promised by the docstring.
12328 Assume that arg default is a list of faces.
12329 (describe-face): Call read-face-name with list of default faces.
12330
12331 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12332
12333 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12334 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12335 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12336 the header.
12337 (bookmark-exit-hook-internal): Save even if list is empty.
12338
12339 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12340
12341 * emacs-lisp/package.el (package-pinned-packages): New var.
12342 (package--add-to-archive-contents): Obey it (bug#14118).
12343
12344 2013-04-03 Alan Mackenzie <acm@muc.de>
12345
12346 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12347 Also adapt to the new values of element 7 of a parse state.
12348
12349 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12350 parameter `not-in-delimiter'. Handle being inside comment opener.
12351 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12352 character in case we're typing a '*' after a '/'.
12353 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12354 instead by passing the parameter to c-state-pp-to-literal.
12355
12356 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12357 for elt. 7 of a parse state.
12358
12359 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12360
12361 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12362 * international/latin1-disp.el, international/mule-util.el:
12363 * language/cyril-util.el, language/european.el, language/ind-util.el:
12364 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12365 * language/tibetan.el, language/viet-util.el:
12366 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12367
12368 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12369
12370 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12371 (electric-pair-post-self-insert-function): Use it.
12372 (electric-pair-default-inhibit): New function, extracted from
12373 electric-pair-post-self-insert-function.
12374
12375 2013-03-31 Roland Winkler <winkler@gnu.org>
12376
12377 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12378
12379 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12380
12381 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12382
12383 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12384
12385 Un-indent after "pass" and "return" statements (Bug#13888)
12386 * progmodes/python.el (python-indent-block-enders): New var.
12387 (python-indent-calculate-indentation): Use it.
12388
12389 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12390
12391 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12392 defun. Defining it as defalias could introduce too eager
12393 byte-compiler optimization. (Bug#14030)
12394
12395 2013-03-30 Chong Yidong <cyd@gnu.org>
12396
12397 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12398
12399 2013-03-30 Leo Liu <sdl.web@gmail.com>
12400
12401 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12402 (kmacro-execute-from-register): Pass the keyboard macro to
12403 kmacro-call-macro or repeating won't work correctly.
12404
12405 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12406
12407 * progmodes/subword.el: Back to using `forward-symbol'.
12408
12409 * subr.el (forward-whitespace, forward-symbol)
12410 (forward-same-syntax): Move from thingatpt.el.
12411
12412 2013-03-29 Leo Liu <sdl.web@gmail.com>
12413
12414 * kmacro.el (kmacro-to-register): New command.
12415 (kmacro-execute-from-register): New function.
12416 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12417
12418 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12419
12420 * mpc.el: Use defvar-local and setq-local.
12421 (mpc--proc-connect): Connection failures are not bugs.
12422 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12423 (mpc-volume-map): Bind to the up-events.
12424
12425 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12426
12427 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12428 instead of `forward-symbol'.
12429
12430 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12431
12432 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12433 (edebug--recursive-edit): Use it.
12434 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12435 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12436
12437 2013-03-28 Leo Liu <sdl.web@gmail.com>
12438
12439 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12440
12441 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12442
12443 * facemenu.el (list-colors-callback): New defvar.
12444 (list-colors-redisplay): New function.
12445 (list-colors-display): Install list-colors-redisplay as the
12446 revert-buffer-function. (Bug#14063)
12447
12448 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12449
12450 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12451 and suffixes don't overlap (bug#14061).
12452
12453 * case-table.el: Use lexical-binding.
12454 (case-table-get-table): New function.
12455 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12456
12457 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12458
12459 * progmodes/subword.el: Add `superword-mode' to do word motion
12460 over symbol_words (parallels and leverages `subword-mode' which
12461 does word motion inside MixedCaseWords).
12462
12463 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12464
12465 * eshell/em-unix.el: Move su and sudo to...
12466 * eshell/em-tramp.el: ...Eshell tramp module.
12467
12468 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12469
12470 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12471 Change return value to be a sexp. Delay `get-buffer' to after
12472 restoring the desktop (bug#13951).
12473
12474 2013-03-26 Leo Liu <sdl.web@gmail.com>
12475
12476 * register.el: Move semantic tag handling back to
12477 cedet/semantic/senator.el. (Bug#14052)
12478
12479 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12480
12481 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12482 into the prompt either (bug#13963).
12483
12484 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12485
12486 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12487 part of "(error-foo)".
12488
12489 2013-03-24 Juri Linkov <juri@jurta.org>
12490
12491 * replace.el (list-matching-lines-prefix-face): New defcustom.
12492 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12493 `occur-engine' if `face-differs-from-default-p' returns t.
12494 (occur-engine): Add `,' inside backquote construct to evaluate
12495 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12496 Pass `prefix-face' to the functions `occur-context-lines' and
12497 `occur-engine-add-prefix'.
12498 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12499 `prefix-face' and propertize the prefix with `prefix-face'.
12500 (Bug#14017)
12501
12502 2013-03-24 Leo Liu <sdl.web@gmail.com>
12503
12504 * nxml/rng-valid.el (rng-validate-while-idle)
12505 (rng-validate-quick-while-idle): Guard against deleted buffer.
12506 (Bug#13999)
12507
12508 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12509 is the last entry in kill-buffer-hook.
12510
12511 * files.el (kill-buffer-hook): Doc fix.
12512
12513 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12514
12515 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12516 Make it safe-local.
12517
12518 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12519
12520 2013-03-23 Leo Liu <sdl.web@gmail.com>
12521
12522 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12523 Remove.
12524
12525 * nxml/rng-valid.el (rng-validate-mode)
12526 (rng-after-change-function, rng-do-some-validation):
12527 * nxml/rng-maint.el (rng-validate-buffer):
12528 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12529 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12530 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12531 (nxml-extend-after-change-region): Use with-silent-modifications.
12532
12533 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12534 timer-idle-list.
12535
12536 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12537 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12538 timer-idle-list. (Bug#13999)
12539
12540 2013-03-23 Juri Linkov <juri@jurta.org>
12541
12542 * info.el (info-index-match): New face.
12543 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12544 main pattern and add text properties with the new face to matches
12545 in index entries relative to the beginning of the index entry.
12546 (Bug#14015)
12547
12548 2013-03-21 Eric Ludlam <zappo@gnu.org>
12549
12550 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12551 Inhibit read only while inserting objects.
12552
12553 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12554
12555 * progmodes/cfengine.el: Update docs to mention
12556 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12557 symbol motion. Remove "_" from the word syntax.
12558
12559 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12560
12561 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12562 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12563
12564 2013-03-20 Juri Linkov <juri@jurta.org>
12565
12566 * info.el (Info-next-reference-or-link)
12567 (Info-prev-reference-or-link): New functions.
12568 (Info-next-reference, Info-prev-reference): Use them.
12569 (Info-try-follow-nearest-node): Handle footnote navigation.
12570 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12571
12572 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12573
12574 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12575 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12576
12577 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12578
12579 Suppress unnecessary non-ASCII chatter during build process.
12580 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12581 (batch-skkdic-convert): Suppress most of the chatter.
12582 It's not needed so much now that machines are faster,
12583 and its non-ASCII component was confusing; see Dmitry Gutov in
12584 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12585
12586 2013-03-20 Leo Liu <sdl.web@gmail.com>
12587
12588 * ido.el (ido-chop): Fix bug#10994.
12589
12590 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12591
12592 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12593 Remove vars.
12594 (whitespace-color-on, whitespace-color-off):
12595 Use `font-lock-fontify-buffer' (Bug#13817).
12596
12597 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12598
12599 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12600 remapping in mode-line.
12601 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12602
12603 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12604
12605 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12606 value for `whitespace-line' face (Bug#13875).
12607 (whitespace-font-lock-keywords): Change description.
12608 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12609 the constructed keywords instead.
12610 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12611
12612 2013-03-19 Leo Liu <sdl.web@gmail.com>
12613
12614 * progmodes/compile.el (compilation-display-error): New command.
12615 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12616 C-o. (Bug#13992)
12617
12618 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12619
12620 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12621
12622 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12623
12624 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12625
12626 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12627
12628 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12629
12630 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12631 * net/tramp-gvfs.el (top):
12632 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12633 (tramp-handle-shell-command): Use it.
12634 (tramp-dissect-file-name): Raise an error when hostname is a
12635 method name, and neither method nor user is specified.
12636
12637 * net/trampver.el: Update release number.
12638
12639 2013-03-18 Leo Liu <sdl.web@gmail.com>
12640
12641 Make sure eldoc can be turned off properly.
12642 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12643 eldoc-mode.
12644 (eldoc-display-message-p): Revert last change.
12645 (eldoc-display-message-no-interference-p)
12646 (eldoc-print-current-symbol-info): Tweak.
12647
12648 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12649
12650 * doc-view.el (doc-view-new-window-function): Check the new window
12651 overlay's display property instead the char property of the
12652 buffer's first char. Use `with-selected-window' instead of
12653 `save-window-excursion' with `select-window'.
12654 (doc-view-document->bitmap): Check the current doc-view overlay's
12655 display property instead the char property of the buffer's first char.
12656
12657 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12658
12659 Automate the build of ja-dic.el (Bug#13984).
12660 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12661 from the input, rather than assume that it's been done for us by the
12662 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12663 the current date into a ja-dic.el comment, as that complicates
12664 regression testing.
12665
12666 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12667
12668 * whitespace.el: Fix double evaluation.
12669 (whitespace-space, whitespace-hspace, whitespace-tab)
12670 (whitespace-newline, whitespace-trailing, whitespace-line)
12671 (whitespace-space-before-tab, whitespace-indentation)
12672 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12673 obsolete defvars.
12674 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12675 (whitespace-color-on): Use a single font-lock-add-keywords call.
12676 Fix double-evaluation of face variables.
12677
12678 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12679
12680 * net/tramp-adb.el (tramp-adb-parse-device-names):
12681 Use `start-process' instead of `call-process'. Otherwise, the
12682 function might be blocked under MS Windows. (Bug#13299)
12683
12684 2013-03-17 Leo Liu <sdl.web@gmail.com>
12685
12686 Extend eldoc to display info in the mode-line. (Bug#13978)
12687 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12688 (eldoc-mode-line-string): New variable.
12689 (eldoc-minibuffer-message): New function.
12690 (eldoc-message-function): New variable.
12691 (eldoc-message): Use it.
12692 (eldoc-display-message-p)
12693 (eldoc-display-message-no-interference-p):
12694 Support eldoc-post-insert-mode.
12695
12696 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12697 (eval-expression): Run it.
12698
12699 2013-03-17 Roland Winkler <winkler@gnu.org>
12700
12701 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12702 strings in the list of return values.
12703
12704 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12705
12706 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12707 radix before checking for HMS forms.
12708
12709 2013-03-16 Leo Liu <sdl.web@gmail.com>
12710
12711 * progmodes/scheme.el: Add indentation and font-locking for λ.
12712 (Bug#13975)
12713
12714 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12715
12716 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12717 token before point (bug#13942).
12718
12719 2013-03-16 Leo Liu <sdl.web@gmail.com>
12720
12721 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12722
12723 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12724
12725 * startup.el (command-line-normalize-file-name): Fix handling of
12726 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12727 <xfq.free@gmail.com> in
12728 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12729
12730 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12731
12732 Sync with Tramp 2.2.7.
12733
12734 * net/trampver.el: Update release number.
12735
12736 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12737
12738 * doc-view.el: Fix bug#13887.
12739 (doc-view-insert-image): Don't modify overlay associated to
12740 non-live windows, and implement horizontal centering of image in
12741 case it's smaller than the window.
12742 (doc-view-new-window-function): Force redisplay of new windows on
12743 doc-view buffers.
12744
12745 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12746
12747 * saveplace.el (save-place-alist-to-file): Don't sort
12748 `save-place-alist', just pretty-print it (bug#13882).
12749
12750 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12751
12752 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12753 Check whether `default-file-name-coding-system' is bound.
12754 It isn't in XEmacs.
12755
12756 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12757
12758 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12759 backquotes for `obsolete' (bug#13929).
12760
12761 * international/mule.el (find-auto-coding): Include file name in
12762 obsolescence warning (bug#13922).
12763
12764 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12765
12766 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12767 for CFEngine 3-specific indentation.
12768 (cfengine3-indent-line): Use it. Fix up category regex.
12769 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12770
12771 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12772
12773 * type-break.el (type-break-file-name):
12774 * textmodes/remember.el (remember-data-file):
12775 * strokes.el (strokes-file):
12776 * shadowfile.el (shadow-initialize):
12777 * saveplace.el (save-place-file):
12778 * ps-bdf.el (bdf-cache-file):
12779 * progmodes/idlwave.el (idlwave-config-directory):
12780 * net/quickurl.el (quickurl-url-file):
12781 * international/kkc.el (kkc-init-file-name):
12782 * ido.el (ido-save-directory-list-file):
12783 * emulation/viper.el (viper-custom-file-name):
12784 * emulation/vip.el (vip-startup-file):
12785 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12786 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12787
12788 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12789
12790 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12791 * language/thai-word.el: Switch to UTF-8.
12792
12793 See ChangeLog.16 for earlier changes.
12794
12795 ;; Local Variables:
12796 ;; coding: utf-8
12797 ;; End:
12798
12799 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12800
12801 This file is part of GNU Emacs.
12802
12803 GNU Emacs is free software: you can redistribute it and/or modify
12804 it under the terms of the GNU General Public License as published by
12805 the Free Software Foundation, either version 3 of the License, or
12806 (at your option) any later version.
12807
12808 GNU Emacs is distributed in the hope that it will be useful,
12809 but WITHOUT ANY WARRANTY; without even the implied warranty of
12810 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12811 GNU General Public License for more details.
12812
12813 You should have received a copy of the GNU General Public License
12814 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.