* lisp/vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-18 Juri Linkov <juri@jurta.org>
2
3 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4 to the default list. Move `log-edit-show-files' to the end.
5 Add more available functions to options.
6 (log-edit): Move default specific settings to
7 `log-edit-insert-message-template'. Don't move point.
8 (log-edit-insert-message-template): New function.
9 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
10 (Bug#16170)
11
12 2013-12-18 Juri Linkov <juri@jurta.org>
13
14 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
15 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
16
17 2013-12-18 Leo Liu <sdl.web@gmail.com>
18
19 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
20
21 2013-12-18 Eli Zaretskii <eliz@gnu.org>
22
23 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
24 formats for displaying file sizes when the -s switch is given.
25 Instead, compute a separate format for displaying the size in
26 blocks, which is displayed in addition to the "regular" size.
27 When -h is given in addition to -s, produce size in blocks in
28 human-readable form as well. (Bug#16179)
29
30 2013-12-18 Tassilo Horn <tsdh@gnu.org>
31
32 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Reference
33 tables with ~\ref{...} instead of only \ref{...}.
34
35 2013-12-18 Chong Yidong <cyd@gnu.org>
36
37 * cus-edit.el (custom-magic-alist): Fix "themed" description
38 (Bug#14348).
39
40 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
41 is non-nil, do not create a new entry in the symbol's theme-value
42 or theme-face property; update theme-settings only (Bug#14664).
43 (custom-available-themes): Doc fix.
44
45 * cus-theme.el (custom-new-theme-mode-map): Add bindings
46 (Bug#15674).
47
48 * replace.el (occur-engine): Avoid infloop (Bug#7593).
49
50 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
51
52 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
53 (Bug#13914).
54
55 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
56
57 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
58
59 2013-12-18 Glenn Morris <rgm@gnu.org>
60
61 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
62 * cus-start.el (load-prefer-newer): New option.
63
64 2013-12-18 Le Wang <l26wang@gmail.com>
65
66 * comint.el (comint-previous-matching-input-from-input): Retain
67 point (Bug#13404).
68
69 2013-12-18 Chong Yidong <cyd@gnu.org>
70
71 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
72
73 2013-12-18 Glenn Morris <rgm@gnu.org>
74
75 * mail/emacsbug.el (report-emacs-bug):
76 Only mention enable-multibyte-characters if non-standard.
77
78 2013-12-17 Juri Linkov <juri@jurta.org>
79
80 * arc-mode.el (archive-extract-by-file): Check if directory exists
81 before deletion to not show irrelevant errors if it doesn't exist.
82
83 2013-12-17 Juri Linkov <juri@jurta.org>
84
85 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
86 (Bug#14751)
87
88 * net/eww.el (browse-web): Add alias to `eww'.
89 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
90 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
91
92 * net/browse-url.el (browse-url-browser-function): Move `eww'
93 closer to similar functions.
94
95 * startup.el (fancy-startup-screen, fancy-about-screen):
96 Set browse-url-browser-function to eww-browse-url locally.
97 (Bug#14751)
98
99 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
100
101 * window.el (window--pixel-to-total): Remove unused `mini' var.
102 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
103 (split-window): Remove unused `new' var.
104 (window--display-buffer): Remove unused `frame' and `delta' vars.
105 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
106 and display-width'.
107
108 2013-12-17 Martin Rudalics <rudalics@gmx.at>
109
110 * dired.el (dired-mark-pop-up):
111 * register.el (register-preview): Don't bind
112 split-height-threshold here since it's now done in
113 display-buffer-below-selected.
114
115 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
116
117 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
118 xterm-rgb-convert-to-16bit.
119 (rxvt-register-default-colors): Standardize with
120 xterm-register-default-colors (Bug#14078).
121
122 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
123
124 * simple.el (kill-region): Pass mark first, then point, so that
125 kill-append works right (Bug#12819).
126 (copy-region-as-kill, kill-ring-save): Likewise.
127
128 2013-12-17 Leo Liu <sdl.web@gmail.com>
129
130 * net/rcirc.el (rcirc-add-face):
131 * eshell/em-prompt.el (eshell-emit-prompt):
132 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
133 (Bug#16167)
134
135 2013-12-17 Chong Yidong <cyd@gnu.org>
136
137 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
138 Suggested by Xue Fuqiao.
139
140 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
141
142 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
143
144 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
145
146 * net/shr.el (shr-insert-document): Remove unused var
147 `shr-preliminary-table-render'.
148 (shr-rescale-image): Remove unused arg `force'.
149 (shr-put-image): Update calls accordingly.
150 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
151
152 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
153
154 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
155 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
156 :close-all, to see which indentation method to use (Bug#16116).
157 (smie-rules-function): Document the method :close-all.
158
159 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
160
161 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
162
163 * net/eww.el (eww-display-html): If we can't find the anchor we're
164 looking for, then go to point-min.
165
166 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
167
168 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
169 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
170 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
171 Expand dir too, in case it's relative.
172
173 2013-12-16 Juri Linkov <juri@jurta.org>
174
175 * desktop.el (desktop-auto-save-timeout): Change default to
176 `auto-save-timeout'. Doc fix.
177 (desktop-save): Skip the timestamp in desktop-saved-frameset
178 when checking for auto-save changes.
179 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
180 `desktop-auto-save' is called repeatedly by the idle timer.
181 (desktop-auto-save-set-timer): Replace `run-with-timer' with
182 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
183 (Bug#15331)
184
185 2013-12-16 Juri Linkov <juri@jurta.org>
186
187 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
188 (Bug#16035)
189 (isearch-pre-command-hook): Check `this-command' for symbolp.
190
191 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
192
193 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
194
195 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
196
197 * progmodes/cfengine.el (cfengine3--current-word): Remove.
198 (cfengine3--current-function): Bring in the current-function
199 functionality from `cfengine3--current-word'.
200 (cfengine3-completion-function): Bring in the
201 bounds-of-current-word functionality from
202 `cfengine3--current-word'.
203
204 2013-12-16 Martin Rudalics <rudalics@gmx.at>
205
206 * window.el (display-buffer-below-selected):
207 Bind split-height-threshold to 0 as suggested by Juri Linkov.
208
209 2013-12-16 Leo Liu <sdl.web@gmail.com>
210
211 * progmodes/compile.el (compile-goto-error): Do not push-mark.
212 Remove NOMSG arg and all uses changed.
213
214 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
215
216 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
217 (cua--deactivate-rectangle): Don't deactivate the mark.
218 (cua-set-rectangle-mark): Don't set mark-active since
219 cua--activate-rectangle already does it for us.
220 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
221 non-rectangular region.
222
223 * emulation/cua-base.el (cua-repeat-replace-region):
224 Use with-current-buffer.
225
226 * net/gnutls.el: Use cl-lib.
227 (gnutls-negotiate): `mapcan' -> cl-mapcan.
228
229 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
230
231 * emacs-lisp/package.el (package-built-in-p): Support both
232 built-in and the package.el converted package descriptions.
233 (package-show-package-list): Allow keywords.
234 (package-keyword-button-action): Use it instead of
235 `finder-list-matches'.
236 (package-menu-filter-interactive): Interactive filtering (by
237 keyword) function.
238 (package-menu--generate): Support keywords and change keymappings
239 and headers when they are given.
240 (package--has-keyword-p): Helper function.
241 (package-menu--refresh): Use it.
242 (package--mapc): Helper function.
243 (package-all-keywords): Use it.
244 (package-menu-mode-map): Set up menu items and keybindings to
245 provide a filtering UI.
246
247 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
248
249 * net/gnutls.el (gnutls-verify-error): New defcustom to control
250 the behavior when a certificate fails validation. Defaults to
251 old behavior: never abort, just warn.
252 (gnutls-negotiate): Use it.
253
254 2013-12-14 Martin Rudalics <rudalics@gmx.at>
255
256 * window.el (display-buffer-below-selected): Never split window
257 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
258
259 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
260
261 * emacs-lisp/package.el (package--prepare-dependencies): New function.
262 (package-buffer-info): Use it (bug#15108).
263
264 * icomplete.el (icomplete-completions): Make sure the prefix is already
265 displayed elsewhere before hiding it.
266
267 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
268
269 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
270 open-paren tokens when preceded by a open-paren, too.
271 (ruby-smie-rules): Handle virtual indentation after open-paren
272 tokens specially. If there is code between it and eol, return the
273 column where is starts (Bug#16118).
274
275 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
276
277 * progmodes/cfengine.el: Fix `add-hook' doc.
278 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
279 (cfengine3--current-word): Fix parameters.
280 (cfengine3-make-syntax-cache): Simplify further.
281 (cfengine3-completion-function, cfengine3--current-function):
282 Use `assq' for symbols.
283 (cfengine3--current-function): Fix `cfengine3--current-word' call.
284
285 2013-12-13 Glenn Morris <rgm@gnu.org>
286
287 * loadup.el (load-path): Warn if site-load or site-init changes it.
288 No more need to reset it when bootstrapping.
289
290 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
291
292 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
293 locations for cf-promises.
294 (cfengine-mode-syntax-functions-regex): New caching variable.
295 (cfengine3-fallback-syntax): Fallback syntax for cases where
296 cf-promises doesn't run.
297 (cfengine3--current-word): Reimplement using
298 `cfengine-mode-syntax-functions-regex'.
299 (cfengine3-completion-function, cfengine3--current-function):
300 Use `cfengine3-make-syntax-cache' directly.
301 (cfengine3-clear-syntax-cache): New function.
302 (cfengine3-make-syntax-cache): Simplify and create
303 `cfengine-mode-syntax-functions-regex' on demand.
304 (cfengine3-format-function-docstring): Don't call
305 `cfengine3-make-syntax-cache' explicitly.
306
307 2013-12-13 Martin Rudalics <rudalics@gmx.at>
308
309 Fix windmove-find-other-window broken after pixelwise resizing
310 (Bug#16017).
311 * windmove.el (windmove-other-window-loc): Revert change from
312 2013-12-04.
313 (windmove-find-other-window): Call window-in-direction.
314 * window.el (window-in-direction): New arguments SIGN, WRAP and
315 MINI to emulate original windmove-find-other-window behavior.
316
317 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
318
319 * simple.el (blink-matching--overlay): New variable.
320 (blink-matching-open): Instead of moving point, highlight the
321 matching paren with an overlay
322 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
323
324 * faces.el (paren-showing-faces, show-paren-match)
325 (show-paren-mismatch): Move from paren.el.
326
327 2013-12-13 Leo Liu <sdl.web@gmail.com>
328
329 * indent.el (indent-region): Disable progress reporter in
330 minibuffer. (Bug#16108)
331
332 * bindings.el (visual-order-cursor-movement): Fix version.
333
334 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
335
336 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
337 Also match after beginning of line.
338 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
339 files. Thanks to Russell Sim. (Bug#15378)
340
341 2013-12-13 Juri Linkov <juri@jurta.org>
342
343 * simple.el <Keypad support>: Remove key bindings duplicated
344 with bindings.el. (Bug#14397)
345
346 2013-12-13 Juri Linkov <juri@jurta.org>
347
348 * comint.el (comint-mode-map): Replace `delete-char' with
349 `delete-forward-char'. (Bug#16109)
350
351 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
352
353 * progmodes/python.el (python-indent-calculate-indentation):
354 Fix de-denters cornercase. (Bug#15731)
355
356 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
357
358 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
359 (advice--make): Pay attention to `depth'.
360 (advice--make-1): Don't autoload commands eagerly.
361 * emacs-lisp/elp.el (elp-instrument-function):
362 * emacs-lisp/trace.el (trace-function-internal):
363 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
364
365 * iswitchb.el (iswitchb-mode): Don't belittle ido.
366
367 2013-12-12 Eli Zaretskii <eliz@gnu.org>
368
369 * term/w32-win.el (w32-handle-dropped-file):
370 * startup.el (normal-top-level):
371 * net/browse-url.el (browse-url-file-url):
372 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
373 decode file names using 'utf-8' rather than
374 file-name-coding-system.
375
376 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
377
378 * progmodes/python.el (python-indent-context)
379 (python-indent-calculate-indentation): Fix auto-identation
380 behavior for comment blocks. (Bug#15916)
381
382 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
383
384 * progmodes/python.el (python-indent-calculate-indentation):
385 When determining indentation, don't treat "return", "pass", etc., as
386 operators when they are just string constituents. (Bug#15812)
387
388 2013-12-12 Juri Linkov <juri@jurta.org>
389
390 * uniquify.el (uniquify-buffer-name-style): Change default to
391 `post-forward-angle-brackets'.
392
393 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
394 `uniquify'. Change default to `post-forward-angle-brackets'.
395
396 2013-12-11 Glenn Morris <rgm@gnu.org>
397
398 * emacs-lisp/package.el (finder-list-matches):
399 Autoload rather than falsely declaring.
400
401 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
402
403 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
404 (eww-mode-map): Use them.
405
406 2013-12-11 Martin Rudalics <rudalics@gmx.at>
407
408 * window.el (display-buffer-in-side-window): Fix doc-string
409 (Bug#16115).
410
411 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
412
413 * vc/vc-git.el: Silence byte-compiler warnings.
414 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
415 (log-edit-set-header): Declare.
416
417 2013-12-11 Eli Zaretskii <eliz@gnu.org>
418
419 * Makefile.in (custom-deps, finder-data): Run output file names
420 through unmsys--file-name. (Bug#16099)
421
422 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
423
424 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
425 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
426
427 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
428 instead of deleting the selection "by hand" (bug#16098).
429 Rely on insert-for-yank to yank rectangles.
430 (cua-highlight-region-shift-only): Mark obsolete.
431 (cua-mode): Don't enable/disable transient-mark-mode,
432 shift-select-mode (cua-mode works both with and without them), and
433 pc-selection-mode (obsolete).
434 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
435 (cua--deactivate-rectangle): Deactivate it.
436
437 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
438 (delete-selection-helper): Make sure yank starts at the top of the
439 deleted region.
440 (minibuffer-keyboard-quit): Use region-active-p.
441
442 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
443
444 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
445 to `delete' (bug#16109).
446
447 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
448
449 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
450 info manual and show keybindings and set `:group' keyword.
451
452 2013-12-11 Juri Linkov <juri@jurta.org>
453
454 * delsel.el (delete-active-region): Let-bind `this-command'
455 to prevent `kill-region' from changing its original value.
456 (delete-selection-helper): Handle `overwrite-mode' for the type
457 `kill' exactly the same way as for the type `t'.
458 (insert-char, quoted-insert, reindent-then-newline-and-indent):
459 Support more commands. (Bug#13312)
460
461 2013-12-11 Juri Linkov <juri@jurta.org>
462
463 * bindings.el: Map kp keys to non-kp keys systematically
464 with basic modifiers control, meta and shift. (Bug#14397)
465
466 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
467
468 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
469 "Close browser" menu items. Fix wrong function of "List
470 bookmarks".
471
472 2013-12-11 Juri Linkov <juri@jurta.org>
473
474 * misearch.el (multi-isearch-buffers): Set the value of
475 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
476 arg of isearch-forward to t.
477 (multi-isearch-buffers-regexp): Set the value of
478 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
479 arg of isearch-forward-regexp to t.
480 (multi-isearch-files): Set the value of
481 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
482 arg of isearch-forward to t.
483 (multi-isearch-files-regexp): Set the value of
484 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
485 arg of isearch-forward-regexp to t. (Bug#16035)
486
487 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
488 arg of isearch-forward to t.
489 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
490 arg of isearch-forward-regexp to t.
491 (dired-isearch-filter-filenames): Remove unnecessary check for
492 `dired-isearch-filenames'.
493
494 * comint.el (comint-history-isearch-backward):
495 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
496 (comint-history-isearch-backward-regexp):
497 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
498
499 2013-12-10 Eli Zaretskii <eliz@gnu.org>
500
501 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
502 unmsys--file-name. (Bug#16099)
503
504 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
505
506 * emacs-lisp/package.el (package-keyword-button-action):
507 Remove finder.el require dependency.
508
509 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
510
511 * emacs-lisp/package.el: Require finder.el.
512 (describe-package-1): Add keyword buttons.
513 (package-make-button): New convenience function.
514 (package-keyword-button-action): Keyword button action using
515 `finder-list-matches'
516
517 2013-12-09 Eli Zaretskii <eliz@gnu.org>
518
519 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
520 last commit.
521
522 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
523
524 * autorevert.el (auto-revert-notify-add-watch): Do not handle
525 symlinked files.
526
527 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
528
529 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
530 after the end of a percent literal.
531
532 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
533
534 * progmodes/ruby-mode.el (ruby-forward-string): Document.
535 Handle caret-delimited strings (Bug#16079).
536
537 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
538
539 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
540 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
541 `ruby-parse-partial' (Bug#16078).
542
543 2013-12-09 Leo Liu <sdl.web@gmail.com>
544
545 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
546
547 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
548
549 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
550 (js-switch-indent-offset): New option.
551 (js--proper-indentation): Use it. And handle the case when
552 "default" is actually a key in an object literal.
553 (js--same-line): New function.
554 (js--multi-line-declaration-indentation): Use it.
555 (js--indent-in-array-comp, js--array-comp-indentation):
556 New functions.
557 (js--proper-indentation): Use them, to handle array comprehension
558 continuations.
559
560 2013-12-08 Leo Liu <sdl.web@gmail.com>
561
562 * progmodes/flymake.el (flymake-highlight-line): Re-write.
563 (flymake-make-overlay): Remove arg MOUSE-FACE.
564 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
565
566 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
567
568 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
569 New function.
570 (redisplay-highlight-region-function): Use it.
571
572 * emulation/cua-base.el (cua--explicit-region-start)
573 (cua--last-region-shifted): Remove.
574 (cua--deactivate): Use deactivate-mark.
575 (cua--pre-command-handler-1): Don't handle shift-selection.
576 (cua--post-command-handler-1): Don't change transient-mark-mode.
577 (cua--select-keymaps): Use region-active-p rather than
578 cua--explicit-region-start or cua--last-region-shifted.
579 (cua-mode): Enable shift-select-mode.
580
581 2013-12-08 Leo Liu <sdl.web@gmail.com>
582
583 * progmodes/flymake.el (flymake-popup-current-error-menu):
584 Rename from flymake-display-err-menu-for-current-line. Reimplement.
585 (flymake-posn-at-point-as-event, flymake-popup-menu)
586 (flymake-make-emacs-menu): Remove. (Bug#16077)
587
588 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
589
590 * rect.el (rectangle-mark-mode): Activate mark even if
591 transient-mark-mode is off (bug#16066).
592 (rectangle--highlight-for-redisplay): Fix boundary condition when point
593 is > mark and at bolp.
594
595 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
596 (region-extract-function): Use it.
597 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
598 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
599 Delete functions.
600 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
601 kill-ring-save, kill-region, delete-char, delete-forward-char.
602 Ignore self-insert-iso.
603
604 * emulation/cua-gmrk.el (cua--init-global-mark):
605 Ignore `self-insert-iso'.
606
607 * emulation/cua-base.el (cua--prefix-copy-handler)
608 (cua--prefix-cut-handler): Rely on region-extract-function rather than
609 checking cua--rectangle.
610 (cua-delete-region): Use region-extract-function.
611 (cua-replace-region): Delete function.
612 (cua-copy-region, cua-cut-region): Obey region-extract-function.
613 (cua--pre-command-handler-1): Don't do the delete-selection thing.
614 (cua--self-insert-char-p): Ignore `self-insert-iso'.
615 (cua--init-keymaps): Don't remap delete-selection commands.
616 (cua-mode): Use delete-selection-mode instead of rolling our own
617 (bug#16085).
618
619 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
620 Obey region-extract-function.
621
622 Make registers and delete-selection-mode work on rectangles.
623 * register.el (describe-register-1): Don't modify the register's value.
624 (copy-to-register): Obey region-extract-function.
625 * delsel.el (delete-active-region): Obey region-extract-function.
626
627 2013-12-08 Leo Liu <sdl.web@gmail.com>
628
629 * progmodes/flymake.el (flymake, flymake-error-bitmap)
630 (flymake-warning-bitmap, flymake-fringe-indicator-position)
631 (flymake-compilation-prevents-syntax-check)
632 (flymake-start-syntax-check-on-newline)
633 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
634 (flymake-start-syntax-check-on-find-file, flymake-log-level)
635 (flymake-xml-program, flymake-master-file-dirs)
636 (flymake-master-file-count-limit)
637 (flymake-allowed-file-name-masks): Relocate.
638 (flymake-makehash, flymake-float-time)
639 (flymake-replace-regexp-in-string, flymake-split-string)
640 (flymake-get-temp-dir): Remove.
641 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
642 (flymake-current-row, flymake-selected-frame)
643 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
644 related functions. (Bug#16077)
645
646 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
647
648 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
649
650 2013-12-07 Tassilo Horn <tsdh@gnu.org>
651
652 * help-fns.el (describe-function-1): Use new advice-* functions
653 rather than old ad-* functions. Fix function type description and
654 source links for advised functions and subrs.
655
656 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
657
658 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
659
660 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
661
662 * progmodes/compile.el (compilation-start):
663 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
664
665 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
666 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
667
668 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
669
670 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
671 Touch up the last change.
672
673 2013-12-06 Leo Liu <sdl.web@gmail.com>
674
675 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
676 (inferior-octave-startup): Always use "octave> " for prompt.
677 (octave-goto-function-definition)
678 (octave-sync-function-file-names)
679 (octave-find-definition-default-filename): Remove redundant backquotes.
680
681 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
682
683 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
684 syntax for `?'.
685 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
686 where appropriate already.
687 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
688 end of method names (Bug#15874).
689
690 2013-12-06 Juri Linkov <juri@jurta.org>
691
692 * isearch.el (isearch--saved-overriding-local-map):
693 New internal variable.
694 (isearch-mode): Set it to the initial value of
695 `overriding-terminal-local-map'.
696 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
697 with `isearch--saved-overriding-local-map'. (Bug#16035)
698
699 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
700
701 * progmodes/octave.el (inferior-octave-completion-table):
702 Turn back into function, use `completion-table-with-cache'
703 (Bug#11906). Update all references.
704
705 * minibuffer.el (completion-table-with-cache): New function.
706
707 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
708
709 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
710
711 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
712
713 * net/eww.el (eww-current-source): New variable to store page
714 source.
715 (eww-display-html, eww-mode, eww-save-history)
716 (eww-restore-history): Use it.
717 (eww-view-source): New command to view page source.
718 Opportunistically uses `html-mode' to highlight the buffer.
719 (eww-mode-map): Install it.
720
721 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
722
723 * net/dbus.el (dbus-unregister-service)
724 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
725 Fix docstring.
726 (dbus-unregister-service): Skip :serial entries in
727 `dbus-registered-objects-table'.
728 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
729
730 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
731
732 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
733 around keywords with extra `split-string' argument.
734
735 2013-12-04 Martin Rudalics <rudalics@gmx.at>
736
737 * windmove.el (windmove-other-window-loc): Handle navigation
738 between windows (excluding the minibuffer window - Bug#16017).
739
740 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
741
742 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
743 in D-Bus type syntax.
744 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
745 preserve unibyte strings. (Bug#16048)
746
747 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
748
749 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
750 Call force-mode-line-update is the proper buffer (bug#16042).
751
752 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
753
754 * vc/log-edit.el (log-edit-add-new-comment): Rename to
755 `log-edit-remember-comment', make argument optional. Adjust all
756 callers.
757 (log-edit-mode): Add `log-edit-remember-comment' to
758 `kill-buffer-hook' locally.
759 (log-edit-kill-buffer): Don't remember comment explicitly since
760 the buffer is killed anyway.
761
762 2013-12-04 Juri Linkov <juri@jurta.org>
763
764 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
765 add-hook and remove-hook for multi-buffer search. (Bug#16035)
766
767 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
768
769 * notifications.el (notifications-close-notification): Call the
770 D-Bus method with ID being a `:uint32'. (Bug#16030)
771
772 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
773
774 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
775
776 2013-12-03 Juri Linkov <juri@jurta.org>
777
778 * progmodes/compile.el (compilation-start): Rename window alist
779 entry `no-display-ok' to `allow-no-window'.
780
781 * simple.el (shell-command): Add window alist entry
782 `allow-no-window' to `display-buffer'.
783 (async-shell-command): Doc fix.
784
785 * window.el (display-buffer-no-window): New action function.
786 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
787
788 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
789
790 * vc/log-edit.el (log-edit-set-header): Extract from
791 `log-edit-toggle-header'.
792 (log-edit-extract-headers): Separate the summary, when extracted
793 from header, from the rest of the message with an empty line.
794
795 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
796 line, if present, to the Summary header.
797
798 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
799
800 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
801 in current-buffer (bug#16029).
802
803 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
804
805 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
806 (debugger-mode-map): Bind it.
807 (debugger--backtrace-base): New function.
808 (debugger-eval-expression): Use it.
809 (debugger-frame-number): Skip local vars when present.
810 (debugger--locals-visible-p, debugger--insert-locals)
811 (debugger--show-locals, debugger--hide-locals): New functions.
812
813 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
814
815 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
816 "LC_ALL".
817 (tramp-get-remote-locale): New defun.
818 (tramp-open-connection-setup-interactive-shell): Use it.
819
820 2013-12-02 Leo Liu <sdl.web@gmail.com>
821
822 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
823
824 * progmodes/sh-script.el (sh-shell-process):
825 * progmodes/octave.el (inferior-octave-process-live-p):
826 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
827 (gdb-inferior-io-sentinel):
828 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
829
830 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
831
832 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
833 `save-selected-window' to `log-edit-hide-buf'. This makes
834 `log-edit-show-files' idempotent.
835 (log-edit-show-files): Mark the new window as dedicated.
836
837 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
838
839 * vc/log-edit.el (log-edit-mode-map): Add binding for
840 `log-edit-kill-biffer'.
841 (log-edit-hide-buf): Add a FIXME comment.
842 (log-edit-add-new-comment): New function, extracted from
843 `log-edit-done'.
844 (log-edit-done, log-edit-add-to-changelog): Use it.
845 (log-edit-kill-buffer): New command.
846
847 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
848
849 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
850 instead of killing the buffer.
851
852 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
853
854 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
855
856 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
857
858 * net/eww.el (eww-form-checkbox-selected-symbol)
859 (eww-form-checkbox-symbol): New customizable variable.
860 (eww-form-checkbox, eww-toggle-checkbox):
861 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
862
863 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
864 (shr--get-media-pref, shr--extract-best-source): New function.
865 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
866 no :src tag was specified.
867
868 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
869 (eww-render): Handle `eww-use-external-browser-for-content-type'.
870 Use \\` to match beginning of string instead of ^.
871 (eww-browse-with-external-browser): Provide optional URL parameter.
872 (eww-render): Set `eww-current-title' back to "".
873
874 * net/shr.el (shr-tag-video): Display content for video if no
875 poster is available.
876 (shr-tag-audio): Add support for <audio> tag.
877
878 * net/eww.el (eww-text-input-types): : New const.
879 (eww-process-text-input): Treat input types in
880 `eww-text-input-types' as text.
881
882 * net/shr.el (shr-tag-table): Fix comment typo.
883
884 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
885
886 * net/eww.el (eww-follow-link): New command to avoid reloading
887 pages when we follow #target links (bug#15243).
888 (eww-quit): Special mode buffers shouldn't query before exiting.
889
890 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
891
892 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
893 forms.
894
895 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
896
897 * net/eww.el (eww-restore-history): Update the window title after
898 moving in the history.
899 (eww-current-dom): New variable used to save the current DOM.
900
901 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
902
903 * vc/log-edit.el (log-edit-mode-map): Add binding for
904 `log-edit-beginning-of-line'.
905 (log-edit-setup-add-author): New user option.
906 (log-edit-beginning-of-line): New command.
907 (log-edit): Move major mode call above the contents setup so that
908 the local variable values are already applied.
909 (log-edit): Only insert "Author: " when
910 `log-edit-setup-add-author' is non-nil.
911 (log-edit): When SETUP is non-nil, position point after ": "
912 instead of point-min.
913
914 2013-12-01 Glenn Morris <rgm@gnu.org>
915
916 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
917
918 2013-11-30 Eli Zaretskii <eliz@gnu.org>
919
920 * startup.el (fancy-splash-frame): On MS-Windows, trigger
921 redisplay to make sure the initial frame gets a chance to become
922 visible. (Bug#16014)
923
924 2013-11-30 Martin Rudalics <rudalics@gmx.at>
925
926 Support resizing frames and windows pixelwise.
927 * cus-start.el (frame-resize-pixelwise)
928 (window-resize-pixelwise): New entries.
929 * emacs-lisp/debug.el (debug): Use window-total-height instead
930 of window-total-size.
931 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
932 * help.el (describe-bindings-internal): Call help-buffer
933 (temp-buffer-max-width): New option.
934 (resize-temp-buffer-window, help-window-setup)
935 (with-help-window): Rewrite.
936 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
937 dragging dividers.
938 * window.el (frame-char-size, window-min-pixel-height)
939 (window-safe-min-pixel-height, window-safe-min-pixel-width)
940 (window-min-pixel-width, window-safe-min-pixel-size)
941 (window-combination-p, window-safe-min-size)
942 (window-resizable-p, window--size-to-pixel)
943 (window--pixel-to-size, window--resize-apply-p): New functions.
944 (window-safe-min-height): Fix doc-string.
945 (window-size, window-min-size, window--min-size-1)
946 (window-sizable, window-sizable-p, window--min-delta-1)
947 (window-min-delta, window--max-delta-1, window-max-delta)
948 (window--resizable, window--resizable-p, window-resizable)
949 (window-full-height-p, window-full-width-p, window-at-side-p)
950 (window--in-direction-2, window-in-direction)
951 (window--resize-reset-1, window--resize-mini-window)
952 (window-resize, window-resize-no-error)
953 (window--resize-child-windows-normal)
954 (window--resize-child-windows, window--resize-siblings)
955 (window--resize-this-window, window--resize-root-window)
956 (window--resize-root-window-vertically)
957 (adjust-window-trailing-edge, enlarge-window, shrink-window)
958 (maximize-window, minimize-window, delete-window)
959 (quit-restore-window, window-split-min-size, split-window)
960 (balance-windows-2, balance-windows)
961 (balance-windows-area-adjust, balance-windows-area)
962 (window--state-get-1, window-state-get, window--state-put-1)
963 (window--state-put-2, window-state-put)
964 (display-buffer-record-window, window--display-buffer):
965 Make functions handle pixelwise sizing of windows.
966 (display-buffer--action-function-custom-type)
967 (display-buffer-fallback-action):
968 Add display-buffer-in-previous-window.
969 (display-buffer-use-some-window): Resize window to height it had
970 before.
971 (fit-window-to-buffer-horizontally): New option.
972 (fit-frame-to-buffer): Describe new values.
973 (fit-frame-to-buffer-bottom-margin): Replace with
974 fit-frame-to-buffer-margins.
975 (window--sanitize-margin): New function.
976 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
977 using window-text-pixel-size.
978
979 2013-11-30 Glenn Morris <rgm@gnu.org>
980
981 * emacs-lisp/bytecomp.el (byte-compile-form):
982 Make the `interactive-only' warning like the `obsolete' one.
983 * comint.el (comint-run):
984 * files.el (insert-file-literally, insert-file):
985 * replace.el (replace-string, replace-regexp):
986 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
987 (goto-line, insert-buffer, next-line, previous-line):
988 Tweak `interactive-only' spec.
989
990 Stop keeping (most) generated cedet grammar files in the repository.
991 * Makefile.in (semantic): New.
992 (compile-main): Depend on semantic.
993
994 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
995
996 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
997 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
998
999 * uniquify.el (uniquify-buffer-name-style): Change default.
1000
1001 * loadup.el: Preload "uniquify".
1002
1003 * time.el (display-time-update): Update all mode lines (bug#15999).
1004
1005 * electric.el (electric-indent-mode): Enable by default.
1006 * loadup.el: Preload "electric".
1007
1008 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1009
1010 * emacs-lisp/helpers.el (string-empty-p): New function.
1011 (string-blank-p): New function.
1012
1013 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1014
1015 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1016 (Bug#14029).
1017
1018 2013-11-29 Andreas Politz <politza@fh-trier.de>
1019 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1020 allow non-lambda lists as functions.
1021 (imenu--in-alist): Don't recurse into non-subalists.
1022 (imenu): Don't pass function itself as an argument (Bug#14029).
1023
1024 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1025
1026 * progmodes/python.el (python-mode-map): Remove binding for ":".
1027 (python-indent-electric-colon): Remove command.
1028 (python-indent-post-self-insert-function): Integrate the previous code
1029 of python-indent-electric-colon. Make it conditional on
1030 electric-indent-mode.
1031 (python-mode): Add ?: to electric-indent-chars.
1032 Move python-indent-post-self-insert-function to the end of
1033 post-self-insert-hook.
1034
1035 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1036
1037 * doc-view.el (doc-view-goto-page): Update mode-line.
1038
1039 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1040
1041 2013-11-27 Glenn Morris <rgm@gnu.org>
1042
1043 * international/charprop.el, international/uni-bidi.el:
1044 * international/uni-category.el, international/uni-combining.el:
1045 * international/uni-comment.el, international/uni-decimal.el:
1046 * international/uni-decomposition.el, international/uni-digit.el:
1047 * international/uni-lowercase.el, international/uni-mirrored.el:
1048 * international/uni-name.el, international/uni-numeric.el:
1049 * international/uni-old-name.el, international/uni-titlecase.el:
1050 * international/uni-uppercase.el:
1051 Remove generated files from VCS repository.
1052
1053 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1054
1055 * filenotify.el (file-notify-add-watch): Don't special-case
1056 w32notify when computing the directory to watch.
1057
1058 2013-11-27 Glenn Morris <rgm@gnu.org>
1059
1060 Make bootstrap without generated uni-*.el files possible again.
1061 * loadup.el: Update command-line-args checking for unidata-gen.
1062 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1063 * composite.el, international/characters.el:
1064 Handle unicode tables being undefined.
1065
1066 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1067 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1068 (compile-main): Depend on leim rule.
1069 (leim): New rule.
1070 * loadup.el: Move leim-list.el to leim/ subdirectory.
1071 * startup.el (normal-top-level): No more leim directory.
1072 * international/ja-dic-cnv.el (skkdic-convert):
1073 Disable version-control and autoloads in output files.
1074 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1075 Disable version-control and autoloads in output files.
1076 * leim/quail: Move here from ../leim.
1077 * leim/quail/hangul.el (hangul-input-method-activate):
1078 Add autoload cookie.
1079 (generated-autoload-load-name): Set file-local value.
1080 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1081 (generated-autoload-load-name): Set file-local value.
1082
1083 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1084
1085 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1086 (eww-add-bookmark): ask confirmation when add to bookmarks
1087 (eww-quit): ask confirmation before quitting eww
1088
1089 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1090
1091 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1092 reading output from Diff on MS-Windows and MS-DOS.
1093
1094 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1095
1096 * emacs-lisp/helpers.el (string-reverse): New function.
1097
1098 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1099
1100 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1101 names on MS Windows, like "/[::1]:".
1102
1103 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1104 SWITCHES.
1105
1106 2013-11-26 Glenn Morris <rgm@gnu.org>
1107
1108 * progmodes/python.el (python-indent-guess-indent-offset):
1109 Avoid corner-case error. (Bug#15975)
1110
1111 Preload leim-list.el. (Bug#4789)
1112 * loadup.el: Load leim-list.el when found.
1113 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1114
1115 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1116
1117 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1118
1119 * emacs-lisp/helpers.el (string-join): New function.
1120
1121 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1122
1123 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1124 Mark as obsolete and replace it with a symbol property.
1125 (byte-compile-form): Use new 'interactive-only property.
1126 * comint.el, files.el, replace.el, simple.el:
1127 Apply new 'interactive-only properly.
1128
1129 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1130
1131 * window.el (display-buffer-at-bottom): Make sure that
1132 split-window-sensibly creates the new window on bottom
1133 (Bug#15961).
1134
1135 2013-11-23 David Kastrup <dak@gnu.org>
1136
1137 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1138 on the conflict markers when available.
1139 (smerge--get-marker): New function.
1140 (smerge-end-re, smerge-base-re): Add subgroup.
1141
1142 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1143
1144 * frame.el (handle-focus-in, handle-focus-out): Add missing
1145 interactive spec.
1146
1147 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1148
1149 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1150 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1151
1152 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1153
1154 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1155 (gomoku--last-pos): New var.
1156 (gomoku--intangible-chars): New const.
1157 (gomoku--intangible): New function.
1158 (gomoku-mode): Use it. Derive from special-mode.
1159 (gomoku-move-up): Adjust line count.
1160 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1161 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1162 Simplify accordingly.
1163
1164 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1165 Remove blink-cursor code.
1166 (blink-cursor-timer-function, blink-cursor-suspend):
1167 Don't special-case GUIs.
1168 (blink-cursor-mode): Use focus-in/out-hook.
1169
1170 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1171
1172 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1173 work when annotation is invisible (Bug#13886).
1174
1175 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1176
1177 * json.el (json-alist-p): Only return non-nil if the alist has
1178 simple keys (Bug#13518).
1179
1180 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1181
1182 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1183 when control-statement is the first statement in a buffer (Bug#15956).
1184
1185 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1186
1187 * imenu.el (imenu-generic-skip-comments-and-strings):
1188 New option (Bug#15560).
1189 (imenu--generic-function): Use it.
1190
1191 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1192
1193 * minibuffer.el (completion--in-region-1): Scroll the correct
1194 window. (Bug#13898)
1195
1196 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1197
1198 * emacs-lisp/helpers.el: Add some string helpers.
1199 (string-trim-left): Removes leading whitespace.
1200 (string-trim-right): Removes trailing whitespace.
1201 (string-trim): Removes leading and trailing whitespace.
1202
1203 * subr.el (string-suffix-p): New function.
1204
1205 2013-11-23 Glenn Morris <rgm@gnu.org>
1206
1207 * progmodes/python.el (python-shell-send-file):
1208 Add option to delete file when done. (Bug#15647)
1209 (python-shell-send-string, python-shell-send-region): Use it.
1210
1211 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1212
1213 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1214 to set buffer-read-only to t, never to nil. (Bug#15938)
1215
1216 * textmodes/tex-mode.el (latex-noindent-environments):
1217 Add safe-local-variable property. (Bug#15936)
1218
1219 2013-11-23 Glenn Morris <rgm@gnu.org>
1220
1221 * textmodes/enriched.el (enriched-mode): Doc fix.
1222 * emacs-lisp/authors.el (authors-renamed-files-alist):
1223 Add enriched.doc -> enriched.txt.
1224
1225 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1226
1227 2013-11-22 Leo Liu <sdl.web@gmail.com>
1228
1229 * progmodes/octave.el (inferior-octave-startup): Spit out error
1230 message.
1231
1232 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1233
1234 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1235 Improve docstring.
1236 Add :version.
1237 (ruby-encoding-magic-comment-style): Add :version.
1238
1239 2013-11-22 Leo Liu <sdl.web@gmail.com>
1240
1241 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1242 (Bug#15076)
1243 (octave-help-mode): Adapt to change to help-mode-finish to use
1244 derived-mode-p on 2013-09-17.
1245 (inferior-octave-prompt): Also match octave-gui.
1246 (octave-kill-process): Don't ask twice. (Bug#10564)
1247
1248 2013-11-22 Leo Liu <sdl.web@gmail.com>
1249
1250 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1251 (inferior-octave-startup, inferior-octave-check-process)
1252 (inferior-octave-track-window-width-change)
1253 (octave-completion-at-point, octave-eldoc-function): Use it.
1254 (octave-kill-process): Provide confirmation. (Bug#10564)
1255
1256 2013-11-21 Leo Liu <sdl.web@gmail.com>
1257
1258 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1259 Fix obsolete variable comment-use-global-state.
1260
1261 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1262
1263 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1264 Add `octave-source-file'.
1265 (octave-source-file): New function. (Bug#15935)
1266
1267 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1268
1269 * net/eww.el (eww-local-regex): New variable.
1270 (eww): Use it to detect localhost and similar.
1271
1272 2013-11-21 Leo Liu <sdl.web@gmail.com>
1273
1274 Add completion for command `ag'.
1275 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1276 (pcomplete/ag): New function.
1277 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1278
1279 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1280
1281 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1282 (bug#14646).
1283 (make-obsolete): Remove interactive spec.
1284
1285 2013-11-21 Glenn Morris <rgm@gnu.org>
1286
1287 * startup.el (command-line-1): Use path-separator with -L.
1288
1289 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1290
1291 * emacs-lisp/package.el (describe-package-1): Add package archive
1292 to shown fields.
1293
1294 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1295
1296 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1297 Change default to "# encoding: %s" to differentiate it from the
1298 default Ruby encoding comment template.
1299
1300 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1301
1302 * ses.el (ses-mode): Doc fix. (Bug#14748)
1303
1304 2013-11-20 Leo Liu <sdl.web@gmail.com>
1305
1306 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1307
1308 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1309
1310 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1311 when rebase or bisect are in progress.
1312
1313 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1314
1315 * filenotify.el (file-notify-add-watch): Doc fix.
1316
1317 2013-11-19 Leo Liu <sdl.web@gmail.com>
1318
1319 * obsolete/rcompile.el: Mark obsolete.
1320
1321 * progmodes/compile.el (compilation-start)
1322 (compilation-goto-locus, compilation-find-file):
1323 Pass no-display-ok and handle nil value from display-buffer.
1324 (Bug#13594)
1325
1326 * window.el (display-buffer-alist, display-buffer): Document the
1327 new parameter no-display-ok. Return either a window or nil
1328 but never a non-window value.
1329
1330 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1331
1332 * electric.el (electric-indent-mode-map): Remove.
1333 (electric-indent-mode): Change the global-map instead (bug#15915).
1334
1335 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1336 Use add-function.
1337
1338 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1339
1340 * emacs-lisp/nadvice.el (remove-function): Align with
1341 add-function's behavior.
1342
1343 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1344 (gdb--string-regexp): New constant.
1345 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1346 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1347 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1348 submatch 1.
1349 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1350 Adjust use accordingly.
1351 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1352
1353 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1354
1355 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1356 interpolation curlies (Bug#15914).
1357
1358 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1359
1360 * calc/calc.el (calc-context-sensitive-enter): New variable.
1361 (calc-enter): Use `calc-context-sensitive-enter'.
1362
1363 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1364
1365 * progmodes/cfengine.el: Version bump.
1366 (cfengine-cf-promises): New defcustom to locate cf-promises.
1367 (cfengine3-vartypes): Add new "data" type.
1368 (cfengine3--current-word): New function to get current name-like
1369 word or its bounds.
1370 (cfengine3--current-function): New function to look up a CFEngine
1371 function's definition.
1372 (cfengine3-format-function-docstring): New function.
1373 (cfengine3-make-syntax-cache): New function.
1374 (cfengine3-documentation-function): New function: ElDoc glue.
1375 (cfengine3-completion-function): New function: completion glue.
1376 (cfengine3-mode): Set `compile-command',
1377 `eldoc-documentation-function', and add to
1378 `completion-at-point-functions'.
1379
1380 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1381
1382 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1383 `tramp-current-connection'.
1384
1385 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1386
1387 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1388 nil/self/true/false with "end of symbol".
1389
1390 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1391
1392 * subr.el (version-regexp-alist): Fix a typo.
1393
1394 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1395
1396 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1397 "en_US.utf8" and "LC_CTYPE" to "".
1398 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1399 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1400
1401 2013-11-15 Leo Liu <sdl.web@gmail.com>
1402
1403 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1404
1405 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1406
1407 * progmodes/gud.el (ctl-x-map):
1408 Remove C-x SPC binding. (Bug#12342)
1409 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1410
1411 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1412
1413 * subr.el (version-regexp-alist):
1414 Recognize hg, svn and darcs versions as snapshot versions.
1415
1416 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1417 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1418 (ruby--encoding-comment-required-p): Extract from
1419 `ruby-mode-set-encoding'.
1420 (ruby-mode-set-encoding): Add the ability to always insert an
1421 utf-8 encoding comment. Fix and simplify coding comment update
1422 logic.
1423
1424 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1425
1426 * net/tramp-gvfs.el (top): Run init code only when
1427 `tramp-gvfs-enabled' is not nil.
1428 (tramp-gvfs-enabled): Check also :system bus.
1429
1430 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1431
1432 Sync with upstream verilog-mode revision 78e66ba.
1433 * progmodes/verilog-mode.el (verilog-end-of-defun)
1434 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1435 (verilog-get-end-of-defun): Remove unused argument.
1436 (verilog-comment-depth): Remove unused local `e'.
1437 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1438 Don't pass arg to verilog-get-end-of-defun.
1439
1440 2013-11-14 Glenn Morris <rgm@gnu.org>
1441
1442 * obsolete/assoc.el (aget): Prefix dynamic variable.
1443
1444 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1445
1446 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1447
1448 * widget.el, hfy-cmap.el: Remove bogus package version number.
1449
1450 2013-11-13 Glenn Morris <rgm@gnu.org>
1451
1452 * replace.el (replace-eval-replacement):
1453 Try to give more helpful error message. (Bug#15836)
1454
1455 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1456 (archive-7z-update): Avoid custom type mismatches.
1457
1458 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1459
1460 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1461
1462 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1463 address can be empty.
1464
1465 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1466 Accept nil SWITCHES.
1467 (tramp-gvfs-handle-write-region): Implement APPEND.
1468
1469 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1470
1471 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1472 binary "|" operator and closing block args delimiter.
1473 Remove FIXME comment referring to Ruby 1.8-only syntax.
1474 (ruby-smie--implicit-semi-p): Not after "|" operator.
1475 (ruby-smie--closing-pipe-p): New function.
1476 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1477 (ruby-smie-rules): Indent after "|".
1478
1479 2013-11-12 Glenn Morris <rgm@gnu.org>
1480
1481 * ps-print.el (ps-face-attribute-list):
1482 Handle anonymous faces. (Bug#15827)
1483
1484 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1485
1486 * window.el (display-buffer-other-frame): Fix doc-string.
1487 (Bug#15868)
1488
1489 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1490
1491 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1492
1493 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1494
1495 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1496 (tramp-sh-handle-file-local-copy): Don't write a message when
1497 saving temporary files.
1498
1499 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1500 both directories are remote.
1501 (tramp-smb-handle-directory-files): Do not return double entries.
1502 Do not expand full file names.
1503 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1504 (tramp-smb-handle-write-region): Implement APPEND.
1505 (tramp-smb-get-stat-capability): Fix a stupid bug.
1506
1507 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1508
1509 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1510
1511 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1512
1513 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1514 throwing error over malformed let/let* (bug#15814).
1515
1516 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1517
1518 * iswitchb.el (iswitchb-mode): Mark obsolete.
1519
1520 2013-11-11 Glenn Morris <rgm@gnu.org>
1521
1522 * international/uni-bidi.el, international/uni-category.el:
1523 * international/uni-name.el, international/uni-numeric.el:
1524 Regenerate for Unicode 6.3.0.
1525
1526 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1527
1528 * net/tramp.el (tramp-methods):
1529 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1530 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1531
1532 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1533
1534 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1535 Force highlighting text after Summary keyword in doc face for rpm.
1536
1537 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1538
1539 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1540 available and the word has no wildcards, append one to the grep pattern.
1541 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1542 (ispell-complete-word): Call `ispell-lookup-words' with the value
1543 independent of `ispell-look-p'.
1544
1545 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1546
1547 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1548 Not after "||".
1549 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1550 their parent.
1551
1552 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1553
1554 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1555 (ruby-font-lock-keywords): Use backquote.
1556
1557 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1558
1559 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1560 (ruby-smie--backward-token): Only consider full-string matches.
1561
1562 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1563
1564 * faces.el (describe-face): Add distant-foreground.
1565
1566 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1567
1568 * progmodes/ruby-mode.el: Improve encoding comment handling.
1569 (ruby-encoding-magic-comment-style): New option.
1570 (ruby-custom-encoding-magic-comment-template): New option.
1571 (ruby--insert-coding-comment, ruby--detect-encoding):
1572 New functions extracted from `ruby-mode-set-encoding'.
1573 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1574 to control the style of the auto-inserted encoding comment.
1575
1576 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1577
1578 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1579 Use `smie-backward-sexp' with token argument.
1580
1581 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1582
1583 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1584 Remove instrumentation code.
1585
1586 2013-11-08 Glenn Morris <rgm@gnu.org>
1587
1588 * progmodes/autoconf.el (autoconf-mode):
1589 Tweak comment-start-skip. (Bug#15822)
1590
1591 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1592
1593 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1594 at bobp (bug#15826).
1595 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1596
1597 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1598
1599 * man.el (Man-start-calling): New macro, extracted from
1600 Man-getpage-in-background.
1601 (Man-getpage-in-background): Use it.
1602 (Man-update-manpage): New command.
1603 (Man-mode-map): Bind it.
1604
1605 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1606
1607 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1608 of "and", "or", "&&" and "||".
1609 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1610 argument. Prohibit opening curly brace because it could only be a
1611 block opener in that position.
1612 (ruby-smie--forward-token, ruby-smie--backward-token):
1613 Separate "|" from "&" or "*" going after it. That can happen in block
1614 arguments.
1615 (ruby-smie--indent-to-stmt): New function, seeks the end of
1616 previous statement or beginning of buffer.
1617 (ruby-smie-rules): Use it.
1618 (ruby-smie-rules): Check if there's a ":" before a curly block
1619 opener candidate; if there is, it's a hash.
1620
1621 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1622
1623 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1624 (cl--block-wrapper): Fix last accidental change.
1625
1626 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1627
1628 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1629 Instrument, in order to hunt failure on hydra.
1630
1631 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1632
1633 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1634 malformed bindings form (bug#15814).
1635
1636 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1637
1638 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1639 "." compared to " @ ". This incidentally fixes some indentation
1640 examples with "do".
1641 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1642 (ruby-smie-grammar): New tokens: "and" and "or".
1643 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1644 Exclude "and" and "or". Remove "do" in order to work around token
1645 priorities.
1646 (ruby-smie-rules): Add all infix tokens. Handle the case of
1647 beginning-of-buffer.
1648
1649 2013-11-06 Glenn Morris <rgm@gnu.org>
1650
1651 * Makefile.in (setwins_almost, setwins_for_subdirs):
1652 Avoid accidental matches.
1653
1654 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1655
1656 * menu-bar.el (popup-menu): Use key-binding.
1657
1658 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1659
1660 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1661 menus, support also the menus produced by minor modes.
1662 (Bug#15817)
1663
1664 2013-11-06 Leo Liu <sdl.web@gmail.com>
1665
1666 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1667 DISTANCE to bound the search. All uses changed. (Bug#15808)
1668
1669 2013-11-06 Glenn Morris <rgm@gnu.org>
1670
1671 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1672 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1673 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1674
1675 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1676
1677 * electric.el (electric-indent-just-newline): New command.
1678 (electric-indent-mode-map): New keymap.
1679 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1680 Re-add :group which weren't redundant.
1681
1682 * electric.el (electric-indent-local-mode): New minor mode.
1683 (electric-indent-functions-without-reindent): New var.
1684 (electric-indent-post-self-insert-function): Use it.
1685 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1686
1687 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1688
1689 * international/quail.el (quail-help): Be more explicit about the
1690 meaning of the labels shown on the keys. (Bug#15800)
1691
1692 * startup.el (normal-top-level): Load the subdirs.el files before
1693 setting the locale environment. (Bug#15805)
1694
1695 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1696
1697 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1698 via arguments so as to get the right ones (bug#15418).
1699
1700 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1701
1702 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1703
1704 Fix problems found while writing a test suite.
1705
1706 * net/tramp-compat.el (tramp-compat-load): New defun.
1707 * net/tramp.el (tramp-handle-load): Use it.
1708
1709 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1710 "(numberp ok-if-already-exists)" correctly.
1711
1712 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1713
1714 * international/characters.el (glyphless-char-display-control):
1715 Add usage note.
1716
1717 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1718
1719 * progmodes/python.el (python-mode):
1720 * progmodes/scheme.el (scheme-mode):
1721 * progmodes/prolog.el (prolog-mode):
1722 * progmodes/ruby-mode.el (ruby-mode):
1723 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1724 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1725
1726 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1727
1728 * rect.el (rectangle--highlight-for-redisplay):
1729 * emacs-lisp/smie.el (smie--next-indent-change):
1730 Use buffer-chars-modified-tick.
1731
1732 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1733
1734 * electric.el (electric-indent-post-self-insert-function):
1735 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1736
1737 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1738
1739 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1740
1741 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1742
1743 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1744 (bug#15786).
1745
1746 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1747
1748 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1749
1750 * progmodes/python.el: Fix up last change.
1751 (python-shell--save-temp-file): New function.
1752 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1753 `string' comes from the current buffer.
1754 (python-shell-send-string-no-output): Remove `msg' arg.
1755 (python--use-fake-loc): New var.
1756 (python-shell-buffer-substring): Obey it. Try to compensate for the
1757 extra coding line added by python-shell--save-temp-file.
1758 (python-shell-send-region): Use python-shell--save-temp-file and
1759 python-shell-send-file directly. Add `nomain' argument.
1760 (python-shell-send-buffer): Use python-shell-send-region.
1761 (python-electric-pair-string-delimiter): New function.
1762 (python-mode): Use it.
1763
1764 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1765
1766 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1767 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1768 environment and decoding all of the default-directory's to here
1769 from command-line.
1770 (command-line): Decode also argv[0].
1771
1772 * loadup.el: Error out if default-directory is a multibyte string
1773 when we are dumping.
1774
1775 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1776
1777 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1778
1779 * emacs-lisp/package.el (package-menu-mode)
1780 (package-menu--print-info, package-menu--archive-predicate):
1781 Add Archive column to package list.
1782
1783 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1784
1785 Fix problems found while writing a test suite.
1786
1787 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1788 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1789 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1790 to nil when running original file name handler. Otherwise,
1791 there are problems with constructs like "$$FOO".
1792
1793 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1794 for `localname'.
1795
1796 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1797
1798 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1799
1800 * subr.el (version<, version<=, version=):
1801 Update docstrings with information for snapshot versions.
1802
1803 * helpers.el: New library for misc helper functions.
1804 (hash-table-keys): New function returning a list of hash keys.
1805 (hash-table-values): New function returning a list of hash values.
1806
1807 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1808
1809 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1810 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1811
1812 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1813
1814 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1815 checking whether point is after a 1-letter word.
1816
1817 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1818
1819 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1820 Don't infloop when expanding region over `multiline' syntax-type that
1821 begins a line (bug#15778).
1822
1823 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1824
1825 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1826 Make it into a proper minor mode.
1827 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1828 (rectangle-mark-mode-map): New keymap.
1829 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1830
1831 2013-11-04 Glenn Morris <rgm@gnu.org>
1832
1833 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1834
1835 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1836
1837 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1838 (ruby-smie-rules): Use smie-rule-parent instead.
1839
1840 * emacs-lisp/smie.el (smie-rule-parent): Always call
1841 smie-indent-virtual rather than only for hanging tokens.
1842 (smie--next-indent-change): New helper command.
1843
1844 2013-11-03 Glenn Morris <rgm@gnu.org>
1845
1846 * Makefile.in (abs_srcdir): Remove.
1847 (emacs): Unset EMACSLOADPATH.
1848
1849 2013-11-02 Glenn Morris <rgm@gnu.org>
1850
1851 * Makefile.in (EMACS): Use a relative filename.
1852 (abs_top_builddir): Remove.
1853 (custom-deps, finder-data, autoloads): Use --chdir.
1854
1855 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1856
1857 Use relative filenames in TAGS files.
1858 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1859 (lisptagsfiles4, TAGS): Use relative file names.
1860 (TAGS-LISP): Remove.
1861 (maintainer-clean): No more TAGS-LISP file.
1862
1863 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1864 (lisptagsfiles4): Use absolute filenames again.
1865 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1866 Remove all *loaddefs files, not just the first. Remove esh-groups.
1867 (maintainer-clean): Delete TAGS, TAGS-LISP.
1868
1869 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1870
1871 * emacs-lisp/package.el (package-version-join):
1872 Recognize snapshot versions.
1873
1874 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1875
1876 * subr.el (version-regexp-alist): Add support for snapshot versions.
1877
1878 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1879
1880 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1881 New function, replacement for `smie-rule-parent' for when we want to
1882 skip over our direct parent if it's an assignment token..
1883 (ruby-smie-rules): Use it.
1884
1885 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1886
1887 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1888 unconditionally. Remove now unnecessary forward declarations.
1889 Remove XEmacs-specific setup.
1890 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1891 (ruby-font-lock-syntactic-keywords)
1892 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1893 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1894 (ruby-here-doc-end-syntax): Remove.
1895 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1896 defined as function.
1897
1898 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1899
1900 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1901
1902 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1903
1904 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1905 table and abbrev table, `define-derived-mode' does that for us
1906 anyway.
1907
1908 2013-11-01 Glenn Morris <rgm@gnu.org>
1909
1910 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1911 files is atomic for some time, so no parallel compilation issues).
1912
1913 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1914
1915 * faces.el (face-x-resources): Add :distant-foreground.
1916 (region): Use :distant-foreground for gtk and ns.
1917
1918 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1919
1920 Allow multiple bibliographies when BibLaTeX is used rather than
1921 BibTeX.
1922 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1923 (reftex-locate-bibliography-files): Us it.
1924
1925 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1926
1927 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1928 allow comments in pbm files.
1929
1930 * term/w32-win.el (dynamic-library-alist): Support newer versions
1931 of libjpeg starting with v7: look only for the DLL from the
1932 version against which Emacs was built.
1933 Support versions of libpng beyond 1.4.x.
1934 Support libtiff v4.x.
1935
1936 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1937
1938 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1939 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1940 Add property :safe.
1941 (ruby-deep-arglist): Add property :type.
1942
1943 2013-10-31 Glenn Morris <rgm@gnu.org>
1944
1945 * Makefile.in (custom-deps, finder-data): No need to setq the target
1946 variables, we are in the right directory and the defaults work fine.
1947
1948 2013-10-30 Glenn Morris <rgm@gnu.org>
1949
1950 * Makefile.in (autoloads): Do not use abs_lisp.
1951
1952 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1953 `newline' does not respect `standard-output', so use `princ'.
1954
1955 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1956
1957 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1958 * buff-menu.el (Buffer-menu--unmark): New function.
1959 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1960
1961 2013-10-30 Glenn Morris <rgm@gnu.org>
1962
1963 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1964
1965 * emacs-lisp/package.el (lm-homepage): Declare.
1966
1967 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1968 Fix doc typos.
1969
1970 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1971
1972 * Makefile.in (finder-data, autoloads, update-subdirs)
1973 (compile-main, compile-clean, compile-always, bootstrap-clean):
1974 Check return value of cd.
1975 (compile-calc): Remove.
1976
1977 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1978
1979 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1980
1981 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1982 (byte-compile-and-folded): New function.
1983 (=, <, >, <=, >=): Use it.
1984
1985 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1986 (path-separator, null-device, buffer-file-coding-system)
1987 (lpr-headers-switches): Check system-type before modifying them.
1988 (find-buffer-file-type-coding-system): Mark obsolete.
1989 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1990 find-file-not-found-set-buffer-file-coding-system.
1991 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1992 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1993 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1994 (w32-direct-print-region-helper, w32-direct-print-region-function)
1995 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1996 * startup.el (normal-top-level-add-subdirs-to-load-path):
1997 * ps-print.el (ps-print-region-function):
1998 * lpr.el (print-region-function): Use new name.
1999
2000 * subr.el (custom-declare-variable-early): Remove function.
2001 (custom-declare-variable-list): Remove var.
2002 (error, user-error): Remove `while' loop.
2003 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2004 (user-emacs-directory-warning, locate-user-emacs-file):
2005 Move to files.el.
2006 * simple.el (read-quoted-char-radix, read-quoted-char):
2007 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2008 Move from subr.el.
2009 * custom.el (custom-declare-variable-list): Don't process
2010 custom-declare-variable-list.
2011
2012 * progmodes/python.el (python-shell-get-buffer): New function.
2013 (python-shell-get-process): Use it.
2014 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2015 Python which encoding was used. Don't split-string since we only care
2016 about the first line. Return the temp-file, if applicable.
2017 (python-shell-send-region): Tell compile.el how to turn locations in
2018 the temp-file into locations in the source buffer.
2019
2020 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2021
2022 * subr.el (undefined): Add missing behavior from the C code for
2023 unbound keys.
2024
2025 * rect.el: Use lexical-binding. Add new rectangular region support.
2026 (rectangle-mark): New command.
2027 (rectangle--region): New var.
2028 (deactivate-mark-hook): Reset rectangle--region.
2029 (rectangle--extract-region, rectangle--insert-for-yank)
2030 (rectangle--highlight-for-redisplay)
2031 (rectangle--unhighlight-for-redisplay): New functions.
2032 (region-extract-function, redisplay-unhighlight-region-function)
2033 (redisplay-highlight-region-function): Use them to handle
2034 rectangular region.
2035 * simple.el (region-extract-function): New var.
2036 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2037 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2038 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2039 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2040 (redisplay-unhighlight-region-function)
2041 (redisplay-highlight-region-function): New vars.
2042 (redisplay--update-region-highlight): New function.
2043 (pre-redisplay-function): Use it.
2044 (exchange-point-and-mark): Don't deactivate the mark before
2045 reactivate-it anyway.
2046 * comint.el (comint-kill-region): Remove yank-handler argument.
2047 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2048 (delete-char): Remove property, since it's now part of their
2049 default behavior.
2050 (self-insert-iso): Remove property since this command doesn't exist.
2051
2052 * emacs-lisp/package.el (package--download-one-archive)
2053 (describe-package-1): Don't query the user about final newline.
2054
2055 2013-10-29 Daniel Colascione <dancol@dancol.org>
2056
2057 * net/tramp.el (tramp-methods): Document new functionality.
2058 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2059 tramp-hostname-checker if method provides one instead of scanning
2060 argument list for "%h" to decide hostname acceptability.
2061
2062 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2063
2064 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2065 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2066 Handle COPY-CONTENTS. (Bug#15737)
2067
2068 2013-10-28 Daiki Ueno <ueno@gnu.org>
2069
2070 * epa-file.el
2071 (epa-file-cache-passphrase-for-symmetric-encryption):
2072 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2073
2074 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2075
2076 * image.el (defimage):
2077 (image-load-path): Doc fixes.
2078
2079 2013-10-27 Alan Mackenzie <acm@muc.de>
2080
2081 Indent statements in macros following "##" correctly.
2082 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2083 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2084
2085 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2086
2087 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2088
2089 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2090
2091 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2092 after `=' is probably a new expression.
2093
2094 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2095
2096 * man.el (man-imenu-title): New option.
2097 (Man-mode-map): Add menu. (Bug#15722)
2098 (Man-mode): Add imenu to menu.
2099
2100 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2101
2102 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2103 specific in what the first arg can be: a non-keyword word,
2104 string/regexp/percent literal opener, opening paren, or unary
2105 operator followed directly by word.
2106
2107 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2108
2109 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2110 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2111 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2112 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2113 Remove vars, they do not apply any more.
2114 (prolog-mode-abbrev-table): Remove redundant declaration.
2115 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2116 (prolog-use-smie): Remove.
2117 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2118 supported by prolog-electric-if-then-else-flag.
2119 (prolog-mode-variables, prolog-menu): Use setq-local.
2120 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2121 Remove binding to `Backspace' since this key doesn't exist anyway.
2122 Remove bindings for electric self-inserting keys.
2123 (prog-mode): Assume it's defined.
2124 (prolog-post-self-insert): New function.
2125 (prolog-mode): Use it.
2126 (prolog-indent-line, prolog-indent-level)
2127 (prolog-find-indent-of-matching-paren)
2128 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2129 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2130 (prolog-goto-next-paren, prolog-in-string-or-comment)
2131 (prolog-tokenize, prolog-inside-mline-comment)
2132 (prolog-find-start-of-mline-comment): Remove functions.
2133 (prolog-find-unmatched-paren, prolog-clause-end)
2134 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2135 (prolog-electric--if-then-else): Rename from
2136 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2137 (prolog-tokenize-searchkey): Remove const.
2138 (prolog-clause-info): Use forward-sexp.
2139 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2140 (prolog-electric-if-then-else): Remove commands.
2141 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2142 for use in post-self-insert-hook.
2143 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2144 for use in post-self-insert-hook.
2145 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2146 for use in post-self-insert-hook.
2147 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2148 adapt it for use in post-self-insert-hook.
2149
2150 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2151
2152 * emacs-lisp/ert.el (ert-run-tests-interactively):
2153 Use `completing-read'. (Bug#9756)
2154
2155 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2156
2157 * simple.el (line-move): Call line-move-1 instead of
2158 line-move-visual when the current window hscroll is zero, but
2159 temporary-goal-column indicates we will need to hscroll as result
2160 of the movement. (Bug#15712)
2161
2162 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2163
2164 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2165 capitalization. Use :visible instead of :active.
2166 Fix `ruby-indent-exp' reference. Add menu items for the generic
2167 commands that are used with SMIE.
2168 (ruby-do-end-to-brace): Insert space after `{'.
2169
2170 2013-10-25 John Anthony <john@jo.hnanthony.com>
2171
2172 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2173
2174 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2175
2176 2013-10-25 Glenn Morris <rgm@gnu.org>
2177
2178 * vc/vc.el (vc-print-log): Don't use a working revision unless
2179 one was explicitly specified. (Bug#15322)
2180
2181 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2182
2183 * subr.el (add-to-list): Preserve return value in compiler-macro
2184 (bug#15692).
2185
2186 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2187
2188 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2189 result. Ask user to retry using '-all' flag. (Bug#15701)
2190
2191 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2192
2193 * emacs-lisp/smie.el: New smie-config system.
2194 (smie-config): New defcustom.
2195 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2196 (smie-config-guess, smie-config-save): New commands.
2197 (smie-config--mode-local, smie-config--buffer-local)
2198 (smie-config--trace, smie-config--modefuns): New vars.
2199 (smie-config--advice, smie-config--mode-hook)
2200 (smie-config--setter, smie-config-local, smie-config--get-trace)
2201 (smie-config--guess-value, smie-config--guess): New functions.
2202 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2203 text properties. Treat "string fence" syntax like string syntax.
2204
2205 * progmodes/sh-script.el (sh-use-smie): Change default.
2206 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2207 (sh-var-value): Simplify by CSE.
2208 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2209 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2210 is used.
2211 (sh-guess-basic-offset): Use cl-incf.
2212 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2213
2214 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2215
2216 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2217 (bug#15699).
2218
2219 2013-10-24 Glenn Morris <rgm@gnu.org>
2220
2221 * Makefile.in (abs_top_srcdir): Remove.
2222 (update-subdirs): Use relative path to update-subdirs.
2223
2224 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2225
2226 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2227 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2228 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2229 Call unmsys--file-name before expand-file-name, not after it.
2230
2231 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2232
2233 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2234 (ert-test-skipped): New error.
2235 (ert-skip, ert-stats-skipped): New defuns.
2236 (ert--skip-unless): New macro.
2237 (ert-test-skipped): New struct.
2238 (ert--run-test-debugger, ert-test-result-type-p)
2239 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2240 (ert--stats-set-test-and-result, ert-char-for-test-result)
2241 (ert-string-for-test-result, ert-run-tests-batch)
2242 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2243 Handle skipped tests. (Bug#9803)
2244
2245 2013-10-24 Glenn Morris <rgm@gnu.org>
2246
2247 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2248
2249 * Makefile.in (abs_top_srcdir): New, set by configure.
2250 (update-subdirs): Correct build-aux location.
2251
2252 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2253
2254 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2255 value, whether we could auto-deduce `backend', or not.
2256
2257 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2258 with parameters" example. Simplify the "is it block or is it
2259 hash" check, but also make it more thorough.
2260
2261 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2262
2263 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2264
2265 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2266
2267 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2268 { if it is hanging.
2269
2270 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2271 :before ";".
2272
2273 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2274
2275 * progmodes/compile.el (compilation-directory-matcher)
2276 (compilation-page-delimiter):
2277 Support GNU Make-4.0 directory quoting. (Bug#15678)
2278
2279 2013-10-23 Leo Liu <sdl.web@gmail.com>
2280
2281 * ido.el (ido-tidy): Handle read-only text.
2282
2283 2013-10-23 Glenn Morris <rgm@gnu.org>
2284
2285 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2286 (emacs, compile, compile-always):
2287 Quote entities that might contain whitespace.
2288 (custom-deps, finder-data, autoloads): Use abs_lisp.
2289 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2290 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2291 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2292
2293 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2294
2295 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2296 Use `following-char'.
2297
2298 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2299
2300 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2301 * progmodes/ruby-mode.el (ruby-smie-rules):
2302 Remove corresponding workaround. Fix indentation rule of ";" so it
2303 also applies when ";" is the parent.
2304
2305 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2306
2307 * frame.el (display-screens, display-pixel-height)
2308 (display-pixel-width, display-mm-width, display-backing-store)
2309 (display-save-under, display-planes, display-color-cells)
2310 (display-visual-class, display-monitor-attributes-list):
2311 Mention the optional ‘display’ argument in doc strings.
2312
2313 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2314
2315 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2316 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2317
2318 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2319
2320 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2321 TODO. Add "." after " @ ".
2322 (ruby-smie--at-dot-call): New function. Checks if point at method
2323 call with explicit target.
2324 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2325 to the method name tokens when it precedes them.
2326 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2327 (ruby-smie-rules): Add rule for indentation before and after "."
2328 token.
2329
2330 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2331
2332 * textmodes/remember.el (remember-diary-extract-entries):
2333 Avoid add-to-list.
2334
2335 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2336 an instruction.
2337
2338 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2339
2340 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2341 (ruby-smie--implicit-semi-p): Add new operator chars.
2342
2343 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2344 `smie-down-list'.
2345 (ruby-smie--args-separator-p): Check that there's no newline
2346 between method call and its arguments.
2347
2348 2013-10-20 Alan Mackenzie <acm@muc.de>
2349
2350 Allow comma separated lists after Java "implements".
2351
2352 * progmodes/cc-engine.el (c-backward-over-enum-header):
2353 Parse commas.
2354 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2355 from a "disallowed" list in enum fontification.
2356
2357 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2358
2359 * startup.el (default-frame-background-mode): Remove unused defvar.
2360
2361 * progmodes/verilog-mode.el (verilog-mode): Don't set
2362 comment-indent-function globally.
2363
2364 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2365
2366 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2367 Move Info menu item creation to ns-win.el.
2368
2369 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2370 in menu bar.
2371
2372 * menu-bar.el: Move GNUStep specific menus...
2373
2374 * term/ns-win.el (ns-initialize-window-system): ... to here.
2375
2376 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2377
2378 * simple.el (newline): Only run post-self-insert-hook when
2379 called interactively.
2380
2381 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2382
2383 * icomplete.el (icomplete-with-completion-tables): Add :version.
2384
2385 2013-10-19 Alan Mackenzie <acm@muc.de>
2386
2387 Fix fontification bugs with constructors and const.
2388
2389 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2390 CASE 2) Remove the check for the absence of a suffix construct
2391 after a function declaration with only types (no identifiers) in
2392 the parentheses. Also, accept a function declaration with just a
2393 type inside the parentheses, if this type can be positively
2394 recognised as such, or if a prefix keyword like "explicit" nails
2395 down the construct as a declaration.
2396
2397 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2398
2399 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2400 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2401 the problem whereby selecting a menu item that leads to a
2402 minibuffer prompt moves the cursor out of the minibuffer window,
2403 making it hard to type at the prompt. Suggested by Stefan Monnier
2404 <monnier@iro.umontreal.ca>.
2405
2406 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2407
2408 * menu-bar.el: Don't make Services menu.
2409
2410 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2411
2412 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2413 (ffap-alist): Use ffap-c++-mode for c++-mode.
2414 (ffap-c++-path): New variable.
2415 (ffap-c++-mode): New function.
2416
2417 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2418
2419 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2420
2421 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2422
2423 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2424 introduced on 2013-09-08, which results in an infinite loop
2425 requesting a password.
2426
2427 2013-10-18 Glenn Morris <rgm@gnu.org>
2428
2429 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2430
2431 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2432
2433 Sync with upstream verilog-mode revision 1a6ecec7.
2434 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2435 (verilog-mode-release-date): Remove.
2436 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2437 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2438 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2439 (verilog-auto-tieoff-ignore-regexp)
2440 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2441 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2442 (verilog-signals-with, verilog-dir-cache-preserving)
2443 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2444 Doc fixes.
2445 (verilog-case-fold): New option, to control case folding in
2446 regexp searches, bug597.
2447 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2448 (verilog-string-match-fold, verilog-in-paren-count)
2449 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2450 (verilog-at-close-struct-p): New functions.
2451 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2452 (verilog-forward-sexp, verilog-set-auto-endcomments):
2453 (verilog-leap-to-case-head): Handle "unique0" case.
2454 (verilog-in-constraint-re): New constant.
2455 (verilog-keywords, verilog-type-font-keywords):
2456 Add some SystemVerilog 1800-2012 keywords.
2457 (verilog-label-be): Remove unimplemented argument, bug669.
2458 (verilog-batch-execute-func): When batch expanding clear
2459 create-lockfiles to prevent spurious user locks when a file ends
2460 up not changing.
2461 (verilog-calculate-indent, verilog-calc-1)
2462 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2463 (verilog-do-indent): Fix indentation of nested constraints
2464 and structures.
2465 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2466 (verilog-auto-inst-param): Use verilog-string-match-fold.
2467 (verilog-read-inst-module-matcher):
2468 Fix AUTOINST on gate primitives with #1.
2469 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2470 Reads all user-defined typed variables.
2471 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2472 (verilog-signals-matching-regexp)
2473 (verilog-signals-not-matching-regexp, verilog-auto):
2474 Respect verilog-case-fold.
2475 (verilog-diff-report): Fix line count.
2476 (verilog-auto-assign-modport): Remove unused local `modi'.
2477 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2478 better handle multidimensional arrays.
2479 Fix packed array ports misadding bit index in AUTOINST, bug637.
2480 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2481 to not double-declare existing outputs and inputs, respectively.
2482 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2483 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2484 (verilog-sk-uvm-component): New skeleton.
2485 (verilog-submit-bug-report): Add verilog-case-fold,
2486 remove verilog-mode-release-date.
2487
2488 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2489
2490 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2491 as before.
2492
2493 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2494
2495 * textmodes/remember.el (remember): set buffer-offer-save in
2496 remember buffers (bug#13566).
2497
2498 2013-10-18 Daniel Colascione <dancol@dancol.org>
2499
2500 When evaluating forms in ielm, direct standard output to ielm
2501 buffer. Add new ielm-return-for-effect command. Remove trailing
2502 whitespace throughout.
2503
2504 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2505 (ielm-return-for-effect): New command.
2506 (ielm-send-input): Accept optional `for-effect' parameter.
2507 (ielm-eval-input): Accept optional `for-effect' parameter.
2508 Bind `standard-output' to stream we create using
2509 `ielm-standard-output-impl'. Suppress printing result when
2510 `for-effect'.
2511 (ielm-standard-output-impl): New function.
2512 (inferior-emacs-lisp-mode): Explain new features in documentation.
2513
2514 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2515
2516 Code cleanup.
2517
2518 * net/tramp.el (tramp-debug-message): Do not check for connection
2519 buffer.
2520 (tramp-message): Use "vector" connection property.
2521
2522 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2523 (tramp-equal-remote, tramp-eshell-directory-change)
2524 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2525 (tramp-adb-handle-rename-file)
2526 * net/tramp-cmds.el (tramp-list-remote-buffers)
2527 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2528 * net/tramp-compat.el (tramp-compat-process-running-p)
2529 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2530 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2531 (tramp-gvfs-handle-rename-file)
2532 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2533 (tramp-set-file-uid-gid)
2534 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2535 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2536 of `file-remote-p'.
2537
2538 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2539 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2540 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2541 (tramp-gw-open-network-stream): Suppress unrelated traces.
2542
2543 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2544 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2545 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2546 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2547 connection property.
2548
2549 * net/tramp-cache.el (top): Suppress traces when reading
2550 persistency file.
2551
2552 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2553 Refactor common code. Improve debug message.
2554 (tramp-maybe-open-connection)
2555 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2556 connection buffer too early.
2557
2558 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2559 from `tramp-smb-actions-with-acl'.
2560 (tramp-smb-actions-set-acl): New defconst.
2561 (tramp-smb-handle-copy-directory)
2562 (tramp-smb-action-get-acl): New defun, renamed from
2563 `tramp-smb-action-with-acl'.
2564 (tramp-smb-action-set-acl): New defun.
2565 (tramp-smb-handle-set-file-acl): Rewrite.
2566
2567 2013-10-17 Glenn Morris <rgm@gnu.org>
2568
2569 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2570
2571 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2572
2573 * skeleton.el (skeleton-newline): Remove.
2574 (skeleton-internal-1): Use (insert "\n") instead.
2575
2576 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2577 let-bindings.
2578
2579 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2580 forward-sexp-function while we redo its job (bug#15613).
2581
2582 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2583
2584 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2585 represented by lists.
2586
2587 2013-10-16 Glenn Morris <rgm@gnu.org>
2588
2589 * tmm.el (tmm--history): New dynamic variable.
2590 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2591
2592 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2593
2594 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2595 (tramp-smb-errors): Add error messages.
2596 (tramp-smb-actions-with-acl): New defconst.
2597 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2598 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2599 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2600 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2601 (tramp-smb-get-stat-capability): Fix tests.
2602
2603 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2604
2605 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2606 (bug#15580).
2607
2608 2013-10-16 Glenn Morris <rgm@gnu.org>
2609
2610 * ansi-color.el (ansi-color-drop-regexp):
2611 Add 1J, 1K, 2K. (Bug#15617)
2612
2613 * files.el (hack-local-variables--warned-lexical): New.
2614 (hack-local-variables):
2615 Warn about misplaced lexical-binding. (Bug#15616)
2616
2617 * net/eww.el (eww-render): Always set eww-current-url,
2618 and update header line. (Bug#15622)
2619 (eww-display-html): ... Rather than just doing it here.
2620
2621 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2622
2623 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2624 menu navigations commands.
2625
2626 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2627
2628 * progmodes/subword.el (subword-capitalize): Be careful when
2629 the search for [[:alpha:]] fails (bug#15580).
2630
2631 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2632
2633 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2634 to commands that scroll the menu.
2635
2636 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2637
2638 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2639 Handle methods ending with `?' and `!'.
2640
2641 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2642
2643 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2644 `japanese-cp932' to `cp932' to fix the problem where saving a
2645 source file written in Shift_JIS twice would end up having
2646 `coding: japanese-cp932' which Ruby could not recognize.
2647 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2648 in `ruby-encoding-map'.
2649 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2650 doesn't need to be explicitly declared in magic comment.
2651 (ruby-encoding-map): Add type declaration for better customize UI.
2652
2653 2013-10-13 Glenn Morris <rgm@gnu.org>
2654
2655 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2656 Occur buffers are read-only. http://bugs.debian.org/720775
2657
2658 * emacs-lisp/authors.el (authors-fixed-entries):
2659 Comment out old alpha stuff.
2660
2661 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2662
2663 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2664 to `after-save-hook' instead of `before-save-hook'.
2665 (ruby-mode-set-encoding): Use the value of coding system used to
2666 write the file. Call `basic-save-buffer-1' after modifying the
2667 buffer.
2668
2669 2013-10-13 Alan Mackenzie <acm@muc.de>
2670
2671 Fix indentation/fontification of Java enum with
2672 "implements"/generic.
2673
2674 * progmodes/cc-engine.el (c-backward-over-enum-header):
2675 Extracted from the three other places and enhanced to handle generics.
2676 (c-inside-bracelist-p): Uses new function above.
2677 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2678 function above.
2679 (c-font-lock-enum-tail): Uses new function above.
2680
2681 2013-10-13 Kenichi Handa <handa@gnu.org>
2682
2683 * international/mule-cmds.el (select-safe-coding-system): Remove a
2684 superfluous condition in chekcing whether a coding system is safe
2685 or not.
2686
2687 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2688
2689 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2690
2691 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2692
2693 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2694
2695 2013-10-13 Glenn Morris <rgm@gnu.org>
2696
2697 * menu-bar.el (menu-bar-update-buffers):
2698 Unify Buffers menu prompt string. (Bug#15576)
2699
2700 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2701
2702 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2703 Add some entries.
2704 (authors-fixed-entries): Use accented form of name.
2705
2706 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2707
2708 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2709 method calls (bug#15594).
2710 (ruby-smie--args-separator-p): New function.
2711 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2712 recognize paren-free method calls.
2713
2714 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2715 internals of universal-argument.
2716
2717 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2718
2719 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2720 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2721 dropped menu on second mouse click on the menu bar.
2722
2723 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2724
2725 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2726 (explicit-shell-file-name): Declare.
2727 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2728 (sh-completion-at-point-function): New function.
2729 (sh-mode): Use it.
2730 (sh-smie--keyword-p): Remove unused argument.
2731 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2732 vars.
2733 (sh-set-shell): Always setup SMIE, even if we use the
2734 old indentation code.
2735
2736 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2737
2738 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2739 cases of ? and =.
2740 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2741 predicate would return nil are almost non-existent.
2742 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2743
2744 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2745 cache also after commands that modify the buffer but don't move
2746 point.
2747
2748 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2749
2750 * env.el (substitute-env-in-file-name): New function.
2751 (substitute-env-vars): Extend the meaning of the optional arg.
2752
2753 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2754
2755 * term/w32-win.el (dynamic-library-alist): Define separate lists
2756 of GIF DLLs for versions before and after 5.0.0 of giflib.
2757 (Bug#15531)
2758
2759 2013-10-10 João Távora <joaotavora@gmail.com>
2760
2761 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2762 not locked, use last revision and current source as
2763 defaults. (Bug#15569)
2764
2765 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2766
2767 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2768 menu-bar is hidden.
2769
2770 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2771
2772 * window.el (pop-to-buffer-same-window): Fix doc-string.
2773 (Bug#15492)
2774
2775 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2776
2777 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2778
2779 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2780
2781 * calendar/icalendar.el (icalendar-import-file):
2782 Fix interactive spec. (Bug#15482)
2783
2784 2013-10-10 Glenn Morris <rgm@gnu.org>
2785
2786 * desktop.el (desktop-save): Default to saving in .emacs.d,
2787 since PWD is no longer in desktop-path by default. (Bug#15319)
2788
2789 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2790 now that text mode has a menu with the same entry.
2791 (menu-bar-text-mode-auto-fill): Remove now unused func.
2792 * textmodes/text-mode.el (text-mode-map):
2793 Use auto-fill help text from menu-bar.el.
2794
2795 2013-10-10 John Anthony <john@jo.hnanthony.com>
2796
2797 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2798
2799 2013-10-09 Juri Linkov <juri@jurta.org>
2800
2801 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2802 instead of this-command-keys. Add universal-argument-more and
2803 universal-argument-minus to the list of prefix commands. (Bug#15568)
2804
2805 2013-10-09 Glenn Morris <rgm@gnu.org>
2806
2807 * vc/vc-svn.el (vc-svn-create-repo):
2808 Expand paths in file://... url. (Bug#15446)
2809
2810 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2811 Add some entries.
2812 (authors): Remove unused local variables.
2813
2814 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2815
2816 * profiler.el: Create a more coherent calltree from partial backtraces.
2817 (profiler-format): Hide the tail with `invisible' so that C-s can still
2818 find the hidden elements.
2819 (profiler-calltree-depth): Don't recurse so enthusiastically.
2820 (profiler-function-equal): New hash-table-test.
2821 (profiler-calltree-build-unified): New function.
2822 (profiler-calltree-build): Use it.
2823 (profiler-report-make-name-part): Indent the calltree less.
2824 (profiler-report-mode): Add visibility specs for profiler-format.
2825 (profiler-report-expand-entry, profiler-report-toggle-entry):
2826 Expand the whole subtree when provided with a prefix arg.
2827
2828 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2829
2830 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2831 iuwu-mod token.
2832 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2833 hanging iuwu-mod token.
2834 (ruby-smie--forward-token): Do not include a dot after a token in
2835 that token.
2836 (ruby-smie--backward-token): Likewise.
2837
2838 2013-10-08 Juri Linkov <juri@jurta.org>
2839
2840 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2841 to isearch-other-control-char.
2842 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2843 and isearch-post-command-hook to post-command-hook.
2844 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2845 and isearch-post-command-hook from post-command-hook.
2846 (isearch-unread-key-sequence)
2847 (isearch-reread-key-sequence-naturally)
2848 (isearch-lookup-scroll-key, isearch-other-control-char)
2849 (isearch-other-meta-char): Remove functions.
2850 (isearch-pre-command-hook, isearch-post-command-hook):
2851 New functions based on isearch-other-meta-char rewritten
2852 relying on the new behavior of overriding-terminal-local-map
2853 that does not replace the local keymaps any more. (Bug#15200)
2854
2855 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2856
2857 Support menus on text-mode terminals.
2858 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2859 functionality.
2860
2861 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2862
2863 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2864 Move here from mouse.el.
2865 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2866 and arrow keys.
2867 (tty-menu-navigation-map): New map for TTY menu navigation.
2868
2869 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2870
2871 * frame.el (display-mouse-p): Report text-mode mouse as available
2872 on w32.
2873 (display-popup-menus-p): Report availability if mouse is
2874 available; don't condition on window-system.
2875
2876 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2877 (tty-menu-selected-face): New faces.
2878
2879 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2880
2881 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2882 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2883 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2884 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2885 New constants.
2886 (lisp-mode-variables): New `elisp' argument.
2887 (emacs-lisp-mode): Use it.
2888 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2889 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2890
2891 * indent.el: Use lexical-binding.
2892 (indent-region): Add progress reporter.
2893 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2894 last step.
2895 (indent--next-tab-stop): New function to implement this behavior.
2896 (tab-to-tab-stop, move-to-tab-stop): Use it.
2897
2898 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2899
2900 * indent.el (indent-rigidly--current-indentation): New function.
2901 (indent-rigidly-map): New var.
2902 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2903
2904 2013-10-08 Bastien Guerry <bzg@gnu.org>
2905
2906 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2907
2908 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2909
2910 * progmodes/perl-mode.el: Use lexical-binding.
2911 Remove redundant :group args.
2912 (perl-nochange): Change default to be closer to other major modes's
2913 standard behavior.
2914 (perl-indent-line): Don't consider text on current line as a
2915 valid beginning of function from which to indent.
2916
2917 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2918 with more than one argument (bug#15538).
2919
2920 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2921
2922 * vc/pcvs.el: Use lexical-binding.
2923 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2924 environment of `eval'.
2925 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2926 than a list of expressions. Adjust callers.
2927 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2928
2929 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2930
2931 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2932 case of the dot in a chained method call being on the following line.
2933
2934 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2935
2936 * electric.el (electric-indent-inhibit): New var.
2937 (electric-indent-post-self-insert-function): Use it.
2938 * progmodes/python.el (python-mode): Set it.
2939
2940 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2941 open braces.
2942
2943 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2944
2945 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2946 (css-mode): Use electric-indent-chars.
2947
2948 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2949 (font-lock-beg, font-lock-end): Move before first use.
2950 (nxml-mode): Use syntax-propertize-function.
2951 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2952 (nxml-extend-after-change-region): Remove.
2953 * nxml/xmltok.el: Use lexical-binding.
2954 (xmltok-save): Use `declare'.
2955 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2956 * nxml/nxml-util.el: Use lexical-binding.
2957 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2958 Use `declare'.
2959 * nxml/nxml-ns.el: Use lexical-binding.
2960 (nxml-ns-save): Use `declare'.
2961 (nxml-ns-prefixes-for): Avoid add-to-list.
2962 * nxml/rng-match.el: Use lexical-binding.
2963 (rng--ipattern): Use cl-defstruct.
2964 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2965 (rng-cons-group-after, rng-subst-group-after)
2966 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2967 Use closures instead of `(lambda...).
2968
2969 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2970
2971 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2972 of BEG and END.
2973
2974 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2975 Use `tramp-handle-insert-file-contents'.
2976 (tramp-gvfs-handle-insert-file-contents): Remove function.
2977
2978 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2979 Use `save-restriction' in order to keep markers.
2980
2981 * net/trampver.el: Update release number.
2982
2983 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2984
2985 * progmodes/compile.el (compilation-parse-errors):
2986 Use compilation--put-prop.
2987 (compilation--ensure-parse): Check compilation-multiline.
2988
2989 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2990
2991 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2992 lexical-binding.
2993
2994 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2995
2996 * progmodes/ruby-mode.el: Fix recently added tests.
2997 (ruby-smie-grammar): Add - and +.
2998 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2999 (ruby-smie--backward-id): New functions.
3000 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3001 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3002 any more.
3003
3004 2013-10-07 Leo Liu <sdl.web@gmail.com>
3005
3006 * register.el (register-preview-delay)
3007 (register-preview-functions): New variables.
3008 (register-read-with-preview, register-preview)
3009 (register-describe-oneline): New functions.
3010 (point-to-register, window-configuration-to-register)
3011 (frame-configuration-to-register, jump-to-register)
3012 (number-to-register, view-register, insert-register)
3013 (copy-to-register, append-to-register, prepend-to-register)
3014 (copy-rectangle-to-register): Use register-read-with-preview to
3015 read register. (Bug#15525)
3016
3017 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3018
3019 * net/network-stream.el (network-stream-open-starttls): Don't add
3020 --insecure if it's already present, because that gnutls-cli
3021 rejects getting that parameter twice.
3022
3023 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3024
3025 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3026 keyword, too.
3027
3028 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3029
3030 * newcomment.el (comment-use-global-state): Change default value
3031 to t, mark obsolete (Bug#15251).
3032 (comment-beginning): In addition to `comment-to-syntax', check the
3033 value of `comment-use-global-state'.
3034
3035 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3036
3037 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3038 (ruby-comment-column): Follow the global default, by default.
3039 (ruby-smie-grammar): Add assignment syntax.
3040 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3041 open-paren, a comma, or a \.
3042 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3043 and line continuations.
3044 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3045 followed by implicit semi-colons. Add rule for string concatenation
3046 and for indentation at BOB.
3047 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3048
3049 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3050 calling next-sexp, since next-token may have skipped chars which
3051 next-sexp doesn't know should be skipped!
3052
3053 2013-10-05 Leo Liu <sdl.web@gmail.com>
3054
3055 * progmodes/octave.el (octave-send-region):
3056 Call compilation-forget-errors.
3057
3058 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3059
3060 * vc/vc-svn.el (vc-svn-find-admin-dir):
3061 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3062 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3063 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3064 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3065
3066 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3067
3068 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3069
3070 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3071
3072 * subr.el (read-passwd): Hide chars even when called within a context
3073 where after-change-functions is disabled (bug#15501).
3074 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3075 until we removed ourself from overriding-terminal-local-map.
3076
3077 2013-10-04 Leo Liu <sdl.web@gmail.com>
3078
3079 * progmodes/octave.el (inferior-octave-mode):
3080 Call compilation-forget-errors.
3081
3082 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3083
3084 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3085
3086 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3087
3088 * net/secrets.el (secrets-create-collection): Add optional
3089 argument ALIAS. Use proper Label keyword. Append ALIAS as
3090 dbus-call-method argument. (Bug#15516)
3091
3092 2013-10-04 Leo Liu <sdl.web@gmail.com>
3093
3094 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3095 (inferior-octave-compilation-font-lock-keywords): New variables.
3096 (compilation-error-regexp-alist)
3097 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3098 (inferior-octave-mode): Use compilation-shell-minor-mode.
3099
3100 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3101
3102 * minibuffer.el (completion--replace): Be careful that `end' might be
3103 a marker.
3104
3105 2013-10-03 Daiki Ueno <ueno@gnu.org>
3106
3107 Add support for package signature checking.
3108 * emacs-lisp/package.el (url-http-file-exists-p)
3109 (epg-make-context, epg-context-set-home-directory)
3110 (epg-verify-string, epg-context-result-for)
3111 (epg-signature-status, epg-signature-to-string)
3112 (epg-check-configuration, epg-configuration)
3113 (epg-import-keys-from-file): Declare.
3114 (package-check-signature): New user option.
3115 (package-unsigned-archives): New user option.
3116 (package-desc): Add `signed' field.
3117 (package-load-descriptor): Set `signed' field if .signed file exists.
3118 (package--archive-file-exists-p): New function.
3119 (package--check-signature): New function.
3120 (package-install-from-archive): Check package signature.
3121 (package--download-one-archive): Check archive signature.
3122 (package-delete): Remove .signed file.
3123 (package-import-keyring): New command.
3124 (package-refresh-contents): Import default keyring.
3125 (package-desc-status): Add "unsigned" status.
3126 (describe-package-1, package-menu--print-info)
3127 (package-menu-mark-delete, package-menu--find-upgrades)
3128 (package-menu--status-predicate): Support "unsigned" status.
3129
3130 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3131
3132 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3133 the new compilation scheme using the new byte-codes.
3134
3135 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3136 (byte-pophandler): New byte codes.
3137 (byte-goto-ops): Adjust accordingly.
3138 (byte-compile--use-old-handlers): New var.
3139 (byte-compile-catch): Use new byte codes depending on
3140 byte-compile--use-old-handlers.
3141 (byte-compile-condition-case--old): Rename from
3142 byte-compile-condition-case.
3143 (byte-compile-condition-case--new): New function.
3144 (byte-compile-condition-case): New function that dispatches depending
3145 on byte-compile--use-old-handlers.
3146 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3147 when we can.
3148
3149 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3150 Optimize under `condition-case' and `catch' if
3151 byte-compile--use-old-handlers is nil.
3152 (disassemble-offset): Handle new bytecodes.
3153
3154 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3155
3156 * subr.el (error): Use `declare'.
3157 (decode-char, encode-char): Use advertised-calling-convention instead
3158 of the docstring to discourage use of the `restriction' arg.
3159
3160 2013-10-03 Daiki Ueno <ueno@gnu.org>
3161
3162 * epg.el (epg-verify-file): Add a comment saying that it does not
3163 notify verification error as a return value nor a signal.
3164 (epg-verify-string): Ditto.
3165
3166 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3167
3168 * progmodes/compile.el (compilation-start): Try globbing the arg to
3169 `cd' (bug#15417).
3170
3171 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3172
3173 Sync with Tramp 2.2.8.
3174
3175 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3176 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3177 * net/trampver.el: Update release number.
3178
3179 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3180
3181 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3182 and default-process-coding-system for darwin only.
3183
3184 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3185
3186 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3187
3188 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3189
3190 * vc/vc-git.el (vc-git-grep): Disable pager.
3191
3192 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3193
3194 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3195 Use :url instead of :homepage, as per
3196 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3197
3198 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3199 non-nil, use `syntax-ppss' (Bug#15251).
3200
3201 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3202
3203 * progmodes/octave.el (inferior-octave-startup-file):
3204 Prefer ~/.emacs.d/init_octave.m.
3205
3206 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3207
3208 * emacs-lisp/package.el (package-desc-from-define):
3209 Accept additional arguments as plist, convert them to an alist and store
3210 them in the `extras' slot.
3211 (package-generate-description-file): Convert extras alist back to
3212 plist and append to the `define-package' form arguments.
3213 (package--alist-to-plist): New function.
3214 (package--ac-desc): Add `extras' slot.
3215 (package--add-to-archive-contents): Check if the archive-contents
3216 vector is long enough, and if it is, pass its `extras' slot value
3217 to `package-desc-create'.
3218 (package-buffer-info): Call `lm-homepage', pass the returned value
3219 to `package-desc-from-define'.
3220 (describe-package-1): Render the homepage button (Bug#13291).
3221
3222 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3223 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3224
3225 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3226
3227 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3228 and default-process-coding-system to utf-8-unix (Bug#15402).
3229
3230 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3231
3232 * subr.el (looking-back): Do not recommend using looking-back.
3233
3234 2013-09-28 Alan Mackenzie <acm@muc.de>
3235
3236 Fix indentation/fontification of Java enum with "implements".
3237
3238 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3239 regexp which matches "implements", etc., in Java.
3240 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3241 specifier clauses coming after "enum".
3242 * progmodes/cc-fonts.el (c-font-lock-declarations)
3243 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3244 after "enum".
3245
3246 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3247
3248 * faces.el (region): Change ns_selection_color to
3249 ns_selection_fg_color, add ns_selection_bg_color.
3250
3251 2013-09-28 Leo Liu <sdl.web@gmail.com>
3252
3253 * progmodes/octave.el (inferior-octave-completion-table)
3254 (inferior-octave-completion-at-point): Minor tweaks.
3255
3256 * textmodes/ispell.el (ispell-lookup-words): Rename from
3257 lookup-words. (Bug#15460)
3258 (lookup-words): Obsolete.
3259 (ispell-complete-word, ispell-command-loop): All uses changed.
3260
3261 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3262
3263 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3264 (octave-mode-menu): Add octave-send-buffer.
3265 (octave-send-buffer): New function.
3266
3267 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3268
3269 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3270 octave-lookfor.
3271 (octave-mode-menu): Add octave-lookfor.
3272 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3273 octave-lookfor.
3274 (octave-lookfor): New function.
3275
3276 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3277
3278 * emacs-lisp/cl-macs.el:
3279 (cl--loop-destr-temps): Remove.
3280 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3281 its convention.
3282 (cl--loop-set-iterator-function): New function.
3283 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3284 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3285 Bind `it' with `let' instead of substituting it with `cl-subst'.
3286 (cl--unused-var-p): New function.
3287 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3288 Eliminate some unused variable warnings (bug#15326).
3289
3290 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3291
3292 * doc-view.el (doc-view-scale-reset): Rename from
3293 `doc-view-reset-zoom-level'.
3294 (doc-view-scale-adjust): New command.
3295 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3296 `doc-view-scale-adjust'.
3297
3298 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3299
3300 * doc-view.el (doc-view-reset-zoom-level): New command.
3301 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3302 zoom commands (bug#15466).
3303
3304 2013-09-26 Kenichi Handa <handa@gnu.org>
3305
3306 * international/quail.el (quail-help): Make it not a command.
3307
3308 2013-09-26 Leo Liu <sdl.web@gmail.com>
3309
3310 * minibuffer.el (completion-all-sorted-completions): Make args
3311 optional as they are.
3312
3313 2013-09-25 Daniel Colascione <dancol@dancol.org>
3314
3315 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3316 specs are and that they're not evaluated.
3317
3318 2013-09-24 Sam Steingold <sds@gnu.org>
3319
3320 * midnight.el (clean-buffer-list-kill-regexps)
3321 (clean-buffer-list-kill-buffer-names): Update for the new Man
3322 buffer naming which includes the object name.
3323
3324 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3325
3326 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3327 (eshell-parse-command, eshell-parse-pipeline): Use it since
3328 eshell-separate-commands requires a dynamic scoped var.
3329 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3330
3331 2013-09-23 Leo Liu <sdl.web@gmail.com>
3332
3333 * autoinsert.el (auto-insert-alist): Make the value of
3334 lexical-binding match its file setting.
3335
3336 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3337
3338 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3339
3340 * autoarg.el (autoarg-kp-digit-argument):
3341 * electric.el (Electric-command-loop):
3342 * kmacro.el (kmacro-step-edit-insert):
3343 Do not set universal-argument-num-events.
3344
3345 2013-09-22 Leo Liu <sdl.web@gmail.com>
3346
3347 * files.el (interpreter-mode-alist): Add octave.
3348
3349 2013-09-21 Alan Mackenzie <acm@muc.de>
3350
3351 C++: fontify identifier in declaration following "public:" correctly.
3352 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3353 to match "public", etc.
3354 (c-decl-prefix-re): Add ":" into the C++ value.
3355 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3356 bit. Add a check for a ":" preceded by "public", etc.
3357
3358 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3359
3360 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3361 recognized by GDB 7.5 and later.
3362
3363 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3364
3365 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3366
3367 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3368
3369 * subr.el (internal--call-interactively): New const.
3370 (called-interactively-p): Use it (bug#3984).
3371
3372 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3373
3374 * vc/pcvs.el (cvs-mode-ignore):
3375 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3376 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3377
3378 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3379
3380 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3381 (eshell-ls-orig-insert-directory): Remove.
3382 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3383 (eshell-ls-use-in-dired): Use advice-add/remove.
3384 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3385 Add `orig-fun' arg for use in :around advice.
3386 Make it check (redundantly) eshell-ls-use-in-dired.
3387
3388 2013-09-19 Glenn Morris <rgm@gnu.org>
3389
3390 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3391
3392 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3393
3394 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3395
3396 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3397
3398 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3399 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3400 (tramp-get-remote-python): New defuns.
3401 (tramp-get-remote-uid-with-perl)
3402 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3403 contributed by yary <not.com@gmail.com> (tiny change).
3404 (tramp-get-remote-uid-with-python)
3405 (tramp-get-remote-gid-with-python): New defuns. Python code
3406 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3407 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3408
3409 2013-09-19 Glenn Morris <rgm@gnu.org>
3410
3411 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3412
3413 * eshell/em-unix.el (eshell-remove-entries):
3414 Rename argument to avoid name-clash with global `top-level'.
3415
3416 * eshell/esh-proc.el (eshell-kill-process-function):
3417 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3418 (eshell-reset-after-proc): Remove unused arg `proc'.
3419
3420 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3421 (directory-files-and-attributes): Mark unused arg.
3422
3423 * eshell/em-unix.el (eshell-remove-entries):
3424 Remove unused arg `path'. Update callers.
3425
3426 * eshell/em-hist.el (eshell-hist-parse-arguments):
3427 Remove unused arg `silent'. Update callers.
3428
3429 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3430 Fix (f)boundp mix-up.
3431
3432 * eshell/em-smart.el (eshell-smart-scroll-window)
3433 (eshell-disable-after-change):
3434 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3435
3436 2013-09-18 Alan Mackenzie <acm@muc.de>
3437
3438 Fix fontification of type when followed by "const".
3439 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3440 "known" types from fontification.
3441
3442 2013-09-18 Glenn Morris <rgm@gnu.org>
3443
3444 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3445 (chart-face-list): Drop Emacsen without display-color-p.
3446
3447 * net/eww.el (libxml-parse-html-region): Declare.
3448 (eww-display-html): Explicit error if no libxml2 support.
3449
3450 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3451
3452 * image.el (image-type-from-buffer, image-multi-frame-p):
3453 Remove --without-x warning/error.
3454
3455 * mouse.el (mouse-yank-primary):
3456 * term.el (term-mouse-paste):
3457 Reorder to silence --without-x compilation.
3458
3459 * mpc.el (doc-view-mode): Silence --without-x compilation.
3460
3461 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3462 Silence --without-x compilation.
3463
3464 * progmodes/gud.el (gud-find-file, gud-mode):
3465 Silence --without-x compilation.
3466 (tooltip-mode): Declare.
3467
3468 * wdired.el (dired-backup-overwrite): Remove declaration.
3469 (wdired-mode-map): Add doc string.
3470
3471 * custom.el (x-get-resource): Declare.
3472
3473 * eshell/em-glob.el (ange-cache):
3474 * eshell/em-unix.el (ange-cache): Declare.
3475
3476 * faces.el (x-display-list, x-open-connection, x-get-resource):
3477 Declare.
3478
3479 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3480 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3481 Declare.
3482
3483 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3484
3485 * net/gnutls.el (gnutls-log-level): Declare.
3486
3487 * net/shr.el (image-size, image-animate): Declare.
3488
3489 * simple.el (font-info): Declare.
3490
3491 * subr.el (x-popup-dialog): Declare.
3492
3493 * term/common-win.el (x-select-enable-primary)
3494 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3495 Declare.
3496
3497 * term/ns-win.el (x-handle-args): Declare.
3498
3499 * term/x-win.el (x-select-enable-clipboard): Declare.
3500
3501 * term/w32-win.el (create-default-fontset): Declare.
3502
3503 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3504 Declare.
3505
3506 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3507 (fit-frame-to-buffer): Explicit error if --without-x.
3508 (mouse-autoselect-window-select): Silence compiler.
3509
3510 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3511
3512 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3513 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3514 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3515 * eshell/esh-util.el (eshell-sublist):
3516 Remove unused local variables.
3517
3518 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3519
3520 * textmodes/two-column.el: Make 2C-split work for --without-x.
3521 (scroll-bar-columns): Autoload.
3522 (top-level): Require fringe when compiling.
3523
3524 2013-09-18 Leo Liu <sdl.web@gmail.com>
3525
3526 * subr.el (add-hook): Robustify to handle closure as well.
3527
3528 2013-09-17 Glenn Morris <rgm@gnu.org>
3529
3530 * simple.el (messages-buffer-mode-map): Unbind "g".
3531
3532 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3533
3534 * help-mode.el (help-mode-finish): Use derived-mode-p.
3535 Remove obsolete highlighting.
3536
3537 * play/life.el (life-mode): Use define-derived-mode. Derive from
3538 special-mode.
3539 (life): Let-bind inhibit-read-only.
3540 (life-setup): Avoid `setq'. Use `life-mode'.
3541
3542 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3543 which should not be needed any more.
3544 (package-menu-refresh, package-menu-describe-package): Use user-error.
3545
3546 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3547 (eshell-post-rewrite-command-hook): Make obsolete.
3548 (eshell-parse-command): Simplify.
3549 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3550 (eshell--cmd): Declare.
3551 (eshell-parse-pipeline): Remove unused var `final-p'.
3552 Pass a dynvar to eshell-post-rewrite-command-hook.
3553 Implement the new eshell-post-rewrite-command-function.
3554 (eshell-invoke-directly): Remove unused arg `input'.
3555 * eshell/esh-io.el (eshell-io-initialize):
3556 Use eshell-post-rewrite-command-function (bug#15399).
3557 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3558 adjust to new calling convention.
3559 (eshell-create-handles): Rename args to avoid clashing with dynvar
3560 `standard-output'.
3561
3562 2013-09-17 Glenn Morris <rgm@gnu.org>
3563
3564 * simple.el (messages-buffer-mode): New major mode.
3565 (messages-buffer): New function.
3566 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3567 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3568 (ert-run-test): Use `messages-buffer' function.
3569 (ert--force-message-log-buffer-truncation): Ignore read-only.
3570 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3571 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3572
3573 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3574
3575 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3576
3577 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3578
3579 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3580
3581 * icomplete.el (icomplete-in-buffer): New var.
3582 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3583 vars and replace them with functions.
3584 (icomplete-minibuffer-setup): Adjust accordingly.
3585 (icomplete--completion-table, icomplete--completion-predicate)
3586 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3587 New functions.
3588 (icomplete-forward-completions, icomplete-backward-completions)
3589 (icomplete-simple-completing-p, icomplete-exhibit)
3590 (icomplete-completions): Use them.
3591 (icomplete--in-region-buffer): New var.
3592 (icomplete--in-region-setup): New function.
3593 (icomplete-mode): Use it.
3594
3595 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3596 (bug#15379).
3597 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3598 return args and options.
3599 (eshell-eval-using-options): Use the new return value of
3600 eshell--do-opts to set the options's vars in their scope.
3601 (eshell--set-option): Rename from eshell-set-option.
3602 Add arg `opt-vals'.
3603 (eshell--process-option): Rename from eshell-process-option.
3604 Add arg `opt-vals'.
3605 (eshell--process-args): Use an `opt-vals' alist to store the options's
3606 values during their processing and return them additionally to the
3607 remaining args.
3608
3609 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3610
3611 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3612 continuation character an operator, as far as indentation is
3613 concerned (Bug#15369).
3614
3615 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3616
3617 * window.el (window--state-put-2): Don't process buffer state
3618 when buffer doesn't exist any more (Bug#15382).
3619
3620 2013-09-15 Glenn Morris <rgm@gnu.org>
3621
3622 * eshell/em-unix.el (eshell/rm):
3623 Make -f ignore missing files. (Bug#15373)
3624
3625 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3626 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3627 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3628
3629 2013-09-14 Glenn Morris <rgm@gnu.org>
3630
3631 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3632
3633 2013-09-13 Glenn Morris <rgm@gnu.org>
3634
3635 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3636 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3637
3638 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3639
3640 * frame.el (x-focus-frame): Mark as declared in frame.c.
3641
3642 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3643
3644 * ls-lisp.el: Use advice-add.
3645 (original-insert-directory): Remove.
3646 (ls-lisp--insert-directory): Rename from insert-directory; add
3647 `orig-fun' argument.
3648 (insert-directory): Advise.
3649
3650 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3651
3652 * term.el (term-emulate-terminal): Decode the command string
3653 before passing it to term-command-hook. (Bug#15337)
3654
3655 2013-09-13 Glenn Morris <rgm@gnu.org>
3656
3657 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3658
3659 * eshell/esh-ext.el (eshell-search-path): Declare.
3660
3661 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3662 Otherwise an error occurs if eshell-dirs module not loaded.
3663
3664 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3665
3666 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3667
3668 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3669 `tramp-check-proper-host'. Check for a valid method name.
3670
3671 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3672 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3673 * net/tramp-sh.el (tramp-maybe-open-connection):
3674 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3675
3676 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3677 also for hash values.
3678
3679 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3680
3681 * term/ns-win.el (parameters): Don't declare as dynamic.
3682 (before-make-frame-hook): Don't add ineffective function.
3683
3684 * eshell/*.el: Use lexical-binding (bug#15231).
3685
3686 2013-09-12 Kenichi Handa <handa@gnu.org>
3687
3688 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3689
3690 2013-09-12 Glenn Morris <rgm@gnu.org>
3691
3692 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3693 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3694
3695 * subr.el (do-after-load-evaluation): Also give compiler warnings
3696 when obsolete files are used (except by obsolete files).
3697
3698 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3699 in the status output, assume `filename' is the first. (Bug#15322)
3700
3701 * vc/vc.el (vc-deduce-fileset): Doc fix.
3702
3703 * calc/calc-help.el (Info-goto-node):
3704 * progmodes/cperl-mode.el (Info-find-node):
3705 * vc/ediff.el (Info-goto-node): Update declarations.
3706
3707 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3708
3709 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3710 (vc-bzr-pull): Require vc-dispatcher.
3711 * vc/vc-git.el (vc-compilation-mode): Declare.
3712 (vc-git-pull): Require vc-dispatcher.
3713
3714 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3715
3716 * progmodes/octave.el (help-button-action): Declare.
3717
3718 * shell.el (shell-directory-tracker): Output error as a message
3719 rather than just returning it as a string.
3720 (shell-process-pushd): Remove useless use of message.
3721
3722 * dframe.el (dframe-timer-fn):
3723 * files.el (dir-locals-read-from-file):
3724 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3725 (mpc-format):
3726 * reveal.el (reveal-post-command):
3727 * saveplace.el (load-save-place-alist-from-file):
3728 * shell.el (shell-resync-dirs):
3729 * w32-common-fns.el (x-get-selection-value):
3730 * emacs-lisp/copyright.el (copyright-find-copyright):
3731 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3732 * emulation/tpu-edt.el (tpu-copy-keyfile):
3733 * play/bubbles.el (bubbles--mark-neighbourhood):
3734 * progmodes/executable.el
3735 (executable-make-buffer-file-executable-if-script-p):
3736 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3737
3738 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3739
3740 Cleanup Eshell to rely less on dynamic scoping.
3741 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3742 last-value, and ext-command here. Bind `args' closer to `body'.
3743 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3744 (eshell--args): Declare new dynamic var.
3745 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3746 last-value, and ext-command. Pass `args' to `body'.
3747 (eshell-process-args): Bind eshell--args.
3748 (eshell-set-option): Use eshell--args.
3749 * eshell/eshell.el (eshell): Use derived-mode-p.
3750 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3751 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3752 (eshell-glob-function): Declare.
3753 * eshell/esh-util.el: Require cl-lib.
3754 (eshell-read-hosts-file): Avoid add-to-list.
3755 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3756 `err'.
3757 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3758 Declare.
3759 (eshell/diff): Remove unused var `err'.
3760 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3761 `killflag'.
3762 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3763 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3764 first use.
3765 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3766 Move declaration before first use.
3767 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3768 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3769 rely on cl-return.
3770
3771 2013-09-12 Glenn Morris <rgm@gnu.org>
3772
3773 * term/ns-win.el (global-map): Remove binding for ispell-next,
3774 deleted 1999-05-29. (Bug#15357)
3775
3776 2013-09-11 Glenn Morris <rgm@gnu.org>
3777
3778 * echistory.el (electric-command-history): Remove call to deleted func.
3779
3780 * play/landmark.el (landmark-mode): Fix typos.
3781
3782 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3783 Check cvs-sort-ignore-file is bound.
3784
3785 * savehist.el: No need for cl when compiling on Emacs.
3786
3787 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3788
3789 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3790 (bug#15338).
3791 (eshell-self-insert-command, eshell-send-invisible):
3792 Remove unused argument.
3793 (eshell-handle-control-codes): Remove unused var `orig'.
3794 Avoid delete-backward-char.
3795
3796 * files.el (set-auto-mode): Simplify a bit further.
3797
3798 2013-09-11 Glenn Morris <rgm@gnu.org>
3799
3800 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3801 (set-auto-mode): Don't regexp-quote elements.
3802 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3803 * progmodes/cc-mode.el (interpreter-mode-alist):
3804 * progmodes/ruby-mode.el (interpreter-mode-alist):
3805 Revert previous change.
3806
3807 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3808
3809 * play/snake.el (snake-mode):
3810 * play/mpuz.el (mpuz-mode):
3811 * play/landmark.el (lm-mode):
3812 * play/blackbox.el (blackbox-mode):
3813 * play/5x5.el (5x5-mode):
3814 * obsolete/options.el (Edit-options-mode):
3815 * net/quickurl.el (quickurl-list-mode):
3816 * net/newst-treeview.el (newsticker-treeview-mode):
3817 * mail/rmailsum.el (rmail-summary-mode):
3818 * mail/mspools.el (mspools-mode):
3819 * locate.el (locate-mode):
3820 * ibuffer.el (ibuffer-mode):
3821 * emulation/ws-mode.el (wordstar-mode):
3822 * emacs-lisp/debug.el (debugger-mode):
3823 * array.el (array-mode):
3824 * net/eudc.el (eudc-mode): Use define-derived-mode.
3825 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3826 Move initialization into declaration.
3827 (mairix-searches-mode): Use define-derived-mode.
3828 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3829 (eudc-edit-hotlist): Use dolist.
3830 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3831 (Man-mode): Use define-derived-mode.
3832 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3833 (Info-edit-mode): Use define-derived-mode.
3834 (Info-cease-edit): Use Info-mode.
3835 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3836 into declaration.
3837 (eshell-mode): Use define-derived-mode.
3838 * chistory.el (command-history-mode-map): Rename from
3839 command-history-map.
3840 (command-history-mode): Use define-derived-mode.
3841 (Command-history-setup): Remove function.
3842 * calc/calc.el (calc-trail-mode-map): New var.
3843 (calc-trail-mode): Use define-derived-mode.
3844 (calc-trail-buffer): Set calc-main-buffer manually.
3845 * bookmark.el (bookmark-insert-annotation): New function.
3846 (bookmark-edit-annotation): Use it.
3847 (bookmark-edit-annotation-mode): Make it a proper major mode.
3848 (bookmark-send-edited-annotation): Use derived-mode-p.
3849 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3850 closer to its ideal place. Use \' to match EOS.
3851
3852 * profiler.el (profiler-calltree-find): Use function-equal.
3853
3854 2013-09-10 Glenn Morris <rgm@gnu.org>
3855
3856 * files.el (interpreter-mode-alist): Convert to regexps.
3857 (set-auto-mode): Adapt for this. (Bug#15306)
3858 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3859 Comment out unused variable.
3860 * progmodes/cc-mode.el (interpreter-mode-alist):
3861 * progmodes/python.el (interpreter-mode-alist):
3862 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3863 * progmodes/sh-script.el (sh-set-shell):
3864 No longer use interpreter-mode-alist to get list of shells.
3865
3866 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3867
3868 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3869
3870 * simple.el: Use set-temporary-overlay-map for universal-argument.
3871 (universal-argument-map): Don't use default-bindings (bug#15317).
3872 Bind switch-frame explicitly. Replace universal-argument-minus with
3873 a conditional binding.
3874 (universal-argument-num-events, saved-overriding-map): Remove.
3875 (restore-overriding-map): Remove.
3876 (universal-argument--mode): Rename from save&set-overriding-map,
3877 and rewrite.
3878 (universal-argument, universal-argument-more, negative-argument)
3879 (digit-argument): Adjust accordingly.
3880 (universal-argument-minus): Remove.
3881 (universal-argument-other-key): Remove.
3882
3883 * subr.el (with-demoted-errors): Add `format' argument.
3884
3885 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3886
3887 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3888 `tramp-cleanup-connection'.
3889
3890 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3891 parameters KEEP-DEBUG and KEEP-PASSWORD.
3892
3893 * net/tramp.el (tramp-file-name-handler):
3894 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3895 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3896 (tramp-maybe-open-connection):
3897 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3898 Use `tramp-cleanup-connection'.
3899
3900 * net/tramp-sh.el (tramp-maybe-open-connection):
3901 Catch 'uname-changed inside the progress reporter.
3902
3903 2013-09-10 Glenn Morris <rgm@gnu.org>
3904
3905 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3906
3907 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3908 returns "alternate access method" in mode (eg "-rw-r--r--.").
3909
3910 2013-09-08 Glenn Morris <rgm@gnu.org>
3911
3912 * saveplace.el (load-save-place-alist-from-file):
3913 Demote errors. (Bug#15305)
3914
3915 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3916
3917 Improve compatibility with older Emacsen, and XEmacs.
3918
3919 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3920 only if it is bound. It isn't for XEmacs.
3921 (with-tramp-progress-reporter): Do not let-bind `result'.
3922 This yields to scoping errors in XEmacs.
3923 (tramp-handle-make-auto-save-file-name): New function, moved from
3924 tramp-sh.el.
3925
3926 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3927 for `make-auto-save-file-name'.
3928 (tramp-adb--gnu-switches-to-ash):
3929 Use `tramp-compat-replace-regexp-in-string'.
3930
3931 * net/tramp-cache.el (tramp-cache-print): Call
3932 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3933
3934 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3935 bound. It isn't for XEmacs.
3936
3937 * net/tramp-compat.el (tramp-compat-copy-file):
3938 Catch `wrong-number-of-arguments' error.
3939 (tramp-compat-replace-regexp-in-string): New defun.
3940
3941 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3942 for `make-auto-save-file-name'.
3943 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3944 `copy-file'.
3945 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3946 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3947 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3948
3949 * net/tramp-gw.el (tramp-gw-open-network-stream):
3950 Use `tramp-compat-replace-regexp-in-string'.
3951
3952 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3953 Call `tramp-handle-make-auto-save-file-name'.
3954 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3955 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3956 (tramp-sh-file-inotifywait-process-filter):
3957 Use `tramp-compat-replace-regexp-in-string'.
3958 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3959
3960 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3961 for `make-auto-save-file-name'.
3962 (tramp-smb-handle-copy-directory):
3963 Call `tramp-compat-replace-regexp-in-string'.
3964 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3965 (tramp-smb-handle-copy-file): Improve error message.
3966 (tramp-smb-handle-rename-file): Rename directly only in case
3967 `newname' does not exist yet. This is a restriction of smbclient.
3968 (tramp-smb-maybe-open-connection): Rerun the function only when
3969 `auth-sources' is non-nil.
3970
3971 2013-09-08 Kenichi Handa <handa@gnu.org>
3972
3973 * international/characters.el: Set category "^" (Combining) for
3974 more characters.
3975
3976 2013-09-07 Alan Mackenzie <acm@muc.de>
3977
3978 Correctly fontify Java class constructors.
3979 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3980 in Java Mode.
3981 (c-recognize-typeless-decls): Set the Java value to t.
3982 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3983 While handling a "(", add a check for, effectively, Java, and handle a
3984 "typeless" declaration there.
3985
3986 2013-09-07 Roland Winkler <winkler@gnu.org>
3987
3988 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3989 field subtitle for entry type book.
3990
3991 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3992
3993 * minibuffer.el: Make minibuffer-complete call completion-in-region
3994 rather than other way around.
3995 (completion--some, completion-pcm--find-all-completions):
3996 Don't delay signals when debugging.
3997 (minibuffer-completion-contents): Beware fields within the
3998 minibuffer contents.
3999 (completion-all-sorted-completions): Use defvar-local.
4000 (completion--do-completion, completion--cache-all-sorted-completions)
4001 (completion-all-sorted-completions, minibuffer-force-complete):
4002 Add args `beg' and `end'.
4003 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4004 (minibuffer-complete): Use completion-in-region.
4005 (completion-complete-and-exit): New fun, extracted from
4006 minibuffer-complete-and-exit.
4007 (minibuffer-complete-and-exit): Use it.
4008 (completion--complete-and-exit): Rename from
4009 minibuffer--complete-and-exit.
4010 (completion-in-region--single-word): New function, extracted from
4011 minibuffer-complete-word.
4012 (minibuffer-complete-word): Use it.
4013 (display-completion-list): Make `common-substring' argument obsolete.
4014 (completion--in-region): Call completion--in-region-1 instead of
4015 minibuffer-complete.
4016 (completion-help-at-point): Pass boundaries to
4017 minibuffer-completion-help as args rather than via an overlay.
4018 (completion-pcm--string->pattern): Use `any-delim'.
4019 (completion-pcm--optimize-pattern): New function.
4020 (completion-pcm--pattern->regex): Handle `any-delim'.
4021 * icomplete.el (icomplete-forward-completions)
4022 (icomplete-backward-completions, icomplete-completions):
4023 Adjust calls to completion-all-sorted-completions and
4024 completion--cache-all-sorted-completions.
4025 (icomplete-with-completion-tables): Default to t.
4026 * emacs-lisp/crm.el (crm--current-element): Rename from
4027 crm--select-current-element. Don't put an overlay but return the
4028 boundaries instead.
4029 (crm--completion-command): Take two new args to bind to the boundaries.
4030 (crm-completion-help): Adjust accordingly.
4031 (crm-complete): Use completion-in-region.
4032 (crm-complete-word): Use completion-in-region--single-word.
4033 (crm-complete-and-exit): Use completion-complete-and-exit.
4034
4035 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4036
4037 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4038 than dynamically.
4039
4040 2013-09-06 Juri Linkov <juri@jurta.org>
4041
4042 * info.el (Info-display-images-node): When image file doesn't exist
4043 display text version of the image if it's provided in the Info file.
4044 Otherwise, display the location of missing image from SRC attribute.
4045 Add help-echo text property from ALT attribute. (Bug#15279)
4046
4047 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4048
4049 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4050 (edit-abbrevs-mode): Use define-derived-mode.
4051
4052 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4053 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4054 that it's defined.
4055 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4056 Use define-derived-mode.
4057
4058 * epg.el (epg-start-encrypt): Minor CSE simplification.
4059
4060 2013-09-06 William Xu <william.xwl@gmail.com>
4061
4062 * arc-mode.el: Add support for 7za (bug#15264).
4063 (archive-7z-program): New var.
4064 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4065 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4066 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4067
4068 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4069
4070 Remove URL syntax.
4071
4072 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4073 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4074 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4075 (tramp-postfix-host-format, tramp-file-name-regexp)
4076 (tramp-completion-file-name-regexp)
4077 (tramp-completion-dissect-file-name)
4078 (tramp-handle-substitute-in-file-name): Remove 'url case.
4079 (tramp-file-name-regexp-url)
4080 (tramp-completion-file-name-regexp-url): Remove constants.
4081
4082 2013-09-06 Glenn Morris <rgm@gnu.org>
4083
4084 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4085
4086 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4087
4088 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4089 keywords" below "here-doc beginnings" (Bug#15270).
4090
4091 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4092
4093 * subr.el (pop): Use `car-safe'.
4094 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4095 to detect unused `pop' return value.
4096
4097 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4098 var `block-regexp'.
4099 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4100 (python-fill-string): Remove unused var `marker'.
4101 (python-skeleton-add-menu-items): Remove unused var `items'.
4102
4103 * international/mule-cmds.el: Require CL.
4104 (find-coding-systems-for-charsets): Avoid add-to-list.
4105 (sanitize-coding-system-list): New function, extracted from
4106 select-safe-coding-system-interactively.
4107 (select-safe-coding-system-interactively): Use it.
4108 (read-input-method-name): Accept symbols for `default'.
4109
4110 * emacs-lisp/advice.el (defadvice): Add indent rule.
4111
4112 2013-09-05 Daniel Hackney <dan@haxney.org>
4113
4114 * dired-x.el:
4115 * net/ange-ftp.el:
4116 * net/browse-url.el:
4117 * net/dbus.el:
4118 * net/eudc.el:
4119 * net/eudcb-ldap.el:
4120 * net/eww.el:
4121 * net/imap.el:
4122 * printing.el:
4123 * vc/ediff-diff.el:
4124 * vc/ediff-init.el:
4125 * vc/ediff-merg.el:
4126 * vc/ediff-mult.el:
4127 * vc/ediff-util.el:
4128 * vc/ediff-wind.el:
4129 * vc/ediff.el:
4130 * vc/emerge.el:
4131 * vc/pcvs.el:
4132 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4133 byte compiler. Remove some unused let-bound variables.
4134
4135 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4136
4137 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4138 a "ref-cell", since it gets better optimized (bug#14883).
4139
4140 2013-09-05 Glenn Morris <rgm@gnu.org>
4141
4142 * progmodes/cc-awk.el (c-forward-sws): Declare.
4143
4144 2013-09-04 Glenn Morris <rgm@gnu.org>
4145
4146 * generic-x.el [rul-generic-mode]: Require cc-mode.
4147 (c++-mode-syntax-table): Declare.
4148 (rul-generic-mode-syntax-table): Init in the defvar.
4149
4150 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4151
4152 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4153 (vc-do-command, vc-set-async-update):
4154 * vc/vc-mtn.el (vc-mtn-dir-status):
4155 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4156 (vc-hg-pull, vc-hg-merge-branch):
4157 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4158 (vc-git-merge-branch):
4159 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4160 (vc-cvs-dir-status-files):
4161 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4162 (vc-bzr-dir-status-files):
4163 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4164 * vc/vc-annotate.el: Use lexical-binding.
4165 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4166 (vc-sentinel-movepoint): Declare.
4167 (vc-annotate): Don't use `goto-line'.
4168 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4169 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4170 (vc-sentinel-movepoint): Declare.
4171 * vc/vc-svn.el: Use lexical-binding.
4172 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4173 * vc/vc-sccs.el:
4174 * vc/vc-rcs.el: Use lexical-binding.
4175
4176 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4177 `deleted'. Don't drop errors silently.
4178
4179 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4180
4181 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4182
4183 * vc/vc.el (vc-ignore): Rewrite.
4184 (vc-default-ignore): New function.
4185 (vc-default-ignore-completion-table): Use find-ignore-file.
4186
4187 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4188 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4189 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4190 Remove. Most code moved to vc.el.
4191
4192 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4193
4194 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4195 * net/tramp-smb.el (tramp-smb-get-file-entries):
4196 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4197 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4198
4199 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4200 Update call to it.
4201 (eww-change-select): Remove unused var `properties'.
4202 (eww-make-unique-file-name): Remove unused var `base'.
4203
4204 * finder.el (finder-compile-keywords): Don't mess with windows.
4205
4206 * calculator.el (calculator-funcall): Fix typo in last change.
4207
4208 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4209
4210 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4211 <pkg>-autoloads.el file stop us.
4212
4213 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4214 warnings, and factor out common code.
4215
4216 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4217
4218 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4219 two-character operators and whether the character preceding them
4220 changes their meaning (Bug#15208).
4221
4222 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4223
4224 Format code sent to Python shell for robustness.
4225 * progmodes/python.el (python-shell-buffer-substring):
4226 New function.
4227 (python-shell-send-region, python-shell-send-buffer): Use it.
4228
4229 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4230
4231 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4232 * net/tramp.el (tramp-user-error): ... here.
4233 (tramp-find-method, tramp-check-proper-host)
4234 (tramp-dissect-file-name, tramp-debug-message)
4235 (tramp-handle-shell-command):
4236 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4237 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4238
4239 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4240
4241 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4242
4243 * avoid.el (mouse-avoidance-point-position)
4244 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4245 returns nil.
4246
4247 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4248
4249 * progmodes/python.el (python-shell-completion-get-completions):
4250 Drop use of deleted `comint-last-prompt-overlay'.
4251 (python-nav-if-name-main): New command.
4252
4253 2013-09-01 Glenn Morris <rgm@gnu.org>
4254
4255 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4256 Avoid leading space in $wins. Otherwise the sed command used by
4257 eg compile-main ends up containing "/*.el". (Bug#15170)
4258
4259 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4260
4261 2013-08-30 Glenn Morris <rgm@gnu.org>
4262
4263 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4264 Fix is-this-a-directory logic. (Bug#15220)
4265
4266 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4267
4268 * textmodes/css-mode.el: Use SMIE.
4269 (css-smie-grammar): New var.
4270 (css-smie--forward-token, css-smie--backward-token)
4271 (css-smie-rules): New functions.
4272 (css-mode): Use them.
4273 (css-navigation-syntax-table): Remove var.
4274 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4275 (css-indent-calculate, css-indent-line): Remove functions.
4276
4277 Misc changes to reduce use of `(lambda...); and other cleanups.
4278 * cus-edit.el: Use lexical-binding.
4279 (customize-push-and-save, customize-apropos)
4280 (custom-buffer-create-internal): Use closures.
4281 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4282 * progmodes/ada-xref.el: Use setq.
4283 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4284 * dframe.el: Use lexical-binding.
4285 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4286 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4287 * descr-text.el: Use lexical-binding.
4288 (describe-text-widget, describe-text-sexp, describe-property-list):
4289 Use closures.
4290 * comint.el (comint-history-isearch-push-state): Use a closure.
4291 * calculator.el: Use lexical-binding.
4292 (calculator-number-to-string): Make it work with lexical-binding.
4293 (calculator-funcall): Same and use cl-letf.
4294
4295 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4296 (lisp--company-doc-string, lisp--company-location): New functions.
4297 (lisp-completion-at-point): Use them to improve Company support.
4298
4299 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4300 params of lambda expressions.
4301 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4302 (ruby-smie--opening-pipe-p): New function.
4303 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4304 symbols and matched |...| for formal params.
4305 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4306 from being treated as hanging. Handle "rescue".
4307
4308 2013-08-29 Glenn Morris <rgm@gnu.org>
4309
4310 * progmodes/cc-engine.el (c-pull-open-brace):
4311 Move definition before use.
4312
4313 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4314
4315 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4316 are immutable. Don't use `unsafe' any more.
4317 (cl--defsubst-expand): Don't substitute at the same time as keeping
4318 a residual unused let-binding. Don't use `unsafe' any more.
4319
4320 2013-08-29 Glenn Morris <rgm@gnu.org>
4321
4322 * calendar/cal-china.el (calendar-chinese-year-cache):
4323 Recenter on 2015.
4324
4325 * nxml/nxml-util.el (nxml-debug-clear-inside):
4326 Use cl-loop rather than loop.
4327
4328 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4329
4330 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4331
4332 2013-08-28 Glenn Morris <rgm@gnu.org>
4333
4334 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4335
4336 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4337
4338 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4339
4340 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4341
4342 * simple.el (repeat-complex-command--called-interactively-skip):
4343 New function.
4344 (repeat-complex-command): Use it (bug#14136).
4345
4346 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4347 (c-define-abbrev-table): Add `doc' argument.
4348 (c-mode-abbrev-table, c++-mode-abbrev-table)
4349 (objc-mode-abbrev-table, java-mode-abbrev-table)
4350 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4351 (awk-mode-abbrev-table): Use it.
4352 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4353 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4354 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4355 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4356 Move initialization into the declaration; and remove any
4357 autoload cookie.
4358
4359 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4360 and dynamic let binding.
4361
4362 * vc/smerge-mode.el: Remove redundant :group args.
4363
4364 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4365 to load-path.
4366
4367 2013-08-28 Juri Linkov <juri@jurta.org>
4368
4369 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4370 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4371 (isearch-other-meta-char): Handle an undefined shifted printing
4372 character by downshifting it. (Bug#15200)
4373
4374 2013-08-28 Juri Linkov <juri@jurta.org>
4375
4376 * isearch.el (isearch-search): Change regexp error message for
4377 non-regexp searches. (Bug#15166)
4378
4379 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4380
4381 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4382 for portability to hosts where /bin/sh has problems.
4383
4384 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4385
4386 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4387
4388 2013-08-27 Juri Linkov <juri@jurta.org>
4389
4390 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4391 in the keyboard macro. (Bug#15126)
4392
4393 2013-08-27 Juri Linkov <juri@jurta.org>
4394
4395 * isearch.el (isearch-quote-char): Comment out converting unibyte
4396 to multibyte, thus syncing with its `quoted-insert' counterpart.
4397 (Bug#15166)
4398
4399 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4400
4401 * window.el (display-buffer-use-some-window): Add missing
4402 argument in call of get-largest-window (Bug#15185).
4403 Reported by Stephen Leake.
4404
4405 2013-08-27 Glenn Morris <rgm@gnu.org>
4406
4407 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4408
4409 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4410
4411 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4412 from a matcher-function unless there's no more matches (bug#15161).
4413
4414 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4415
4416 * minibuffer.el: Revert change from 2013-08-20.
4417
4418 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4419 with text property `tramp-default', if appropriate.
4420 (tramp-check-proper-host): New defun.
4421 (tramp-dissect-file-name): Do not check hostname. Revert change
4422 of 2013-03-18.
4423 (tramp-backtrace): Make VEC-OR-PROC optional.
4424
4425 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4426 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4427 * net/tramp-sh.el (tramp-maybe-open-connection):
4428 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4429 Apply `tramp-check-proper-host'.
4430
4431 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4432
4433 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4434 lambda expression in order to have `describe-variable' display it.
4435
4436 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4437
4438 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4439 BUF can be optional. (Bug#15186)
4440
4441 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4442
4443 * progmodes/flymake.el (flymake-get-real-file-name-function):
4444 Fix broken customization. (Bug#15184)
4445
4446 2013-08-25 Alan Mackenzie <acm@muc.de>
4447
4448 Improve indentation of bracelists defined by macros (without "=").
4449
4450 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4451 expansion begins with "{", regard it as bracelist when it doesn't
4452 contain a ";".
4453
4454 Parse C++ inher-intro when there's a template split over 2 lines.
4455
4456 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4457 rigorously the search for "class" etc. followed by ":".
4458
4459 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4460 random languages a regexp which never matches rather than nil.
4461
4462 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4463
4464 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4465 (c-awk-regexp-one-line-possibly-open-char-list-re)
4466 (c-awk-one-line-possibly-open-regexp-re)
4467 (c-awk-one-line-non-syn-ws*-re): Remove.
4468 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4469 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4470 (c-awk-space*-unclosed-regexp-/-re): New constants.
4471 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4472 aren't regexp delimiters.
4473
4474 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4475 handling for a rare situation in AWK Mode involving unterminated
4476 strings/regexps.
4477
4478 2013-08-23 Glenn Morris <rgm@gnu.org>
4479
4480 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4481
4482 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4483
4484 * files.el (create-file-buffer): If the result would begin with
4485 spaces, prepend a "|" instead of removing them. (Bug#15162)
4486
4487 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4488
4489 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4490 text-properties (bug#15155).
4491
4492 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4493 exist any more.
4494 (calc-keypad-redraw): Remove unused var `pad'.
4495 (calc-keypad-press): Remove unused var `menu'.
4496
4497 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4498
4499 * window.el (display-buffer-pop-up-frame):
4500 Call pop-up-frame-function with BUFFER current so `make-frame' will
4501 use it as the new frame's buffer (Bug#15133).
4502
4503 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4504
4505 * calendar/timeclock.el: Minor cleanups.
4506 (timeclock-ask-before-exiting, timeclock-use-display-time):
4507 Use `symbol'.
4508 (timeclock-modeline-display): Define as alias before the
4509 actual definition.
4510 (timeclock-mode-line-display): Use define-minor-mode.
4511 (timeclock-day-list-template): Make it a function, add an argument.
4512 (timeclock-day-list-required, timeclock-day-list-length)
4513 (timeclock-day-list-debt, timeclock-day-list-span)
4514 (timeclock-day-list-break): Adjust calls accordingly.
4515
4516 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4517
4518 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4519 Use read--expression so that completion works again.
4520
4521 2013-08-21 Sam Steingold <sds@gnu.org>
4522
4523 Add rudimentary inferior shell interaction
4524 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4525 (sh-set-shell): Reset it.
4526 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4527 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4528
4529 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4530
4531 * align.el: Use lexical-binding.
4532 (align-region): Simplify accordingly.
4533
4534 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4535
4536 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4537
4538 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4539 `non-essential' up.
4540
4541 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4542
4543 * net/tramp.el:
4544 * net/tramp-adb.el:
4545 * net/tramp-cmds.el:
4546 * net/tramp-ftp.el:
4547 * net/tramp-gvfs.el:
4548 * net/tramp-gw.el:
4549 * net/tramp-sh.el: Don't wrap external variable declarations by
4550 `eval-when-compile'.
4551
4552 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4553
4554 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4555 now that Emacs supports ImageMagick animations.
4556
4557 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4558
4559 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4560 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4561
4562 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4563
4564 * window.el (mouse-autoselect-window-select): Do autoselect when
4565 mouse pointer is on margin.
4566
4567 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4568
4569 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4570
4571 2013-08-16 Glenn Morris <rgm@gnu.org>
4572
4573 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4574 Handle "Remote Directory" response of some clients. (Bug#15058)
4575
4576 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4577 Tweak warning. (Bug#14926)
4578
4579 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4580 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4581
4582 * image-mode.el (image-mode-map): Add menu items to reverse,
4583 increase, decrease, reset animation speed.
4584 (image--set-speed, image-increase-speed, image-decrease-speed)
4585 (image-reverse-speed, image-reset-speed): New functions.
4586 (image-mode-map): Add bindings for speed commands.
4587
4588 * image.el (image-animate-get-speed, image-animate-set-speed):
4589 New functions.
4590 (image-animate-timeout): Respect image :speed property.
4591
4592 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4593
4594 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4595 previous line (bug#15101).
4596 (debugger-eval-expression, debugger-record-expression):
4597 Use read--expression (bug#15102).
4598
4599 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4600
4601 Remove byte compiler warnings, visible when compiling with
4602 `byte-compile-force-lexical-warnings' set to t.
4603
4604 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4605 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4606 (tramp-handle-unhandled-file-name-directory)
4607 (tramp-handle-file-notify-add-watch, tramp-action-login)
4608 (tramp-action-succeed, tramp-action-permission-denied)
4609 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4610 arguments with "_".
4611
4612 * net/tramp-adb.el (tramp-adb-parse-device-names)
4613 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4614 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4615 (tramp-adb-handle-file-truename): Remove unused arguments.
4616
4617 * net/tramp-cache.el (tramp-flush-directory-property)
4618 (tramp-flush-connection-property, tramp-list-connections)
4619 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4620
4621 * net/tramp-compat.el (tramp-compat-make-temp-file):
4622 Rename FILENAME to F.
4623
4624 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4625 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4626 (tramp-zeroconf-parse-workstation-device-names)
4627 (tramp-zeroconf-parse-webdav-device-names)
4628 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4629
4630 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4631 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4632
4633 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4634 arguments.
4635 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4636 (tramp-sh-handle-insert-file-contents-literally)
4637 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4638 with "_".
4639 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4640 Remove unused variables.
4641
4642 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4643 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4644 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4645
4646 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4647 Make them a defconst.
4648 (tramp-uuencode-region): Remove unused variable.
4649
4650 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4651
4652 * frameset.el (frameset--prop-setter): New function.
4653 (frameset-prop): Add gv-setter declaration.
4654 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4655 parameter was already set in FILTERED. Doc fix.
4656 (frameset--record-minibuffer-relationships): Allow saving a
4657 minibufferless frame without its corresponding minibuffer frame.
4658 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4659 frame, if the frame id matches.
4660 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4661 frames before orphaned ones.
4662 (frameset-restore): Warn about orphaned windows, instead of error out.
4663
4664 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4665
4666 * window.el (window-make-atom): Don't overwrite parameter
4667 already present.
4668 (display-buffer-in-atom-window): Handle special case where we
4669 split an already atomic window.
4670 (window--major-non-side-window, display-buffer-in-side-window)
4671 (window--side-check): Ignore minibuffer window when walking
4672 window tree.
4673 (window-deletable-p): Return 'frame only if no other frame uses
4674 our minibuffer window.
4675 (record-window-buffer): Run buffer-list-update-hook.
4676 (split-window): Make sure window--check-frame won't destroy an
4677 existing atomic window in case the new window gets nested
4678 inside.
4679 (display-buffer-at-bottom): Ignore minibuffer window when
4680 walking window tree. Don't split a side window.
4681 (pop-to-buffer): Don't set-buffer here, the select-window call
4682 should do that.
4683 (mouse-autoselect-window-select): Autoselect only if we are in the
4684 text portion of the window.
4685
4686 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4687
4688 * net/shr.el (shr-parse-image-data): New function to grab both the
4689 data itself and the Content-Type.
4690 (shr-put-image): Use it.
4691
4692 * net/eww.el (eww-display-image): Ditto.
4693
4694 * image.el (image-content-type-suffixes): New variable.
4695
4696 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4697
4698 * progmodes/python.el (python-imenu--build-tree)
4699 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4700
4701 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4702
4703 * simple.el (backward-word): Mention the optional argument.
4704
4705 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4706
4707 * frameset.el (frameset--make): Rename constructor from make-frameset.
4708 (frameset-p, frameset-valid-p): Don't autoload.
4709 (frameset-valid-p): Use normal accessors.
4710
4711 2013-08-13 Glenn Morris <rgm@gnu.org>
4712
4713 * progmodes/compile.el (compile-command): Tweak example in doc.
4714 * obsolete/scribe.el (scribe-mode):
4715 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4716
4717 * mail/feedmail.el (feedmail-confirm-outgoing)
4718 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4719
4720 * cus-start.el (truncate-partial-width-windows): Fix type.
4721
4722 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4723
4724 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4725
4726 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4727
4728 * emacs-lisp/timer.el (timer--time-setter): New function.
4729 (timer--time): Use it as gv-setter.
4730
4731 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4732 setter is not a symbol.
4733
4734 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4735
4736 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4737 if sending fails. This makes debugging easier.
4738
4739 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4740
4741 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4742 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4743 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4744
4745 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4746
4747 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4748
4749 2013-08-12 Glenn Morris <rgm@gnu.org>
4750
4751 * format.el (format-annotate-function):
4752 Handle read-only text properties in the source. (Bug#14887)
4753
4754 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4755
4756 * net/eww.el (eww-display-html): Ignore coding system errors.
4757 One web site uses "utf-8lias" as the coding system.
4758
4759 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4760
4761 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4762
4763 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4764
4765 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4766 (tutorial--detailed-help): Remove unused local variables.
4767 (tutorial--save-tutorial-to): Use ignore-errors.
4768 (help-with-tutorial): Use looking-at-p.
4769
4770 * view.el (view-buffer-other-window, view-buffer-other-frame):
4771 Mark unused arguments.
4772
4773 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4774 (woman-select-symbol-fonts, woman, woman-find-file)
4775 (woman-insert-file-contents, woman-non-underline-faces):
4776 Use string-match-p.
4777 (woman1-unquote): Move declaration.
4778
4779 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4780 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4781 argument. Remove unused local variable.
4782 (xml-parse-elem-type): Use string-match-p.
4783 (xml-substitute-numeric-entities): Use ignore-errors.
4784
4785 * calculator.el (calculator): Mark unused argument.
4786 (calculator-paste, calculator-quit, calculator-integer-p):
4787 Use ignore-errors.
4788 (calculator-string-to-number, calculator-decimal, calculator-exp)
4789 (calculator-op-or-exp): Use string-match-p.
4790
4791 * dired.el (dired-buffer-more-recently-used-p): Declare.
4792 (dired-insert-set-properties, dired-insert-old-subdirs):
4793 Use ignore-errors.
4794
4795 * dired-aux.el (dired-compress): Use ignore-errors.
4796 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4797 (dired-do-async-shell-command, dired-do-shell-command)
4798 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4799 (dired-insert-subdir-validate): Use string-match-p.
4800 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4801 (dired-add-entry): Use string-match-p, looking-at-p.
4802 (dired-insert-subdir-newpos): Remove unused local variable.
4803
4804 * filenotify.el (file-notify-callback): Remove unused local variable.
4805
4806 * filesets.el (filesets-error): Mark unused argument.
4807 (filesets-which-command-p, filesets-filter-dir-names)
4808 (filesets-directory-files, filesets-get-external-viewer)
4809 (filesets-ingroup-get-data): Use string-match-p.
4810
4811 * find-file.el (ff-other-file-name, ff-other-file-name)
4812 (ff-find-the-other-file, ff-cc-hh-converter):
4813 Remove unused local variables.
4814 (ff-get-file-name): Use string-match-p.
4815 (ff-all-dirs-under): Use ignore-errors.
4816
4817 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4818 (follow-select-if-visible): Remove unused local variable.
4819
4820 * forms.el (read-file-filter): Move declaration.
4821 (forms--make-format, forms--make-parser, forms-insert-record):
4822 Quote function with #'.
4823 (forms--update): Use string-match-p. Quote function with #'.
4824
4825 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4826 (help-make-xrefs): Use looking-at-p.
4827 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4828
4829 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4830 (ibuffer-confirm-operation-on): Use string-match-p.
4831
4832 * msb.el (msb-item-handler, msb-dired-item-handler):
4833 Mark unused arguments.
4834
4835 * ses.el (ses-decode-cell-symbol)
4836 (ses-kill-override): Remove unused local variable.
4837 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4838 (ses-load): Use ignore-errors, looking-at-p.
4839 (ses-jump-safe): Use ignore-errors.
4840 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4841
4842 * tabify.el (untabify, tabify): Mark unused arguments.
4843
4844 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4845 Mark unused argument.
4846 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4847 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4848
4849 * emacs-lisp/timer.el (timer--time): Define setter with
4850 gv-define-setter to avoid deprecation warning.
4851
4852 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4853 (*record-cmpl-statistics-p*): Remove (was commented out).
4854 (cmpl-statistics-block): Remove (body was commented out).
4855 All callers changed.
4856 (add-completions-from-buffer, load-completions-from-file):
4857 Remove unused variables.
4858
4859 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4860
4861 * filecache.el (file-cache-delete-file-list):
4862 Print message only when told so.
4863 (file-cache-files-matching): Use #' in mapconcat argument.
4864
4865 * ffap.el (ffap-url-at-point): Fix reference to variable
4866 thing-at-point-default-mail-uri-scheme.
4867
4868 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4869
4870 * subr.el (define-error): New function.
4871 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4872 error-file-not-found and define with define-error.
4873 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4874 and define with define-error.
4875 * userlock.el (file-locked, file-supersession):
4876 * simple.el (mark-inactive):
4877 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4878 * progmodes/ada-mode.el (ada-mode-errors):
4879 * play/life.el (life-extinct):
4880 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4881 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4882 * nxml/rng-util.el (rng-error):
4883 * nxml/rng-uri.el (rng-uri-error):
4884 * nxml/rng-match.el (rng-compile-error):
4885 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4886 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4887 * nxml/nxml-rap.el (nxml-scan-error):
4888 * nxml/nxml-outln.el (nxml-outline-error):
4889 * net/soap-client.el (soap-error):
4890 * net/gnutls.el (gnutls-error):
4891 * net/ange-ftp.el (ftp-error):
4892 * mpc.el (mpc-proc-error):
4893 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4894 (json-number-format, json-string-escape, json-string-format)
4895 (json-key-format, json-object-format):
4896 * jka-compr.el (compression-error):
4897 * international/quail.el (quail-error):
4898 * international/kkc.el (kkc-error):
4899 * emacs-lisp/ert.el (ert-test-failed):
4900 * calc/calc.el (calc-error, inexact-result, math-overflow)
4901 (math-underflow):
4902 * bookmark.el (bookmark-error-no-filename):
4903 * epg.el (epg-error): Define with define-error.
4904
4905 * time.el (display-time-event-handler)
4906 (display-time-next-load-average): Don't call sit-for since it seems
4907 unnecessary (bug#15045).
4908
4909 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4910 Use #' instead of ' to quote functions.
4911 (checkdoc-output-mode): Use setq-local.
4912 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4913 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4914 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4915 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4916 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4917 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4918 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4919 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4920
4921 * ido.el (ido-completion-help): Fix up compiler warning.
4922
4923 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4924
4925 * frameset.el (frameset-p): Add autoload cookie.
4926 (frameset--jump-to-register): New function, based on code moved from
4927 register.el.
4928 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4929
4930 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4931 (frameset-restore, frameset-save, frameset-session-filter-alist):
4932 Remove declarations.
4933 (register-alist): Doc fix.
4934 (frameset-to-register): Move to frameset.el.
4935 (jump-to-register, describe-register-1): Remove frameset-specific code.
4936
4937 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4938
4939 * allout-widgets.el (allout-widgets-pre-command-business)
4940 (allout-widgets-post-command-business)
4941 (allout-widgets-after-change-handler)
4942 (allout-decorate-item-and-context, allout-set-boundary-marker)
4943 (allout-body-modification-handler)
4944 (allout-graphics-modification-handler): Mark ignored arguments.
4945 (allout-widgets-post-command-business)
4946 (allout-widgets-exposure-change-processor)
4947 (allout-widgets-exposure-undo-processor)
4948 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4949 (allout-parse-item-at-point, allout-decorate-item-guides)
4950 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4951 * allout.el (epa-passphrase-callback-function): Declare.
4952 (allout-overlay-insert-in-front-handler)
4953 (allout-overlay-interior-modification-handler)
4954 (allout-isearch-end-handler, allout-chart-siblings)
4955 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4956 (allout-yank-processing, allout-process-exposed)
4957 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4958 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4959 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4960 (lisp-indent-defform): Mark ignored arguments.
4961 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4962 (calculate-lisp-indent): Remove unused variables.
4963 * international/characters.el (indian-2-column, arabic-2-column)
4964 (tibetan): Mark ignored arguments.
4965 (use-cjk-char-width-table): Mark ignored arguments.
4966 Remove unused variables.
4967 * international/fontset.el (build-default-fontset-data)
4968 (x-compose-font-name, create-fontset-from-fontset-spec):
4969 Mark ignored arguments.
4970 (fontset-plain-name): Remove unused variables.
4971 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4972 (keyboard-coding-system): Mark ignored arguments.
4973 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4974 * help.el (resize-temp-buffer-window):
4975 * window.el (display-buffer-in-major-side-window)
4976 (display-buffer-in-side-window, display-buffer-in-previous-window):
4977 Remove unused variables.
4978 * isearch.el (isearch-forward-symbol):
4979 * version.el (emacs-bzr-version-bzr):
4980 * international/mule-cmds.el (current-language-environment):
4981 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4982 (x-handle-display):
4983 * term/pc-win.el (x-list-fonts, x-display-planes)
4984 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4985 (x-server-version, x-display-screens, x-display-mm-height)
4986 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4987 (x-selection-owner-p, x-own-selection-internal)
4988 (x-disown-selection-internal, x-get-selection-internal)
4989 (msdos-initialize-window-system):
4990 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4991 * term/x-win.el (x-handle-no-bitmap-icon):
4992 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4993 (vc-default-find-file-hook, vc-default-extra-menu):
4994 Mark ignored arguments.
4995
4996 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4997
4998 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4999 break-condition in the context of the debugged code (bug#12685).
5000
5001 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5002
5003 * comint.el:
5004 Do not use an overlay to highlight the last prompt. (Bug#14744)
5005 (comint-mode): Make comint-last-prompt buffer local.
5006 (comint-last-prompt): New variable.
5007 (comint-last-prompt-overlay): Remove. Superseded by
5008 comint-last-prompt.
5009 (comint-snapshot-last-prompt, comint-output-filter):
5010 Use comint-last-prompt.
5011
5012 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5013
5014 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5015 (frameset-save): Check validity of the resulting frameset.
5016
5017 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5018
5019 * ido.el (ido-record-command): Add doc string.
5020
5021 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5022
5023 * frameset.el (frameset): Do not disable creation of the default
5024 frameset-p predicate. Doc fix.
5025 (frameset-valid-p): New function, copied from the old predicate-p.
5026 Add additional checks.
5027 (frameset-restore): Check with frameset-valid-p.
5028 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5029 (frameset-name, frameset-description, frameset-properties)
5030 (frameset-states): Add docstring.
5031 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5032 (frameset-filter-alist): Doc fixes.
5033
5034 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5035
5036 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5037
5038 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5039
5040 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5041 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5042 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5043 (byte-compile-normal-call): Remove obsolescence check.
5044
5045 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5046
5047 * frameset.el (frameset-restore): Doc fix.
5048
5049 * register.el (frameset-frame-id, frameset-frame-with-id)
5050 (frameset-p, frameset-restore, frameset-save): Declare.
5051 (register-alist): Document framesets.
5052 (frameset-session-filter-alist): Declare.
5053 (frameset-to-register): New function.
5054 (jump-to-register): Implement jumping to framesets. Doc fix.
5055 (describe-register-1): Describe framesets.
5056
5057 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5058
5059 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5060
5061 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5062 Use lexical-binding.
5063
5064 * frameset.el (frameset): Use type vector, not list (incompatible
5065 change). Do not declare a new constructor, use the default one.
5066 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5067 `name' and `description', respectively, and add read-only slot
5068 `timestamp'. Doc fixes.
5069 (frameset-copy, frameset-persistent-filter-alist)
5070 (frameset-filter-alist, frameset-switch-to-gui-p)
5071 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5072 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5073 (frameset-filter-iconified, frameset-keep-original-display-p):
5074 Doc fixes.
5075 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5076 Rename from frameset-filter-(save|restore)-param. All callers changed.
5077 Doc fix.
5078 (frameset-p): Adapt to change to vector and be more thorough.
5079 Change arg name to OBJECT. Doc fix.
5080 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5081 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5082 All callers changed.
5083 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5084 All callers changed.
5085 (frameset--record-minibuffer-relationships): Rename from
5086 frameset--process-minibuffer-frames. All callers changed.
5087 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5088 Use new default constructor (again). Doc fix.
5089 (frameset--find-frame-if): Rename from `frameset--find-frame.
5090 All callers changed.
5091 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5092 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5093 Doc fix.
5094 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5095 PARAMETERS and WINDOW-STATE, respectively.
5096 (frameset-restore): Add new keyword argument PREDICATE.
5097 Reset frameset--target-display to nil. Doc fix.
5098
5099 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5100
5101 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5102 (bat-mode): Use it.
5103 (bat-mode-syntax-table): Mark \n as end-of-comment.
5104 (bat-font-lock-keywords): Remove comment rule.
5105
5106 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5107 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5108
5109 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5110 (byte-compile-callargs-warn): Use `push'.
5111 (byte-compile-arglist-warn): Ignore higher-order "calls".
5112 (byte-compile-file-form-autoload): Use `pcase'.
5113 (byte-compile-function-form): If quoting a symbol, check that it exists.
5114
5115 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5116
5117 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5118 and add a few popular commands found in batch files.
5119 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5120 (dos-mode): Doc fixes.
5121
5122 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5123
5124 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5125 (dos-mode): Use setq-local. Add space after "rem".
5126 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5127 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5128
5129 2013-08-07 Arni Magnusson <arnima@hafro.is>
5130
5131 * progmodes/dos.el: New file.
5132 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5133 dos-mode.
5134
5135 2013-08-06 Glenn Morris <rgm@gnu.org>
5136
5137 * calendar/calendar.el: Add new faces, and day-header-array.
5138 (calendar-weekday-header, calendar-weekend-header)
5139 (calendar-month-header): New faces.
5140 (calendar-day-header-construct): New function.
5141 (calendar-day-header-width): Also :set calendar-day-header-array.
5142 (calendar-american-month-header, calendar-european-month-header)
5143 (calendar-iso-month-header): Use calendar- faces.
5144 (calendar-generate-month):
5145 Use calendar-day-header-array for day headers; apply faces to them.
5146 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5147 (calendar-abbrev-construct): Add optional maxlen argument.
5148 (calendar-day-name-array): Doc fix.
5149 (calendar-day-name-array, calendar-abbrev-length)
5150 (calendar-day-abbrev-array):
5151 Also :set calendar-day-header-array, and maybe redraw.
5152 (calendar-day-header-array): New option. (Bug#15007)
5153 (calendar-font-lock-keywords): Set to nil and make obsolete.
5154 (calendar-day-name): Add option to use header array.
5155
5156 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5157
5158 * net/shr.el (shr-render-td): Remove debugging.
5159 (shr-render-td): Make width computation consistent by defaulting
5160 all zero-width columns to 10 characters. This may not be optimal,
5161 but it's at least consistent.
5162 (shr-make-table-1): Redo last change to fix the real problem in
5163 colspan handling.
5164
5165 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5166
5167 * files.el (cache-long-line-scans):
5168 Make obsolete alias to `cache-long-scans'.
5169
5170 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5171
5172 * frameset.el (frameset, frameset-filter-alist)
5173 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5174 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5175 (frameset-compute-pos): Rename from frameset--compute-pos,
5176 and add docstring.
5177 (frameset-move-onscreen): Use frameset-compute-pos.
5178 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5179
5180 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5181 Fix typos in docstrings.
5182
5183 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5184
5185 * frame.el (get-other-frame): Tiny cleanup.
5186
5187 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5188
5189 * vc/vc.el (vc-default-ignore-completion-table):
5190 Silence byte-compiler warning.
5191
5192 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5193 slot , which can indeed be nil.
5194 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5195 Move entry for `left' from persistent to live filter alist.
5196 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5197 Doc fixes.
5198 (frameset-filter-params): When restoring a frame, copy items added to
5199 `filtered', to avoid unwittingly modifying the original parameters.
5200 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5201 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5202
5203 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5204 to use looking-at-p instead of looking-at. (Bug#15028)
5205
5206 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5207
5208 Revert introduction of isearch-filter-predicates (bug#14714).
5209 Rely on add-function instead.
5210 * isearch.el (isearch-filter-predicates): Rename it back to
5211 isearch-filter-predicate.
5212 (isearch-message-prefix): Use advice-function-mapc and advice
5213 properties to get the isearch-message-prefix.
5214 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5215 instead of run-hook-with-args-until-failure.
5216 (isearch-filter-visible): Not obsolete any more.
5217 * loadup.el: Preload nadvice.
5218 * replace.el (perform-replace): Revert to funcall
5219 instead of run-hook-with-args-until-failure.
5220 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5221 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5222 dired-isearch-filenames-toggle; make it into a proper minor mode.
5223 Use add/remove-function.
5224 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5225 Call the minor-mode rather than add/remove-hook.
5226 (dired-isearch-filter-filenames):
5227 Remove isearch-message-prefix property.
5228 * info.el (Info--search-loop): New function, extracted from Info-search.
5229 Funcall isearch-filter-predicate instead of
5230 run-hook-with-args-until-failure isearch-filter-predicates.
5231 (Info-search): Use it.
5232 (Info-mode): Use isearch-filter-predicate instead of
5233 isearch-filter-predicates.
5234
5235 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5236
5237 Do not call to `selected-window' where it is assumed by default.
5238 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5239 `window-hscroll', `window-width', `window-height', `window-buffer',
5240 `window-frame', `window-start', `window-point', `next-window'
5241 and `window-display-table'.
5242 * abbrev.el (abbrev--default-expand):
5243 * bs.el (bs--show-with-configuration):
5244 * buff-menu.el (Buffer-menu-mouse-select):
5245 * calc/calc.el (calc):
5246 * calendar/calendar.el (calendar-generate-window):
5247 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5248 (diary-make-entry):
5249 * comint.el (send-invisible, comint-dynamic-complete-filename)
5250 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5251 * completion.el (complete):
5252 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5253 * disp-table.el (describe-current-display-table):
5254 * doc-view.el (doc-view-insert-image):
5255 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5256 * ehelp.el (with-electric-help):
5257 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5258 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5259 * emacs-lisp/helper.el (Helper-help-scroller):
5260 * emulation/cua-base.el (cua--post-command-handler-1):
5261 * eshell/esh-mode.el (eshell-output-filter):
5262 * ffap.el (ffap-gnus-wrapper):
5263 * help-macro.el (make-help-screen):
5264 * hilit-chg.el (highlight-compare-buffers):
5265 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5266 * hl-line.el (global-hl-line-highlight):
5267 * icomplete.el (icomplete-simple-completing-p):
5268 * isearch.el (isearch-done):
5269 * jit-lock.el (jit-lock-stealth-fontify):
5270 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5271 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5272 * mpc.el (mpc-tagbrowser, mpc):
5273 * net/rcirc.el (rcirc-any-buffer):
5274 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5275 * play/landmark.el (landmark-max-width, landmark-max-height):
5276 * play/zone.el (zone):
5277 * progmodes/compile.el (compilation-goto-locus):
5278 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5279 * progmodes/etags.el (find-tag-other-window):
5280 * progmodes/fortran.el (fortran-column-ruler):
5281 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5282 * progmodes/verilog-mode.el (verilog-point-text):
5283 * reposition.el (reposition-window):
5284 * rot13.el (toggle-rot13-mode):
5285 * server.el (server-switch-buffer):
5286 * shell.el (shell-dynamic-complete-command)
5287 (shell-dynamic-complete-environment-variable):
5288 * simple.el (insert-buffer, set-selective-display)
5289 (delete-completion-window):
5290 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5291 (speedbar-recenter):
5292 * startup.el (fancy-splash-head):
5293 * textmodes/ispell.el (ispell-command-loop):
5294 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5295 * tutorial.el (help-with-tutorial):
5296 * vc/add-log.el (add-change-log-entry):
5297 * vc/compare-w.el (compare-windows):
5298 * vc/ediff-help.el (ediff-indent-help-message):
5299 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5300 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5301 (ediff-setup-control-frame):
5302 * vc/emerge.el (emerge-position-region):
5303 * vc/pcvs-util.el (cvs-bury-buffer):
5304 * window.el (walk-windows, mouse-autoselect-window-select):
5305 * winner.el (winner-set-conf, winner-undo): Related users changed.
5306
5307 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5308
5309 * frameset.el (frameset--set-id): Doc fix.
5310 (frameset-frame-id, frameset-frame-id-equal-p)
5311 (frameset-locate-frame-id): New functions.
5312 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5313 (frameset-restore): Use them.
5314
5315 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5316
5317 Do not call to `selected-frame' where it is assumed by default.
5318 Affected functions are `raise-frame', `redraw-frame',
5319 `frame-first-window', `frame-terminal' and `delete-frame'.
5320 * calendar/appt.el (appt-disp-window):
5321 * epg.el (epg-wait-for-completion):
5322 * follow.el (follow-delete-other-windows-and-split)
5323 (follow-avoid-tail-recenter):
5324 * international/mule.el (set-terminal-coding-system):
5325 * mail/rmail.el (rmail-mail-return):
5326 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5327 * progmodes/f90.el (f90-add-imenu-menu):
5328 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5329 * server.el (server-switch-buffer):
5330 * simple.el (delete-completion-window):
5331 * talk.el (talk):
5332 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5333 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5334 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5335 * vc/ediff.el (ediff-documentation): Related users changed.
5336 * frame.el (selected-terminal): Remove the leftover.
5337
5338 2013-08-05 Glenn Morris <rgm@gnu.org>
5339
5340 * calendar/calendar.el (calendar-generate-month):
5341 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5342 (calendar-generate-month, calendar-font-lock-keywords):
5343 Fix for calendar-day-header-width > length of any day name.
5344
5345 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5346
5347 * desktop.el (desktop-clear): Use new name of sort predicate.
5348
5349 * frameset.el (frameset): Add docstring. Move :version property to its
5350 own `version' slot.
5351 (frameset-copy): Rename from copy-frameset.
5352 (frameset-p): Check more thoroughly.
5353 (frameset-prop): Do not check for :version, which is no longer a prop.
5354 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5355 Use new :never value instead of t.
5356 (frameset-filter-alist): Expand and clarify docstring.
5357 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5358 (frameset-filter-minibuffer, frameset-filter-save-param)
5359 (frameset-filter-restore-param, frameset-filter-iconified):
5360 Add pointer to docstring of frameset-filter-alist.
5361 (frameset-filter-params): Rename filter values to be more meaningful:
5362 :never instead of t, and reverse the meanings of :save and :restore.
5363 (frameset--process-minibuffer-frames): Clarify error message.
5364 (frameset-save): Avoid unnecessary and confusing call to framep.
5365 Use new BOA constructor for framesets.
5366 (frameset--reuse-list): Doc fix.
5367 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5368 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5369 (frameset-minibufferless-first-p): Doc fix.
5370 Rename from frameset-sort-frames-for-deletion.
5371 (frameset-restore): Doc fixes. Use new function names.
5372 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5373
5374 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5375
5376 * desktop.el (desktop-restore-forces-onscreen)
5377 (desktop-restore-reuses-frames): Document :keyword constant values.
5378 (desktop-filter-parameters-alist): Remove, now identical to
5379 frameset-filter-alist.
5380 (desktop--filter-tty*): Remove, moved to frameset.el.
5381 (desktop-save-frameset, desktop-restore-frameset):
5382 Do not pass :filters argument.
5383
5384 * frameset.el (frameset-live-filter-alist)
5385 (frameset-persistent-filter-alist): New variables.
5386 (frameset-filter-alist): Use them. Add autoload cookie.
5387 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5388 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5389 `frameset--id' (it's supposed to be internal to frameset.el).
5390 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5391 (frameset--initial-params): New function.
5392 (frameset--get-frame): Use it. Doc fix.
5393 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5394 Accept :all, not 'all.
5395 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5396 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5397 with fbound symbols. Fix frame id matching, and remove matching ids if
5398 the frame being restored is deleted. Obey :delete.
5399
5400 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5401
5402 * subr.el (macrop): New function.
5403 (text-clone--maintaining): New var.
5404 (text-clone--maintain): Rename from text-clone-maintain. Use it
5405 instead of inhibit-modification-hooks.
5406
5407 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5408 a proxy, so as handle autoloads and redefinitions of the target.
5409 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5410
5411 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5412 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5413 (pcase--mutually-exclusive-p): New function.
5414 (pcase--split-consp): Use it.
5415 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5416 mutually exclusive with the current predicate.
5417
5418 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5419 (edebug-macrop): Remove. Use `macrop' instead.
5420 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5421 (ad-macro-p):
5422 * eshell/esh-cmd.el (eshell-macrop):
5423 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5424
5425 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5426
5427 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5428 (advice-mapc): New function, using it.
5429 (advice-function-member-p): New function.
5430 (advice--normalize): Store the cdr in advice--saved-rewrite since
5431 that's the part that will be changed.
5432 (advice--symbol-function): New function.
5433 (advice-remove): Handle removal before the function is defined.
5434 Adjust to new advice--saved-rewrite.
5435 (advice-member-p): Use advice-function-member-p and
5436 advice--symbol-function.
5437
5438 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5439
5440 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5441 (frameset-filter-minibuffer): Doc fix.
5442 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5443 (frameset--set-id, frameset--process-minibuffer-frames)
5444 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5445 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5446
5447 * desktop.el (desktop-clear): Only delete frames when called
5448 interactively and desktop-restore-frames is non-nil. Doc fix.
5449 (desktop-read): Set desktop-saved-frameset to nil.
5450
5451 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5452
5453 * vc/vc.el (vc-ignore): Rewrite.
5454 (vc-default-ignore-completion-table):
5455 (vc--read-lines):
5456 (vc--add-line, vc--remove-regexp): New functions.
5457
5458 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5459 (vc-svn-ignore-completion-table): New function.
5460
5461 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5462 (vc-hg-ignore-completion-table):
5463 (vc-hg-find-ignore-file): New functions.
5464
5465 * vc/vc-git.el (vc-git-ignore): Rewrite.
5466 (vc-git-ignore-completion-table):
5467 (vc-git-find-ignore-file): New functions.
5468
5469 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5470
5471 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5472 (vc-bzr-ignore-completion-table):
5473 (vc-bzr-find-ignore-file): New functions.
5474
5475 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5476
5477 * frameset.el (frameset-prop): New function and setter.
5478 (frameset-save): Do not modify frame list passed by the caller.
5479
5480 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5481
5482 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5483
5484 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5485
5486 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5487 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5488
5489 * custom.el (custom-initialize-default, custom-initialize-set)
5490 (custom-initialize-reset, custom-initialize-changed): Affect the
5491 toplevel-default-value (bug#6275, bug#14586).
5492 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5493 for bug#6275.
5494
5495 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5496
5497 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5498 Add cl-def* expressions.
5499
5500 * frameset.el (frameset-filter-params): Fix order of arguments.
5501
5502 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5503
5504 Move code related to saving frames to frameset.el.
5505 * desktop.el: Require frameset.
5506 (desktop-restore-frames): Doc fix.
5507 (desktop-restore-reuses-frames): Rename from
5508 desktop-restoring-reuses-frames.
5509 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5510 (desktop-clear): Clear frames too.
5511 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5512 (desktop--filter-tty*, desktop-save, desktop-read):
5513 Use frameset functions.
5514 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5515 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5516 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5517 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5518 (desktop--process-minibuffer-frames, desktop-save-frames)
5519 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5520 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5521 (desktop--sort-states, desktop-restoring-frames-p)
5522 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5523 (desktop-restoring-frameset-p, desktop-restore-frameset)
5524 (desktop--check-dont-save, desktop-save-frameset): New functions.
5525 (desktop--app-id): New constant.
5526 (desktop-first-buffer, desktop-buffer-ok-count)
5527 (desktop-buffer-fail-count): Move before first use.
5528 * frameset.el: New file.
5529
5530 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5531
5532 * files.el: Use lexical-binding.
5533 (dir-locals-read-from-file): Remove unused `err' variable.
5534 (hack-dir-local-variables--warned-coding): New var.
5535 (hack-dir-local-variables): Use it to avoid repeated warnings.
5536 (make-backup-file-name--default-function): New function.
5537 (make-backup-file-name-function): Use it as default.
5538 (buffer-stale--default-function): New function.
5539 (buffer-stale-function): Use it as default.
5540 (revert-buffer-insert-file-contents--default-function): New function.
5541 (revert-buffer-insert-file-contents-function): Use it as default.
5542 (insert-directory): Avoid add-to-list.
5543
5544 * autorevert.el (auto-revert-handler): Simplify.
5545 Use buffer-stale--default-function.
5546
5547 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5548
5549 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5550
5551 * whitespace.el (whitespace-ensure-local-variables): New function.
5552 (whitespace-cleanup-region): Call it.
5553 (whitespace-turn-on): Call it.
5554
5555 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5556
5557 Complete file name handlers.
5558
5559 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5560 (tramp-handle-verify-visited-file-modtime)
5561 (tramp-handle-file-notify-rm-watch): New functions.
5562 (tramp-call-process): Do not bind `default-directory'.
5563
5564 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5565 Order alphabetically.
5566 [access-file, add-name-to-file, dired-call-process]:
5567 [dired-compress-file, file-acl, file-notify-rm-watch]:
5568 [file-ownership-preserved-p, file-selinux-context]:
5569 [make-directory-internal, make-symbolic-link, set-file-acl]:
5570 [set-file-selinux-context, set-visited-file-modtime]:
5571 [verify-visited-file-modtime]: Add handler.
5572 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5573
5574 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5575 [file-notify-add-watch, file-notify-rm-watch]:
5576 [set-file-times, set-visited-file-modtime]:
5577 [verify-visited-file-modtime]: Add handler.
5578 (with-tramp-gvfs-error-message)
5579 (tramp-gvfs-handle-set-visited-file-modtime)
5580 (tramp-gvfs-fuse-file-name): Remove.
5581 (tramp-gvfs-handle-file-notify-add-watch)
5582 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5583 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5584
5585 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5586 Order alphabetically.
5587 [file-notify-rm-watch ]: Use default Tramp handler.
5588 [executable-find]: Remove private handler.
5589 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5590 `default-directory'.
5591 (tramp-sh-handle-executable-find)
5592 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5593 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5594 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5595 Do not use `format' in `tramp-message'.
5596
5597 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5598 [file-notify-rm-watch, set-visited-file-modtime]:
5599 [verify-visited-file-modtime]: Add handler.
5600 (tramp-smb-call-winexe): Do not bind `default-directory'.
5601
5602 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5603
5604 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5605
5606 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5607
5608 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5609 use it.
5610 (log-view-diff-changeset): Same.
5611 (log-view-diff-common): Call backend command `previous-revision'
5612 to find out the previous revision, in both cases. Swap the
5613 variables `to' and `fr', so that `fr' usually refers to the
5614 earlier revision (Bug#14989).
5615
5616 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5617
5618 * ibuf-ext.el (ibuffer-filter-by-filename):
5619 Make it work with dired buffers too.
5620
5621 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5622
5623 * emacs-lisp/re-builder.el (reb-color-display-p):
5624 * files.el (save-buffers-kill-terminal):
5625 * net/browse-url.el (browse-url):
5626 * server.el (server-save-buffers-kill-terminal):
5627 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5628 Prefer nil to selected-frame for the first arg of frame-parameter.
5629
5630 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5631
5632 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5633
5634 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5635
5636 * minibuffer.el (completion--twq-all): Try and preserve each
5637 completion's case choice (bug#14907).
5638
5639 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5640
5641 * net/network-stream.el (open-network-stream): Mention the new
5642 :nogreeting parameter.
5643 (network-stream-open-starttls): Use the :nogreeting parameter
5644 (bug#14938).
5645
5646 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5647
5648 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5649 more natural than popping.
5650
5651 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5652 (shr-urlify): Highlight under mouse.
5653
5654 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5655
5656 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5657
5658 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5659
5660 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5661 buffer for output.
5662
5663 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5664 point-min==1. Fix search string. Fix parentheses missing.
5665
5666 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5667 assume point-min==1. Fix search string. Fix parentheses missing.
5668
5669 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5670
5671 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5672 buffer for output.
5673
5674 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5675
5676 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5677 initial frame is minibuffer-less. (Bug#14841)
5678
5679 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5680
5681 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5682 option.
5683
5684 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5685 (tramp-maybe-open-connection): Use it.
5686
5687 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5688
5689 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5690 minimal set of parameters passed when creating a frame, because
5691 the minibuffer status of a frame cannot be changed later.
5692
5693 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5694
5695 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5696 replace-regexp-in-string and inadvertent omissions in previous change.
5697 (todo-filter-items): Ensure only file names are comma-separated in
5698 name of filtered items buffer.
5699
5700 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5701
5702 * desktop.el: Optionally force offscreen frames back onscreen.
5703 (desktop-restoring-reuses-frames): New option.
5704 (desktop--compute-pos, desktop--move-onscreen): New functions.
5705 (desktop--make-frame): Use desktop--move-onscreen.
5706
5707 2013-07-27 Alan Mackenzie <acm@muc.de>
5708
5709 Fontify a Java generic method as a function.
5710 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5711 value to t.
5712
5713 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5714
5715 * calendar/todo-mode.el: Add command to rename todo files.
5716 (todo-rename-file): New command.
5717 (todo-key-bindings-t): Add key binding for it. Change the
5718 bindings of todo-filter-regexp-items(-multifile) to use `x'
5719 instead of `r', since the latter is better suited to the new
5720 renaming command.
5721
5722 2013-07-27 Alan Mackenzie <acm@muc.de>
5723
5724 Make Java try-with-resources statement parse properly.
5725 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5726 (c-block-stmt-1-2-key): New language constants/variables.
5727 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5728 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5729 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5730 with c-block-stmt-1-2-key.
5731
5732 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5733
5734 * desktop.el (desktop--make-frame): Apply most frame parameters after
5735 creating the frame to force (partially or totally) offscreen frames to
5736 be restored as such.
5737
5738 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5739
5740 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5741 (Bug#14948)
5742
5743 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5744
5745 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5746 `base' arg of backtrace-frame.
5747
5748 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5749
5750 * simple.el (list-processes): Doc fix.
5751
5752 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5753
5754 * desktop.el (desktop--select-frame):
5755 Try harder to reuse existing frames.
5756
5757 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5758
5759 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5760 (edebug-eval): Use backtrace-eval.
5761 (edebug--display, edebug--recursive-edit): Don't let-bind the
5762 edebug-outer-* vars that keep track of variables we locally let-bind.
5763 (edebug-outside-excursion): Don't restore outside values of locally
5764 let-bound vars.
5765 (edebug--display): Use user-error.
5766 (cl-lexical-debug, cl-debug-env): Remove.
5767
5768 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5769
5770 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5771 are restored to be sure that they are visible before deleting any
5772 remaining ones.
5773
5774 2013-07-26 Matthias Meulien <orontee@gmail.com>
5775
5776 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5777 vc-print-root-log. (Bug#14948)
5778
5779 2013-07-26 Richard Stallman <rms@gnu.org>
5780
5781 Add aliases for encrypting mail.
5782 * epa.el (epa-mail-aliases): New option.
5783 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5784 Bind inhibit-read-only so read-only text doesn't ruin everything.
5785 (epa-mail-default-recipients): New subroutine broken out.
5786 Handle epa-mail-aliases.
5787
5788 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5789
5790 Add support for lexical variables to the debugger's `e' command.
5791 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5792 vars, except for debugger-outer-match-data.
5793 (debugger-frame-number): Move check for "on a function call" from
5794 callers into it. Add `skip-base' argument.
5795 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5796 (debugger-env-macro): Only reset the state stored in non-variables,
5797 i.e. current-buffer and match-data.
5798 (debugger-eval-expression): Rewrite using backtrace-eval.
5799 * subr.el (internal--called-interactively-p--get-frame): Remove.
5800 (called-interactively-p):
5801 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5802 `base' arg of backtrace-frame instead.
5803
5804 2013-07-26 Glenn Morris <rgm@gnu.org>
5805
5806 * align.el (align-regexp): Doc fix. (Bug#14857)
5807 (align-region): Explicit error if subexpression missing/does not match.
5808
5809 * simple.el (global-visual-line-mode):
5810 Do not duplicate the mode lighter. (Bug#14858)
5811
5812 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5813
5814 * window.el (display-buffer): In display-buffer bind
5815 split-window-keep-point to t, bug#14829.
5816
5817 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5818
5819 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5820 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5821 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5822 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5823 Change accordingly.
5824 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5825 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5826
5827 2013-07-25 Glenn Morris <rgm@gnu.org>
5828
5829 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5830
5831 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5832
5833 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5834 parameter to modify-frame-parameters if the value has not changed;
5835 this is a workaround for bug#14949.
5836 (desktop--make-frame): On cl-delete-if call, check parameter name,
5837 not full parameter.
5838
5839 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5840
5841 * vc/vc.el (vc-ignore): New function.
5842
5843 * vc/vc-svn.el (vc-svn-ignore): New function.
5844
5845 * vc/vc-hg.el (vc-hg-ignore): New function.
5846
5847 * vc/vc-git.el (vc-git-ignore): New function.
5848
5849 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5850 (vc-dir-ignore): New function.
5851
5852 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5853 (cvs-append-to-ignore): Move here from pcvs.el.
5854
5855 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5856
5857 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5858
5859 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5860
5861 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5862 (desktop-restore-frames): Warn when deleting an existing frame failed.
5863
5864 2013-07-24 Glenn Morris <rgm@gnu.org>
5865
5866 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5867
5868 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5869
5870 * filenotify.el (file-notify-supported-p):
5871 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5872 Remove functions.
5873
5874 * autorevert.el (auto-revert-use-notify):
5875 (auto-revert-notify-add-watch):
5876 * net/tramp.el (tramp-file-name-for-operation):
5877 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5878 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5879 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5880 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5881 Remove `file-notify-supported-p' entry.
5882
5883 2013-07-24 Glenn Morris <rgm@gnu.org>
5884
5885 * printing.el: Replace all uses of deleted ps-windows-system,
5886 ps-lp-system, ps-flatten-list with lpr- versions.
5887
5888 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5889
5890 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5891 checked with memq (bug#14935).
5892
5893 * files.el (revert-buffer-function): Use a non-nil default.
5894 (revert-buffer-preserve-modes): Declare var to
5895 provide access to the `preserve-modes' argument.
5896 (revert-buffer): Let-bind it.
5897 (revert-buffer--default): New function, extracted from revert-buffer.
5898
5899 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5900
5901 * lpr.el: Signal print errors more prominently.
5902 (print-region-function): Don't default to nil.
5903 (lpr-print-region): New function, extracted from print-region-1.
5904 Check lpr's return value and signal an error in case of problem.
5905 (print-region-1): Use it.
5906 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5907 versions instead.
5908 (ps-printer-name): Default to nil.
5909 (ps-printer-name-option): Default to lpr-printer-switch.
5910 (ps-print-region-function): Don't default to nil.
5911 (ps-postscript-code-directory): Simplify default.
5912 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5913 (ps-string-list, ps-eval-switch, ps-flatten-list)
5914 (ps-flatten-list-1): Remove.
5915 (ps-multibyte-buffer): Avoid setq.
5916 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5917 (print-region-function, ps-print-region-function): Don't set them here.
5918
5919 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5920
5921 * ido.el (ido-fractionp):
5922 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5923 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5924 (ido-max-directory-size, ido-max-dir-file-cache)
5925 (ido-decorations): Doc fix.
5926
5927 * ansi-color.el: Fix old URL.
5928
5929 2013-07-23 Michael R. Mauger <michael@mauger.com>
5930
5931 * progmodes/sql.el: Version 3.3
5932 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5933 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5934 (sql-interactive-remove-continuation-prompt): Rewrite, use
5935 functions above. Fix continuation prompt and complete output line
5936 handling.
5937 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5938 redirected output buffer.
5939 (sql-mode): Restore deleted code (Bug#13591).
5940
5941 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5942
5943 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5944
5945 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5946
5947 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5948
5949 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5950 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5951 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5952
5953 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5954
5955 * desktop.el (desktop-clear): Simplify; remove useless checks
5956 against invalid buffer names.
5957 (desktop-list*): Use cl-list*.
5958 (desktop-buffer-info, desktop-create-buffer): Simplify.
5959
5960 2013-07-23 Leo Liu <sdl.web@gmail.com>
5961
5962 * bookmark.el (bookmark-make-record): Restore NAME as a default
5963 value. (Bug#14933)
5964
5965 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5966
5967 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5968 extracted from autoload--insert-text.
5969 (autoload--insert-text): Remove.
5970 (autoload--print-cookie-text): New function, extracted from
5971 autoload--insert-cookie-text.
5972 (autoload--insert-cookie-text): Remove.
5973 (autoload-generate-file-autoloads): Adjust calls accordingly.
5974
5975 * winner.el (winner-hook-installed-p): Remove.
5976 (winner-mode): Simplify accordingly.
5977
5978 * subr.el (add-to-list): Fix compiler-macro when `append' is
5979 not constant. Don't use `cl-member' for the base case.
5980
5981 * progmodes/subword.el: Fix boundary case (bug#13758).
5982 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5983 own group.
5984 (subword-backward-regexp): Make it a constant.
5985 (subword-forward-internal): Don't treat a trailing capital as the
5986 beginning of a word.
5987
5988 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5989
5990 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5991 global value of tabulated-list-revert-hook (bug#14930).
5992
5993 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5994
5995 * desktop.el: Require 'cl-lib.
5996 (desktop-before-saving-frames-functions): New hook.
5997 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5998 for frames being saved. Rename from desktop--save-minibuffer-frames.
5999 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6000 Do not save frames with non-nil `desktop-dont-save' parameter.
6001 Filter out deleted frames.
6002 (desktop--find-frame): Use cl-find-if.
6003 (desktop--select-frame): Use cl-(first|second|third) to access values
6004 of desktop-mini.
6005 (desktop--make-frame): Use cl-delete-if.
6006 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6007 (desktop-restore-frames): Use cl-(first|second|third) to access values
6008 of desktop-mini. Look for visible frame at the end, not while
6009 restoring frames.
6010
6011 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6012 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6013 Use string-match-p, looking-at-p (bug#14927).
6014
6015 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6016
6017 * desktop.el (desktop-saved-frame-states):
6018 Rename from desktop--saved-states; all users changed.
6019 (desktop-save-frames): Rename from desktop--save-frames.
6020 Do not save state to desktop file.
6021 (desktop-save): Save desktop-saved-frame-states to desktop file
6022 and reset to nil.
6023 (desktop-restoring-frames-p): New function.
6024 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6025 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6026 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6027
6028 * desktop.el: Correctly restore iconified frames.
6029 (desktop--filter-iconified-position): New function.
6030 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6031
6032 2013-07-20 Glenn Morris <rgm@gnu.org>
6033
6034 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6035 Let `message' do the formatting.
6036 (def-gdb-preempt-display-buffer): Add explicit format.
6037
6038 * image-dired.el (image-dired-track-original-file):
6039 Use with-current-buffer.
6040 (image-dired-track-thumbnail): Use with-current-buffer.
6041 Avoid changing point of wrong window.
6042
6043 * image-dired.el (image-dired-track-original-file):
6044 Avoid changing point of wrong window. (Bug#14909)
6045
6046 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6047
6048 * progmodes/gdb-mi.el (gdb-done-or-error):
6049 Guard against "%" in gdb output. (Bug#14127)
6050
6051 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6052
6053 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6054 (Bug#14826)
6055
6056 * international/mule.el (coding-system-iso-2022-flags): Fix last
6057 change.
6058
6059 2013-07-20 Kenichi Handa <handa@gnu.org>
6060
6061 * international/mule.el (coding-system-iso-2022-flags):
6062 Add `8-bit-level-4'. (Bug#8522)
6063
6064 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6065
6066 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6067 (bug#14815).
6068
6069 * net/eww.el (eww-process-text-input): Allow inputting when the
6070 point is at the start of the line, as the properties aren't
6071 front-sticky.
6072
6073 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6074 degenerate widths.
6075
6076 2013-07-19 Richard Stallman <rms@gnu.org>
6077
6078 * epa.el (epa-popup-info-window): Doc fix.
6079
6080 * subr.el (split-string): New arg TRIM.
6081
6082 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6083
6084 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6085 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6086
6087 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6088
6089 * filenotify.el (file-notify--library): Rename from
6090 `file-notify-support'. Do not autoload. Adapt all uses.
6091 (file-notify-supported-p): New defun.
6092
6093 * autorevert.el (auto-revert-use-notify):
6094 Use `file-notify-supported-p' instead of `file-notify-support'.
6095 Adapt docstring.
6096 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6097
6098 * net/tramp.el (tramp-file-name-for-operation):
6099 Add `file-notify-supported-p'.
6100
6101 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6102 New defun.
6103 (tramp-sh-file-name-handler-alist): Add it as handler for
6104 `file-notify-supported-p '.
6105
6106 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6107 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6108 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6109 Add `ignore' as handler for `file-notify-*' functions.
6110
6111 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6112
6113 * simple.el (line-move-partial, line-move): Don't start vscroll or
6114 scroll-up if the current line is not taller than the window.
6115 (Bug#14881)
6116
6117 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6118
6119 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6120 highlight question marks in the method names as strings.
6121 (ruby-block-beg-keywords): Inline.
6122 (ruby-font-lock-keyword-beg-re): Extract from
6123 `ruby-font-lock-keywords'.
6124
6125 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6126
6127 * frame.el (blink-cursor-blinks): New defcustom.
6128 (blink-cursor-blinks-done): New defvar.
6129 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6130 (blink-cursor-timer-function): Check if number of blinks has been
6131 done on X and NS.
6132 (blink-cursor-suspend, blink-cursor-check): New defuns.
6133
6134 2013-07-15 Glenn Morris <rgm@gnu.org>
6135
6136 * edmacro.el (edmacro-format-keys): Fix previous change.
6137
6138 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6139
6140 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6141 The hack didn't work outside English locales anyway.
6142
6143 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6144
6145 * simple.el (define-alternatives): Rename from alternatives-define,
6146 per RMS' suggestion.
6147
6148 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6149
6150 * desktop.el (desktop-restore-frames): Change default to t.
6151 (desktop-restore-in-current-display): Now offer more options.
6152 (desktop-restoring-reuses-frames): New customization option.
6153 (desktop--saved-states): Doc fix.
6154 (desktop-filter-parameters-alist): New variable, renamed and expanded
6155 from desktop--excluded-frame-parameters.
6156 (desktop--target-display): New variable.
6157 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6158 (desktop--filter-tty*, desktop--filter-*-color)
6159 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6160 (desktop--filter-save-desktop-parm)
6161 (desktop-restore-in-original-display-p): New functions.
6162 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6163 (desktop--save-minibuffer-frames): New function, inspired by a similar
6164 function from Martin Rudalics.
6165 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6166 (desktop--restore-in-this-display-p): Remove.
6167 (desktop--find-frame): Rename from desktop--find-frame-in-display
6168 and add predicate argument.
6169 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6170 (desktop--reuse-list): New variable.
6171 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6172 New functions.
6173 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6174
6175 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6176
6177 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6178
6179 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6180
6181 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6182 Highlight conversion methods on Kernel.
6183
6184 2013-07-13 Alan Mackenzie <acm@muc.de>
6185
6186 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6187 and comment it out. This out-commenting enables certain C++
6188 declarations to be parsed correctly.
6189
6190 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6191
6192 * international/mule.el (define-coding-system): Doc fix.
6193
6194 * simple.el (default-font-height): Don't call font-info if the
6195 frame's default font didn't change since the frame was created.
6196 (Bug#14838)
6197
6198 2013-07-13 Leo Liu <sdl.web@gmail.com>
6199
6200 * ido.el (ido-read-file-name): Guard against non-symbol value.
6201
6202 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6203
6204 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6205 in nested defuns.
6206
6207 2013-07-13 Leo Liu <sdl.web@gmail.com>
6208
6209 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6210 ido-set-matches call. (Bug#6852)
6211
6212 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6213
6214 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6215 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6216 Ruby 2.0.
6217 (ruby-font-lock-keywords): Distinguish calls to functions with
6218 module-like names from module references. Highlight character
6219 literals.
6220
6221 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6222
6223 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6224 (gdb-send): Handle continued commands. (Bug#14847)
6225
6226 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6227
6228 * desktop.el (desktop--v2s): Remove unused local variable.
6229 (desktop-save-buffer): Make defvar-local; adjust docstring.
6230 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6231 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6232
6233 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6234
6235 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6236
6237 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6238
6239 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6240 (Bug#14842)
6241
6242 2013-07-12 Glenn Morris <rgm@gnu.org>
6243
6244 * doc-view.el: Require cl-lib at runtime too.
6245 (doc-view-remove-if): Remove.
6246 (doc-view-search-next-match, doc-view-search-previous-match):
6247 Use cl-remove-if.
6248
6249 * edmacro.el: Require cl-lib at runtime too.
6250 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6251 (edmacro-mismatch, edmacro-subseq): Remove.
6252
6253 * shadowfile.el: Require cl-lib.
6254 (shadow-remove-if): Remove.
6255 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6256 Use cl-remove-if.
6257
6258 * wid-edit.el: Require cl-lib.
6259 (widget-choose): Use cl-remove-if.
6260 (widget-remove-if): Remove.
6261
6262 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6263 (ebrowse-delete-if-not): Remove.
6264 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6265 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6266 Use cl-delete-if-not.
6267
6268 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6269
6270 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6271 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6272
6273 2013-07-12 Leo Liu <sdl.web@gmail.com>
6274
6275 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6276
6277 2013-07-11 Glenn Morris <rgm@gnu.org>
6278
6279 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6280 (edebug-gensym-index, edebug-gensym):
6281 Remove reimplementation of cl-gensym.
6282 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6283
6284 * thumbs.el: Require cl-lib at run-time too.
6285 (thumbs-gensym-counter, thumbs-gensym):
6286 Remove reimplementation of cl-gensym.
6287 (thumbs-temp-file): Use cl-gensym.
6288
6289 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6290 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6291 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6292 (ert--union, ert--gensym-counter, ert--gensym-counter)
6293 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6294 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6295 (ert-make-test-unbound, ert--expand-should-1)
6296 (ert--expand-should, ert--should-error-handle-error)
6297 (should-error, ert--explain-equal-rec)
6298 (ert--plist-difference-explanation, ert-select-tests)
6299 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6300 Use cl-lib functions rather than reimplementations.
6301
6302 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6303
6304 * net/tramp.el (tramp-methods): Extend docstring.
6305 (tramp-connection-timeout): New defcustom.
6306 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6307 (with-tramp-progress-reporter): Simplify.
6308 (tramp-process-actions): Improve messages.
6309
6310 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6311 * net/tramp-sh.el (tramp-maybe-open-connection):
6312 Use `tramp-connection-timeout'.
6313 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6314 (Bug#14808)
6315
6316 2013-07-11 Leo Liu <sdl.web@gmail.com>
6317
6318 * ido.el (ido-read-file-name): Conform to the requirements of
6319 read-file-name. (Bug#11861)
6320 (ido-read-directory-name): Conform to the requirements of
6321 read-directory-name.
6322
6323 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6324
6325 * subr.el (delay-warning): New function.
6326
6327 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6328
6329 * simple.el (default-line-height): New function.
6330 (line-move-partial, line-move): Use it instead of computing the
6331 line height inline.
6332 (line-move-partial): Always compute ROWH. If the last line is
6333 partially-visible, but its text is completely visible, allow
6334 cursor to enter such a partially-visible line.
6335
6336 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6337
6338 Improve error messages. (Bug#14808)
6339
6340 * net/tramp.el (tramp-current-connection): New defvar, moved from
6341 tramp-sh.el.
6342 (tramp-message-show-progress-reporter-message): Remove, not
6343 needed anymore.
6344 (tramp-error-with-buffer): Show message in minibuffer.
6345 Discard input before waiting. Reset connection timestamp.
6346 (with-tramp-progress-reporter): Improve messages.
6347 (tramp-process-actions): Use progress reporter. Delete process in
6348 case of error. Improve messages.
6349
6350 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6351 Call `tramp-error-with-buffer' with vector and buffer.
6352 (tramp-current-connection): Remove.
6353 (tramp-maybe-open-connection): The car of
6354 `tramp-current-connection' are the first 3 slots of the vector.
6355
6356 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6357
6358 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6359 inside continued strings.
6360
6361 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6362
6363 Timestamp fixes for undo (Bug#14824).
6364 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6365
6366 2013-07-10 Leo Liu <sdl.web@gmail.com>
6367
6368 * files.el (require-final-newline): Allow safe local value.
6369 (Bug#14834)
6370
6371 2013-07-09 Leo Liu <sdl.web@gmail.com>
6372
6373 * ido.el (ido-read-directory-name): Handle fallback.
6374 (ido-read-file-name): Update DIR to ido-current-directory.
6375 (Bug#1516)
6376 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6377
6378 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6379
6380 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6381 "autoload". Remove "warn lower camel case" section, previously
6382 commented out. Highlight negation char. Do not highlight the
6383 target in singleton method definitions.
6384
6385 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6386
6387 * faces.el (tty-setup-hook): Declare the hook.
6388
6389 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6390 and detect when a guard/pred depends on local vars (bug#14773).
6391 (pcase--u1): Adjust caller.
6392
6393 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6394
6395 * simple.el (line-move-partial, line-move): Account for
6396 line-spacing.
6397 (line-move-partial): Avoid setting vscroll when the last
6398 partially-visible line in window is of default height.
6399
6400 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6401
6402 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6403 been used a while.
6404
6405 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6406
6407 * subr.el (read-quoted-char): Remove unused local variable `char'.
6408
6409 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6410
6411 * ediff.el (ediff-version): Version update.
6412 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6413 (ediff-merge-with-ancestor-command, ediff-directories-command)
6414 (ediff-directories3-command, ediff-merge-directories-command)
6415 (ediff-merge-directories-with-ancestor-command): New functions.
6416 All are command-line interfaces to ediff: to facilitate calling
6417 Emacs with the appropriate ediff functions invoked.
6418
6419 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6420 (viper-save-kill-buffer): Check if buffer is modified.
6421
6422 * viper.el (viper-version): Version update.
6423 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6424
6425 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6426
6427 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6428 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6429 (viper-intercept-ESC-key): Simplify.
6430 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6431 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6432 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6433 (viper-setup-ESC-to-escape): New functions.
6434 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6435 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6436
6437 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6438
6439 * simple.el (default-font-height, window-screen-lines):
6440 New functions.
6441 (line-move, line-move-partial): Use them instead of
6442 frame-char-height and window-text-height. This makes scrolling
6443 text smoother when the buffer's default face uses a font that is
6444 different from the frame's default font.
6445
6446 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6447
6448 * files.el (write-file): Do not display confirm dialog for NS,
6449 it does its own dialog, which can't be cancelled (Bug#14578).
6450
6451 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6452
6453 * simple.el (line-move-partial): Adjust the row returned by
6454 posn-at-point for the current window-vscroll. (Bug#14567)
6455
6456 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6457
6458 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6459 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6460 spaces.
6461
6462 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6463
6464 * window.el (window-state-put-stale-windows): New variable.
6465 (window--state-put-2): Save list of windows without matching buffer.
6466 (window-state-put): Remove "bufferless" windows if possible.
6467
6468 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6469
6470 * simple.el (alternatives-define): Remove leftover :group keyword.
6471 Tweak docstring.
6472
6473 2013-07-06 Leo Liu <sdl.web@gmail.com>
6474
6475 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6476 (ido-enable-virtual-buffers): New variable.
6477 (ido-buffer-internal, ido-toggle-virtual-buffers)
6478 (ido-make-buffer-list): Use it.
6479 (ido-exhibit): Support turning on and off virtual buffers
6480 automatically.
6481
6482 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6483
6484 * simple.el (alternatives-define): New macro.
6485
6486 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6487
6488 * subr.el (read-quoted-char): Use read-key.
6489 (sit-for): Let read-event decode tty input (bug#14782).
6490
6491 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6492
6493 * calendar/todo-mode.el: Add handling of file deletion, both by
6494 mode command and externally. Fix various related bugs.
6495 Clarify Commentary and improve some documentation strings and code.
6496 (todo-delete-file): New command.
6497 (todo-check-file): New function.
6498 (todo-show): Handle external deletion of the file we're trying to
6499 show (bug#14688). Replace called-interactively-p by an optional
6500 prefix argument to avoid problematic interaction with catch form
6501 when byte compiled (bug#14702).
6502 (todo-quit): Handle external deletion of the archive's todo file.
6503 Make sure the buffer that was visiting the archive file is still
6504 live before trying to bury it.
6505 (todo-category-completions): Handle external deletion of any
6506 category completion files.
6507 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6508 of todo files, in case of external deletion.
6509 (todo-add-file): Replace unnecessary setq by let-binding.
6510 (todo-find-archive): Check whether there are any archives.
6511 Replace unnecessary setq by let-binding.
6512 (todo-archive-done-item): Use find-file-noselect to get the
6513 archive buffer whether or not the archive already exists.
6514 Remove superfluous code. Use file size instead of buffer-file-name to
6515 check if the archive is new; if it is, update list of archives.
6516 (todo-default-todo-file): Allow nil to be a valid value for when
6517 there are no todo files.
6518 (todo-reevaluate-default-file-defcustom): Use corrected definition
6519 of todo-default-todo-file.
6520 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6521 (todo-delete-category, todo-show-categories-table)
6522 (todo-category-number): Clarify comment.
6523 (todo-filter-items): Clarify documentation string.
6524 (todo-show-current-file, todo-display-as-todo-file)
6525 (todo-reset-and-enable-done-separator): Tweak documentation string.
6526 (todo-done-separator): Make separator length window-width, since
6527 bug#2749 is now fixed.
6528
6529 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6530
6531 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6532 Support both "gvfs-monitor-dir" and "inotifywait".
6533 (tramp-sh-file-inotifywait-process-filter): Rename from
6534 `tramp-sh-file-notify-process-filter'.
6535 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6536 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6537
6538 2013-07-05 Leo Liu <sdl.web@gmail.com>
6539
6540 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6541
6542 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6543
6544 * frame.el (display-pixel-height, display-pixel-width)
6545 (display-mm-height, display-mm-width): Mention behavior on
6546 multi-monitor setups in docstrings.
6547 (w32-display-monitor-attributes-list): Declare function.
6548 (display-monitor-attributes-list): Use it.
6549
6550 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6551
6552 * filenotify.el: New package.
6553
6554 * autorevert.el (top): Require filenotify.el.
6555 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6556 instead.
6557 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6558 (auto-revert-notify-handler): Use `file-notify-*' functions.
6559
6560 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6561
6562 * net/tramp.el (tramp-file-name-for-operation):
6563 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6564
6565 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6566 for `file-notify-add-watch' and `file-notify-rm-watch'.
6567 (tramp-process-sentinel): Improve trace.
6568 (tramp-sh-handle-file-notify-add-watch)
6569 (tramp-sh-file-notify-process-filter)
6570 (tramp-sh-handle-file-notify-rm-watch)
6571 (tramp-get-remote-inotifywait): New defuns.
6572
6573 2013-07-03 Juri Linkov <juri@jurta.org>
6574
6575 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6576 call of `occur-read-primary-args' to interactive spec.
6577
6578 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6579 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6580
6581 2013-07-03 Matthias Meulien <orontee@gmail.com>
6582
6583 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6584 `Buffer-menu-multi-occur'. Add it to the menu.
6585 (Buffer-menu-mode): Document it in docstring.
6586 (Buffer-menu-multi-occur): New command. (Bug#14673)
6587
6588 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6589
6590 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6591 keywords and built-ins.
6592
6593 2013-07-03 Glenn Morris <rgm@gnu.org>
6594
6595 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6596
6597 Make info-xref checks case-sensitive by default
6598 * info.el (Info-find-node, Info-find-in-tag-table)
6599 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6600 Add option for exact case matching of nodes.
6601 * info-xref.el (info-xref): New custom group.
6602 (info-xref-case-fold): New option.
6603 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6604
6605 2013-07-03 Leo Liu <sdl.web@gmail.com>
6606
6607 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6608
6609 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6610
6611 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6612 middle of block statement initially, lower the depth. Remove
6613 FIXME comment, not longer valid. Remove middle of block statement
6614 detection, no need to do that anymore since we've been using
6615 `ruby-parse-region' here.
6616
6617 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6618
6619 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6620
6621 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6622
6623 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6624
6625 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6626
6627 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6628 (desktop-restore-in-current-display): New customization option.
6629 (desktop--excluded-frame-parameters): Add `font'.
6630 (desktop--save-frames): Rename from desktop--save-windows.
6631 (desktop--restore-in-this-display-p): New function.
6632 (desktop--make-full-frame): Remove unwanted width/height from
6633 full(width|height) frames.
6634 (desktop--restore-frames): Rename from desktop--restore-windows.
6635 Obey desktop-restore-current-display. Do not delete old frames or
6636 select a new frame unless we were able to restore at least one frame.
6637
6638 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6639
6640 * files.el (find-file-noselect): Simplify conditional expression.
6641
6642 * remember.el (remember-append-to-file):
6643 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6644
6645 Add `remember-notes' function to store random notes across Emacs
6646 restarts.
6647 * remember.el (remember-data-file): Add :set callback to affect
6648 notes buffer (if any).
6649 (remember-notes): New command.
6650 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6651 New defcustoms for the `remember-notes' function.
6652 (remember-notes-save-and-bury-buffer): New command.
6653 (remember-notes-mode-map): New variable.
6654 (remember-mode): New minor mode.
6655 (remember-notes--kill-buffer-query): New function.
6656 * startup.el (initial-buffer-choice): Add notes to custom type.
6657
6658 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6659
6660 * bindings.el (right-char, left-char): Don't call sit-for, this is
6661 no longer needed. Use arithmetic comparison only for numerical
6662 arguments.
6663
6664 * international/mule-cmds.el (select-safe-coding-system):
6665 Handle the case of FROM being a string correctly. (Bug#14755)
6666
6667 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6668
6669 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6670 progression on degenerate tables.
6671 (shr-rescale-image): ImageMagick animated images currently don't work.
6672
6673 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6674
6675 Some fixes and improvements for desktop frame restoration.
6676 It is still experimental and disabled by default.
6677 * desktop.el (desktop--save-windows): Put the selected frame at
6678 the head of the list.
6679 (desktop--make-full-frame): New function.
6680 (desktop--restore-windows): Try to re-select the frame that was
6681 selected upon saving. Do not abort if some frames fail to restore,
6682 just show an error message and continue. Set up maximized frames
6683 so they have default non-maximized dimensions.
6684
6685 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6686
6687 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6688 Don't start heredoc inside a string or comment.
6689
6690 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6691
6692 * bindings.el (visual-order-cursor-movement): New defcustom.
6693 (right-char, left-char): Provide visual-order cursor motion by
6694 calling move-point-visually. Update the doc strings.
6695
6696 2013-06-28 Kenichi Handa <handa@gnu.org>
6697
6698 * international/mule.el (define-coding-system): New coding system
6699 properties :inhibit-null-byte-detection,
6700 :inhibit-iso-escape-detection, and :prefer-utf-8.
6701 (set-buffer-file-coding-system): If :charset-list property of
6702 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6703 appropriate for setting.
6704
6705 * international/mule-cmds.el (select-safe-coding-system):
6706 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6707 multibyte characters, return utf-8 (or one of its siblings).
6708
6709 * international/mule-conf.el (prefer-utf-8): New coding system.
6710 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6711 files.
6712
6713 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6714
6715 * net/shr.el (shr-render-region): New function.
6716
6717 * net/eww.el: Autoload `eww-browse-url'.
6718
6719 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6720
6721 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6722 Adapt to `package-desc-version' being a list.
6723 Use `package--ac-desc-version' to retrieve version from a package
6724 archive element.
6725
6726 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6727
6728 New experimental feature to save&restore window and frame setup.
6729 * desktop.el (desktop-save-windows): New defcustom.
6730 (desktop--saved-states): New var.
6731 (desktop--excluded-frame-parameters): New defconst.
6732 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6733 (desktop--restore-windows, desktop--save-windows): New functions.
6734 (desktop-save): Call `desktop--save-windows'.
6735 (desktop-read): Call `desktop--restore-windows'.
6736
6737 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6738
6739 * net/shr.el (add-face-text-property): Remove compat definition.
6740
6741 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6742
6743 * info.el (Info-try-follow-nearest-node): Move search for footnote
6744 above search for node name to prevent missing a footnote (bug#14717).
6745
6746 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6747
6748 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6749
6750 2013-06-27 Leo Liu <sdl.web@gmail.com>
6751
6752 * net/eww.el (eww-read-bookmarks): Check file size.
6753
6754 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6755
6756 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6757 advice--pending if newdef is nil or an autoload (bug#13820).
6758 (advice-mapc): New function.
6759
6760 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6761
6762 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6763 probably.
6764 (eww-mode-map): Add a menu bar.
6765 (eww-add-bookmark): New command.
6766 (eww-bookmark-mode): New mode and commands.
6767 (eww-add-bookmark): Remove newlines from the title.
6768 (eww-bookmark-browse): Don't bug out if it's the only window.
6769
6770 2013-06-26 Glenn Morris <rgm@gnu.org>
6771
6772 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6773 (hfy-size): Handle ttys. (Bug#14668)
6774
6775 * info-xref.el: Update for Texinfo 5 change in *note format.
6776 (info-xref-node-re, info-xref-note-re): New constants.
6777 (info-xref-check-buffer): Use info-xref-note-re.
6778
6779 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6780
6781 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6782
6783 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6784 nil terminate the loop (bug#14718).
6785
6786 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6787
6788 * net/eww.el: Rework history traversal. When going forward/back,
6789 put these actions into the history, too, so that they can be
6790 replayed.
6791 (eww-render): Move the history reset to the correct buffer.
6792
6793 2013-06-25 Juri Linkov <juri@jurta.org>
6794
6795 * files-x.el (modify-dir-local-variable): Change the header comment
6796 in the file with directory local variables. (Bug#14692)
6797
6798 * files-x.el (read-file-local-variable-value): Add `default'.
6799 (Bug#14710)
6800
6801 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6802
6803 * net/eww.el (eww-make-unique-file-name): Create a unique file
6804 name before saving to entering `y' accidentally asynchronously.
6805
6806 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6807
6808 * net/eww.el (eww-download): New command and keystroke.
6809
6810 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6811
6812 * net/eww.el (eww-copy-page-url): Change name of command.
6813
6814 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6815 be more consistent with Info and dired.
6816
6817 * net/eww.el (eww-mode-map): Ditto.
6818
6819 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6820
6821 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6822 packages from archives.
6823 (package-archive-contents): Change format; include obsolete packages.
6824 (package-desc): Use `dir' to mark builtin packages.
6825 (package--from-builtin): Set the `dir' field to `builtin'.
6826 (generated-autoload-file, version-control): Declare.
6827 (package-compute-transaction): Change first arg and return value to be
6828 lists of package-descs. Adjust to new package-archive-contents format.
6829 (package--add-to-archive-contents): Adjust to new
6830 package-archive-contents format.
6831 (package-download-transaction): Arg is now a list of package-descs.
6832 (package-install): If `pkg' is a package name, pass it as
6833 a requirement, so it is subject to the usual (e.g. disabled) checks.
6834 (describe-package): Accept package-desc as well.
6835 (describe-package-1): Describe a specific package-desc. Add links to
6836 other package-descs for the same package name.
6837 (package-menu-describe-package): Pass the actual package-desc.
6838 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6839 works correctly.
6840 (package-desc-status): New function.
6841 (package-menu--refresh): New function, extracted
6842 from package-menu--generate.
6843 (package-menu--generate): Use it.
6844 (package-delete): Update package-alist.
6845 (package-menu-execute): Don't call package-initialize.
6846
6847 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6848 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6849 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6850 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6851 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6852 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6853
6854 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6855
6856 * window.el (window--state-get-1): Workaround for bug#14527.
6857 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6858
6859 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6860
6861 * net/eww.el (eww-back-url): Implement the history by stashing all
6862 the data into a list.
6863 (eww-forward-url): Allow going forward in the history, too.
6864
6865 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6866
6867 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6868 for values and use read--expression for expressions (bug#14710).
6869 (read-file-local-variable): Avoid setq.
6870 (read-file-local-variable-mode): Use minor-mode-list.
6871
6872 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6873
6874 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6875 for DOI URLs.
6876
6877 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6878
6879 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6880 Update imenu-support when dialect changes.
6881
6882 2013-06-25 Leo Liu <sdl.web@gmail.com>
6883
6884 * ido.el (ido-read-internal): Allow forward slash on windows.
6885
6886 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6887
6888 * net/eww.el (eww): Start of strings is \\`, not ^.
6889
6890 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6891
6892 * net/shr.el (shr-browse-url): Fix interactive spec.
6893
6894 * net/eww.el (eww): Add a trailing slash to domain names.
6895
6896 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6897
6898 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6899
6900 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6901
6902 * net/shr.el (shr-browse-url): Use an external browser if given a
6903 prefix.
6904
6905 * net/eww.el (eww-external-browser): Move to shr.
6906
6907 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6908
6909 * net/eww.el (eww): Work more correctly for file: URLs.
6910 (eww-detect-charset): Allow quoted charsets.
6911 (eww-yank-page-url): New command and keystroke.
6912
6913 2013-06-24 Daiki Ueno <ueno@gnu.org>
6914
6915 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6916 file name of gpg executable.
6917 (epg-context-program): New function.
6918 (epg-context-home-directory): New function.
6919 (epg-context-set-program): New function.
6920 (epg-context-set-home-directory): New function.
6921 (epg--start): Use `epg-context-program' instead of
6922 'epg-gpg-program'.
6923 (epg--list-keys-1): Likewise.
6924
6925 2013-06-24 Leo Liu <sdl.web@gmail.com>
6926
6927 * ido.el (ido-read-internal): Fix bug#14620.
6928
6929 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6930
6931 * faces.el (face-documentation): Simplify.
6932 (read-face-attribute, tty-find-type, x-resolve-font-name):
6933 Use `string-match-p'.
6934 (list-faces-display): Use `string-match-p'. Simplify.
6935 (face-spec-recalc): Check face to avoid face alias loops.
6936 (read-color): Use `string-match-p' and non-capturing parenthesis.
6937
6938 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6939
6940 * net/shr.el (shr-rescale-image): Use the new
6941 :max-width/:max-height functionality.
6942
6943 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6944
6945 * net/eww.el (eww-search-prefix): New variable.
6946 (eww): Use it.
6947 (eww-external-browser): New variable.
6948 (eww-mode-map): New keystroke.
6949 (eww-browse-with-external-browser): New command.
6950
6951 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6952
6953 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6954
6955 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6956 Don't skip aligning the next header field when padding is 0;
6957 otherwise, field width is not respected unless the title is as
6958 wide as the field.
6959
6960 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6961
6962 * emacs-lisp/package.el (package-el-version): Remove.
6963 (package-process-define-package): Fix inf-loop.
6964 (package-install): Allow symbols as arguments again.
6965
6966 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6967
6968 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6969 add some more keyword-like methods.
6970 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6971
6972 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6973
6974 * bs.el (bs-buffer-show-mark): Make defvar-local.
6975 (bs-mode): Use setq-local.
6976
6977 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6978 (emacs-lock--try-unlocking): Make defvar-local.
6979
6980 2013-06-22 Glenn Morris <rgm@gnu.org>
6981
6982 * play/cookie1.el (cookie-apropos): Minor simplification.
6983
6984 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6985
6986 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6987
6988 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6989 `regexp-opt', it breaks the build during dumping.
6990
6991 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6992
6993 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6994 Highlight keyword-like methods on Kernel and Module with
6995 font-lock-builtin-face.
6996 (auto-mode-alist): Consolidate different entries into one regexp
6997 and add more *file-s.
6998
6999 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7000
7001 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7002
7003 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7004 (diary-entry): Use it in the action of this button type instead of
7005 diary-goto-entry.
7006
7007 * calendar/todo-mode.el: New version.
7008 (todo-add-category): Append new category to end of file and give
7009 it the highest number, instead of putting it at the beginning and
7010 giving it 0. Incorporate noninteractive functionality.
7011 (todo-forward-category): Adapt to 1-based category numbering.
7012 Allow skipping over archived categories.
7013 (todo-backward-category): Derive from todo-forward-category.
7014 (todo-backward-item, todo-forward-item): Make noninteractive and
7015 delegate interactive part to new commands. Make sensitive to done items.
7016 (todo-categories): Make value an alist of category names and
7017 vectors of item counts.
7018 (todo-category-beg): Make a defconst.
7019 (todo-category-number): Use 1 instead of 0 as initial value.
7020 (todo-category-select): Make sensitive to overlays, optional item
7021 highlighting and done items.
7022 (todo-delete-item): Make sensitive to overlays and marked and done items.
7023 (todo-edit-item): Make sensitive to overlays and editing of
7024 date/time header optional. Add format checks.
7025 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7026 no-op if point is not on an item. Advertise using todo-edit-quit.
7027 (todo-edit-mode): Make sensitive to new format, font-locking, and
7028 multiple todo files.
7029 (todo-insert-item, todo-insert-item-here): Derive from
7030 todo-basic-insert-item and extend functionality.
7031 (todo-item-end, todo-item-start): Make sensitive to done items.
7032 (todo-item-string): Don't return text properties. Restore point.
7033 (todo-jump-to-category): Make sensitive to multiple todo files and
7034 todo archives. Use extended category completion.
7035 (todo-lower-item, todo-raise-item): Rename to *-priority and
7036 derive from todo-set-item-priority.
7037 (todo-mode): Derive from special-mode. Make sensitive to new
7038 format, font-locking and multiple todo files. Make read-only.
7039 (todo-mode-map): Don't suppress digit keys, so they can supply
7040 prefix arguments. Add many new key bindings.
7041 (todo-prefix): Insert as an overlay instead of file text.
7042 Change semantics from diary date expression to purely visual mark.
7043 (todo-print): Rename to todo-print-buffer. Make buffer display
7044 features printable. Remove option to restrict number of items
7045 printed. Add option to print to file.
7046 (todo-print-function): Rename to todo-print-buffer-function.
7047 (todo-quit): Extend to handle exiting new todo modes.
7048 (todo-remove-item): Make sensitive to overlays.
7049 (todo-save): Extend to buffers of filtered items.
7050 (todo-show): Make sensitive to done items, multiple todo files and
7051 new todo modes. Offer to convert legacy todo file before creating
7052 first new todo file.
7053 (todo-show-priorities): Rename to todo-top-priorities.
7054 Change semantics of value 0.
7055 (todo-top-priorities): Rename to todo-filter-top-priorities,
7056 derive from todo-filter-items and extend functionality.
7057 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7058 and extend functionality to other types of filtered items.
7059 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7060 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7061 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7062 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7063 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7064 (todo-edit-mode-hook, todo-entry-prefix-function)
7065 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7066 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7067 (todo-initials, todo-insert-threshold, todo-item-string-start)
7068 (todo-line-string, todo-menu, todo-mode-hook)
7069 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7070 (todo-print-priorities, todo-remove-separator)
7071 (todo-save-top-priorities-too, todo-string-count-lines)
7072 (todo-string-multiline-p, todo-time-string-format)
7073 (todo-tmp-buffer-name): Remove.
7074 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7075 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7076 (todo-edit-category-diary-inclusion)
7077 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7078 (todo-edit-file, todo-edit-item-date-day)
7079 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7080 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7081 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7082 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7083 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7084 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7085 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7086 (todo-filter-top-priorities-multifile, todo-find-archive)
7087 (todo-find-filtered-items-file, todo-go-to-source-item)
7088 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7089 (todo-jump-to-archive-category, todo-lower-category)
7090 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7091 (todo-move-category, todo-move-item, todo-next-button)
7092 (todo-next-item, todo-padded-string, todo-powerset)
7093 (todo-previous-button, todo-previous-item)
7094 (todo-print-buffer-to-file, todo-raise-category)
7095 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7096 (todo-set-category-number, todo-set-item-priority)
7097 (todo-set-top-priorities-in-category)
7098 (todo-set-top-priorities-in-file, todo-show-categories-table)
7099 (todo-sort-categories-alphabetically-or-numerically)
7100 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7101 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7102 (todo-toggle-item-header, todo-toggle-item-highlighting)
7103 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7104 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7105 (todo-unarchive-items, todo-unmark-category): New commands.
7106 (todo-absolute-file-name, todo-add-to-buffer-list)
7107 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7108 (todo-basic-insert-item, todo-category-completions)
7109 (todo-category-number, todo-category-string-matcher-1)
7110 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7111 (todo-check-format, todo-clear-matches)
7112 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7113 (todo-current-category, todo-date-string-matcher)
7114 (todo-define-insertion-command, todo-diary-expired-matcher)
7115 (todo-diary-goto-entry, todo-diary-item-p)
7116 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7117 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7118 (todo-done-item-section-p, todo-done-separator)
7119 (todo-done-string-matcher, todo-files, todo-filter-items)
7120 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7121 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7122 (todo-insert-category-line, todo-insert-item-from-calendar)
7123 (todo-insert-sort-button, todo-insert-with-overlays)
7124 (todo-insertion-command-name, todo-insertion-key-bindings)
7125 (todo-label-to-key, todo-longest-category-name-length)
7126 (todo-make-categories-list, todo-mode-external-set)
7127 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7128 (todo-modes-set-3, todo-multiple-filter-files)
7129 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7130 (todo-read-category, todo-read-date, todo-read-dayname)
7131 (todo-read-file-name, todo-read-time)
7132 (todo-reevaluate-category-completions-files-defcustom)
7133 (todo-reevaluate-default-file-defcustom)
7134 (todo-reevaluate-filelist-defcustoms)
7135 (todo-reevaluate-filter-files-defcustom)
7136 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7137 (todo-reset-done-separator, todo-reset-done-separator-string)
7138 (todo-reset-done-string, todo-reset-global-current-todo-file)
7139 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7140 (todo-reset-prefix, todo-set-categories)
7141 (todo-set-date-from-calendar, todo-set-show-current-file)
7142 (todo-set-top-priorities, todo-short-file-name)
7143 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7144 (todo-total-item-counts, todo-update-buffer-list)
7145 (todo-update-categories-display, todo-update-categories-sexp)
7146 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7147 New functions.
7148 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7149 New major modes.
7150 (todo-categories, todo-display, todo-edit, todo-faces)
7151 (todo-filtered): New defgroups.
7152 (todo-archived-only, todo-button, todo-category-string, todo-date)
7153 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7154 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7155 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7156 (todo-add-item-if-new-category, todo-always-add-time-string)
7157 (todo-categories-align, todo-categories-archived-label)
7158 (todo-categories-category-label, todo-categories-diary-label)
7159 (todo-categories-done-label, todo-categories-number-separator)
7160 (todo-categories-todo-label, todo-categories-totals-label)
7161 (todo-category-completions-files, todo-completion-ignore-case)
7162 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7163 (todo-done-separator-string, todo-done-string)
7164 (todo-files-function, todo-filter-done-items, todo-filter-files)
7165 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7166 (todo-initial-category, todo-initial-file, todo-item-mark)
7167 (todo-legacy-date-time-regexp, todo-mode-line-function)
7168 (todo-nondiary-marker, todo-number-prefix)
7169 (todo-print-buffer-function, todo-show-current-file)
7170 (todo-show-done-only, todo-show-first, todo-show-with-done)
7171 (todo-skip-archived-categories, todo-top-priorities-overrides)
7172 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7173 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7174 New defcustoms.
7175 (todo-category-done, todo-date-pattern, todo-date-string-start)
7176 (todo-diary-items-buffer, todo-done-string-start)
7177 (todo-filtered-items-buffer, todo-item-start)
7178 (todo-month-abbrev-array, todo-month-name-array)
7179 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7180 (todo-top-priorities-buffer): New defconsts.
7181 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7182 (todo-categories-with-marks, todo-category-string-face)
7183 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7184 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7185 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7186 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7187 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7188 (todo-font-lock-keywords, todo-global-current-todo-file)
7189 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7190 (todo-insertion-commands-args)
7191 (todo-insertion-commands-args-genlist)
7192 (todo-insertion-commands-names, todo-insertion-map)
7193 (todo-key-bindings-t, todo-key-bindings-t+a)
7194 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7195 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7196 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7197 (todo-visited): New variables.
7198
7199 2013-06-21 Glenn Morris <rgm@gnu.org>
7200
7201 * play/cookie1.el (cookie-apropos): Add optional display argument.
7202 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7203 (psychoanalyze-pinhead): Use cookie-doctor.
7204
7205 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7206
7207 * emacs-lisp/package.el (tar-get-file-descriptor)
7208 (tar--extract): Declare.
7209
7210 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7211
7212 Extend flymake's warning predicate to be a function (bug#14217).
7213 * progmodes/flymake.el (flymake-warning-predicate): New.
7214 (flymake-parse-line): Use it.
7215 (flymake-warning-re): Make obsolete alias to
7216 `flymake-warning-predicate'.
7217
7218 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7219
7220 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7221 (package-obsolete-list): Remove.
7222 (package-activate): Remove min-version argument. Add `force' argument.
7223 Adjust to new package-alist format.
7224 (package-mark-obsolete): Remove.
7225 (package-unpack): Force reload of the package's autoloads.
7226 (package-installed-p): Check builtins if the installed package is not
7227 recent enough.
7228 (package-initialize): Don't reset package-obsolete-list.
7229 Don't specify which package version to activate.
7230 (package-process-define-package, describe-package-1)
7231 (package-menu--generate): Adjust to new package-alist format.
7232
7233 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7234
7235 * allout-widgets.el (allout-widgets-mode-off)
7236 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7237 (allout-widgets-post-command-business)
7238 (allout-widgets-after-copy-or-kill-function)
7239 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7240 (allout-decorate-item-and-context)
7241 (allout-graphics-modification-handler): Fix typos in docstrings.
7242 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7243
7244 * cmuscheme.el (scheme-start-file): Doc fix.
7245 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7246 (scheme-input-filter): Use `string-match-p'.
7247
7248 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7249
7250 * dired-x.el: Use Dired consistently in docstrings.
7251
7252 * dired.el: Use Dired consistently in docstrings.
7253 (dired-readin, dired-mode): Use `setq-local'.
7254 (dired-switches-alist): Make defvar-local.
7255 (dired-buffers-for-dir): Use `zerop'.
7256 (dired-safe-switches-p, dired-switches-escape-p)
7257 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7258 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7259 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7260 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7261 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7262 (dired-toggle-marks, dired-mark-files-containing-regexp)
7263 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7264 (dired-flag-auto-save-files, dired-flag-backup-files):
7265 Use `looking-at-p'.
7266 (dired-mark-files-regexp, dired-build-subdir-alist):
7267 Use `string-match-p', `looking-at-p'.
7268
7269 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7270 (direct-print-region-helper): Use `string-match-p'.
7271
7272 2013-06-21 Leo Liu <sdl.web@gmail.com>
7273
7274 * comint.el (comint-redirect-results-list-from-process):
7275 Fix infinite loop.
7276
7277 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7278
7279 * net/eww.el (eww-update-header-line-format): Quote % characters.
7280
7281 2013-06-21 Glenn Morris <rgm@gnu.org>
7282
7283 * play/cookie1.el (cookie): New custom group.
7284 (cookie-file): New option.
7285 (cookie-check-file): New function.
7286 (cookie): Make it interactive. Make start and end messages optional.
7287 Interactively, display the result. Default to cookie-file.
7288 (cookie-insert): Default to cookie-file.
7289 (cookie-snarf): Make start and end messages optional.
7290 Default to cookie-file. Use with-temp-buffer.
7291 (cookie-read): Rename from read-cookie.
7292 Make start and end messages optional. Default to cookie-file.
7293 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7294 Do not autoload it.
7295 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7296 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7297
7298 2013-06-21 Leo Liu <sdl.web@gmail.com>
7299
7300 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7301
7302 2013-06-21 Glenn Morris <rgm@gnu.org>
7303
7304 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7305
7306 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7307 Daniel Hackney <dan@haxney.org>
7308
7309 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7310 Consolidate the single-file vs tarball code.
7311 (package-desc-suffix): New function.
7312 (package-desc-full-name): Don't bother inlining it.
7313 (package-load-descriptor): Return the new package-desc.
7314 (package-mark-obsolete): Remove unused arg `package'.
7315 (package-unpack): Make it work for single files as well.
7316 Make it update package-alist.
7317 (package--make-autoloads-and-stuff): Rename from
7318 package--make-autoloads-and-compile. Don't compile any more.
7319 (package--compile): New function.
7320 (package-generate-description-file): New function, extracted from
7321 package-unpack-single.
7322 (package-unpack-single): Remove.
7323 (package--with-work-buffer): Add indentation and debugging info.
7324 (package-download-single): Remove.
7325 (package-install-from-archive): Rename from package-download-tar, make
7326 it take a pkg-desc, and make it work for single files as well.
7327 (package-download-transaction): Simplify.
7328 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7329 external tar program.
7330 (package-install-from-buffer): Remove `pkg-desc' argument.
7331 Use package-tar-file-info for tar-mode buffers.
7332 (package-install-file): Simplify accordingly.
7333 (package-archive-base): Change to take a pkg-desc.
7334 * tar-mode.el (tar--check-descriptor): New function, extracted from
7335 tar-get-descriptor.
7336 (tar-get-descriptor): Use it.
7337 (tar-get-file-descriptor): New function.
7338 (tar--extract): New function, extracted from tar-extract.
7339 (tar--extract): Use it.
7340 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7341 case the summary uses non-ascii. Adjust to new calling convention of
7342 package-tar-file-info.
7343
7344 2013-06-21 Leo Liu <sdl.web@gmail.com>
7345
7346 * comint.el (comint-redirect-results-list-from-process):
7347 Fix random delay. (Bug#14681)
7348
7349 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7350
7351 * profiler.el (profiler-format-number): Use log, not log10.
7352
7353 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7354
7355 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7356
7357 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7358
7359 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7360 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7361 yet available.
7362 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7363 (AUTOGENEL): ... here.
7364 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7365 (cl--defsubst-expand): Use it.
7366
7367 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7368
7369 * subr.el (log10): Move here from C code, and declare as obsolete.
7370 All uses of (log10 X) replaced with (log X 10).
7371
7372 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7373
7374 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7375 Declare with `defvar-local'.
7376 (tabulated-list-use-header-line, tabulated-list-entries)
7377 (tabulated-list-padding, tabulated-list-printer)
7378 (tabulated-list-sort-key): Declare with `defvar-local'.
7379 (tabulated-list-init-header, tabulated-list-print-fake-header):
7380 Use `setq-local'.
7381
7382 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7383
7384 * arc-mode.el (archive-mode): Add `archive-write-file' to
7385 `write-contents-functions' also for remote files. (Bug#14652)
7386
7387 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7388
7389 * cus-edit.el (custom-commands): Fix typos.
7390 (custom-display): Fix tooltip text.
7391 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7392 Fix typos in docstrings.
7393 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7394 (custom-unlispify-menu-entry, custom-magic-value-create)
7395 (custom-add-see-also, custom-group-value-create): Use ?\s.
7396 (custom-guess-type, customize-apropos, editable-field)
7397 (custom-face-value-create): Use `string-match-p'.
7398 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7399
7400 * custom.el (custom-load-symbol): Use `string-match-p'.
7401
7402 * ansi-color.el: Convert to lexical binding.
7403 (ansi-colors): Fix URL.
7404 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7405 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7406 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7407
7408 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7409
7410 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7411
7412 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7413
7414 2013-06-19 Tom Tromey <tromey@redhat.com>
7415
7416 * net/eww.el (eww-top-url): Remove.
7417 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7418 (eww-render): Set new variables. Don't set eww-top-url.
7419 (eww-handle-link): Handle "prev", "home", and "contents".
7420 Downcase the rel text.
7421 (eww-top-url): Choose best top URL.
7422
7423 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7424
7425 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7426 relying in widget.el. Using widget.el leads to too many
7427 user interface inconsistencies.
7428 (eww-self-insert): Implement entering commands in text fields.
7429 (eww-process-text-input): New function to make text input field editing
7430 work.
7431 (eww-submit): Rewrite to use the new-style form methods.
7432 (eww-select-display): Display the correct selected item.
7433 (eww-change-select): Implement changing the select value.
7434 (eww-toggle-checkbox): Implement radio/checkboxes.
7435 (eww-update-field): Fix compilation error.
7436 (eww-tag-textarea): Implement <textarea>.
7437
7438 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7439 we don't shadow mode-specific bindings.
7440
7441 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7442 nothing to push.
7443
7444 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7445
7446 2013-06-19 Glenn Morris <rgm@gnu.org>
7447
7448 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7449
7450 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7451
7452 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7453 not needed.
7454
7455 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7456
7457 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7458
7459 * net/browse-url.el (browse-url-browser-function):
7460 `eww-browse-url' has the right calling signature, `eww' does not.
7461
7462 2013-06-19 Glenn Morris <rgm@gnu.org>
7463
7464 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7465 Only eval autoloaded macros.
7466 (byte-compile-autoload): Only give the macro warning for macros.
7467
7468 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7469 (ps-underlined-faces): Declare.
7470
7471 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7472 (speedbar-add-supported-extension): Declare.
7473
7474 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7475 Don't include a date stamp in the header of the generated file;
7476 it leads to needless differences between output files.
7477
7478 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7479
7480 * net/secrets.el (secrets-struct-secret-content-type):
7481 Replace check of introspection data by a test call of "CreateItem".
7482 Some servers do not offer introspection.
7483
7484 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7485
7486 * electric.el (electric-pair-mode): Improve interaction with
7487 electric-layout-mode.
7488 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7489 (electric-pair-syntax): Use text-mode-syntax-table in comments
7490 and strings.
7491 (electric-pair--insert): New function.
7492 (electric-pair-post-self-insert-function): Use it and
7493 electric--after-char-pos.
7494
7495 2013-06-19 Leo Liu <sdl.web@gmail.com>
7496
7497 * progmodes/octave.el (octave-help): Fix regexp.
7498
7499 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7500
7501 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7502 (shr-table-horizontal-line): Allow nil as a value, and change the
7503 default.
7504 (shr-insert-table-ruler): Respect the nil value.
7505
7506 2013-06-18 Tom Tromey <tromey@barimba>
7507
7508 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7509 New defvars.
7510 (eww-open-file): New defun.
7511 (eww-render): Initialize new variables.
7512 (eww-display-html): Handle "link" and "a".
7513 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7514 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7515 (eww-back-url): Rename from eww-previous-url.
7516 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7517 New defuns.
7518
7519 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7520
7521 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7522 Distinguish ternary operator tokens from slash symbol and slash
7523 char literal.
7524
7525 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7526
7527 Convert symbol prettification into minor mode and global minor mode.
7528
7529 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7530 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7531 (prettify-symbols--keywords): Rename from
7532 `prog-prettify-symbols-alist' and make a local defvar.
7533 (prettify-symbols--compose-symbol): Rename from
7534 `prog--prettify-font-lock-compose-symbol'.
7535 (prettify-symbols--make-keywords): Rename from
7536 `prog-prettify-font-lock-symbols-keywords' and simplify.
7537 (prog-prettify-install): Remove.
7538 (prettify-symbols-mode): New minor mode, based on
7539 `prog-prettify-install'.
7540 (turn-on-prettify-symbols-mode): New function.
7541 (global-prettify-symbols-mode): New globalized minor mode.
7542
7543 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7544 * progmodes/cfengine.el (cfengine3-mode):
7545 * progmodes/perl-mode.el (perl-mode): Don't call
7546 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7547
7548 2013-06-18 Juri Linkov <juri@jurta.org>
7549
7550 * files-x.el (modify-file-local-variable-message): New function.
7551 (modify-file-local-variable)
7552 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7553 and call `modify-file-local-variable-message' when it's non-nil.
7554 (add-file-local-variable, delete-file-local-variable)
7555 (add-file-local-variable-prop-line)
7556 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7557 and use it. (Bug#9820)
7558
7559 2013-06-18 Juri Linkov <juri@jurta.org>
7560
7561 * emulation/vi.el (vi-shell-op):
7562 * emulation/vip.el (vip-execute-com, ex-command):
7563 * emulation/viper-cmd.el (viper-exec-bang):
7564 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7565 the call of `shell-command-on-region'. (Bug#14637)
7566
7567 * simple.el (shell-command-on-region): Doc fix.
7568
7569 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7570
7571 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7572 (bug#14633).
7573
7574 2013-06-18 Glenn Morris <rgm@gnu.org>
7575
7576 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7577
7578 * newcomment.el (comment-search-forward, comment-search-backward):
7579 Doc fix. (Bug#14376)
7580
7581 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7582
7583 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7584 (buffer-face-mode-invoke): Doc fix.
7585
7586 2013-06-18 Matthias Meulien <orontee@gmail.com>
7587
7588 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7589 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7590
7591 2013-06-18 Glenn Morris <rgm@gnu.org>
7592
7593 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7594 Replace obsolete function generic-make-keywords with its expansion.
7595
7596 * progmodes/python.el (ffap-alist): Declare.
7597
7598 * textmodes/reftex.el (bibtex-mode-map): Declare.
7599
7600 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7601
7602 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7603 (package-unpack, package-unpack-single): Return the pkg-dir.
7604 (package-download-transaction): Use it to update package-alist.
7605
7606 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7607
7608 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7609 possible choice.
7610
7611 2013-06-17 Juri Linkov <juri@jurta.org>
7612
7613 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7614
7615 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7616
7617 * emacs-lisp/package.el (package-load-descriptor):
7618 Remove `with-syntax-table' call, `read' doesn't need it.
7619 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7620
7621 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7622
7623 * startup.el (command-line): Expand package name returned by
7624 `package--description-file' (bug#14639).
7625
7626 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7627
7628 * emacs-lisp/package.el (package-load-descriptor): Do not call
7629 `emacs-lisp-mode', just use its syntax table.
7630
7631 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7632
7633 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7634 `font-lock-extra-managed-props' if any prettifying keyword is added.
7635 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7636 (prog-mode): Use `setq-local'.
7637
7638 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7639
7640 * international/characters.el (standard-case-table): Set syntax of ?»
7641 and ?« to punctuation.
7642
7643 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7644
7645 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7646 Save relevant match data before calling `syntax-ppss' (bug#14595).
7647
7648 2013-06-15 Juri Linkov <juri@jurta.org>
7649
7650 * files-x.el (modify-file-local-variable-prop-line): Add local
7651 variables to the end of the existing comment on the first line.
7652 Use `file-auto-mode-skip' to skip interpreter magic line,
7653 and also skip XML declaration.
7654
7655 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7656
7657 * startup.el (package--builtin-versions): New var.
7658 (package-subdirectory-regexp): Remove.
7659 (package--description-file): Hard code its value instead.
7660
7661 * emacs-lisp/package.el: Don't activate packages older than builtin.
7662 (package-obsolete-list): Rename from package-obsolete-alist, and make
7663 it into a simple list of package-desc.
7664 (package-strip-version): Remove.
7665 (package-built-in-p): Use package--builtin-versions.
7666 (package-mark-obsolete): Simplify.
7667 (package-process-define-package): Mark it obsolete if older than the
7668 builtin version.
7669 (package-handle-response): Use line-end-position.
7670 (package-read-archive-contents, package--download-one-archive):
7671 Simplify.
7672 (package--add-to-archive-contents): Skip if older than the builtin or
7673 installed version.
7674 (package-menu-describe-package): Fix last change.
7675 (package-list-unversioned): New var.
7676 (package-menu--generate): Use it.
7677
7678 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7679 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7680 (autoload-builtin-package-versions): New variable.
7681 (autoload-generate-file-autoloads): Use them.
7682 Remove the list of autoloaded functions/macros from the
7683 (autoload...) comments.
7684
7685 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7686
7687 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7688
7689 * simple.el (line-move-partial): Don't jump to the next screen
7690 line as soon as it becomes visible. Instead, continue enlarging
7691 the vscroll until the portion of a tall screen line that's left on
7692 display is about the height of the frame's default font.
7693 (Bug#14567)
7694
7695 2013-06-15 Glenn Morris <rgm@gnu.org>
7696
7697 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7698 compilation-error-regexp-alist void, or local while let-bound.
7699
7700 * progmodes/make-mode.el (makefile-mode-syntax-table):
7701 Treat "=" as punctuation. (Bug#14614)
7702
7703 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7704
7705 * help-fns.el (describe-variable):
7706 Add extra line for permanent-local variables.
7707
7708 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7709
7710 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7711 Add export, import, library. (Bug#9164)
7712 (library): Set indent function.
7713
7714 2013-06-14 Glenn Morris <rgm@gnu.org>
7715
7716 * term/xterm.el (xterm--query):
7717 Stop after first matching handler. (Bug#14615)
7718
7719 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7720
7721 Add support for dired in saveplace.
7722 * dired.el (dired-initial-position-hook): New variable.
7723 (dired-initial-position): Call hook to place cursor position.
7724 * saveplace.el (save-place-to-alist): Add dired position.
7725 (save-place-dired-hook): New function.
7726
7727 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7728
7729 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7730 through a symbol rather than letrec.
7731
7732 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7733 (package-desc): Add `dir' field.
7734 (package-desc-full-name): New function.
7735 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7736 (package-maybe-load-descriptor): Remove.
7737 (package-load-all-descriptors): Just call package-load-descriptor.
7738 (package--disabled-p): New function.
7739 (package-desc-vers, package-desc-doc): Remove aliases.
7740 (package--dir): Remove function.
7741 (package-activate): Check if a package is disabled.
7742 (package-process-define-package): New function, extracted from
7743 define-package.
7744 (define-package): Turn into a place holder.
7745 (package-unpack-single, package-tar-file-info):
7746 Use package--description-file.
7747 (package-compute-transaction): Use package--disabled-p.
7748 (package-download-transaction): Don't call
7749 package-maybe-load-descriptor since they're all loaded anyway.
7750 (package-install): Change argument to be a pkg-desc.
7751 (package-delete): Use a single pkg-desc argument.
7752 (describe-package-1): Use package-desc-dir instead of package--dir.
7753 Use package-desc property instead of package-symbol.
7754 (package-install-button-action): Adjust accordingly.
7755 (package--push): Rewrite.
7756 (package-menu--print-info): Adjust accordingly. Change the ID format
7757 to be a pkg-desc.
7758 (package-menu-describe-package, package-menu-get-status)
7759 (package-menu--find-upgrades, package-menu-mark-upgrades)
7760 (package-menu-execute, package-menu--name-predicate):
7761 Adjust accordingly.
7762 * startup.el (package--description-file): New function.
7763 (command-line): Use it.
7764 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7765 Use package-desc-version.
7766
7767 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7768 (byte-compile-preprocess): Use it.
7769 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7770 can't quite recognize.
7771 (byte-compile-add-to-list): Remove.
7772 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7773 (cconv-closure-convert): Add assertion.
7774
7775 * emacs-lisp/map-ynp.el: Use lexical-binding.
7776 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7777 Factor out some repeated code.
7778
7779 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7780
7781 * subr.el (with-eval-after-load): New macro.
7782 (eval-after-load): Allow form to be a function.
7783 take advantage of lexical-binding.
7784 (do-after-load-evaluation): Use dolist and adjust to new format.
7785 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7786
7787 2013-06-13 Juri Linkov <juri@jurta.org>
7788
7789 * replace.el (perform-replace): Display "symbol " and other search
7790 modes from `isearch-message-prefix' in the *Help* buffer.
7791
7792 * isearch.el (isearch-query-replace): Add " symbol" and other
7793 possible search modes from `isearch-message-prefix' to the prompt.
7794 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7795 when reading a regexp to collect.
7796
7797 2013-06-13 Juri Linkov <juri@jurta.org>
7798
7799 * isearch.el (word-search-regexp): Match whitespace if the search
7800 string begins or ends in whitespace. The LAX arg is applied to
7801 both ends of the search string. Use `regexp-quote' and explicit
7802 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7803 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7804 boundaries are replaced with symbol boundaries, and characters
7805 between symbols match non-word non-symbol syntax. (Bug#14602)
7806
7807 2013-06-13 Juri Linkov <juri@jurta.org>
7808
7809 * isearch.el (isearch-del-char): Don't exceed the length of
7810 `isearch-string' by the prefix arg. (Bug#14563)
7811
7812 2013-06-13 Juri Linkov <juri@jurta.org>
7813
7814 * isearch.el (isearch-yank-word, isearch-yank-line)
7815 (isearch-char-by-name, isearch-quote-char)
7816 (isearch-printing-char, isearch-process-search-char):
7817 Add optional count prefix arg. (Bug#14563)
7818
7819 * international/isearch-x.el
7820 (isearch-process-search-multibyte-characters):
7821 Add optional count prefix arg.
7822
7823 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7824
7825 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7826 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7827 lexical-binding.
7828
7829 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7830
7831 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7832
7833 2013-06-13 Glenn Morris <rgm@gnu.org>
7834
7835 * startup.el (tty-handle-args):
7836 Don't just discard "--" and anything after. (Bug#14608)
7837
7838 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7839
7840 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7841
7842 Implement changes in Secret Service API. Make it backward compatible.
7843 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7844 (secrets-create-item): Use it. Prefix properties with interface.
7845
7846 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7847
7848 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7849 (term-emulate-terminal): Respect term-suppress-hard-newline.
7850
7851 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7852
7853 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7854 Only remove a `thumb-file' overlay. (Bug#14548)
7855
7856 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7857
7858 * mail/reporter.el (reporter-submit-bug-report):
7859 Handle missing package-name. (Bug#14600)
7860
7861 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7862
7863 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7864 (reftex-citation-prompt, reftex-default-bibliography)
7865 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7866 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7867 (reftex-bib-sort-author, reftex-bib-sort-year)
7868 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7869 (reftex-extract-bib-entries-from-thebibliography)
7870 (reftex-get-bibkey-default, reftex-get-bib-names)
7871 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7872 (reftex-format-bib-entry, reftex-parse-bibitem)
7873 (reftex-format-bibitem, reftex-do-citation)
7874 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7875 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7876 (reftex-insert-bib-matches, reftex-format-citation)
7877 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7878 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7879 existing comments into docstrings.
7880
7881 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7882
7883 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7884
7885 2013-06-12 Andreas Schwab <schwab@suse.de>
7886
7887 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7888 for auto-save files.
7889
7890 2013-06-12 Glenn Morris <rgm@gnu.org>
7891
7892 * ido.el (ido-delete-ignored-files): Remove.
7893 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7894 Go back to calling ido-ignore-item-p directly.
7895
7896 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7897
7898 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7899
7900 * ido.el (ido-delete-ignored-files): New function,
7901 split from ido-make-file-list-1.
7902 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7903 (ido-make-file-list-1): Use ido-delete-ignored-files.
7904
7905 2013-06-12 Leo Liu <sdl.web@gmail.com>
7906
7907 * progmodes/octave.el (inferior-octave-startup)
7908 (inferior-octave-completion-table)
7909 (inferior-octave-track-window-width-change)
7910 (octave-eldoc-function-signatures, octave-help)
7911 (octave-find-definition): Use single quoted strings.
7912 (inferior-octave-startup-args): Change default value.
7913 (inferior-octave-startup): Do not hard code "-i" and
7914 "--no-line-editing".
7915 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7916 (inferior-octave-directory-tracker): Use it.
7917 (octave-goto-function-definition): Robustify.
7918 (octave-help): Support highlighting operators in 'See also'.
7919 (octave-find-definition): Find subfunctions only in Octave mode.
7920
7921 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7922
7923 * help-fns.el (help-fns--compiler-macro): If the handler function is
7924 named, then put a link to it.
7925 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7926 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7927 (cl-typep): Use it.
7928 (cl-eval-when): Simplify debug spec.
7929 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7930 compiler-macro function instead of setting `compiler-macro-file'.
7931
7932 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7933
7934 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7935 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7936
7937 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7938 Daniel Hackney <dan@haxney.org>
7939
7940 First part of Daniel Hackney's patch to package.el.
7941 * emacs-lisp/package.el: Use defstruct.
7942 (package-desc): New, main struct.
7943 (package--bi-desc, package--ac-desc): New structs, used to describe the
7944 format in external files.
7945 (package-desc-vers): Replace with package-desc-version accessor.
7946 (package-desc-doc): Replace with package-desc-summary accessor.
7947 (package-activate-1): Remove `package' arg since the pkg-vec now
7948 includes the name.
7949 (define-package): Use package-desc-from-define.
7950 (package-unpack-single): Change file-name arg to be a symbol.
7951 (package--add-to-archive-contents): Use package-desc-create and new
7952 accessor functions to package--ac-desc.
7953 (package-buffer-info, package-tar-file-info): Return a package-desc.
7954 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7955 arg to be a package-desc.
7956 (package-install-file): Adjust accordingly. Use \' to match EOS.
7957 (package--from-builtin): New function.
7958 (describe-package-1, package-menu--generate): Use it.
7959 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7960 (package-generate-autoloads): Idem and return the name of the file.
7961 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7962 Change pkg-info arg to be a package-desc.
7963 Use package-make-ac-desc.
7964 (package-upload-file): Use \' to match EOS.
7965 * finder.el (finder-compile-keywords): Use package-make-builtin.
7966
7967 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7968
7969 * vc/vc.el (vc-deduce-fileset): Change error message.
7970 (vc-read-backend): New function.
7971 (vc-next-action): Use it.
7972
7973 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7974
7975 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7976 (prolog-font-lock-keywords): Use regexp-opt instead.
7977 Don't manually highlight strings.
7978 (prolog-mode-variables): Simplify comment-start-skip.
7979 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7980
7981 * emacs-lisp/generic.el (generic--normalise-comments)
7982 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7983 (generic-mode-set-comments): Use them.
7984 (generic-bracket-support): Use setq-local.
7985 (generic-make-keywords-list): Declare obsolete.
7986
7987 2013-06-11 Glenn Morris <rgm@gnu.org>
7988
7989 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7990 Prettify after setting font-lock-defaults. (Bug#14574)
7991
7992 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7993
7994 * replace.el (query-replace, occur-read-regexp-defaults-function)
7995 (replace-search):
7996 * subr.el (declare-function, number-sequence, local-set-key)
7997 (substitute-key-definition, locate-user-emacs-file)
7998 (with-silent-modifications, split-string, eval-after-load):
7999 Fix typos, remove unneeded backslashes and reflow some docstrings.
8000
8001 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8002
8003 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8004 default for Elisp files.
8005
8006 2013-06-11 Glenn Morris <rgm@gnu.org>
8007
8008 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8009 although define-derived-mode was doing this anyway. (Bug#14583)
8010
8011 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8012
8013 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8014 Fix make-variable-buffer-local call to refer to the correct variable.
8015
8016 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8017
8018 * eshell/em-term.el (eshell-visual-commands)
8019 (eshell-visual-subcommands, eshell-visual-options):
8020 Add summary line to docstrings. Add cross-references.
8021
8022 2013-06-10 Glenn Morris <rgm@gnu.org>
8023
8024 * epa.el (epa-read-file-name): New function. (Bug#14510)
8025 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8026
8027 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8028
8029 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8030 output redirection to be ignored with visual commands.
8031
8032 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8033
8034 * eshell/em-term.el (eshell-visual-command-p): New function.
8035 (eshell-term-initialize): Move long lambda to separate function
8036 eshell-visual-command-p.
8037 * eshell/em-dirs.el (eshell-dirs-initialise):
8038 * eshell/em-script.el (eshell-script-initialize):
8039 Add missing #' to lambda.
8040
8041 2013-06-08 Leo Liu <sdl.web@gmail.com>
8042
8043 * progmodes/octave.el (octave-add-log-current-defun): New function.
8044 (octave-mode): Set add-log-current-defun-function.
8045 (octave-goto-function-definition): Do not move point if not found.
8046 (octave-find-definition): Enhance to try subfunctions first.
8047
8048 2013-06-08 Glenn Morris <rgm@gnu.org>
8049
8050 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8051 (byte-compile-backward-char, byte-compile-backward-word):
8052 Improve previous change, to handle non-explicit nil.
8053
8054 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8055
8056 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8057 (smie--opener/closer-at-point): New function.
8058 (smie--matching-block-data): Use it. Don't match from right after an
8059 opener or right before a closer. Obey smie-blink-matching-inners.
8060 Don't signal a mismatch for repeated inners like "switch..case..case".
8061
8062 2013-06-07 Leo Liu <sdl.web@gmail.com>
8063
8064 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8065 to t. (Bug#14303)
8066 (octave-function-header-regexp): Fix. (Bug#14570)
8067 (octave-help-mode-finish-hook, octave-help-mode-finish):
8068 Remove. Just use temp-buffer-show-hook.
8069
8070 * newcomment.el (comment-search-backward): Revert last change.
8071 (Bug#14434)
8072
8073 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8074
8075 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8076
8077 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8078 through xargs, to avoid failure due to MS-Windows limitations on
8079 command-line length.
8080
8081 2013-06-06 Glenn Morris <rgm@gnu.org>
8082
8083 * font-lock.el (lisp-font-lock-keywords-2):
8084 Treat user-error like error.
8085
8086 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8087 (byte-compile-backward-char, byte-compile-backward-word):
8088 Handle explicit nil arguments. (Bug#14565)
8089
8090 2013-06-05 Alan Mackenzie <acm@muc.de>
8091
8092 * isearch.el (isearch-allow-prefix): New user option.
8093 (isearch-other-meta-char): Don't exit isearch when a prefix
8094 argument is typed whilst `isearch-allow-prefix' is non-nil.
8095 (Bug#9706)
8096
8097 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8098
8099 * autorevert.el (auto-revert-notify-handler): Use memq.
8100 Hide assertion failure.
8101
8102 * skeleton.el: Use cl-lib.
8103 (skeleton-further-elements): Use defvar-local.
8104 (skeleton-insert): Use cl-progv.
8105
8106 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8107
8108 * progmodes/prog-mode.el (prog-prettify-symbols)
8109 (prog-prettify-install): Update docstrings.
8110
8111 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8112
8113 * simple.el: Move all the prog-mode code to prog-mode.el.
8114 * progmodes/prog-mode.el: New file.
8115 * loadup.el: Add prog-mode.el.
8116
8117 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8118
8119 * simple.el (prog-prettify-symbols): Add version.
8120 (prog-prettify-install): Add convenience function to prettify symbols.
8121
8122 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8123 (perl--augmented-font-lock-keywords-1)
8124 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8125 variables and use it.
8126
8127 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8128 (cfengine3-mode): Remove unneeded variable and use it.
8129
8130 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8131 (lisp--augmented-font-lock-keywords-1)
8132 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8133 Remove unneeded variables and use it.
8134
8135 2013-06-05 João Távora <joaotavora@gmail.com>
8136
8137 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8138 to point when opening the connection. (Bug#14380)
8139
8140 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8141
8142 * subr.el (load-history-regexp, load-history-filename-element)
8143 (eval-after-load, after-load-functions, do-after-load-evaluation)
8144 (eval-next-after-load, display-delayed-warnings)
8145 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8146 definition of save-match-data.
8147 (overriding-local-map): Remove accidental obsolescence declaration.
8148
8149 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8150
8151 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8152
8153 Generalize symbol prettify support to prog-mode and implement it
8154 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8155 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8156 (prog--prettify-font-lock-compose-symbol)
8157 (prog-prettify-font-lock-symbols-keywords): New variables and
8158 functions to support symbol prettification.
8159 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8160 (lisp--augmented-font-lock-keywords-1)
8161 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8162 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8163 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8164 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8165 Implement prettify of -> => :: strings.
8166 * progmodes/perl-mode.el (perl-prettify-symbols)
8167 (perl--font-lock-compose-symbol)
8168 (perl--font-lock-symbols-keywords): Move to prog-mode.
8169 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8170 (perl-font-lock-keywords-1)
8171 (perl-font-lock-keywords-2): Remove explicit prettify support.
8172 (perl--augmented-font-lock-keywords)
8173 (perl--augmented-font-lock-keywords-1)
8174 (perl--augmented-font-lock-keywords-2, perl-mode):
8175 Implement prettify support.
8176
8177 2013-06-05 Leo Liu <sdl.web@gmail.com>
8178
8179 Re-implement smie matching block highlight using
8180 show-paren-data-function. (Bug#14395)
8181 * emacs-lisp/smie.el (smie-matching-block-highlight)
8182 (smie--highlight-matching-block-overlay)
8183 (smie--highlight-matching-block-lastpos)
8184 (smie-highlight-matching-block)
8185 (smie-highlight-matching-block-mode): Remove.
8186 (smie--matching-block-data-cache): New variable.
8187 (smie--matching-block-data): New function.
8188 (smie-setup): Use smie--matching-block-data for
8189 show-paren-data-function.
8190
8191 * progmodes/octave.el (octave-mode-menu): Fix.
8192 (octave-find-definition): Skip garbage lines.
8193
8194 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8195
8196 Fix compilation error with simultaneous dynamic+lexical scoping.
8197 Add warning when a defvar appears after the first let-binding.
8198 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8199 (byte-compile-close-variables): Initialize it.
8200 (byte-compile--declare-var): New function.
8201 (byte-compile-file-form-defvar)
8202 (byte-compile-file-form-define-abbrev-table)
8203 (byte-compile-file-form-custom-declare-variable): Use it.
8204 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8205 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8206 (byte-compile-bind): Handle dynamic bindings that shadow
8207 lexical bindings.
8208 (byte-compile-unbind): Make arg non-optional.
8209 (byte-compile-let): Simplify.
8210 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8211 (cconv--analyse-function, cconv-analyse-form): Populate it.
8212 Protect byte-compile-bound-variables to limit the scope of defvars.
8213 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8214 Remove unneeded rule for `declare'.
8215
8216 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8217 so as to avoid depending on cl-adjoin at run-time.
8218 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8219
8220 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8221 (macroexp--warn-and-return): Use it.
8222
8223 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8224
8225 * lisp/subr.el: Convert to lexical binding.
8226 (overriding-local-map): Make obsolete.
8227 (add-to-list): Doc fix. Add compiler macro.
8228 (read-key): Swap values of local maps.
8229
8230 2013-06-05 Leo Liu <sdl.web@gmail.com>
8231
8232 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8233
8234 2013-06-04 Leo Liu <sdl.web@gmail.com>
8235
8236 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8237 (compilation-auto-jump): Suppress the "Mark set" message to give
8238 way to exit message.
8239
8240 2013-06-04 Alan Mackenzie <acm@muc.de>
8241
8242 Remove faulty optimisation from indentation calculation.
8243 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8244 search limit based on 2000 characters back from indent-point.
8245
8246 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8247
8248 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8249
8250 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8251
8252 * emacs-lisp/lisp.el: Use lexical-binding.
8253 (lisp--local-variables-1, lisp--local-variables): New functions.
8254 (lisp--local-variables-completion-table): New var.
8255 (lisp-completion-at-point): Use it complete let-bound vars.
8256
8257 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8258 eagerly (bug#14422).
8259
8260 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8261
8262 * autorevert.el (auto-revert-notify-enabled)
8263 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8264 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8265 (auto-revert-notify-handler): Handle also gfilenotify.
8266
8267 * subr.el (file-notify-handle-event): New defun. Replacing ...
8268 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8269 Remove.
8270
8271 2013-06-03 Juri Linkov <juri@jurta.org>
8272
8273 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8274 `M-s h .'. (Bug#14427)
8275
8276 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8277 command `hi-lock-face-symbol-at-point'.
8278 (hi-lock-face-symbol-at-point): New command.
8279 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8280 (hi-lock-menu): Add `highlight-symbol-at-point'.
8281 (hi-lock-mode): Doc fix.
8282
8283 * isearch.el (isearch-forward-symbol-at-point): New command.
8284 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8285 (isearch-highlight-regexp): Add a regexp which matches
8286 words/symbols for word/symbol mode.
8287
8288 * subr.el (find-tag-default-bounds): New function with the body
8289 mostly moved from `find-tag-default'.
8290 (find-tag-default): Move most code to `find-tag-default-bounds',
8291 call it and apply `buffer-substring-no-properties' afterwards.
8292
8293 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8294
8295 * eshell/em-term.el (eshell-term-initialize):
8296 Use `cl-intersection' rather than `intersection'.
8297
8298 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8299
8300 * vc/log-view.el: Doc fix.
8301 (log-view-mode-map): Copy keymap from `special-mode-map'.
8302
8303 2013-06-02 Eric Ludlam <zappo@gnu.org>
8304
8305 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8306 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8307 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8308 (eieio-unbound, eieio-default-superclass)
8309 (eieio--define-field-accessors, method-static, method-before)
8310 (method-primary, method-after, method-num-lists)
8311 (method-generic-before, method-generic-primary)
8312 (method-generic-after, method-num-slots)
8313 (eieio-specialized-key-to-generic-key)
8314 (eieio--check-type, class-v, class-p)
8315 (eieio-class-name, define-obsolete-function-alias)
8316 (eieio-class-parents-fast, eieio-class-children-fast)
8317 (same-class-fast-p, class-constructor, generic-p)
8318 (generic-primary-only-p, generic-primary-only-one-p)
8319 (class-option-assoc, class-option, eieio-object-p)
8320 (class-abstract-p, class-method-invocation-order)
8321 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8322 (eieio-class-un-autoload, eieio-defclass)
8323 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8324 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8325 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8326 (eieio-defgeneric-reset-generic-form)
8327 (eieio-defgeneric-form-primary-only)
8328 (eieio-defgeneric-reset-generic-form-primary-only)
8329 (eieio-defgeneric-form-primary-only-one)
8330 (eieio-defgeneric-reset-generic-form-primary-only-one)
8331 (eieio-unbind-method-implementations)
8332 (eieio--defmethod, eieio--typep)
8333 (eieio-perform-slot-validation, eieio-validate-slot-value)
8334 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8335 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8336 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8337 (eieio-slot-name-index, eieio-class-slot-name-index)
8338 (eieio-set-defaults, eieio-initarg-to-attribute)
8339 (eieio-attribute-to-initarg, eieio-c3-candidate)
8340 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8341 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8342 (eieio-class-precedence-list, eieio-generic-call-methodname)
8343 (eieio-generic-call-arglst, eieio-generic-call-key)
8344 (eieio-generic-call-next-method-list)
8345 (eieio-pre-method-execution-functions, eieio-generic-call)
8346 (eieio-generic-call-primary-only, eieiomt-method-list)
8347 (eieiomt-optimizing-obarray, eieiomt-install)
8348 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8349 (eieio-generic-form, eieio-defmethod, make-obsolete)
8350 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8351 (defclass): Remove `eval-and-compile' from macro.
8352 (call-next-method, shared-initialize): Instead of using
8353 `scoped-class' variable, use new eieio--scoped-class, and
8354 eieio--with-scoped-class.
8355 (initialize-instance): Rename local variable 'scoped-class' to
8356 'this-class' to remove ambiguitity from old global.
8357
8358 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8359 eieio.el.
8360 (eieio--scoped-class-stack): New variable.
8361 (eieio--scoped-class): New fcn.
8362 (eieio--with-scoped-class): New scoping macro.
8363 (eieio-defclass): Use pushnew instead of add-to-list.
8364 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8365 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8366 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8367 `scoped-class' variable, use new eieio--scoped-class, and
8368 eieio--with-scoped-class.
8369
8370 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8371
8372 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8373
8374 * eshell/esh-ext.el (eshell-external-command): Pass args to
8375 `eshell-find-interpreter'.
8376 (eshell-find-interpreter): Add new second parameter ARGS.
8377
8378 * eshell/em-script.el (eshell-script-initialize): Add second arg
8379 to the function added as MATCH to `eshell-interpreter-alist'.
8380
8381 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8382 the function added as MATCH to `eshell-interpreter-alist'.
8383
8384 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8385 (eshell-visual-options): New defcustom.
8386 (eshell-escape-control-x): Adapt docstring.
8387 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8388 `eshell-visual-options' in addition to `eshell-visual-commands'.
8389 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8390
8391 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8392
8393 * progmodes/python.el (python-indent-block-enders): Add break,
8394 continue and raise keywords.
8395
8396 2013-06-01 Glenn Morris <rgm@gnu.org>
8397
8398 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8399
8400 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8401 * progmodes/cc-cmds.el (delete-forward-p):
8402 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8403 * progmodes/cc-engine.el (buffer-syntactic-context):
8404 * progmodes/cc-fonts.el (face-property-instance):
8405 * progmodes/cc-mode.el (set-keymap-parents):
8406 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8407 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8408 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8409 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8410 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8411
8412 * progmodes/cc-vars.el (other): Emacs has this widget since
8413 at least 21.1, so don't (re)define it.
8414
8415 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8416 Replace the obsolete alias pcomplete-arg-quote-list.
8417
8418 2013-06-01 Leo Liu <sdl.web@gmail.com>
8419
8420 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8421 punctuation syntax.
8422 (inferior-octave-minimal-columns)
8423 (inferior-octave-last-column-width): New variables.
8424 (inferior-octave-track-window-width-change): New function.
8425 (inferior-octave-mode): Adjust column width so that Octave output,
8426 for example from 'ls', can fit into the window nicely.
8427
8428 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8429
8430 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8431 Highlight expansions inside regexp literals.
8432
8433 2013-05-31 Glenn Morris <rgm@gnu.org>
8434
8435 * obsolete/sym-comp.el (symbol-complete):
8436 Replace obsolete completion-annotate-function.
8437
8438 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8439
8440 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8441
8442 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8443 New function, checks if point is inside a literal that allows
8444 expression expansion.
8445 (ruby-syntax-propertize-expansion): Use it.
8446 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8447 around the body.
8448
8449 2013-05-30 Juri Linkov <juri@jurta.org>
8450
8451 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8452 to "\M-si".
8453 (isearch-invisible): New variable.
8454 (isearch-forward): Doc fix.
8455 (isearch-mode): Set `isearch-invisible'
8456 to the value of `search-invisible'.
8457 (isearch-toggle-case-fold): Doc fix.
8458 (isearch-toggle-invisible): New command.
8459 (isearch-query-replace): Let-bind `search-invisible'
8460 to the value of `isearch-invisible'.
8461 (isearch-search): Use `isearch-invisible' instead of
8462 `search-invisible'. Let-bind `search-invisible'
8463 to the value of `isearch-invisible'. (Bug#11378)
8464
8465 2013-05-30 Juri Linkov <juri@jurta.org>
8466
8467 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8468 call when `query-flag' is nil and `search-invisible' is non-nil.
8469 (Bug#11746)
8470
8471 2013-05-30 Glenn Morris <rgm@gnu.org>
8472
8473 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8474
8475 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8476 (cc-require): Suppress spurious "noruntime" warnings.
8477 (cc-require-when-compile): Use fboundp, for sake of compiler.
8478
8479 * progmodes/cc-mode.el: Move load of cc-vars before that of
8480 cc-langs (which in turn loads cc-vars), to quieten compiler.
8481
8482 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8483
8484 * paren.el: Simplify the code.
8485 (show-paren-mode): Always start the timer.
8486 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8487 (show-paren--overlay, show-paren--overlay-1): Rename from
8488 show-paren-overlay and show-paren-overlay-1, and initialize to an
8489 overlay rather than to nil.
8490 (show-paren-function): Misc cleanup and simplifications.
8491
8492 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8493
8494 * paren.el (show-paren-data-function): New hook.
8495 (show-paren--default): New function, extracted from show-paren-function.
8496 (show-paren-function): Use show-paren-data-function.
8497
8498 2013-05-30 Glenn Morris <rgm@gnu.org>
8499
8500 * ielm.el (ielm-map, ielm-complete-symbol):
8501 Use completion-at-point rather than obsolete functions.
8502 (inferior-emacs-lisp-mode): Doc fix.
8503 Set completion-at-point-functions, rather than
8504 comint-dynamic-complete-functions.
8505
8506 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8507 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8508 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8509
8510 * image.el (image-animated-p): Tweak definition.
8511
8512 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8513 (rlogin-process-connection-type): Tweak default. Add set-after.
8514 (rlogin-host): Doc fix.
8515 (rlogin): Tweak prompt.
8516 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8517
8518 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8519 * progmodes/tcl.el (inferior-tcl-mode-map):
8520 Use completion-at-point rather than obsolete alias.
8521
8522 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8523
8524 * minibuffer.el (read-file-name-completion-ignore-case):
8525 Move before completion--in-region, for eager macro expansion.
8526
8527 2013-05-29 Juri Linkov <juri@jurta.org>
8528
8529 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8530 for total count of matching lines. Add `global-matches' for total
8531 count of matches. Rename `matches' to `lines' for count of
8532 matching lines. Add `matches' for count of matches.
8533 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8534 to `prev-line' for line number of prev match endpt.
8535 Increment `matches' for every match. Print the number of
8536 matching lines in the header.
8537 (occur-context-lines): Rename `lines' to `curr-line'.
8538 Rename `prev-lines' to `prev-line'. (Bug#14017)
8539
8540 2013-05-29 Juri Linkov <juri@jurta.org>
8541
8542 * replace.el (perform-replace): Add `skip-read-only-count',
8543 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8544 Increment them for corresponding conditions and report the number
8545 of skipped occurrences in the final message. (Bug#11746)
8546 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8547 (replace-string, replace-regexp): Doc fix.
8548
8549 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8550
8551 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8552
8553 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8554 prog-mode-map (bug#14504).
8555
8556 2013-05-29 Leo Liu <sdl.web@gmail.com>
8557
8558 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8559 (octave-help): Small simplification.
8560
8561 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8562 off the highlight first.
8563
8564 2013-05-29 Glenn Morris <rgm@gnu.org>
8565
8566 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8567 Handle idlwave-last-system-routine-info-cons-cell being nil.
8568
8569 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8570 (idlwave-write-paths): Simplify via with-temp-buffer.
8571
8572 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8573 * emulation/cua-rect.el: Also load cua-base at run time.
8574
8575 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8576 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8577 (cperl-imenu-on-info): Require imenu.
8578
8579 2013-05-28 Alan Mackenzie <acm@muc.de>
8580
8581 Handle "capitalised keywords" correctly.
8582 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8583
8584 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8585
8586 * eshell/em-unix.el: Add -r option to cp.
8587
8588 2013-05-28 Glenn Morris <rgm@gnu.org>
8589
8590 * vc/vc-arch.el (vc-exec-after): Declare.
8591 (vc-switches): Autoload.
8592 * vc/vc-bzr.el: No need to require vc when compiling.
8593 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8594 (vc-resynch-buffer, vc-dir-refresh): Declare.
8595 (vc-setup-buffer, vc-switches): Autoload.
8596 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8597 (vc-resynch-buffer): Declare.
8598 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8599 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8600 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8601 (grep-read-regexp, grep-read-files, grep-expand-template)
8602 (vc-dir-refresh): Declare.
8603 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8604 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8605 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8606 * vc/vc-mtn.el (vc-exec-after): Declare.
8607 (vc-switches): Autoload.
8608 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8609 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8610 (vc-file-tree-walk): Declare.
8611 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8612 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8613 (vc-tag-precondition, vc-rename-master): Autoload.
8614 * vc/vc-svn.el (vc-exec-after): Declare.
8615 (vc-switches, vc-setup-buffer): Autoload.
8616 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8617 Autoload.
8618 (vc-resynch-buffer): Declare.
8619
8620 * obsolete/fast-lock.el (byte-compile-warnings):
8621 Don't warn about obsolete features in this obsolete file.
8622
8623 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8624 Move definition before use.
8625
8626 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8627 (dun-unix-verbs): Remove dun-zippy.
8628 (dun-zippy): Remove function.
8629
8630 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8631
8632 2013-05-27 Juri Linkov <juri@jurta.org>
8633
8634 * replace.el (replace-search): New function with code moved out
8635 from `perform-replace'.
8636 (replace-highlight, replace-dehighlight): Move function definitions
8637 up closer to `replace-search'. (Bug#11746)
8638
8639 2013-05-27 Juri Linkov <juri@jurta.org>
8640
8641 * replace.el (perform-replace): Ignore invisible matches.
8642 In addition to checking `query-replace-skip-read-only', also
8643 filter out matches by calling `run-hook-with-args-until-failure'
8644 on `isearch-filter-predicates', and also check `search-invisible'
8645 for t or call `isearch-range-invisible'.
8646 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8647
8648 2013-05-27 Juri Linkov <juri@jurta.org>
8649
8650 * isearch.el (isearch-filter-predicates): Rename from
8651 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8652 (isearch-message-prefix): Display text from the property
8653 `isearch-message-prefix' of the currently active filters.
8654 (isearch-search): Don't compare `isearch-filter-predicate' with
8655 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8656 on `isearch-filter-predicates'. Also check `search-invisible' for t
8657 or call `isearch-range-invisible'.
8658 (isearch-filter-visible): Make obsolete.
8659 (isearch-lazy-highlight-search):
8660 Call `run-hook-with-args-until-failure' on
8661 `isearch-filter-predicates' and use `isearch-range-invisible'.
8662
8663 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8664 `isearch-filter-predicates' instead of `funcall'ing
8665 `isearch-filter-predicate'.
8666 (Info-mode): Set `Info-isearch-filter' to
8667 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8668
8669 * dired-aux.el (dired-isearch-filter-predicate-orig):
8670 Remove variable.
8671 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8672 (dired-isearch-filenames-end): Add and remove
8673 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8674 instead of changing the value of `isearch-filter-predicate'.
8675 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8676 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8677 Put property `isearch-message-prefix' to "filename " on
8678 `dired-isearch-filter-filenames'.
8679
8680 * wdired.el (wdired-change-to-wdired-mode):
8681 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8682 locally instead of changing `isearch-filter-predicate'.
8683 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8684
8685 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8686
8687 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8688 return the commit hash (Bug#14459). Also set the
8689 `vc-git-detached' property.
8690 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8691 (vc-git-mode-line-string): Use the same help-echo format whether
8692 in detached mode or not, because we know the actual revision now.
8693 When in detached mode, shorten the revision to 7 chars.
8694
8695 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8696
8697 * emacs-lisp/easy-mmode.el (define-minor-mode):
8698 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8699 mode hook and provide a docstring.
8700
8701 2013-05-27 Alan Mackenzie <acm@muc.de>
8702
8703 Remove spurious syntax-table text properties inserted by C-y.
8704 * progmodes/cc-mode.el (c-after-change): Also clear hard
8705 syntax-table property with value nil.
8706
8707 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8708
8709 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8710 when reading the events; the buffer layout shall not be changed.
8711
8712 2013-05-27 Leo Liu <sdl.web@gmail.com>
8713
8714 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8715 New variable.
8716 (inferior-octave-directory-tracker): Automatically re-sync
8717 default-directory.
8718 (octave-help): Improve handling of 'See also'.
8719
8720 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8721
8722 * doc-view.el: Minor naming convention tweaks.
8723 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8724
8725 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8726 even if there's no `display' property yet (bug#14435).
8727
8728 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8729
8730 * subr.el (unmsys--file-name): Rename from reveal-filename.
8731
8732 * Makefile.in (custom-deps, finder-data, autoloads)
8733 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8734 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8735 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8736
8737 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8738
8739 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8740 error-completion on the first 2 args of condition-case (bug#14446).
8741 Don't burp at EOB.
8742
8743 2013-05-25 Leo Liu <sdl.web@gmail.com>
8744
8745 * comint.el (comint-previous-matching-input): Do not flood the
8746 *Messages* buffer with trivial messages.
8747
8748 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8749
8750 * progmodes/flymake.el (flymake-nop): Don't return a string.
8751 (flymake-set-at): Fix typo.
8752
8753 * simple.el (read--expression): New function, extracted from
8754 eval-expression. Set completion-at-point-functions (bug#14465).
8755 (eval-expression, eval-minibuffer): Use it.
8756
8757 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8758
8759 * progmodes/flymake.el (flymake-save-buffer-in-file)
8760 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8761 (flymake-selected-frame, flymake-log, flymake-ins-after)
8762 (flymake-set-at, flymake-get-buildfile-from-cache)
8763 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8764 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8765 Refine the doc string.
8766 (flymake-get-file-name-mode-and-masks): Reformat.
8767 (flymake-get-real-file-name-function): Fix a minor bug.
8768
8769 2013-05-24 Juri Linkov <juri@jurta.org>
8770
8771 * progmodes/grep.el (grep-mode-font-lock-keywords):
8772 Support =linenumber= format used by git-grep for lines with
8773 function names. (Bug#13549)
8774
8775 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8776
8777 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8778 0 after a semi-colon; it works better for smie-auto-fill.
8779 (octave--indent-new-comment-line): New function.
8780 (octave-indent-new-comment-line): Use it (indirectly).
8781 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8782 modify comment-line-break-function.
8783
8784 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8785 (smie-setup): Use add-function to set it.
8786
8787 2013-05-24 Sam Steingold <sds@gnu.org>
8788
8789 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8790 argument (before the `interactive' argument).
8791
8792 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8793
8794 * image-mode.el (image-mode-winprops): Add winprops to
8795 image-mode-winprops-alist before running
8796 image-mode-new-window-functions.
8797 * doc-view.el (doc-view-new-window-function): Don't delay
8798 doc-view-goto-page via timers (bug#14435).
8799
8800 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8801
8802 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8803 (doc-view-desktop-save-buffer): New function.
8804 (doc-view-restore-desktop-buffer): New function.
8805 (desktop-buffer-mode-handlers):
8806 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8807 handler.
8808 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8809 `desktop-save-buffer' function.
8810
8811 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8812
8813 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8814 (tramp-gvfs-file-name-handler): Raise a user error when
8815 `tramp-gvfs-enabled' is nil.
8816 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8817 Do not raise a user error when loading package. (Bug#14447)
8818
8819 * net/xesam.el: Move to obsolete/.
8820
8821 2013-05-24 Glenn Morris <rgm@gnu.org>
8822
8823 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8824
8825 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8826
8827 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8828 (Info-find-node, Man-getpage-in-background): Declare.
8829
8830 * mail/unrmail.el (unrmail):
8831 Replace obsolete detect-coding-with-priority.
8832
8833 * net/socks.el (socks-split-string): Use this rather than split-string.
8834 (socks-nslookup-host): Update for above change.
8835 (dynamic-choice, s5-dynamic-choice-match)
8836 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8837 Comment out unused code.
8838
8839 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8840 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8841 (gud-tooltip-echo-area): Make obsolete.
8842 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8843
8844 * progmodes/js.el (js--optimize-arglist): Declare.
8845
8846 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8847
8848 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8849 (ediff-window-C): Declare.
8850
8851 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8852 Tweak requires to silence compiler.
8853
8854 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8855 (he-search-string, he-tried-table, he-expand-list)
8856 (he-init-string, he-string-member, he-substitute-string)
8857 (he-reset-string): Declare.
8858
8859 * obsolete/options.el (list-options): Use custom-variable-p,
8860 rather than obsolete alias.
8861
8862 2013-05-23 Sam Steingold <sds@gnu.org>
8863
8864 * simple.el (shell-command-on-region): Pass the `replace' argument
8865 down to `call-process-region' to comply with the doc as reported on
8866 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8867
8868 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8869
8870 * emacs-lisp/smie.el (smie-indent-forward-token)
8871 (smie-indent-backward-token): Handle string tokens (bug#14381).
8872
8873 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8874
8875 * ielm.el (ielm-menu): New menu.
8876 (inferior-emacs-lisp-mode): Set comment-start.
8877
8878 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8879
8880 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8881 Fix deactivate action.
8882
8883 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8884 Add cleveref macros.
8885
8886 * lisp/textmodes/reftex-parse.el
8887 (reftex-locate-bibliography-files): Accept options for
8888 bibliography commands.
8889 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8890 Add addbibresource. Basic Biblatex support.
8891
8892 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8893
8894 * net/tramp-gvfs.el (top):
8895 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8896 when loading package. (Bug#14447)
8897
8898 2013-05-23 Glenn Morris <rgm@gnu.org>
8899
8900 * progmodes/js.el: No need to load comint when compiling.
8901 (ring-insert, comint-send-string, comint-send-input)
8902 (comint-last-input-end, ido-chop): Declare.
8903
8904 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8905 * vc/ediff-mult.el: Adjust requires.
8906 (ediff-directories-internal, ediff-directory-revisions-internal)
8907 (ediff-patch-file-internal): Declare.
8908 * vc/ediff-ptch.el: Adjust requires.
8909 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8910 (ediff-find-file): Autoload.
8911 * vc/ediff-util.el: No need to load ediff when compiling.
8912 (ediff-regions-internal): Declare.
8913 * vc/ediff-wind.el: Adjust requires.
8914 (ediff-compute-toolbar-width): Define when compiling.
8915 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8916 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8917 (dired-get-filename, dired-get-marked-files)
8918 (ediff-last-dir-patch, ediff-patch-default-directory)
8919 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8920 (ediff-patch-buffer-internal): Declare.
8921
8922 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8923 (ispell-process, ispell-buffer-local-words, lm-summary)
8924 (lm-section-start, lm-section-end): Declare.
8925 (checkdoc-ispell-init): Simplify.
8926
8927 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8928 (he-string-member, he-reset-string, he-substitute-string): Declare.
8929
8930 * eshell/em-ls.el: Adjust requires.
8931 (eshell-glob-regexp): Declare.
8932 * eshell/em-tramp.el: Adjust requires.
8933 (eshell-parse-command): Autoload.
8934 * eshell/em-xtra.el: Adjust requires.
8935 (eshell-parse-command): Autoload.
8936 * eshell/esh-ext.el: Adjust requires.
8937 (eshell-parse-command, eshell-close-handles): Autoload.
8938 * eshell/esh-io.el: Adjust requires.
8939 (eshell-output-filter): Autoload.
8940 * eshell/esh-util.el: No need to load tramp when compiling.
8941 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8942 Declare.
8943 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8944 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8945 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8946 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8947 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8948 * eshell/esh-opt.el, eshell/esh-proc.el:
8949 * eshell/esh-var.el: Adjust requires.
8950 * eshell/eshell.el: Do not require esh-util twice.
8951 (eshell-add-input-to-history): Declare.
8952 (eshell-command): Check history module is active before using it.
8953
8954 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8955
8956 2013-05-22 Leo Liu <sdl.web@gmail.com>
8957
8958 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8959
8960 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8961
8962 * autorevert.el (auto-revert-notify-add-watch)
8963 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8964 it indicates changes in file modification time.
8965
8966 2013-05-22 Glenn Morris <rgm@gnu.org>
8967
8968 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8969 Always delete the autoloaded function from the noruntime and
8970 unresolved functions lists.
8971
8972 * allout.el: No need to load epa, epg, overlay when compiling.
8973 (epg-context-set-passphrase-callback, epg-list-keys)
8974 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8975 (epg-key-user-id-list): Declare.
8976
8977 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8978 (viper-set-parsing-style-toggling-macro)
8979 (viper-set-emacs-state-searchstyle-macros):
8980 Use called-interactively-p on Emacs.
8981 (viper-looking-back): Make it an obsolete alias. Update callers.
8982 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8983 Use looking-back rather than viper-looking-back.
8984 (viper-tmp-insert-at-eob, viper-enlarge-region)
8985 (viper-read-string-with-history, viper-register-to-point)
8986 (viper-append-to-register, viper-change-state-to-vi)
8987 (viper-backward-char-carefully, viper-forward-char-carefully)
8988 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8989 (viper-change-state-to-emacs): Declare.
8990 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8991 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8992 * emulation/viper-mous.el: Do not load viper-cmd.
8993 (viper-backward-char-carefully, viper-forward-char-carefully)
8994 (viper-forward-word, viper-adjust-window): Declare.
8995
8996 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8997
8998 * progmodes/idlw-help.el (idlwave-help-fontify):
8999 Use called-interactively-p.
9000
9001 * term/w32console.el (w32-get-console-codepage)
9002 (w32-get-console-output-codepage): Declare.
9003
9004 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9005 Remove unnecessary declarations.
9006 (dframe-message): Doc fix.
9007
9008 * info.el (dframe-select-attached-frame, dframe-current-frame):
9009 Declare.
9010
9011 * speedbar.el (speedbar-message): Make it an obsolete alias.
9012 Update all callers.
9013 (speedbar-with-attached-buffer)
9014 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9015 (speedbar-with-writable): Use backquote.
9016 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9017 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9018 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9019 rather than speedbar- aliases.
9020 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9021 (speedbar-make-specialized-keymap, speedbar-insert-button)
9022 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9023 (speedbar-do-function-pointer): Declare.
9024 (rmail-speedbar-button, rmail-speedbar-find-file)
9025 (rmail-speedbar-move-message):
9026 Use dframe-with-attached-buffer rather than speedbar- alias.
9027 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9028 (dframe-message, speedbar-make-specialized-keymap)
9029 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9030 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9031 (speedbar-insert-button, dframe-select-attached-frame)
9032 (dframe-maybee-jump-to-attached-frame)
9033 (speedbar-change-initial-expansion-list)
9034 (speedbar-previously-used-expansion-list-name): Declare.
9035 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9036 Use dframe-message, dframe-with-attached-buffer rather than
9037 speedbar- aliases.
9038 (gud-sentinel): Silence compiler.
9039 * progmodes/vhdl-mode.el (speedbar-refresh)
9040 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9041 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9042 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9043 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9044 (speedbar-file-lists, speedbar-make-tag-line)
9045 (speedbar-line-directory, speedbar-goto-this-file)
9046 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9047 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9048 (speedbar-make-button, speedbar-reset-scanners)
9049 (speedbar-files-item-info, speedbar-line-text)
9050 (speedbar-find-file-in-frame, speedbar-set-timer)
9051 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9052 (speedbar-with-writable): Do not (re)define it.
9053 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9054 rather than speedbar- alias.
9055
9056 2013-05-21 Leo Liu <sdl.web@gmail.com>
9057
9058 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9059 menu items.
9060 (octave-mode): Tweak fill-nobreak-predicate.
9061 (inferior-octave-startup): Check process to avoid infinite loop.
9062 (inferior-octave): Pop to buffer first to show abornmal process
9063 exit information.
9064
9065 2013-05-21 Glenn Morris <rgm@gnu.org>
9066
9067 * printing.el (pr-menu-bar): Define when compiling.
9068
9069 2013-05-21 Leo Liu <sdl.web@gmail.com>
9070
9071 * progmodes/octave.el (octave-auto-fill): Remove.
9072 (octave-indent-new-comment-line): Improve.
9073 (octave-mode): Use auto fill mode through
9074 comment-line-break-function and fill-nobreak-predicate.
9075 (octave-goto-function-definition): Support DEFUN_DLD.
9076 (octave-beginning-of-defun): Small tweak.
9077 (octave-help): Show parent directory.
9078
9079 2013-05-21 Glenn Morris <rgm@gnu.org>
9080
9081 * files.el (dired-unmark):
9082 * progmodes/gud.el (gdb-input): Update declarations.
9083
9084 * calculator.el (electric, ehelp): No need to load when compiling.
9085 (Electric-command-loop, electric-describe-mode): Declare.
9086
9087 * doc-view.el (doc-view-current-converter-processes): Move before use.
9088
9089 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9090 Move MODE-set-explicitly definition before use.
9091
9092 * international/mule-diag.el (mule-diag):
9093 Don't use obsolete window-system-version.
9094
9095 * mail/feedmail.el (smtpmail): No need to load when compiling.
9096 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9097
9098 * mail/mail-utils.el (rfc822): No need to load when compiling.
9099 (rfc822-addresses): Autoload it.
9100 (mail-strip-quoted-names): Trivial simplification.
9101
9102 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9103 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9104
9105 * net/snmp-mode.el (tempo): Don't duplicate requires.
9106
9107 * progmodes/prolog.el (info): No need to load when compiling.
9108 (comint): Require before shell requires it.
9109 (Info-goto-node): Autoload it.
9110 (Info-follow-nearest-node): Declare.
9111 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9112
9113 * textmodes/artist.el (picture-mode-exit): Declare.
9114
9115 * textmodes/reftex-parse.el (reftex-parse-from-file):
9116 Trivial rewrite so the compiler can parse it better.
9117
9118 2013-05-20 Leo Liu <sdl.web@gmail.com>
9119
9120 * progmodes/octave.el (octave-help-mode-map)
9121 (octave-help-mode-finish-hook): New variables.
9122 (octave-help-mode, octave-help-mode-finish): New functions.
9123 (octave-help): Use octave-help-mode.
9124
9125 2013-05-20 Glenn Morris <rgm@gnu.org>
9126
9127 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9128
9129 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9130
9131 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9132 start at point, so that expansion starting right after opening
9133 slash in a regexp is recognized.
9134 (ruby-syntax-before-regexp-re): New defvar, extracted from
9135 ruby-syntax-propertize-function. Since the value of this regexp
9136 is looked up at runtime now, we should be able to turn
9137 `ruby-syntax-methods-before-regexp' into a defcustom later.
9138 (ruby-syntax-propertize-function): Split regexp matching into two
9139 parts, for opening and closing slashes. That allows us to skip
9140 over string interpolations and support multiline regexps.
9141 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9142 for them, which calls `ruby-syntax-propertize-expansion'.
9143 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9144 call to `ruby-syntax-propertize-function'.
9145 (ruby-syntax-propertize-expansion): Extracted from
9146 `ruby-syntax-propertize-expansions'. Handles one expansion.
9147 (ruby-syntax-propertize-percent-literal): Leave point right after
9148 the percent symbol, so that the expression expansion rule can
9149 propertize the contents.
9150 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9151 heredoc openers.
9152 (ruby-syntax-propertize-expansions): Remove.
9153
9154 2013-05-18 Juri Linkov <juri@jurta.org>
9155
9156 * man.el (Man-default-man-entry): Remove `-' from the end
9157 of the default value. (Bug#14400)
9158
9159 2013-05-18 Glenn Morris <rgm@gnu.org>
9160
9161 * comint.el (comint-password-prompt-regexp):
9162 Allow "password for XXX" where XXX contains colons (eg https://...).
9163
9164 2013-05-18 Leo Liu <sdl.web@gmail.com>
9165
9166 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9167 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9168 (octave-source-directories): Don't check process.
9169 (octave-source-directories, octave-find-definition): Doc fix.
9170
9171 2013-05-18 Glenn Morris <rgm@gnu.org>
9172
9173 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9174 Remove backspace/delete bindings. (Bug#14392)
9175
9176 * cus-dep.el (custom-make-dependencies): Sort the output.
9177 (custom-versions-load-alist): Convert comment to doc.
9178
9179 2013-05-17 Leo Liu <sdl.web@gmail.com>
9180
9181 * newcomment.el (comment-search-backward): Stricter in finding
9182 comment start. (Bug#14303)
9183
9184 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9185 (octave-comment-start-skip): Properly anchored.
9186
9187 2013-05-17 Leo Liu <sdl.web@gmail.com>
9188
9189 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9190 Clean up when turned off. (Bug#14395)
9191 (smie--highlight-matching-block-overlay): No longer buffer-local.
9192 (smie-highlight-matching-block): Adjust.
9193
9194 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9195
9196 Doc string fix for "nanoseconds" (Bug#14406).
9197 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9198 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9199
9200 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9201
9202 * calc/calc-units.el (math-extract-units): Preserve powers
9203 of units.
9204
9205 2013-05-17 Leo Liu <sdl.web@gmail.com>
9206
9207 * subr.el (delete-consecutive-dups): New function.
9208 * ido.el (ido-set-matches-1): Use it.
9209 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9210 * ido.el (ido-remove-consecutive-dups): Remove.
9211
9212 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9213
9214 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9215 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9216 regexp-opt's `words'.
9217
9218 2013-05-16 Leo Liu <sdl.web@gmail.com>
9219
9220 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9221 (smie--highlight-matching-block-overlay)
9222 (smie--highlight-matching-block-lastpos)
9223 (smie--highlight-matching-block-timer): New variables.
9224 (smie-highlight-matching-block): New function.
9225 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9226 (smie-setup): Conditionally enable smie-blink-matching-open.
9227
9228 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9229
9230 Sync with upstream verilog-mode r840.
9231 * progmodes/verilog-mode.el (verilog-mode-version)
9232 (verilog-mode-release-date): Update.
9233 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9234 (verilog-sig-tieoff): Fix string error on
9235 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9236 (verilog-read-decls): Fix parameters confusing
9237 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9238
9239 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9240
9241 * subr.el (reveal-filename): New function.
9242
9243 * loadup.el: Compute Emacs executable versions on MS-Windows,
9244 where executables have the .exe extension. Add a hard link
9245 emacs-XX.YY.ZZ.exe on MS-Windows.
9246
9247 * Makefile.in (XARGS_LIMIT): New variable.
9248 (custom-deps, finder-data, autoloads)
9249 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9250 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9251 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9252 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9253
9254 2013-05-16 Leo Liu <sdl.web@gmail.com>
9255
9256 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9257 (octave-mode-menu, octave-mode-map): Remove its uses.
9258
9259 2013-05-16 Reto Zimmermann <reto@gnu.org>
9260
9261 Sync with upstream vhdl mode v3.34.2.
9262 * progmodes/vhdl-mode.el: Use `push' throughout.
9263 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9264 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9265 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9266 (vhdl-actual-generic-name): New option to derive actual generic name.
9267 (vhdl-port-paste-signals): Replace formal by actual generics.
9268 (vhdl-beautify): New name for old group vhdl-align. Update users.
9269 (vhdl-beautify-options): New option.
9270 (vhdl-last-input-event): New compat alias. Use throughout.
9271 (vhdl-goto-line): Replace user level function `goto-line'.
9272 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9273 vhdl-fix-statement-buffer.
9274 (vhdl-create-mode-menu): Add some entries.
9275 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9276 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9277 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9278 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9279 to force statements on one line.
9280 (vhdl-remove-trailing-spaces-region):
9281 New, split from vhdl-remove-trailing-spaces.
9282 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9283 Respect vhdl-beautify-options.
9284 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9285 (vhdl-update-sensitivity-list): Not add with index if exists without.
9286 Not include array index with signal. Ignore keywords in comments.
9287 (vhdl-get-visible-signals): Regexp tweaks.
9288 (vhdl-template-component-inst): Handle empty library.
9289 (vhdl-template-type): Add template for 'enum' type.
9290 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9291 Use vhdl-replace-string.
9292 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9293 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9294 (vhdl-speedbar-initialize): Update for above name change.
9295 (vhdl-compose-wire-components): Fix in handling of constants.
9296 (vhdl-error-regexp-emacs-alist): New variable.
9297 (vhdl-error-regexp-add-emacs): New function;
9298 adds support for new compile.el (Emacs 22+)
9299 (vhdl-generate-makefile-1): Change target order for single lib. units.
9300 Allow use of absolute file names.
9301
9302 2013-05-16 Leo Liu <sdl.web@gmail.com>
9303
9304 * simple.el (prog-indent-sexp): Indent enclosing defun.
9305
9306 2013-05-15 Glenn Morris <rgm@gnu.org>
9307
9308 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9309 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9310 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9311 (whitespace-highlight): Move to whitespace group.
9312
9313 * comint.el (comint-source):
9314 * pcmpl-linux.el (pcmpl-linux):
9315 * shell.el (shell-faces):
9316 * eshell/esh-opt.el (eshell-opt):
9317 * international/ccl.el (ccl): Remove empty custom groups.
9318
9319 * completion.el (dynamic-completion-mode):
9320 * jit-lock.el (jit-lock-debug-mode):
9321 * minibuffer.el (completion-in-region-mode):
9322 * type-break.el (type-break-mode-line-message-mode)
9323 (type-break-query-mode):
9324 * emulation/tpu-edt.el (tpu-edt-mode):
9325 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9326 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9327 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9328
9329 * term/xterm.el (xterm): Change parent group to terminals.
9330
9331 * master.el (master): Remove empty custom group.
9332 (master-mode): Remove unused :group argument.
9333 * textmodes/refill.el (refill): Remove empty custom group.
9334 (refill-mode): Remove unused :group argument.
9335
9336 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9337
9338 * cus-dep.el: Provide a feature.
9339 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9340 Don't mistakenly ignore files whose basenames match a basename
9341 from preloaded-file-list (eg cedet/ede/simple.el).
9342 Add a fallback method for getting :group.
9343
9344 2013-05-15 Juri Linkov <juri@jurta.org>
9345
9346 * isearch.el (isearch-char-by-name): Rename from
9347 `isearch-insert-char-by-name'. Doc fix.
9348 (isearch-forward): Mention `isearch-char-by-name' in
9349 the docstring. (Bug#13348)
9350
9351 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9352 `exit-minibuffer' instead of
9353 `isearch-nonincremental-exit-minibuffer'.
9354 (isearch-edit-string): Remove mention of
9355 `isearch-nonincremental-exit-minibuffer' from docstring.
9356 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9357 (isearch-forward-exit-minibuffer)
9358 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9359
9360 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9361
9362 * loadup.el: Just use unversioned DOC.
9363
9364 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9365 literals as extending to EOB.
9366 (nxml-last-fontify-end): Remove unused variable.
9367 (nxml-after-change1): Use with-silent-modifications.
9368 (nxml-extend-after-change-region): Simplify.
9369 (nxml-extend-after-change-region1): Remove function.
9370 (nxml-after-change1): Don't adjust for dependent regions.
9371 (nxml-fontify-matcher): Simplify.
9372 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9373 (xmltok-add-dependent): Remove function.
9374 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9375 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9376 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9377 unclosed <[[, <?, comment, and other literals as extending to EOB.
9378 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9379 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9380 Remove functions.
9381 (rng-do-some-validation-1): Don't mark dependent regions.
9382 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9383 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9384 (nxml-clear-dependent-regions): Remove functions.
9385 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9386 (nxml-ensure-scan-up-to-date):
9387 Don't clear&mark dependent regions.
9388
9389 2013-05-15 Leo Liu <sdl.web@gmail.com>
9390
9391 * progmodes/octave.el (octave-goto-function-definition):
9392 Improve and fix callers.
9393
9394 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9395
9396 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9397 the setter (bug#14387).
9398
9399 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9400 surrounding group (bug#14402).
9401
9402 2013-05-14 Juri Linkov <juri@jurta.org>
9403
9404 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9405 (Bug#14390)
9406
9407 2013-05-14 Glenn Morris <rgm@gnu.org>
9408
9409 * progmodes/f90.el (f90-imenu-generic-expression):
9410 Fix typo in 2013-05-08 change. (Bug#14402)
9411
9412 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9413
9414 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9415 Remove signals for which replies are never received.
9416
9417 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9418
9419 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9420 (gdb-handler-alist, gdb-handler-number): Remove variables.
9421 (gdb-handler-list): New variable.
9422 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9423 (gdb-pending-handler-p, gdb-handle-reply)
9424 (gdb-remove-all-pending-triggers): New functions.
9425 (gdb-discard-unordered-replies): New defcustom.
9426 (gdb-handler): New defstruct.
9427 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9428 instead of gdb-pending-triggers. Update docstring.
9429 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9430 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9431 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9432 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9433 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9434 (gdb-frame-handler): Pending triggers are now automatically managed.
9435 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9436 Remove argument.
9437 (gdb-input): Automatically handles pending triggers. Update docstring.
9438 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9439 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9440 Update comments.
9441 (gdb-done-or-error): Now use gdb-handle-reply.
9442
9443 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9444
9445 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9446 gdb-debug-log.
9447
9448 2013-05-14 Glenn Morris <rgm@gnu.org>
9449
9450 * subr.el (user-emacs-directory-warning): New option.
9451 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9452
9453 2013-05-14 Leo Liu <sdl.web@gmail.com>
9454
9455 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9456 during redisplay.
9457 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9458 (octave-font-lock-texinfo-comment): Fix invalid search bound
9459 error: wrong side of point.
9460
9461 2013-05-14 Glenn Morris <rgm@gnu.org>
9462
9463 * progmodes/flymake.el (flymake-xml-program): New option.
9464 (flymake-xml-init): Use it.
9465
9466 * term/xterm.el: Provide a feature.
9467
9468 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9469
9470 2013-05-13 Glenn Morris <rgm@gnu.org>
9471
9472 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9473 Add compat aliases as a hack workaround. (Bug#14384)
9474
9475 2013-05-13 Leo Liu <sdl.web@gmail.com>
9476
9477 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9478 ###, and %!.
9479 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9480 C-M-q.
9481 (octave-comment-start-skip): Include %!.
9482 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9483
9484 2013-05-12 Leo Liu <sdl.web@gmail.com>
9485
9486 * progmodes/octave.el (inferior-octave-startup): Store the value
9487 of __octave_srcdir__ for octave-source-directories.
9488 (inferior-octave-check-process): New function refactored out of
9489 inferior-octave-send-list-and-digest.
9490 (octave-source-directories)
9491 (octave-find-definition-filename-function): New variables.
9492 (octave-source-directories)
9493 (octave-find-definition-default-filename): New functions.
9494 (octave-find-definition): Improve to find functions implemented in C++.
9495
9496 2013-05-12 Glenn Morris <rgm@gnu.org>
9497
9498 * calendar/diary-lib.el (diary-outlook-format-1):
9499 Don't include dayname in the output. (Bug#14349)
9500
9501 2013-05-11 Glenn Morris <rgm@gnu.org>
9502
9503 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9504
9505 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9506 Treat cc-provide like provide.
9507
9508 2013-05-11 Kevin Ryde <user42@zip.com.au>
9509
9510 * cus-dep.el (custom-make-dependencies):
9511 Use generated-autoload-load-name for the sake of files such
9512 such cedet/semantic/bovine/c.el, where the base file name
9513 is not in load-path. (Bug#5277)
9514
9515 2013-05-11 Glenn Morris <rgm@gnu.org>
9516
9517 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9518 Provide features.
9519
9520 2013-05-11 Leo Liu <sdl.web@gmail.com>
9521
9522 * progmodes/octave.el (octave-indent-comment): Improve.
9523 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9524 (octave-eldoc-function-signatures, octave-eldoc-function):
9525 New functions.
9526 (octave-mode, inferior-octave-mode): Add eldoc support.
9527
9528 2013-05-11 Richard Stallman <rms@gnu.org>
9529
9530 * epa.el (epa-decrypt-file): Take output file name as argument
9531 and read it using `interactive'.
9532
9533 2013-05-11 Leo Liu <sdl.web@gmail.com>
9534
9535 * progmodes/octave.el (octave-beginning-of-line)
9536 (octave-end-of-line): Check before using up-list because it jumps
9537 out of more syntactic contructs since moving to smie.
9538 (octave-indent-comment): New function.
9539 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9540 (octave-begin-keywords, octave-end-keywords)
9541 (octave-reserved-words, octave-smie-bnf-table)
9542 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9543
9544 2013-05-11 Glenn Morris <rgm@gnu.org>
9545
9546 * faces.el (internal-face-x-get-resource):
9547 * frame.el (ns-display-monitor-attributes-list):
9548 * calc/calc-aent.el (math-to-radians-2):
9549 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9550 Fix declarations.
9551
9552 * calc/calc-menu.el: Make it loadable in isolation.
9553
9554 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9555 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9556 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9557 (eudc-bbdb-query-internal): Require 'bbdb.
9558
9559 * lpr.el (lpr-headers-switches):
9560 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9561
9562 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9563
9564 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9565
9566 * term.el (term-set-escape-char): Make it idempotent.
9567
9568 2013-05-10 Leo Liu <sdl.web@gmail.com>
9569
9570 * progmodes/octave.el (inferior-octave-completion-table):
9571 No longer a function and all uses changed. Use cache to speed up
9572 completion due to bug#11906.
9573 (octave-beginning-of-defun): Re-write to be more general.
9574
9575 2013-05-10 Glenn Morris <rgm@gnu.org>
9576
9577 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9578
9579 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9580
9581 * comint.el (comint-redirect-send-command-to-process): Use :around
9582 rather than :override for comint-redirect-filter.
9583 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9584 Call it instead of comint-redirect-original-filter-function (which
9585 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9586
9587 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9588
9589 * frame.el (display-monitor-attributes-list): Add NS case.
9590 (ns-display-monitor-attributes-list): Declare.
9591
9592 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9593
9594 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9595
9596 2013-05-09 Glenn Morris <rgm@gnu.org>
9597
9598 * international/fontset.el (vertical-centering-font-regexp):
9599 Set standard-value.
9600
9601 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9602
9603 * bookmark.el (bookmark-search-delay):
9604 * cus-start.el (vertical-centering-font-regexp):
9605 * ps-mule.el (ps-mule-font-info-database-default):
9606 * ps-print.el (ps-default-fg, ps-default-bg):
9607 * type-break.el (type-break-good-break-interval):
9608 * whitespace.el (whitespace-indentation-regexp)
9609 (whitespace-space-after-tab-regexp):
9610 * emacs-lisp/testcover.el (testcover-1value-functions)
9611 (testcover-noreturn-functions, testcover-progn-functions)
9612 (testcover-prog1-functions):
9613 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9614 * eshell/em-glob.el (eshell-glob-translate-alist):
9615 * play/tetris.el (tetris-tty-colors):
9616 * progmodes/cpp.el (cpp-face-default-list):
9617 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9618 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9619 (idlwave-help-browser-generic-args):
9620 * progmodes/make-mode.el (makefile-special-targets-list):
9621 * progmodes/python.el (python-shell-virtualenv-path):
9622 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9623 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9624 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9625 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9626 * textmodes/reftex-vars.el (reftex-format-label-function):
9627 * textmodes/remember.el (remember-diary-file): Fix custom types.
9628
9629 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9630 Add :version.
9631
9632 2013-05-09 Leo Liu <sdl.web@gmail.com>
9633
9634 * progmodes/octave.el (inferior-octave-completion-at-point):
9635 Restore file completion. (Bug#14300)
9636 (inferior-octave-startup): Fix incorrect highlighting for the
9637 first prompt.
9638
9639 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9640
9641 * progmodes/ruby-mode.el: First cut at SMIE support.
9642 (ruby-use-smie): New var.
9643 (ruby-smie-grammar): New constant.
9644 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9645 (ruby-smie--forward-token, ruby-smie--backward-token)
9646 (ruby-smie-rules): New functions.
9647 (ruby-mode-variables): Setup SMIE if applicable.
9648
9649 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9650
9651 * simple.el (line-move-visual): Signal beginning/end of buffer
9652 only if vertical-motion moved less than it was requested. Avoids
9653 silly incorrect error messages when there are display strings with
9654 multiple newlines at EOL.
9655
9656 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9657
9658 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9659 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9660 (prolog-char-quote-workaround):
9661 * progmodes/cperl-mode.el (cperl-under-as-char):
9662 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9663 Mark as obsolete.
9664 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9665 their declaration.
9666 (vhdl-mode-syntax-table-init): Remove.
9667
9668 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9669 last change.
9670
9671 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9672 syntax for "_".
9673 (ld-script-font-lock-keywords):
9674 Change regexps to use things like \_< and \_>.
9675
9676 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9677 Change all regexps to use things like \_< and \_>.
9678
9679 * progmodes/autoconf.el (autoconf-definition-regexp)
9680 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9681 Handle a _ with symbol syntax.
9682 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9683
9684 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9685 Consolidate declaration.
9686 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9687 the declaration.
9688 (ada-create-syntax-table): Remove.
9689 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9690 already has the right syntax nowadays.
9691 (ada-goto-next-word): Don't change the syntax of "_".
9692
9693 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9694 with-wrapper-hook.
9695
9696 2013-05-08 Sam Steingold <sds@gnu.org>
9697
9698 * thingatpt.el (thing-at-point): Accept optional second argument
9699 NO-PROPERTIES to strip the text properties from the return value.
9700 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9701 to `thing-at-point' instead of stripping the properties ourselves.
9702 Also, when `thing-at-point' fails to find a url, prepend "http://"
9703 to the filename at point on the assumption that the user is
9704 pointing at something like gnu.org/gnu.
9705
9706 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9707
9708 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9709 * faces.el (crm-separator):
9710 Silence byte-compiler.
9711
9712 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9713 (tool-bar-map): Remove unneeded defvars.
9714
9715 2013-05-08 Leo Liu <sdl.web@gmail.com>
9716
9717 Re-work a fix for bug#10994 based on Le Wang's patch.
9718 * ido.el (ido-remove-consecutive-dups): New helper.
9719 (ido-completing-read): Use it.
9720 (ido-chop): Revert fix for bug#10994.
9721
9722 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9723
9724 * cus-edit.el (custom-save-variables):
9725 Pretty-print long values. (Bug#14187)
9726
9727 2013-05-08 Glenn Morris <rgm@gnu.org>
9728
9729 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9730 (m4-mode-syntax-table): Init in the defvar.
9731 (m4-mode-abbrev-table): Let define-derived-mode define it.
9732
9733 2013-05-08 Tom Tromey <tromey@redhat.com>
9734
9735 * progmodes/m4-mode.el (m4-mode-syntax-table):
9736 Do not treat "_" as word constituent. (Bug#14167)
9737
9738 2013-05-07 Glenn Morris <rgm@gnu.org>
9739
9740 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9741 Remove explicit eshell-isearch-cancel-map.
9742
9743 * progmodes/f90.el (f90-smart-end-names): New option.
9744 (f90-smart-end): Doc fix.
9745 (f90-end-block-optional-name): New constant.
9746 (f90-block-match): Respect f90-smart-end-names.
9747
9748 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9749
9750 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9751 about implicit semi-colons (bug#14218).
9752
9753 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9754
9755 * frame.el (display-monitor-attributes-list)
9756 (frame-monitor-attributes): New functions.
9757
9758 2013-05-06 Leo Liu <sdl.web@gmail.com>
9759
9760 * progmodes/octave.el (octave-syntax-propertize-function): Change
9761 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9762 (octave-font-lock-keywords): Use octave-operator-regexp.
9763 (octave-completion-at-point): Rename from
9764 octave-completion-at-point-function.
9765 (inferior-octave-directory-tracker): Robustify.
9766 (octave-text-functions): Remove and fix its uses. No such things
9767 any more.
9768
9769 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9770
9771 * emacs-lisp/trace.el (trace--display-buffer): New function.
9772 (trace-make-advice): Use it.
9773
9774 2013-05-06 Juri Linkov <juri@jurta.org>
9775
9776 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9777 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9778 Doc fix.
9779 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9780 in the help string. (Bug#12985)
9781
9782 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9783
9784 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9785
9786 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9787
9788 * progmodes/perl-mode.el: Add support for here documents.
9789 (perl-syntax-propertize-function): Match here-doc markers.
9790 (perl-syntax-propertize-special-constructs): Find their end.
9791 (perl-imenu-generic-expression): Use [:alnum:].
9792
9793 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9794 (advice--add-function): Refresh the advice if already present
9795 (bug#14317).
9796
9797 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9798
9799 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9800
9801 2013-05-06 Glenn Morris <rgm@gnu.org>
9802
9803 * w32-fns.el (w32-charset-info-alist): Declare.
9804
9805 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9806 of its defcustom properties.
9807 (eshell-cmpl-initialize): No need to load pcomplete.
9808
9809 * generic-x.el: No need to require comint when compiling.
9810
9811 * net/eudc-export.el: Make it loadable without bbdb.
9812 (top-level): Use require rather than load-library.
9813 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9814 (eudc-batch-export-records-to-bbdb)
9815 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9816 Require bbdb.
9817
9818 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9819
9820 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9821 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9822 some tweaks, instead.
9823
9824 2013-05-05 Leo Liu <sdl.web@gmail.com>
9825
9826 * progmodes/octave.el (octave-font-lock-keywords)
9827 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9828 (inferior-octave-send-list-and-digest): Improve error message.
9829 (octave-mode, inferior-octave-mode): Use setq-local.
9830 (octave-help): Set info-lookup-mode.
9831
9832 2013-05-05 Richard Stallman <rms@gnu.org>
9833
9834 * vc/compare-w.el (compare-windows-whitespace):
9835 Treat no-break space as whitespace.
9836
9837 * mail/rmailsum.el (rmail-summary-rmail-update):
9838 Detect empty summary and don't change selected message.
9839 (rmail-summary-goto-msg): Likewise.
9840
9841 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9842 Doc fixes, rename args.
9843
9844 2013-05-05 Alan Mackenzie <acm@muc.de>
9845
9846 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9847
9848 2013-05-05 Juri Linkov <juri@jurta.org>
9849
9850 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9851 to not add the length of the summary segment to the return value.
9852 (Bug#14125)
9853
9854 2013-05-05 Leo Liu <sdl.web@gmail.com>
9855
9856 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9857 (inferior-octave-output-filter): Remove.
9858 (octave-send-region, inferior-octave-startup): Fix callers.
9859 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9860 (octave-binary-file-extensions): New user variable.
9861 (octave-find-definition): Confirm if opening binary files.
9862 (octave-help-file): Use octave-find-definition to get the binary
9863 confirmation.
9864 (octave-help): Adjust for octave-help-file change.
9865
9866 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9867
9868 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9869 Merge the two entries that handle function definitions.
9870 (pascal--syntax-propertize): New const.
9871 (pascal-mode): Use it. Use setq-local.
9872
9873 2013-05-04 Glenn Morris <rgm@gnu.org>
9874
9875 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9876 (diary-from-outlook): Respect diary-from-outlook-function.
9877
9878 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9879
9880 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9881 Move the declaration from C.
9882 (read-minibuffer, eval-minibuffer): Move from C.
9883 (completion-setup-function): Avoid minibuffer-completion-contents.
9884
9885 2013-05-03 Leo Liu <sdl.web@gmail.com>
9886
9887 * progmodes/octave.el (octave-font-lock-keywords): Do not
9888 dehighlight 'end' in comments or strings.
9889 (octave-completing-read, octave-goto-function-definition):
9890 New helpers.
9891 (octave-help-buffer): New user variable.
9892 (octave-help-file, octave-help-function): New button types.
9893 (octave-help): New command and bind it to C-h ;.
9894 (octave-find-definition): New command and bind it to M-.
9895 (user-error): Alias to error if not defined.
9896
9897 2013-05-02 Leo Liu <sdl.web@gmail.com>
9898
9899 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9900 for \. (bug#14332)
9901 (octave-font-lock-keywords): Include [ and {.
9902
9903 2013-05-02 Leo Liu <sdl.web@gmail.com>
9904
9905 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9906 (inferior-octave): Remove calling comint-mode and return the buffer.
9907 (inferior-octave-startup): Cosmetic changes.
9908
9909 2013-05-02 Leo Liu <sdl.web@gmail.com>
9910
9911 * progmodes/octave.el (octave-syntax-propertize-function):
9912 Include the case when ' is at line beginning. (Bug#14336)
9913
9914 2013-05-02 Glenn Morris <rgm@gnu.org>
9915
9916 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9917 * desktop.el (vc-dir-mode): Just autoload it here.
9918
9919 2013-05-02 Alan Mackenzie <acm@muc.de>
9920
9921 Eliminate variable c-standard-font-lock-fontify-region-function.
9922 * progmodes/cc-mode.el
9923 (c-standard-font-lock-fontify-region-function): Remove.
9924 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9925
9926 2013-05-01 Leo Liu <sdl.web@gmail.com>
9927
9928 * progmodes/octave.el: Compatible with older emacs-24 releases.
9929 (inferior-octave-has-built-in-variables): Remove. Built-in
9930 variables were removed from Octave in 2007.
9931 (inferior-octave-startup): Fix uses.
9932 (comint-line-beginning-position): Remove compatibility code for
9933 emacs 21.
9934
9935 2013-05-01 Juri Linkov <juri@jurta.org>
9936
9937 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9938
9939 2013-05-01 Juri Linkov <juri@jurta.org>
9940
9941 * comint.el (comint-previous-matching-input): Don't print message
9942 "History item: %d" when `isearch-mode' is active.
9943 (comint-history-isearch-message): Print message "History item: %d"
9944 when `comint-input-ring-index' is not empty and this function is
9945 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9946
9947 2013-05-01 Leo Liu <sdl.web@gmail.com>
9948
9949 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9950 definitions. Use completion-at-point to insert keywords.
9951 (octave-abbrev-start): Remove.
9952 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9953
9954 2013-04-30 Leo Liu <sdl.web@gmail.com>
9955
9956 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9957 change.
9958
9959 2013-04-30 Alan Mackenzie <acm@muc.de>
9960
9961 Handle arbitrarily long C++ member initialisation lists.
9962 * progmodes/cc-engine.el (c-back-over-member-initializers):
9963 new function.
9964 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9965 (most) member init lists.
9966
9967 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9968
9969 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9970 variable.
9971
9972 2013-04-30 Leo Liu <sdl.web@gmail.com>
9973
9974 * progmodes/octave.el (octave-variables): Remove. No builtin
9975 variables any more. All converted to functions.
9976 (octave-font-lock-keywords, octave-completion-at-point-function):
9977 Fix uses.
9978 (octave-font-lock-texinfo-comment): New user variable.
9979 (octave-texinfo-font-lock-keywords): New variable for texinfo
9980 comment block.
9981 (octave-function-comment-block): New face.
9982 (octave-font-lock-texinfo-comment): New function.
9983 (octave-mode): Font lock texinfo comment block.
9984
9985 2013-04-29 Leo Liu <sdl.web@gmail.com>
9986
9987 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9988 indexing expression.
9989 (octave-continuation-string): Do not use \.
9990 (inferior-octave-complete-impossible): Remove.
9991 (inferior-octave-completion-table)
9992 (inferior-octave-completion-at-point): Remove its uses.
9993 (inferior-octave-startup): completion_matches was introduced to
9994 Octave in 1996 so safe to assume it.
9995 (octave-function-file-comment): Improve to follow how Octave does it.
9996 (octave-update-function-file-comment): Tweak.
9997
9998 2013-04-29 Leo Liu <sdl.web@gmail.com>
9999
10000 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10001 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10002 (octave-function-file-comment): Fix typo.
10003 (octave-sync-function-file-names): Use read-char-choice.
10004
10005 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10006
10007 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10008 to t for the less important warnings.
10009
10010 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10011
10012 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10013
10014 2013-04-27 Glenn Morris <rgm@gnu.org>
10015
10016 * vc/log-view.el (log-view-current-entry):
10017 Treat "---" separator lines as part of the following rev. (Bug#14169)
10018
10019 2013-04-27 Juri Linkov <juri@jurta.org>
10020
10021 * subr.el (read-number): Doc fix about using it by interactive
10022 code letter `n'. (Bug#14254)
10023
10024 2013-04-27 Juri Linkov <juri@jurta.org>
10025
10026 * desktop.el (desktop-auto-save-timeout): New option.
10027 (desktop-file-checksum): New variable.
10028 (desktop-save): Add optional arg `auto-save' and don't auto-save
10029 if nothing changed.
10030 (desktop-auto-save-timer): New variable.
10031 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10032 (after-init-hook): Call `desktop-auto-save-set-timer'.
10033 Suggested by Reuben Thomas <rrt@sc3d.org> in
10034 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10035
10036 2013-04-27 Leo Liu <sdl.web@gmail.com>
10037
10038 * progmodes/octave.el (octave-function-file-p)
10039 (octave-skip-comment-forward, octave-function-file-comment)
10040 (octave-update-function-file-comment): New functions.
10041 (octave-mode-map): Bind C-c ; to
10042 octave-update-function-file-comment.
10043 (octave-mode-menu): Add octave-update-function-file-comment.
10044 (octave-mode, inferior-octave-mode): Fix doc-string.
10045 (octave-insert-defun): Conform to Octave's coding convention.
10046 (Bug#14285)
10047
10048 * files.el (basic-save-buffer): Don't let errors in
10049 before-save-hook prevent saving buffer.
10050
10051 2013-04-20 Roland Winkler <winkler@gnu.org>
10052
10053 * faces.el (read-face-name): Use completing-read if arg multiple
10054 is nil.
10055
10056 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10057
10058 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10059 displayed, move point to after the totals line.
10060 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10061 for the details.
10062
10063 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10064
10065 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10066 Add current dir to the load-path.
10067 (package-generate-autoloads): Don't rely on
10068 autoload-ensure-default-file.
10069
10070 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10071
10072 * textmodes/remember.el (remember-store-in-files): Document that
10073 the file name format is passed to `format-time-string'.
10074
10075 2013-04-26 Leo Liu <sdl.web@gmail.com>
10076
10077 * progmodes/octave.el (octave-sync-function-file-names): New function.
10078 (octave-mode): Use it in before-save-hook.
10079
10080 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10081
10082 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10083 (bug#14274).
10084
10085 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10086 \n and comment, even if it's not an implicit ; (bug#14218).
10087
10088 2013-04-26 Glenn Morris <rgm@gnu.org>
10089
10090 * subr.el (read-number): Once more use `read' rather than
10091 `string-to-number', to trap non-numeric input. (Bug#14254)
10092
10093 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10094
10095 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10096 Use `syntax-multiline' text property consistently instead of
10097 `font-lock-multiline'. (Bug#14237)
10098
10099 2013-04-26 Glenn Morris <rgm@gnu.org>
10100
10101 * emacs-lisp/shadow.el (list-load-path-shadows):
10102 No longer necessary to check for duplicate simple.el, since
10103 2012-07-07 change to init_lread to not include installation lisp
10104 directories in load-path when running uninstalled. (Bug#14270)
10105
10106 2013-04-26 Leo Liu <sdl.web@gmail.com>
10107
10108 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10109 (octave-mode, inferior-octave-mode): Use setq-local.
10110 (octave-not-in-string-or-comment-p): Rename to
10111 octave-in-string-or-comment-p.
10112 (octave-in-comment-p, octave-in-string-p)
10113 (octave-in-string-or-comment-p): Replace defsubst with defun.
10114
10115 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10116
10117 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10118
10119 2013-04-25 Bastien Guerry <bzg@gnu.org>
10120
10121 * textmodes/remember.el (remember-data-directory)
10122 (remember-directory-file-name-format): Fix custom types.
10123
10124 2013-04-25 Leo Liu <sdl.web@gmail.com>
10125
10126 * progmodes/octave.el (octave-completion-at-point-function):
10127 Make use of inferior octave process.
10128 (octave-initialize-completions): Remove.
10129 (inferior-octave-completion-table): New function.
10130 (inferior-octave-completion-at-point): Use it.
10131 (octave-completion-alist): Remove.
10132
10133 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10134
10135 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10136 (opascal-mode-syntax-table): New var.
10137 (opascal-literal-kind, opascal-is-literal-end)
10138 (opascal-literal-token-at): Rewrite.
10139 (opascal--literal-start-re, opascal-font-lock-keywords)
10140 (opascal--syntax-propertize): New constants.
10141 (opascal-font-lock-defaults): Adjust.
10142 (opascal-mode): Use them. Set comment-<foo> variables as well.
10143 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10144 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10145 (delphi-other-face, opascal-other-face): Remove face variables.
10146 (opascal-save-state): Remove macro.
10147 (opascal-fontifying-progress-step): Remove constant.
10148 (opascal--ignore-changes): Remove var.
10149 (opascal-set-token-property, opascal-parse-next-literal)
10150 (opascal-is-stable-literal, opascal-complete-literal)
10151 (opascal-is-literal-start, opascal-face-of)
10152 (opascal-parse-region, opascal-parse-region-until-stable)
10153 (opascal-fontify-region, opascal-after-change)
10154 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10155 (opascal-debug-parse-region, opascal-debug-parse-window)
10156 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10157 (opascal-debug-fontify-buffer): Remove.
10158 (opascal-debug-mode-map): Adjust accordingly.
10159
10160 2013-04-25 Leo Liu <sdl.web@gmail.com>
10161
10162 Merge octave-mod.el and octave-inf.el into octave.el with some
10163 cleanups.
10164 * progmodes/octave.el: New file renamed from octave-mod.el.
10165 * progmodes/octave-inf.el: Merged into octave.el.
10166 * progmodes/octave-mod.el: Renamed to octave.el.
10167
10168 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10169
10170 * textmodes/reftex-vars.el
10171 (reftex-label-ignored-macros-and-environments): New defcustom.
10172
10173 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10174
10175 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10176
10177 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10178 (smie-indent-keyword): Improve the check to ensure that the next
10179 comment is really on the same line.
10180 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10181
10182 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10183 semi-colons if the line is not otherwise empty (bug#14218).
10184
10185 2013-04-25 Glenn Morris <rgm@gnu.org>
10186
10187 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10188
10189 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10190
10191 * progmodes/opascal.el (opascal-set-token-property): Rename from
10192 opascal-set-text-properties and only set `token' (bug#14134).
10193 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10194 (opascal-literal-text-properties): Remove.
10195 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10196 Adjust callers.
10197
10198 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10199
10200 * textmodes/remember.el (remember-handler-functions): Add an
10201 option for a new handler `remember-store-in-files'.
10202 (remember-data-directory, remember-directory-file-name-format):
10203 New options.
10204 (remember-store-in-files): New function to store remember notes
10205 as separate files within a directory.
10206
10207 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10208
10209 * progmodes/compile.el (compilation-next-error-function):
10210 Pass "formats" to compilation-find-file (bug#11777).
10211
10212 2013-04-24 Glenn Morris <rgm@gnu.org>
10213
10214 * vc/vc-bzr.el (vc-bzr-print-log):
10215 * vc/vc-hg.el (vc-hg-print-log):
10216 * vc/vc-svn.el (vc-svn-print-log):
10217 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10218
10219 * vc/vc-bzr.el (vc-bzr-print-log):
10220 * vc/vc-cvs.el (vc-cvs-print-log):
10221 * vc/vc-git.el (vc-git-print-log):
10222 * vc/vc-hg.el (vc-hg-print-log):
10223 * vc/vc-mtn.el (vc-mtn-print-log):
10224 * vc/vc-rcs.el (vc-rcs-print-log):
10225 * vc/vc-sccs.el (vc-sccs-print-log):
10226 * vc/vc-svn.el (vc-svn-print-log):
10227 * vc/vc.el (vc-print-log-internal): Doc fixes.
10228
10229 2013-04-23 Glenn Morris <rgm@gnu.org>
10230
10231 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10232 Remove venerable code attempting to avoid substitute-command-keys.
10233
10234 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10235
10236 * textmodes/reftex-vars.el (reftex-label-regexps):
10237 Call `reftex-compile-variables' after changes to this variable.
10238
10239 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10240
10241 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10242 Use lexical-binding.
10243 (jit-lock-force-redisplay): Use markers, check buffer's continued
10244 existence and beware narrowed buffers.
10245 (jit-lock-fontify-now): Adjust call accordingly.
10246
10247 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10248
10249 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10250 to avoid misleading the user.
10251
10252 2013-04-22 Leo Liu <sdl.web@gmail.com>
10253
10254 * info-look.el: Prefer latex2e.info. (Bug#14240)
10255
10256 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10257
10258 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10259
10260 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10261 * net/tramp.el (tramp-call-process): ... here.
10262 (tramp-set-completion-function, tramp-parse-putty):
10263 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10264 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10265 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10266 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10267 (tramp-call-local-coding-command): Use `tramp-call-process'
10268 instead of `tramp-compat-call-process'.
10269
10270 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10271 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10272 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10273 (tramp-find-inline-compress): Improve traces.
10274 (tramp-maybe-send-script): Check for Perl binary.
10275 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10276
10277 2013-04-22 Daiki Ueno <ueno@gnu.org>
10278
10279 * epg.el (epg-context-pinentry-mode): New function.
10280 (epg-context-set-pinentry-mode): New function.
10281 (epg--start): Pass --pinentry-mode option to gpg command.
10282
10283 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10284
10285 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10286 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10287 `completion-at-point'. (Bug#13774)
10288
10289 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10290 default key binding for `describe-distribution' has been moved to
10291 `C-h C-o'. (Bug#13970)
10292
10293 2013-04-21 Glenn Morris <rgm@gnu.org>
10294
10295 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10296 Add doc strings.
10297 (vc-print-log): Clarify interactive prompt.
10298
10299 2013-04-20 Glenn Morris <rgm@gnu.org>
10300
10301 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10302 No longer include timestamp etc information.
10303
10304 2013-04-20 Roland Winkler <winkler@gnu.org>
10305
10306 * faces.el (read-face-name): Bug fix, return just one face if arg
10307 multiple is nil. (Bug#14209)
10308
10309 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10310
10311 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10312 (remove-function): Autoload.
10313
10314 * comint.el (comint-redirect-original-filter-function): Remove.
10315 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10316 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10317 (vc-cvs-annotate-command):
10318 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10319 * progmodes/prolog.el (prolog-consult-compile):
10320 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10321 Use add/remove-function instead.
10322 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10323 (gud-tooltip-process-output, gud-tooltip-tips):
10324 Use add/remove-function instead.
10325 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10326 (scheme-interaction-mode, exit-scheme-interaction-mode):
10327 Use add/remove-function instead.
10328
10329 * vc/vc-dispatcher.el: Use lexical-binding.
10330 (vc--process-sentinel): Rename from vc-process-sentinel.
10331 Change last arg to be the code to run. Don't use vc-previous-sentinel
10332 and vc-sentinel-commands any more.
10333 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10334 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10335
10336 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10337
10338 * progmodes/sh-script.el (sh-imenu-generic-expression):
10339 Handle function names with a single character. (Bug#14111)
10340
10341 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10342
10343 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10344 for subroutines defined in an eval (bug#14182).
10345
10346 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10347
10348 * bookmark.el (bookmark-completing-read): Improve handling of empty
10349 string (bug#14176).
10350
10351 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10352
10353 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10354
10355 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10356
10357 New faster Imenu implementation (bug#14058).
10358 * progmodes/python.el:
10359 (python-imenu-prev-index-position):
10360 (python-imenu-format-item-label-function)
10361 (python-imenu-format-parent-item-label-function)
10362 (python-imenu-format-parent-item-jump-label-function):
10363 New vars.
10364 (python-imenu-format-item-label)
10365 (python-imenu-format-parent-item-label)
10366 (python-imenu-format-parent-item-jump-label)
10367 (python-imenu--put-parent, python-imenu--build-tree)
10368 (python-imenu-create-index, python-imenu-create-flat-index)
10369 (python-util-popn): New functions.
10370 (python-mode): Set imenu-create-index-function to
10371 python-imenu-create-index.
10372
10373 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10374
10375 * winner.el (winner-active-region): Use region-active-p, activate-mark
10376 and deactivate-mark (bug#14225).
10377
10378 * simple.el (deactivate-mark): Don't inline it.
10379
10380 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10381
10382 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10383
10384 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10385
10386 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10387 file extensions from the archive-mode entry in order to prefer
10388 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10389
10390 2013-04-18 Leo Liu <sdl.web@gmail.com>
10391
10392 * bindings.el (help-event-list): Add ?\?.
10393
10394 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10395
10396 * subr.el (with-wrapper-hook): Declare obsolete.
10397 * simple.el (filter-buffer-substring-function): New hook.
10398 (filter-buffer-substring): Use it.
10399 (filter-buffer-substring-functions): Mark obsolete.
10400 * minibuffer.el (completion-in-region-function): New hook.
10401 (completion-in-region): Use it.
10402 (completion-in-region-functions): Mark obsolete.
10403 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10404 * abbrev.el (abbrev-expand-function): New hook.
10405 (expand-abbrev): Use it.
10406 (abbrev-expand-functions): Mark obsolete.
10407 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10408 and :filter-return.
10409
10410 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10411
10412 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10413 and do not care about match data.
10414
10415 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10416
10417 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10418 completion tables when completing error conditions and
10419 `declare' arguments.
10420 (lisp-complete-symbol, field-complete): Mark as obsolete.
10421 (check-parens): Unmatched parens are user errors.
10422 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10423
10424 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10425
10426 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10427 command changed buffer (ie. `flyspell-pre-buffer' is not current
10428 buffer), which prevents making decisions based on invalid value of
10429 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10430 cause an error when `flyspell-pre-point' was nil after switching
10431 buffers.
10432 (flyspell-post-command-hook): No longer needs to change buffers when
10433 checking pre-word. While at it remove unnecessary progn.
10434
10435 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10436
10437 * textmodes/ispell.el (ispell-add-per-file-word-list):
10438 Fix `flyspell-correct-word-before-point' error when accepting
10439 words and `coment-padding' is an integer by using
10440 `comment-normalize-vars' (Bug #14214).
10441
10442 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10443
10444 New defun movement commands.
10445 * progmodes/python.el (python-nav--syntactically)
10446 (python-nav--forward-defun, python-nav-backward-defun)
10447 (python-nav-forward-defun): New functions.
10448
10449 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10450
10451 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10452 (python-syntax-context): Use named compiler-macro for backwards
10453 compatibility with Emacs 24.x.
10454
10455 2013-04-17 Leo Liu <sdl.web@gmail.com>
10456
10457 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10458 octave-hide-process-buffer.
10459
10460 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10461
10462 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10463 (bug#14216).
10464
10465 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10466
10467 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10468 Fix adjustment of offset when receiving incomplete responses from GDB
10469 (bug#14129).
10470
10471 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10472
10473 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10474 python-mode-abbrev-table.
10475 (python-skeleton-define): Adjust accordingly.
10476 (python-mode-abbrev-table): New table that inherits from it so that
10477 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10478
10479 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10480 (abbrev-symbol): Use it.
10481 (abbrev--before-point): Use it since we already handle inheritance.
10482
10483 2013-04-16 Leo Liu <sdl.web@gmail.com>
10484
10485 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10486 binding to info-lookup-symbol.
10487
10488 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10489
10490 * minibuffer.el (completion--twq-all):
10491 * term/ns-win.el (ns-initialize-window-system):
10492 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10493
10494 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10495
10496 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10497 global bindings.
10498
10499 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10500
10501 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10502
10503 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10504 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10505 to nil.
10506 (ruby-end-of-defun): Remove the unused arg, change the docstring
10507 to reflect that this function is only used as the value of
10508 `end-of-defun-function'.
10509 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10510 to reflect an earlier change that beginning/end-of-defun functions
10511 jump between methods in a class definition, as well as top-level
10512 functions.
10513
10514 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10515
10516 * minibuffer.el (minibuffer-complete): Don't just scroll
10517 a *Completions* that's been iconified.
10518 (minibuffer-force-complete): Make sure repetitions do cycle when going
10519 through completion-in-region -> minibuffer-complete.
10520
10521 2013-04-15 Alan Mackenzie <acm@muc.de>
10522
10523 Correct the placement of c-cpp-delimiters when there're #s not at
10524 col 0.
10525
10526 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10527 place a submatch around the #.
10528 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10529 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10530 on the #, not BOL.
10531
10532 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10533
10534 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10535 (advice--member-p): New arg `name'.
10536 (advice--add-function, advice-member-p): Use it (bug#14202).
10537
10538 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10539
10540 Reformulate java imenu-generic-expression.
10541 The old expression contained ill formed regexps.
10542
10543 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10544 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10545 (cc-imenu-java-method-arg-regexp): New defconsts.
10546 (cc-imenu-java-build-type-args-regex): New defun.
10547 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10548 handling of spaces in the regexp.
10549
10550 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10551
10552 * textmodes/ispell.el (ispell-command-loop): Remove
10553 flyspell highlight of a word when ispell accepts it (bug #14178).
10554
10555 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10556
10557 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10558 uses code from the previous `ange-ftp-run-real-handler'.
10559 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10560 only in case that function exist. This is needed for proper
10561 unloading of Tramp.
10562
10563 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10564
10565 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10566
10567 * textmodes/reftex.el (reftex-compile-variables): Use it.
10568
10569 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10570
10571 * files.el (normal-mode): Only use default major-mode if no other mode
10572 was specified.
10573
10574 * emacs-lisp/trace.el (trace-values): New function.
10575
10576 * files.el: Allow : in local variables (bug#14089).
10577 (hack-local-variable-regexp): New var.
10578 (hack-local-variables-prop-line, hack-local-variables): Use it.
10579
10580 2013-04-13 Roland Winkler <winkler@gnu.org>
10581
10582 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10583 data before it gets modified by bibtex-beginning-of-entry.
10584
10585 2013-04-13 Roland Winkler <winkler@gnu.org>
10586
10587 * textmodes/bibtex.el (bibtex-url): Doc fix.
10588
10589 2013-04-13 Roland Winkler <winkler@gnu.org>
10590
10591 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10592 does not visit a BibTeX file, exclude it from the list of buffers
10593 returned by bibtex-initialize.
10594
10595 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10596
10597 * window.el (split-window): Remove interactive form, since as a
10598 command this function is a special case of split-window-below.
10599 Correct doc string.
10600
10601 2013-04-12 Roland Winkler <winkler@gnu.org>
10602
10603 * faces.el (read-face-name): Do not override value of arg default.
10604 Allow single faces and strings as default values. Remove those
10605 elements from return value that are not faces.
10606 (describe-face): Simplify.
10607 (face-at-point): New optional args thing and multiple so that this
10608 function can provide the same functionality previously provided by
10609 read-face-name.
10610 (make-face-bold, make-face-unbold, make-face-italic)
10611 (make-face-unitalic, make-face-bold-italic, invert-face)
10612 (modify-face, read-face-and-attribute): Use face-at-point.
10613
10614 * cus-edit.el (customize-face, customize-face-other-window)
10615 * cus-theme.el (custom-theme-add-face)
10616 * face-remap.el (buffer-face-set)
10617 * facemenu.el (facemenu-set-face): Use face-at-point.
10618
10619 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10620
10621 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10622
10623 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10624
10625 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10626 off leading { and trailing } from field values.
10627
10628 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10629
10630 * emacs-lisp/timer.el (timer--check): New function.
10631 (timer--time, timer-set-function, timer-event-handler): Use it.
10632 (timer-set-idle-time): Simplify.
10633 (timer--activate): CSE.
10634 (timer-event-handler): Give more info in error message.
10635 (internal-timer-start-idle): New function, moved from C.
10636
10637 * mpc.el (mpc-proc): Add `restart' argument.
10638 (mpc-proc-cmd): Use it.
10639 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10640 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10641 less often.
10642
10643 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10644
10645 * progmodes/sh-script.el: Implement `sh-mode' own
10646 `add-log-current-defun-function' (bug#14112).
10647 (sh-current-defun-name): New function.
10648 (sh-mode): Use the function.
10649
10650 2013-04-09 Bastien Guerry <bzg@gnu.org>
10651
10652 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10653
10654 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10655
10656 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10657
10658 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10659 timer (bug#14156).
10660
10661 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10662
10663 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10664 declaration.
10665
10666 2013-04-07 Leo Liu <sdl.web@gmail.com>
10667
10668 * pcmpl-x.el: New file.
10669
10670 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10671
10672 Do not set x-display-name until X connection is established.
10673 This is needed to prevent from weird situation described at
10674 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10675 * frame.el (make-frame): Set x-display-name after call to
10676 window system initialization function, not before.
10677 * term/x-win.el (x-initialize-window-system): Add optional
10678 display argument and use it.
10679 * term/w32-win.el (w32-initialize-window-system):
10680 * term/ns-win.el (ns-initialize-window-system):
10681 * term/pc-win.el (msdos-initialize-window-system):
10682 Add compatible optional display argument.
10683
10684 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10685
10686 * files.el (normal-backup-enable-predicate): On MS-Windows and
10687 MS-DOS compare truenames of temporary-file-directory and of the
10688 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10689 don't fail comparison by compare-strings. Also, compare file
10690 names case-insensitively on MS-Windows and MS-DOS.
10691
10692 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10693
10694 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10695 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10696
10697 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10698
10699 * whitespace.el (whitespace-color-on, whitespace-color-off):
10700 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10701
10702 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10703
10704 * ispell.el (ispell-set-spellchecker-params):
10705 Really set `ispell-args' for all equivs.
10706
10707 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10708
10709 * ido.el (ido-completions): Use extra elements of ido-decorations
10710 (bug#14143).
10711 (ido-decorations): Update docstring.
10712
10713 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10714
10715 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10716 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10717 nil during initialization, in order not to miss changes since the
10718 file was opened. (Bug#14140)
10719
10720 2013-04-05 Leo Liu <sdl.web@gmail.com>
10721
10722 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10723
10724 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10725
10726 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10727
10728 2013-04-04 Glenn Morris <rgm@gnu.org>
10729
10730 * electric.el (electric-pair-inhibit-predicate): Add :version.
10731
10732 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10733
10734 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10735 when a package is required several times (bug#14082).
10736
10737 2013-04-04 Roland Winkler <winkler@gnu.org>
10738
10739 * faces.el (read-face-name): Behave as promised by the docstring.
10740 Assume that arg default is a list of faces.
10741 (describe-face): Call read-face-name with list of default faces.
10742
10743 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10744
10745 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10746 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10747 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10748 the header.
10749 (bookmark-exit-hook-internal): Save even if list is empty.
10750
10751 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10752
10753 * emacs-lisp/package.el (package-pinned-packages): New var.
10754 (package--add-to-archive-contents): Obey it (bug#14118).
10755
10756 2013-04-03 Alan Mackenzie <acm@muc.de>
10757
10758 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10759 Also adapt to the new values of element 7 of a parse state.
10760
10761 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10762 parameter `not-in-delimiter'. Handle being inside comment opener.
10763 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10764 character in case we're typing a '*' after a '/'.
10765 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10766 instead by passing the parameter to c-state-pp-to-literal.
10767
10768 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10769 for elt. 7 of a parse state.
10770
10771 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10772
10773 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10774 * international/latin1-disp.el, international/mule-util.el:
10775 * language/cyril-util.el, language/european.el, language/ind-util.el:
10776 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10777 * language/tibetan.el, language/viet-util.el:
10778 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10779
10780 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10781
10782 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10783 (electric-pair-post-self-insert-function): Use it.
10784 (electric-pair-default-inhibit): New function, extracted from
10785 electric-pair-post-self-insert-function.
10786
10787 2013-03-31 Roland Winkler <winkler@gnu.org>
10788
10789 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10790
10791 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10792
10793 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10794
10795 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10796
10797 Un-indent after "pass" and "return" statements (Bug#13888)
10798 * progmodes/python.el (python-indent-block-enders): New var.
10799 (python-indent-calculate-indentation): Use it.
10800
10801 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10802
10803 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10804 defun. Defining it as defalias could introduce too eager
10805 byte-compiler optimization. (Bug#14030)
10806
10807 2013-03-30 Chong Yidong <cyd@gnu.org>
10808
10809 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10810
10811 2013-03-30 Leo Liu <sdl.web@gmail.com>
10812
10813 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10814 (kmacro-execute-from-register): Pass the keyboard macro to
10815 kmacro-call-macro or repeating won't work correctly.
10816
10817 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10818
10819 * progmodes/subword.el: Back to using `forward-symbol'.
10820
10821 * subr.el (forward-whitespace, forward-symbol)
10822 (forward-same-syntax): Move from thingatpt.el.
10823
10824 2013-03-29 Leo Liu <sdl.web@gmail.com>
10825
10826 * kmacro.el (kmacro-to-register): New command.
10827 (kmacro-execute-from-register): New function.
10828 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10829
10830 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10831
10832 * mpc.el: Use defvar-local and setq-local.
10833 (mpc--proc-connect): Connection failures are not bugs.
10834 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10835 (mpc-volume-map): Bind to the up-events.
10836
10837 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10838
10839 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10840 instead of `forward-symbol'.
10841
10842 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10843
10844 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10845 (edebug--recursive-edit): Use it.
10846 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10847 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10848
10849 2013-03-28 Leo Liu <sdl.web@gmail.com>
10850
10851 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10852
10853 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10854
10855 * facemenu.el (list-colors-callback): New defvar.
10856 (list-colors-redisplay): New function.
10857 (list-colors-display): Install list-colors-redisplay as the
10858 revert-buffer-function. (Bug#14063)
10859
10860 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10861
10862 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10863 and suffixes don't overlap (bug#14061).
10864
10865 * case-table.el: Use lexical-binding.
10866 (case-table-get-table): New function.
10867 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10868
10869 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10870
10871 * progmodes/subword.el: Add `superword-mode' to do word motion
10872 over symbol_words (parallels and leverages `subword-mode' which
10873 does word motion inside MixedCaseWords).
10874
10875 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10876
10877 * eshell/em-unix.el: Move su and sudo to...
10878 * eshell/em-tramp.el: ...Eshell tramp module.
10879
10880 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10881
10882 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10883 Change return value to be a sexp. Delay `get-buffer' to after
10884 restoring the desktop (bug#13951).
10885
10886 2013-03-26 Leo Liu <sdl.web@gmail.com>
10887
10888 * register.el: Move semantic tag handling back to
10889 cedet/semantic/senator.el. (Bug#14052)
10890
10891 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10892
10893 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10894 into the prompt either (bug#13963).
10895
10896 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10897
10898 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10899 part of "(error-foo)".
10900
10901 2013-03-24 Juri Linkov <juri@jurta.org>
10902
10903 * replace.el (list-matching-lines-prefix-face): New defcustom.
10904 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10905 `occur-engine' if `face-differs-from-default-p' returns t.
10906 (occur-engine): Add `,' inside backquote construct to evaluate
10907 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10908 Pass `prefix-face' to the functions `occur-context-lines' and
10909 `occur-engine-add-prefix'.
10910 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10911 `prefix-face' and propertize the prefix with `prefix-face'.
10912 (Bug#14017)
10913
10914 2013-03-24 Leo Liu <sdl.web@gmail.com>
10915
10916 * nxml/rng-valid.el (rng-validate-while-idle)
10917 (rng-validate-quick-while-idle): Guard against deleted buffer.
10918 (Bug#13999)
10919
10920 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10921 is the last entry in kill-buffer-hook.
10922
10923 * files.el (kill-buffer-hook): Doc fix.
10924
10925 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10926
10927 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10928 Make it safe-local.
10929
10930 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10931
10932 2013-03-23 Leo Liu <sdl.web@gmail.com>
10933
10934 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10935 Remove.
10936
10937 * nxml/rng-valid.el (rng-validate-mode)
10938 (rng-after-change-function, rng-do-some-validation):
10939 * nxml/rng-maint.el (rng-validate-buffer):
10940 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10941 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10942 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10943 (nxml-extend-after-change-region): Use with-silent-modifications.
10944
10945 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10946 timer-idle-list.
10947
10948 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10949 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10950 timer-idle-list. (Bug#13999)
10951
10952 2013-03-23 Juri Linkov <juri@jurta.org>
10953
10954 * info.el (info-index-match): New face.
10955 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10956 main pattern and add text properties with the new face to matches
10957 in index entries relative to the beginning of the index entry.
10958 (Bug#14015)
10959
10960 2013-03-21 Eric Ludlam <zappo@gnu.org>
10961
10962 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10963 Inhibit read only while inserting objects.
10964
10965 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10966
10967 * progmodes/cfengine.el: Update docs to mention
10968 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10969 symbol motion. Remove "_" from the word syntax.
10970
10971 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10972
10973 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10974 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10975
10976 2013-03-20 Juri Linkov <juri@jurta.org>
10977
10978 * info.el (Info-next-reference-or-link)
10979 (Info-prev-reference-or-link): New functions.
10980 (Info-next-reference, Info-prev-reference): Use them.
10981 (Info-try-follow-nearest-node): Handle footnote navigation.
10982 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10983
10984 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10985
10986 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10987 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10988
10989 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10990
10991 Suppress unnecessary non-ASCII chatter during build process.
10992 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10993 (batch-skkdic-convert): Suppress most of the chatter.
10994 It's not needed so much now that machines are faster,
10995 and its non-ASCII component was confusing; see Dmitry Gutov in
10996 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10997
10998 2013-03-20 Leo Liu <sdl.web@gmail.com>
10999
11000 * ido.el (ido-chop): Fix bug#10994.
11001
11002 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11003
11004 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11005 Remove vars.
11006 (whitespace-color-on, whitespace-color-off):
11007 Use `font-lock-fontify-buffer' (Bug#13817).
11008
11009 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11010
11011 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11012 remapping in mode-line.
11013 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11014
11015 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11016
11017 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11018 value for `whitespace-line' face (Bug#13875).
11019 (whitespace-font-lock-keywords): Change description.
11020 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11021 the constructed keywords instead.
11022 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11023
11024 2013-03-19 Leo Liu <sdl.web@gmail.com>
11025
11026 * progmodes/compile.el (compilation-display-error): New command.
11027 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11028 C-o. (Bug#13992)
11029
11030 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11031
11032 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11033
11034 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11035
11036 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11037
11038 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11039
11040 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11041
11042 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11043 * net/tramp-gvfs.el (top):
11044 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11045 (tramp-handle-shell-command): Use it.
11046 (tramp-dissect-file-name): Raise an error when hostname is a
11047 method name, and neither method nor user is specified.
11048
11049 * net/trampver.el: Update release number.
11050
11051 2013-03-18 Leo Liu <sdl.web@gmail.com>
11052
11053 Make sure eldoc can be turned off properly.
11054 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11055 eldoc-mode.
11056 (eldoc-display-message-p): Revert last change.
11057 (eldoc-display-message-no-interference-p)
11058 (eldoc-print-current-symbol-info): Tweak.
11059
11060 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11061
11062 * doc-view.el (doc-view-new-window-function): Check the new window
11063 overlay's display property instead the char property of the
11064 buffer's first char. Use `with-selected-window' instead of
11065 `save-window-excursion' with `select-window'.
11066 (doc-view-document->bitmap): Check the current doc-view overlay's
11067 display property instead the char property of the buffer's first char.
11068
11069 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11070
11071 Automate the build of ja-dic.el (Bug#13984).
11072 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11073 from the input, rather than assume that it's been done for us by the
11074 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11075 the current date into a ja-dic.el comment, as that complicates
11076 regression testing.
11077
11078 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11079
11080 * whitespace.el: Fix double evaluation.
11081 (whitespace-space, whitespace-hspace, whitespace-tab)
11082 (whitespace-newline, whitespace-trailing, whitespace-line)
11083 (whitespace-space-before-tab, whitespace-indentation)
11084 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11085 obsolete defvars.
11086 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11087 (whitespace-color-on): Use a single font-lock-add-keywords call.
11088 Fix double-evaluation of face variables.
11089
11090 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11091
11092 * net/tramp-adb.el (tramp-adb-parse-device-names):
11093 Use `start-process' instead of `call-process'. Otherwise, the
11094 function might be blocked under MS Windows. (Bug#13299)
11095
11096 2013-03-17 Leo Liu <sdl.web@gmail.com>
11097
11098 Extend eldoc to display info in the mode-line. (Bug#13978)
11099 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11100 (eldoc-mode-line-string): New variable.
11101 (eldoc-minibuffer-message): New function.
11102 (eldoc-message-function): New variable.
11103 (eldoc-message): Use it.
11104 (eldoc-display-message-p)
11105 (eldoc-display-message-no-interference-p):
11106 Support eldoc-post-insert-mode.
11107
11108 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11109 (eval-expression): Run it.
11110
11111 2013-03-17 Roland Winkler <winkler@gnu.org>
11112
11113 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11114 strings in the list of return values.
11115
11116 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11117
11118 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11119 radix before checking for HMS forms.
11120
11121 2013-03-16 Leo Liu <sdl.web@gmail.com>
11122
11123 * progmodes/scheme.el: Add indentation and font-locking for λ.
11124 (Bug#13975)
11125
11126 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11127
11128 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11129 token before point (bug#13942).
11130
11131 2013-03-16 Leo Liu <sdl.web@gmail.com>
11132
11133 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11134
11135 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11136
11137 * startup.el (command-line-normalize-file-name): Fix handling of
11138 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11139 <xfq.free@gmail.com> in
11140 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11141
11142 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11143
11144 Sync with Tramp 2.2.7.
11145
11146 * net/trampver.el: Update release number.
11147
11148 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11149
11150 * doc-view.el: Fix bug#13887.
11151 (doc-view-insert-image): Don't modify overlay associated to
11152 non-live windows, and implement horizontal centering of image in
11153 case it's smaller than the window.
11154 (doc-view-new-window-function): Force redisplay of new windows on
11155 doc-view buffers.
11156
11157 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11158
11159 * saveplace.el (save-place-alist-to-file): Don't sort
11160 `save-place-alist', just pretty-print it (bug#13882).
11161
11162 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11163
11164 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11165 Check whether `default-file-name-coding-system' is bound.
11166 It isn't in XEmacs.
11167
11168 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11169
11170 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11171 backquotes for `obsolete' (bug#13929).
11172
11173 * international/mule.el (find-auto-coding): Include file name in
11174 obsolescence warning (bug#13922).
11175
11176 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11177
11178 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11179 for CFEngine 3-specific indentation.
11180 (cfengine3-indent-line): Use it. Fix up category regex.
11181 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11182
11183 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11184
11185 * type-break.el (type-break-file-name):
11186 * textmodes/remember.el (remember-data-file):
11187 * strokes.el (strokes-file):
11188 * shadowfile.el (shadow-initialize):
11189 * saveplace.el (save-place-file):
11190 * ps-bdf.el (bdf-cache-file):
11191 * progmodes/idlwave.el (idlwave-config-directory):
11192 * net/quickurl.el (quickurl-url-file):
11193 * international/kkc.el (kkc-init-file-name):
11194 * ido.el (ido-save-directory-list-file):
11195 * emulation/viper.el (viper-custom-file-name):
11196 * emulation/vip.el (vip-startup-file):
11197 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11198 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11199
11200 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11201
11202 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11203 * language/thai-word.el: Switch to UTF-8.
11204
11205 See ChangeLog.16 for earlier changes.
11206
11207 ;; Local Variables:
11208 ;; coding: utf-8
11209 ;; End:
11210
11211 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11212
11213 This file is part of GNU Emacs.
11214
11215 GNU Emacs is free software: you can redistribute it and/or modify
11216 it under the terms of the GNU General Public License as published by
11217 the Free Software Foundation, either version 3 of the License, or
11218 (at your option) any later version.
11219
11220 GNU Emacs is distributed in the hope that it will be useful,
11221 but WITHOUT ANY WARRANTY; without even the implied warranty of
11222 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11223 GNU General Public License for more details.
11224
11225 You should have received a copy of the GNU General Public License
11226 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.