* net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2
3 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
4
5 * net/eww.el (eww-display-html): If we can't find the anchor we're
6 looking for, then go to point-min.
7
8 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
9
10 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
11 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
12 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
13 Expand dir too, in case it's relative.
14
15 2013-12-16 Juri Linkov <juri@jurta.org>
16
17 * desktop.el (desktop-auto-save-timeout): Change default to
18 `auto-save-timeout'. Doc fix.
19 (desktop-save): Skip the timestamp in desktop-saved-frameset
20 when checking for auto-save changes.
21 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
22 `desktop-auto-save' is called repeatedly by the idle timer.
23 (desktop-auto-save-set-timer): Replace `run-with-timer' with
24 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
25 (Bug#15331)
26
27 2013-12-16 Juri Linkov <juri@jurta.org>
28
29 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
30 (Bug#16035)
31 (isearch-pre-command-hook): Check `this-command' for symbolp.
32
33 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
34
35 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
36
37 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
38
39 * progmodes/cfengine.el (cfengine3--current-word): Remove.
40 (cfengine3--current-function): Bring in the current-function
41 functionality from `cfengine3--current-word'.
42 (cfengine3-completion-function): Bring in the
43 bounds-of-current-word functionality from
44 `cfengine3--current-word'.
45
46 2013-12-16 Martin Rudalics <rudalics@gmx.at>
47
48 * window.el (display-buffer-below-selected):
49 Bind split-height-threshold to 0 as suggested by Juri Linkov.
50
51 2013-12-16 Leo Liu <sdl.web@gmail.com>
52
53 * progmodes/compile.el (compile-goto-error): Do not push-mark.
54 Remove NOMSG arg and all uses changed.
55
56 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
57
58 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
59 (cua--deactivate-rectangle): Don't deactivate the mark.
60 (cua-set-rectangle-mark): Don't set mark-active since
61 cua--activate-rectangle already does it for us.
62 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
63 non-rectangular region.
64
65 * emulation/cua-base.el (cua-repeat-replace-region):
66 Use with-current-buffer.
67
68 * net/gnutls.el: Use cl-lib.
69 (gnutls-negotiate): `mapcan' -> cl-mapcan.
70
71 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
72
73 * emacs-lisp/package.el (package-built-in-p): Support both
74 built-in and the package.el converted package descriptions.
75 (package-show-package-list): Allow keywords.
76 (package-keyword-button-action): Use it instead of
77 `finder-list-matches'.
78 (package-menu-filter-interactive): Interactive filtering (by
79 keyword) function.
80 (package-menu--generate): Support keywords and change keymappings
81 and headers when they are given.
82 (package--has-keyword-p): Helper function.
83 (package-menu--refresh): Use it.
84 (package--mapc): Helper function.
85 (package-all-keywords): Use it.
86 (package-menu-mode-map): Set up menu items and keybindings to
87 provide a filtering UI.
88
89 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
90
91 * net/gnutls.el (gnutls-verify-error): New defcustom to control
92 the behavior when a certificate fails validation. Defaults to
93 old behavior: never abort, just warn.
94 (gnutls-negotiate): Use it.
95
96 2013-12-14 Martin Rudalics <rudalics@gmx.at>
97
98 * window.el (display-buffer-below-selected): Never split window
99 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
100
101 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
102
103 * emacs-lisp/package.el (package--prepare-dependencies): New function.
104 (package-buffer-info): Use it (bug#15108).
105
106 * icomplete.el (icomplete-completions): Make sure the prefix is already
107 displayed elsewhere before hiding it.
108
109 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
110
111 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
112 open-paren tokens when preceded by a open-paren, too.
113 (ruby-smie-rules): Handle virtual indentation after open-paren
114 tokens specially. If there is code between it and eol, return the
115 column where is starts (Bug#16118).
116
117 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
118
119 * progmodes/cfengine.el: Fix `add-hook' doc.
120 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
121 (cfengine3--current-word): Fix parameters.
122 (cfengine3-make-syntax-cache): Simplify further.
123 (cfengine3-completion-function, cfengine3--current-function):
124 Use `assq' for symbols.
125 (cfengine3--current-function): Fix `cfengine3--current-word' call.
126
127 2013-12-13 Glenn Morris <rgm@gnu.org>
128
129 * loadup.el (load-path): Warn if site-load or site-init changes it.
130 No more need to reset it when bootstrapping.
131
132 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
133
134 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
135 locations for cf-promises.
136 (cfengine-mode-syntax-functions-regex): New caching variable.
137 (cfengine3-fallback-syntax): Fallback syntax for cases where
138 cf-promises doesn't run.
139 (cfengine3--current-word): Reimplement using
140 `cfengine-mode-syntax-functions-regex'.
141 (cfengine3-completion-function, cfengine3--current-function):
142 Use `cfengine3-make-syntax-cache' directly.
143 (cfengine3-clear-syntax-cache): New function.
144 (cfengine3-make-syntax-cache): Simplify and create
145 `cfengine-mode-syntax-functions-regex' on demand.
146 (cfengine3-format-function-docstring): Don't call
147 `cfengine3-make-syntax-cache' explicitly.
148
149 2013-12-13 Martin Rudalics <rudalics@gmx.at>
150
151 Fix windmove-find-other-window broken after pixelwise resizing
152 (Bug#16017).
153 * windmove.el (windmove-other-window-loc): Revert change from
154 2013-12-04.
155 (windmove-find-other-window): Call window-in-direction.
156 * window.el (window-in-direction): New arguments SIGN, WRAP and
157 MINI to emulate original windmove-find-other-window behavior.
158
159 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
160
161 * simple.el (blink-matching--overlay): New variable.
162 (blink-matching-open): Instead of moving point, highlight the
163 matching paren with an overlay
164 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
165
166 * faces.el (paren-showing-faces, show-paren-match)
167 (show-paren-mismatch): Move from paren.el.
168
169 2013-12-13 Leo Liu <sdl.web@gmail.com>
170
171 * indent.el (indent-region): Disable progress reporter in
172 minibuffer. (Bug#16108)
173
174 * bindings.el (visual-order-cursor-movement): Fix version.
175
176 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
177
178 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
179 Also match after beginning of line.
180 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
181 files. Thanks to Russell Sim. (Bug#15378)
182
183 2013-12-13 Juri Linkov <juri@jurta.org>
184
185 * simple.el <Keypad support>: Remove key bindings duplicated
186 with bindings.el. (Bug#14397)
187
188 2013-12-13 Juri Linkov <juri@jurta.org>
189
190 * comint.el (comint-mode-map): Replace `delete-char' with
191 `delete-forward-char'. (Bug#16109)
192
193 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
194
195 * progmodes/python.el (python-indent-calculate-indentation):
196 Fix de-denters cornercase. (Bug#15731)
197
198 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
199
200 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
201 (advice--make): Pay attention to `depth'.
202 (advice--make-1): Don't autoload commands eagerly.
203 * emacs-lisp/elp.el (elp-instrument-function):
204 * emacs-lisp/trace.el (trace-function-internal):
205 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
206
207 * iswitchb.el (iswitchb-mode): Don't belittle ido.
208
209 2013-12-12 Eli Zaretskii <eliz@gnu.org>
210
211 * term/w32-win.el (w32-handle-dropped-file):
212 * startup.el (normal-top-level):
213 * net/browse-url.el (browse-url-file-url):
214 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
215 decode file names using 'utf-8' rather than
216 file-name-coding-system.
217
218 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
219
220 * progmodes/python.el (python-indent-context)
221 (python-indent-calculate-indentation): Fix auto-identation
222 behavior for comment blocks. (Bug#15916)
223
224 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
225
226 * progmodes/python.el (python-indent-calculate-indentation):
227 When determining indentation, don't treat "return", "pass", etc., as
228 operators when they are just string constituents. (Bug#15812)
229
230 2013-12-12 Juri Linkov <juri@jurta.org>
231
232 * uniquify.el (uniquify-buffer-name-style): Change default to
233 `post-forward-angle-brackets'.
234
235 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
236 `uniquify'. Change default to `post-forward-angle-brackets'.
237
238 2013-12-11 Glenn Morris <rgm@gnu.org>
239
240 * emacs-lisp/package.el (finder-list-matches):
241 Autoload rather than falsely declaring.
242
243 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
244
245 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
246 (eww-mode-map): Use them.
247
248 2013-12-11 Martin Rudalics <rudalics@gmx.at>
249
250 * window.el (display-buffer-in-side-window): Fix doc-string
251 (Bug#16115).
252
253 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
254
255 * vc/vc-git.el: Silence byte-compiler warnings.
256 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
257 (log-edit-set-header): Declare.
258
259 2013-12-11 Eli Zaretskii <eliz@gnu.org>
260
261 * Makefile.in (custom-deps, finder-data): Run output file names
262 through unmsys--file-name. (Bug#16099)
263
264 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
265
266 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
267 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
268
269 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
270 instead of deleting the selection "by hand" (bug#16098).
271 Rely on insert-for-yank to yank rectangles.
272 (cua-highlight-region-shift-only): Mark obsolete.
273 (cua-mode): Don't enable/disable transient-mark-mode,
274 shift-select-mode (cua-mode works both with and without them), and
275 pc-selection-mode (obsolete).
276 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
277 (cua--deactivate-rectangle): Deactivate it.
278
279 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
280 (delete-selection-helper): Make sure yank starts at the top of the
281 deleted region.
282 (minibuffer-keyboard-quit): Use region-active-p.
283
284 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
285
286 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
287 to `delete' (bug#16109).
288
289 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
290
291 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
292 info manual and show keybindings and set `:group' keyword.
293
294 2013-12-11 Juri Linkov <juri@jurta.org>
295
296 * delsel.el (delete-active-region): Let-bind `this-command'
297 to prevent `kill-region' from changing its original value.
298 (delete-selection-helper): Handle `overwrite-mode' for the type
299 `kill' exactly the same way as for the type `t'.
300 (insert-char, quoted-insert, reindent-then-newline-and-indent):
301 Support more commands. (Bug#13312)
302
303 2013-12-11 Juri Linkov <juri@jurta.org>
304
305 * bindings.el: Map kp keys to non-kp keys systematically
306 with basic modifiers control, meta and shift. (Bug#14397)
307
308 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
309
310 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
311 "Close browser" menu items. Fix wrong function of "List
312 bookmarks".
313
314 2013-12-11 Juri Linkov <juri@jurta.org>
315
316 * misearch.el (multi-isearch-buffers): Set the value of
317 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
318 arg of isearch-forward to t.
319 (multi-isearch-buffers-regexp): Set the value of
320 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
321 arg of isearch-forward-regexp to t.
322 (multi-isearch-files): Set the value of
323 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
324 arg of isearch-forward to t.
325 (multi-isearch-files-regexp): Set the value of
326 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
327 arg of isearch-forward-regexp to t. (Bug#16035)
328
329 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
330 arg of isearch-forward to t.
331 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
332 arg of isearch-forward-regexp to t.
333 (dired-isearch-filter-filenames): Remove unnecessary check for
334 `dired-isearch-filenames'.
335
336 * comint.el (comint-history-isearch-backward):
337 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
338 (comint-history-isearch-backward-regexp):
339 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
340
341 2013-12-10 Eli Zaretskii <eliz@gnu.org>
342
343 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
344 unmsys--file-name. (Bug#16099)
345
346 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
347
348 * emacs-lisp/package.el (package-keyword-button-action):
349 Remove finder.el require dependency.
350
351 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
352
353 * emacs-lisp/package.el: Require finder.el.
354 (describe-package-1): Add keyword buttons.
355 (package-make-button): New convenience function.
356 (package-keyword-button-action): Keyword button action using
357 `finder-list-matches'
358
359 2013-12-09 Eli Zaretskii <eliz@gnu.org>
360
361 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
362 last commit.
363
364 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
365
366 * autorevert.el (auto-revert-notify-add-watch): Do not handle
367 symlinked files.
368
369 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
370
371 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
372 after the end of a percent literal.
373
374 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
375
376 * progmodes/ruby-mode.el (ruby-forward-string): Document.
377 Handle caret-delimited strings (Bug#16079).
378
379 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
380
381 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
382 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
383 `ruby-parse-partial' (Bug#16078).
384
385 2013-12-09 Leo Liu <sdl.web@gmail.com>
386
387 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
388
389 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
390
391 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
392 (js-switch-indent-offset): New option.
393 (js--proper-indentation): Use it. And handle the case when
394 "default" is actually a key in an object literal.
395 (js--same-line): New function.
396 (js--multi-line-declaration-indentation): Use it.
397 (js--indent-in-array-comp, js--array-comp-indentation):
398 New functions.
399 (js--proper-indentation): Use them, to handle array comprehension
400 continuations.
401
402 2013-12-08 Leo Liu <sdl.web@gmail.com>
403
404 * progmodes/flymake.el (flymake-highlight-line): Re-write.
405 (flymake-make-overlay): Remove arg MOUSE-FACE.
406 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
407
408 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
409
410 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
411 New function.
412 (redisplay-highlight-region-function): Use it.
413
414 * emulation/cua-base.el (cua--explicit-region-start)
415 (cua--last-region-shifted): Remove.
416 (cua--deactivate): Use deactivate-mark.
417 (cua--pre-command-handler-1): Don't handle shift-selection.
418 (cua--post-command-handler-1): Don't change transient-mark-mode.
419 (cua--select-keymaps): Use region-active-p rather than
420 cua--explicit-region-start or cua--last-region-shifted.
421 (cua-mode): Enable shift-select-mode.
422
423 2013-12-08 Leo Liu <sdl.web@gmail.com>
424
425 * progmodes/flymake.el (flymake-popup-current-error-menu):
426 Rename from flymake-display-err-menu-for-current-line. Reimplement.
427 (flymake-posn-at-point-as-event, flymake-popup-menu)
428 (flymake-make-emacs-menu): Remove. (Bug#16077)
429
430 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
431
432 * rect.el (rectangle-mark-mode): Activate mark even if
433 transient-mark-mode is off (bug#16066).
434 (rectangle--highlight-for-redisplay): Fix boundary condition when point
435 is > mark and at bolp.
436
437 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
438 (region-extract-function): Use it.
439 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
440 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
441 Delete functions.
442 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
443 kill-ring-save, kill-region, delete-char, delete-forward-char.
444 Ignore self-insert-iso.
445
446 * emulation/cua-gmrk.el (cua--init-global-mark):
447 Ignore `self-insert-iso'.
448
449 * emulation/cua-base.el (cua--prefix-copy-handler)
450 (cua--prefix-cut-handler): Rely on region-extract-function rather than
451 checking cua--rectangle.
452 (cua-delete-region): Use region-extract-function.
453 (cua-replace-region): Delete function.
454 (cua-copy-region, cua-cut-region): Obey region-extract-function.
455 (cua--pre-command-handler-1): Don't do the delete-selection thing.
456 (cua--self-insert-char-p): Ignore `self-insert-iso'.
457 (cua--init-keymaps): Don't remap delete-selection commands.
458 (cua-mode): Use delete-selection-mode instead of rolling our own
459 (bug#16085).
460
461 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
462 Obey region-extract-function.
463
464 Make registers and delete-selection-mode work on rectangles.
465 * register.el (describe-register-1): Don't modify the register's value.
466 (copy-to-register): Obey region-extract-function.
467 * delsel.el (delete-active-region): Obey region-extract-function.
468
469 2013-12-08 Leo Liu <sdl.web@gmail.com>
470
471 * progmodes/flymake.el (flymake, flymake-error-bitmap)
472 (flymake-warning-bitmap, flymake-fringe-indicator-position)
473 (flymake-compilation-prevents-syntax-check)
474 (flymake-start-syntax-check-on-newline)
475 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
476 (flymake-start-syntax-check-on-find-file, flymake-log-level)
477 (flymake-xml-program, flymake-master-file-dirs)
478 (flymake-master-file-count-limit)
479 (flymake-allowed-file-name-masks): Relocate.
480 (flymake-makehash, flymake-float-time)
481 (flymake-replace-regexp-in-string, flymake-split-string)
482 (flymake-get-temp-dir): Remove.
483 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
484 (flymake-current-row, flymake-selected-frame)
485 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
486 related functions. (Bug#16077)
487
488 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
489
490 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
491
492 2013-12-07 Tassilo Horn <tsdh@gnu.org>
493
494 * help-fns.el (describe-function-1): Use new advice-* functions
495 rather than old ad-* functions. Fix function type description and
496 source links for advised functions and subrs.
497
498 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
499
500 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
501
502 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
503
504 * progmodes/compile.el (compilation-start):
505 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
506
507 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
508 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
509
510 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
511
512 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
513 Touch up the last change.
514
515 2013-12-06 Leo Liu <sdl.web@gmail.com>
516
517 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
518 (inferior-octave-startup): Always use "octave> " for prompt.
519 (octave-goto-function-definition)
520 (octave-sync-function-file-names)
521 (octave-find-definition-default-filename): Remove redundant backquotes.
522
523 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
524
525 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
526 syntax for `?'.
527 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
528 where appropriate already.
529 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
530 end of method names (Bug#15874).
531
532 2013-12-06 Juri Linkov <juri@jurta.org>
533
534 * isearch.el (isearch--saved-overriding-local-map):
535 New internal variable.
536 (isearch-mode): Set it to the initial value of
537 `overriding-terminal-local-map'.
538 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
539 with `isearch--saved-overriding-local-map'. (Bug#16035)
540
541 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
542
543 * progmodes/octave.el (inferior-octave-completion-table):
544 Turn back into function, use `completion-table-with-cache'
545 (Bug#11906). Update all references.
546
547 * minibuffer.el (completion-table-with-cache): New function.
548
549 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
550
551 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
552
553 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
554
555 * net/eww.el (eww-current-source): New variable to store page
556 source.
557 (eww-display-html, eww-mode, eww-save-history)
558 (eww-restore-history): Use it.
559 (eww-view-source): New command to view page source.
560 Opportunistically uses `html-mode' to highlight the buffer.
561 (eww-mode-map): Install it.
562
563 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
564
565 * net/dbus.el (dbus-unregister-service)
566 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
567 Fix docstring.
568 (dbus-unregister-service): Skip :serial entries in
569 `dbus-registered-objects-table'.
570 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
571
572 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
573
574 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
575 around keywords with extra `split-string' argument.
576
577 2013-12-04 Martin Rudalics <rudalics@gmx.at>
578
579 * windmove.el (windmove-other-window-loc): Handle navigation
580 between windows (excluding the minibuffer window - Bug#16017).
581
582 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
583
584 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
585 in D-Bus type syntax.
586 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
587 preserve unibyte strings. (Bug#16048)
588
589 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
590
591 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
592 Call force-mode-line-update is the proper buffer (bug#16042).
593
594 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
595
596 * vc/log-edit.el (log-edit-add-new-comment): Rename to
597 `log-edit-remember-comment', make argument optional. Adjust all
598 callers.
599 (log-edit-mode): Add `log-edit-remember-comment' to
600 `kill-buffer-hook' locally.
601 (log-edit-kill-buffer): Don't remember comment explicitly since
602 the buffer is killed anyway.
603
604 2013-12-04 Juri Linkov <juri@jurta.org>
605
606 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
607 add-hook and remove-hook for multi-buffer search. (Bug#16035)
608
609 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
610
611 * notifications.el (notifications-close-notification): Call the
612 D-Bus method with ID being a `:uint32'. (Bug#16030)
613
614 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
615
616 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
617
618 2013-12-03 Juri Linkov <juri@jurta.org>
619
620 * progmodes/compile.el (compilation-start): Rename window alist
621 entry `no-display-ok' to `allow-no-window'.
622
623 * simple.el (shell-command): Add window alist entry
624 `allow-no-window' to `display-buffer'.
625 (async-shell-command): Doc fix.
626
627 * window.el (display-buffer-no-window): New action function.
628 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
629
630 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
631
632 * vc/log-edit.el (log-edit-set-header): Extract from
633 `log-edit-toggle-header'.
634 (log-edit-extract-headers): Separate the summary, when extracted
635 from header, from the rest of the message with an empty line.
636
637 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
638 line, if present, to the Summary header.
639
640 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
641
642 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
643 in current-buffer (bug#16029).
644
645 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
646
647 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
648 (debugger-mode-map): Bind it.
649 (debugger--backtrace-base): New function.
650 (debugger-eval-expression): Use it.
651 (debugger-frame-number): Skip local vars when present.
652 (debugger--locals-visible-p, debugger--insert-locals)
653 (debugger--show-locals, debugger--hide-locals): New functions.
654
655 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
656
657 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
658 "LC_ALL".
659 (tramp-get-remote-locale): New defun.
660 (tramp-open-connection-setup-interactive-shell): Use it.
661
662 2013-12-02 Leo Liu <sdl.web@gmail.com>
663
664 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
665
666 * progmodes/sh-script.el (sh-shell-process):
667 * progmodes/octave.el (inferior-octave-process-live-p):
668 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
669 (gdb-inferior-io-sentinel):
670 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
671
672 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
673
674 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
675 `save-selected-window' to `log-edit-hide-buf'. This makes
676 `log-edit-show-files' idempotent.
677 (log-edit-show-files): Mark the new window as dedicated.
678
679 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
680
681 * vc/log-edit.el (log-edit-mode-map): Add binding for
682 `log-edit-kill-biffer'.
683 (log-edit-hide-buf): Add a FIXME comment.
684 (log-edit-add-new-comment): New function, extracted from
685 `log-edit-done'.
686 (log-edit-done, log-edit-add-to-changelog): Use it.
687 (log-edit-kill-buffer): New command.
688
689 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
690
691 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
692 instead of killing the buffer.
693
694 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
695
696 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
697
698 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
699
700 * net/eww.el (eww-form-checkbox-selected-symbol)
701 (eww-form-checkbox-symbol): New customizable variable.
702 (eww-form-checkbox, eww-toggle-checkbox):
703 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
704
705 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
706 (shr--get-media-pref, shr--extract-best-source): New function.
707 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
708 no :src tag was specified.
709
710 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
711 (eww-render): Handle `eww-use-external-browser-for-content-type'.
712 Use \\` to match beginning of string instead of ^.
713 (eww-browse-with-external-browser): Provide optional URL parameter.
714 (eww-render): Set `eww-current-title' back to "".
715
716 * net/shr.el (shr-tag-video): Display content for video if no
717 poster is available.
718 (shr-tag-audio): Add support for <audio> tag.
719
720 * net/eww.el (eww-text-input-types): : New const.
721 (eww-process-text-input): Treat input types in
722 `eww-text-input-types' as text.
723
724 * net/shr.el (shr-tag-table): Fix comment typo.
725
726 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
727
728 * net/eww.el (eww-follow-link): New command to avoid reloading
729 pages when we follow #target links (bug#15243).
730 (eww-quit): Special mode buffers shouldn't query before exiting.
731
732 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
733
734 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
735 forms.
736
737 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
738
739 * net/eww.el (eww-restore-history): Update the window title after
740 moving in the history.
741 (eww-current-dom): New variable used to save the current DOM.
742
743 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
744
745 * vc/log-edit.el (log-edit-mode-map): Add binding for
746 `log-edit-beginning-of-line'.
747 (log-edit-setup-add-author): New user option.
748 (log-edit-beginning-of-line): New command.
749 (log-edit): Move major mode call above the contents setup so that
750 the local variable values are already applied.
751 (log-edit): Only insert "Author: " when
752 `log-edit-setup-add-author' is non-nil.
753 (log-edit): When SETUP is non-nil, position point after ": "
754 instead of point-min.
755
756 2013-12-01 Glenn Morris <rgm@gnu.org>
757
758 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
759
760 2013-11-30 Eli Zaretskii <eliz@gnu.org>
761
762 * startup.el (fancy-splash-frame): On MS-Windows, trigger
763 redisplay to make sure the initial frame gets a chance to become
764 visible. (Bug#16014)
765
766 2013-11-30 Martin Rudalics <rudalics@gmx.at>
767
768 Support resizing frames and windows pixelwise.
769 * cus-start.el (frame-resize-pixelwise)
770 (window-resize-pixelwise): New entries.
771 * emacs-lisp/debug.el (debug): Use window-total-height instead
772 of window-total-size.
773 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
774 * help.el (describe-bindings-internal): Call help-buffer
775 (temp-buffer-max-width): New option.
776 (resize-temp-buffer-window, help-window-setup)
777 (with-help-window): Rewrite.
778 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
779 dragging dividers.
780 * window.el (frame-char-size, window-min-pixel-height)
781 (window-safe-min-pixel-height, window-safe-min-pixel-width)
782 (window-min-pixel-width, window-safe-min-pixel-size)
783 (window-combination-p, window-safe-min-size)
784 (window-resizable-p, window--size-to-pixel)
785 (window--pixel-to-size, window--resize-apply-p): New functions.
786 (window-safe-min-height): Fix doc-string.
787 (window-size, window-min-size, window--min-size-1)
788 (window-sizable, window-sizable-p, window--min-delta-1)
789 (window-min-delta, window--max-delta-1, window-max-delta)
790 (window--resizable, window--resizable-p, window-resizable)
791 (window-full-height-p, window-full-width-p, window-at-side-p)
792 (window--in-direction-2, window-in-direction)
793 (window--resize-reset-1, window--resize-mini-window)
794 (window-resize, window-resize-no-error)
795 (window--resize-child-windows-normal)
796 (window--resize-child-windows, window--resize-siblings)
797 (window--resize-this-window, window--resize-root-window)
798 (window--resize-root-window-vertically)
799 (adjust-window-trailing-edge, enlarge-window, shrink-window)
800 (maximize-window, minimize-window, delete-window)
801 (quit-restore-window, window-split-min-size, split-window)
802 (balance-windows-2, balance-windows)
803 (balance-windows-area-adjust, balance-windows-area)
804 (window--state-get-1, window-state-get, window--state-put-1)
805 (window--state-put-2, window-state-put)
806 (display-buffer-record-window, window--display-buffer):
807 Make functions handle pixelwise sizing of windows.
808 (display-buffer--action-function-custom-type)
809 (display-buffer-fallback-action):
810 Add display-buffer-in-previous-window.
811 (display-buffer-use-some-window): Resize window to height it had
812 before.
813 (fit-window-to-buffer-horizontally): New option.
814 (fit-frame-to-buffer): Describe new values.
815 (fit-frame-to-buffer-bottom-margin): Replace with
816 fit-frame-to-buffer-margins.
817 (window--sanitize-margin): New function.
818 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
819 using window-text-pixel-size.
820
821 2013-11-30 Glenn Morris <rgm@gnu.org>
822
823 * emacs-lisp/bytecomp.el (byte-compile-form):
824 Make the `interactive-only' warning like the `obsolete' one.
825 * comint.el (comint-run):
826 * files.el (insert-file-literally, insert-file):
827 * replace.el (replace-string, replace-regexp):
828 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
829 (goto-line, insert-buffer, next-line, previous-line):
830 Tweak `interactive-only' spec.
831
832 Stop keeping (most) generated cedet grammar files in the repository.
833 * Makefile.in (semantic): New.
834 (compile-main): Depend on semantic.
835
836 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
837
838 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
839 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
840
841 * uniquify.el (uniquify-buffer-name-style): Change default.
842
843 * loadup.el: Preload "uniquify".
844
845 * time.el (display-time-update): Update all mode lines (bug#15999).
846
847 * electric.el (electric-indent-mode): Enable by default.
848 * loadup.el: Preload "electric".
849
850 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
851
852 * emacs-lisp/helpers.el (string-empty-p): New function.
853 (string-blank-p): New function.
854
855 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
856
857 * imenu.el (imenu--index-alist): Add missing dot to the docstring
858 (Bug#14029).
859
860 2013-11-29 Andreas Politz <politza@fh-trier.de>
861 * imenu.el (imenu--subalist-p): Don't error on non-conses and
862 allow non-lambda lists as functions.
863 (imenu--in-alist): Don't recurse into non-subalists.
864 (imenu): Don't pass function itself as an argument (Bug#14029).
865
866 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
867
868 * progmodes/python.el (python-mode-map): Remove binding for ":".
869 (python-indent-electric-colon): Remove command.
870 (python-indent-post-self-insert-function): Integrate the previous code
871 of python-indent-electric-colon. Make it conditional on
872 electric-indent-mode.
873 (python-mode): Add ?: to electric-indent-chars.
874 Move python-indent-post-self-insert-function to the end of
875 post-self-insert-hook.
876
877 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
878
879 * doc-view.el (doc-view-goto-page): Update mode-line.
880
881 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
882
883 2013-11-27 Glenn Morris <rgm@gnu.org>
884
885 * international/charprop.el, international/uni-bidi.el:
886 * international/uni-category.el, international/uni-combining.el:
887 * international/uni-comment.el, international/uni-decimal.el:
888 * international/uni-decomposition.el, international/uni-digit.el:
889 * international/uni-lowercase.el, international/uni-mirrored.el:
890 * international/uni-name.el, international/uni-numeric.el:
891 * international/uni-old-name.el, international/uni-titlecase.el:
892 * international/uni-uppercase.el:
893 Remove generated files from VCS repository.
894
895 2013-11-27 Eli Zaretskii <eliz@gnu.org>
896
897 * filenotify.el (file-notify-add-watch): Don't special-case
898 w32notify when computing the directory to watch.
899
900 2013-11-27 Glenn Morris <rgm@gnu.org>
901
902 Make bootstrap without generated uni-*.el files possible again.
903 * loadup.el: Update command-line-args checking for unidata-gen.
904 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
905 * composite.el, international/characters.el:
906 Handle unicode tables being undefined.
907
908 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
909 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
910 (compile-main): Depend on leim rule.
911 (leim): New rule.
912 * loadup.el: Move leim-list.el to leim/ subdirectory.
913 * startup.el (normal-top-level): No more leim directory.
914 * international/ja-dic-cnv.el (skkdic-convert):
915 Disable version-control and autoloads in output files.
916 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
917 Disable version-control and autoloads in output files.
918 * leim/quail: Move here from ../leim.
919 * leim/quail/hangul.el (hangul-input-method-activate):
920 Add autoload cookie.
921 (generated-autoload-load-name): Set file-local value.
922 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
923 (generated-autoload-load-name): Set file-local value.
924
925 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
926
927 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
928 (eww-add-bookmark): ask confirmation when add to bookmarks
929 (eww-quit): ask confirmation before quitting eww
930
931 2013-11-26 Eli Zaretskii <eliz@gnu.org>
932
933 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
934 reading output from Diff on MS-Windows and MS-DOS.
935
936 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
937
938 * emacs-lisp/helpers.el (string-reverse): New function.
939
940 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
941
942 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
943 names on MS Windows, like "/[::1]:".
944
945 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
946 SWITCHES.
947
948 2013-11-26 Glenn Morris <rgm@gnu.org>
949
950 * progmodes/python.el (python-indent-guess-indent-offset):
951 Avoid corner-case error. (Bug#15975)
952
953 Preload leim-list.el. (Bug#4789)
954 * loadup.el: Load leim-list.el when found.
955 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
956
957 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
958
959 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
960
961 * emacs-lisp/helpers.el (string-join): New function.
962
963 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
964
965 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
966 Mark as obsolete and replace it with a symbol property.
967 (byte-compile-form): Use new 'interactive-only property.
968 * comint.el, files.el, replace.el, simple.el:
969 Apply new 'interactive-only properly.
970
971 2013-11-25 Martin Rudalics <rudalics@gmx.at>
972
973 * window.el (display-buffer-at-bottom): Make sure that
974 split-window-sensibly creates the new window on bottom
975 (Bug#15961).
976
977 2013-11-23 David Kastrup <dak@gnu.org>
978
979 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
980 on the conflict markers when available.
981 (smerge--get-marker): New function.
982 (smerge-end-re, smerge-base-re): Add subgroup.
983
984 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
985
986 * frame.el (handle-focus-in, handle-focus-out): Add missing
987 interactive spec.
988
989 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
990
991 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
992 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
993
994 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
995
996 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
997 (gomoku--last-pos): New var.
998 (gomoku--intangible-chars): New const.
999 (gomoku--intangible): New function.
1000 (gomoku-mode): Use it. Derive from special-mode.
1001 (gomoku-move-up): Adjust line count.
1002 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1003 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1004 Simplify accordingly.
1005
1006 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1007 Remove blink-cursor code.
1008 (blink-cursor-timer-function, blink-cursor-suspend):
1009 Don't special-case GUIs.
1010 (blink-cursor-mode): Use focus-in/out-hook.
1011
1012 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1013
1014 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1015 work when annotation is invisible (Bug#13886).
1016
1017 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1018
1019 * json.el (json-alist-p): Only return non-nil if the alist has
1020 simple keys (Bug#13518).
1021
1022 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1023
1024 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1025 when control-statement is the first statement in a buffer (Bug#15956).
1026
1027 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1028
1029 * imenu.el (imenu-generic-skip-comments-and-strings):
1030 New option (Bug#15560).
1031 (imenu--generic-function): Use it.
1032
1033 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1034
1035 * minibuffer.el (completion--in-region-1): Scroll the correct
1036 window. (Bug#13898)
1037
1038 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1039
1040 * emacs-lisp/helpers.el: Add some string helpers.
1041 (string-trim-left): Removes leading whitespace.
1042 (string-trim-right): Removes trailing whitespace.
1043 (string-trim): Removes leading and trailing whitespace.
1044
1045 * subr.el (string-suffix-p): New function.
1046
1047 2013-11-23 Glenn Morris <rgm@gnu.org>
1048
1049 * progmodes/python.el (python-shell-send-file):
1050 Add option to delete file when done. (Bug#15647)
1051 (python-shell-send-string, python-shell-send-region): Use it.
1052
1053 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1054
1055 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1056 to set buffer-read-only to t, never to nil. (Bug#15938)
1057
1058 * textmodes/tex-mode.el (latex-noindent-environments):
1059 Add safe-local-variable property. (Bug#15936)
1060
1061 2013-11-23 Glenn Morris <rgm@gnu.org>
1062
1063 * textmodes/enriched.el (enriched-mode): Doc fix.
1064 * emacs-lisp/authors.el (authors-renamed-files-alist):
1065 Add enriched.doc -> enriched.txt.
1066
1067 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1068
1069 2013-11-22 Leo Liu <sdl.web@gmail.com>
1070
1071 * progmodes/octave.el (inferior-octave-startup): Spit out error
1072 message.
1073
1074 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1075
1076 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1077 Improve docstring.
1078 Add :version.
1079 (ruby-encoding-magic-comment-style): Add :version.
1080
1081 2013-11-22 Leo Liu <sdl.web@gmail.com>
1082
1083 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1084 (Bug#15076)
1085 (octave-help-mode): Adapt to change to help-mode-finish to use
1086 derived-mode-p on 2013-09-17.
1087 (inferior-octave-prompt): Also match octave-gui.
1088 (octave-kill-process): Don't ask twice. (Bug#10564)
1089
1090 2013-11-22 Leo Liu <sdl.web@gmail.com>
1091
1092 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1093 (inferior-octave-startup, inferior-octave-check-process)
1094 (inferior-octave-track-window-width-change)
1095 (octave-completion-at-point, octave-eldoc-function): Use it.
1096 (octave-kill-process): Provide confirmation. (Bug#10564)
1097
1098 2013-11-21 Leo Liu <sdl.web@gmail.com>
1099
1100 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1101 Fix obsolete variable comment-use-global-state.
1102
1103 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1104
1105 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1106 Add `octave-source-file'.
1107 (octave-source-file): New function. (Bug#15935)
1108
1109 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1110
1111 * net/eww.el (eww-local-regex): New variable.
1112 (eww): Use it to detect localhost and similar.
1113
1114 2013-11-21 Leo Liu <sdl.web@gmail.com>
1115
1116 Add completion for command `ag'.
1117 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1118 (pcomplete/ag): New function.
1119 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1120
1121 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1122
1123 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1124 (bug#14646).
1125 (make-obsolete): Remove interactive spec.
1126
1127 2013-11-21 Glenn Morris <rgm@gnu.org>
1128
1129 * startup.el (command-line-1): Use path-separator with -L.
1130
1131 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1132
1133 * emacs-lisp/package.el (describe-package-1): Add package archive
1134 to shown fields.
1135
1136 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1137
1138 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1139 Change default to "# encoding: %s" to differentiate it from the
1140 default Ruby encoding comment template.
1141
1142 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1143
1144 * ses.el (ses-mode): Doc fix. (Bug#14748)
1145
1146 2013-11-20 Leo Liu <sdl.web@gmail.com>
1147
1148 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1149
1150 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1151
1152 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1153 when rebase or bisect are in progress.
1154
1155 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1156
1157 * filenotify.el (file-notify-add-watch): Doc fix.
1158
1159 2013-11-19 Leo Liu <sdl.web@gmail.com>
1160
1161 * obsolete/rcompile.el: Mark obsolete.
1162
1163 * progmodes/compile.el (compilation-start)
1164 (compilation-goto-locus, compilation-find-file):
1165 Pass no-display-ok and handle nil value from display-buffer.
1166 (Bug#13594)
1167
1168 * window.el (display-buffer-alist, display-buffer): Document the
1169 new parameter no-display-ok. Return either a window or nil
1170 but never a non-window value.
1171
1172 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1173
1174 * electric.el (electric-indent-mode-map): Remove.
1175 (electric-indent-mode): Change the global-map instead (bug#15915).
1176
1177 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1178 Use add-function.
1179
1180 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1181
1182 * emacs-lisp/nadvice.el (remove-function): Align with
1183 add-function's behavior.
1184
1185 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1186 (gdb--string-regexp): New constant.
1187 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1188 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1189 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1190 submatch 1.
1191 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1192 Adjust use accordingly.
1193 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1194
1195 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1196
1197 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1198 interpolation curlies (Bug#15914).
1199
1200 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1201
1202 * calc/calc.el (calc-context-sensitive-enter): New variable.
1203 (calc-enter): Use `calc-context-sensitive-enter'.
1204
1205 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1206
1207 * progmodes/cfengine.el: Version bump.
1208 (cfengine-cf-promises): New defcustom to locate cf-promises.
1209 (cfengine3-vartypes): Add new "data" type.
1210 (cfengine3--current-word): New function to get current name-like
1211 word or its bounds.
1212 (cfengine3--current-function): New function to look up a CFEngine
1213 function's definition.
1214 (cfengine3-format-function-docstring): New function.
1215 (cfengine3-make-syntax-cache): New function.
1216 (cfengine3-documentation-function): New function: ElDoc glue.
1217 (cfengine3-completion-function): New function: completion glue.
1218 (cfengine3-mode): Set `compile-command',
1219 `eldoc-documentation-function', and add to
1220 `completion-at-point-functions'.
1221
1222 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1223
1224 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1225 `tramp-current-connection'.
1226
1227 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1228
1229 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1230 nil/self/true/false with "end of symbol".
1231
1232 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1233
1234 * subr.el (version-regexp-alist): Fix a typo.
1235
1236 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1237
1238 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1239 "en_US.utf8" and "LC_CTYPE" to "".
1240 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1241 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1242
1243 2013-11-15 Leo Liu <sdl.web@gmail.com>
1244
1245 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1246
1247 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1248
1249 * progmodes/gud.el (ctl-x-map):
1250 Remove C-x SPC binding. (Bug#12342)
1251 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1252
1253 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1254
1255 * subr.el (version-regexp-alist):
1256 Recognize hg, svn and darcs versions as snapshot versions.
1257
1258 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1259 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1260 (ruby--encoding-comment-required-p): Extract from
1261 `ruby-mode-set-encoding'.
1262 (ruby-mode-set-encoding): Add the ability to always insert an
1263 utf-8 encoding comment. Fix and simplify coding comment update
1264 logic.
1265
1266 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1267
1268 * net/tramp-gvfs.el (top): Run init code only when
1269 `tramp-gvfs-enabled' is not nil.
1270 (tramp-gvfs-enabled): Check also :system bus.
1271
1272 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1273
1274 Sync with upstream verilog-mode revision 78e66ba.
1275 * progmodes/verilog-mode.el (verilog-end-of-defun)
1276 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1277 (verilog-get-end-of-defun): Remove unused argument.
1278 (verilog-comment-depth): Remove unused local `e'.
1279 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1280 Don't pass arg to verilog-get-end-of-defun.
1281
1282 2013-11-14 Glenn Morris <rgm@gnu.org>
1283
1284 * obsolete/assoc.el (aget): Prefix dynamic variable.
1285
1286 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1287
1288 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1289
1290 * widget.el, hfy-cmap.el: Remove bogus package version number.
1291
1292 2013-11-13 Glenn Morris <rgm@gnu.org>
1293
1294 * replace.el (replace-eval-replacement):
1295 Try to give more helpful error message. (Bug#15836)
1296
1297 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1298 (archive-7z-update): Avoid custom type mismatches.
1299
1300 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1301
1302 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1303
1304 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1305 address can be empty.
1306
1307 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1308 Accept nil SWITCHES.
1309 (tramp-gvfs-handle-write-region): Implement APPEND.
1310
1311 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1312
1313 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1314 binary "|" operator and closing block args delimiter.
1315 Remove FIXME comment referring to Ruby 1.8-only syntax.
1316 (ruby-smie--implicit-semi-p): Not after "|" operator.
1317 (ruby-smie--closing-pipe-p): New function.
1318 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1319 (ruby-smie-rules): Indent after "|".
1320
1321 2013-11-12 Glenn Morris <rgm@gnu.org>
1322
1323 * ps-print.el (ps-face-attribute-list):
1324 Handle anonymous faces. (Bug#15827)
1325
1326 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1327
1328 * window.el (display-buffer-other-frame): Fix doc-string.
1329 (Bug#15868)
1330
1331 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1332
1333 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1334
1335 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1336
1337 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1338 (tramp-sh-handle-file-local-copy): Don't write a message when
1339 saving temporary files.
1340
1341 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1342 both directories are remote.
1343 (tramp-smb-handle-directory-files): Do not return double entries.
1344 Do not expand full file names.
1345 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1346 (tramp-smb-handle-write-region): Implement APPEND.
1347 (tramp-smb-get-stat-capability): Fix a stupid bug.
1348
1349 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1350
1351 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1352
1353 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1354
1355 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1356 throwing error over malformed let/let* (bug#15814).
1357
1358 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1359
1360 * iswitchb.el (iswitchb-mode): Mark obsolete.
1361
1362 2013-11-11 Glenn Morris <rgm@gnu.org>
1363
1364 * international/uni-bidi.el, international/uni-category.el:
1365 * international/uni-name.el, international/uni-numeric.el:
1366 Regenerate for Unicode 6.3.0.
1367
1368 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1369
1370 * net/tramp.el (tramp-methods):
1371 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1372 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1373
1374 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1375
1376 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1377 Force highlighting text after Summary keyword in doc face for rpm.
1378
1379 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1380
1381 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1382 available and the word has no wildcards, append one to the grep pattern.
1383 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1384 (ispell-complete-word): Call `ispell-lookup-words' with the value
1385 independent of `ispell-look-p'.
1386
1387 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1388
1389 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1390 Not after "||".
1391 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1392 their parent.
1393
1394 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1395
1396 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1397 (ruby-font-lock-keywords): Use backquote.
1398
1399 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1400
1401 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1402 (ruby-smie--backward-token): Only consider full-string matches.
1403
1404 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1405
1406 * faces.el (describe-face): Add distant-foreground.
1407
1408 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1409
1410 * progmodes/ruby-mode.el: Improve encoding comment handling.
1411 (ruby-encoding-magic-comment-style): New option.
1412 (ruby-custom-encoding-magic-comment-template): New option.
1413 (ruby--insert-coding-comment, ruby--detect-encoding):
1414 New functions extracted from `ruby-mode-set-encoding'.
1415 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1416 to control the style of the auto-inserted encoding comment.
1417
1418 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1419
1420 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1421 Use `smie-backward-sexp' with token argument.
1422
1423 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1424
1425 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1426 Remove instrumentation code.
1427
1428 2013-11-08 Glenn Morris <rgm@gnu.org>
1429
1430 * progmodes/autoconf.el (autoconf-mode):
1431 Tweak comment-start-skip. (Bug#15822)
1432
1433 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1434
1435 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1436 at bobp (bug#15826).
1437 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1438
1439 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1440
1441 * man.el (Man-start-calling): New macro, extracted from
1442 Man-getpage-in-background.
1443 (Man-getpage-in-background): Use it.
1444 (Man-update-manpage): New command.
1445 (Man-mode-map): Bind it.
1446
1447 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1448
1449 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1450 of "and", "or", "&&" and "||".
1451 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1452 argument. Prohibit opening curly brace because it could only be a
1453 block opener in that position.
1454 (ruby-smie--forward-token, ruby-smie--backward-token):
1455 Separate "|" from "&" or "*" going after it. That can happen in block
1456 arguments.
1457 (ruby-smie--indent-to-stmt): New function, seeks the end of
1458 previous statement or beginning of buffer.
1459 (ruby-smie-rules): Use it.
1460 (ruby-smie-rules): Check if there's a ":" before a curly block
1461 opener candidate; if there is, it's a hash.
1462
1463 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1464
1465 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1466 (cl--block-wrapper): Fix last accidental change.
1467
1468 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1469
1470 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1471 Instrument, in order to hunt failure on hydra.
1472
1473 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1474
1475 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1476 malformed bindings form (bug#15814).
1477
1478 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1479
1480 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1481 "." compared to " @ ". This incidentally fixes some indentation
1482 examples with "do".
1483 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1484 (ruby-smie-grammar): New tokens: "and" and "or".
1485 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1486 Exclude "and" and "or". Remove "do" in order to work around token
1487 priorities.
1488 (ruby-smie-rules): Add all infix tokens. Handle the case of
1489 beginning-of-buffer.
1490
1491 2013-11-06 Glenn Morris <rgm@gnu.org>
1492
1493 * Makefile.in (setwins_almost, setwins_for_subdirs):
1494 Avoid accidental matches.
1495
1496 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1497
1498 * menu-bar.el (popup-menu): Use key-binding.
1499
1500 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1501
1502 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1503 menus, support also the menus produced by minor modes.
1504 (Bug#15817)
1505
1506 2013-11-06 Leo Liu <sdl.web@gmail.com>
1507
1508 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1509 DISTANCE to bound the search. All uses changed. (Bug#15808)
1510
1511 2013-11-06 Glenn Morris <rgm@gnu.org>
1512
1513 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1514 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1515 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1516
1517 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1518
1519 * electric.el (electric-indent-just-newline): New command.
1520 (electric-indent-mode-map): New keymap.
1521 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1522 Re-add :group which weren't redundant.
1523
1524 * electric.el (electric-indent-local-mode): New minor mode.
1525 (electric-indent-functions-without-reindent): New var.
1526 (electric-indent-post-self-insert-function): Use it.
1527 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1528
1529 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1530
1531 * international/quail.el (quail-help): Be more explicit about the
1532 meaning of the labels shown on the keys. (Bug#15800)
1533
1534 * startup.el (normal-top-level): Load the subdirs.el files before
1535 setting the locale environment. (Bug#15805)
1536
1537 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1538
1539 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1540 via arguments so as to get the right ones (bug#15418).
1541
1542 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1543
1544 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1545
1546 Fix problems found while writing a test suite.
1547
1548 * net/tramp-compat.el (tramp-compat-load): New defun.
1549 * net/tramp.el (tramp-handle-load): Use it.
1550
1551 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1552 "(numberp ok-if-already-exists)" correctly.
1553
1554 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1555
1556 * international/characters.el (glyphless-char-display-control):
1557 Add usage note.
1558
1559 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1560
1561 * progmodes/python.el (python-mode):
1562 * progmodes/scheme.el (scheme-mode):
1563 * progmodes/prolog.el (prolog-mode):
1564 * progmodes/ruby-mode.el (ruby-mode):
1565 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1566 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1567
1568 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1569
1570 * rect.el (rectangle--highlight-for-redisplay):
1571 * emacs-lisp/smie.el (smie--next-indent-change):
1572 Use buffer-chars-modified-tick.
1573
1574 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1575
1576 * electric.el (electric-indent-post-self-insert-function):
1577 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1578
1579 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1580
1581 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1582
1583 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1584
1585 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1586 (bug#15786).
1587
1588 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1589
1590 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1591
1592 * progmodes/python.el: Fix up last change.
1593 (python-shell--save-temp-file): New function.
1594 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1595 `string' comes from the current buffer.
1596 (python-shell-send-string-no-output): Remove `msg' arg.
1597 (python--use-fake-loc): New var.
1598 (python-shell-buffer-substring): Obey it. Try to compensate for the
1599 extra coding line added by python-shell--save-temp-file.
1600 (python-shell-send-region): Use python-shell--save-temp-file and
1601 python-shell-send-file directly. Add `nomain' argument.
1602 (python-shell-send-buffer): Use python-shell-send-region.
1603 (python-electric-pair-string-delimiter): New function.
1604 (python-mode): Use it.
1605
1606 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1607
1608 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1609 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1610 environment and decoding all of the default-directory's to here
1611 from command-line.
1612 (command-line): Decode also argv[0].
1613
1614 * loadup.el: Error out if default-directory is a multibyte string
1615 when we are dumping.
1616
1617 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1618
1619 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1620
1621 * emacs-lisp/package.el (package-menu-mode)
1622 (package-menu--print-info, package-menu--archive-predicate):
1623 Add Archive column to package list.
1624
1625 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1626
1627 Fix problems found while writing a test suite.
1628
1629 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1630 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1631 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1632 to nil when running original file name handler. Otherwise,
1633 there are problems with constructs like "$$FOO".
1634
1635 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1636 for `localname'.
1637
1638 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1639
1640 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1641
1642 * subr.el (version<, version<=, version=):
1643 Update docstrings with information for snapshot versions.
1644
1645 * helpers.el: New library for misc helper functions.
1646 (hash-table-keys): New function returning a list of hash keys.
1647 (hash-table-values): New function returning a list of hash values.
1648
1649 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1650
1651 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1652 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1653
1654 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1655
1656 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1657 checking whether point is after a 1-letter word.
1658
1659 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1660
1661 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1662 Don't infloop when expanding region over `multiline' syntax-type that
1663 begins a line (bug#15778).
1664
1665 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1666
1667 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1668 Make it into a proper minor mode.
1669 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1670 (rectangle-mark-mode-map): New keymap.
1671 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1672
1673 2013-11-04 Glenn Morris <rgm@gnu.org>
1674
1675 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1676
1677 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1678
1679 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1680 (ruby-smie-rules): Use smie-rule-parent instead.
1681
1682 * emacs-lisp/smie.el (smie-rule-parent): Always call
1683 smie-indent-virtual rather than only for hanging tokens.
1684 (smie--next-indent-change): New helper command.
1685
1686 2013-11-03 Glenn Morris <rgm@gnu.org>
1687
1688 * Makefile.in (abs_srcdir): Remove.
1689 (emacs): Unset EMACSLOADPATH.
1690
1691 2013-11-02 Glenn Morris <rgm@gnu.org>
1692
1693 * Makefile.in (EMACS): Use a relative filename.
1694 (abs_top_builddir): Remove.
1695 (custom-deps, finder-data, autoloads): Use --chdir.
1696
1697 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1698
1699 Use relative filenames in TAGS files.
1700 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1701 (lisptagsfiles4, TAGS): Use relative file names.
1702 (TAGS-LISP): Remove.
1703 (maintainer-clean): No more TAGS-LISP file.
1704
1705 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1706 (lisptagsfiles4): Use absolute filenames again.
1707 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1708 Remove all *loaddefs files, not just the first. Remove esh-groups.
1709 (maintainer-clean): Delete TAGS, TAGS-LISP.
1710
1711 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1712
1713 * emacs-lisp/package.el (package-version-join):
1714 Recognize snapshot versions.
1715
1716 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1717
1718 * subr.el (version-regexp-alist): Add support for snapshot versions.
1719
1720 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1721
1722 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1723 New function, replacement for `smie-rule-parent' for when we want to
1724 skip over our direct parent if it's an assignment token..
1725 (ruby-smie-rules): Use it.
1726
1727 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1728
1729 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1730 unconditionally. Remove now unnecessary forward declarations.
1731 Remove XEmacs-specific setup.
1732 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1733 (ruby-font-lock-syntactic-keywords)
1734 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1735 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1736 (ruby-here-doc-end-syntax): Remove.
1737 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1738 defined as function.
1739
1740 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1741
1742 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1743
1744 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1745
1746 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1747 table and abbrev table, `define-derived-mode' does that for us
1748 anyway.
1749
1750 2013-11-01 Glenn Morris <rgm@gnu.org>
1751
1752 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1753 files is atomic for some time, so no parallel compilation issues).
1754
1755 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1756
1757 * faces.el (face-x-resources): Add :distant-foreground.
1758 (region): Use :distant-foreground for gtk and ns.
1759
1760 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1761
1762 Allow multiple bibliographies when BibLaTeX is used rather than
1763 BibTeX.
1764 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1765 (reftex-locate-bibliography-files): Us it.
1766
1767 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1768
1769 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1770 allow comments in pbm files.
1771
1772 * term/w32-win.el (dynamic-library-alist): Support newer versions
1773 of libjpeg starting with v7: look only for the DLL from the
1774 version against which Emacs was built.
1775 Support versions of libpng beyond 1.4.x.
1776 Support libtiff v4.x.
1777
1778 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1779
1780 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1781 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1782 Add property :safe.
1783 (ruby-deep-arglist): Add property :type.
1784
1785 2013-10-31 Glenn Morris <rgm@gnu.org>
1786
1787 * Makefile.in (custom-deps, finder-data): No need to setq the target
1788 variables, we are in the right directory and the defaults work fine.
1789
1790 2013-10-30 Glenn Morris <rgm@gnu.org>
1791
1792 * Makefile.in (autoloads): Do not use abs_lisp.
1793
1794 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1795 `newline' does not respect `standard-output', so use `princ'.
1796
1797 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1798
1799 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1800 * buff-menu.el (Buffer-menu--unmark): New function.
1801 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1802
1803 2013-10-30 Glenn Morris <rgm@gnu.org>
1804
1805 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1806
1807 * emacs-lisp/package.el (lm-homepage): Declare.
1808
1809 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1810 Fix doc typos.
1811
1812 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1813
1814 * Makefile.in (finder-data, autoloads, update-subdirs)
1815 (compile-main, compile-clean, compile-always, bootstrap-clean):
1816 Check return value of cd.
1817 (compile-calc): Remove.
1818
1819 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1820
1821 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1822
1823 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1824 (byte-compile-and-folded): New function.
1825 (=, <, >, <=, >=): Use it.
1826
1827 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1828 (path-separator, null-device, buffer-file-coding-system)
1829 (lpr-headers-switches): Check system-type before modifying them.
1830 (find-buffer-file-type-coding-system): Mark obsolete.
1831 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1832 find-file-not-found-set-buffer-file-coding-system.
1833 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1834 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1835 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1836 (w32-direct-print-region-helper, w32-direct-print-region-function)
1837 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1838 * startup.el (normal-top-level-add-subdirs-to-load-path):
1839 * ps-print.el (ps-print-region-function):
1840 * lpr.el (print-region-function): Use new name.
1841
1842 * subr.el (custom-declare-variable-early): Remove function.
1843 (custom-declare-variable-list): Remove var.
1844 (error, user-error): Remove `while' loop.
1845 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1846 (user-emacs-directory-warning, locate-user-emacs-file):
1847 Move to files.el.
1848 * simple.el (read-quoted-char-radix, read-quoted-char):
1849 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1850 Move from subr.el.
1851 * custom.el (custom-declare-variable-list): Don't process
1852 custom-declare-variable-list.
1853
1854 * progmodes/python.el (python-shell-get-buffer): New function.
1855 (python-shell-get-process): Use it.
1856 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1857 Python which encoding was used. Don't split-string since we only care
1858 about the first line. Return the temp-file, if applicable.
1859 (python-shell-send-region): Tell compile.el how to turn locations in
1860 the temp-file into locations in the source buffer.
1861
1862 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1863
1864 * subr.el (undefined): Add missing behavior from the C code for
1865 unbound keys.
1866
1867 * rect.el: Use lexical-binding. Add new rectangular region support.
1868 (rectangle-mark): New command.
1869 (rectangle--region): New var.
1870 (deactivate-mark-hook): Reset rectangle--region.
1871 (rectangle--extract-region, rectangle--insert-for-yank)
1872 (rectangle--highlight-for-redisplay)
1873 (rectangle--unhighlight-for-redisplay): New functions.
1874 (region-extract-function, redisplay-unhighlight-region-function)
1875 (redisplay-highlight-region-function): Use them to handle
1876 rectangular region.
1877 * simple.el (region-extract-function): New var.
1878 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1879 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1880 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1881 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1882 (redisplay-unhighlight-region-function)
1883 (redisplay-highlight-region-function): New vars.
1884 (redisplay--update-region-highlight): New function.
1885 (pre-redisplay-function): Use it.
1886 (exchange-point-and-mark): Don't deactivate the mark before
1887 reactivate-it anyway.
1888 * comint.el (comint-kill-region): Remove yank-handler argument.
1889 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1890 (delete-char): Remove property, since it's now part of their
1891 default behavior.
1892 (self-insert-iso): Remove property since this command doesn't exist.
1893
1894 * emacs-lisp/package.el (package--download-one-archive)
1895 (describe-package-1): Don't query the user about final newline.
1896
1897 2013-10-29 Daniel Colascione <dancol@dancol.org>
1898
1899 * net/tramp.el (tramp-methods): Document new functionality.
1900 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1901 tramp-hostname-checker if method provides one instead of scanning
1902 argument list for "%h" to decide hostname acceptability.
1903
1904 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1905
1906 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1907 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1908 Handle COPY-CONTENTS. (Bug#15737)
1909
1910 2013-10-28 Daiki Ueno <ueno@gnu.org>
1911
1912 * epa-file.el
1913 (epa-file-cache-passphrase-for-symmetric-encryption):
1914 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1915
1916 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1917
1918 * image.el (defimage):
1919 (image-load-path): Doc fixes.
1920
1921 2013-10-27 Alan Mackenzie <acm@muc.de>
1922
1923 Indent statements in macros following "##" correctly.
1924 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1925 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1926
1927 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1928
1929 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1930
1931 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1932
1933 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1934 after `=' is probably a new expression.
1935
1936 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1937
1938 * man.el (man-imenu-title): New option.
1939 (Man-mode-map): Add menu. (Bug#15722)
1940 (Man-mode): Add imenu to menu.
1941
1942 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1943
1944 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1945 specific in what the first arg can be: a non-keyword word,
1946 string/regexp/percent literal opener, opening paren, or unary
1947 operator followed directly by word.
1948
1949 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1950
1951 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1952 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1953 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1954 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1955 Remove vars, they do not apply any more.
1956 (prolog-mode-abbrev-table): Remove redundant declaration.
1957 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1958 (prolog-use-smie): Remove.
1959 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1960 supported by prolog-electric-if-then-else-flag.
1961 (prolog-mode-variables, prolog-menu): Use setq-local.
1962 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1963 Remove binding to `Backspace' since this key doesn't exist anyway.
1964 Remove bindings for electric self-inserting keys.
1965 (prog-mode): Assume it's defined.
1966 (prolog-post-self-insert): New function.
1967 (prolog-mode): Use it.
1968 (prolog-indent-line, prolog-indent-level)
1969 (prolog-find-indent-of-matching-paren)
1970 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1971 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1972 (prolog-goto-next-paren, prolog-in-string-or-comment)
1973 (prolog-tokenize, prolog-inside-mline-comment)
1974 (prolog-find-start-of-mline-comment): Remove functions.
1975 (prolog-find-unmatched-paren, prolog-clause-end)
1976 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1977 (prolog-electric--if-then-else): Rename from
1978 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1979 (prolog-tokenize-searchkey): Remove const.
1980 (prolog-clause-info): Use forward-sexp.
1981 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1982 (prolog-electric-if-then-else): Remove commands.
1983 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1984 for use in post-self-insert-hook.
1985 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1986 for use in post-self-insert-hook.
1987 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1988 for use in post-self-insert-hook.
1989 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1990 adapt it for use in post-self-insert-hook.
1991
1992 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1993
1994 * emacs-lisp/ert.el (ert-run-tests-interactively):
1995 Use `completing-read'. (Bug#9756)
1996
1997 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1998
1999 * simple.el (line-move): Call line-move-1 instead of
2000 line-move-visual when the current window hscroll is zero, but
2001 temporary-goal-column indicates we will need to hscroll as result
2002 of the movement. (Bug#15712)
2003
2004 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2005
2006 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2007 capitalization. Use :visible instead of :active.
2008 Fix `ruby-indent-exp' reference. Add menu items for the generic
2009 commands that are used with SMIE.
2010 (ruby-do-end-to-brace): Insert space after `{'.
2011
2012 2013-10-25 John Anthony <john@jo.hnanthony.com>
2013
2014 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2015
2016 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2017
2018 2013-10-25 Glenn Morris <rgm@gnu.org>
2019
2020 * vc/vc.el (vc-print-log): Don't use a working revision unless
2021 one was explicitly specified. (Bug#15322)
2022
2023 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2024
2025 * subr.el (add-to-list): Preserve return value in compiler-macro
2026 (bug#15692).
2027
2028 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2029
2030 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2031 result. Ask user to retry using '-all' flag. (Bug#15701)
2032
2033 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2034
2035 * emacs-lisp/smie.el: New smie-config system.
2036 (smie-config): New defcustom.
2037 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2038 (smie-config-guess, smie-config-save): New commands.
2039 (smie-config--mode-local, smie-config--buffer-local)
2040 (smie-config--trace, smie-config--modefuns): New vars.
2041 (smie-config--advice, smie-config--mode-hook)
2042 (smie-config--setter, smie-config-local, smie-config--get-trace)
2043 (smie-config--guess-value, smie-config--guess): New functions.
2044 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2045 text properties. Treat "string fence" syntax like string syntax.
2046
2047 * progmodes/sh-script.el (sh-use-smie): Change default.
2048 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2049 (sh-var-value): Simplify by CSE.
2050 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2051 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2052 is used.
2053 (sh-guess-basic-offset): Use cl-incf.
2054 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2055
2056 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2057
2058 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2059 (bug#15699).
2060
2061 2013-10-24 Glenn Morris <rgm@gnu.org>
2062
2063 * Makefile.in (abs_top_srcdir): Remove.
2064 (update-subdirs): Use relative path to update-subdirs.
2065
2066 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2067
2068 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2069 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2070 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2071 Call unmsys--file-name before expand-file-name, not after it.
2072
2073 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2074
2075 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2076 (ert-test-skipped): New error.
2077 (ert-skip, ert-stats-skipped): New defuns.
2078 (ert--skip-unless): New macro.
2079 (ert-test-skipped): New struct.
2080 (ert--run-test-debugger, ert-test-result-type-p)
2081 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2082 (ert--stats-set-test-and-result, ert-char-for-test-result)
2083 (ert-string-for-test-result, ert-run-tests-batch)
2084 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2085 Handle skipped tests. (Bug#9803)
2086
2087 2013-10-24 Glenn Morris <rgm@gnu.org>
2088
2089 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2090
2091 * Makefile.in (abs_top_srcdir): New, set by configure.
2092 (update-subdirs): Correct build-aux location.
2093
2094 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2095
2096 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2097 value, whether we could auto-deduce `backend', or not.
2098
2099 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2100 with parameters" example. Simplify the "is it block or is it
2101 hash" check, but also make it more thorough.
2102
2103 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2104
2105 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2106
2107 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2108
2109 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2110 { if it is hanging.
2111
2112 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2113 :before ";".
2114
2115 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2116
2117 * progmodes/compile.el (compilation-directory-matcher)
2118 (compilation-page-delimiter):
2119 Support GNU Make-4.0 directory quoting. (Bug#15678)
2120
2121 2013-10-23 Leo Liu <sdl.web@gmail.com>
2122
2123 * ido.el (ido-tidy): Handle read-only text.
2124
2125 2013-10-23 Glenn Morris <rgm@gnu.org>
2126
2127 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2128 (emacs, compile, compile-always):
2129 Quote entities that might contain whitespace.
2130 (custom-deps, finder-data, autoloads): Use abs_lisp.
2131 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2132 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2133 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2134
2135 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2136
2137 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2138 Use `following-char'.
2139
2140 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2141
2142 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2143 * progmodes/ruby-mode.el (ruby-smie-rules):
2144 Remove corresponding workaround. Fix indentation rule of ";" so it
2145 also applies when ";" is the parent.
2146
2147 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2148
2149 * frame.el (display-screens, display-pixel-height)
2150 (display-pixel-width, display-mm-width, display-backing-store)
2151 (display-save-under, display-planes, display-color-cells)
2152 (display-visual-class, display-monitor-attributes-list):
2153 Mention the optional ‘display’ argument in doc strings.
2154
2155 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2156
2157 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2158 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2159
2160 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2161
2162 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2163 TODO. Add "." after " @ ".
2164 (ruby-smie--at-dot-call): New function. Checks if point at method
2165 call with explicit target.
2166 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2167 to the method name tokens when it precedes them.
2168 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2169 (ruby-smie-rules): Add rule for indentation before and after "."
2170 token.
2171
2172 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2173
2174 * textmodes/remember.el (remember-diary-extract-entries):
2175 Avoid add-to-list.
2176
2177 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2178 an instruction.
2179
2180 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2181
2182 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2183 (ruby-smie--implicit-semi-p): Add new operator chars.
2184
2185 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2186 `smie-down-list'.
2187 (ruby-smie--args-separator-p): Check that there's no newline
2188 between method call and its arguments.
2189
2190 2013-10-20 Alan Mackenzie <acm@muc.de>
2191
2192 Allow comma separated lists after Java "implements".
2193
2194 * progmodes/cc-engine.el (c-backward-over-enum-header):
2195 Parse commas.
2196 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2197 from a "disallowed" list in enum fontification.
2198
2199 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2200
2201 * startup.el (default-frame-background-mode): Remove unused defvar.
2202
2203 * progmodes/verilog-mode.el (verilog-mode): Don't set
2204 comment-indent-function globally.
2205
2206 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2207
2208 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2209 Move Info menu item creation to ns-win.el.
2210
2211 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2212 in menu bar.
2213
2214 * menu-bar.el: Move GNUStep specific menus...
2215
2216 * term/ns-win.el (ns-initialize-window-system): ... to here.
2217
2218 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2219
2220 * simple.el (newline): Only run post-self-insert-hook when
2221 called interactively.
2222
2223 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2224
2225 * icomplete.el (icomplete-with-completion-tables): Add :version.
2226
2227 2013-10-19 Alan Mackenzie <acm@muc.de>
2228
2229 Fix fontification bugs with constructors and const.
2230
2231 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2232 CASE 2) Remove the check for the absence of a suffix construct
2233 after a function declaration with only types (no identifiers) in
2234 the parentheses. Also, accept a function declaration with just a
2235 type inside the parentheses, if this type can be positively
2236 recognised as such, or if a prefix keyword like "explicit" nails
2237 down the construct as a declaration.
2238
2239 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2240
2241 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2242 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2243 the problem whereby selecting a menu item that leads to a
2244 minibuffer prompt moves the cursor out of the minibuffer window,
2245 making it hard to type at the prompt. Suggested by Stefan Monnier
2246 <monnier@iro.umontreal.ca>.
2247
2248 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2249
2250 * menu-bar.el: Don't make Services menu.
2251
2252 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2253
2254 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2255 (ffap-alist): Use ffap-c++-mode for c++-mode.
2256 (ffap-c++-path): New variable.
2257 (ffap-c++-mode): New function.
2258
2259 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2260
2261 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2262
2263 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2264
2265 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2266 introduced on 2013-09-08, which results in an infinite loop
2267 requesting a password.
2268
2269 2013-10-18 Glenn Morris <rgm@gnu.org>
2270
2271 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2272
2273 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2274
2275 Sync with upstream verilog-mode revision 1a6ecec7.
2276 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2277 (verilog-mode-release-date): Remove.
2278 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2279 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2280 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2281 (verilog-auto-tieoff-ignore-regexp)
2282 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2283 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2284 (verilog-signals-with, verilog-dir-cache-preserving)
2285 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2286 Doc fixes.
2287 (verilog-case-fold): New option, to control case folding in
2288 regexp searches, bug597.
2289 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2290 (verilog-string-match-fold, verilog-in-paren-count)
2291 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2292 (verilog-at-close-struct-p): New functions.
2293 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2294 (verilog-forward-sexp, verilog-set-auto-endcomments):
2295 (verilog-leap-to-case-head): Handle "unique0" case.
2296 (verilog-in-constraint-re): New constant.
2297 (verilog-keywords, verilog-type-font-keywords):
2298 Add some SystemVerilog 1800-2012 keywords.
2299 (verilog-label-be): Remove unimplemented argument, bug669.
2300 (verilog-batch-execute-func): When batch expanding clear
2301 create-lockfiles to prevent spurious user locks when a file ends
2302 up not changing.
2303 (verilog-calculate-indent, verilog-calc-1)
2304 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2305 (verilog-do-indent): Fix indentation of nested constraints
2306 and structures.
2307 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2308 (verilog-auto-inst-param): Use verilog-string-match-fold.
2309 (verilog-read-inst-module-matcher):
2310 Fix AUTOINST on gate primitives with #1.
2311 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2312 Reads all user-defined typed variables.
2313 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2314 (verilog-signals-matching-regexp)
2315 (verilog-signals-not-matching-regexp, verilog-auto):
2316 Respect verilog-case-fold.
2317 (verilog-diff-report): Fix line count.
2318 (verilog-auto-assign-modport): Remove unused local `modi'.
2319 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2320 better handle multidimensional arrays.
2321 Fix packed array ports misadding bit index in AUTOINST, bug637.
2322 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2323 to not double-declare existing outputs and inputs, respectively.
2324 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2325 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2326 (verilog-sk-uvm-component): New skeleton.
2327 (verilog-submit-bug-report): Add verilog-case-fold,
2328 remove verilog-mode-release-date.
2329
2330 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2331
2332 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2333 as before.
2334
2335 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2336
2337 * textmodes/remember.el (remember): set buffer-offer-save in
2338 remember buffers (bug#13566).
2339
2340 2013-10-18 Daniel Colascione <dancol@dancol.org>
2341
2342 When evaluating forms in ielm, direct standard output to ielm
2343 buffer. Add new ielm-return-for-effect command. Remove trailing
2344 whitespace throughout.
2345
2346 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2347 (ielm-return-for-effect): New command.
2348 (ielm-send-input): Accept optional `for-effect' parameter.
2349 (ielm-eval-input): Accept optional `for-effect' parameter.
2350 Bind `standard-output' to stream we create using
2351 `ielm-standard-output-impl'. Suppress printing result when
2352 `for-effect'.
2353 (ielm-standard-output-impl): New function.
2354 (inferior-emacs-lisp-mode): Explain new features in documentation.
2355
2356 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2357
2358 Code cleanup.
2359
2360 * net/tramp.el (tramp-debug-message): Do not check for connection
2361 buffer.
2362 (tramp-message): Use "vector" connection property.
2363
2364 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2365 (tramp-equal-remote, tramp-eshell-directory-change)
2366 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2367 (tramp-adb-handle-rename-file)
2368 * net/tramp-cmds.el (tramp-list-remote-buffers)
2369 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2370 * net/tramp-compat.el (tramp-compat-process-running-p)
2371 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2372 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2373 (tramp-gvfs-handle-rename-file)
2374 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2375 (tramp-set-file-uid-gid)
2376 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2377 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2378 of `file-remote-p'.
2379
2380 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2381 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2382 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2383 (tramp-gw-open-network-stream): Suppress unrelated traces.
2384
2385 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2386 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2387 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2388 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2389 connection property.
2390
2391 * net/tramp-cache.el (top): Suppress traces when reading
2392 persistency file.
2393
2394 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2395 Refactor common code. Improve debug message.
2396 (tramp-maybe-open-connection)
2397 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2398 connection buffer too early.
2399
2400 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2401 from `tramp-smb-actions-with-acl'.
2402 (tramp-smb-actions-set-acl): New defconst.
2403 (tramp-smb-handle-copy-directory)
2404 (tramp-smb-action-get-acl): New defun, renamed from
2405 `tramp-smb-action-with-acl'.
2406 (tramp-smb-action-set-acl): New defun.
2407 (tramp-smb-handle-set-file-acl): Rewrite.
2408
2409 2013-10-17 Glenn Morris <rgm@gnu.org>
2410
2411 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2412
2413 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2414
2415 * skeleton.el (skeleton-newline): Remove.
2416 (skeleton-internal-1): Use (insert "\n") instead.
2417
2418 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2419 let-bindings.
2420
2421 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2422 forward-sexp-function while we redo its job (bug#15613).
2423
2424 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2425
2426 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2427 represented by lists.
2428
2429 2013-10-16 Glenn Morris <rgm@gnu.org>
2430
2431 * tmm.el (tmm--history): New dynamic variable.
2432 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2433
2434 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2435
2436 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2437 (tramp-smb-errors): Add error messages.
2438 (tramp-smb-actions-with-acl): New defconst.
2439 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2440 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2441 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2442 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2443 (tramp-smb-get-stat-capability): Fix tests.
2444
2445 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2446
2447 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2448 (bug#15580).
2449
2450 2013-10-16 Glenn Morris <rgm@gnu.org>
2451
2452 * ansi-color.el (ansi-color-drop-regexp):
2453 Add 1J, 1K, 2K. (Bug#15617)
2454
2455 * files.el (hack-local-variables--warned-lexical): New.
2456 (hack-local-variables):
2457 Warn about misplaced lexical-binding. (Bug#15616)
2458
2459 * net/eww.el (eww-render): Always set eww-current-url,
2460 and update header line. (Bug#15622)
2461 (eww-display-html): ... Rather than just doing it here.
2462
2463 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2464
2465 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2466 menu navigations commands.
2467
2468 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2469
2470 * progmodes/subword.el (subword-capitalize): Be careful when
2471 the search for [[:alpha:]] fails (bug#15580).
2472
2473 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2474
2475 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2476 to commands that scroll the menu.
2477
2478 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2479
2480 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2481 Handle methods ending with `?' and `!'.
2482
2483 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2484
2485 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2486 `japanese-cp932' to `cp932' to fix the problem where saving a
2487 source file written in Shift_JIS twice would end up having
2488 `coding: japanese-cp932' which Ruby could not recognize.
2489 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2490 in `ruby-encoding-map'.
2491 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2492 doesn't need to be explicitly declared in magic comment.
2493 (ruby-encoding-map): Add type declaration for better customize UI.
2494
2495 2013-10-13 Glenn Morris <rgm@gnu.org>
2496
2497 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2498 Occur buffers are read-only. http://bugs.debian.org/720775
2499
2500 * emacs-lisp/authors.el (authors-fixed-entries):
2501 Comment out old alpha stuff.
2502
2503 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2504
2505 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2506 to `after-save-hook' instead of `before-save-hook'.
2507 (ruby-mode-set-encoding): Use the value of coding system used to
2508 write the file. Call `basic-save-buffer-1' after modifying the
2509 buffer.
2510
2511 2013-10-13 Alan Mackenzie <acm@muc.de>
2512
2513 Fix indentation/fontification of Java enum with
2514 "implements"/generic.
2515
2516 * progmodes/cc-engine.el (c-backward-over-enum-header):
2517 Extracted from the three other places and enhanced to handle generics.
2518 (c-inside-bracelist-p): Uses new function above.
2519 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2520 function above.
2521 (c-font-lock-enum-tail): Uses new function above.
2522
2523 2013-10-13 Kenichi Handa <handa@gnu.org>
2524
2525 * international/mule-cmds.el (select-safe-coding-system): Remove a
2526 superfluous condition in chekcing whether a coding system is safe
2527 or not.
2528
2529 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2530
2531 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2532
2533 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2534
2535 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2536
2537 2013-10-13 Glenn Morris <rgm@gnu.org>
2538
2539 * menu-bar.el (menu-bar-update-buffers):
2540 Unify Buffers menu prompt string. (Bug#15576)
2541
2542 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2543
2544 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2545 Add some entries.
2546 (authors-fixed-entries): Use accented form of name.
2547
2548 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2549
2550 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2551 method calls (bug#15594).
2552 (ruby-smie--args-separator-p): New function.
2553 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2554 recognize paren-free method calls.
2555
2556 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2557 internals of universal-argument.
2558
2559 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2560
2561 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2562 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2563 dropped menu on second mouse click on the menu bar.
2564
2565 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2566
2567 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2568 (explicit-shell-file-name): Declare.
2569 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2570 (sh-completion-at-point-function): New function.
2571 (sh-mode): Use it.
2572 (sh-smie--keyword-p): Remove unused argument.
2573 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2574 vars.
2575 (sh-set-shell): Always setup SMIE, even if we use the
2576 old indentation code.
2577
2578 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2579
2580 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2581 cases of ? and =.
2582 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2583 predicate would return nil are almost non-existent.
2584 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2585
2586 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2587 cache also after commands that modify the buffer but don't move
2588 point.
2589
2590 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2591
2592 * env.el (substitute-env-in-file-name): New function.
2593 (substitute-env-vars): Extend the meaning of the optional arg.
2594
2595 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2596
2597 * term/w32-win.el (dynamic-library-alist): Define separate lists
2598 of GIF DLLs for versions before and after 5.0.0 of giflib.
2599 (Bug#15531)
2600
2601 2013-10-10 João Távora <joaotavora@gmail.com>
2602
2603 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2604 not locked, use last revision and current source as
2605 defaults. (Bug#15569)
2606
2607 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2608
2609 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2610 menu-bar is hidden.
2611
2612 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2613
2614 * window.el (pop-to-buffer-same-window): Fix doc-string.
2615 (Bug#15492)
2616
2617 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2618
2619 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2620
2621 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2622
2623 * calendar/icalendar.el (icalendar-import-file):
2624 Fix interactive spec. (Bug#15482)
2625
2626 2013-10-10 Glenn Morris <rgm@gnu.org>
2627
2628 * desktop.el (desktop-save): Default to saving in .emacs.d,
2629 since PWD is no longer in desktop-path by default. (Bug#15319)
2630
2631 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2632 now that text mode has a menu with the same entry.
2633 (menu-bar-text-mode-auto-fill): Remove now unused func.
2634 * textmodes/text-mode.el (text-mode-map):
2635 Use auto-fill help text from menu-bar.el.
2636
2637 2013-10-10 John Anthony <john@jo.hnanthony.com>
2638
2639 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2640
2641 2013-10-09 Juri Linkov <juri@jurta.org>
2642
2643 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2644 instead of this-command-keys. Add universal-argument-more and
2645 universal-argument-minus to the list of prefix commands. (Bug#15568)
2646
2647 2013-10-09 Glenn Morris <rgm@gnu.org>
2648
2649 * vc/vc-svn.el (vc-svn-create-repo):
2650 Expand paths in file://... url. (Bug#15446)
2651
2652 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2653 Add some entries.
2654 (authors): Remove unused local variables.
2655
2656 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2657
2658 * profiler.el: Create a more coherent calltree from partial backtraces.
2659 (profiler-format): Hide the tail with `invisible' so that C-s can still
2660 find the hidden elements.
2661 (profiler-calltree-depth): Don't recurse so enthusiastically.
2662 (profiler-function-equal): New hash-table-test.
2663 (profiler-calltree-build-unified): New function.
2664 (profiler-calltree-build): Use it.
2665 (profiler-report-make-name-part): Indent the calltree less.
2666 (profiler-report-mode): Add visibility specs for profiler-format.
2667 (profiler-report-expand-entry, profiler-report-toggle-entry):
2668 Expand the whole subtree when provided with a prefix arg.
2669
2670 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2671
2672 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2673 iuwu-mod token.
2674 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2675 hanging iuwu-mod token.
2676 (ruby-smie--forward-token): Do not include a dot after a token in
2677 that token.
2678 (ruby-smie--backward-token): Likewise.
2679
2680 2013-10-08 Juri Linkov <juri@jurta.org>
2681
2682 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2683 to isearch-other-control-char.
2684 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2685 and isearch-post-command-hook to post-command-hook.
2686 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2687 and isearch-post-command-hook from post-command-hook.
2688 (isearch-unread-key-sequence)
2689 (isearch-reread-key-sequence-naturally)
2690 (isearch-lookup-scroll-key, isearch-other-control-char)
2691 (isearch-other-meta-char): Remove functions.
2692 (isearch-pre-command-hook, isearch-post-command-hook):
2693 New functions based on isearch-other-meta-char rewritten
2694 relying on the new behavior of overriding-terminal-local-map
2695 that does not replace the local keymaps any more. (Bug#15200)
2696
2697 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2698
2699 Support menus on text-mode terminals.
2700 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2701 functionality.
2702
2703 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2704
2705 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2706 Move here from mouse.el.
2707 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2708 and arrow keys.
2709 (tty-menu-navigation-map): New map for TTY menu navigation.
2710
2711 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2712
2713 * frame.el (display-mouse-p): Report text-mode mouse as available
2714 on w32.
2715 (display-popup-menus-p): Report availability if mouse is
2716 available; don't condition on window-system.
2717
2718 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2719 (tty-menu-selected-face): New faces.
2720
2721 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2722
2723 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2724 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2725 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2726 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2727 New constants.
2728 (lisp-mode-variables): New `elisp' argument.
2729 (emacs-lisp-mode): Use it.
2730 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2731 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2732
2733 * indent.el: Use lexical-binding.
2734 (indent-region): Add progress reporter.
2735 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2736 last step.
2737 (indent--next-tab-stop): New function to implement this behavior.
2738 (tab-to-tab-stop, move-to-tab-stop): Use it.
2739
2740 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2741
2742 * indent.el (indent-rigidly--current-indentation): New function.
2743 (indent-rigidly-map): New var.
2744 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2745
2746 2013-10-08 Bastien Guerry <bzg@gnu.org>
2747
2748 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2749
2750 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2751
2752 * progmodes/perl-mode.el: Use lexical-binding.
2753 Remove redundant :group args.
2754 (perl-nochange): Change default to be closer to other major modes's
2755 standard behavior.
2756 (perl-indent-line): Don't consider text on current line as a
2757 valid beginning of function from which to indent.
2758
2759 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2760 with more than one argument (bug#15538).
2761
2762 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2763
2764 * vc/pcvs.el: Use lexical-binding.
2765 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2766 environment of `eval'.
2767 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2768 than a list of expressions. Adjust callers.
2769 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2770
2771 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2772
2773 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2774 case of the dot in a chained method call being on the following line.
2775
2776 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2777
2778 * electric.el (electric-indent-inhibit): New var.
2779 (electric-indent-post-self-insert-function): Use it.
2780 * progmodes/python.el (python-mode): Set it.
2781
2782 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2783 open braces.
2784
2785 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2786
2787 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2788 (css-mode): Use electric-indent-chars.
2789
2790 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2791 (font-lock-beg, font-lock-end): Move before first use.
2792 (nxml-mode): Use syntax-propertize-function.
2793 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2794 (nxml-extend-after-change-region): Remove.
2795 * nxml/xmltok.el: Use lexical-binding.
2796 (xmltok-save): Use `declare'.
2797 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2798 * nxml/nxml-util.el: Use lexical-binding.
2799 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2800 Use `declare'.
2801 * nxml/nxml-ns.el: Use lexical-binding.
2802 (nxml-ns-save): Use `declare'.
2803 (nxml-ns-prefixes-for): Avoid add-to-list.
2804 * nxml/rng-match.el: Use lexical-binding.
2805 (rng--ipattern): Use cl-defstruct.
2806 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2807 (rng-cons-group-after, rng-subst-group-after)
2808 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2809 Use closures instead of `(lambda...).
2810
2811 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2812
2813 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2814 of BEG and END.
2815
2816 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2817 Use `tramp-handle-insert-file-contents'.
2818 (tramp-gvfs-handle-insert-file-contents): Remove function.
2819
2820 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2821 Use `save-restriction' in order to keep markers.
2822
2823 * net/trampver.el: Update release number.
2824
2825 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2826
2827 * progmodes/compile.el (compilation-parse-errors):
2828 Use compilation--put-prop.
2829 (compilation--ensure-parse): Check compilation-multiline.
2830
2831 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2832
2833 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2834 lexical-binding.
2835
2836 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2837
2838 * progmodes/ruby-mode.el: Fix recently added tests.
2839 (ruby-smie-grammar): Add - and +.
2840 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2841 (ruby-smie--backward-id): New functions.
2842 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2843 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2844 any more.
2845
2846 2013-10-07 Leo Liu <sdl.web@gmail.com>
2847
2848 * register.el (register-preview-delay)
2849 (register-preview-functions): New variables.
2850 (register-read-with-preview, register-preview)
2851 (register-describe-oneline): New functions.
2852 (point-to-register, window-configuration-to-register)
2853 (frame-configuration-to-register, jump-to-register)
2854 (number-to-register, view-register, insert-register)
2855 (copy-to-register, append-to-register, prepend-to-register)
2856 (copy-rectangle-to-register): Use register-read-with-preview to
2857 read register. (Bug#15525)
2858
2859 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2860
2861 * net/network-stream.el (network-stream-open-starttls): Don't add
2862 --insecure if it's already present, because that gnutls-cli
2863 rejects getting that parameter twice.
2864
2865 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2866
2867 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2868 keyword, too.
2869
2870 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2871
2872 * newcomment.el (comment-use-global-state): Change default value
2873 to t, mark obsolete (Bug#15251).
2874 (comment-beginning): In addition to `comment-to-syntax', check the
2875 value of `comment-use-global-state'.
2876
2877 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2878
2879 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2880 (ruby-comment-column): Follow the global default, by default.
2881 (ruby-smie-grammar): Add assignment syntax.
2882 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2883 open-paren, a comma, or a \.
2884 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2885 and line continuations.
2886 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2887 followed by implicit semi-colons. Add rule for string concatenation
2888 and for indentation at BOB.
2889 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2890
2891 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2892 calling next-sexp, since next-token may have skipped chars which
2893 next-sexp doesn't know should be skipped!
2894
2895 2013-10-05 Leo Liu <sdl.web@gmail.com>
2896
2897 * progmodes/octave.el (octave-send-region):
2898 Call compilation-forget-errors.
2899
2900 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2901
2902 * vc/vc-svn.el (vc-svn-find-admin-dir):
2903 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2904 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2905 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2906 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2907
2908 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2909
2910 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2911
2912 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2913
2914 * subr.el (read-passwd): Hide chars even when called within a context
2915 where after-change-functions is disabled (bug#15501).
2916 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2917 until we removed ourself from overriding-terminal-local-map.
2918
2919 2013-10-04 Leo Liu <sdl.web@gmail.com>
2920
2921 * progmodes/octave.el (inferior-octave-mode):
2922 Call compilation-forget-errors.
2923
2924 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2925
2926 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2927
2928 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2929
2930 * net/secrets.el (secrets-create-collection): Add optional
2931 argument ALIAS. Use proper Label keyword. Append ALIAS as
2932 dbus-call-method argument. (Bug#15516)
2933
2934 2013-10-04 Leo Liu <sdl.web@gmail.com>
2935
2936 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2937 (inferior-octave-compilation-font-lock-keywords): New variables.
2938 (compilation-error-regexp-alist)
2939 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2940 (inferior-octave-mode): Use compilation-shell-minor-mode.
2941
2942 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2943
2944 * minibuffer.el (completion--replace): Be careful that `end' might be
2945 a marker.
2946
2947 2013-10-03 Daiki Ueno <ueno@gnu.org>
2948
2949 Add support for package signature checking.
2950 * emacs-lisp/package.el (url-http-file-exists-p)
2951 (epg-make-context, epg-context-set-home-directory)
2952 (epg-verify-string, epg-context-result-for)
2953 (epg-signature-status, epg-signature-to-string)
2954 (epg-check-configuration, epg-configuration)
2955 (epg-import-keys-from-file): Declare.
2956 (package-check-signature): New user option.
2957 (package-unsigned-archives): New user option.
2958 (package-desc): Add `signed' field.
2959 (package-load-descriptor): Set `signed' field if .signed file exists.
2960 (package--archive-file-exists-p): New function.
2961 (package--check-signature): New function.
2962 (package-install-from-archive): Check package signature.
2963 (package--download-one-archive): Check archive signature.
2964 (package-delete): Remove .signed file.
2965 (package-import-keyring): New command.
2966 (package-refresh-contents): Import default keyring.
2967 (package-desc-status): Add "unsigned" status.
2968 (describe-package-1, package-menu--print-info)
2969 (package-menu-mark-delete, package-menu--find-upgrades)
2970 (package-menu--status-predicate): Support "unsigned" status.
2971
2972 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2973
2974 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2975 the new compilation scheme using the new byte-codes.
2976
2977 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2978 (byte-pophandler): New byte codes.
2979 (byte-goto-ops): Adjust accordingly.
2980 (byte-compile--use-old-handlers): New var.
2981 (byte-compile-catch): Use new byte codes depending on
2982 byte-compile--use-old-handlers.
2983 (byte-compile-condition-case--old): Rename from
2984 byte-compile-condition-case.
2985 (byte-compile-condition-case--new): New function.
2986 (byte-compile-condition-case): New function that dispatches depending
2987 on byte-compile--use-old-handlers.
2988 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2989 when we can.
2990
2991 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2992 Optimize under `condition-case' and `catch' if
2993 byte-compile--use-old-handlers is nil.
2994 (disassemble-offset): Handle new bytecodes.
2995
2996 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2997
2998 * subr.el (error): Use `declare'.
2999 (decode-char, encode-char): Use advertised-calling-convention instead
3000 of the docstring to discourage use of the `restriction' arg.
3001
3002 2013-10-03 Daiki Ueno <ueno@gnu.org>
3003
3004 * epg.el (epg-verify-file): Add a comment saying that it does not
3005 notify verification error as a return value nor a signal.
3006 (epg-verify-string): Ditto.
3007
3008 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3009
3010 * progmodes/compile.el (compilation-start): Try globbing the arg to
3011 `cd' (bug#15417).
3012
3013 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3014
3015 Sync with Tramp 2.2.8.
3016
3017 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3018 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3019 * net/trampver.el: Update release number.
3020
3021 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3022
3023 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3024 and default-process-coding-system for darwin only.
3025
3026 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3027
3028 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3029
3030 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3031
3032 * vc/vc-git.el (vc-git-grep): Disable pager.
3033
3034 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3035
3036 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3037 Use :url instead of :homepage, as per
3038 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3039
3040 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3041 non-nil, use `syntax-ppss' (Bug#15251).
3042
3043 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3044
3045 * progmodes/octave.el (inferior-octave-startup-file):
3046 Prefer ~/.emacs.d/init_octave.m.
3047
3048 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3049
3050 * emacs-lisp/package.el (package-desc-from-define):
3051 Accept additional arguments as plist, convert them to an alist and store
3052 them in the `extras' slot.
3053 (package-generate-description-file): Convert extras alist back to
3054 plist and append to the `define-package' form arguments.
3055 (package--alist-to-plist): New function.
3056 (package--ac-desc): Add `extras' slot.
3057 (package--add-to-archive-contents): Check if the archive-contents
3058 vector is long enough, and if it is, pass its `extras' slot value
3059 to `package-desc-create'.
3060 (package-buffer-info): Call `lm-homepage', pass the returned value
3061 to `package-desc-from-define'.
3062 (describe-package-1): Render the homepage button (Bug#13291).
3063
3064 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3065 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3066
3067 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3068
3069 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3070 and default-process-coding-system to utf-8-unix (Bug#15402).
3071
3072 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3073
3074 * subr.el (looking-back): Do not recommend using looking-back.
3075
3076 2013-09-28 Alan Mackenzie <acm@muc.de>
3077
3078 Fix indentation/fontification of Java enum with "implements".
3079
3080 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3081 regexp which matches "implements", etc., in Java.
3082 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3083 specifier clauses coming after "enum".
3084 * progmodes/cc-fonts.el (c-font-lock-declarations)
3085 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3086 after "enum".
3087
3088 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3089
3090 * faces.el (region): Change ns_selection_color to
3091 ns_selection_fg_color, add ns_selection_bg_color.
3092
3093 2013-09-28 Leo Liu <sdl.web@gmail.com>
3094
3095 * progmodes/octave.el (inferior-octave-completion-table)
3096 (inferior-octave-completion-at-point): Minor tweaks.
3097
3098 * textmodes/ispell.el (ispell-lookup-words): Rename from
3099 lookup-words. (Bug#15460)
3100 (lookup-words): Obsolete.
3101 (ispell-complete-word, ispell-command-loop): All uses changed.
3102
3103 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3104
3105 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3106 (octave-mode-menu): Add octave-send-buffer.
3107 (octave-send-buffer): New function.
3108
3109 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3110
3111 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3112 octave-lookfor.
3113 (octave-mode-menu): Add octave-lookfor.
3114 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3115 octave-lookfor.
3116 (octave-lookfor): New function.
3117
3118 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3119
3120 * emacs-lisp/cl-macs.el:
3121 (cl--loop-destr-temps): Remove.
3122 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3123 its convention.
3124 (cl--loop-set-iterator-function): New function.
3125 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3126 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3127 Bind `it' with `let' instead of substituting it with `cl-subst'.
3128 (cl--unused-var-p): New function.
3129 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3130 Eliminate some unused variable warnings (bug#15326).
3131
3132 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3133
3134 * doc-view.el (doc-view-scale-reset): Rename from
3135 `doc-view-reset-zoom-level'.
3136 (doc-view-scale-adjust): New command.
3137 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3138 `doc-view-scale-adjust'.
3139
3140 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3141
3142 * doc-view.el (doc-view-reset-zoom-level): New command.
3143 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3144 zoom commands (bug#15466).
3145
3146 2013-09-26 Kenichi Handa <handa@gnu.org>
3147
3148 * international/quail.el (quail-help): Make it not a command.
3149
3150 2013-09-26 Leo Liu <sdl.web@gmail.com>
3151
3152 * minibuffer.el (completion-all-sorted-completions): Make args
3153 optional as they are.
3154
3155 2013-09-25 Daniel Colascione <dancol@dancol.org>
3156
3157 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3158 specs are and that they're not evaluated.
3159
3160 2013-09-24 Sam Steingold <sds@gnu.org>
3161
3162 * midnight.el (clean-buffer-list-kill-regexps)
3163 (clean-buffer-list-kill-buffer-names): Update for the new Man
3164 buffer naming which includes the object name.
3165
3166 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3167
3168 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3169 (eshell-parse-command, eshell-parse-pipeline): Use it since
3170 eshell-separate-commands requires a dynamic scoped var.
3171 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3172
3173 2013-09-23 Leo Liu <sdl.web@gmail.com>
3174
3175 * autoinsert.el (auto-insert-alist): Make the value of
3176 lexical-binding match its file setting.
3177
3178 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3179
3180 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3181
3182 * autoarg.el (autoarg-kp-digit-argument):
3183 * electric.el (Electric-command-loop):
3184 * kmacro.el (kmacro-step-edit-insert):
3185 Do not set universal-argument-num-events.
3186
3187 2013-09-22 Leo Liu <sdl.web@gmail.com>
3188
3189 * files.el (interpreter-mode-alist): Add octave.
3190
3191 2013-09-21 Alan Mackenzie <acm@muc.de>
3192
3193 C++: fontify identifier in declaration following "public:" correctly.
3194 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3195 to match "public", etc.
3196 (c-decl-prefix-re): Add ":" into the C++ value.
3197 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3198 bit. Add a check for a ":" preceded by "public", etc.
3199
3200 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3201
3202 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3203 recognized by GDB 7.5 and later.
3204
3205 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3206
3207 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3208
3209 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3210
3211 * subr.el (internal--call-interactively): New const.
3212 (called-interactively-p): Use it (bug#3984).
3213
3214 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3215
3216 * vc/pcvs.el (cvs-mode-ignore):
3217 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3218 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3219
3220 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3221
3222 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3223 (eshell-ls-orig-insert-directory): Remove.
3224 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3225 (eshell-ls-use-in-dired): Use advice-add/remove.
3226 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3227 Add `orig-fun' arg for use in :around advice.
3228 Make it check (redundantly) eshell-ls-use-in-dired.
3229
3230 2013-09-19 Glenn Morris <rgm@gnu.org>
3231
3232 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3233
3234 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3235
3236 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3237
3238 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3239
3240 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3241 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3242 (tramp-get-remote-python): New defuns.
3243 (tramp-get-remote-uid-with-perl)
3244 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3245 contributed by yary <not.com@gmail.com> (tiny change).
3246 (tramp-get-remote-uid-with-python)
3247 (tramp-get-remote-gid-with-python): New defuns. Python code
3248 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3249 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3250
3251 2013-09-19 Glenn Morris <rgm@gnu.org>
3252
3253 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3254
3255 * eshell/em-unix.el (eshell-remove-entries):
3256 Rename argument to avoid name-clash with global `top-level'.
3257
3258 * eshell/esh-proc.el (eshell-kill-process-function):
3259 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3260 (eshell-reset-after-proc): Remove unused arg `proc'.
3261
3262 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3263 (directory-files-and-attributes): Mark unused arg.
3264
3265 * eshell/em-unix.el (eshell-remove-entries):
3266 Remove unused arg `path'. Update callers.
3267
3268 * eshell/em-hist.el (eshell-hist-parse-arguments):
3269 Remove unused arg `silent'. Update callers.
3270
3271 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3272 Fix (f)boundp mix-up.
3273
3274 * eshell/em-smart.el (eshell-smart-scroll-window)
3275 (eshell-disable-after-change):
3276 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3277
3278 2013-09-18 Alan Mackenzie <acm@muc.de>
3279
3280 Fix fontification of type when followed by "const".
3281 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3282 "known" types from fontification.
3283
3284 2013-09-18 Glenn Morris <rgm@gnu.org>
3285
3286 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3287 (chart-face-list): Drop Emacsen without display-color-p.
3288
3289 * net/eww.el (libxml-parse-html-region): Declare.
3290 (eww-display-html): Explicit error if no libxml2 support.
3291
3292 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3293
3294 * image.el (image-type-from-buffer, image-multi-frame-p):
3295 Remove --without-x warning/error.
3296
3297 * mouse.el (mouse-yank-primary):
3298 * term.el (term-mouse-paste):
3299 Reorder to silence --without-x compilation.
3300
3301 * mpc.el (doc-view-mode): Silence --without-x compilation.
3302
3303 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3304 Silence --without-x compilation.
3305
3306 * progmodes/gud.el (gud-find-file, gud-mode):
3307 Silence --without-x compilation.
3308 (tooltip-mode): Declare.
3309
3310 * wdired.el (dired-backup-overwrite): Remove declaration.
3311 (wdired-mode-map): Add doc string.
3312
3313 * custom.el (x-get-resource): Declare.
3314
3315 * eshell/em-glob.el (ange-cache):
3316 * eshell/em-unix.el (ange-cache): Declare.
3317
3318 * faces.el (x-display-list, x-open-connection, x-get-resource):
3319 Declare.
3320
3321 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3322 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3323 Declare.
3324
3325 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3326
3327 * net/gnutls.el (gnutls-log-level): Declare.
3328
3329 * net/shr.el (image-size, image-animate): Declare.
3330
3331 * simple.el (font-info): Declare.
3332
3333 * subr.el (x-popup-dialog): Declare.
3334
3335 * term/common-win.el (x-select-enable-primary)
3336 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3337 Declare.
3338
3339 * term/ns-win.el (x-handle-args): Declare.
3340
3341 * term/x-win.el (x-select-enable-clipboard): Declare.
3342
3343 * term/w32-win.el (create-default-fontset): Declare.
3344
3345 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3346 Declare.
3347
3348 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3349 (fit-frame-to-buffer): Explicit error if --without-x.
3350 (mouse-autoselect-window-select): Silence compiler.
3351
3352 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3353
3354 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3355 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3356 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3357 * eshell/esh-util.el (eshell-sublist):
3358 Remove unused local variables.
3359
3360 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3361
3362 * textmodes/two-column.el: Make 2C-split work for --without-x.
3363 (scroll-bar-columns): Autoload.
3364 (top-level): Require fringe when compiling.
3365
3366 2013-09-18 Leo Liu <sdl.web@gmail.com>
3367
3368 * subr.el (add-hook): Robustify to handle closure as well.
3369
3370 2013-09-17 Glenn Morris <rgm@gnu.org>
3371
3372 * simple.el (messages-buffer-mode-map): Unbind "g".
3373
3374 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3375
3376 * help-mode.el (help-mode-finish): Use derived-mode-p.
3377 Remove obsolete highlighting.
3378
3379 * play/life.el (life-mode): Use define-derived-mode. Derive from
3380 special-mode.
3381 (life): Let-bind inhibit-read-only.
3382 (life-setup): Avoid `setq'. Use `life-mode'.
3383
3384 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3385 which should not be needed any more.
3386 (package-menu-refresh, package-menu-describe-package): Use user-error.
3387
3388 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3389 (eshell-post-rewrite-command-hook): Make obsolete.
3390 (eshell-parse-command): Simplify.
3391 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3392 (eshell--cmd): Declare.
3393 (eshell-parse-pipeline): Remove unused var `final-p'.
3394 Pass a dynvar to eshell-post-rewrite-command-hook.
3395 Implement the new eshell-post-rewrite-command-function.
3396 (eshell-invoke-directly): Remove unused arg `input'.
3397 * eshell/esh-io.el (eshell-io-initialize):
3398 Use eshell-post-rewrite-command-function (bug#15399).
3399 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3400 adjust to new calling convention.
3401 (eshell-create-handles): Rename args to avoid clashing with dynvar
3402 `standard-output'.
3403
3404 2013-09-17 Glenn Morris <rgm@gnu.org>
3405
3406 * simple.el (messages-buffer-mode): New major mode.
3407 (messages-buffer): New function.
3408 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3409 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3410 (ert-run-test): Use `messages-buffer' function.
3411 (ert--force-message-log-buffer-truncation): Ignore read-only.
3412 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3413 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3414
3415 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3416
3417 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3418
3419 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3420
3421 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3422
3423 * icomplete.el (icomplete-in-buffer): New var.
3424 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3425 vars and replace them with functions.
3426 (icomplete-minibuffer-setup): Adjust accordingly.
3427 (icomplete--completion-table, icomplete--completion-predicate)
3428 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3429 New functions.
3430 (icomplete-forward-completions, icomplete-backward-completions)
3431 (icomplete-simple-completing-p, icomplete-exhibit)
3432 (icomplete-completions): Use them.
3433 (icomplete--in-region-buffer): New var.
3434 (icomplete--in-region-setup): New function.
3435 (icomplete-mode): Use it.
3436
3437 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3438 (bug#15379).
3439 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3440 return args and options.
3441 (eshell-eval-using-options): Use the new return value of
3442 eshell--do-opts to set the options's vars in their scope.
3443 (eshell--set-option): Rename from eshell-set-option.
3444 Add arg `opt-vals'.
3445 (eshell--process-option): Rename from eshell-process-option.
3446 Add arg `opt-vals'.
3447 (eshell--process-args): Use an `opt-vals' alist to store the options's
3448 values during their processing and return them additionally to the
3449 remaining args.
3450
3451 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3452
3453 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3454 continuation character an operator, as far as indentation is
3455 concerned (Bug#15369).
3456
3457 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3458
3459 * window.el (window--state-put-2): Don't process buffer state
3460 when buffer doesn't exist any more (Bug#15382).
3461
3462 2013-09-15 Glenn Morris <rgm@gnu.org>
3463
3464 * eshell/em-unix.el (eshell/rm):
3465 Make -f ignore missing files. (Bug#15373)
3466
3467 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3468 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3469 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3470
3471 2013-09-14 Glenn Morris <rgm@gnu.org>
3472
3473 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3474
3475 2013-09-13 Glenn Morris <rgm@gnu.org>
3476
3477 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3478 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3479
3480 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3481
3482 * frame.el (x-focus-frame): Mark as declared in frame.c.
3483
3484 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3485
3486 * ls-lisp.el: Use advice-add.
3487 (original-insert-directory): Remove.
3488 (ls-lisp--insert-directory): Rename from insert-directory; add
3489 `orig-fun' argument.
3490 (insert-directory): Advise.
3491
3492 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3493
3494 * term.el (term-emulate-terminal): Decode the command string
3495 before passing it to term-command-hook. (Bug#15337)
3496
3497 2013-09-13 Glenn Morris <rgm@gnu.org>
3498
3499 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3500
3501 * eshell/esh-ext.el (eshell-search-path): Declare.
3502
3503 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3504 Otherwise an error occurs if eshell-dirs module not loaded.
3505
3506 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3507
3508 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3509
3510 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3511 `tramp-check-proper-host'. Check for a valid method name.
3512
3513 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3514 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3515 * net/tramp-sh.el (tramp-maybe-open-connection):
3516 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3517
3518 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3519 also for hash values.
3520
3521 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3522
3523 * term/ns-win.el (parameters): Don't declare as dynamic.
3524 (before-make-frame-hook): Don't add ineffective function.
3525
3526 * eshell/*.el: Use lexical-binding (bug#15231).
3527
3528 2013-09-12 Kenichi Handa <handa@gnu.org>
3529
3530 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3531
3532 2013-09-12 Glenn Morris <rgm@gnu.org>
3533
3534 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3535 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3536
3537 * subr.el (do-after-load-evaluation): Also give compiler warnings
3538 when obsolete files are used (except by obsolete files).
3539
3540 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3541 in the status output, assume `filename' is the first. (Bug#15322)
3542
3543 * vc/vc.el (vc-deduce-fileset): Doc fix.
3544
3545 * calc/calc-help.el (Info-goto-node):
3546 * progmodes/cperl-mode.el (Info-find-node):
3547 * vc/ediff.el (Info-goto-node): Update declarations.
3548
3549 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3550
3551 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3552 (vc-bzr-pull): Require vc-dispatcher.
3553 * vc/vc-git.el (vc-compilation-mode): Declare.
3554 (vc-git-pull): Require vc-dispatcher.
3555
3556 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3557
3558 * progmodes/octave.el (help-button-action): Declare.
3559
3560 * shell.el (shell-directory-tracker): Output error as a message
3561 rather than just returning it as a string.
3562 (shell-process-pushd): Remove useless use of message.
3563
3564 * dframe.el (dframe-timer-fn):
3565 * files.el (dir-locals-read-from-file):
3566 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3567 (mpc-format):
3568 * reveal.el (reveal-post-command):
3569 * saveplace.el (load-save-place-alist-from-file):
3570 * shell.el (shell-resync-dirs):
3571 * w32-common-fns.el (x-get-selection-value):
3572 * emacs-lisp/copyright.el (copyright-find-copyright):
3573 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3574 * emulation/tpu-edt.el (tpu-copy-keyfile):
3575 * play/bubbles.el (bubbles--mark-neighbourhood):
3576 * progmodes/executable.el
3577 (executable-make-buffer-file-executable-if-script-p):
3578 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3579
3580 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3581
3582 Cleanup Eshell to rely less on dynamic scoping.
3583 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3584 last-value, and ext-command here. Bind `args' closer to `body'.
3585 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3586 (eshell--args): Declare new dynamic var.
3587 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3588 last-value, and ext-command. Pass `args' to `body'.
3589 (eshell-process-args): Bind eshell--args.
3590 (eshell-set-option): Use eshell--args.
3591 * eshell/eshell.el (eshell): Use derived-mode-p.
3592 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3593 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3594 (eshell-glob-function): Declare.
3595 * eshell/esh-util.el: Require cl-lib.
3596 (eshell-read-hosts-file): Avoid add-to-list.
3597 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3598 `err'.
3599 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3600 Declare.
3601 (eshell/diff): Remove unused var `err'.
3602 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3603 `killflag'.
3604 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3605 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3606 first use.
3607 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3608 Move declaration before first use.
3609 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3610 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3611 rely on cl-return.
3612
3613 2013-09-12 Glenn Morris <rgm@gnu.org>
3614
3615 * term/ns-win.el (global-map): Remove binding for ispell-next,
3616 deleted 1999-05-29. (Bug#15357)
3617
3618 2013-09-11 Glenn Morris <rgm@gnu.org>
3619
3620 * echistory.el (electric-command-history): Remove call to deleted func.
3621
3622 * play/landmark.el (landmark-mode): Fix typos.
3623
3624 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3625 Check cvs-sort-ignore-file is bound.
3626
3627 * savehist.el: No need for cl when compiling on Emacs.
3628
3629 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3630
3631 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3632 (bug#15338).
3633 (eshell-self-insert-command, eshell-send-invisible):
3634 Remove unused argument.
3635 (eshell-handle-control-codes): Remove unused var `orig'.
3636 Avoid delete-backward-char.
3637
3638 * files.el (set-auto-mode): Simplify a bit further.
3639
3640 2013-09-11 Glenn Morris <rgm@gnu.org>
3641
3642 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3643 (set-auto-mode): Don't regexp-quote elements.
3644 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3645 * progmodes/cc-mode.el (interpreter-mode-alist):
3646 * progmodes/ruby-mode.el (interpreter-mode-alist):
3647 Revert previous change.
3648
3649 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3650
3651 * play/snake.el (snake-mode):
3652 * play/mpuz.el (mpuz-mode):
3653 * play/landmark.el (lm-mode):
3654 * play/blackbox.el (blackbox-mode):
3655 * play/5x5.el (5x5-mode):
3656 * obsolete/options.el (Edit-options-mode):
3657 * net/quickurl.el (quickurl-list-mode):
3658 * net/newst-treeview.el (newsticker-treeview-mode):
3659 * mail/rmailsum.el (rmail-summary-mode):
3660 * mail/mspools.el (mspools-mode):
3661 * locate.el (locate-mode):
3662 * ibuffer.el (ibuffer-mode):
3663 * emulation/ws-mode.el (wordstar-mode):
3664 * emacs-lisp/debug.el (debugger-mode):
3665 * array.el (array-mode):
3666 * net/eudc.el (eudc-mode): Use define-derived-mode.
3667 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3668 Move initialization into declaration.
3669 (mairix-searches-mode): Use define-derived-mode.
3670 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3671 (eudc-edit-hotlist): Use dolist.
3672 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3673 (Man-mode): Use define-derived-mode.
3674 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3675 (Info-edit-mode): Use define-derived-mode.
3676 (Info-cease-edit): Use Info-mode.
3677 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3678 into declaration.
3679 (eshell-mode): Use define-derived-mode.
3680 * chistory.el (command-history-mode-map): Rename from
3681 command-history-map.
3682 (command-history-mode): Use define-derived-mode.
3683 (Command-history-setup): Remove function.
3684 * calc/calc.el (calc-trail-mode-map): New var.
3685 (calc-trail-mode): Use define-derived-mode.
3686 (calc-trail-buffer): Set calc-main-buffer manually.
3687 * bookmark.el (bookmark-insert-annotation): New function.
3688 (bookmark-edit-annotation): Use it.
3689 (bookmark-edit-annotation-mode): Make it a proper major mode.
3690 (bookmark-send-edited-annotation): Use derived-mode-p.
3691 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3692 closer to its ideal place. Use \' to match EOS.
3693
3694 * profiler.el (profiler-calltree-find): Use function-equal.
3695
3696 2013-09-10 Glenn Morris <rgm@gnu.org>
3697
3698 * files.el (interpreter-mode-alist): Convert to regexps.
3699 (set-auto-mode): Adapt for this. (Bug#15306)
3700 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3701 Comment out unused variable.
3702 * progmodes/cc-mode.el (interpreter-mode-alist):
3703 * progmodes/python.el (interpreter-mode-alist):
3704 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3705 * progmodes/sh-script.el (sh-set-shell):
3706 No longer use interpreter-mode-alist to get list of shells.
3707
3708 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3709
3710 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3711
3712 * simple.el: Use set-temporary-overlay-map for universal-argument.
3713 (universal-argument-map): Don't use default-bindings (bug#15317).
3714 Bind switch-frame explicitly. Replace universal-argument-minus with
3715 a conditional binding.
3716 (universal-argument-num-events, saved-overriding-map): Remove.
3717 (restore-overriding-map): Remove.
3718 (universal-argument--mode): Rename from save&set-overriding-map,
3719 and rewrite.
3720 (universal-argument, universal-argument-more, negative-argument)
3721 (digit-argument): Adjust accordingly.
3722 (universal-argument-minus): Remove.
3723 (universal-argument-other-key): Remove.
3724
3725 * subr.el (with-demoted-errors): Add `format' argument.
3726
3727 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3728
3729 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3730 `tramp-cleanup-connection'.
3731
3732 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3733 parameters KEEP-DEBUG and KEEP-PASSWORD.
3734
3735 * net/tramp.el (tramp-file-name-handler):
3736 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3737 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3738 (tramp-maybe-open-connection):
3739 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3740 Use `tramp-cleanup-connection'.
3741
3742 * net/tramp-sh.el (tramp-maybe-open-connection):
3743 Catch 'uname-changed inside the progress reporter.
3744
3745 2013-09-10 Glenn Morris <rgm@gnu.org>
3746
3747 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3748
3749 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3750 returns "alternate access method" in mode (eg "-rw-r--r--.").
3751
3752 2013-09-08 Glenn Morris <rgm@gnu.org>
3753
3754 * saveplace.el (load-save-place-alist-from-file):
3755 Demote errors. (Bug#15305)
3756
3757 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3758
3759 Improve compatibility with older Emacsen, and XEmacs.
3760
3761 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3762 only if it is bound. It isn't for XEmacs.
3763 (with-tramp-progress-reporter): Do not let-bind `result'.
3764 This yields to scoping errors in XEmacs.
3765 (tramp-handle-make-auto-save-file-name): New function, moved from
3766 tramp-sh.el.
3767
3768 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3769 for `make-auto-save-file-name'.
3770 (tramp-adb--gnu-switches-to-ash):
3771 Use `tramp-compat-replace-regexp-in-string'.
3772
3773 * net/tramp-cache.el (tramp-cache-print): Call
3774 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3775
3776 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3777 bound. It isn't for XEmacs.
3778
3779 * net/tramp-compat.el (tramp-compat-copy-file):
3780 Catch `wrong-number-of-arguments' error.
3781 (tramp-compat-replace-regexp-in-string): New defun.
3782
3783 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3784 for `make-auto-save-file-name'.
3785 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3786 `copy-file'.
3787 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3788 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3789 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3790
3791 * net/tramp-gw.el (tramp-gw-open-network-stream):
3792 Use `tramp-compat-replace-regexp-in-string'.
3793
3794 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3795 Call `tramp-handle-make-auto-save-file-name'.
3796 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3797 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3798 (tramp-sh-file-inotifywait-process-filter):
3799 Use `tramp-compat-replace-regexp-in-string'.
3800 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3801
3802 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3803 for `make-auto-save-file-name'.
3804 (tramp-smb-handle-copy-directory):
3805 Call `tramp-compat-replace-regexp-in-string'.
3806 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3807 (tramp-smb-handle-copy-file): Improve error message.
3808 (tramp-smb-handle-rename-file): Rename directly only in case
3809 `newname' does not exist yet. This is a restriction of smbclient.
3810 (tramp-smb-maybe-open-connection): Rerun the function only when
3811 `auth-sources' is non-nil.
3812
3813 2013-09-08 Kenichi Handa <handa@gnu.org>
3814
3815 * international/characters.el: Set category "^" (Combining) for
3816 more characters.
3817
3818 2013-09-07 Alan Mackenzie <acm@muc.de>
3819
3820 Correctly fontify Java class constructors.
3821 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3822 in Java Mode.
3823 (c-recognize-typeless-decls): Set the Java value to t.
3824 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3825 While handling a "(", add a check for, effectively, Java, and handle a
3826 "typeless" declaration there.
3827
3828 2013-09-07 Roland Winkler <winkler@gnu.org>
3829
3830 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3831 field subtitle for entry type book.
3832
3833 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3834
3835 * minibuffer.el: Make minibuffer-complete call completion-in-region
3836 rather than other way around.
3837 (completion--some, completion-pcm--find-all-completions):
3838 Don't delay signals when debugging.
3839 (minibuffer-completion-contents): Beware fields within the
3840 minibuffer contents.
3841 (completion-all-sorted-completions): Use defvar-local.
3842 (completion--do-completion, completion--cache-all-sorted-completions)
3843 (completion-all-sorted-completions, minibuffer-force-complete):
3844 Add args `beg' and `end'.
3845 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3846 (minibuffer-complete): Use completion-in-region.
3847 (completion-complete-and-exit): New fun, extracted from
3848 minibuffer-complete-and-exit.
3849 (minibuffer-complete-and-exit): Use it.
3850 (completion--complete-and-exit): Rename from
3851 minibuffer--complete-and-exit.
3852 (completion-in-region--single-word): New function, extracted from
3853 minibuffer-complete-word.
3854 (minibuffer-complete-word): Use it.
3855 (display-completion-list): Make `common-substring' argument obsolete.
3856 (completion--in-region): Call completion--in-region-1 instead of
3857 minibuffer-complete.
3858 (completion-help-at-point): Pass boundaries to
3859 minibuffer-completion-help as args rather than via an overlay.
3860 (completion-pcm--string->pattern): Use `any-delim'.
3861 (completion-pcm--optimize-pattern): New function.
3862 (completion-pcm--pattern->regex): Handle `any-delim'.
3863 * icomplete.el (icomplete-forward-completions)
3864 (icomplete-backward-completions, icomplete-completions):
3865 Adjust calls to completion-all-sorted-completions and
3866 completion--cache-all-sorted-completions.
3867 (icomplete-with-completion-tables): Default to t.
3868 * emacs-lisp/crm.el (crm--current-element): Rename from
3869 crm--select-current-element. Don't put an overlay but return the
3870 boundaries instead.
3871 (crm--completion-command): Take two new args to bind to the boundaries.
3872 (crm-completion-help): Adjust accordingly.
3873 (crm-complete): Use completion-in-region.
3874 (crm-complete-word): Use completion-in-region--single-word.
3875 (crm-complete-and-exit): Use completion-complete-and-exit.
3876
3877 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3878
3879 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3880 than dynamically.
3881
3882 2013-09-06 Juri Linkov <juri@jurta.org>
3883
3884 * info.el (Info-display-images-node): When image file doesn't exist
3885 display text version of the image if it's provided in the Info file.
3886 Otherwise, display the location of missing image from SRC attribute.
3887 Add help-echo text property from ALT attribute. (Bug#15279)
3888
3889 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3890
3891 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3892 (edit-abbrevs-mode): Use define-derived-mode.
3893
3894 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3895 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3896 that it's defined.
3897 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3898 Use define-derived-mode.
3899
3900 * epg.el (epg-start-encrypt): Minor CSE simplification.
3901
3902 2013-09-06 William Xu <william.xwl@gmail.com>
3903
3904 * arc-mode.el: Add support for 7za (bug#15264).
3905 (archive-7z-program): New var.
3906 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3907 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3908 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3909
3910 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3911
3912 Remove URL syntax.
3913
3914 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3915 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3916 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3917 (tramp-postfix-host-format, tramp-file-name-regexp)
3918 (tramp-completion-file-name-regexp)
3919 (tramp-completion-dissect-file-name)
3920 (tramp-handle-substitute-in-file-name): Remove 'url case.
3921 (tramp-file-name-regexp-url)
3922 (tramp-completion-file-name-regexp-url): Remove constants.
3923
3924 2013-09-06 Glenn Morris <rgm@gnu.org>
3925
3926 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3927
3928 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3929
3930 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3931 keywords" below "here-doc beginnings" (Bug#15270).
3932
3933 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3934
3935 * subr.el (pop): Use `car-safe'.
3936 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3937 to detect unused `pop' return value.
3938
3939 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3940 var `block-regexp'.
3941 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3942 (python-fill-string): Remove unused var `marker'.
3943 (python-skeleton-add-menu-items): Remove unused var `items'.
3944
3945 * international/mule-cmds.el: Require CL.
3946 (find-coding-systems-for-charsets): Avoid add-to-list.
3947 (sanitize-coding-system-list): New function, extracted from
3948 select-safe-coding-system-interactively.
3949 (select-safe-coding-system-interactively): Use it.
3950 (read-input-method-name): Accept symbols for `default'.
3951
3952 * emacs-lisp/advice.el (defadvice): Add indent rule.
3953
3954 2013-09-05 Daniel Hackney <dan@haxney.org>
3955
3956 * dired-x.el:
3957 * net/ange-ftp.el:
3958 * net/browse-url.el:
3959 * net/dbus.el:
3960 * net/eudc.el:
3961 * net/eudcb-ldap.el:
3962 * net/eww.el:
3963 * net/imap.el:
3964 * printing.el:
3965 * vc/ediff-diff.el:
3966 * vc/ediff-init.el:
3967 * vc/ediff-merg.el:
3968 * vc/ediff-mult.el:
3969 * vc/ediff-util.el:
3970 * vc/ediff-wind.el:
3971 * vc/ediff.el:
3972 * vc/emerge.el:
3973 * vc/pcvs.el:
3974 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3975 byte compiler. Remove some unused let-bound variables.
3976
3977 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3978
3979 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3980 a "ref-cell", since it gets better optimized (bug#14883).
3981
3982 2013-09-05 Glenn Morris <rgm@gnu.org>
3983
3984 * progmodes/cc-awk.el (c-forward-sws): Declare.
3985
3986 2013-09-04 Glenn Morris <rgm@gnu.org>
3987
3988 * generic-x.el [rul-generic-mode]: Require cc-mode.
3989 (c++-mode-syntax-table): Declare.
3990 (rul-generic-mode-syntax-table): Init in the defvar.
3991
3992 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3993
3994 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3995 (vc-do-command, vc-set-async-update):
3996 * vc/vc-mtn.el (vc-mtn-dir-status):
3997 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3998 (vc-hg-pull, vc-hg-merge-branch):
3999 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4000 (vc-git-merge-branch):
4001 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4002 (vc-cvs-dir-status-files):
4003 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4004 (vc-bzr-dir-status-files):
4005 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4006 * vc/vc-annotate.el: Use lexical-binding.
4007 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4008 (vc-sentinel-movepoint): Declare.
4009 (vc-annotate): Don't use `goto-line'.
4010 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4011 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4012 (vc-sentinel-movepoint): Declare.
4013 * vc/vc-svn.el: Use lexical-binding.
4014 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4015 * vc/vc-sccs.el:
4016 * vc/vc-rcs.el: Use lexical-binding.
4017
4018 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4019 `deleted'. Don't drop errors silently.
4020
4021 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4022
4023 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4024
4025 * vc/vc.el (vc-ignore): Rewrite.
4026 (vc-default-ignore): New function.
4027 (vc-default-ignore-completion-table): Use find-ignore-file.
4028
4029 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4030 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4031 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4032 Remove. Most code moved to vc.el.
4033
4034 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4035
4036 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4037 * net/tramp-smb.el (tramp-smb-get-file-entries):
4038 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4039 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4040
4041 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4042 Update call to it.
4043 (eww-change-select): Remove unused var `properties'.
4044 (eww-make-unique-file-name): Remove unused var `base'.
4045
4046 * finder.el (finder-compile-keywords): Don't mess with windows.
4047
4048 * calculator.el (calculator-funcall): Fix typo in last change.
4049
4050 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4051
4052 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4053 <pkg>-autoloads.el file stop us.
4054
4055 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4056 warnings, and factor out common code.
4057
4058 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4059
4060 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4061 two-character operators and whether the character preceding them
4062 changes their meaning (Bug#15208).
4063
4064 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4065
4066 Format code sent to Python shell for robustness.
4067 * progmodes/python.el (python-shell-buffer-substring):
4068 New function.
4069 (python-shell-send-region, python-shell-send-buffer): Use it.
4070
4071 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4072
4073 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4074 * net/tramp.el (tramp-user-error): ... here.
4075 (tramp-find-method, tramp-check-proper-host)
4076 (tramp-dissect-file-name, tramp-debug-message)
4077 (tramp-handle-shell-command):
4078 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4079 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4080
4081 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4082
4083 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4084
4085 * avoid.el (mouse-avoidance-point-position)
4086 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4087 returns nil.
4088
4089 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4090
4091 * progmodes/python.el (python-shell-completion-get-completions):
4092 Drop use of deleted `comint-last-prompt-overlay'.
4093 (python-nav-if-name-main): New command.
4094
4095 2013-09-01 Glenn Morris <rgm@gnu.org>
4096
4097 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4098 Avoid leading space in $wins. Otherwise the sed command used by
4099 eg compile-main ends up containing "/*.el". (Bug#15170)
4100
4101 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4102
4103 2013-08-30 Glenn Morris <rgm@gnu.org>
4104
4105 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4106 Fix is-this-a-directory logic. (Bug#15220)
4107
4108 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4109
4110 * textmodes/css-mode.el: Use SMIE.
4111 (css-smie-grammar): New var.
4112 (css-smie--forward-token, css-smie--backward-token)
4113 (css-smie-rules): New functions.
4114 (css-mode): Use them.
4115 (css-navigation-syntax-table): Remove var.
4116 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4117 (css-indent-calculate, css-indent-line): Remove functions.
4118
4119 Misc changes to reduce use of `(lambda...); and other cleanups.
4120 * cus-edit.el: Use lexical-binding.
4121 (customize-push-and-save, customize-apropos)
4122 (custom-buffer-create-internal): Use closures.
4123 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4124 * progmodes/ada-xref.el: Use setq.
4125 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4126 * dframe.el: Use lexical-binding.
4127 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4128 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4129 * descr-text.el: Use lexical-binding.
4130 (describe-text-widget, describe-text-sexp, describe-property-list):
4131 Use closures.
4132 * comint.el (comint-history-isearch-push-state): Use a closure.
4133 * calculator.el: Use lexical-binding.
4134 (calculator-number-to-string): Make it work with lexical-binding.
4135 (calculator-funcall): Same and use cl-letf.
4136
4137 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4138 (lisp--company-doc-string, lisp--company-location): New functions.
4139 (lisp-completion-at-point): Use them to improve Company support.
4140
4141 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4142 params of lambda expressions.
4143 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4144 (ruby-smie--opening-pipe-p): New function.
4145 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4146 symbols and matched |...| for formal params.
4147 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4148 from being treated as hanging. Handle "rescue".
4149
4150 2013-08-29 Glenn Morris <rgm@gnu.org>
4151
4152 * progmodes/cc-engine.el (c-pull-open-brace):
4153 Move definition before use.
4154
4155 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4156
4157 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4158 are immutable. Don't use `unsafe' any more.
4159 (cl--defsubst-expand): Don't substitute at the same time as keeping
4160 a residual unused let-binding. Don't use `unsafe' any more.
4161
4162 2013-08-29 Glenn Morris <rgm@gnu.org>
4163
4164 * calendar/cal-china.el (calendar-chinese-year-cache):
4165 Recenter on 2015.
4166
4167 * nxml/nxml-util.el (nxml-debug-clear-inside):
4168 Use cl-loop rather than loop.
4169
4170 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4171
4172 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4173
4174 2013-08-28 Glenn Morris <rgm@gnu.org>
4175
4176 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4177
4178 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4179
4180 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4181
4182 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4183
4184 * simple.el (repeat-complex-command--called-interactively-skip):
4185 New function.
4186 (repeat-complex-command): Use it (bug#14136).
4187
4188 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4189 (c-define-abbrev-table): Add `doc' argument.
4190 (c-mode-abbrev-table, c++-mode-abbrev-table)
4191 (objc-mode-abbrev-table, java-mode-abbrev-table)
4192 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4193 (awk-mode-abbrev-table): Use it.
4194 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4195 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4196 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4197 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4198 Move initialization into the declaration; and remove any
4199 autoload cookie.
4200
4201 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4202 and dynamic let binding.
4203
4204 * vc/smerge-mode.el: Remove redundant :group args.
4205
4206 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4207 to load-path.
4208
4209 2013-08-28 Juri Linkov <juri@jurta.org>
4210
4211 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4212 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4213 (isearch-other-meta-char): Handle an undefined shifted printing
4214 character by downshifting it. (Bug#15200)
4215
4216 2013-08-28 Juri Linkov <juri@jurta.org>
4217
4218 * isearch.el (isearch-search): Change regexp error message for
4219 non-regexp searches. (Bug#15166)
4220
4221 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4222
4223 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4224 for portability to hosts where /bin/sh has problems.
4225
4226 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4227
4228 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4229
4230 2013-08-27 Juri Linkov <juri@jurta.org>
4231
4232 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4233 in the keyboard macro. (Bug#15126)
4234
4235 2013-08-27 Juri Linkov <juri@jurta.org>
4236
4237 * isearch.el (isearch-quote-char): Comment out converting unibyte
4238 to multibyte, thus syncing with its `quoted-insert' counterpart.
4239 (Bug#15166)
4240
4241 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4242
4243 * window.el (display-buffer-use-some-window): Add missing
4244 argument in call of get-largest-window (Bug#15185).
4245 Reported by Stephen Leake.
4246
4247 2013-08-27 Glenn Morris <rgm@gnu.org>
4248
4249 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4250
4251 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4252
4253 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4254 from a matcher-function unless there's no more matches (bug#15161).
4255
4256 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4257
4258 * minibuffer.el: Revert change from 2013-08-20.
4259
4260 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4261 with text property `tramp-default', if appropriate.
4262 (tramp-check-proper-host): New defun.
4263 (tramp-dissect-file-name): Do not check hostname. Revert change
4264 of 2013-03-18.
4265 (tramp-backtrace): Make VEC-OR-PROC optional.
4266
4267 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4268 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4269 * net/tramp-sh.el (tramp-maybe-open-connection):
4270 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4271 Apply `tramp-check-proper-host'.
4272
4273 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4274
4275 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4276 lambda expression in order to have `describe-variable' display it.
4277
4278 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4279
4280 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4281 BUF can be optional. (Bug#15186)
4282
4283 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4284
4285 * progmodes/flymake.el (flymake-get-real-file-name-function):
4286 Fix broken customization. (Bug#15184)
4287
4288 2013-08-25 Alan Mackenzie <acm@muc.de>
4289
4290 Improve indentation of bracelists defined by macros (without "=").
4291
4292 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4293 expansion begins with "{", regard it as bracelist when it doesn't
4294 contain a ";".
4295
4296 Parse C++ inher-intro when there's a template split over 2 lines.
4297
4298 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4299 rigorously the search for "class" etc. followed by ":".
4300
4301 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4302 random languages a regexp which never matches rather than nil.
4303
4304 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4305
4306 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4307 (c-awk-regexp-one-line-possibly-open-char-list-re)
4308 (c-awk-one-line-possibly-open-regexp-re)
4309 (c-awk-one-line-non-syn-ws*-re): Remove.
4310 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4311 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4312 (c-awk-space*-unclosed-regexp-/-re): New constants.
4313 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4314 aren't regexp delimiters.
4315
4316 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4317 handling for a rare situation in AWK Mode involving unterminated
4318 strings/regexps.
4319
4320 2013-08-23 Glenn Morris <rgm@gnu.org>
4321
4322 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4323
4324 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4325
4326 * files.el (create-file-buffer): If the result would begin with
4327 spaces, prepend a "|" instead of removing them. (Bug#15162)
4328
4329 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4330
4331 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4332 text-properties (bug#15155).
4333
4334 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4335 exist any more.
4336 (calc-keypad-redraw): Remove unused var `pad'.
4337 (calc-keypad-press): Remove unused var `menu'.
4338
4339 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4340
4341 * window.el (display-buffer-pop-up-frame):
4342 Call pop-up-frame-function with BUFFER current so `make-frame' will
4343 use it as the new frame's buffer (Bug#15133).
4344
4345 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4346
4347 * calendar/timeclock.el: Minor cleanups.
4348 (timeclock-ask-before-exiting, timeclock-use-display-time):
4349 Use `symbol'.
4350 (timeclock-modeline-display): Define as alias before the
4351 actual definition.
4352 (timeclock-mode-line-display): Use define-minor-mode.
4353 (timeclock-day-list-template): Make it a function, add an argument.
4354 (timeclock-day-list-required, timeclock-day-list-length)
4355 (timeclock-day-list-debt, timeclock-day-list-span)
4356 (timeclock-day-list-break): Adjust calls accordingly.
4357
4358 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4359
4360 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4361 Use read--expression so that completion works again.
4362
4363 2013-08-21 Sam Steingold <sds@gnu.org>
4364
4365 Add rudimentary inferior shell interaction
4366 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4367 (sh-set-shell): Reset it.
4368 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4369 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4370
4371 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4372
4373 * align.el: Use lexical-binding.
4374 (align-region): Simplify accordingly.
4375
4376 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4377
4378 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4379
4380 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4381 `non-essential' up.
4382
4383 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4384
4385 * net/tramp.el:
4386 * net/tramp-adb.el:
4387 * net/tramp-cmds.el:
4388 * net/tramp-ftp.el:
4389 * net/tramp-gvfs.el:
4390 * net/tramp-gw.el:
4391 * net/tramp-sh.el: Don't wrap external variable declarations by
4392 `eval-when-compile'.
4393
4394 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4395
4396 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4397 now that Emacs supports ImageMagick animations.
4398
4399 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4400
4401 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4402 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4403
4404 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4405
4406 * window.el (mouse-autoselect-window-select): Do autoselect when
4407 mouse pointer is on margin.
4408
4409 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4410
4411 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4412
4413 2013-08-16 Glenn Morris <rgm@gnu.org>
4414
4415 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4416 Handle "Remote Directory" response of some clients. (Bug#15058)
4417
4418 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4419 Tweak warning. (Bug#14926)
4420
4421 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4422 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4423
4424 * image-mode.el (image-mode-map): Add menu items to reverse,
4425 increase, decrease, reset animation speed.
4426 (image--set-speed, image-increase-speed, image-decrease-speed)
4427 (image-reverse-speed, image-reset-speed): New functions.
4428 (image-mode-map): Add bindings for speed commands.
4429
4430 * image.el (image-animate-get-speed, image-animate-set-speed):
4431 New functions.
4432 (image-animate-timeout): Respect image :speed property.
4433
4434 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4435
4436 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4437 previous line (bug#15101).
4438 (debugger-eval-expression, debugger-record-expression):
4439 Use read--expression (bug#15102).
4440
4441 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4442
4443 Remove byte compiler warnings, visible when compiling with
4444 `byte-compile-force-lexical-warnings' set to t.
4445
4446 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4447 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4448 (tramp-handle-unhandled-file-name-directory)
4449 (tramp-handle-file-notify-add-watch, tramp-action-login)
4450 (tramp-action-succeed, tramp-action-permission-denied)
4451 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4452 arguments with "_".
4453
4454 * net/tramp-adb.el (tramp-adb-parse-device-names)
4455 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4456 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4457 (tramp-adb-handle-file-truename): Remove unused arguments.
4458
4459 * net/tramp-cache.el (tramp-flush-directory-property)
4460 (tramp-flush-connection-property, tramp-list-connections)
4461 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4462
4463 * net/tramp-compat.el (tramp-compat-make-temp-file):
4464 Rename FILENAME to F.
4465
4466 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4467 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4468 (tramp-zeroconf-parse-workstation-device-names)
4469 (tramp-zeroconf-parse-webdav-device-names)
4470 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4471
4472 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4473 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4474
4475 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4476 arguments.
4477 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4478 (tramp-sh-handle-insert-file-contents-literally)
4479 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4480 with "_".
4481 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4482 Remove unused variables.
4483
4484 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4485 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4486 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4487
4488 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4489 Make them a defconst.
4490 (tramp-uuencode-region): Remove unused variable.
4491
4492 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4493
4494 * frameset.el (frameset--prop-setter): New function.
4495 (frameset-prop): Add gv-setter declaration.
4496 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4497 parameter was already set in FILTERED. Doc fix.
4498 (frameset--record-minibuffer-relationships): Allow saving a
4499 minibufferless frame without its corresponding minibuffer frame.
4500 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4501 frame, if the frame id matches.
4502 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4503 frames before orphaned ones.
4504 (frameset-restore): Warn about orphaned windows, instead of error out.
4505
4506 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4507
4508 * window.el (window-make-atom): Don't overwrite parameter
4509 already present.
4510 (display-buffer-in-atom-window): Handle special case where we
4511 split an already atomic window.
4512 (window--major-non-side-window, display-buffer-in-side-window)
4513 (window--side-check): Ignore minibuffer window when walking
4514 window tree.
4515 (window-deletable-p): Return 'frame only if no other frame uses
4516 our minibuffer window.
4517 (record-window-buffer): Run buffer-list-update-hook.
4518 (split-window): Make sure window--check-frame won't destroy an
4519 existing atomic window in case the new window gets nested
4520 inside.
4521 (display-buffer-at-bottom): Ignore minibuffer window when
4522 walking window tree. Don't split a side window.
4523 (pop-to-buffer): Don't set-buffer here, the select-window call
4524 should do that.
4525 (mouse-autoselect-window-select): Autoselect only if we are in the
4526 text portion of the window.
4527
4528 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4529
4530 * net/shr.el (shr-parse-image-data): New function to grab both the
4531 data itself and the Content-Type.
4532 (shr-put-image): Use it.
4533
4534 * net/eww.el (eww-display-image): Ditto.
4535
4536 * image.el (image-content-type-suffixes): New variable.
4537
4538 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4539
4540 * progmodes/python.el (python-imenu--build-tree)
4541 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4542
4543 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4544
4545 * simple.el (backward-word): Mention the optional argument.
4546
4547 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4548
4549 * frameset.el (frameset--make): Rename constructor from make-frameset.
4550 (frameset-p, frameset-valid-p): Don't autoload.
4551 (frameset-valid-p): Use normal accessors.
4552
4553 2013-08-13 Glenn Morris <rgm@gnu.org>
4554
4555 * progmodes/compile.el (compile-command): Tweak example in doc.
4556 * obsolete/scribe.el (scribe-mode):
4557 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4558
4559 * mail/feedmail.el (feedmail-confirm-outgoing)
4560 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4561
4562 * cus-start.el (truncate-partial-width-windows): Fix type.
4563
4564 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4565
4566 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4567
4568 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4569
4570 * emacs-lisp/timer.el (timer--time-setter): New function.
4571 (timer--time): Use it as gv-setter.
4572
4573 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4574 setter is not a symbol.
4575
4576 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4577
4578 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4579 if sending fails. This makes debugging easier.
4580
4581 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4582
4583 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4584 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4585 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4586
4587 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4588
4589 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4590
4591 2013-08-12 Glenn Morris <rgm@gnu.org>
4592
4593 * format.el (format-annotate-function):
4594 Handle read-only text properties in the source. (Bug#14887)
4595
4596 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4597
4598 * net/eww.el (eww-display-html): Ignore coding system errors.
4599 One web site uses "utf-8lias" as the coding system.
4600
4601 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4602
4603 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4604
4605 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4606
4607 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4608 (tutorial--detailed-help): Remove unused local variables.
4609 (tutorial--save-tutorial-to): Use ignore-errors.
4610 (help-with-tutorial): Use looking-at-p.
4611
4612 * view.el (view-buffer-other-window, view-buffer-other-frame):
4613 Mark unused arguments.
4614
4615 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4616 (woman-select-symbol-fonts, woman, woman-find-file)
4617 (woman-insert-file-contents, woman-non-underline-faces):
4618 Use string-match-p.
4619 (woman1-unquote): Move declaration.
4620
4621 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4622 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4623 argument. Remove unused local variable.
4624 (xml-parse-elem-type): Use string-match-p.
4625 (xml-substitute-numeric-entities): Use ignore-errors.
4626
4627 * calculator.el (calculator): Mark unused argument.
4628 (calculator-paste, calculator-quit, calculator-integer-p):
4629 Use ignore-errors.
4630 (calculator-string-to-number, calculator-decimal, calculator-exp)
4631 (calculator-op-or-exp): Use string-match-p.
4632
4633 * dired.el (dired-buffer-more-recently-used-p): Declare.
4634 (dired-insert-set-properties, dired-insert-old-subdirs):
4635 Use ignore-errors.
4636
4637 * dired-aux.el (dired-compress): Use ignore-errors.
4638 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4639 (dired-do-async-shell-command, dired-do-shell-command)
4640 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4641 (dired-insert-subdir-validate): Use string-match-p.
4642 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4643 (dired-add-entry): Use string-match-p, looking-at-p.
4644 (dired-insert-subdir-newpos): Remove unused local variable.
4645
4646 * filenotify.el (file-notify-callback): Remove unused local variable.
4647
4648 * filesets.el (filesets-error): Mark unused argument.
4649 (filesets-which-command-p, filesets-filter-dir-names)
4650 (filesets-directory-files, filesets-get-external-viewer)
4651 (filesets-ingroup-get-data): Use string-match-p.
4652
4653 * find-file.el (ff-other-file-name, ff-other-file-name)
4654 (ff-find-the-other-file, ff-cc-hh-converter):
4655 Remove unused local variables.
4656 (ff-get-file-name): Use string-match-p.
4657 (ff-all-dirs-under): Use ignore-errors.
4658
4659 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4660 (follow-select-if-visible): Remove unused local variable.
4661
4662 * forms.el (read-file-filter): Move declaration.
4663 (forms--make-format, forms--make-parser, forms-insert-record):
4664 Quote function with #'.
4665 (forms--update): Use string-match-p. Quote function with #'.
4666
4667 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4668 (help-make-xrefs): Use looking-at-p.
4669 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4670
4671 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4672 (ibuffer-confirm-operation-on): Use string-match-p.
4673
4674 * msb.el (msb-item-handler, msb-dired-item-handler):
4675 Mark unused arguments.
4676
4677 * ses.el (ses-decode-cell-symbol)
4678 (ses-kill-override): Remove unused local variable.
4679 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4680 (ses-load): Use ignore-errors, looking-at-p.
4681 (ses-jump-safe): Use ignore-errors.
4682 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4683
4684 * tabify.el (untabify, tabify): Mark unused arguments.
4685
4686 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4687 Mark unused argument.
4688 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4689 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4690
4691 * emacs-lisp/timer.el (timer--time): Define setter with
4692 gv-define-setter to avoid deprecation warning.
4693
4694 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4695 (*record-cmpl-statistics-p*): Remove (was commented out).
4696 (cmpl-statistics-block): Remove (body was commented out).
4697 All callers changed.
4698 (add-completions-from-buffer, load-completions-from-file):
4699 Remove unused variables.
4700
4701 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4702
4703 * filecache.el (file-cache-delete-file-list):
4704 Print message only when told so.
4705 (file-cache-files-matching): Use #' in mapconcat argument.
4706
4707 * ffap.el (ffap-url-at-point): Fix reference to variable
4708 thing-at-point-default-mail-uri-scheme.
4709
4710 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4711
4712 * subr.el (define-error): New function.
4713 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4714 error-file-not-found and define with define-error.
4715 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4716 and define with define-error.
4717 * userlock.el (file-locked, file-supersession):
4718 * simple.el (mark-inactive):
4719 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4720 * progmodes/ada-mode.el (ada-mode-errors):
4721 * play/life.el (life-extinct):
4722 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4723 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4724 * nxml/rng-util.el (rng-error):
4725 * nxml/rng-uri.el (rng-uri-error):
4726 * nxml/rng-match.el (rng-compile-error):
4727 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4728 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4729 * nxml/nxml-rap.el (nxml-scan-error):
4730 * nxml/nxml-outln.el (nxml-outline-error):
4731 * net/soap-client.el (soap-error):
4732 * net/gnutls.el (gnutls-error):
4733 * net/ange-ftp.el (ftp-error):
4734 * mpc.el (mpc-proc-error):
4735 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4736 (json-number-format, json-string-escape, json-string-format)
4737 (json-key-format, json-object-format):
4738 * jka-compr.el (compression-error):
4739 * international/quail.el (quail-error):
4740 * international/kkc.el (kkc-error):
4741 * emacs-lisp/ert.el (ert-test-failed):
4742 * calc/calc.el (calc-error, inexact-result, math-overflow)
4743 (math-underflow):
4744 * bookmark.el (bookmark-error-no-filename):
4745 * epg.el (epg-error): Define with define-error.
4746
4747 * time.el (display-time-event-handler)
4748 (display-time-next-load-average): Don't call sit-for since it seems
4749 unnecessary (bug#15045).
4750
4751 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4752 Use #' instead of ' to quote functions.
4753 (checkdoc-output-mode): Use setq-local.
4754 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4755 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4756 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4757 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4758 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4759 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4760 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4761 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4762
4763 * ido.el (ido-completion-help): Fix up compiler warning.
4764
4765 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4766
4767 * frameset.el (frameset-p): Add autoload cookie.
4768 (frameset--jump-to-register): New function, based on code moved from
4769 register.el.
4770 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4771
4772 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4773 (frameset-restore, frameset-save, frameset-session-filter-alist):
4774 Remove declarations.
4775 (register-alist): Doc fix.
4776 (frameset-to-register): Move to frameset.el.
4777 (jump-to-register, describe-register-1): Remove frameset-specific code.
4778
4779 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4780
4781 * allout-widgets.el (allout-widgets-pre-command-business)
4782 (allout-widgets-post-command-business)
4783 (allout-widgets-after-change-handler)
4784 (allout-decorate-item-and-context, allout-set-boundary-marker)
4785 (allout-body-modification-handler)
4786 (allout-graphics-modification-handler): Mark ignored arguments.
4787 (allout-widgets-post-command-business)
4788 (allout-widgets-exposure-change-processor)
4789 (allout-widgets-exposure-undo-processor)
4790 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4791 (allout-parse-item-at-point, allout-decorate-item-guides)
4792 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4793 * allout.el (epa-passphrase-callback-function): Declare.
4794 (allout-overlay-insert-in-front-handler)
4795 (allout-overlay-interior-modification-handler)
4796 (allout-isearch-end-handler, allout-chart-siblings)
4797 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4798 (allout-yank-processing, allout-process-exposed)
4799 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4800 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4801 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4802 (lisp-indent-defform): Mark ignored arguments.
4803 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4804 (calculate-lisp-indent): Remove unused variables.
4805 * international/characters.el (indian-2-column, arabic-2-column)
4806 (tibetan): Mark ignored arguments.
4807 (use-cjk-char-width-table): Mark ignored arguments.
4808 Remove unused variables.
4809 * international/fontset.el (build-default-fontset-data)
4810 (x-compose-font-name, create-fontset-from-fontset-spec):
4811 Mark ignored arguments.
4812 (fontset-plain-name): Remove unused variables.
4813 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4814 (keyboard-coding-system): Mark ignored arguments.
4815 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4816 * help.el (resize-temp-buffer-window):
4817 * window.el (display-buffer-in-major-side-window)
4818 (display-buffer-in-side-window, display-buffer-in-previous-window):
4819 Remove unused variables.
4820 * isearch.el (isearch-forward-symbol):
4821 * version.el (emacs-bzr-version-bzr):
4822 * international/mule-cmds.el (current-language-environment):
4823 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4824 (x-handle-display):
4825 * term/pc-win.el (x-list-fonts, x-display-planes)
4826 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4827 (x-server-version, x-display-screens, x-display-mm-height)
4828 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4829 (x-selection-owner-p, x-own-selection-internal)
4830 (x-disown-selection-internal, x-get-selection-internal)
4831 (msdos-initialize-window-system):
4832 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4833 * term/x-win.el (x-handle-no-bitmap-icon):
4834 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4835 (vc-default-find-file-hook, vc-default-extra-menu):
4836 Mark ignored arguments.
4837
4838 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4839
4840 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4841 break-condition in the context of the debugged code (bug#12685).
4842
4843 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4844
4845 * comint.el:
4846 Do not use an overlay to highlight the last prompt. (Bug#14744)
4847 (comint-mode): Make comint-last-prompt buffer local.
4848 (comint-last-prompt): New variable.
4849 (comint-last-prompt-overlay): Remove. Superseded by
4850 comint-last-prompt.
4851 (comint-snapshot-last-prompt, comint-output-filter):
4852 Use comint-last-prompt.
4853
4854 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4855
4856 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4857 (frameset-save): Check validity of the resulting frameset.
4858
4859 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4860
4861 * ido.el (ido-record-command): Add doc string.
4862
4863 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4864
4865 * frameset.el (frameset): Do not disable creation of the default
4866 frameset-p predicate. Doc fix.
4867 (frameset-valid-p): New function, copied from the old predicate-p.
4868 Add additional checks.
4869 (frameset-restore): Check with frameset-valid-p.
4870 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4871 (frameset-name, frameset-description, frameset-properties)
4872 (frameset-states): Add docstring.
4873 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4874 (frameset-filter-alist): Doc fixes.
4875
4876 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4877
4878 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4879
4880 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4881
4882 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4883 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4884 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4885 (byte-compile-normal-call): Remove obsolescence check.
4886
4887 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4888
4889 * frameset.el (frameset-restore): Doc fix.
4890
4891 * register.el (frameset-frame-id, frameset-frame-with-id)
4892 (frameset-p, frameset-restore, frameset-save): Declare.
4893 (register-alist): Document framesets.
4894 (frameset-session-filter-alist): Declare.
4895 (frameset-to-register): New function.
4896 (jump-to-register): Implement jumping to framesets. Doc fix.
4897 (describe-register-1): Describe framesets.
4898
4899 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4900
4901 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4902
4903 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4904 Use lexical-binding.
4905
4906 * frameset.el (frameset): Use type vector, not list (incompatible
4907 change). Do not declare a new constructor, use the default one.
4908 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4909 `name' and `description', respectively, and add read-only slot
4910 `timestamp'. Doc fixes.
4911 (frameset-copy, frameset-persistent-filter-alist)
4912 (frameset-filter-alist, frameset-switch-to-gui-p)
4913 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4914 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4915 (frameset-filter-iconified, frameset-keep-original-display-p):
4916 Doc fixes.
4917 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4918 Rename from frameset-filter-(save|restore)-param. All callers changed.
4919 Doc fix.
4920 (frameset-p): Adapt to change to vector and be more thorough.
4921 Change arg name to OBJECT. Doc fix.
4922 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4923 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4924 All callers changed.
4925 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4926 All callers changed.
4927 (frameset--record-minibuffer-relationships): Rename from
4928 frameset--process-minibuffer-frames. All callers changed.
4929 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4930 Use new default constructor (again). Doc fix.
4931 (frameset--find-frame-if): Rename from `frameset--find-frame.
4932 All callers changed.
4933 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4934 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4935 Doc fix.
4936 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4937 PARAMETERS and WINDOW-STATE, respectively.
4938 (frameset-restore): Add new keyword argument PREDICATE.
4939 Reset frameset--target-display to nil. Doc fix.
4940
4941 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4942
4943 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4944 (bat-mode): Use it.
4945 (bat-mode-syntax-table): Mark \n as end-of-comment.
4946 (bat-font-lock-keywords): Remove comment rule.
4947
4948 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4949 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4950
4951 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4952 (byte-compile-callargs-warn): Use `push'.
4953 (byte-compile-arglist-warn): Ignore higher-order "calls".
4954 (byte-compile-file-form-autoload): Use `pcase'.
4955 (byte-compile-function-form): If quoting a symbol, check that it exists.
4956
4957 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4958
4959 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4960 and add a few popular commands found in batch files.
4961 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4962 (dos-mode): Doc fixes.
4963
4964 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4965
4966 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4967 (dos-mode): Use setq-local. Add space after "rem".
4968 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4969 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4970
4971 2013-08-07 Arni Magnusson <arnima@hafro.is>
4972
4973 * progmodes/dos.el: New file.
4974 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4975 dos-mode.
4976
4977 2013-08-06 Glenn Morris <rgm@gnu.org>
4978
4979 * calendar/calendar.el: Add new faces, and day-header-array.
4980 (calendar-weekday-header, calendar-weekend-header)
4981 (calendar-month-header): New faces.
4982 (calendar-day-header-construct): New function.
4983 (calendar-day-header-width): Also :set calendar-day-header-array.
4984 (calendar-american-month-header, calendar-european-month-header)
4985 (calendar-iso-month-header): Use calendar- faces.
4986 (calendar-generate-month):
4987 Use calendar-day-header-array for day headers; apply faces to them.
4988 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4989 (calendar-abbrev-construct): Add optional maxlen argument.
4990 (calendar-day-name-array): Doc fix.
4991 (calendar-day-name-array, calendar-abbrev-length)
4992 (calendar-day-abbrev-array):
4993 Also :set calendar-day-header-array, and maybe redraw.
4994 (calendar-day-header-array): New option. (Bug#15007)
4995 (calendar-font-lock-keywords): Set to nil and make obsolete.
4996 (calendar-day-name): Add option to use header array.
4997
4998 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4999
5000 * net/shr.el (shr-render-td): Remove debugging.
5001 (shr-render-td): Make width computation consistent by defaulting
5002 all zero-width columns to 10 characters. This may not be optimal,
5003 but it's at least consistent.
5004 (shr-make-table-1): Redo last change to fix the real problem in
5005 colspan handling.
5006
5007 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5008
5009 * files.el (cache-long-line-scans):
5010 Make obsolete alias to `cache-long-scans'.
5011
5012 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5013
5014 * frameset.el (frameset, frameset-filter-alist)
5015 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5016 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5017 (frameset-compute-pos): Rename from frameset--compute-pos,
5018 and add docstring.
5019 (frameset-move-onscreen): Use frameset-compute-pos.
5020 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5021
5022 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5023 Fix typos in docstrings.
5024
5025 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5026
5027 * frame.el (get-other-frame): Tiny cleanup.
5028
5029 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5030
5031 * vc/vc.el (vc-default-ignore-completion-table):
5032 Silence byte-compiler warning.
5033
5034 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5035 slot , which can indeed be nil.
5036 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5037 Move entry for `left' from persistent to live filter alist.
5038 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5039 Doc fixes.
5040 (frameset-filter-params): When restoring a frame, copy items added to
5041 `filtered', to avoid unwittingly modifying the original parameters.
5042 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5043 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5044
5045 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5046 to use looking-at-p instead of looking-at. (Bug#15028)
5047
5048 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5049
5050 Revert introduction of isearch-filter-predicates (bug#14714).
5051 Rely on add-function instead.
5052 * isearch.el (isearch-filter-predicates): Rename it back to
5053 isearch-filter-predicate.
5054 (isearch-message-prefix): Use advice-function-mapc and advice
5055 properties to get the isearch-message-prefix.
5056 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5057 instead of run-hook-with-args-until-failure.
5058 (isearch-filter-visible): Not obsolete any more.
5059 * loadup.el: Preload nadvice.
5060 * replace.el (perform-replace): Revert to funcall
5061 instead of run-hook-with-args-until-failure.
5062 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5063 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5064 dired-isearch-filenames-toggle; make it into a proper minor mode.
5065 Use add/remove-function.
5066 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5067 Call the minor-mode rather than add/remove-hook.
5068 (dired-isearch-filter-filenames):
5069 Remove isearch-message-prefix property.
5070 * info.el (Info--search-loop): New function, extracted from Info-search.
5071 Funcall isearch-filter-predicate instead of
5072 run-hook-with-args-until-failure isearch-filter-predicates.
5073 (Info-search): Use it.
5074 (Info-mode): Use isearch-filter-predicate instead of
5075 isearch-filter-predicates.
5076
5077 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5078
5079 Do not call to `selected-window' where it is assumed by default.
5080 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5081 `window-hscroll', `window-width', `window-height', `window-buffer',
5082 `window-frame', `window-start', `window-point', `next-window'
5083 and `window-display-table'.
5084 * abbrev.el (abbrev--default-expand):
5085 * bs.el (bs--show-with-configuration):
5086 * buff-menu.el (Buffer-menu-mouse-select):
5087 * calc/calc.el (calc):
5088 * calendar/calendar.el (calendar-generate-window):
5089 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5090 (diary-make-entry):
5091 * comint.el (send-invisible, comint-dynamic-complete-filename)
5092 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5093 * completion.el (complete):
5094 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5095 * disp-table.el (describe-current-display-table):
5096 * doc-view.el (doc-view-insert-image):
5097 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5098 * ehelp.el (with-electric-help):
5099 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5100 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5101 * emacs-lisp/helper.el (Helper-help-scroller):
5102 * emulation/cua-base.el (cua--post-command-handler-1):
5103 * eshell/esh-mode.el (eshell-output-filter):
5104 * ffap.el (ffap-gnus-wrapper):
5105 * help-macro.el (make-help-screen):
5106 * hilit-chg.el (highlight-compare-buffers):
5107 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5108 * hl-line.el (global-hl-line-highlight):
5109 * icomplete.el (icomplete-simple-completing-p):
5110 * isearch.el (isearch-done):
5111 * jit-lock.el (jit-lock-stealth-fontify):
5112 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5113 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5114 * mpc.el (mpc-tagbrowser, mpc):
5115 * net/rcirc.el (rcirc-any-buffer):
5116 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5117 * play/landmark.el (landmark-max-width, landmark-max-height):
5118 * play/zone.el (zone):
5119 * progmodes/compile.el (compilation-goto-locus):
5120 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5121 * progmodes/etags.el (find-tag-other-window):
5122 * progmodes/fortran.el (fortran-column-ruler):
5123 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5124 * progmodes/verilog-mode.el (verilog-point-text):
5125 * reposition.el (reposition-window):
5126 * rot13.el (toggle-rot13-mode):
5127 * server.el (server-switch-buffer):
5128 * shell.el (shell-dynamic-complete-command)
5129 (shell-dynamic-complete-environment-variable):
5130 * simple.el (insert-buffer, set-selective-display)
5131 (delete-completion-window):
5132 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5133 (speedbar-recenter):
5134 * startup.el (fancy-splash-head):
5135 * textmodes/ispell.el (ispell-command-loop):
5136 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5137 * tutorial.el (help-with-tutorial):
5138 * vc/add-log.el (add-change-log-entry):
5139 * vc/compare-w.el (compare-windows):
5140 * vc/ediff-help.el (ediff-indent-help-message):
5141 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5142 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5143 (ediff-setup-control-frame):
5144 * vc/emerge.el (emerge-position-region):
5145 * vc/pcvs-util.el (cvs-bury-buffer):
5146 * window.el (walk-windows, mouse-autoselect-window-select):
5147 * winner.el (winner-set-conf, winner-undo): Related users changed.
5148
5149 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5150
5151 * frameset.el (frameset--set-id): Doc fix.
5152 (frameset-frame-id, frameset-frame-id-equal-p)
5153 (frameset-locate-frame-id): New functions.
5154 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5155 (frameset-restore): Use them.
5156
5157 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5158
5159 Do not call to `selected-frame' where it is assumed by default.
5160 Affected functions are `raise-frame', `redraw-frame',
5161 `frame-first-window', `frame-terminal' and `delete-frame'.
5162 * calendar/appt.el (appt-disp-window):
5163 * epg.el (epg-wait-for-completion):
5164 * follow.el (follow-delete-other-windows-and-split)
5165 (follow-avoid-tail-recenter):
5166 * international/mule.el (set-terminal-coding-system):
5167 * mail/rmail.el (rmail-mail-return):
5168 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5169 * progmodes/f90.el (f90-add-imenu-menu):
5170 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5171 * server.el (server-switch-buffer):
5172 * simple.el (delete-completion-window):
5173 * talk.el (talk):
5174 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5175 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5176 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5177 * vc/ediff.el (ediff-documentation): Related users changed.
5178 * frame.el (selected-terminal): Remove the leftover.
5179
5180 2013-08-05 Glenn Morris <rgm@gnu.org>
5181
5182 * calendar/calendar.el (calendar-generate-month):
5183 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5184 (calendar-generate-month, calendar-font-lock-keywords):
5185 Fix for calendar-day-header-width > length of any day name.
5186
5187 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5188
5189 * desktop.el (desktop-clear): Use new name of sort predicate.
5190
5191 * frameset.el (frameset): Add docstring. Move :version property to its
5192 own `version' slot.
5193 (frameset-copy): Rename from copy-frameset.
5194 (frameset-p): Check more thoroughly.
5195 (frameset-prop): Do not check for :version, which is no longer a prop.
5196 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5197 Use new :never value instead of t.
5198 (frameset-filter-alist): Expand and clarify docstring.
5199 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5200 (frameset-filter-minibuffer, frameset-filter-save-param)
5201 (frameset-filter-restore-param, frameset-filter-iconified):
5202 Add pointer to docstring of frameset-filter-alist.
5203 (frameset-filter-params): Rename filter values to be more meaningful:
5204 :never instead of t, and reverse the meanings of :save and :restore.
5205 (frameset--process-minibuffer-frames): Clarify error message.
5206 (frameset-save): Avoid unnecessary and confusing call to framep.
5207 Use new BOA constructor for framesets.
5208 (frameset--reuse-list): Doc fix.
5209 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5210 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5211 (frameset-minibufferless-first-p): Doc fix.
5212 Rename from frameset-sort-frames-for-deletion.
5213 (frameset-restore): Doc fixes. Use new function names.
5214 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5215
5216 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5217
5218 * desktop.el (desktop-restore-forces-onscreen)
5219 (desktop-restore-reuses-frames): Document :keyword constant values.
5220 (desktop-filter-parameters-alist): Remove, now identical to
5221 frameset-filter-alist.
5222 (desktop--filter-tty*): Remove, moved to frameset.el.
5223 (desktop-save-frameset, desktop-restore-frameset):
5224 Do not pass :filters argument.
5225
5226 * frameset.el (frameset-live-filter-alist)
5227 (frameset-persistent-filter-alist): New variables.
5228 (frameset-filter-alist): Use them. Add autoload cookie.
5229 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5230 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5231 `frameset--id' (it's supposed to be internal to frameset.el).
5232 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5233 (frameset--initial-params): New function.
5234 (frameset--get-frame): Use it. Doc fix.
5235 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5236 Accept :all, not 'all.
5237 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5238 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5239 with fbound symbols. Fix frame id matching, and remove matching ids if
5240 the frame being restored is deleted. Obey :delete.
5241
5242 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5243
5244 * subr.el (macrop): New function.
5245 (text-clone--maintaining): New var.
5246 (text-clone--maintain): Rename from text-clone-maintain. Use it
5247 instead of inhibit-modification-hooks.
5248
5249 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5250 a proxy, so as handle autoloads and redefinitions of the target.
5251 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5252
5253 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5254 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5255 (pcase--mutually-exclusive-p): New function.
5256 (pcase--split-consp): Use it.
5257 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5258 mutually exclusive with the current predicate.
5259
5260 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5261 (edebug-macrop): Remove. Use `macrop' instead.
5262 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5263 (ad-macro-p):
5264 * eshell/esh-cmd.el (eshell-macrop):
5265 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5266
5267 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5268
5269 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5270 (advice-mapc): New function, using it.
5271 (advice-function-member-p): New function.
5272 (advice--normalize): Store the cdr in advice--saved-rewrite since
5273 that's the part that will be changed.
5274 (advice--symbol-function): New function.
5275 (advice-remove): Handle removal before the function is defined.
5276 Adjust to new advice--saved-rewrite.
5277 (advice-member-p): Use advice-function-member-p and
5278 advice--symbol-function.
5279
5280 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5281
5282 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5283 (frameset-filter-minibuffer): Doc fix.
5284 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5285 (frameset--set-id, frameset--process-minibuffer-frames)
5286 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5287 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5288
5289 * desktop.el (desktop-clear): Only delete frames when called
5290 interactively and desktop-restore-frames is non-nil. Doc fix.
5291 (desktop-read): Set desktop-saved-frameset to nil.
5292
5293 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5294
5295 * vc/vc.el (vc-ignore): Rewrite.
5296 (vc-default-ignore-completion-table):
5297 (vc--read-lines):
5298 (vc--add-line, vc--remove-regexp): New functions.
5299
5300 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5301 (vc-svn-ignore-completion-table): New function.
5302
5303 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5304 (vc-hg-ignore-completion-table):
5305 (vc-hg-find-ignore-file): New functions.
5306
5307 * vc/vc-git.el (vc-git-ignore): Rewrite.
5308 (vc-git-ignore-completion-table):
5309 (vc-git-find-ignore-file): New functions.
5310
5311 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5312
5313 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5314 (vc-bzr-ignore-completion-table):
5315 (vc-bzr-find-ignore-file): New functions.
5316
5317 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5318
5319 * frameset.el (frameset-prop): New function and setter.
5320 (frameset-save): Do not modify frame list passed by the caller.
5321
5322 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5323
5324 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5325
5326 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5327
5328 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5329 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5330
5331 * custom.el (custom-initialize-default, custom-initialize-set)
5332 (custom-initialize-reset, custom-initialize-changed): Affect the
5333 toplevel-default-value (bug#6275, bug#14586).
5334 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5335 for bug#6275.
5336
5337 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5338
5339 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5340 Add cl-def* expressions.
5341
5342 * frameset.el (frameset-filter-params): Fix order of arguments.
5343
5344 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5345
5346 Move code related to saving frames to frameset.el.
5347 * desktop.el: Require frameset.
5348 (desktop-restore-frames): Doc fix.
5349 (desktop-restore-reuses-frames): Rename from
5350 desktop-restoring-reuses-frames.
5351 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5352 (desktop-clear): Clear frames too.
5353 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5354 (desktop--filter-tty*, desktop-save, desktop-read):
5355 Use frameset functions.
5356 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5357 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5358 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5359 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5360 (desktop--process-minibuffer-frames, desktop-save-frames)
5361 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5362 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5363 (desktop--sort-states, desktop-restoring-frames-p)
5364 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5365 (desktop-restoring-frameset-p, desktop-restore-frameset)
5366 (desktop--check-dont-save, desktop-save-frameset): New functions.
5367 (desktop--app-id): New constant.
5368 (desktop-first-buffer, desktop-buffer-ok-count)
5369 (desktop-buffer-fail-count): Move before first use.
5370 * frameset.el: New file.
5371
5372 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5373
5374 * files.el: Use lexical-binding.
5375 (dir-locals-read-from-file): Remove unused `err' variable.
5376 (hack-dir-local-variables--warned-coding): New var.
5377 (hack-dir-local-variables): Use it to avoid repeated warnings.
5378 (make-backup-file-name--default-function): New function.
5379 (make-backup-file-name-function): Use it as default.
5380 (buffer-stale--default-function): New function.
5381 (buffer-stale-function): Use it as default.
5382 (revert-buffer-insert-file-contents--default-function): New function.
5383 (revert-buffer-insert-file-contents-function): Use it as default.
5384 (insert-directory): Avoid add-to-list.
5385
5386 * autorevert.el (auto-revert-handler): Simplify.
5387 Use buffer-stale--default-function.
5388
5389 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5390
5391 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5392
5393 * whitespace.el (whitespace-ensure-local-variables): New function.
5394 (whitespace-cleanup-region): Call it.
5395 (whitespace-turn-on): Call it.
5396
5397 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5398
5399 Complete file name handlers.
5400
5401 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5402 (tramp-handle-verify-visited-file-modtime)
5403 (tramp-handle-file-notify-rm-watch): New functions.
5404 (tramp-call-process): Do not bind `default-directory'.
5405
5406 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5407 Order alphabetically.
5408 [access-file, add-name-to-file, dired-call-process]:
5409 [dired-compress-file, file-acl, file-notify-rm-watch]:
5410 [file-ownership-preserved-p, file-selinux-context]:
5411 [make-directory-internal, make-symbolic-link, set-file-acl]:
5412 [set-file-selinux-context, set-visited-file-modtime]:
5413 [verify-visited-file-modtime]: Add handler.
5414 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5415
5416 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5417 [file-notify-add-watch, file-notify-rm-watch]:
5418 [set-file-times, set-visited-file-modtime]:
5419 [verify-visited-file-modtime]: Add handler.
5420 (with-tramp-gvfs-error-message)
5421 (tramp-gvfs-handle-set-visited-file-modtime)
5422 (tramp-gvfs-fuse-file-name): Remove.
5423 (tramp-gvfs-handle-file-notify-add-watch)
5424 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5425 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5426
5427 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5428 Order alphabetically.
5429 [file-notify-rm-watch ]: Use default Tramp handler.
5430 [executable-find]: Remove private handler.
5431 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5432 `default-directory'.
5433 (tramp-sh-handle-executable-find)
5434 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5435 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5436 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5437 Do not use `format' in `tramp-message'.
5438
5439 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5440 [file-notify-rm-watch, set-visited-file-modtime]:
5441 [verify-visited-file-modtime]: Add handler.
5442 (tramp-smb-call-winexe): Do not bind `default-directory'.
5443
5444 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5445
5446 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5447
5448 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5449
5450 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5451 use it.
5452 (log-view-diff-changeset): Same.
5453 (log-view-diff-common): Call backend command `previous-revision'
5454 to find out the previous revision, in both cases. Swap the
5455 variables `to' and `fr', so that `fr' usually refers to the
5456 earlier revision (Bug#14989).
5457
5458 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5459
5460 * ibuf-ext.el (ibuffer-filter-by-filename):
5461 Make it work with dired buffers too.
5462
5463 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5464
5465 * emacs-lisp/re-builder.el (reb-color-display-p):
5466 * files.el (save-buffers-kill-terminal):
5467 * net/browse-url.el (browse-url):
5468 * server.el (server-save-buffers-kill-terminal):
5469 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5470 Prefer nil to selected-frame for the first arg of frame-parameter.
5471
5472 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5473
5474 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5475
5476 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5477
5478 * minibuffer.el (completion--twq-all): Try and preserve each
5479 completion's case choice (bug#14907).
5480
5481 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5482
5483 * net/network-stream.el (open-network-stream): Mention the new
5484 :nogreeting parameter.
5485 (network-stream-open-starttls): Use the :nogreeting parameter
5486 (bug#14938).
5487
5488 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5489
5490 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5491 more natural than popping.
5492
5493 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5494 (shr-urlify): Highlight under mouse.
5495
5496 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5497
5498 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5499
5500 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5501
5502 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5503 buffer for output.
5504
5505 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5506 point-min==1. Fix search string. Fix parentheses missing.
5507
5508 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5509 assume point-min==1. Fix search string. Fix parentheses missing.
5510
5511 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5512
5513 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5514 buffer for output.
5515
5516 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5517
5518 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5519 initial frame is minibuffer-less. (Bug#14841)
5520
5521 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5522
5523 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5524 option.
5525
5526 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5527 (tramp-maybe-open-connection): Use it.
5528
5529 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5530
5531 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5532 minimal set of parameters passed when creating a frame, because
5533 the minibuffer status of a frame cannot be changed later.
5534
5535 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5536
5537 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5538 replace-regexp-in-string and inadvertent omissions in previous change.
5539 (todo-filter-items): Ensure only file names are comma-separated in
5540 name of filtered items buffer.
5541
5542 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5543
5544 * desktop.el: Optionally force offscreen frames back onscreen.
5545 (desktop-restoring-reuses-frames): New option.
5546 (desktop--compute-pos, desktop--move-onscreen): New functions.
5547 (desktop--make-frame): Use desktop--move-onscreen.
5548
5549 2013-07-27 Alan Mackenzie <acm@muc.de>
5550
5551 Fontify a Java generic method as a function.
5552 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5553 value to t.
5554
5555 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5556
5557 * calendar/todo-mode.el: Add command to rename todo files.
5558 (todo-rename-file): New command.
5559 (todo-key-bindings-t): Add key binding for it. Change the
5560 bindings of todo-filter-regexp-items(-multifile) to use `x'
5561 instead of `r', since the latter is better suited to the new
5562 renaming command.
5563
5564 2013-07-27 Alan Mackenzie <acm@muc.de>
5565
5566 Make Java try-with-resources statement parse properly.
5567 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5568 (c-block-stmt-1-2-key): New language constants/variables.
5569 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5570 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5571 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5572 with c-block-stmt-1-2-key.
5573
5574 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5575
5576 * desktop.el (desktop--make-frame): Apply most frame parameters after
5577 creating the frame to force (partially or totally) offscreen frames to
5578 be restored as such.
5579
5580 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5581
5582 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5583 (Bug#14948)
5584
5585 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5586
5587 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5588 `base' arg of backtrace-frame.
5589
5590 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5591
5592 * simple.el (list-processes): Doc fix.
5593
5594 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5595
5596 * desktop.el (desktop--select-frame):
5597 Try harder to reuse existing frames.
5598
5599 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5600
5601 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5602 (edebug-eval): Use backtrace-eval.
5603 (edebug--display, edebug--recursive-edit): Don't let-bind the
5604 edebug-outer-* vars that keep track of variables we locally let-bind.
5605 (edebug-outside-excursion): Don't restore outside values of locally
5606 let-bound vars.
5607 (edebug--display): Use user-error.
5608 (cl-lexical-debug, cl-debug-env): Remove.
5609
5610 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5611
5612 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5613 are restored to be sure that they are visible before deleting any
5614 remaining ones.
5615
5616 2013-07-26 Matthias Meulien <orontee@gmail.com>
5617
5618 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5619 vc-print-root-log. (Bug#14948)
5620
5621 2013-07-26 Richard Stallman <rms@gnu.org>
5622
5623 Add aliases for encrypting mail.
5624 * epa.el (epa-mail-aliases): New option.
5625 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5626 Bind inhibit-read-only so read-only text doesn't ruin everything.
5627 (epa-mail-default-recipients): New subroutine broken out.
5628 Handle epa-mail-aliases.
5629
5630 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5631
5632 Add support for lexical variables to the debugger's `e' command.
5633 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5634 vars, except for debugger-outer-match-data.
5635 (debugger-frame-number): Move check for "on a function call" from
5636 callers into it. Add `skip-base' argument.
5637 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5638 (debugger-env-macro): Only reset the state stored in non-variables,
5639 i.e. current-buffer and match-data.
5640 (debugger-eval-expression): Rewrite using backtrace-eval.
5641 * subr.el (internal--called-interactively-p--get-frame): Remove.
5642 (called-interactively-p):
5643 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5644 `base' arg of backtrace-frame instead.
5645
5646 2013-07-26 Glenn Morris <rgm@gnu.org>
5647
5648 * align.el (align-regexp): Doc fix. (Bug#14857)
5649 (align-region): Explicit error if subexpression missing/does not match.
5650
5651 * simple.el (global-visual-line-mode):
5652 Do not duplicate the mode lighter. (Bug#14858)
5653
5654 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5655
5656 * window.el (display-buffer): In display-buffer bind
5657 split-window-keep-point to t, bug#14829.
5658
5659 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5660
5661 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5662 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5663 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5664 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5665 Change accordingly.
5666 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5667 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5668
5669 2013-07-25 Glenn Morris <rgm@gnu.org>
5670
5671 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5672
5673 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5674
5675 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5676 parameter to modify-frame-parameters if the value has not changed;
5677 this is a workaround for bug#14949.
5678 (desktop--make-frame): On cl-delete-if call, check parameter name,
5679 not full parameter.
5680
5681 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5682
5683 * vc/vc.el (vc-ignore): New function.
5684
5685 * vc/vc-svn.el (vc-svn-ignore): New function.
5686
5687 * vc/vc-hg.el (vc-hg-ignore): New function.
5688
5689 * vc/vc-git.el (vc-git-ignore): New function.
5690
5691 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5692 (vc-dir-ignore): New function.
5693
5694 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5695 (cvs-append-to-ignore): Move here from pcvs.el.
5696
5697 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5698
5699 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5700
5701 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5702
5703 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5704 (desktop-restore-frames): Warn when deleting an existing frame failed.
5705
5706 2013-07-24 Glenn Morris <rgm@gnu.org>
5707
5708 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5709
5710 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5711
5712 * filenotify.el (file-notify-supported-p):
5713 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5714 Remove functions.
5715
5716 * autorevert.el (auto-revert-use-notify):
5717 (auto-revert-notify-add-watch):
5718 * net/tramp.el (tramp-file-name-for-operation):
5719 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5720 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5721 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5722 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5723 Remove `file-notify-supported-p' entry.
5724
5725 2013-07-24 Glenn Morris <rgm@gnu.org>
5726
5727 * printing.el: Replace all uses of deleted ps-windows-system,
5728 ps-lp-system, ps-flatten-list with lpr- versions.
5729
5730 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5731
5732 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5733 checked with memq (bug#14935).
5734
5735 * files.el (revert-buffer-function): Use a non-nil default.
5736 (revert-buffer-preserve-modes): Declare var to
5737 provide access to the `preserve-modes' argument.
5738 (revert-buffer): Let-bind it.
5739 (revert-buffer--default): New function, extracted from revert-buffer.
5740
5741 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5742
5743 * lpr.el: Signal print errors more prominently.
5744 (print-region-function): Don't default to nil.
5745 (lpr-print-region): New function, extracted from print-region-1.
5746 Check lpr's return value and signal an error in case of problem.
5747 (print-region-1): Use it.
5748 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5749 versions instead.
5750 (ps-printer-name): Default to nil.
5751 (ps-printer-name-option): Default to lpr-printer-switch.
5752 (ps-print-region-function): Don't default to nil.
5753 (ps-postscript-code-directory): Simplify default.
5754 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5755 (ps-string-list, ps-eval-switch, ps-flatten-list)
5756 (ps-flatten-list-1): Remove.
5757 (ps-multibyte-buffer): Avoid setq.
5758 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5759 (print-region-function, ps-print-region-function): Don't set them here.
5760
5761 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5762
5763 * ido.el (ido-fractionp):
5764 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5765 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5766 (ido-max-directory-size, ido-max-dir-file-cache)
5767 (ido-decorations): Doc fix.
5768
5769 * ansi-color.el: Fix old URL.
5770
5771 2013-07-23 Michael R. Mauger <michael@mauger.com>
5772
5773 * progmodes/sql.el: Version 3.3
5774 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5775 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5776 (sql-interactive-remove-continuation-prompt): Rewrite, use
5777 functions above. Fix continuation prompt and complete output line
5778 handling.
5779 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5780 redirected output buffer.
5781 (sql-mode): Restore deleted code (Bug#13591).
5782
5783 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5784
5785 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5786
5787 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5788
5789 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5790
5791 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5792 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5793 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5794
5795 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5796
5797 * desktop.el (desktop-clear): Simplify; remove useless checks
5798 against invalid buffer names.
5799 (desktop-list*): Use cl-list*.
5800 (desktop-buffer-info, desktop-create-buffer): Simplify.
5801
5802 2013-07-23 Leo Liu <sdl.web@gmail.com>
5803
5804 * bookmark.el (bookmark-make-record): Restore NAME as a default
5805 value. (Bug#14933)
5806
5807 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5808
5809 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5810 extracted from autoload--insert-text.
5811 (autoload--insert-text): Remove.
5812 (autoload--print-cookie-text): New function, extracted from
5813 autoload--insert-cookie-text.
5814 (autoload--insert-cookie-text): Remove.
5815 (autoload-generate-file-autoloads): Adjust calls accordingly.
5816
5817 * winner.el (winner-hook-installed-p): Remove.
5818 (winner-mode): Simplify accordingly.
5819
5820 * subr.el (add-to-list): Fix compiler-macro when `append' is
5821 not constant. Don't use `cl-member' for the base case.
5822
5823 * progmodes/subword.el: Fix boundary case (bug#13758).
5824 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5825 own group.
5826 (subword-backward-regexp): Make it a constant.
5827 (subword-forward-internal): Don't treat a trailing capital as the
5828 beginning of a word.
5829
5830 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5831
5832 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5833 global value of tabulated-list-revert-hook (bug#14930).
5834
5835 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5836
5837 * desktop.el: Require 'cl-lib.
5838 (desktop-before-saving-frames-functions): New hook.
5839 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5840 for frames being saved. Rename from desktop--save-minibuffer-frames.
5841 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5842 Do not save frames with non-nil `desktop-dont-save' parameter.
5843 Filter out deleted frames.
5844 (desktop--find-frame): Use cl-find-if.
5845 (desktop--select-frame): Use cl-(first|second|third) to access values
5846 of desktop-mini.
5847 (desktop--make-frame): Use cl-delete-if.
5848 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5849 (desktop-restore-frames): Use cl-(first|second|third) to access values
5850 of desktop-mini. Look for visible frame at the end, not while
5851 restoring frames.
5852
5853 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5854 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5855 Use string-match-p, looking-at-p (bug#14927).
5856
5857 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5858
5859 * desktop.el (desktop-saved-frame-states):
5860 Rename from desktop--saved-states; all users changed.
5861 (desktop-save-frames): Rename from desktop--save-frames.
5862 Do not save state to desktop file.
5863 (desktop-save): Save desktop-saved-frame-states to desktop file
5864 and reset to nil.
5865 (desktop-restoring-frames-p): New function.
5866 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5867 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5868 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5869
5870 * desktop.el: Correctly restore iconified frames.
5871 (desktop--filter-iconified-position): New function.
5872 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5873
5874 2013-07-20 Glenn Morris <rgm@gnu.org>
5875
5876 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5877 Let `message' do the formatting.
5878 (def-gdb-preempt-display-buffer): Add explicit format.
5879
5880 * image-dired.el (image-dired-track-original-file):
5881 Use with-current-buffer.
5882 (image-dired-track-thumbnail): Use with-current-buffer.
5883 Avoid changing point of wrong window.
5884
5885 * image-dired.el (image-dired-track-original-file):
5886 Avoid changing point of wrong window. (Bug#14909)
5887
5888 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5889
5890 * progmodes/gdb-mi.el (gdb-done-or-error):
5891 Guard against "%" in gdb output. (Bug#14127)
5892
5893 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5894
5895 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5896 (Bug#14826)
5897
5898 * international/mule.el (coding-system-iso-2022-flags): Fix last
5899 change.
5900
5901 2013-07-20 Kenichi Handa <handa@gnu.org>
5902
5903 * international/mule.el (coding-system-iso-2022-flags):
5904 Add `8-bit-level-4'. (Bug#8522)
5905
5906 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5907
5908 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5909 (bug#14815).
5910
5911 * net/eww.el (eww-process-text-input): Allow inputting when the
5912 point is at the start of the line, as the properties aren't
5913 front-sticky.
5914
5915 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5916 degenerate widths.
5917
5918 2013-07-19 Richard Stallman <rms@gnu.org>
5919
5920 * epa.el (epa-popup-info-window): Doc fix.
5921
5922 * subr.el (split-string): New arg TRIM.
5923
5924 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5925
5926 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5927 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5928
5929 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5930
5931 * filenotify.el (file-notify--library): Rename from
5932 `file-notify-support'. Do not autoload. Adapt all uses.
5933 (file-notify-supported-p): New defun.
5934
5935 * autorevert.el (auto-revert-use-notify):
5936 Use `file-notify-supported-p' instead of `file-notify-support'.
5937 Adapt docstring.
5938 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5939
5940 * net/tramp.el (tramp-file-name-for-operation):
5941 Add `file-notify-supported-p'.
5942
5943 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5944 New defun.
5945 (tramp-sh-file-name-handler-alist): Add it as handler for
5946 `file-notify-supported-p '.
5947
5948 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5949 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5950 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5951 Add `ignore' as handler for `file-notify-*' functions.
5952
5953 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5954
5955 * simple.el (line-move-partial, line-move): Don't start vscroll or
5956 scroll-up if the current line is not taller than the window.
5957 (Bug#14881)
5958
5959 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5960
5961 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5962 highlight question marks in the method names as strings.
5963 (ruby-block-beg-keywords): Inline.
5964 (ruby-font-lock-keyword-beg-re): Extract from
5965 `ruby-font-lock-keywords'.
5966
5967 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5968
5969 * frame.el (blink-cursor-blinks): New defcustom.
5970 (blink-cursor-blinks-done): New defvar.
5971 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5972 (blink-cursor-timer-function): Check if number of blinks has been
5973 done on X and NS.
5974 (blink-cursor-suspend, blink-cursor-check): New defuns.
5975
5976 2013-07-15 Glenn Morris <rgm@gnu.org>
5977
5978 * edmacro.el (edmacro-format-keys): Fix previous change.
5979
5980 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5981
5982 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5983 The hack didn't work outside English locales anyway.
5984
5985 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5986
5987 * simple.el (define-alternatives): Rename from alternatives-define,
5988 per RMS' suggestion.
5989
5990 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5991
5992 * desktop.el (desktop-restore-frames): Change default to t.
5993 (desktop-restore-in-current-display): Now offer more options.
5994 (desktop-restoring-reuses-frames): New customization option.
5995 (desktop--saved-states): Doc fix.
5996 (desktop-filter-parameters-alist): New variable, renamed and expanded
5997 from desktop--excluded-frame-parameters.
5998 (desktop--target-display): New variable.
5999 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6000 (desktop--filter-tty*, desktop--filter-*-color)
6001 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6002 (desktop--filter-save-desktop-parm)
6003 (desktop-restore-in-original-display-p): New functions.
6004 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6005 (desktop--save-minibuffer-frames): New function, inspired by a similar
6006 function from Martin Rudalics.
6007 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6008 (desktop--restore-in-this-display-p): Remove.
6009 (desktop--find-frame): Rename from desktop--find-frame-in-display
6010 and add predicate argument.
6011 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6012 (desktop--reuse-list): New variable.
6013 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6014 New functions.
6015 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6016
6017 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6018
6019 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6020
6021 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6022
6023 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6024 Highlight conversion methods on Kernel.
6025
6026 2013-07-13 Alan Mackenzie <acm@muc.de>
6027
6028 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6029 and comment it out. This out-commenting enables certain C++
6030 declarations to be parsed correctly.
6031
6032 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6033
6034 * international/mule.el (define-coding-system): Doc fix.
6035
6036 * simple.el (default-font-height): Don't call font-info if the
6037 frame's default font didn't change since the frame was created.
6038 (Bug#14838)
6039
6040 2013-07-13 Leo Liu <sdl.web@gmail.com>
6041
6042 * ido.el (ido-read-file-name): Guard against non-symbol value.
6043
6044 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6045
6046 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6047 in nested defuns.
6048
6049 2013-07-13 Leo Liu <sdl.web@gmail.com>
6050
6051 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6052 ido-set-matches call. (Bug#6852)
6053
6054 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6055
6056 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6057 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6058 Ruby 2.0.
6059 (ruby-font-lock-keywords): Distinguish calls to functions with
6060 module-like names from module references. Highlight character
6061 literals.
6062
6063 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6064
6065 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6066 (gdb-send): Handle continued commands. (Bug#14847)
6067
6068 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6069
6070 * desktop.el (desktop--v2s): Remove unused local variable.
6071 (desktop-save-buffer): Make defvar-local; adjust docstring.
6072 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6073 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6074
6075 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6076
6077 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6078
6079 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6080
6081 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6082 (Bug#14842)
6083
6084 2013-07-12 Glenn Morris <rgm@gnu.org>
6085
6086 * doc-view.el: Require cl-lib at runtime too.
6087 (doc-view-remove-if): Remove.
6088 (doc-view-search-next-match, doc-view-search-previous-match):
6089 Use cl-remove-if.
6090
6091 * edmacro.el: Require cl-lib at runtime too.
6092 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6093 (edmacro-mismatch, edmacro-subseq): Remove.
6094
6095 * shadowfile.el: Require cl-lib.
6096 (shadow-remove-if): Remove.
6097 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6098 Use cl-remove-if.
6099
6100 * wid-edit.el: Require cl-lib.
6101 (widget-choose): Use cl-remove-if.
6102 (widget-remove-if): Remove.
6103
6104 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6105 (ebrowse-delete-if-not): Remove.
6106 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6107 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6108 Use cl-delete-if-not.
6109
6110 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6111
6112 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6113 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6114
6115 2013-07-12 Leo Liu <sdl.web@gmail.com>
6116
6117 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6118
6119 2013-07-11 Glenn Morris <rgm@gnu.org>
6120
6121 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6122 (edebug-gensym-index, edebug-gensym):
6123 Remove reimplementation of cl-gensym.
6124 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6125
6126 * thumbs.el: Require cl-lib at run-time too.
6127 (thumbs-gensym-counter, thumbs-gensym):
6128 Remove reimplementation of cl-gensym.
6129 (thumbs-temp-file): Use cl-gensym.
6130
6131 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6132 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6133 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6134 (ert--union, ert--gensym-counter, ert--gensym-counter)
6135 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6136 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6137 (ert-make-test-unbound, ert--expand-should-1)
6138 (ert--expand-should, ert--should-error-handle-error)
6139 (should-error, ert--explain-equal-rec)
6140 (ert--plist-difference-explanation, ert-select-tests)
6141 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6142 Use cl-lib functions rather than reimplementations.
6143
6144 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6145
6146 * net/tramp.el (tramp-methods): Extend docstring.
6147 (tramp-connection-timeout): New defcustom.
6148 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6149 (with-tramp-progress-reporter): Simplify.
6150 (tramp-process-actions): Improve messages.
6151
6152 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6153 * net/tramp-sh.el (tramp-maybe-open-connection):
6154 Use `tramp-connection-timeout'.
6155 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6156 (Bug#14808)
6157
6158 2013-07-11 Leo Liu <sdl.web@gmail.com>
6159
6160 * ido.el (ido-read-file-name): Conform to the requirements of
6161 read-file-name. (Bug#11861)
6162 (ido-read-directory-name): Conform to the requirements of
6163 read-directory-name.
6164
6165 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6166
6167 * subr.el (delay-warning): New function.
6168
6169 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6170
6171 * simple.el (default-line-height): New function.
6172 (line-move-partial, line-move): Use it instead of computing the
6173 line height inline.
6174 (line-move-partial): Always compute ROWH. If the last line is
6175 partially-visible, but its text is completely visible, allow
6176 cursor to enter such a partially-visible line.
6177
6178 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6179
6180 Improve error messages. (Bug#14808)
6181
6182 * net/tramp.el (tramp-current-connection): New defvar, moved from
6183 tramp-sh.el.
6184 (tramp-message-show-progress-reporter-message): Remove, not
6185 needed anymore.
6186 (tramp-error-with-buffer): Show message in minibuffer.
6187 Discard input before waiting. Reset connection timestamp.
6188 (with-tramp-progress-reporter): Improve messages.
6189 (tramp-process-actions): Use progress reporter. Delete process in
6190 case of error. Improve messages.
6191
6192 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6193 Call `tramp-error-with-buffer' with vector and buffer.
6194 (tramp-current-connection): Remove.
6195 (tramp-maybe-open-connection): The car of
6196 `tramp-current-connection' are the first 3 slots of the vector.
6197
6198 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6199
6200 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6201 inside continued strings.
6202
6203 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6204
6205 Timestamp fixes for undo (Bug#14824).
6206 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6207
6208 2013-07-10 Leo Liu <sdl.web@gmail.com>
6209
6210 * files.el (require-final-newline): Allow safe local value.
6211 (Bug#14834)
6212
6213 2013-07-09 Leo Liu <sdl.web@gmail.com>
6214
6215 * ido.el (ido-read-directory-name): Handle fallback.
6216 (ido-read-file-name): Update DIR to ido-current-directory.
6217 (Bug#1516)
6218 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6219
6220 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6221
6222 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6223 "autoload". Remove "warn lower camel case" section, previously
6224 commented out. Highlight negation char. Do not highlight the
6225 target in singleton method definitions.
6226
6227 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6228
6229 * faces.el (tty-setup-hook): Declare the hook.
6230
6231 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6232 and detect when a guard/pred depends on local vars (bug#14773).
6233 (pcase--u1): Adjust caller.
6234
6235 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6236
6237 * simple.el (line-move-partial, line-move): Account for
6238 line-spacing.
6239 (line-move-partial): Avoid setting vscroll when the last
6240 partially-visible line in window is of default height.
6241
6242 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6243
6244 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6245 been used a while.
6246
6247 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6248
6249 * subr.el (read-quoted-char): Remove unused local variable `char'.
6250
6251 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6252
6253 * ediff.el (ediff-version): Version update.
6254 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6255 (ediff-merge-with-ancestor-command, ediff-directories-command)
6256 (ediff-directories3-command, ediff-merge-directories-command)
6257 (ediff-merge-directories-with-ancestor-command): New functions.
6258 All are command-line interfaces to ediff: to facilitate calling
6259 Emacs with the appropriate ediff functions invoked.
6260
6261 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6262 (viper-save-kill-buffer): Check if buffer is modified.
6263
6264 * viper.el (viper-version): Version update.
6265 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6266
6267 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6268
6269 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6270 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6271 (viper-intercept-ESC-key): Simplify.
6272 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6273 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6274 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6275 (viper-setup-ESC-to-escape): New functions.
6276 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6277 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6278
6279 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6280
6281 * simple.el (default-font-height, window-screen-lines):
6282 New functions.
6283 (line-move, line-move-partial): Use them instead of
6284 frame-char-height and window-text-height. This makes scrolling
6285 text smoother when the buffer's default face uses a font that is
6286 different from the frame's default font.
6287
6288 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6289
6290 * files.el (write-file): Do not display confirm dialog for NS,
6291 it does its own dialog, which can't be cancelled (Bug#14578).
6292
6293 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6294
6295 * simple.el (line-move-partial): Adjust the row returned by
6296 posn-at-point for the current window-vscroll. (Bug#14567)
6297
6298 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6299
6300 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6301 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6302 spaces.
6303
6304 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6305
6306 * window.el (window-state-put-stale-windows): New variable.
6307 (window--state-put-2): Save list of windows without matching buffer.
6308 (window-state-put): Remove "bufferless" windows if possible.
6309
6310 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6311
6312 * simple.el (alternatives-define): Remove leftover :group keyword.
6313 Tweak docstring.
6314
6315 2013-07-06 Leo Liu <sdl.web@gmail.com>
6316
6317 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6318 (ido-enable-virtual-buffers): New variable.
6319 (ido-buffer-internal, ido-toggle-virtual-buffers)
6320 (ido-make-buffer-list): Use it.
6321 (ido-exhibit): Support turning on and off virtual buffers
6322 automatically.
6323
6324 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6325
6326 * simple.el (alternatives-define): New macro.
6327
6328 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6329
6330 * subr.el (read-quoted-char): Use read-key.
6331 (sit-for): Let read-event decode tty input (bug#14782).
6332
6333 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6334
6335 * calendar/todo-mode.el: Add handling of file deletion, both by
6336 mode command and externally. Fix various related bugs.
6337 Clarify Commentary and improve some documentation strings and code.
6338 (todo-delete-file): New command.
6339 (todo-check-file): New function.
6340 (todo-show): Handle external deletion of the file we're trying to
6341 show (bug#14688). Replace called-interactively-p by an optional
6342 prefix argument to avoid problematic interaction with catch form
6343 when byte compiled (bug#14702).
6344 (todo-quit): Handle external deletion of the archive's todo file.
6345 Make sure the buffer that was visiting the archive file is still
6346 live before trying to bury it.
6347 (todo-category-completions): Handle external deletion of any
6348 category completion files.
6349 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6350 of todo files, in case of external deletion.
6351 (todo-add-file): Replace unnecessary setq by let-binding.
6352 (todo-find-archive): Check whether there are any archives.
6353 Replace unnecessary setq by let-binding.
6354 (todo-archive-done-item): Use find-file-noselect to get the
6355 archive buffer whether or not the archive already exists.
6356 Remove superfluous code. Use file size instead of buffer-file-name to
6357 check if the archive is new; if it is, update list of archives.
6358 (todo-default-todo-file): Allow nil to be a valid value for when
6359 there are no todo files.
6360 (todo-reevaluate-default-file-defcustom): Use corrected definition
6361 of todo-default-todo-file.
6362 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6363 (todo-delete-category, todo-show-categories-table)
6364 (todo-category-number): Clarify comment.
6365 (todo-filter-items): Clarify documentation string.
6366 (todo-show-current-file, todo-display-as-todo-file)
6367 (todo-reset-and-enable-done-separator): Tweak documentation string.
6368 (todo-done-separator): Make separator length window-width, since
6369 bug#2749 is now fixed.
6370
6371 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6372
6373 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6374 Support both "gvfs-monitor-dir" and "inotifywait".
6375 (tramp-sh-file-inotifywait-process-filter): Rename from
6376 `tramp-sh-file-notify-process-filter'.
6377 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6378 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6379
6380 2013-07-05 Leo Liu <sdl.web@gmail.com>
6381
6382 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6383
6384 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6385
6386 * frame.el (display-pixel-height, display-pixel-width)
6387 (display-mm-height, display-mm-width): Mention behavior on
6388 multi-monitor setups in docstrings.
6389 (w32-display-monitor-attributes-list): Declare function.
6390 (display-monitor-attributes-list): Use it.
6391
6392 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6393
6394 * filenotify.el: New package.
6395
6396 * autorevert.el (top): Require filenotify.el.
6397 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6398 instead.
6399 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6400 (auto-revert-notify-handler): Use `file-notify-*' functions.
6401
6402 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6403
6404 * net/tramp.el (tramp-file-name-for-operation):
6405 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6406
6407 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6408 for `file-notify-add-watch' and `file-notify-rm-watch'.
6409 (tramp-process-sentinel): Improve trace.
6410 (tramp-sh-handle-file-notify-add-watch)
6411 (tramp-sh-file-notify-process-filter)
6412 (tramp-sh-handle-file-notify-rm-watch)
6413 (tramp-get-remote-inotifywait): New defuns.
6414
6415 2013-07-03 Juri Linkov <juri@jurta.org>
6416
6417 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6418 call of `occur-read-primary-args' to interactive spec.
6419
6420 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6421 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6422
6423 2013-07-03 Matthias Meulien <orontee@gmail.com>
6424
6425 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6426 `Buffer-menu-multi-occur'. Add it to the menu.
6427 (Buffer-menu-mode): Document it in docstring.
6428 (Buffer-menu-multi-occur): New command. (Bug#14673)
6429
6430 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6431
6432 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6433 keywords and built-ins.
6434
6435 2013-07-03 Glenn Morris <rgm@gnu.org>
6436
6437 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6438
6439 Make info-xref checks case-sensitive by default
6440 * info.el (Info-find-node, Info-find-in-tag-table)
6441 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6442 Add option for exact case matching of nodes.
6443 * info-xref.el (info-xref): New custom group.
6444 (info-xref-case-fold): New option.
6445 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6446
6447 2013-07-03 Leo Liu <sdl.web@gmail.com>
6448
6449 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6450
6451 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6452
6453 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6454 middle of block statement initially, lower the depth. Remove
6455 FIXME comment, not longer valid. Remove middle of block statement
6456 detection, no need to do that anymore since we've been using
6457 `ruby-parse-region' here.
6458
6459 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6460
6461 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6462
6463 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6464
6465 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6466
6467 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6468
6469 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6470 (desktop-restore-in-current-display): New customization option.
6471 (desktop--excluded-frame-parameters): Add `font'.
6472 (desktop--save-frames): Rename from desktop--save-windows.
6473 (desktop--restore-in-this-display-p): New function.
6474 (desktop--make-full-frame): Remove unwanted width/height from
6475 full(width|height) frames.
6476 (desktop--restore-frames): Rename from desktop--restore-windows.
6477 Obey desktop-restore-current-display. Do not delete old frames or
6478 select a new frame unless we were able to restore at least one frame.
6479
6480 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6481
6482 * files.el (find-file-noselect): Simplify conditional expression.
6483
6484 * remember.el (remember-append-to-file):
6485 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6486
6487 Add `remember-notes' function to store random notes across Emacs
6488 restarts.
6489 * remember.el (remember-data-file): Add :set callback to affect
6490 notes buffer (if any).
6491 (remember-notes): New command.
6492 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6493 New defcustoms for the `remember-notes' function.
6494 (remember-notes-save-and-bury-buffer): New command.
6495 (remember-notes-mode-map): New variable.
6496 (remember-mode): New minor mode.
6497 (remember-notes--kill-buffer-query): New function.
6498 * startup.el (initial-buffer-choice): Add notes to custom type.
6499
6500 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6501
6502 * bindings.el (right-char, left-char): Don't call sit-for, this is
6503 no longer needed. Use arithmetic comparison only for numerical
6504 arguments.
6505
6506 * international/mule-cmds.el (select-safe-coding-system):
6507 Handle the case of FROM being a string correctly. (Bug#14755)
6508
6509 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6510
6511 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6512 progression on degenerate tables.
6513 (shr-rescale-image): ImageMagick animated images currently don't work.
6514
6515 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6516
6517 Some fixes and improvements for desktop frame restoration.
6518 It is still experimental and disabled by default.
6519 * desktop.el (desktop--save-windows): Put the selected frame at
6520 the head of the list.
6521 (desktop--make-full-frame): New function.
6522 (desktop--restore-windows): Try to re-select the frame that was
6523 selected upon saving. Do not abort if some frames fail to restore,
6524 just show an error message and continue. Set up maximized frames
6525 so they have default non-maximized dimensions.
6526
6527 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6528
6529 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6530 Don't start heredoc inside a string or comment.
6531
6532 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6533
6534 * bindings.el (visual-order-cursor-movement): New defcustom.
6535 (right-char, left-char): Provide visual-order cursor motion by
6536 calling move-point-visually. Update the doc strings.
6537
6538 2013-06-28 Kenichi Handa <handa@gnu.org>
6539
6540 * international/mule.el (define-coding-system): New coding system
6541 properties :inhibit-null-byte-detection,
6542 :inhibit-iso-escape-detection, and :prefer-utf-8.
6543 (set-buffer-file-coding-system): If :charset-list property of
6544 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6545 appropriate for setting.
6546
6547 * international/mule-cmds.el (select-safe-coding-system):
6548 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6549 multibyte characters, return utf-8 (or one of its siblings).
6550
6551 * international/mule-conf.el (prefer-utf-8): New coding system.
6552 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6553 files.
6554
6555 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6556
6557 * net/shr.el (shr-render-region): New function.
6558
6559 * net/eww.el: Autoload `eww-browse-url'.
6560
6561 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6562
6563 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6564 Adapt to `package-desc-version' being a list.
6565 Use `package--ac-desc-version' to retrieve version from a package
6566 archive element.
6567
6568 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6569
6570 New experimental feature to save&restore window and frame setup.
6571 * desktop.el (desktop-save-windows): New defcustom.
6572 (desktop--saved-states): New var.
6573 (desktop--excluded-frame-parameters): New defconst.
6574 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6575 (desktop--restore-windows, desktop--save-windows): New functions.
6576 (desktop-save): Call `desktop--save-windows'.
6577 (desktop-read): Call `desktop--restore-windows'.
6578
6579 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6580
6581 * net/shr.el (add-face-text-property): Remove compat definition.
6582
6583 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6584
6585 * info.el (Info-try-follow-nearest-node): Move search for footnote
6586 above search for node name to prevent missing a footnote (bug#14717).
6587
6588 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6589
6590 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6591
6592 2013-06-27 Leo Liu <sdl.web@gmail.com>
6593
6594 * net/eww.el (eww-read-bookmarks): Check file size.
6595
6596 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6597
6598 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6599 advice--pending if newdef is nil or an autoload (bug#13820).
6600 (advice-mapc): New function.
6601
6602 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6603
6604 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6605 probably.
6606 (eww-mode-map): Add a menu bar.
6607 (eww-add-bookmark): New command.
6608 (eww-bookmark-mode): New mode and commands.
6609 (eww-add-bookmark): Remove newlines from the title.
6610 (eww-bookmark-browse): Don't bug out if it's the only window.
6611
6612 2013-06-26 Glenn Morris <rgm@gnu.org>
6613
6614 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6615 (hfy-size): Handle ttys. (Bug#14668)
6616
6617 * info-xref.el: Update for Texinfo 5 change in *note format.
6618 (info-xref-node-re, info-xref-note-re): New constants.
6619 (info-xref-check-buffer): Use info-xref-note-re.
6620
6621 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6622
6623 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6624
6625 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6626 nil terminate the loop (bug#14718).
6627
6628 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6629
6630 * net/eww.el: Rework history traversal. When going forward/back,
6631 put these actions into the history, too, so that they can be
6632 replayed.
6633 (eww-render): Move the history reset to the correct buffer.
6634
6635 2013-06-25 Juri Linkov <juri@jurta.org>
6636
6637 * files-x.el (modify-dir-local-variable): Change the header comment
6638 in the file with directory local variables. (Bug#14692)
6639
6640 * files-x.el (read-file-local-variable-value): Add `default'.
6641 (Bug#14710)
6642
6643 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6644
6645 * net/eww.el (eww-make-unique-file-name): Create a unique file
6646 name before saving to entering `y' accidentally asynchronously.
6647
6648 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6649
6650 * net/eww.el (eww-download): New command and keystroke.
6651
6652 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6653
6654 * net/eww.el (eww-copy-page-url): Change name of command.
6655
6656 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6657 be more consistent with Info and dired.
6658
6659 * net/eww.el (eww-mode-map): Ditto.
6660
6661 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6662
6663 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6664 packages from archives.
6665 (package-archive-contents): Change format; include obsolete packages.
6666 (package-desc): Use `dir' to mark builtin packages.
6667 (package--from-builtin): Set the `dir' field to `builtin'.
6668 (generated-autoload-file, version-control): Declare.
6669 (package-compute-transaction): Change first arg and return value to be
6670 lists of package-descs. Adjust to new package-archive-contents format.
6671 (package--add-to-archive-contents): Adjust to new
6672 package-archive-contents format.
6673 (package-download-transaction): Arg is now a list of package-descs.
6674 (package-install): If `pkg' is a package name, pass it as
6675 a requirement, so it is subject to the usual (e.g. disabled) checks.
6676 (describe-package): Accept package-desc as well.
6677 (describe-package-1): Describe a specific package-desc. Add links to
6678 other package-descs for the same package name.
6679 (package-menu-describe-package): Pass the actual package-desc.
6680 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6681 works correctly.
6682 (package-desc-status): New function.
6683 (package-menu--refresh): New function, extracted
6684 from package-menu--generate.
6685 (package-menu--generate): Use it.
6686 (package-delete): Update package-alist.
6687 (package-menu-execute): Don't call package-initialize.
6688
6689 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6690 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6691 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6692 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6693 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6694 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6695
6696 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6697
6698 * window.el (window--state-get-1): Workaround for bug#14527.
6699 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6700
6701 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6702
6703 * net/eww.el (eww-back-url): Implement the history by stashing all
6704 the data into a list.
6705 (eww-forward-url): Allow going forward in the history, too.
6706
6707 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6708
6709 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6710 for values and use read--expression for expressions (bug#14710).
6711 (read-file-local-variable): Avoid setq.
6712 (read-file-local-variable-mode): Use minor-mode-list.
6713
6714 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6715
6716 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6717 for DOI URLs.
6718
6719 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6720
6721 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6722 Update imenu-support when dialect changes.
6723
6724 2013-06-25 Leo Liu <sdl.web@gmail.com>
6725
6726 * ido.el (ido-read-internal): Allow forward slash on windows.
6727
6728 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6729
6730 * net/eww.el (eww): Start of strings is \\`, not ^.
6731
6732 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6733
6734 * net/shr.el (shr-browse-url): Fix interactive spec.
6735
6736 * net/eww.el (eww): Add a trailing slash to domain names.
6737
6738 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6739
6740 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6741
6742 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6743
6744 * net/shr.el (shr-browse-url): Use an external browser if given a
6745 prefix.
6746
6747 * net/eww.el (eww-external-browser): Move to shr.
6748
6749 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6750
6751 * net/eww.el (eww): Work more correctly for file: URLs.
6752 (eww-detect-charset): Allow quoted charsets.
6753 (eww-yank-page-url): New command and keystroke.
6754
6755 2013-06-24 Daiki Ueno <ueno@gnu.org>
6756
6757 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6758 file name of gpg executable.
6759 (epg-context-program): New function.
6760 (epg-context-home-directory): New function.
6761 (epg-context-set-program): New function.
6762 (epg-context-set-home-directory): New function.
6763 (epg--start): Use `epg-context-program' instead of
6764 'epg-gpg-program'.
6765 (epg--list-keys-1): Likewise.
6766
6767 2013-06-24 Leo Liu <sdl.web@gmail.com>
6768
6769 * ido.el (ido-read-internal): Fix bug#14620.
6770
6771 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6772
6773 * faces.el (face-documentation): Simplify.
6774 (read-face-attribute, tty-find-type, x-resolve-font-name):
6775 Use `string-match-p'.
6776 (list-faces-display): Use `string-match-p'. Simplify.
6777 (face-spec-recalc): Check face to avoid face alias loops.
6778 (read-color): Use `string-match-p' and non-capturing parenthesis.
6779
6780 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6781
6782 * net/shr.el (shr-rescale-image): Use the new
6783 :max-width/:max-height functionality.
6784
6785 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6786
6787 * net/eww.el (eww-search-prefix): New variable.
6788 (eww): Use it.
6789 (eww-external-browser): New variable.
6790 (eww-mode-map): New keystroke.
6791 (eww-browse-with-external-browser): New command.
6792
6793 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6794
6795 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6796
6797 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6798 Don't skip aligning the next header field when padding is 0;
6799 otherwise, field width is not respected unless the title is as
6800 wide as the field.
6801
6802 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6803
6804 * emacs-lisp/package.el (package-el-version): Remove.
6805 (package-process-define-package): Fix inf-loop.
6806 (package-install): Allow symbols as arguments again.
6807
6808 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6809
6810 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6811 add some more keyword-like methods.
6812 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6813
6814 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6815
6816 * bs.el (bs-buffer-show-mark): Make defvar-local.
6817 (bs-mode): Use setq-local.
6818
6819 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6820 (emacs-lock--try-unlocking): Make defvar-local.
6821
6822 2013-06-22 Glenn Morris <rgm@gnu.org>
6823
6824 * play/cookie1.el (cookie-apropos): Minor simplification.
6825
6826 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6827
6828 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6829
6830 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6831 `regexp-opt', it breaks the build during dumping.
6832
6833 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6834
6835 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6836 Highlight keyword-like methods on Kernel and Module with
6837 font-lock-builtin-face.
6838 (auto-mode-alist): Consolidate different entries into one regexp
6839 and add more *file-s.
6840
6841 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6842
6843 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6844
6845 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6846 (diary-entry): Use it in the action of this button type instead of
6847 diary-goto-entry.
6848
6849 * calendar/todo-mode.el: New version.
6850 (todo-add-category): Append new category to end of file and give
6851 it the highest number, instead of putting it at the beginning and
6852 giving it 0. Incorporate noninteractive functionality.
6853 (todo-forward-category): Adapt to 1-based category numbering.
6854 Allow skipping over archived categories.
6855 (todo-backward-category): Derive from todo-forward-category.
6856 (todo-backward-item, todo-forward-item): Make noninteractive and
6857 delegate interactive part to new commands. Make sensitive to done items.
6858 (todo-categories): Make value an alist of category names and
6859 vectors of item counts.
6860 (todo-category-beg): Make a defconst.
6861 (todo-category-number): Use 1 instead of 0 as initial value.
6862 (todo-category-select): Make sensitive to overlays, optional item
6863 highlighting and done items.
6864 (todo-delete-item): Make sensitive to overlays and marked and done items.
6865 (todo-edit-item): Make sensitive to overlays and editing of
6866 date/time header optional. Add format checks.
6867 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6868 no-op if point is not on an item. Advertise using todo-edit-quit.
6869 (todo-edit-mode): Make sensitive to new format, font-locking, and
6870 multiple todo files.
6871 (todo-insert-item, todo-insert-item-here): Derive from
6872 todo-basic-insert-item and extend functionality.
6873 (todo-item-end, todo-item-start): Make sensitive to done items.
6874 (todo-item-string): Don't return text properties. Restore point.
6875 (todo-jump-to-category): Make sensitive to multiple todo files and
6876 todo archives. Use extended category completion.
6877 (todo-lower-item, todo-raise-item): Rename to *-priority and
6878 derive from todo-set-item-priority.
6879 (todo-mode): Derive from special-mode. Make sensitive to new
6880 format, font-locking and multiple todo files. Make read-only.
6881 (todo-mode-map): Don't suppress digit keys, so they can supply
6882 prefix arguments. Add many new key bindings.
6883 (todo-prefix): Insert as an overlay instead of file text.
6884 Change semantics from diary date expression to purely visual mark.
6885 (todo-print): Rename to todo-print-buffer. Make buffer display
6886 features printable. Remove option to restrict number of items
6887 printed. Add option to print to file.
6888 (todo-print-function): Rename to todo-print-buffer-function.
6889 (todo-quit): Extend to handle exiting new todo modes.
6890 (todo-remove-item): Make sensitive to overlays.
6891 (todo-save): Extend to buffers of filtered items.
6892 (todo-show): Make sensitive to done items, multiple todo files and
6893 new todo modes. Offer to convert legacy todo file before creating
6894 first new todo file.
6895 (todo-show-priorities): Rename to todo-top-priorities.
6896 Change semantics of value 0.
6897 (todo-top-priorities): Rename to todo-filter-top-priorities,
6898 derive from todo-filter-items and extend functionality.
6899 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6900 and extend functionality to other types of filtered items.
6901 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6902 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6903 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6904 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6905 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6906 (todo-edit-mode-hook, todo-entry-prefix-function)
6907 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6908 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6909 (todo-initials, todo-insert-threshold, todo-item-string-start)
6910 (todo-line-string, todo-menu, todo-mode-hook)
6911 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6912 (todo-print-priorities, todo-remove-separator)
6913 (todo-save-top-priorities-too, todo-string-count-lines)
6914 (todo-string-multiline-p, todo-time-string-format)
6915 (todo-tmp-buffer-name): Remove.
6916 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6917 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6918 (todo-edit-category-diary-inclusion)
6919 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6920 (todo-edit-file, todo-edit-item-date-day)
6921 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6922 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6923 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6924 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6925 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6926 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6927 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6928 (todo-filter-top-priorities-multifile, todo-find-archive)
6929 (todo-find-filtered-items-file, todo-go-to-source-item)
6930 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6931 (todo-jump-to-archive-category, todo-lower-category)
6932 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6933 (todo-move-category, todo-move-item, todo-next-button)
6934 (todo-next-item, todo-padded-string, todo-powerset)
6935 (todo-previous-button, todo-previous-item)
6936 (todo-print-buffer-to-file, todo-raise-category)
6937 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6938 (todo-set-category-number, todo-set-item-priority)
6939 (todo-set-top-priorities-in-category)
6940 (todo-set-top-priorities-in-file, todo-show-categories-table)
6941 (todo-sort-categories-alphabetically-or-numerically)
6942 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6943 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6944 (todo-toggle-item-header, todo-toggle-item-highlighting)
6945 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6946 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6947 (todo-unarchive-items, todo-unmark-category): New commands.
6948 (todo-absolute-file-name, todo-add-to-buffer-list)
6949 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6950 (todo-basic-insert-item, todo-category-completions)
6951 (todo-category-number, todo-category-string-matcher-1)
6952 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6953 (todo-check-format, todo-clear-matches)
6954 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6955 (todo-current-category, todo-date-string-matcher)
6956 (todo-define-insertion-command, todo-diary-expired-matcher)
6957 (todo-diary-goto-entry, todo-diary-item-p)
6958 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6959 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6960 (todo-done-item-section-p, todo-done-separator)
6961 (todo-done-string-matcher, todo-files, todo-filter-items)
6962 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6963 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6964 (todo-insert-category-line, todo-insert-item-from-calendar)
6965 (todo-insert-sort-button, todo-insert-with-overlays)
6966 (todo-insertion-command-name, todo-insertion-key-bindings)
6967 (todo-label-to-key, todo-longest-category-name-length)
6968 (todo-make-categories-list, todo-mode-external-set)
6969 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6970 (todo-modes-set-3, todo-multiple-filter-files)
6971 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6972 (todo-read-category, todo-read-date, todo-read-dayname)
6973 (todo-read-file-name, todo-read-time)
6974 (todo-reevaluate-category-completions-files-defcustom)
6975 (todo-reevaluate-default-file-defcustom)
6976 (todo-reevaluate-filelist-defcustoms)
6977 (todo-reevaluate-filter-files-defcustom)
6978 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6979 (todo-reset-done-separator, todo-reset-done-separator-string)
6980 (todo-reset-done-string, todo-reset-global-current-todo-file)
6981 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6982 (todo-reset-prefix, todo-set-categories)
6983 (todo-set-date-from-calendar, todo-set-show-current-file)
6984 (todo-set-top-priorities, todo-short-file-name)
6985 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6986 (todo-total-item-counts, todo-update-buffer-list)
6987 (todo-update-categories-display, todo-update-categories-sexp)
6988 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6989 New functions.
6990 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6991 New major modes.
6992 (todo-categories, todo-display, todo-edit, todo-faces)
6993 (todo-filtered): New defgroups.
6994 (todo-archived-only, todo-button, todo-category-string, todo-date)
6995 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6996 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6997 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6998 (todo-add-item-if-new-category, todo-always-add-time-string)
6999 (todo-categories-align, todo-categories-archived-label)
7000 (todo-categories-category-label, todo-categories-diary-label)
7001 (todo-categories-done-label, todo-categories-number-separator)
7002 (todo-categories-todo-label, todo-categories-totals-label)
7003 (todo-category-completions-files, todo-completion-ignore-case)
7004 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7005 (todo-done-separator-string, todo-done-string)
7006 (todo-files-function, todo-filter-done-items, todo-filter-files)
7007 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7008 (todo-initial-category, todo-initial-file, todo-item-mark)
7009 (todo-legacy-date-time-regexp, todo-mode-line-function)
7010 (todo-nondiary-marker, todo-number-prefix)
7011 (todo-print-buffer-function, todo-show-current-file)
7012 (todo-show-done-only, todo-show-first, todo-show-with-done)
7013 (todo-skip-archived-categories, todo-top-priorities-overrides)
7014 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7015 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7016 New defcustoms.
7017 (todo-category-done, todo-date-pattern, todo-date-string-start)
7018 (todo-diary-items-buffer, todo-done-string-start)
7019 (todo-filtered-items-buffer, todo-item-start)
7020 (todo-month-abbrev-array, todo-month-name-array)
7021 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7022 (todo-top-priorities-buffer): New defconsts.
7023 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7024 (todo-categories-with-marks, todo-category-string-face)
7025 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7026 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7027 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7028 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7029 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7030 (todo-font-lock-keywords, todo-global-current-todo-file)
7031 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7032 (todo-insertion-commands-args)
7033 (todo-insertion-commands-args-genlist)
7034 (todo-insertion-commands-names, todo-insertion-map)
7035 (todo-key-bindings-t, todo-key-bindings-t+a)
7036 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7037 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7038 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7039 (todo-visited): New variables.
7040
7041 2013-06-21 Glenn Morris <rgm@gnu.org>
7042
7043 * play/cookie1.el (cookie-apropos): Add optional display argument.
7044 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7045 (psychoanalyze-pinhead): Use cookie-doctor.
7046
7047 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7048
7049 * emacs-lisp/package.el (tar-get-file-descriptor)
7050 (tar--extract): Declare.
7051
7052 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7053
7054 Extend flymake's warning predicate to be a function (bug#14217).
7055 * progmodes/flymake.el (flymake-warning-predicate): New.
7056 (flymake-parse-line): Use it.
7057 (flymake-warning-re): Make obsolete alias to
7058 `flymake-warning-predicate'.
7059
7060 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7061
7062 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7063 (package-obsolete-list): Remove.
7064 (package-activate): Remove min-version argument. Add `force' argument.
7065 Adjust to new package-alist format.
7066 (package-mark-obsolete): Remove.
7067 (package-unpack): Force reload of the package's autoloads.
7068 (package-installed-p): Check builtins if the installed package is not
7069 recent enough.
7070 (package-initialize): Don't reset package-obsolete-list.
7071 Don't specify which package version to activate.
7072 (package-process-define-package, describe-package-1)
7073 (package-menu--generate): Adjust to new package-alist format.
7074
7075 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7076
7077 * allout-widgets.el (allout-widgets-mode-off)
7078 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7079 (allout-widgets-post-command-business)
7080 (allout-widgets-after-copy-or-kill-function)
7081 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7082 (allout-decorate-item-and-context)
7083 (allout-graphics-modification-handler): Fix typos in docstrings.
7084 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7085
7086 * cmuscheme.el (scheme-start-file): Doc fix.
7087 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7088 (scheme-input-filter): Use `string-match-p'.
7089
7090 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7091
7092 * dired-x.el: Use Dired consistently in docstrings.
7093
7094 * dired.el: Use Dired consistently in docstrings.
7095 (dired-readin, dired-mode): Use `setq-local'.
7096 (dired-switches-alist): Make defvar-local.
7097 (dired-buffers-for-dir): Use `zerop'.
7098 (dired-safe-switches-p, dired-switches-escape-p)
7099 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7100 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7101 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7102 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7103 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7104 (dired-toggle-marks, dired-mark-files-containing-regexp)
7105 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7106 (dired-flag-auto-save-files, dired-flag-backup-files):
7107 Use `looking-at-p'.
7108 (dired-mark-files-regexp, dired-build-subdir-alist):
7109 Use `string-match-p', `looking-at-p'.
7110
7111 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7112 (direct-print-region-helper): Use `string-match-p'.
7113
7114 2013-06-21 Leo Liu <sdl.web@gmail.com>
7115
7116 * comint.el (comint-redirect-results-list-from-process):
7117 Fix infinite loop.
7118
7119 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7120
7121 * net/eww.el (eww-update-header-line-format): Quote % characters.
7122
7123 2013-06-21 Glenn Morris <rgm@gnu.org>
7124
7125 * play/cookie1.el (cookie): New custom group.
7126 (cookie-file): New option.
7127 (cookie-check-file): New function.
7128 (cookie): Make it interactive. Make start and end messages optional.
7129 Interactively, display the result. Default to cookie-file.
7130 (cookie-insert): Default to cookie-file.
7131 (cookie-snarf): Make start and end messages optional.
7132 Default to cookie-file. Use with-temp-buffer.
7133 (cookie-read): Rename from read-cookie.
7134 Make start and end messages optional. Default to cookie-file.
7135 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7136 Do not autoload it.
7137 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7138 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7139
7140 2013-06-21 Leo Liu <sdl.web@gmail.com>
7141
7142 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7143
7144 2013-06-21 Glenn Morris <rgm@gnu.org>
7145
7146 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7147
7148 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7149 Daniel Hackney <dan@haxney.org>
7150
7151 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7152 Consolidate the single-file vs tarball code.
7153 (package-desc-suffix): New function.
7154 (package-desc-full-name): Don't bother inlining it.
7155 (package-load-descriptor): Return the new package-desc.
7156 (package-mark-obsolete): Remove unused arg `package'.
7157 (package-unpack): Make it work for single files as well.
7158 Make it update package-alist.
7159 (package--make-autoloads-and-stuff): Rename from
7160 package--make-autoloads-and-compile. Don't compile any more.
7161 (package--compile): New function.
7162 (package-generate-description-file): New function, extracted from
7163 package-unpack-single.
7164 (package-unpack-single): Remove.
7165 (package--with-work-buffer): Add indentation and debugging info.
7166 (package-download-single): Remove.
7167 (package-install-from-archive): Rename from package-download-tar, make
7168 it take a pkg-desc, and make it work for single files as well.
7169 (package-download-transaction): Simplify.
7170 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7171 external tar program.
7172 (package-install-from-buffer): Remove `pkg-desc' argument.
7173 Use package-tar-file-info for tar-mode buffers.
7174 (package-install-file): Simplify accordingly.
7175 (package-archive-base): Change to take a pkg-desc.
7176 * tar-mode.el (tar--check-descriptor): New function, extracted from
7177 tar-get-descriptor.
7178 (tar-get-descriptor): Use it.
7179 (tar-get-file-descriptor): New function.
7180 (tar--extract): New function, extracted from tar-extract.
7181 (tar--extract): Use it.
7182 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7183 case the summary uses non-ascii. Adjust to new calling convention of
7184 package-tar-file-info.
7185
7186 2013-06-21 Leo Liu <sdl.web@gmail.com>
7187
7188 * comint.el (comint-redirect-results-list-from-process):
7189 Fix random delay. (Bug#14681)
7190
7191 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7192
7193 * profiler.el (profiler-format-number): Use log, not log10.
7194
7195 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7196
7197 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7198
7199 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7200
7201 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7202 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7203 yet available.
7204 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7205 (AUTOGENEL): ... here.
7206 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7207 (cl--defsubst-expand): Use it.
7208
7209 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7210
7211 * subr.el (log10): Move here from C code, and declare as obsolete.
7212 All uses of (log10 X) replaced with (log X 10).
7213
7214 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7215
7216 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7217 Declare with `defvar-local'.
7218 (tabulated-list-use-header-line, tabulated-list-entries)
7219 (tabulated-list-padding, tabulated-list-printer)
7220 (tabulated-list-sort-key): Declare with `defvar-local'.
7221 (tabulated-list-init-header, tabulated-list-print-fake-header):
7222 Use `setq-local'.
7223
7224 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7225
7226 * arc-mode.el (archive-mode): Add `archive-write-file' to
7227 `write-contents-functions' also for remote files. (Bug#14652)
7228
7229 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7230
7231 * cus-edit.el (custom-commands): Fix typos.
7232 (custom-display): Fix tooltip text.
7233 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7234 Fix typos in docstrings.
7235 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7236 (custom-unlispify-menu-entry, custom-magic-value-create)
7237 (custom-add-see-also, custom-group-value-create): Use ?\s.
7238 (custom-guess-type, customize-apropos, editable-field)
7239 (custom-face-value-create): Use `string-match-p'.
7240 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7241
7242 * custom.el (custom-load-symbol): Use `string-match-p'.
7243
7244 * ansi-color.el: Convert to lexical binding.
7245 (ansi-colors): Fix URL.
7246 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7247 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7248 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7249
7250 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7251
7252 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7253
7254 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7255
7256 2013-06-19 Tom Tromey <tromey@redhat.com>
7257
7258 * net/eww.el (eww-top-url): Remove.
7259 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7260 (eww-render): Set new variables. Don't set eww-top-url.
7261 (eww-handle-link): Handle "prev", "home", and "contents".
7262 Downcase the rel text.
7263 (eww-top-url): Choose best top URL.
7264
7265 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7266
7267 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7268 relying in widget.el. Using widget.el leads to too many
7269 user interface inconsistencies.
7270 (eww-self-insert): Implement entering commands in text fields.
7271 (eww-process-text-input): New function to make text input field editing
7272 work.
7273 (eww-submit): Rewrite to use the new-style form methods.
7274 (eww-select-display): Display the correct selected item.
7275 (eww-change-select): Implement changing the select value.
7276 (eww-toggle-checkbox): Implement radio/checkboxes.
7277 (eww-update-field): Fix compilation error.
7278 (eww-tag-textarea): Implement <textarea>.
7279
7280 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7281 we don't shadow mode-specific bindings.
7282
7283 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7284 nothing to push.
7285
7286 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7287
7288 2013-06-19 Glenn Morris <rgm@gnu.org>
7289
7290 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7291
7292 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7293
7294 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7295 not needed.
7296
7297 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7298
7299 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7300
7301 * net/browse-url.el (browse-url-browser-function):
7302 `eww-browse-url' has the right calling signature, `eww' does not.
7303
7304 2013-06-19 Glenn Morris <rgm@gnu.org>
7305
7306 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7307 Only eval autoloaded macros.
7308 (byte-compile-autoload): Only give the macro warning for macros.
7309
7310 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7311 (ps-underlined-faces): Declare.
7312
7313 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7314 (speedbar-add-supported-extension): Declare.
7315
7316 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7317 Don't include a date stamp in the header of the generated file;
7318 it leads to needless differences between output files.
7319
7320 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7321
7322 * net/secrets.el (secrets-struct-secret-content-type):
7323 Replace check of introspection data by a test call of "CreateItem".
7324 Some servers do not offer introspection.
7325
7326 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7327
7328 * electric.el (electric-pair-mode): Improve interaction with
7329 electric-layout-mode.
7330 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7331 (electric-pair-syntax): Use text-mode-syntax-table in comments
7332 and strings.
7333 (electric-pair--insert): New function.
7334 (electric-pair-post-self-insert-function): Use it and
7335 electric--after-char-pos.
7336
7337 2013-06-19 Leo Liu <sdl.web@gmail.com>
7338
7339 * progmodes/octave.el (octave-help): Fix regexp.
7340
7341 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7342
7343 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7344 (shr-table-horizontal-line): Allow nil as a value, and change the
7345 default.
7346 (shr-insert-table-ruler): Respect the nil value.
7347
7348 2013-06-18 Tom Tromey <tromey@barimba>
7349
7350 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7351 New defvars.
7352 (eww-open-file): New defun.
7353 (eww-render): Initialize new variables.
7354 (eww-display-html): Handle "link" and "a".
7355 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7356 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7357 (eww-back-url): Rename from eww-previous-url.
7358 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7359 New defuns.
7360
7361 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7362
7363 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7364 Distinguish ternary operator tokens from slash symbol and slash
7365 char literal.
7366
7367 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7368
7369 Convert symbol prettification into minor mode and global minor mode.
7370
7371 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7372 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7373 (prettify-symbols--keywords): Rename from
7374 `prog-prettify-symbols-alist' and make a local defvar.
7375 (prettify-symbols--compose-symbol): Rename from
7376 `prog--prettify-font-lock-compose-symbol'.
7377 (prettify-symbols--make-keywords): Rename from
7378 `prog-prettify-font-lock-symbols-keywords' and simplify.
7379 (prog-prettify-install): Remove.
7380 (prettify-symbols-mode): New minor mode, based on
7381 `prog-prettify-install'.
7382 (turn-on-prettify-symbols-mode): New function.
7383 (global-prettify-symbols-mode): New globalized minor mode.
7384
7385 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7386 * progmodes/cfengine.el (cfengine3-mode):
7387 * progmodes/perl-mode.el (perl-mode): Don't call
7388 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7389
7390 2013-06-18 Juri Linkov <juri@jurta.org>
7391
7392 * files-x.el (modify-file-local-variable-message): New function.
7393 (modify-file-local-variable)
7394 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7395 and call `modify-file-local-variable-message' when it's non-nil.
7396 (add-file-local-variable, delete-file-local-variable)
7397 (add-file-local-variable-prop-line)
7398 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7399 and use it. (Bug#9820)
7400
7401 2013-06-18 Juri Linkov <juri@jurta.org>
7402
7403 * emulation/vi.el (vi-shell-op):
7404 * emulation/vip.el (vip-execute-com, ex-command):
7405 * emulation/viper-cmd.el (viper-exec-bang):
7406 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7407 the call of `shell-command-on-region'. (Bug#14637)
7408
7409 * simple.el (shell-command-on-region): Doc fix.
7410
7411 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7412
7413 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7414 (bug#14633).
7415
7416 2013-06-18 Glenn Morris <rgm@gnu.org>
7417
7418 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7419
7420 * newcomment.el (comment-search-forward, comment-search-backward):
7421 Doc fix. (Bug#14376)
7422
7423 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7424
7425 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7426 (buffer-face-mode-invoke): Doc fix.
7427
7428 2013-06-18 Matthias Meulien <orontee@gmail.com>
7429
7430 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7431 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7432
7433 2013-06-18 Glenn Morris <rgm@gnu.org>
7434
7435 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7436 Replace obsolete function generic-make-keywords with its expansion.
7437
7438 * progmodes/python.el (ffap-alist): Declare.
7439
7440 * textmodes/reftex.el (bibtex-mode-map): Declare.
7441
7442 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7443
7444 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7445 (package-unpack, package-unpack-single): Return the pkg-dir.
7446 (package-download-transaction): Use it to update package-alist.
7447
7448 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7449
7450 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7451 possible choice.
7452
7453 2013-06-17 Juri Linkov <juri@jurta.org>
7454
7455 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7456
7457 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7458
7459 * emacs-lisp/package.el (package-load-descriptor):
7460 Remove `with-syntax-table' call, `read' doesn't need it.
7461 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7462
7463 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7464
7465 * startup.el (command-line): Expand package name returned by
7466 `package--description-file' (bug#14639).
7467
7468 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7469
7470 * emacs-lisp/package.el (package-load-descriptor): Do not call
7471 `emacs-lisp-mode', just use its syntax table.
7472
7473 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7474
7475 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7476 `font-lock-extra-managed-props' if any prettifying keyword is added.
7477 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7478 (prog-mode): Use `setq-local'.
7479
7480 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7481
7482 * international/characters.el (standard-case-table): Set syntax of ?»
7483 and ?« to punctuation.
7484
7485 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7486
7487 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7488 Save relevant match data before calling `syntax-ppss' (bug#14595).
7489
7490 2013-06-15 Juri Linkov <juri@jurta.org>
7491
7492 * files-x.el (modify-file-local-variable-prop-line): Add local
7493 variables to the end of the existing comment on the first line.
7494 Use `file-auto-mode-skip' to skip interpreter magic line,
7495 and also skip XML declaration.
7496
7497 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7498
7499 * startup.el (package--builtin-versions): New var.
7500 (package-subdirectory-regexp): Remove.
7501 (package--description-file): Hard code its value instead.
7502
7503 * emacs-lisp/package.el: Don't activate packages older than builtin.
7504 (package-obsolete-list): Rename from package-obsolete-alist, and make
7505 it into a simple list of package-desc.
7506 (package-strip-version): Remove.
7507 (package-built-in-p): Use package--builtin-versions.
7508 (package-mark-obsolete): Simplify.
7509 (package-process-define-package): Mark it obsolete if older than the
7510 builtin version.
7511 (package-handle-response): Use line-end-position.
7512 (package-read-archive-contents, package--download-one-archive):
7513 Simplify.
7514 (package--add-to-archive-contents): Skip if older than the builtin or
7515 installed version.
7516 (package-menu-describe-package): Fix last change.
7517 (package-list-unversioned): New var.
7518 (package-menu--generate): Use it.
7519
7520 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7521 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7522 (autoload-builtin-package-versions): New variable.
7523 (autoload-generate-file-autoloads): Use them.
7524 Remove the list of autoloaded functions/macros from the
7525 (autoload...) comments.
7526
7527 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7528
7529 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7530
7531 * simple.el (line-move-partial): Don't jump to the next screen
7532 line as soon as it becomes visible. Instead, continue enlarging
7533 the vscroll until the portion of a tall screen line that's left on
7534 display is about the height of the frame's default font.
7535 (Bug#14567)
7536
7537 2013-06-15 Glenn Morris <rgm@gnu.org>
7538
7539 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7540 compilation-error-regexp-alist void, or local while let-bound.
7541
7542 * progmodes/make-mode.el (makefile-mode-syntax-table):
7543 Treat "=" as punctuation. (Bug#14614)
7544
7545 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7546
7547 * help-fns.el (describe-variable):
7548 Add extra line for permanent-local variables.
7549
7550 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7551
7552 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7553 Add export, import, library. (Bug#9164)
7554 (library): Set indent function.
7555
7556 2013-06-14 Glenn Morris <rgm@gnu.org>
7557
7558 * term/xterm.el (xterm--query):
7559 Stop after first matching handler. (Bug#14615)
7560
7561 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7562
7563 Add support for dired in saveplace.
7564 * dired.el (dired-initial-position-hook): New variable.
7565 (dired-initial-position): Call hook to place cursor position.
7566 * saveplace.el (save-place-to-alist): Add dired position.
7567 (save-place-dired-hook): New function.
7568
7569 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7570
7571 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7572 through a symbol rather than letrec.
7573
7574 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7575 (package-desc): Add `dir' field.
7576 (package-desc-full-name): New function.
7577 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7578 (package-maybe-load-descriptor): Remove.
7579 (package-load-all-descriptors): Just call package-load-descriptor.
7580 (package--disabled-p): New function.
7581 (package-desc-vers, package-desc-doc): Remove aliases.
7582 (package--dir): Remove function.
7583 (package-activate): Check if a package is disabled.
7584 (package-process-define-package): New function, extracted from
7585 define-package.
7586 (define-package): Turn into a place holder.
7587 (package-unpack-single, package-tar-file-info):
7588 Use package--description-file.
7589 (package-compute-transaction): Use package--disabled-p.
7590 (package-download-transaction): Don't call
7591 package-maybe-load-descriptor since they're all loaded anyway.
7592 (package-install): Change argument to be a pkg-desc.
7593 (package-delete): Use a single pkg-desc argument.
7594 (describe-package-1): Use package-desc-dir instead of package--dir.
7595 Use package-desc property instead of package-symbol.
7596 (package-install-button-action): Adjust accordingly.
7597 (package--push): Rewrite.
7598 (package-menu--print-info): Adjust accordingly. Change the ID format
7599 to be a pkg-desc.
7600 (package-menu-describe-package, package-menu-get-status)
7601 (package-menu--find-upgrades, package-menu-mark-upgrades)
7602 (package-menu-execute, package-menu--name-predicate):
7603 Adjust accordingly.
7604 * startup.el (package--description-file): New function.
7605 (command-line): Use it.
7606 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7607 Use package-desc-version.
7608
7609 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7610 (byte-compile-preprocess): Use it.
7611 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7612 can't quite recognize.
7613 (byte-compile-add-to-list): Remove.
7614 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7615 (cconv-closure-convert): Add assertion.
7616
7617 * emacs-lisp/map-ynp.el: Use lexical-binding.
7618 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7619 Factor out some repeated code.
7620
7621 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7622
7623 * subr.el (with-eval-after-load): New macro.
7624 (eval-after-load): Allow form to be a function.
7625 take advantage of lexical-binding.
7626 (do-after-load-evaluation): Use dolist and adjust to new format.
7627 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7628
7629 2013-06-13 Juri Linkov <juri@jurta.org>
7630
7631 * replace.el (perform-replace): Display "symbol " and other search
7632 modes from `isearch-message-prefix' in the *Help* buffer.
7633
7634 * isearch.el (isearch-query-replace): Add " symbol" and other
7635 possible search modes from `isearch-message-prefix' to the prompt.
7636 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7637 when reading a regexp to collect.
7638
7639 2013-06-13 Juri Linkov <juri@jurta.org>
7640
7641 * isearch.el (word-search-regexp): Match whitespace if the search
7642 string begins or ends in whitespace. The LAX arg is applied to
7643 both ends of the search string. Use `regexp-quote' and explicit
7644 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7645 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7646 boundaries are replaced with symbol boundaries, and characters
7647 between symbols match non-word non-symbol syntax. (Bug#14602)
7648
7649 2013-06-13 Juri Linkov <juri@jurta.org>
7650
7651 * isearch.el (isearch-del-char): Don't exceed the length of
7652 `isearch-string' by the prefix arg. (Bug#14563)
7653
7654 2013-06-13 Juri Linkov <juri@jurta.org>
7655
7656 * isearch.el (isearch-yank-word, isearch-yank-line)
7657 (isearch-char-by-name, isearch-quote-char)
7658 (isearch-printing-char, isearch-process-search-char):
7659 Add optional count prefix arg. (Bug#14563)
7660
7661 * international/isearch-x.el
7662 (isearch-process-search-multibyte-characters):
7663 Add optional count prefix arg.
7664
7665 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7666
7667 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7668 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7669 lexical-binding.
7670
7671 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7672
7673 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7674
7675 2013-06-13 Glenn Morris <rgm@gnu.org>
7676
7677 * startup.el (tty-handle-args):
7678 Don't just discard "--" and anything after. (Bug#14608)
7679
7680 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7681
7682 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7683
7684 Implement changes in Secret Service API. Make it backward compatible.
7685 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7686 (secrets-create-item): Use it. Prefix properties with interface.
7687
7688 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7689
7690 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7691 (term-emulate-terminal): Respect term-suppress-hard-newline.
7692
7693 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7694
7695 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7696 Only remove a `thumb-file' overlay. (Bug#14548)
7697
7698 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7699
7700 * mail/reporter.el (reporter-submit-bug-report):
7701 Handle missing package-name. (Bug#14600)
7702
7703 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7704
7705 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7706 (reftex-citation-prompt, reftex-default-bibliography)
7707 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7708 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7709 (reftex-bib-sort-author, reftex-bib-sort-year)
7710 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7711 (reftex-extract-bib-entries-from-thebibliography)
7712 (reftex-get-bibkey-default, reftex-get-bib-names)
7713 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7714 (reftex-format-bib-entry, reftex-parse-bibitem)
7715 (reftex-format-bibitem, reftex-do-citation)
7716 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7717 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7718 (reftex-insert-bib-matches, reftex-format-citation)
7719 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7720 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7721 existing comments into docstrings.
7722
7723 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7724
7725 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7726
7727 2013-06-12 Andreas Schwab <schwab@suse.de>
7728
7729 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7730 for auto-save files.
7731
7732 2013-06-12 Glenn Morris <rgm@gnu.org>
7733
7734 * ido.el (ido-delete-ignored-files): Remove.
7735 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7736 Go back to calling ido-ignore-item-p directly.
7737
7738 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7739
7740 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7741
7742 * ido.el (ido-delete-ignored-files): New function,
7743 split from ido-make-file-list-1.
7744 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7745 (ido-make-file-list-1): Use ido-delete-ignored-files.
7746
7747 2013-06-12 Leo Liu <sdl.web@gmail.com>
7748
7749 * progmodes/octave.el (inferior-octave-startup)
7750 (inferior-octave-completion-table)
7751 (inferior-octave-track-window-width-change)
7752 (octave-eldoc-function-signatures, octave-help)
7753 (octave-find-definition): Use single quoted strings.
7754 (inferior-octave-startup-args): Change default value.
7755 (inferior-octave-startup): Do not hard code "-i" and
7756 "--no-line-editing".
7757 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7758 (inferior-octave-directory-tracker): Use it.
7759 (octave-goto-function-definition): Robustify.
7760 (octave-help): Support highlighting operators in 'See also'.
7761 (octave-find-definition): Find subfunctions only in Octave mode.
7762
7763 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7764
7765 * help-fns.el (help-fns--compiler-macro): If the handler function is
7766 named, then put a link to it.
7767 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7768 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7769 (cl-typep): Use it.
7770 (cl-eval-when): Simplify debug spec.
7771 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7772 compiler-macro function instead of setting `compiler-macro-file'.
7773
7774 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7775
7776 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7777 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7778
7779 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7780 Daniel Hackney <dan@haxney.org>
7781
7782 First part of Daniel Hackney's patch to package.el.
7783 * emacs-lisp/package.el: Use defstruct.
7784 (package-desc): New, main struct.
7785 (package--bi-desc, package--ac-desc): New structs, used to describe the
7786 format in external files.
7787 (package-desc-vers): Replace with package-desc-version accessor.
7788 (package-desc-doc): Replace with package-desc-summary accessor.
7789 (package-activate-1): Remove `package' arg since the pkg-vec now
7790 includes the name.
7791 (define-package): Use package-desc-from-define.
7792 (package-unpack-single): Change file-name arg to be a symbol.
7793 (package--add-to-archive-contents): Use package-desc-create and new
7794 accessor functions to package--ac-desc.
7795 (package-buffer-info, package-tar-file-info): Return a package-desc.
7796 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7797 arg to be a package-desc.
7798 (package-install-file): Adjust accordingly. Use \' to match EOS.
7799 (package--from-builtin): New function.
7800 (describe-package-1, package-menu--generate): Use it.
7801 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7802 (package-generate-autoloads): Idem and return the name of the file.
7803 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7804 Change pkg-info arg to be a package-desc.
7805 Use package-make-ac-desc.
7806 (package-upload-file): Use \' to match EOS.
7807 * finder.el (finder-compile-keywords): Use package-make-builtin.
7808
7809 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7810
7811 * vc/vc.el (vc-deduce-fileset): Change error message.
7812 (vc-read-backend): New function.
7813 (vc-next-action): Use it.
7814
7815 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7816
7817 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7818 (prolog-font-lock-keywords): Use regexp-opt instead.
7819 Don't manually highlight strings.
7820 (prolog-mode-variables): Simplify comment-start-skip.
7821 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7822
7823 * emacs-lisp/generic.el (generic--normalise-comments)
7824 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7825 (generic-mode-set-comments): Use them.
7826 (generic-bracket-support): Use setq-local.
7827 (generic-make-keywords-list): Declare obsolete.
7828
7829 2013-06-11 Glenn Morris <rgm@gnu.org>
7830
7831 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7832 Prettify after setting font-lock-defaults. (Bug#14574)
7833
7834 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7835
7836 * replace.el (query-replace, occur-read-regexp-defaults-function)
7837 (replace-search):
7838 * subr.el (declare-function, number-sequence, local-set-key)
7839 (substitute-key-definition, locate-user-emacs-file)
7840 (with-silent-modifications, split-string, eval-after-load):
7841 Fix typos, remove unneeded backslashes and reflow some docstrings.
7842
7843 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7844
7845 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7846 default for Elisp files.
7847
7848 2013-06-11 Glenn Morris <rgm@gnu.org>
7849
7850 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7851 although define-derived-mode was doing this anyway. (Bug#14583)
7852
7853 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7854
7855 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7856 Fix make-variable-buffer-local call to refer to the correct variable.
7857
7858 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7859
7860 * eshell/em-term.el (eshell-visual-commands)
7861 (eshell-visual-subcommands, eshell-visual-options):
7862 Add summary line to docstrings. Add cross-references.
7863
7864 2013-06-10 Glenn Morris <rgm@gnu.org>
7865
7866 * epa.el (epa-read-file-name): New function. (Bug#14510)
7867 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7868
7869 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7870
7871 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7872 output redirection to be ignored with visual commands.
7873
7874 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7875
7876 * eshell/em-term.el (eshell-visual-command-p): New function.
7877 (eshell-term-initialize): Move long lambda to separate function
7878 eshell-visual-command-p.
7879 * eshell/em-dirs.el (eshell-dirs-initialise):
7880 * eshell/em-script.el (eshell-script-initialize):
7881 Add missing #' to lambda.
7882
7883 2013-06-08 Leo Liu <sdl.web@gmail.com>
7884
7885 * progmodes/octave.el (octave-add-log-current-defun): New function.
7886 (octave-mode): Set add-log-current-defun-function.
7887 (octave-goto-function-definition): Do not move point if not found.
7888 (octave-find-definition): Enhance to try subfunctions first.
7889
7890 2013-06-08 Glenn Morris <rgm@gnu.org>
7891
7892 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7893 (byte-compile-backward-char, byte-compile-backward-word):
7894 Improve previous change, to handle non-explicit nil.
7895
7896 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7897
7898 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7899 (smie--opener/closer-at-point): New function.
7900 (smie--matching-block-data): Use it. Don't match from right after an
7901 opener or right before a closer. Obey smie-blink-matching-inners.
7902 Don't signal a mismatch for repeated inners like "switch..case..case".
7903
7904 2013-06-07 Leo Liu <sdl.web@gmail.com>
7905
7906 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7907 to t. (Bug#14303)
7908 (octave-function-header-regexp): Fix. (Bug#14570)
7909 (octave-help-mode-finish-hook, octave-help-mode-finish):
7910 Remove. Just use temp-buffer-show-hook.
7911
7912 * newcomment.el (comment-search-backward): Revert last change.
7913 (Bug#14434)
7914
7915 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7916
7917 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7918
7919 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7920 through xargs, to avoid failure due to MS-Windows limitations on
7921 command-line length.
7922
7923 2013-06-06 Glenn Morris <rgm@gnu.org>
7924
7925 * font-lock.el (lisp-font-lock-keywords-2):
7926 Treat user-error like error.
7927
7928 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7929 (byte-compile-backward-char, byte-compile-backward-word):
7930 Handle explicit nil arguments. (Bug#14565)
7931
7932 2013-06-05 Alan Mackenzie <acm@muc.de>
7933
7934 * isearch.el (isearch-allow-prefix): New user option.
7935 (isearch-other-meta-char): Don't exit isearch when a prefix
7936 argument is typed whilst `isearch-allow-prefix' is non-nil.
7937 (Bug#9706)
7938
7939 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7940
7941 * autorevert.el (auto-revert-notify-handler): Use memq.
7942 Hide assertion failure.
7943
7944 * skeleton.el: Use cl-lib.
7945 (skeleton-further-elements): Use defvar-local.
7946 (skeleton-insert): Use cl-progv.
7947
7948 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7949
7950 * progmodes/prog-mode.el (prog-prettify-symbols)
7951 (prog-prettify-install): Update docstrings.
7952
7953 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7954
7955 * simple.el: Move all the prog-mode code to prog-mode.el.
7956 * progmodes/prog-mode.el: New file.
7957 * loadup.el: Add prog-mode.el.
7958
7959 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7960
7961 * simple.el (prog-prettify-symbols): Add version.
7962 (prog-prettify-install): Add convenience function to prettify symbols.
7963
7964 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7965 (perl--augmented-font-lock-keywords-1)
7966 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7967 variables and use it.
7968
7969 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7970 (cfengine3-mode): Remove unneeded variable and use it.
7971
7972 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7973 (lisp--augmented-font-lock-keywords-1)
7974 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7975 Remove unneeded variables and use it.
7976
7977 2013-06-05 João Távora <joaotavora@gmail.com>
7978
7979 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7980 to point when opening the connection. (Bug#14380)
7981
7982 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7983
7984 * subr.el (load-history-regexp, load-history-filename-element)
7985 (eval-after-load, after-load-functions, do-after-load-evaluation)
7986 (eval-next-after-load, display-delayed-warnings)
7987 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7988 definition of save-match-data.
7989 (overriding-local-map): Remove accidental obsolescence declaration.
7990
7991 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7992
7993 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7994
7995 Generalize symbol prettify support to prog-mode and implement it
7996 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7997 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7998 (prog--prettify-font-lock-compose-symbol)
7999 (prog-prettify-font-lock-symbols-keywords): New variables and
8000 functions to support symbol prettification.
8001 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8002 (lisp--augmented-font-lock-keywords-1)
8003 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8004 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8005 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8006 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8007 Implement prettify of -> => :: strings.
8008 * progmodes/perl-mode.el (perl-prettify-symbols)
8009 (perl--font-lock-compose-symbol)
8010 (perl--font-lock-symbols-keywords): Move to prog-mode.
8011 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8012 (perl-font-lock-keywords-1)
8013 (perl-font-lock-keywords-2): Remove explicit prettify support.
8014 (perl--augmented-font-lock-keywords)
8015 (perl--augmented-font-lock-keywords-1)
8016 (perl--augmented-font-lock-keywords-2, perl-mode):
8017 Implement prettify support.
8018
8019 2013-06-05 Leo Liu <sdl.web@gmail.com>
8020
8021 Re-implement smie matching block highlight using
8022 show-paren-data-function. (Bug#14395)
8023 * emacs-lisp/smie.el (smie-matching-block-highlight)
8024 (smie--highlight-matching-block-overlay)
8025 (smie--highlight-matching-block-lastpos)
8026 (smie-highlight-matching-block)
8027 (smie-highlight-matching-block-mode): Remove.
8028 (smie--matching-block-data-cache): New variable.
8029 (smie--matching-block-data): New function.
8030 (smie-setup): Use smie--matching-block-data for
8031 show-paren-data-function.
8032
8033 * progmodes/octave.el (octave-mode-menu): Fix.
8034 (octave-find-definition): Skip garbage lines.
8035
8036 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8037
8038 Fix compilation error with simultaneous dynamic+lexical scoping.
8039 Add warning when a defvar appears after the first let-binding.
8040 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8041 (byte-compile-close-variables): Initialize it.
8042 (byte-compile--declare-var): New function.
8043 (byte-compile-file-form-defvar)
8044 (byte-compile-file-form-define-abbrev-table)
8045 (byte-compile-file-form-custom-declare-variable): Use it.
8046 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8047 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8048 (byte-compile-bind): Handle dynamic bindings that shadow
8049 lexical bindings.
8050 (byte-compile-unbind): Make arg non-optional.
8051 (byte-compile-let): Simplify.
8052 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8053 (cconv--analyse-function, cconv-analyse-form): Populate it.
8054 Protect byte-compile-bound-variables to limit the scope of defvars.
8055 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8056 Remove unneeded rule for `declare'.
8057
8058 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8059 so as to avoid depending on cl-adjoin at run-time.
8060 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8061
8062 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8063 (macroexp--warn-and-return): Use it.
8064
8065 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8066
8067 * lisp/subr.el: Convert to lexical binding.
8068 (overriding-local-map): Make obsolete.
8069 (add-to-list): Doc fix. Add compiler macro.
8070 (read-key): Swap values of local maps.
8071
8072 2013-06-05 Leo Liu <sdl.web@gmail.com>
8073
8074 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8075
8076 2013-06-04 Leo Liu <sdl.web@gmail.com>
8077
8078 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8079 (compilation-auto-jump): Suppress the "Mark set" message to give
8080 way to exit message.
8081
8082 2013-06-04 Alan Mackenzie <acm@muc.de>
8083
8084 Remove faulty optimisation from indentation calculation.
8085 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8086 search limit based on 2000 characters back from indent-point.
8087
8088 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8089
8090 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8091
8092 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8093
8094 * emacs-lisp/lisp.el: Use lexical-binding.
8095 (lisp--local-variables-1, lisp--local-variables): New functions.
8096 (lisp--local-variables-completion-table): New var.
8097 (lisp-completion-at-point): Use it complete let-bound vars.
8098
8099 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8100 eagerly (bug#14422).
8101
8102 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8103
8104 * autorevert.el (auto-revert-notify-enabled)
8105 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8106 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8107 (auto-revert-notify-handler): Handle also gfilenotify.
8108
8109 * subr.el (file-notify-handle-event): New defun. Replacing ...
8110 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8111 Remove.
8112
8113 2013-06-03 Juri Linkov <juri@jurta.org>
8114
8115 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8116 `M-s h .'. (Bug#14427)
8117
8118 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8119 command `hi-lock-face-symbol-at-point'.
8120 (hi-lock-face-symbol-at-point): New command.
8121 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8122 (hi-lock-menu): Add `highlight-symbol-at-point'.
8123 (hi-lock-mode): Doc fix.
8124
8125 * isearch.el (isearch-forward-symbol-at-point): New command.
8126 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8127 (isearch-highlight-regexp): Add a regexp which matches
8128 words/symbols for word/symbol mode.
8129
8130 * subr.el (find-tag-default-bounds): New function with the body
8131 mostly moved from `find-tag-default'.
8132 (find-tag-default): Move most code to `find-tag-default-bounds',
8133 call it and apply `buffer-substring-no-properties' afterwards.
8134
8135 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8136
8137 * eshell/em-term.el (eshell-term-initialize):
8138 Use `cl-intersection' rather than `intersection'.
8139
8140 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8141
8142 * vc/log-view.el: Doc fix.
8143 (log-view-mode-map): Copy keymap from `special-mode-map'.
8144
8145 2013-06-02 Eric Ludlam <zappo@gnu.org>
8146
8147 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8148 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8149 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8150 (eieio-unbound, eieio-default-superclass)
8151 (eieio--define-field-accessors, method-static, method-before)
8152 (method-primary, method-after, method-num-lists)
8153 (method-generic-before, method-generic-primary)
8154 (method-generic-after, method-num-slots)
8155 (eieio-specialized-key-to-generic-key)
8156 (eieio--check-type, class-v, class-p)
8157 (eieio-class-name, define-obsolete-function-alias)
8158 (eieio-class-parents-fast, eieio-class-children-fast)
8159 (same-class-fast-p, class-constructor, generic-p)
8160 (generic-primary-only-p, generic-primary-only-one-p)
8161 (class-option-assoc, class-option, eieio-object-p)
8162 (class-abstract-p, class-method-invocation-order)
8163 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8164 (eieio-class-un-autoload, eieio-defclass)
8165 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8166 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8167 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8168 (eieio-defgeneric-reset-generic-form)
8169 (eieio-defgeneric-form-primary-only)
8170 (eieio-defgeneric-reset-generic-form-primary-only)
8171 (eieio-defgeneric-form-primary-only-one)
8172 (eieio-defgeneric-reset-generic-form-primary-only-one)
8173 (eieio-unbind-method-implementations)
8174 (eieio--defmethod, eieio--typep)
8175 (eieio-perform-slot-validation, eieio-validate-slot-value)
8176 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8177 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8178 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8179 (eieio-slot-name-index, eieio-class-slot-name-index)
8180 (eieio-set-defaults, eieio-initarg-to-attribute)
8181 (eieio-attribute-to-initarg, eieio-c3-candidate)
8182 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8183 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8184 (eieio-class-precedence-list, eieio-generic-call-methodname)
8185 (eieio-generic-call-arglst, eieio-generic-call-key)
8186 (eieio-generic-call-next-method-list)
8187 (eieio-pre-method-execution-functions, eieio-generic-call)
8188 (eieio-generic-call-primary-only, eieiomt-method-list)
8189 (eieiomt-optimizing-obarray, eieiomt-install)
8190 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8191 (eieio-generic-form, eieio-defmethod, make-obsolete)
8192 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8193 (defclass): Remove `eval-and-compile' from macro.
8194 (call-next-method, shared-initialize): Instead of using
8195 `scoped-class' variable, use new eieio--scoped-class, and
8196 eieio--with-scoped-class.
8197 (initialize-instance): Rename local variable 'scoped-class' to
8198 'this-class' to remove ambiguitity from old global.
8199
8200 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8201 eieio.el.
8202 (eieio--scoped-class-stack): New variable.
8203 (eieio--scoped-class): New fcn.
8204 (eieio--with-scoped-class): New scoping macro.
8205 (eieio-defclass): Use pushnew instead of add-to-list.
8206 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8207 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8208 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8209 `scoped-class' variable, use new eieio--scoped-class, and
8210 eieio--with-scoped-class.
8211
8212 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8213
8214 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8215
8216 * eshell/esh-ext.el (eshell-external-command): Pass args to
8217 `eshell-find-interpreter'.
8218 (eshell-find-interpreter): Add new second parameter ARGS.
8219
8220 * eshell/em-script.el (eshell-script-initialize): Add second arg
8221 to the function added as MATCH to `eshell-interpreter-alist'.
8222
8223 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8224 the function added as MATCH to `eshell-interpreter-alist'.
8225
8226 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8227 (eshell-visual-options): New defcustom.
8228 (eshell-escape-control-x): Adapt docstring.
8229 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8230 `eshell-visual-options' in addition to `eshell-visual-commands'.
8231 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8232
8233 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8234
8235 * progmodes/python.el (python-indent-block-enders): Add break,
8236 continue and raise keywords.
8237
8238 2013-06-01 Glenn Morris <rgm@gnu.org>
8239
8240 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8241
8242 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8243 * progmodes/cc-cmds.el (delete-forward-p):
8244 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8245 * progmodes/cc-engine.el (buffer-syntactic-context):
8246 * progmodes/cc-fonts.el (face-property-instance):
8247 * progmodes/cc-mode.el (set-keymap-parents):
8248 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8249 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8250 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8251 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8252 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8253
8254 * progmodes/cc-vars.el (other): Emacs has this widget since
8255 at least 21.1, so don't (re)define it.
8256
8257 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8258 Replace the obsolete alias pcomplete-arg-quote-list.
8259
8260 2013-06-01 Leo Liu <sdl.web@gmail.com>
8261
8262 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8263 punctuation syntax.
8264 (inferior-octave-minimal-columns)
8265 (inferior-octave-last-column-width): New variables.
8266 (inferior-octave-track-window-width-change): New function.
8267 (inferior-octave-mode): Adjust column width so that Octave output,
8268 for example from 'ls', can fit into the window nicely.
8269
8270 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8271
8272 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8273 Highlight expansions inside regexp literals.
8274
8275 2013-05-31 Glenn Morris <rgm@gnu.org>
8276
8277 * obsolete/sym-comp.el (symbol-complete):
8278 Replace obsolete completion-annotate-function.
8279
8280 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8281
8282 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8283
8284 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8285 New function, checks if point is inside a literal that allows
8286 expression expansion.
8287 (ruby-syntax-propertize-expansion): Use it.
8288 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8289 around the body.
8290
8291 2013-05-30 Juri Linkov <juri@jurta.org>
8292
8293 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8294 to "\M-si".
8295 (isearch-invisible): New variable.
8296 (isearch-forward): Doc fix.
8297 (isearch-mode): Set `isearch-invisible'
8298 to the value of `search-invisible'.
8299 (isearch-toggle-case-fold): Doc fix.
8300 (isearch-toggle-invisible): New command.
8301 (isearch-query-replace): Let-bind `search-invisible'
8302 to the value of `isearch-invisible'.
8303 (isearch-search): Use `isearch-invisible' instead of
8304 `search-invisible'. Let-bind `search-invisible'
8305 to the value of `isearch-invisible'. (Bug#11378)
8306
8307 2013-05-30 Juri Linkov <juri@jurta.org>
8308
8309 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8310 call when `query-flag' is nil and `search-invisible' is non-nil.
8311 (Bug#11746)
8312
8313 2013-05-30 Glenn Morris <rgm@gnu.org>
8314
8315 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8316
8317 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8318 (cc-require): Suppress spurious "noruntime" warnings.
8319 (cc-require-when-compile): Use fboundp, for sake of compiler.
8320
8321 * progmodes/cc-mode.el: Move load of cc-vars before that of
8322 cc-langs (which in turn loads cc-vars), to quieten compiler.
8323
8324 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8325
8326 * paren.el: Simplify the code.
8327 (show-paren-mode): Always start the timer.
8328 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8329 (show-paren--overlay, show-paren--overlay-1): Rename from
8330 show-paren-overlay and show-paren-overlay-1, and initialize to an
8331 overlay rather than to nil.
8332 (show-paren-function): Misc cleanup and simplifications.
8333
8334 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8335
8336 * paren.el (show-paren-data-function): New hook.
8337 (show-paren--default): New function, extracted from show-paren-function.
8338 (show-paren-function): Use show-paren-data-function.
8339
8340 2013-05-30 Glenn Morris <rgm@gnu.org>
8341
8342 * ielm.el (ielm-map, ielm-complete-symbol):
8343 Use completion-at-point rather than obsolete functions.
8344 (inferior-emacs-lisp-mode): Doc fix.
8345 Set completion-at-point-functions, rather than
8346 comint-dynamic-complete-functions.
8347
8348 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8349 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8350 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8351
8352 * image.el (image-animated-p): Tweak definition.
8353
8354 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8355 (rlogin-process-connection-type): Tweak default. Add set-after.
8356 (rlogin-host): Doc fix.
8357 (rlogin): Tweak prompt.
8358 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8359
8360 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8361 * progmodes/tcl.el (inferior-tcl-mode-map):
8362 Use completion-at-point rather than obsolete alias.
8363
8364 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8365
8366 * minibuffer.el (read-file-name-completion-ignore-case):
8367 Move before completion--in-region, for eager macro expansion.
8368
8369 2013-05-29 Juri Linkov <juri@jurta.org>
8370
8371 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8372 for total count of matching lines. Add `global-matches' for total
8373 count of matches. Rename `matches' to `lines' for count of
8374 matching lines. Add `matches' for count of matches.
8375 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8376 to `prev-line' for line number of prev match endpt.
8377 Increment `matches' for every match. Print the number of
8378 matching lines in the header.
8379 (occur-context-lines): Rename `lines' to `curr-line'.
8380 Rename `prev-lines' to `prev-line'. (Bug#14017)
8381
8382 2013-05-29 Juri Linkov <juri@jurta.org>
8383
8384 * replace.el (perform-replace): Add `skip-read-only-count',
8385 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8386 Increment them for corresponding conditions and report the number
8387 of skipped occurrences in the final message. (Bug#11746)
8388 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8389 (replace-string, replace-regexp): Doc fix.
8390
8391 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8392
8393 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8394
8395 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8396 prog-mode-map (bug#14504).
8397
8398 2013-05-29 Leo Liu <sdl.web@gmail.com>
8399
8400 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8401 (octave-help): Small simplification.
8402
8403 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8404 off the highlight first.
8405
8406 2013-05-29 Glenn Morris <rgm@gnu.org>
8407
8408 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8409 Handle idlwave-last-system-routine-info-cons-cell being nil.
8410
8411 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8412 (idlwave-write-paths): Simplify via with-temp-buffer.
8413
8414 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8415 * emulation/cua-rect.el: Also load cua-base at run time.
8416
8417 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8418 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8419 (cperl-imenu-on-info): Require imenu.
8420
8421 2013-05-28 Alan Mackenzie <acm@muc.de>
8422
8423 Handle "capitalised keywords" correctly.
8424 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8425
8426 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8427
8428 * eshell/em-unix.el: Add -r option to cp.
8429
8430 2013-05-28 Glenn Morris <rgm@gnu.org>
8431
8432 * vc/vc-arch.el (vc-exec-after): Declare.
8433 (vc-switches): Autoload.
8434 * vc/vc-bzr.el: No need to require vc when compiling.
8435 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8436 (vc-resynch-buffer, vc-dir-refresh): Declare.
8437 (vc-setup-buffer, vc-switches): Autoload.
8438 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8439 (vc-resynch-buffer): Declare.
8440 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8441 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8442 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8443 (grep-read-regexp, grep-read-files, grep-expand-template)
8444 (vc-dir-refresh): Declare.
8445 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8446 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8447 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8448 * vc/vc-mtn.el (vc-exec-after): Declare.
8449 (vc-switches): Autoload.
8450 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8451 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8452 (vc-file-tree-walk): Declare.
8453 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8454 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8455 (vc-tag-precondition, vc-rename-master): Autoload.
8456 * vc/vc-svn.el (vc-exec-after): Declare.
8457 (vc-switches, vc-setup-buffer): Autoload.
8458 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8459 Autoload.
8460 (vc-resynch-buffer): Declare.
8461
8462 * obsolete/fast-lock.el (byte-compile-warnings):
8463 Don't warn about obsolete features in this obsolete file.
8464
8465 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8466 Move definition before use.
8467
8468 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8469 (dun-unix-verbs): Remove dun-zippy.
8470 (dun-zippy): Remove function.
8471
8472 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8473
8474 2013-05-27 Juri Linkov <juri@jurta.org>
8475
8476 * replace.el (replace-search): New function with code moved out
8477 from `perform-replace'.
8478 (replace-highlight, replace-dehighlight): Move function definitions
8479 up closer to `replace-search'. (Bug#11746)
8480
8481 2013-05-27 Juri Linkov <juri@jurta.org>
8482
8483 * replace.el (perform-replace): Ignore invisible matches.
8484 In addition to checking `query-replace-skip-read-only', also
8485 filter out matches by calling `run-hook-with-args-until-failure'
8486 on `isearch-filter-predicates', and also check `search-invisible'
8487 for t or call `isearch-range-invisible'.
8488 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8489
8490 2013-05-27 Juri Linkov <juri@jurta.org>
8491
8492 * isearch.el (isearch-filter-predicates): Rename from
8493 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8494 (isearch-message-prefix): Display text from the property
8495 `isearch-message-prefix' of the currently active filters.
8496 (isearch-search): Don't compare `isearch-filter-predicate' with
8497 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8498 on `isearch-filter-predicates'. Also check `search-invisible' for t
8499 or call `isearch-range-invisible'.
8500 (isearch-filter-visible): Make obsolete.
8501 (isearch-lazy-highlight-search):
8502 Call `run-hook-with-args-until-failure' on
8503 `isearch-filter-predicates' and use `isearch-range-invisible'.
8504
8505 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8506 `isearch-filter-predicates' instead of `funcall'ing
8507 `isearch-filter-predicate'.
8508 (Info-mode): Set `Info-isearch-filter' to
8509 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8510
8511 * dired-aux.el (dired-isearch-filter-predicate-orig):
8512 Remove variable.
8513 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8514 (dired-isearch-filenames-end): Add and remove
8515 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8516 instead of changing the value of `isearch-filter-predicate'.
8517 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8518 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8519 Put property `isearch-message-prefix' to "filename " on
8520 `dired-isearch-filter-filenames'.
8521
8522 * wdired.el (wdired-change-to-wdired-mode):
8523 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8524 locally instead of changing `isearch-filter-predicate'.
8525 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8526
8527 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8528
8529 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8530 return the commit hash (Bug#14459). Also set the
8531 `vc-git-detached' property.
8532 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8533 (vc-git-mode-line-string): Use the same help-echo format whether
8534 in detached mode or not, because we know the actual revision now.
8535 When in detached mode, shorten the revision to 7 chars.
8536
8537 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8538
8539 * emacs-lisp/easy-mmode.el (define-minor-mode):
8540 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8541 mode hook and provide a docstring.
8542
8543 2013-05-27 Alan Mackenzie <acm@muc.de>
8544
8545 Remove spurious syntax-table text properties inserted by C-y.
8546 * progmodes/cc-mode.el (c-after-change): Also clear hard
8547 syntax-table property with value nil.
8548
8549 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8550
8551 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8552 when reading the events; the buffer layout shall not be changed.
8553
8554 2013-05-27 Leo Liu <sdl.web@gmail.com>
8555
8556 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8557 New variable.
8558 (inferior-octave-directory-tracker): Automatically re-sync
8559 default-directory.
8560 (octave-help): Improve handling of 'See also'.
8561
8562 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8563
8564 * doc-view.el: Minor naming convention tweaks.
8565 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8566
8567 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8568 even if there's no `display' property yet (bug#14435).
8569
8570 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8571
8572 * subr.el (unmsys--file-name): Rename from reveal-filename.
8573
8574 * Makefile.in (custom-deps, finder-data, autoloads)
8575 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8576 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8577 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8578
8579 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8580
8581 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8582 error-completion on the first 2 args of condition-case (bug#14446).
8583 Don't burp at EOB.
8584
8585 2013-05-25 Leo Liu <sdl.web@gmail.com>
8586
8587 * comint.el (comint-previous-matching-input): Do not flood the
8588 *Messages* buffer with trivial messages.
8589
8590 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8591
8592 * progmodes/flymake.el (flymake-nop): Don't return a string.
8593 (flymake-set-at): Fix typo.
8594
8595 * simple.el (read--expression): New function, extracted from
8596 eval-expression. Set completion-at-point-functions (bug#14465).
8597 (eval-expression, eval-minibuffer): Use it.
8598
8599 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8600
8601 * progmodes/flymake.el (flymake-save-buffer-in-file)
8602 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8603 (flymake-selected-frame, flymake-log, flymake-ins-after)
8604 (flymake-set-at, flymake-get-buildfile-from-cache)
8605 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8606 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8607 Refine the doc string.
8608 (flymake-get-file-name-mode-and-masks): Reformat.
8609 (flymake-get-real-file-name-function): Fix a minor bug.
8610
8611 2013-05-24 Juri Linkov <juri@jurta.org>
8612
8613 * progmodes/grep.el (grep-mode-font-lock-keywords):
8614 Support =linenumber= format used by git-grep for lines with
8615 function names. (Bug#13549)
8616
8617 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8618
8619 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8620 0 after a semi-colon; it works better for smie-auto-fill.
8621 (octave--indent-new-comment-line): New function.
8622 (octave-indent-new-comment-line): Use it (indirectly).
8623 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8624 modify comment-line-break-function.
8625
8626 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8627 (smie-setup): Use add-function to set it.
8628
8629 2013-05-24 Sam Steingold <sds@gnu.org>
8630
8631 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8632 argument (before the `interactive' argument).
8633
8634 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8635
8636 * image-mode.el (image-mode-winprops): Add winprops to
8637 image-mode-winprops-alist before running
8638 image-mode-new-window-functions.
8639 * doc-view.el (doc-view-new-window-function): Don't delay
8640 doc-view-goto-page via timers (bug#14435).
8641
8642 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8643
8644 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8645 (doc-view-desktop-save-buffer): New function.
8646 (doc-view-restore-desktop-buffer): New function.
8647 (desktop-buffer-mode-handlers):
8648 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8649 handler.
8650 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8651 `desktop-save-buffer' function.
8652
8653 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8654
8655 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8656 (tramp-gvfs-file-name-handler): Raise a user error when
8657 `tramp-gvfs-enabled' is nil.
8658 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8659 Do not raise a user error when loading package. (Bug#14447)
8660
8661 * net/xesam.el: Move to obsolete/.
8662
8663 2013-05-24 Glenn Morris <rgm@gnu.org>
8664
8665 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8666
8667 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8668
8669 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8670 (Info-find-node, Man-getpage-in-background): Declare.
8671
8672 * mail/unrmail.el (unrmail):
8673 Replace obsolete detect-coding-with-priority.
8674
8675 * net/socks.el (socks-split-string): Use this rather than split-string.
8676 (socks-nslookup-host): Update for above change.
8677 (dynamic-choice, s5-dynamic-choice-match)
8678 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8679 Comment out unused code.
8680
8681 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8682 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8683 (gud-tooltip-echo-area): Make obsolete.
8684 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8685
8686 * progmodes/js.el (js--optimize-arglist): Declare.
8687
8688 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8689
8690 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8691 (ediff-window-C): Declare.
8692
8693 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8694 Tweak requires to silence compiler.
8695
8696 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8697 (he-search-string, he-tried-table, he-expand-list)
8698 (he-init-string, he-string-member, he-substitute-string)
8699 (he-reset-string): Declare.
8700
8701 * obsolete/options.el (list-options): Use custom-variable-p,
8702 rather than obsolete alias.
8703
8704 2013-05-23 Sam Steingold <sds@gnu.org>
8705
8706 * simple.el (shell-command-on-region): Pass the `replace' argument
8707 down to `call-process-region' to comply with the doc as reported on
8708 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8709
8710 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8711
8712 * emacs-lisp/smie.el (smie-indent-forward-token)
8713 (smie-indent-backward-token): Handle string tokens (bug#14381).
8714
8715 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8716
8717 * ielm.el (ielm-menu): New menu.
8718 (inferior-emacs-lisp-mode): Set comment-start.
8719
8720 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8721
8722 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8723 Fix deactivate action.
8724
8725 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8726 Add cleveref macros.
8727
8728 * lisp/textmodes/reftex-parse.el
8729 (reftex-locate-bibliography-files): Accept options for
8730 bibliography commands.
8731 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8732 Add addbibresource. Basic Biblatex support.
8733
8734 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8735
8736 * net/tramp-gvfs.el (top):
8737 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8738 when loading package. (Bug#14447)
8739
8740 2013-05-23 Glenn Morris <rgm@gnu.org>
8741
8742 * progmodes/js.el: No need to load comint when compiling.
8743 (ring-insert, comint-send-string, comint-send-input)
8744 (comint-last-input-end, ido-chop): Declare.
8745
8746 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8747 * vc/ediff-mult.el: Adjust requires.
8748 (ediff-directories-internal, ediff-directory-revisions-internal)
8749 (ediff-patch-file-internal): Declare.
8750 * vc/ediff-ptch.el: Adjust requires.
8751 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8752 (ediff-find-file): Autoload.
8753 * vc/ediff-util.el: No need to load ediff when compiling.
8754 (ediff-regions-internal): Declare.
8755 * vc/ediff-wind.el: Adjust requires.
8756 (ediff-compute-toolbar-width): Define when compiling.
8757 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8758 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8759 (dired-get-filename, dired-get-marked-files)
8760 (ediff-last-dir-patch, ediff-patch-default-directory)
8761 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8762 (ediff-patch-buffer-internal): Declare.
8763
8764 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8765 (ispell-process, ispell-buffer-local-words, lm-summary)
8766 (lm-section-start, lm-section-end): Declare.
8767 (checkdoc-ispell-init): Simplify.
8768
8769 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8770 (he-string-member, he-reset-string, he-substitute-string): Declare.
8771
8772 * eshell/em-ls.el: Adjust requires.
8773 (eshell-glob-regexp): Declare.
8774 * eshell/em-tramp.el: Adjust requires.
8775 (eshell-parse-command): Autoload.
8776 * eshell/em-xtra.el: Adjust requires.
8777 (eshell-parse-command): Autoload.
8778 * eshell/esh-ext.el: Adjust requires.
8779 (eshell-parse-command, eshell-close-handles): Autoload.
8780 * eshell/esh-io.el: Adjust requires.
8781 (eshell-output-filter): Autoload.
8782 * eshell/esh-util.el: No need to load tramp when compiling.
8783 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8784 Declare.
8785 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8786 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8787 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8788 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8789 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8790 * eshell/esh-opt.el, eshell/esh-proc.el:
8791 * eshell/esh-var.el: Adjust requires.
8792 * eshell/eshell.el: Do not require esh-util twice.
8793 (eshell-add-input-to-history): Declare.
8794 (eshell-command): Check history module is active before using it.
8795
8796 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8797
8798 2013-05-22 Leo Liu <sdl.web@gmail.com>
8799
8800 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8801
8802 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8803
8804 * autorevert.el (auto-revert-notify-add-watch)
8805 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8806 it indicates changes in file modification time.
8807
8808 2013-05-22 Glenn Morris <rgm@gnu.org>
8809
8810 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8811 Always delete the autoloaded function from the noruntime and
8812 unresolved functions lists.
8813
8814 * allout.el: No need to load epa, epg, overlay when compiling.
8815 (epg-context-set-passphrase-callback, epg-list-keys)
8816 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8817 (epg-key-user-id-list): Declare.
8818
8819 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8820 (viper-set-parsing-style-toggling-macro)
8821 (viper-set-emacs-state-searchstyle-macros):
8822 Use called-interactively-p on Emacs.
8823 (viper-looking-back): Make it an obsolete alias. Update callers.
8824 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8825 Use looking-back rather than viper-looking-back.
8826 (viper-tmp-insert-at-eob, viper-enlarge-region)
8827 (viper-read-string-with-history, viper-register-to-point)
8828 (viper-append-to-register, viper-change-state-to-vi)
8829 (viper-backward-char-carefully, viper-forward-char-carefully)
8830 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8831 (viper-change-state-to-emacs): Declare.
8832 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8833 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8834 * emulation/viper-mous.el: Do not load viper-cmd.
8835 (viper-backward-char-carefully, viper-forward-char-carefully)
8836 (viper-forward-word, viper-adjust-window): Declare.
8837
8838 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8839
8840 * progmodes/idlw-help.el (idlwave-help-fontify):
8841 Use called-interactively-p.
8842
8843 * term/w32console.el (w32-get-console-codepage)
8844 (w32-get-console-output-codepage): Declare.
8845
8846 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8847 Remove unnecessary declarations.
8848 (dframe-message): Doc fix.
8849
8850 * info.el (dframe-select-attached-frame, dframe-current-frame):
8851 Declare.
8852
8853 * speedbar.el (speedbar-message): Make it an obsolete alias.
8854 Update all callers.
8855 (speedbar-with-attached-buffer)
8856 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8857 (speedbar-with-writable): Use backquote.
8858 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8859 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8860 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8861 rather than speedbar- aliases.
8862 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8863 (speedbar-make-specialized-keymap, speedbar-insert-button)
8864 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8865 (speedbar-do-function-pointer): Declare.
8866 (rmail-speedbar-button, rmail-speedbar-find-file)
8867 (rmail-speedbar-move-message):
8868 Use dframe-with-attached-buffer rather than speedbar- alias.
8869 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8870 (dframe-message, speedbar-make-specialized-keymap)
8871 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8872 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8873 (speedbar-insert-button, dframe-select-attached-frame)
8874 (dframe-maybee-jump-to-attached-frame)
8875 (speedbar-change-initial-expansion-list)
8876 (speedbar-previously-used-expansion-list-name): Declare.
8877 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8878 Use dframe-message, dframe-with-attached-buffer rather than
8879 speedbar- aliases.
8880 (gud-sentinel): Silence compiler.
8881 * progmodes/vhdl-mode.el (speedbar-refresh)
8882 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8883 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8884 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8885 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8886 (speedbar-file-lists, speedbar-make-tag-line)
8887 (speedbar-line-directory, speedbar-goto-this-file)
8888 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8889 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8890 (speedbar-make-button, speedbar-reset-scanners)
8891 (speedbar-files-item-info, speedbar-line-text)
8892 (speedbar-find-file-in-frame, speedbar-set-timer)
8893 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8894 (speedbar-with-writable): Do not (re)define it.
8895 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8896 rather than speedbar- alias.
8897
8898 2013-05-21 Leo Liu <sdl.web@gmail.com>
8899
8900 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8901 menu items.
8902 (octave-mode): Tweak fill-nobreak-predicate.
8903 (inferior-octave-startup): Check process to avoid infinite loop.
8904 (inferior-octave): Pop to buffer first to show abornmal process
8905 exit information.
8906
8907 2013-05-21 Glenn Morris <rgm@gnu.org>
8908
8909 * printing.el (pr-menu-bar): Define when compiling.
8910
8911 2013-05-21 Leo Liu <sdl.web@gmail.com>
8912
8913 * progmodes/octave.el (octave-auto-fill): Remove.
8914 (octave-indent-new-comment-line): Improve.
8915 (octave-mode): Use auto fill mode through
8916 comment-line-break-function and fill-nobreak-predicate.
8917 (octave-goto-function-definition): Support DEFUN_DLD.
8918 (octave-beginning-of-defun): Small tweak.
8919 (octave-help): Show parent directory.
8920
8921 2013-05-21 Glenn Morris <rgm@gnu.org>
8922
8923 * files.el (dired-unmark):
8924 * progmodes/gud.el (gdb-input): Update declarations.
8925
8926 * calculator.el (electric, ehelp): No need to load when compiling.
8927 (Electric-command-loop, electric-describe-mode): Declare.
8928
8929 * doc-view.el (doc-view-current-converter-processes): Move before use.
8930
8931 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8932 Move MODE-set-explicitly definition before use.
8933
8934 * international/mule-diag.el (mule-diag):
8935 Don't use obsolete window-system-version.
8936
8937 * mail/feedmail.el (smtpmail): No need to load when compiling.
8938 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8939
8940 * mail/mail-utils.el (rfc822): No need to load when compiling.
8941 (rfc822-addresses): Autoload it.
8942 (mail-strip-quoted-names): Trivial simplification.
8943
8944 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8945 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8946
8947 * net/snmp-mode.el (tempo): Don't duplicate requires.
8948
8949 * progmodes/prolog.el (info): No need to load when compiling.
8950 (comint): Require before shell requires it.
8951 (Info-goto-node): Autoload it.
8952 (Info-follow-nearest-node): Declare.
8953 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8954
8955 * textmodes/artist.el (picture-mode-exit): Declare.
8956
8957 * textmodes/reftex-parse.el (reftex-parse-from-file):
8958 Trivial rewrite so the compiler can parse it better.
8959
8960 2013-05-20 Leo Liu <sdl.web@gmail.com>
8961
8962 * progmodes/octave.el (octave-help-mode-map)
8963 (octave-help-mode-finish-hook): New variables.
8964 (octave-help-mode, octave-help-mode-finish): New functions.
8965 (octave-help): Use octave-help-mode.
8966
8967 2013-05-20 Glenn Morris <rgm@gnu.org>
8968
8969 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8970
8971 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8972
8973 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8974 start at point, so that expansion starting right after opening
8975 slash in a regexp is recognized.
8976 (ruby-syntax-before-regexp-re): New defvar, extracted from
8977 ruby-syntax-propertize-function. Since the value of this regexp
8978 is looked up at runtime now, we should be able to turn
8979 `ruby-syntax-methods-before-regexp' into a defcustom later.
8980 (ruby-syntax-propertize-function): Split regexp matching into two
8981 parts, for opening and closing slashes. That allows us to skip
8982 over string interpolations and support multiline regexps.
8983 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8984 for them, which calls `ruby-syntax-propertize-expansion'.
8985 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8986 call to `ruby-syntax-propertize-function'.
8987 (ruby-syntax-propertize-expansion): Extracted from
8988 `ruby-syntax-propertize-expansions'. Handles one expansion.
8989 (ruby-syntax-propertize-percent-literal): Leave point right after
8990 the percent symbol, so that the expression expansion rule can
8991 propertize the contents.
8992 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8993 heredoc openers.
8994 (ruby-syntax-propertize-expansions): Remove.
8995
8996 2013-05-18 Juri Linkov <juri@jurta.org>
8997
8998 * man.el (Man-default-man-entry): Remove `-' from the end
8999 of the default value. (Bug#14400)
9000
9001 2013-05-18 Glenn Morris <rgm@gnu.org>
9002
9003 * comint.el (comint-password-prompt-regexp):
9004 Allow "password for XXX" where XXX contains colons (eg https://...).
9005
9006 2013-05-18 Leo Liu <sdl.web@gmail.com>
9007
9008 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9009 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9010 (octave-source-directories): Don't check process.
9011 (octave-source-directories, octave-find-definition): Doc fix.
9012
9013 2013-05-18 Glenn Morris <rgm@gnu.org>
9014
9015 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9016 Remove backspace/delete bindings. (Bug#14392)
9017
9018 * cus-dep.el (custom-make-dependencies): Sort the output.
9019 (custom-versions-load-alist): Convert comment to doc.
9020
9021 2013-05-17 Leo Liu <sdl.web@gmail.com>
9022
9023 * newcomment.el (comment-search-backward): Stricter in finding
9024 comment start. (Bug#14303)
9025
9026 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9027 (octave-comment-start-skip): Properly anchored.
9028
9029 2013-05-17 Leo Liu <sdl.web@gmail.com>
9030
9031 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9032 Clean up when turned off. (Bug#14395)
9033 (smie--highlight-matching-block-overlay): No longer buffer-local.
9034 (smie-highlight-matching-block): Adjust.
9035
9036 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9037
9038 Doc string fix for "nanoseconds" (Bug#14406).
9039 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9040 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9041
9042 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9043
9044 * calc/calc-units.el (math-extract-units): Preserve powers
9045 of units.
9046
9047 2013-05-17 Leo Liu <sdl.web@gmail.com>
9048
9049 * subr.el (delete-consecutive-dups): New function.
9050 * ido.el (ido-set-matches-1): Use it.
9051 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9052 * ido.el (ido-remove-consecutive-dups): Remove.
9053
9054 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9055
9056 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9057 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9058 regexp-opt's `words'.
9059
9060 2013-05-16 Leo Liu <sdl.web@gmail.com>
9061
9062 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9063 (smie--highlight-matching-block-overlay)
9064 (smie--highlight-matching-block-lastpos)
9065 (smie--highlight-matching-block-timer): New variables.
9066 (smie-highlight-matching-block): New function.
9067 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9068 (smie-setup): Conditionally enable smie-blink-matching-open.
9069
9070 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9071
9072 Sync with upstream verilog-mode r840.
9073 * progmodes/verilog-mode.el (verilog-mode-version)
9074 (verilog-mode-release-date): Update.
9075 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9076 (verilog-sig-tieoff): Fix string error on
9077 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9078 (verilog-read-decls): Fix parameters confusing
9079 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9080
9081 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9082
9083 * subr.el (reveal-filename): New function.
9084
9085 * loadup.el: Compute Emacs executable versions on MS-Windows,
9086 where executables have the .exe extension. Add a hard link
9087 emacs-XX.YY.ZZ.exe on MS-Windows.
9088
9089 * Makefile.in (XARGS_LIMIT): New variable.
9090 (custom-deps, finder-data, autoloads)
9091 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9092 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9093 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9094 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9095
9096 2013-05-16 Leo Liu <sdl.web@gmail.com>
9097
9098 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9099 (octave-mode-menu, octave-mode-map): Remove its uses.
9100
9101 2013-05-16 Reto Zimmermann <reto@gnu.org>
9102
9103 Sync with upstream vhdl mode v3.34.2.
9104 * progmodes/vhdl-mode.el: Use `push' throughout.
9105 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9106 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9107 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9108 (vhdl-actual-generic-name): New option to derive actual generic name.
9109 (vhdl-port-paste-signals): Replace formal by actual generics.
9110 (vhdl-beautify): New name for old group vhdl-align. Update users.
9111 (vhdl-beautify-options): New option.
9112 (vhdl-last-input-event): New compat alias. Use throughout.
9113 (vhdl-goto-line): Replace user level function `goto-line'.
9114 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9115 vhdl-fix-statement-buffer.
9116 (vhdl-create-mode-menu): Add some entries.
9117 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9118 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9119 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9120 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9121 to force statements on one line.
9122 (vhdl-remove-trailing-spaces-region):
9123 New, split from vhdl-remove-trailing-spaces.
9124 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9125 Respect vhdl-beautify-options.
9126 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9127 (vhdl-update-sensitivity-list): Not add with index if exists without.
9128 Not include array index with signal. Ignore keywords in comments.
9129 (vhdl-get-visible-signals): Regexp tweaks.
9130 (vhdl-template-component-inst): Handle empty library.
9131 (vhdl-template-type): Add template for 'enum' type.
9132 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9133 Use vhdl-replace-string.
9134 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9135 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9136 (vhdl-speedbar-initialize): Update for above name change.
9137 (vhdl-compose-wire-components): Fix in handling of constants.
9138 (vhdl-error-regexp-emacs-alist): New variable.
9139 (vhdl-error-regexp-add-emacs): New function;
9140 adds support for new compile.el (Emacs 22+)
9141 (vhdl-generate-makefile-1): Change target order for single lib. units.
9142 Allow use of absolute file names.
9143
9144 2013-05-16 Leo Liu <sdl.web@gmail.com>
9145
9146 * simple.el (prog-indent-sexp): Indent enclosing defun.
9147
9148 2013-05-15 Glenn Morris <rgm@gnu.org>
9149
9150 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9151 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9152 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9153 (whitespace-highlight): Move to whitespace group.
9154
9155 * comint.el (comint-source):
9156 * pcmpl-linux.el (pcmpl-linux):
9157 * shell.el (shell-faces):
9158 * eshell/esh-opt.el (eshell-opt):
9159 * international/ccl.el (ccl): Remove empty custom groups.
9160
9161 * completion.el (dynamic-completion-mode):
9162 * jit-lock.el (jit-lock-debug-mode):
9163 * minibuffer.el (completion-in-region-mode):
9164 * type-break.el (type-break-mode-line-message-mode)
9165 (type-break-query-mode):
9166 * emulation/tpu-edt.el (tpu-edt-mode):
9167 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9168 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9169 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9170
9171 * term/xterm.el (xterm): Change parent group to terminals.
9172
9173 * master.el (master): Remove empty custom group.
9174 (master-mode): Remove unused :group argument.
9175 * textmodes/refill.el (refill): Remove empty custom group.
9176 (refill-mode): Remove unused :group argument.
9177
9178 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9179
9180 * cus-dep.el: Provide a feature.
9181 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9182 Don't mistakenly ignore files whose basenames match a basename
9183 from preloaded-file-list (eg cedet/ede/simple.el).
9184 Add a fallback method for getting :group.
9185
9186 2013-05-15 Juri Linkov <juri@jurta.org>
9187
9188 * isearch.el (isearch-char-by-name): Rename from
9189 `isearch-insert-char-by-name'. Doc fix.
9190 (isearch-forward): Mention `isearch-char-by-name' in
9191 the docstring. (Bug#13348)
9192
9193 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9194 `exit-minibuffer' instead of
9195 `isearch-nonincremental-exit-minibuffer'.
9196 (isearch-edit-string): Remove mention of
9197 `isearch-nonincremental-exit-minibuffer' from docstring.
9198 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9199 (isearch-forward-exit-minibuffer)
9200 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9201
9202 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9203
9204 * loadup.el: Just use unversioned DOC.
9205
9206 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9207 literals as extending to EOB.
9208 (nxml-last-fontify-end): Remove unused variable.
9209 (nxml-after-change1): Use with-silent-modifications.
9210 (nxml-extend-after-change-region): Simplify.
9211 (nxml-extend-after-change-region1): Remove function.
9212 (nxml-after-change1): Don't adjust for dependent regions.
9213 (nxml-fontify-matcher): Simplify.
9214 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9215 (xmltok-add-dependent): Remove function.
9216 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9217 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9218 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9219 unclosed <[[, <?, comment, and other literals as extending to EOB.
9220 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9221 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9222 Remove functions.
9223 (rng-do-some-validation-1): Don't mark dependent regions.
9224 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9225 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9226 (nxml-clear-dependent-regions): Remove functions.
9227 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9228 (nxml-ensure-scan-up-to-date):
9229 Don't clear&mark dependent regions.
9230
9231 2013-05-15 Leo Liu <sdl.web@gmail.com>
9232
9233 * progmodes/octave.el (octave-goto-function-definition):
9234 Improve and fix callers.
9235
9236 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9237
9238 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9239 the setter (bug#14387).
9240
9241 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9242 surrounding group (bug#14402).
9243
9244 2013-05-14 Juri Linkov <juri@jurta.org>
9245
9246 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9247 (Bug#14390)
9248
9249 2013-05-14 Glenn Morris <rgm@gnu.org>
9250
9251 * progmodes/f90.el (f90-imenu-generic-expression):
9252 Fix typo in 2013-05-08 change. (Bug#14402)
9253
9254 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9255
9256 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9257 Remove signals for which replies are never received.
9258
9259 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9260
9261 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9262 (gdb-handler-alist, gdb-handler-number): Remove variables.
9263 (gdb-handler-list): New variable.
9264 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9265 (gdb-pending-handler-p, gdb-handle-reply)
9266 (gdb-remove-all-pending-triggers): New functions.
9267 (gdb-discard-unordered-replies): New defcustom.
9268 (gdb-handler): New defstruct.
9269 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9270 instead of gdb-pending-triggers. Update docstring.
9271 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9272 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9273 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9274 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9275 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9276 (gdb-frame-handler): Pending triggers are now automatically managed.
9277 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9278 Remove argument.
9279 (gdb-input): Automatically handles pending triggers. Update docstring.
9280 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9281 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9282 Update comments.
9283 (gdb-done-or-error): Now use gdb-handle-reply.
9284
9285 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9286
9287 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9288 gdb-debug-log.
9289
9290 2013-05-14 Glenn Morris <rgm@gnu.org>
9291
9292 * subr.el (user-emacs-directory-warning): New option.
9293 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9294
9295 2013-05-14 Leo Liu <sdl.web@gmail.com>
9296
9297 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9298 during redisplay.
9299 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9300 (octave-font-lock-texinfo-comment): Fix invalid search bound
9301 error: wrong side of point.
9302
9303 2013-05-14 Glenn Morris <rgm@gnu.org>
9304
9305 * progmodes/flymake.el (flymake-xml-program): New option.
9306 (flymake-xml-init): Use it.
9307
9308 * term/xterm.el: Provide a feature.
9309
9310 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9311
9312 2013-05-13 Glenn Morris <rgm@gnu.org>
9313
9314 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9315 Add compat aliases as a hack workaround. (Bug#14384)
9316
9317 2013-05-13 Leo Liu <sdl.web@gmail.com>
9318
9319 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9320 ###, and %!.
9321 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9322 C-M-q.
9323 (octave-comment-start-skip): Include %!.
9324 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9325
9326 2013-05-12 Leo Liu <sdl.web@gmail.com>
9327
9328 * progmodes/octave.el (inferior-octave-startup): Store the value
9329 of __octave_srcdir__ for octave-source-directories.
9330 (inferior-octave-check-process): New function refactored out of
9331 inferior-octave-send-list-and-digest.
9332 (octave-source-directories)
9333 (octave-find-definition-filename-function): New variables.
9334 (octave-source-directories)
9335 (octave-find-definition-default-filename): New functions.
9336 (octave-find-definition): Improve to find functions implemented in C++.
9337
9338 2013-05-12 Glenn Morris <rgm@gnu.org>
9339
9340 * calendar/diary-lib.el (diary-outlook-format-1):
9341 Don't include dayname in the output. (Bug#14349)
9342
9343 2013-05-11 Glenn Morris <rgm@gnu.org>
9344
9345 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9346
9347 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9348 Treat cc-provide like provide.
9349
9350 2013-05-11 Kevin Ryde <user42@zip.com.au>
9351
9352 * cus-dep.el (custom-make-dependencies):
9353 Use generated-autoload-load-name for the sake of files such
9354 such cedet/semantic/bovine/c.el, where the base file name
9355 is not in load-path. (Bug#5277)
9356
9357 2013-05-11 Glenn Morris <rgm@gnu.org>
9358
9359 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9360 Provide features.
9361
9362 2013-05-11 Leo Liu <sdl.web@gmail.com>
9363
9364 * progmodes/octave.el (octave-indent-comment): Improve.
9365 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9366 (octave-eldoc-function-signatures, octave-eldoc-function):
9367 New functions.
9368 (octave-mode, inferior-octave-mode): Add eldoc support.
9369
9370 2013-05-11 Richard Stallman <rms@gnu.org>
9371
9372 * epa.el (epa-decrypt-file): Take output file name as argument
9373 and read it using `interactive'.
9374
9375 2013-05-11 Leo Liu <sdl.web@gmail.com>
9376
9377 * progmodes/octave.el (octave-beginning-of-line)
9378 (octave-end-of-line): Check before using up-list because it jumps
9379 out of more syntactic contructs since moving to smie.
9380 (octave-indent-comment): New function.
9381 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9382 (octave-begin-keywords, octave-end-keywords)
9383 (octave-reserved-words, octave-smie-bnf-table)
9384 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9385
9386 2013-05-11 Glenn Morris <rgm@gnu.org>
9387
9388 * faces.el (internal-face-x-get-resource):
9389 * frame.el (ns-display-monitor-attributes-list):
9390 * calc/calc-aent.el (math-to-radians-2):
9391 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9392 Fix declarations.
9393
9394 * calc/calc-menu.el: Make it loadable in isolation.
9395
9396 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9397 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9398 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9399 (eudc-bbdb-query-internal): Require 'bbdb.
9400
9401 * lpr.el (lpr-headers-switches):
9402 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9403
9404 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9405
9406 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9407
9408 * term.el (term-set-escape-char): Make it idempotent.
9409
9410 2013-05-10 Leo Liu <sdl.web@gmail.com>
9411
9412 * progmodes/octave.el (inferior-octave-completion-table):
9413 No longer a function and all uses changed. Use cache to speed up
9414 completion due to bug#11906.
9415 (octave-beginning-of-defun): Re-write to be more general.
9416
9417 2013-05-10 Glenn Morris <rgm@gnu.org>
9418
9419 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9420
9421 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9422
9423 * comint.el (comint-redirect-send-command-to-process): Use :around
9424 rather than :override for comint-redirect-filter.
9425 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9426 Call it instead of comint-redirect-original-filter-function (which
9427 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9428
9429 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9430
9431 * frame.el (display-monitor-attributes-list): Add NS case.
9432 (ns-display-monitor-attributes-list): Declare.
9433
9434 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9435
9436 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9437
9438 2013-05-09 Glenn Morris <rgm@gnu.org>
9439
9440 * international/fontset.el (vertical-centering-font-regexp):
9441 Set standard-value.
9442
9443 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9444
9445 * bookmark.el (bookmark-search-delay):
9446 * cus-start.el (vertical-centering-font-regexp):
9447 * ps-mule.el (ps-mule-font-info-database-default):
9448 * ps-print.el (ps-default-fg, ps-default-bg):
9449 * type-break.el (type-break-good-break-interval):
9450 * whitespace.el (whitespace-indentation-regexp)
9451 (whitespace-space-after-tab-regexp):
9452 * emacs-lisp/testcover.el (testcover-1value-functions)
9453 (testcover-noreturn-functions, testcover-progn-functions)
9454 (testcover-prog1-functions):
9455 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9456 * eshell/em-glob.el (eshell-glob-translate-alist):
9457 * play/tetris.el (tetris-tty-colors):
9458 * progmodes/cpp.el (cpp-face-default-list):
9459 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9460 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9461 (idlwave-help-browser-generic-args):
9462 * progmodes/make-mode.el (makefile-special-targets-list):
9463 * progmodes/python.el (python-shell-virtualenv-path):
9464 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9465 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9466 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9467 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9468 * textmodes/reftex-vars.el (reftex-format-label-function):
9469 * textmodes/remember.el (remember-diary-file): Fix custom types.
9470
9471 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9472 Add :version.
9473
9474 2013-05-09 Leo Liu <sdl.web@gmail.com>
9475
9476 * progmodes/octave.el (inferior-octave-completion-at-point):
9477 Restore file completion. (Bug#14300)
9478 (inferior-octave-startup): Fix incorrect highlighting for the
9479 first prompt.
9480
9481 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9482
9483 * progmodes/ruby-mode.el: First cut at SMIE support.
9484 (ruby-use-smie): New var.
9485 (ruby-smie-grammar): New constant.
9486 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9487 (ruby-smie--forward-token, ruby-smie--backward-token)
9488 (ruby-smie-rules): New functions.
9489 (ruby-mode-variables): Setup SMIE if applicable.
9490
9491 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9492
9493 * simple.el (line-move-visual): Signal beginning/end of buffer
9494 only if vertical-motion moved less than it was requested. Avoids
9495 silly incorrect error messages when there are display strings with
9496 multiple newlines at EOL.
9497
9498 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9499
9500 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9501 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9502 (prolog-char-quote-workaround):
9503 * progmodes/cperl-mode.el (cperl-under-as-char):
9504 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9505 Mark as obsolete.
9506 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9507 their declaration.
9508 (vhdl-mode-syntax-table-init): Remove.
9509
9510 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9511 last change.
9512
9513 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9514 syntax for "_".
9515 (ld-script-font-lock-keywords):
9516 Change regexps to use things like \_< and \_>.
9517
9518 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9519 Change all regexps to use things like \_< and \_>.
9520
9521 * progmodes/autoconf.el (autoconf-definition-regexp)
9522 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9523 Handle a _ with symbol syntax.
9524 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9525
9526 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9527 Consolidate declaration.
9528 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9529 the declaration.
9530 (ada-create-syntax-table): Remove.
9531 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9532 already has the right syntax nowadays.
9533 (ada-goto-next-word): Don't change the syntax of "_".
9534
9535 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9536 with-wrapper-hook.
9537
9538 2013-05-08 Sam Steingold <sds@gnu.org>
9539
9540 * thingatpt.el (thing-at-point): Accept optional second argument
9541 NO-PROPERTIES to strip the text properties from the return value.
9542 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9543 to `thing-at-point' instead of stripping the properties ourselves.
9544 Also, when `thing-at-point' fails to find a url, prepend "http://"
9545 to the filename at point on the assumption that the user is
9546 pointing at something like gnu.org/gnu.
9547
9548 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9549
9550 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9551 * faces.el (crm-separator):
9552 Silence byte-compiler.
9553
9554 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9555 (tool-bar-map): Remove unneeded defvars.
9556
9557 2013-05-08 Leo Liu <sdl.web@gmail.com>
9558
9559 Re-work a fix for bug#10994 based on Le Wang's patch.
9560 * ido.el (ido-remove-consecutive-dups): New helper.
9561 (ido-completing-read): Use it.
9562 (ido-chop): Revert fix for bug#10994.
9563
9564 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9565
9566 * cus-edit.el (custom-save-variables):
9567 Pretty-print long values. (Bug#14187)
9568
9569 2013-05-08 Glenn Morris <rgm@gnu.org>
9570
9571 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9572 (m4-mode-syntax-table): Init in the defvar.
9573 (m4-mode-abbrev-table): Let define-derived-mode define it.
9574
9575 2013-05-08 Tom Tromey <tromey@redhat.com>
9576
9577 * progmodes/m4-mode.el (m4-mode-syntax-table):
9578 Do not treat "_" as word constituent. (Bug#14167)
9579
9580 2013-05-07 Glenn Morris <rgm@gnu.org>
9581
9582 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9583 Remove explicit eshell-isearch-cancel-map.
9584
9585 * progmodes/f90.el (f90-smart-end-names): New option.
9586 (f90-smart-end): Doc fix.
9587 (f90-end-block-optional-name): New constant.
9588 (f90-block-match): Respect f90-smart-end-names.
9589
9590 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9591
9592 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9593 about implicit semi-colons (bug#14218).
9594
9595 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9596
9597 * frame.el (display-monitor-attributes-list)
9598 (frame-monitor-attributes): New functions.
9599
9600 2013-05-06 Leo Liu <sdl.web@gmail.com>
9601
9602 * progmodes/octave.el (octave-syntax-propertize-function): Change
9603 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9604 (octave-font-lock-keywords): Use octave-operator-regexp.
9605 (octave-completion-at-point): Rename from
9606 octave-completion-at-point-function.
9607 (inferior-octave-directory-tracker): Robustify.
9608 (octave-text-functions): Remove and fix its uses. No such things
9609 any more.
9610
9611 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9612
9613 * emacs-lisp/trace.el (trace--display-buffer): New function.
9614 (trace-make-advice): Use it.
9615
9616 2013-05-06 Juri Linkov <juri@jurta.org>
9617
9618 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9619 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9620 Doc fix.
9621 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9622 in the help string. (Bug#12985)
9623
9624 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9625
9626 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9627
9628 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9629
9630 * progmodes/perl-mode.el: Add support for here documents.
9631 (perl-syntax-propertize-function): Match here-doc markers.
9632 (perl-syntax-propertize-special-constructs): Find their end.
9633 (perl-imenu-generic-expression): Use [:alnum:].
9634
9635 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9636 (advice--add-function): Refresh the advice if already present
9637 (bug#14317).
9638
9639 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9640
9641 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9642
9643 2013-05-06 Glenn Morris <rgm@gnu.org>
9644
9645 * w32-fns.el (w32-charset-info-alist): Declare.
9646
9647 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9648 of its defcustom properties.
9649 (eshell-cmpl-initialize): No need to load pcomplete.
9650
9651 * generic-x.el: No need to require comint when compiling.
9652
9653 * net/eudc-export.el: Make it loadable without bbdb.
9654 (top-level): Use require rather than load-library.
9655 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9656 (eudc-batch-export-records-to-bbdb)
9657 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9658 Require bbdb.
9659
9660 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9661
9662 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9663 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9664 some tweaks, instead.
9665
9666 2013-05-05 Leo Liu <sdl.web@gmail.com>
9667
9668 * progmodes/octave.el (octave-font-lock-keywords)
9669 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9670 (inferior-octave-send-list-and-digest): Improve error message.
9671 (octave-mode, inferior-octave-mode): Use setq-local.
9672 (octave-help): Set info-lookup-mode.
9673
9674 2013-05-05 Richard Stallman <rms@gnu.org>
9675
9676 * vc/compare-w.el (compare-windows-whitespace):
9677 Treat no-break space as whitespace.
9678
9679 * mail/rmailsum.el (rmail-summary-rmail-update):
9680 Detect empty summary and don't change selected message.
9681 (rmail-summary-goto-msg): Likewise.
9682
9683 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9684 Doc fixes, rename args.
9685
9686 2013-05-05 Alan Mackenzie <acm@muc.de>
9687
9688 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9689
9690 2013-05-05 Juri Linkov <juri@jurta.org>
9691
9692 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9693 to not add the length of the summary segment to the return value.
9694 (Bug#14125)
9695
9696 2013-05-05 Leo Liu <sdl.web@gmail.com>
9697
9698 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9699 (inferior-octave-output-filter): Remove.
9700 (octave-send-region, inferior-octave-startup): Fix callers.
9701 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9702 (octave-binary-file-extensions): New user variable.
9703 (octave-find-definition): Confirm if opening binary files.
9704 (octave-help-file): Use octave-find-definition to get the binary
9705 confirmation.
9706 (octave-help): Adjust for octave-help-file change.
9707
9708 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9709
9710 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9711 Merge the two entries that handle function definitions.
9712 (pascal--syntax-propertize): New const.
9713 (pascal-mode): Use it. Use setq-local.
9714
9715 2013-05-04 Glenn Morris <rgm@gnu.org>
9716
9717 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9718 (diary-from-outlook): Respect diary-from-outlook-function.
9719
9720 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9721
9722 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9723 Move the declaration from C.
9724 (read-minibuffer, eval-minibuffer): Move from C.
9725 (completion-setup-function): Avoid minibuffer-completion-contents.
9726
9727 2013-05-03 Leo Liu <sdl.web@gmail.com>
9728
9729 * progmodes/octave.el (octave-font-lock-keywords): Do not
9730 dehighlight 'end' in comments or strings.
9731 (octave-completing-read, octave-goto-function-definition):
9732 New helpers.
9733 (octave-help-buffer): New user variable.
9734 (octave-help-file, octave-help-function): New button types.
9735 (octave-help): New command and bind it to C-h ;.
9736 (octave-find-definition): New command and bind it to M-.
9737 (user-error): Alias to error if not defined.
9738
9739 2013-05-02 Leo Liu <sdl.web@gmail.com>
9740
9741 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9742 for \. (bug#14332)
9743 (octave-font-lock-keywords): Include [ and {.
9744
9745 2013-05-02 Leo Liu <sdl.web@gmail.com>
9746
9747 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9748 (inferior-octave): Remove calling comint-mode and return the buffer.
9749 (inferior-octave-startup): Cosmetic changes.
9750
9751 2013-05-02 Leo Liu <sdl.web@gmail.com>
9752
9753 * progmodes/octave.el (octave-syntax-propertize-function):
9754 Include the case when ' is at line beginning. (Bug#14336)
9755
9756 2013-05-02 Glenn Morris <rgm@gnu.org>
9757
9758 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9759 * desktop.el (vc-dir-mode): Just autoload it here.
9760
9761 2013-05-02 Alan Mackenzie <acm@muc.de>
9762
9763 Eliminate variable c-standard-font-lock-fontify-region-function.
9764 * progmodes/cc-mode.el
9765 (c-standard-font-lock-fontify-region-function): Remove.
9766 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9767
9768 2013-05-01 Leo Liu <sdl.web@gmail.com>
9769
9770 * progmodes/octave.el: Compatible with older emacs-24 releases.
9771 (inferior-octave-has-built-in-variables): Remove. Built-in
9772 variables were removed from Octave in 2007.
9773 (inferior-octave-startup): Fix uses.
9774 (comint-line-beginning-position): Remove compatibility code for
9775 emacs 21.
9776
9777 2013-05-01 Juri Linkov <juri@jurta.org>
9778
9779 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9780
9781 2013-05-01 Juri Linkov <juri@jurta.org>
9782
9783 * comint.el (comint-previous-matching-input): Don't print message
9784 "History item: %d" when `isearch-mode' is active.
9785 (comint-history-isearch-message): Print message "History item: %d"
9786 when `comint-input-ring-index' is not empty and this function is
9787 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9788
9789 2013-05-01 Leo Liu <sdl.web@gmail.com>
9790
9791 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9792 definitions. Use completion-at-point to insert keywords.
9793 (octave-abbrev-start): Remove.
9794 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9795
9796 2013-04-30 Leo Liu <sdl.web@gmail.com>
9797
9798 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9799 change.
9800
9801 2013-04-30 Alan Mackenzie <acm@muc.de>
9802
9803 Handle arbitrarily long C++ member initialisation lists.
9804 * progmodes/cc-engine.el (c-back-over-member-initializers):
9805 new function.
9806 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9807 (most) member init lists.
9808
9809 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9810
9811 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9812 variable.
9813
9814 2013-04-30 Leo Liu <sdl.web@gmail.com>
9815
9816 * progmodes/octave.el (octave-variables): Remove. No builtin
9817 variables any more. All converted to functions.
9818 (octave-font-lock-keywords, octave-completion-at-point-function):
9819 Fix uses.
9820 (octave-font-lock-texinfo-comment): New user variable.
9821 (octave-texinfo-font-lock-keywords): New variable for texinfo
9822 comment block.
9823 (octave-function-comment-block): New face.
9824 (octave-font-lock-texinfo-comment): New function.
9825 (octave-mode): Font lock texinfo comment block.
9826
9827 2013-04-29 Leo Liu <sdl.web@gmail.com>
9828
9829 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9830 indexing expression.
9831 (octave-continuation-string): Do not use \.
9832 (inferior-octave-complete-impossible): Remove.
9833 (inferior-octave-completion-table)
9834 (inferior-octave-completion-at-point): Remove its uses.
9835 (inferior-octave-startup): completion_matches was introduced to
9836 Octave in 1996 so safe to assume it.
9837 (octave-function-file-comment): Improve to follow how Octave does it.
9838 (octave-update-function-file-comment): Tweak.
9839
9840 2013-04-29 Leo Liu <sdl.web@gmail.com>
9841
9842 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9843 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9844 (octave-function-file-comment): Fix typo.
9845 (octave-sync-function-file-names): Use read-char-choice.
9846
9847 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9848
9849 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9850 to t for the less important warnings.
9851
9852 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9853
9854 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9855
9856 2013-04-27 Glenn Morris <rgm@gnu.org>
9857
9858 * vc/log-view.el (log-view-current-entry):
9859 Treat "---" separator lines as part of the following rev. (Bug#14169)
9860
9861 2013-04-27 Juri Linkov <juri@jurta.org>
9862
9863 * subr.el (read-number): Doc fix about using it by interactive
9864 code letter `n'. (Bug#14254)
9865
9866 2013-04-27 Juri Linkov <juri@jurta.org>
9867
9868 * desktop.el (desktop-auto-save-timeout): New option.
9869 (desktop-file-checksum): New variable.
9870 (desktop-save): Add optional arg `auto-save' and don't auto-save
9871 if nothing changed.
9872 (desktop-auto-save-timer): New variable.
9873 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9874 (after-init-hook): Call `desktop-auto-save-set-timer'.
9875 Suggested by Reuben Thomas <rrt@sc3d.org> in
9876 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9877
9878 2013-04-27 Leo Liu <sdl.web@gmail.com>
9879
9880 * progmodes/octave.el (octave-function-file-p)
9881 (octave-skip-comment-forward, octave-function-file-comment)
9882 (octave-update-function-file-comment): New functions.
9883 (octave-mode-map): Bind C-c ; to
9884 octave-update-function-file-comment.
9885 (octave-mode-menu): Add octave-update-function-file-comment.
9886 (octave-mode, inferior-octave-mode): Fix doc-string.
9887 (octave-insert-defun): Conform to Octave's coding convention.
9888 (Bug#14285)
9889
9890 * files.el (basic-save-buffer): Don't let errors in
9891 before-save-hook prevent saving buffer.
9892
9893 2013-04-20 Roland Winkler <winkler@gnu.org>
9894
9895 * faces.el (read-face-name): Use completing-read if arg multiple
9896 is nil.
9897
9898 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9899
9900 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9901 displayed, move point to after the totals line.
9902 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9903 for the details.
9904
9905 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9906
9907 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9908 Add current dir to the load-path.
9909 (package-generate-autoloads): Don't rely on
9910 autoload-ensure-default-file.
9911
9912 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9913
9914 * textmodes/remember.el (remember-store-in-files): Document that
9915 the file name format is passed to `format-time-string'.
9916
9917 2013-04-26 Leo Liu <sdl.web@gmail.com>
9918
9919 * progmodes/octave.el (octave-sync-function-file-names): New function.
9920 (octave-mode): Use it in before-save-hook.
9921
9922 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9923
9924 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9925 (bug#14274).
9926
9927 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9928 \n and comment, even if it's not an implicit ; (bug#14218).
9929
9930 2013-04-26 Glenn Morris <rgm@gnu.org>
9931
9932 * subr.el (read-number): Once more use `read' rather than
9933 `string-to-number', to trap non-numeric input. (Bug#14254)
9934
9935 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9936
9937 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9938 Use `syntax-multiline' text property consistently instead of
9939 `font-lock-multiline'. (Bug#14237)
9940
9941 2013-04-26 Glenn Morris <rgm@gnu.org>
9942
9943 * emacs-lisp/shadow.el (list-load-path-shadows):
9944 No longer necessary to check for duplicate simple.el, since
9945 2012-07-07 change to init_lread to not include installation lisp
9946 directories in load-path when running uninstalled. (Bug#14270)
9947
9948 2013-04-26 Leo Liu <sdl.web@gmail.com>
9949
9950 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9951 (octave-mode, inferior-octave-mode): Use setq-local.
9952 (octave-not-in-string-or-comment-p): Rename to
9953 octave-in-string-or-comment-p.
9954 (octave-in-comment-p, octave-in-string-p)
9955 (octave-in-string-or-comment-p): Replace defsubst with defun.
9956
9957 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9958
9959 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9960
9961 2013-04-25 Bastien Guerry <bzg@gnu.org>
9962
9963 * textmodes/remember.el (remember-data-directory)
9964 (remember-directory-file-name-format): Fix custom types.
9965
9966 2013-04-25 Leo Liu <sdl.web@gmail.com>
9967
9968 * progmodes/octave.el (octave-completion-at-point-function):
9969 Make use of inferior octave process.
9970 (octave-initialize-completions): Remove.
9971 (inferior-octave-completion-table): New function.
9972 (inferior-octave-completion-at-point): Use it.
9973 (octave-completion-alist): Remove.
9974
9975 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9976
9977 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9978 (opascal-mode-syntax-table): New var.
9979 (opascal-literal-kind, opascal-is-literal-end)
9980 (opascal-literal-token-at): Rewrite.
9981 (opascal--literal-start-re, opascal-font-lock-keywords)
9982 (opascal--syntax-propertize): New constants.
9983 (opascal-font-lock-defaults): Adjust.
9984 (opascal-mode): Use them. Set comment-<foo> variables as well.
9985 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9986 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9987 (delphi-other-face, opascal-other-face): Remove face variables.
9988 (opascal-save-state): Remove macro.
9989 (opascal-fontifying-progress-step): Remove constant.
9990 (opascal--ignore-changes): Remove var.
9991 (opascal-set-token-property, opascal-parse-next-literal)
9992 (opascal-is-stable-literal, opascal-complete-literal)
9993 (opascal-is-literal-start, opascal-face-of)
9994 (opascal-parse-region, opascal-parse-region-until-stable)
9995 (opascal-fontify-region, opascal-after-change)
9996 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9997 (opascal-debug-parse-region, opascal-debug-parse-window)
9998 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9999 (opascal-debug-fontify-buffer): Remove.
10000 (opascal-debug-mode-map): Adjust accordingly.
10001
10002 2013-04-25 Leo Liu <sdl.web@gmail.com>
10003
10004 Merge octave-mod.el and octave-inf.el into octave.el with some
10005 cleanups.
10006 * progmodes/octave.el: New file renamed from octave-mod.el.
10007 * progmodes/octave-inf.el: Merged into octave.el.
10008 * progmodes/octave-mod.el: Renamed to octave.el.
10009
10010 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10011
10012 * textmodes/reftex-vars.el
10013 (reftex-label-ignored-macros-and-environments): New defcustom.
10014
10015 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10016
10017 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10018
10019 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10020 (smie-indent-keyword): Improve the check to ensure that the next
10021 comment is really on the same line.
10022 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10023
10024 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10025 semi-colons if the line is not otherwise empty (bug#14218).
10026
10027 2013-04-25 Glenn Morris <rgm@gnu.org>
10028
10029 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10030
10031 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10032
10033 * progmodes/opascal.el (opascal-set-token-property): Rename from
10034 opascal-set-text-properties and only set `token' (bug#14134).
10035 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10036 (opascal-literal-text-properties): Remove.
10037 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10038 Adjust callers.
10039
10040 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10041
10042 * textmodes/remember.el (remember-handler-functions): Add an
10043 option for a new handler `remember-store-in-files'.
10044 (remember-data-directory, remember-directory-file-name-format):
10045 New options.
10046 (remember-store-in-files): New function to store remember notes
10047 as separate files within a directory.
10048
10049 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10050
10051 * progmodes/compile.el (compilation-next-error-function):
10052 Pass "formats" to compilation-find-file (bug#11777).
10053
10054 2013-04-24 Glenn Morris <rgm@gnu.org>
10055
10056 * vc/vc-bzr.el (vc-bzr-print-log):
10057 * vc/vc-hg.el (vc-hg-print-log):
10058 * vc/vc-svn.el (vc-svn-print-log):
10059 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10060
10061 * vc/vc-bzr.el (vc-bzr-print-log):
10062 * vc/vc-cvs.el (vc-cvs-print-log):
10063 * vc/vc-git.el (vc-git-print-log):
10064 * vc/vc-hg.el (vc-hg-print-log):
10065 * vc/vc-mtn.el (vc-mtn-print-log):
10066 * vc/vc-rcs.el (vc-rcs-print-log):
10067 * vc/vc-sccs.el (vc-sccs-print-log):
10068 * vc/vc-svn.el (vc-svn-print-log):
10069 * vc/vc.el (vc-print-log-internal): Doc fixes.
10070
10071 2013-04-23 Glenn Morris <rgm@gnu.org>
10072
10073 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10074 Remove venerable code attempting to avoid substitute-command-keys.
10075
10076 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10077
10078 * textmodes/reftex-vars.el (reftex-label-regexps):
10079 Call `reftex-compile-variables' after changes to this variable.
10080
10081 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10082
10083 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10084 Use lexical-binding.
10085 (jit-lock-force-redisplay): Use markers, check buffer's continued
10086 existence and beware narrowed buffers.
10087 (jit-lock-fontify-now): Adjust call accordingly.
10088
10089 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10090
10091 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10092 to avoid misleading the user.
10093
10094 2013-04-22 Leo Liu <sdl.web@gmail.com>
10095
10096 * info-look.el: Prefer latex2e.info. (Bug#14240)
10097
10098 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10099
10100 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10101
10102 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10103 * net/tramp.el (tramp-call-process): ... here.
10104 (tramp-set-completion-function, tramp-parse-putty):
10105 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10106 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10107 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10108 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10109 (tramp-call-local-coding-command): Use `tramp-call-process'
10110 instead of `tramp-compat-call-process'.
10111
10112 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10113 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10114 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10115 (tramp-find-inline-compress): Improve traces.
10116 (tramp-maybe-send-script): Check for Perl binary.
10117 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10118
10119 2013-04-22 Daiki Ueno <ueno@gnu.org>
10120
10121 * epg.el (epg-context-pinentry-mode): New function.
10122 (epg-context-set-pinentry-mode): New function.
10123 (epg--start): Pass --pinentry-mode option to gpg command.
10124
10125 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10126
10127 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10128 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10129 `completion-at-point'. (Bug#13774)
10130
10131 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10132 default key binding for `describe-distribution' has been moved to
10133 `C-h C-o'. (Bug#13970)
10134
10135 2013-04-21 Glenn Morris <rgm@gnu.org>
10136
10137 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10138 Add doc strings.
10139 (vc-print-log): Clarify interactive prompt.
10140
10141 2013-04-20 Glenn Morris <rgm@gnu.org>
10142
10143 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10144 No longer include timestamp etc information.
10145
10146 2013-04-20 Roland Winkler <winkler@gnu.org>
10147
10148 * faces.el (read-face-name): Bug fix, return just one face if arg
10149 multiple is nil. (Bug#14209)
10150
10151 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10152
10153 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10154 (remove-function): Autoload.
10155
10156 * comint.el (comint-redirect-original-filter-function): Remove.
10157 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10158 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10159 (vc-cvs-annotate-command):
10160 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10161 * progmodes/prolog.el (prolog-consult-compile):
10162 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10163 Use add/remove-function instead.
10164 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10165 (gud-tooltip-process-output, gud-tooltip-tips):
10166 Use add/remove-function instead.
10167 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10168 (scheme-interaction-mode, exit-scheme-interaction-mode):
10169 Use add/remove-function instead.
10170
10171 * vc/vc-dispatcher.el: Use lexical-binding.
10172 (vc--process-sentinel): Rename from vc-process-sentinel.
10173 Change last arg to be the code to run. Don't use vc-previous-sentinel
10174 and vc-sentinel-commands any more.
10175 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10176 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10177
10178 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10179
10180 * progmodes/sh-script.el (sh-imenu-generic-expression):
10181 Handle function names with a single character. (Bug#14111)
10182
10183 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10184
10185 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10186 for subroutines defined in an eval (bug#14182).
10187
10188 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10189
10190 * bookmark.el (bookmark-completing-read): Improve handling of empty
10191 string (bug#14176).
10192
10193 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10194
10195 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10196
10197 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10198
10199 New faster Imenu implementation (bug#14058).
10200 * progmodes/python.el:
10201 (python-imenu-prev-index-position):
10202 (python-imenu-format-item-label-function)
10203 (python-imenu-format-parent-item-label-function)
10204 (python-imenu-format-parent-item-jump-label-function):
10205 New vars.
10206 (python-imenu-format-item-label)
10207 (python-imenu-format-parent-item-label)
10208 (python-imenu-format-parent-item-jump-label)
10209 (python-imenu--put-parent, python-imenu--build-tree)
10210 (python-imenu-create-index, python-imenu-create-flat-index)
10211 (python-util-popn): New functions.
10212 (python-mode): Set imenu-create-index-function to
10213 python-imenu-create-index.
10214
10215 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10216
10217 * winner.el (winner-active-region): Use region-active-p, activate-mark
10218 and deactivate-mark (bug#14225).
10219
10220 * simple.el (deactivate-mark): Don't inline it.
10221
10222 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10223
10224 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10225
10226 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10227
10228 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10229 file extensions from the archive-mode entry in order to prefer
10230 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10231
10232 2013-04-18 Leo Liu <sdl.web@gmail.com>
10233
10234 * bindings.el (help-event-list): Add ?\?.
10235
10236 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10237
10238 * subr.el (with-wrapper-hook): Declare obsolete.
10239 * simple.el (filter-buffer-substring-function): New hook.
10240 (filter-buffer-substring): Use it.
10241 (filter-buffer-substring-functions): Mark obsolete.
10242 * minibuffer.el (completion-in-region-function): New hook.
10243 (completion-in-region): Use it.
10244 (completion-in-region-functions): Mark obsolete.
10245 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10246 * abbrev.el (abbrev-expand-function): New hook.
10247 (expand-abbrev): Use it.
10248 (abbrev-expand-functions): Mark obsolete.
10249 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10250 and :filter-return.
10251
10252 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10253
10254 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10255 and do not care about match data.
10256
10257 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10258
10259 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10260 completion tables when completing error conditions and
10261 `declare' arguments.
10262 (lisp-complete-symbol, field-complete): Mark as obsolete.
10263 (check-parens): Unmatched parens are user errors.
10264 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10265
10266 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10267
10268 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10269 command changed buffer (ie. `flyspell-pre-buffer' is not current
10270 buffer), which prevents making decisions based on invalid value of
10271 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10272 cause an error when `flyspell-pre-point' was nil after switching
10273 buffers.
10274 (flyspell-post-command-hook): No longer needs to change buffers when
10275 checking pre-word. While at it remove unnecessary progn.
10276
10277 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10278
10279 * textmodes/ispell.el (ispell-add-per-file-word-list):
10280 Fix `flyspell-correct-word-before-point' error when accepting
10281 words and `coment-padding' is an integer by using
10282 `comment-normalize-vars' (Bug #14214).
10283
10284 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10285
10286 New defun movement commands.
10287 * progmodes/python.el (python-nav--syntactically)
10288 (python-nav--forward-defun, python-nav-backward-defun)
10289 (python-nav-forward-defun): New functions.
10290
10291 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10292
10293 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10294 (python-syntax-context): Use named compiler-macro for backwards
10295 compatibility with Emacs 24.x.
10296
10297 2013-04-17 Leo Liu <sdl.web@gmail.com>
10298
10299 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10300 octave-hide-process-buffer.
10301
10302 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10303
10304 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10305 (bug#14216).
10306
10307 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10308
10309 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10310 Fix adjustment of offset when receiving incomplete responses from GDB
10311 (bug#14129).
10312
10313 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10314
10315 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10316 python-mode-abbrev-table.
10317 (python-skeleton-define): Adjust accordingly.
10318 (python-mode-abbrev-table): New table that inherits from it so that
10319 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10320
10321 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10322 (abbrev-symbol): Use it.
10323 (abbrev--before-point): Use it since we already handle inheritance.
10324
10325 2013-04-16 Leo Liu <sdl.web@gmail.com>
10326
10327 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10328 binding to info-lookup-symbol.
10329
10330 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10331
10332 * minibuffer.el (completion--twq-all):
10333 * term/ns-win.el (ns-initialize-window-system):
10334 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10335
10336 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10337
10338 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10339 global bindings.
10340
10341 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10342
10343 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10344
10345 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10346 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10347 to nil.
10348 (ruby-end-of-defun): Remove the unused arg, change the docstring
10349 to reflect that this function is only used as the value of
10350 `end-of-defun-function'.
10351 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10352 to reflect an earlier change that beginning/end-of-defun functions
10353 jump between methods in a class definition, as well as top-level
10354 functions.
10355
10356 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10357
10358 * minibuffer.el (minibuffer-complete): Don't just scroll
10359 a *Completions* that's been iconified.
10360 (minibuffer-force-complete): Make sure repetitions do cycle when going
10361 through completion-in-region -> minibuffer-complete.
10362
10363 2013-04-15 Alan Mackenzie <acm@muc.de>
10364
10365 Correct the placement of c-cpp-delimiters when there're #s not at
10366 col 0.
10367
10368 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10369 place a submatch around the #.
10370 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10371 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10372 on the #, not BOL.
10373
10374 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10375
10376 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10377 (advice--member-p): New arg `name'.
10378 (advice--add-function, advice-member-p): Use it (bug#14202).
10379
10380 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10381
10382 Reformulate java imenu-generic-expression.
10383 The old expression contained ill formed regexps.
10384
10385 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10386 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10387 (cc-imenu-java-method-arg-regexp): New defconsts.
10388 (cc-imenu-java-build-type-args-regex): New defun.
10389 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10390 handling of spaces in the regexp.
10391
10392 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10393
10394 * textmodes/ispell.el (ispell-command-loop): Remove
10395 flyspell highlight of a word when ispell accepts it (bug #14178).
10396
10397 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10398
10399 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10400 uses code from the previous `ange-ftp-run-real-handler'.
10401 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10402 only in case that function exist. This is needed for proper
10403 unloading of Tramp.
10404
10405 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10406
10407 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10408
10409 * textmodes/reftex.el (reftex-compile-variables): Use it.
10410
10411 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10412
10413 * files.el (normal-mode): Only use default major-mode if no other mode
10414 was specified.
10415
10416 * emacs-lisp/trace.el (trace-values): New function.
10417
10418 * files.el: Allow : in local variables (bug#14089).
10419 (hack-local-variable-regexp): New var.
10420 (hack-local-variables-prop-line, hack-local-variables): Use it.
10421
10422 2013-04-13 Roland Winkler <winkler@gnu.org>
10423
10424 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10425 data before it gets modified by bibtex-beginning-of-entry.
10426
10427 2013-04-13 Roland Winkler <winkler@gnu.org>
10428
10429 * textmodes/bibtex.el (bibtex-url): Doc fix.
10430
10431 2013-04-13 Roland Winkler <winkler@gnu.org>
10432
10433 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10434 does not visit a BibTeX file, exclude it from the list of buffers
10435 returned by bibtex-initialize.
10436
10437 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10438
10439 * window.el (split-window): Remove interactive form, since as a
10440 command this function is a special case of split-window-below.
10441 Correct doc string.
10442
10443 2013-04-12 Roland Winkler <winkler@gnu.org>
10444
10445 * faces.el (read-face-name): Do not override value of arg default.
10446 Allow single faces and strings as default values. Remove those
10447 elements from return value that are not faces.
10448 (describe-face): Simplify.
10449 (face-at-point): New optional args thing and multiple so that this
10450 function can provide the same functionality previously provided by
10451 read-face-name.
10452 (make-face-bold, make-face-unbold, make-face-italic)
10453 (make-face-unitalic, make-face-bold-italic, invert-face)
10454 (modify-face, read-face-and-attribute): Use face-at-point.
10455
10456 * cus-edit.el (customize-face, customize-face-other-window)
10457 * cus-theme.el (custom-theme-add-face)
10458 * face-remap.el (buffer-face-set)
10459 * facemenu.el (facemenu-set-face): Use face-at-point.
10460
10461 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10462
10463 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10464
10465 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10466
10467 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10468 off leading { and trailing } from field values.
10469
10470 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10471
10472 * emacs-lisp/timer.el (timer--check): New function.
10473 (timer--time, timer-set-function, timer-event-handler): Use it.
10474 (timer-set-idle-time): Simplify.
10475 (timer--activate): CSE.
10476 (timer-event-handler): Give more info in error message.
10477 (internal-timer-start-idle): New function, moved from C.
10478
10479 * mpc.el (mpc-proc): Add `restart' argument.
10480 (mpc-proc-cmd): Use it.
10481 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10482 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10483 less often.
10484
10485 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10486
10487 * progmodes/sh-script.el: Implement `sh-mode' own
10488 `add-log-current-defun-function' (bug#14112).
10489 (sh-current-defun-name): New function.
10490 (sh-mode): Use the function.
10491
10492 2013-04-09 Bastien Guerry <bzg@gnu.org>
10493
10494 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10495
10496 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10497
10498 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10499
10500 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10501 timer (bug#14156).
10502
10503 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10504
10505 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10506 declaration.
10507
10508 2013-04-07 Leo Liu <sdl.web@gmail.com>
10509
10510 * pcmpl-x.el: New file.
10511
10512 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10513
10514 Do not set x-display-name until X connection is established.
10515 This is needed to prevent from weird situation described at
10516 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10517 * frame.el (make-frame): Set x-display-name after call to
10518 window system initialization function, not before.
10519 * term/x-win.el (x-initialize-window-system): Add optional
10520 display argument and use it.
10521 * term/w32-win.el (w32-initialize-window-system):
10522 * term/ns-win.el (ns-initialize-window-system):
10523 * term/pc-win.el (msdos-initialize-window-system):
10524 Add compatible optional display argument.
10525
10526 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10527
10528 * files.el (normal-backup-enable-predicate): On MS-Windows and
10529 MS-DOS compare truenames of temporary-file-directory and of the
10530 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10531 don't fail comparison by compare-strings. Also, compare file
10532 names case-insensitively on MS-Windows and MS-DOS.
10533
10534 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10535
10536 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10537 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10538
10539 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10540
10541 * whitespace.el (whitespace-color-on, whitespace-color-off):
10542 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10543
10544 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10545
10546 * ispell.el (ispell-set-spellchecker-params):
10547 Really set `ispell-args' for all equivs.
10548
10549 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10550
10551 * ido.el (ido-completions): Use extra elements of ido-decorations
10552 (bug#14143).
10553 (ido-decorations): Update docstring.
10554
10555 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10556
10557 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10558 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10559 nil during initialization, in order not to miss changes since the
10560 file was opened. (Bug#14140)
10561
10562 2013-04-05 Leo Liu <sdl.web@gmail.com>
10563
10564 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10565
10566 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10567
10568 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10569
10570 2013-04-04 Glenn Morris <rgm@gnu.org>
10571
10572 * electric.el (electric-pair-inhibit-predicate): Add :version.
10573
10574 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10575
10576 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10577 when a package is required several times (bug#14082).
10578
10579 2013-04-04 Roland Winkler <winkler@gnu.org>
10580
10581 * faces.el (read-face-name): Behave as promised by the docstring.
10582 Assume that arg default is a list of faces.
10583 (describe-face): Call read-face-name with list of default faces.
10584
10585 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10586
10587 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10588 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10589 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10590 the header.
10591 (bookmark-exit-hook-internal): Save even if list is empty.
10592
10593 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10594
10595 * emacs-lisp/package.el (package-pinned-packages): New var.
10596 (package--add-to-archive-contents): Obey it (bug#14118).
10597
10598 2013-04-03 Alan Mackenzie <acm@muc.de>
10599
10600 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10601 Also adapt to the new values of element 7 of a parse state.
10602
10603 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10604 parameter `not-in-delimiter'. Handle being inside comment opener.
10605 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10606 character in case we're typing a '*' after a '/'.
10607 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10608 instead by passing the parameter to c-state-pp-to-literal.
10609
10610 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10611 for elt. 7 of a parse state.
10612
10613 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10614
10615 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10616 * international/latin1-disp.el, international/mule-util.el:
10617 * language/cyril-util.el, language/european.el, language/ind-util.el:
10618 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10619 * language/tibetan.el, language/viet-util.el:
10620 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10621
10622 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10623
10624 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10625 (electric-pair-post-self-insert-function): Use it.
10626 (electric-pair-default-inhibit): New function, extracted from
10627 electric-pair-post-self-insert-function.
10628
10629 2013-03-31 Roland Winkler <winkler@gnu.org>
10630
10631 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10632
10633 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10634
10635 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10636
10637 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10638
10639 Un-indent after "pass" and "return" statements (Bug#13888)
10640 * progmodes/python.el (python-indent-block-enders): New var.
10641 (python-indent-calculate-indentation): Use it.
10642
10643 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10644
10645 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10646 defun. Defining it as defalias could introduce too eager
10647 byte-compiler optimization. (Bug#14030)
10648
10649 2013-03-30 Chong Yidong <cyd@gnu.org>
10650
10651 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10652
10653 2013-03-30 Leo Liu <sdl.web@gmail.com>
10654
10655 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10656 (kmacro-execute-from-register): Pass the keyboard macro to
10657 kmacro-call-macro or repeating won't work correctly.
10658
10659 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10660
10661 * progmodes/subword.el: Back to using `forward-symbol'.
10662
10663 * subr.el (forward-whitespace, forward-symbol)
10664 (forward-same-syntax): Move from thingatpt.el.
10665
10666 2013-03-29 Leo Liu <sdl.web@gmail.com>
10667
10668 * kmacro.el (kmacro-to-register): New command.
10669 (kmacro-execute-from-register): New function.
10670 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10671
10672 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10673
10674 * mpc.el: Use defvar-local and setq-local.
10675 (mpc--proc-connect): Connection failures are not bugs.
10676 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10677 (mpc-volume-map): Bind to the up-events.
10678
10679 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10680
10681 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10682 instead of `forward-symbol'.
10683
10684 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10685
10686 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10687 (edebug--recursive-edit): Use it.
10688 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10689 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10690
10691 2013-03-28 Leo Liu <sdl.web@gmail.com>
10692
10693 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10694
10695 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10696
10697 * facemenu.el (list-colors-callback): New defvar.
10698 (list-colors-redisplay): New function.
10699 (list-colors-display): Install list-colors-redisplay as the
10700 revert-buffer-function. (Bug#14063)
10701
10702 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10703
10704 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10705 and suffixes don't overlap (bug#14061).
10706
10707 * case-table.el: Use lexical-binding.
10708 (case-table-get-table): New function.
10709 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10710
10711 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10712
10713 * progmodes/subword.el: Add `superword-mode' to do word motion
10714 over symbol_words (parallels and leverages `subword-mode' which
10715 does word motion inside MixedCaseWords).
10716
10717 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10718
10719 * eshell/em-unix.el: Move su and sudo to...
10720 * eshell/em-tramp.el: ...Eshell tramp module.
10721
10722 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10723
10724 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10725 Change return value to be a sexp. Delay `get-buffer' to after
10726 restoring the desktop (bug#13951).
10727
10728 2013-03-26 Leo Liu <sdl.web@gmail.com>
10729
10730 * register.el: Move semantic tag handling back to
10731 cedet/semantic/senator.el. (Bug#14052)
10732
10733 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10734
10735 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10736 into the prompt either (bug#13963).
10737
10738 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10739
10740 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10741 part of "(error-foo)".
10742
10743 2013-03-24 Juri Linkov <juri@jurta.org>
10744
10745 * replace.el (list-matching-lines-prefix-face): New defcustom.
10746 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10747 `occur-engine' if `face-differs-from-default-p' returns t.
10748 (occur-engine): Add `,' inside backquote construct to evaluate
10749 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10750 Pass `prefix-face' to the functions `occur-context-lines' and
10751 `occur-engine-add-prefix'.
10752 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10753 `prefix-face' and propertize the prefix with `prefix-face'.
10754 (Bug#14017)
10755
10756 2013-03-24 Leo Liu <sdl.web@gmail.com>
10757
10758 * nxml/rng-valid.el (rng-validate-while-idle)
10759 (rng-validate-quick-while-idle): Guard against deleted buffer.
10760 (Bug#13999)
10761
10762 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10763 is the last entry in kill-buffer-hook.
10764
10765 * files.el (kill-buffer-hook): Doc fix.
10766
10767 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10768
10769 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10770 Make it safe-local.
10771
10772 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10773
10774 2013-03-23 Leo Liu <sdl.web@gmail.com>
10775
10776 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10777 Remove.
10778
10779 * nxml/rng-valid.el (rng-validate-mode)
10780 (rng-after-change-function, rng-do-some-validation):
10781 * nxml/rng-maint.el (rng-validate-buffer):
10782 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10783 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10784 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10785 (nxml-extend-after-change-region): Use with-silent-modifications.
10786
10787 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10788 timer-idle-list.
10789
10790 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10791 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10792 timer-idle-list. (Bug#13999)
10793
10794 2013-03-23 Juri Linkov <juri@jurta.org>
10795
10796 * info.el (info-index-match): New face.
10797 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10798 main pattern and add text properties with the new face to matches
10799 in index entries relative to the beginning of the index entry.
10800 (Bug#14015)
10801
10802 2013-03-21 Eric Ludlam <zappo@gnu.org>
10803
10804 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10805 Inhibit read only while inserting objects.
10806
10807 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10808
10809 * progmodes/cfengine.el: Update docs to mention
10810 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10811 symbol motion. Remove "_" from the word syntax.
10812
10813 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10814
10815 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10816 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10817
10818 2013-03-20 Juri Linkov <juri@jurta.org>
10819
10820 * info.el (Info-next-reference-or-link)
10821 (Info-prev-reference-or-link): New functions.
10822 (Info-next-reference, Info-prev-reference): Use them.
10823 (Info-try-follow-nearest-node): Handle footnote navigation.
10824 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10825
10826 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10827
10828 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10829 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10830
10831 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10832
10833 Suppress unnecessary non-ASCII chatter during build process.
10834 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10835 (batch-skkdic-convert): Suppress most of the chatter.
10836 It's not needed so much now that machines are faster,
10837 and its non-ASCII component was confusing; see Dmitry Gutov in
10838 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10839
10840 2013-03-20 Leo Liu <sdl.web@gmail.com>
10841
10842 * ido.el (ido-chop): Fix bug#10994.
10843
10844 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10845
10846 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10847 Remove vars.
10848 (whitespace-color-on, whitespace-color-off):
10849 Use `font-lock-fontify-buffer' (Bug#13817).
10850
10851 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10852
10853 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10854 remapping in mode-line.
10855 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10856
10857 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10858
10859 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10860 value for `whitespace-line' face (Bug#13875).
10861 (whitespace-font-lock-keywords): Change description.
10862 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10863 the constructed keywords instead.
10864 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10865
10866 2013-03-19 Leo Liu <sdl.web@gmail.com>
10867
10868 * progmodes/compile.el (compilation-display-error): New command.
10869 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10870 C-o. (Bug#13992)
10871
10872 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10873
10874 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10875
10876 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10877
10878 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10879
10880 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10881
10882 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10883
10884 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10885 * net/tramp-gvfs.el (top):
10886 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10887 (tramp-handle-shell-command): Use it.
10888 (tramp-dissect-file-name): Raise an error when hostname is a
10889 method name, and neither method nor user is specified.
10890
10891 * net/trampver.el: Update release number.
10892
10893 2013-03-18 Leo Liu <sdl.web@gmail.com>
10894
10895 Make sure eldoc can be turned off properly.
10896 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10897 eldoc-mode.
10898 (eldoc-display-message-p): Revert last change.
10899 (eldoc-display-message-no-interference-p)
10900 (eldoc-print-current-symbol-info): Tweak.
10901
10902 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10903
10904 * doc-view.el (doc-view-new-window-function): Check the new window
10905 overlay's display property instead the char property of the
10906 buffer's first char. Use `with-selected-window' instead of
10907 `save-window-excursion' with `select-window'.
10908 (doc-view-document->bitmap): Check the current doc-view overlay's
10909 display property instead the char property of the buffer's first char.
10910
10911 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10912
10913 Automate the build of ja-dic.el (Bug#13984).
10914 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10915 from the input, rather than assume that it's been done for us by the
10916 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10917 the current date into a ja-dic.el comment, as that complicates
10918 regression testing.
10919
10920 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10921
10922 * whitespace.el: Fix double evaluation.
10923 (whitespace-space, whitespace-hspace, whitespace-tab)
10924 (whitespace-newline, whitespace-trailing, whitespace-line)
10925 (whitespace-space-before-tab, whitespace-indentation)
10926 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10927 obsolete defvars.
10928 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10929 (whitespace-color-on): Use a single font-lock-add-keywords call.
10930 Fix double-evaluation of face variables.
10931
10932 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10933
10934 * net/tramp-adb.el (tramp-adb-parse-device-names):
10935 Use `start-process' instead of `call-process'. Otherwise, the
10936 function might be blocked under MS Windows. (Bug#13299)
10937
10938 2013-03-17 Leo Liu <sdl.web@gmail.com>
10939
10940 Extend eldoc to display info in the mode-line. (Bug#13978)
10941 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10942 (eldoc-mode-line-string): New variable.
10943 (eldoc-minibuffer-message): New function.
10944 (eldoc-message-function): New variable.
10945 (eldoc-message): Use it.
10946 (eldoc-display-message-p)
10947 (eldoc-display-message-no-interference-p):
10948 Support eldoc-post-insert-mode.
10949
10950 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10951 (eval-expression): Run it.
10952
10953 2013-03-17 Roland Winkler <winkler@gnu.org>
10954
10955 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10956 strings in the list of return values.
10957
10958 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10959
10960 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10961 radix before checking for HMS forms.
10962
10963 2013-03-16 Leo Liu <sdl.web@gmail.com>
10964
10965 * progmodes/scheme.el: Add indentation and font-locking for λ.
10966 (Bug#13975)
10967
10968 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10969
10970 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10971 token before point (bug#13942).
10972
10973 2013-03-16 Leo Liu <sdl.web@gmail.com>
10974
10975 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10976
10977 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10978
10979 * startup.el (command-line-normalize-file-name): Fix handling of
10980 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10981 <xfq.free@gmail.com> in
10982 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10983
10984 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10985
10986 Sync with Tramp 2.2.7.
10987
10988 * net/trampver.el: Update release number.
10989
10990 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10991
10992 * doc-view.el: Fix bug#13887.
10993 (doc-view-insert-image): Don't modify overlay associated to
10994 non-live windows, and implement horizontal centering of image in
10995 case it's smaller than the window.
10996 (doc-view-new-window-function): Force redisplay of new windows on
10997 doc-view buffers.
10998
10999 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11000
11001 * saveplace.el (save-place-alist-to-file): Don't sort
11002 `save-place-alist', just pretty-print it (bug#13882).
11003
11004 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11005
11006 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11007 Check whether `default-file-name-coding-system' is bound.
11008 It isn't in XEmacs.
11009
11010 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11011
11012 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11013 backquotes for `obsolete' (bug#13929).
11014
11015 * international/mule.el (find-auto-coding): Include file name in
11016 obsolescence warning (bug#13922).
11017
11018 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11019
11020 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11021 for CFEngine 3-specific indentation.
11022 (cfengine3-indent-line): Use it. Fix up category regex.
11023 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11024
11025 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11026
11027 * type-break.el (type-break-file-name):
11028 * textmodes/remember.el (remember-data-file):
11029 * strokes.el (strokes-file):
11030 * shadowfile.el (shadow-initialize):
11031 * saveplace.el (save-place-file):
11032 * ps-bdf.el (bdf-cache-file):
11033 * progmodes/idlwave.el (idlwave-config-directory):
11034 * net/quickurl.el (quickurl-url-file):
11035 * international/kkc.el (kkc-init-file-name):
11036 * ido.el (ido-save-directory-list-file):
11037 * emulation/viper.el (viper-custom-file-name):
11038 * emulation/vip.el (vip-startup-file):
11039 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11040 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11041
11042 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11043
11044 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11045 * language/thai-word.el: Switch to UTF-8.
11046
11047 See ChangeLog.16 for earlier changes.
11048
11049 ;; Local Variables:
11050 ;; coding: utf-8
11051 ;; End:
11052
11053 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11054
11055 This file is part of GNU Emacs.
11056
11057 GNU Emacs is free software: you can redistribute it and/or modify
11058 it under the terms of the GNU General Public License as published by
11059 the Free Software Foundation, either version 3 of the License, or
11060 (at your option) any later version.
11061
11062 GNU Emacs is distributed in the hope that it will be useful,
11063 but WITHOUT ANY WARRANTY; without even the implied warranty of
11064 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11065 GNU General Public License for more details.
11066
11067 You should have received a copy of the GNU General Public License
11068 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.