Add load-prefer-newer option, to load .el if newer than .elc
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-18 Glenn Morris <rgm@gnu.org>
2
3 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
4
5 2013-12-18 Le Wang <l26wang@gmail.com>
6
7 * comint.el (comint-previous-matching-input-from-input): Retain
8 point (Bug#13404).
9
10 2013-12-18 Chong Yidong <cyd@gnu.org>
11
12 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
13
14 2013-12-18 Glenn Morris <rgm@gnu.org>
15
16 * cus-start.el (load-prefer-newer): New option.
17
18 * mail/emacsbug.el (report-emacs-bug):
19 Only mention enable-multibyte-characters if non-standard.
20
21 2013-12-17 Juri Linkov <juri@jurta.org>
22
23 * arc-mode.el (archive-extract-by-file): Check if directory exists
24 before deletion to not show irrelevant errors if it doesn't exist.
25
26 2013-12-17 Juri Linkov <juri@jurta.org>
27
28 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
29 (Bug#14751)
30
31 * net/eww.el (browse-web): Add alias to `eww'.
32 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
33 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
34
35 * net/browse-url.el (browse-url-browser-function): Move `eww'
36 closer to similar functions.
37
38 * startup.el (fancy-startup-screen, fancy-about-screen):
39 Set browse-url-browser-function to eww-browse-url locally.
40 (Bug#14751)
41
42 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
43
44 * window.el (window--pixel-to-total): Remove unused `mini' var.
45 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
46 (split-window): Remove unused `new' var.
47 (window--display-buffer): Remove unused `frame' and `delta' vars.
48 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
49 and display-width'.
50
51 2013-12-17 Martin Rudalics <rudalics@gmx.at>
52
53 * dired.el (dired-mark-pop-up):
54 * register.el (register-preview): Don't bind
55 split-height-threshold here since it's now done in
56 display-buffer-below-selected.
57
58 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
59
60 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
61 xterm-rgb-convert-to-16bit.
62 (rxvt-register-default-colors): Standardize with
63 xterm-register-default-colors (Bug#14078).
64
65 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
66
67 * simple.el (kill-region): Pass mark first, then point, so that
68 kill-append works right (Bug#12819).
69 (copy-region-as-kill, kill-ring-save): Likewise.
70
71 2013-12-17 Leo Liu <sdl.web@gmail.com>
72
73 * net/rcirc.el (rcirc-add-face):
74 * eshell/em-prompt.el (eshell-emit-prompt):
75 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
76 (Bug#16167)
77
78 2013-12-17 Chong Yidong <cyd@gnu.org>
79
80 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
81 Suggested by Xue Fuqiao.
82
83 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
84
85 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
86
87 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
88
89 * net/shr.el (shr-insert-document): Remove unused var
90 `shr-preliminary-table-render'.
91 (shr-rescale-image): Remove unused arg `force'.
92 (shr-put-image): Update calls accordingly.
93 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
94
95 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
96
97 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
98 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
99 :close-all, to see which indentation method to use (Bug#16116).
100 (smie-rules-function): Document the method :close-all.
101
102 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
103
104 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
105
106 * net/eww.el (eww-display-html): If we can't find the anchor we're
107 looking for, then go to point-min.
108
109 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
110
111 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
112 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
113 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
114 Expand dir too, in case it's relative.
115
116 2013-12-16 Juri Linkov <juri@jurta.org>
117
118 * desktop.el (desktop-auto-save-timeout): Change default to
119 `auto-save-timeout'. Doc fix.
120 (desktop-save): Skip the timestamp in desktop-saved-frameset
121 when checking for auto-save changes.
122 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
123 `desktop-auto-save' is called repeatedly by the idle timer.
124 (desktop-auto-save-set-timer): Replace `run-with-timer' with
125 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
126 (Bug#15331)
127
128 2013-12-16 Juri Linkov <juri@jurta.org>
129
130 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
131 (Bug#16035)
132 (isearch-pre-command-hook): Check `this-command' for symbolp.
133
134 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
135
136 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
137
138 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
139
140 * progmodes/cfengine.el (cfengine3--current-word): Remove.
141 (cfengine3--current-function): Bring in the current-function
142 functionality from `cfengine3--current-word'.
143 (cfengine3-completion-function): Bring in the
144 bounds-of-current-word functionality from
145 `cfengine3--current-word'.
146
147 2013-12-16 Martin Rudalics <rudalics@gmx.at>
148
149 * window.el (display-buffer-below-selected):
150 Bind split-height-threshold to 0 as suggested by Juri Linkov.
151
152 2013-12-16 Leo Liu <sdl.web@gmail.com>
153
154 * progmodes/compile.el (compile-goto-error): Do not push-mark.
155 Remove NOMSG arg and all uses changed.
156
157 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
158
159 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
160 (cua--deactivate-rectangle): Don't deactivate the mark.
161 (cua-set-rectangle-mark): Don't set mark-active since
162 cua--activate-rectangle already does it for us.
163 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
164 non-rectangular region.
165
166 * emulation/cua-base.el (cua-repeat-replace-region):
167 Use with-current-buffer.
168
169 * net/gnutls.el: Use cl-lib.
170 (gnutls-negotiate): `mapcan' -> cl-mapcan.
171
172 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
173
174 * emacs-lisp/package.el (package-built-in-p): Support both
175 built-in and the package.el converted package descriptions.
176 (package-show-package-list): Allow keywords.
177 (package-keyword-button-action): Use it instead of
178 `finder-list-matches'.
179 (package-menu-filter-interactive): Interactive filtering (by
180 keyword) function.
181 (package-menu--generate): Support keywords and change keymappings
182 and headers when they are given.
183 (package--has-keyword-p): Helper function.
184 (package-menu--refresh): Use it.
185 (package--mapc): Helper function.
186 (package-all-keywords): Use it.
187 (package-menu-mode-map): Set up menu items and keybindings to
188 provide a filtering UI.
189
190 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
191
192 * net/gnutls.el (gnutls-verify-error): New defcustom to control
193 the behavior when a certificate fails validation. Defaults to
194 old behavior: never abort, just warn.
195 (gnutls-negotiate): Use it.
196
197 2013-12-14 Martin Rudalics <rudalics@gmx.at>
198
199 * window.el (display-buffer-below-selected): Never split window
200 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
201
202 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
203
204 * emacs-lisp/package.el (package--prepare-dependencies): New function.
205 (package-buffer-info): Use it (bug#15108).
206
207 * icomplete.el (icomplete-completions): Make sure the prefix is already
208 displayed elsewhere before hiding it.
209
210 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
211
212 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
213 open-paren tokens when preceded by a open-paren, too.
214 (ruby-smie-rules): Handle virtual indentation after open-paren
215 tokens specially. If there is code between it and eol, return the
216 column where is starts (Bug#16118).
217
218 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
219
220 * progmodes/cfengine.el: Fix `add-hook' doc.
221 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
222 (cfengine3--current-word): Fix parameters.
223 (cfengine3-make-syntax-cache): Simplify further.
224 (cfengine3-completion-function, cfengine3--current-function):
225 Use `assq' for symbols.
226 (cfengine3--current-function): Fix `cfengine3--current-word' call.
227
228 2013-12-13 Glenn Morris <rgm@gnu.org>
229
230 * loadup.el (load-path): Warn if site-load or site-init changes it.
231 No more need to reset it when bootstrapping.
232
233 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
234
235 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
236 locations for cf-promises.
237 (cfengine-mode-syntax-functions-regex): New caching variable.
238 (cfengine3-fallback-syntax): Fallback syntax for cases where
239 cf-promises doesn't run.
240 (cfengine3--current-word): Reimplement using
241 `cfengine-mode-syntax-functions-regex'.
242 (cfengine3-completion-function, cfengine3--current-function):
243 Use `cfengine3-make-syntax-cache' directly.
244 (cfengine3-clear-syntax-cache): New function.
245 (cfengine3-make-syntax-cache): Simplify and create
246 `cfengine-mode-syntax-functions-regex' on demand.
247 (cfengine3-format-function-docstring): Don't call
248 `cfengine3-make-syntax-cache' explicitly.
249
250 2013-12-13 Martin Rudalics <rudalics@gmx.at>
251
252 Fix windmove-find-other-window broken after pixelwise resizing
253 (Bug#16017).
254 * windmove.el (windmove-other-window-loc): Revert change from
255 2013-12-04.
256 (windmove-find-other-window): Call window-in-direction.
257 * window.el (window-in-direction): New arguments SIGN, WRAP and
258 MINI to emulate original windmove-find-other-window behavior.
259
260 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
261
262 * simple.el (blink-matching--overlay): New variable.
263 (blink-matching-open): Instead of moving point, highlight the
264 matching paren with an overlay
265 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
266
267 * faces.el (paren-showing-faces, show-paren-match)
268 (show-paren-mismatch): Move from paren.el.
269
270 2013-12-13 Leo Liu <sdl.web@gmail.com>
271
272 * indent.el (indent-region): Disable progress reporter in
273 minibuffer. (Bug#16108)
274
275 * bindings.el (visual-order-cursor-movement): Fix version.
276
277 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
278
279 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
280 Also match after beginning of line.
281 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
282 files. Thanks to Russell Sim. (Bug#15378)
283
284 2013-12-13 Juri Linkov <juri@jurta.org>
285
286 * simple.el <Keypad support>: Remove key bindings duplicated
287 with bindings.el. (Bug#14397)
288
289 2013-12-13 Juri Linkov <juri@jurta.org>
290
291 * comint.el (comint-mode-map): Replace `delete-char' with
292 `delete-forward-char'. (Bug#16109)
293
294 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
295
296 * progmodes/python.el (python-indent-calculate-indentation):
297 Fix de-denters cornercase. (Bug#15731)
298
299 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
300
301 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
302 (advice--make): Pay attention to `depth'.
303 (advice--make-1): Don't autoload commands eagerly.
304 * emacs-lisp/elp.el (elp-instrument-function):
305 * emacs-lisp/trace.el (trace-function-internal):
306 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
307
308 * iswitchb.el (iswitchb-mode): Don't belittle ido.
309
310 2013-12-12 Eli Zaretskii <eliz@gnu.org>
311
312 * term/w32-win.el (w32-handle-dropped-file):
313 * startup.el (normal-top-level):
314 * net/browse-url.el (browse-url-file-url):
315 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
316 decode file names using 'utf-8' rather than
317 file-name-coding-system.
318
319 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
320
321 * progmodes/python.el (python-indent-context)
322 (python-indent-calculate-indentation): Fix auto-identation
323 behavior for comment blocks. (Bug#15916)
324
325 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
326
327 * progmodes/python.el (python-indent-calculate-indentation):
328 When determining indentation, don't treat "return", "pass", etc., as
329 operators when they are just string constituents. (Bug#15812)
330
331 2013-12-12 Juri Linkov <juri@jurta.org>
332
333 * uniquify.el (uniquify-buffer-name-style): Change default to
334 `post-forward-angle-brackets'.
335
336 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
337 `uniquify'. Change default to `post-forward-angle-brackets'.
338
339 2013-12-11 Glenn Morris <rgm@gnu.org>
340
341 * emacs-lisp/package.el (finder-list-matches):
342 Autoload rather than falsely declaring.
343
344 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
345
346 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
347 (eww-mode-map): Use them.
348
349 2013-12-11 Martin Rudalics <rudalics@gmx.at>
350
351 * window.el (display-buffer-in-side-window): Fix doc-string
352 (Bug#16115).
353
354 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
355
356 * vc/vc-git.el: Silence byte-compiler warnings.
357 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
358 (log-edit-set-header): Declare.
359
360 2013-12-11 Eli Zaretskii <eliz@gnu.org>
361
362 * Makefile.in (custom-deps, finder-data): Run output file names
363 through unmsys--file-name. (Bug#16099)
364
365 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
366
367 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
368 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
369
370 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
371 instead of deleting the selection "by hand" (bug#16098).
372 Rely on insert-for-yank to yank rectangles.
373 (cua-highlight-region-shift-only): Mark obsolete.
374 (cua-mode): Don't enable/disable transient-mark-mode,
375 shift-select-mode (cua-mode works both with and without them), and
376 pc-selection-mode (obsolete).
377 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
378 (cua--deactivate-rectangle): Deactivate it.
379
380 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
381 (delete-selection-helper): Make sure yank starts at the top of the
382 deleted region.
383 (minibuffer-keyboard-quit): Use region-active-p.
384
385 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
386
387 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
388 to `delete' (bug#16109).
389
390 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
391
392 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
393 info manual and show keybindings and set `:group' keyword.
394
395 2013-12-11 Juri Linkov <juri@jurta.org>
396
397 * delsel.el (delete-active-region): Let-bind `this-command'
398 to prevent `kill-region' from changing its original value.
399 (delete-selection-helper): Handle `overwrite-mode' for the type
400 `kill' exactly the same way as for the type `t'.
401 (insert-char, quoted-insert, reindent-then-newline-and-indent):
402 Support more commands. (Bug#13312)
403
404 2013-12-11 Juri Linkov <juri@jurta.org>
405
406 * bindings.el: Map kp keys to non-kp keys systematically
407 with basic modifiers control, meta and shift. (Bug#14397)
408
409 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
410
411 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
412 "Close browser" menu items. Fix wrong function of "List
413 bookmarks".
414
415 2013-12-11 Juri Linkov <juri@jurta.org>
416
417 * misearch.el (multi-isearch-buffers): Set the value of
418 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
419 arg of isearch-forward to t.
420 (multi-isearch-buffers-regexp): Set the value of
421 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
422 arg of isearch-forward-regexp to t.
423 (multi-isearch-files): Set the value of
424 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
425 arg of isearch-forward to t.
426 (multi-isearch-files-regexp): Set the value of
427 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
428 arg of isearch-forward-regexp to t. (Bug#16035)
429
430 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
431 arg of isearch-forward to t.
432 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
433 arg of isearch-forward-regexp to t.
434 (dired-isearch-filter-filenames): Remove unnecessary check for
435 `dired-isearch-filenames'.
436
437 * comint.el (comint-history-isearch-backward):
438 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
439 (comint-history-isearch-backward-regexp):
440 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
441
442 2013-12-10 Eli Zaretskii <eliz@gnu.org>
443
444 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
445 unmsys--file-name. (Bug#16099)
446
447 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
448
449 * emacs-lisp/package.el (package-keyword-button-action):
450 Remove finder.el require dependency.
451
452 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
453
454 * emacs-lisp/package.el: Require finder.el.
455 (describe-package-1): Add keyword buttons.
456 (package-make-button): New convenience function.
457 (package-keyword-button-action): Keyword button action using
458 `finder-list-matches'
459
460 2013-12-09 Eli Zaretskii <eliz@gnu.org>
461
462 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
463 last commit.
464
465 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
466
467 * autorevert.el (auto-revert-notify-add-watch): Do not handle
468 symlinked files.
469
470 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
471
472 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
473 after the end of a percent literal.
474
475 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
476
477 * progmodes/ruby-mode.el (ruby-forward-string): Document.
478 Handle caret-delimited strings (Bug#16079).
479
480 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
481
482 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
483 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
484 `ruby-parse-partial' (Bug#16078).
485
486 2013-12-09 Leo Liu <sdl.web@gmail.com>
487
488 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
489
490 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
491
492 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
493 (js-switch-indent-offset): New option.
494 (js--proper-indentation): Use it. And handle the case when
495 "default" is actually a key in an object literal.
496 (js--same-line): New function.
497 (js--multi-line-declaration-indentation): Use it.
498 (js--indent-in-array-comp, js--array-comp-indentation):
499 New functions.
500 (js--proper-indentation): Use them, to handle array comprehension
501 continuations.
502
503 2013-12-08 Leo Liu <sdl.web@gmail.com>
504
505 * progmodes/flymake.el (flymake-highlight-line): Re-write.
506 (flymake-make-overlay): Remove arg MOUSE-FACE.
507 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
508
509 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
510
511 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
512 New function.
513 (redisplay-highlight-region-function): Use it.
514
515 * emulation/cua-base.el (cua--explicit-region-start)
516 (cua--last-region-shifted): Remove.
517 (cua--deactivate): Use deactivate-mark.
518 (cua--pre-command-handler-1): Don't handle shift-selection.
519 (cua--post-command-handler-1): Don't change transient-mark-mode.
520 (cua--select-keymaps): Use region-active-p rather than
521 cua--explicit-region-start or cua--last-region-shifted.
522 (cua-mode): Enable shift-select-mode.
523
524 2013-12-08 Leo Liu <sdl.web@gmail.com>
525
526 * progmodes/flymake.el (flymake-popup-current-error-menu):
527 Rename from flymake-display-err-menu-for-current-line. Reimplement.
528 (flymake-posn-at-point-as-event, flymake-popup-menu)
529 (flymake-make-emacs-menu): Remove. (Bug#16077)
530
531 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
532
533 * rect.el (rectangle-mark-mode): Activate mark even if
534 transient-mark-mode is off (bug#16066).
535 (rectangle--highlight-for-redisplay): Fix boundary condition when point
536 is > mark and at bolp.
537
538 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
539 (region-extract-function): Use it.
540 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
541 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
542 Delete functions.
543 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
544 kill-ring-save, kill-region, delete-char, delete-forward-char.
545 Ignore self-insert-iso.
546
547 * emulation/cua-gmrk.el (cua--init-global-mark):
548 Ignore `self-insert-iso'.
549
550 * emulation/cua-base.el (cua--prefix-copy-handler)
551 (cua--prefix-cut-handler): Rely on region-extract-function rather than
552 checking cua--rectangle.
553 (cua-delete-region): Use region-extract-function.
554 (cua-replace-region): Delete function.
555 (cua-copy-region, cua-cut-region): Obey region-extract-function.
556 (cua--pre-command-handler-1): Don't do the delete-selection thing.
557 (cua--self-insert-char-p): Ignore `self-insert-iso'.
558 (cua--init-keymaps): Don't remap delete-selection commands.
559 (cua-mode): Use delete-selection-mode instead of rolling our own
560 (bug#16085).
561
562 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
563 Obey region-extract-function.
564
565 Make registers and delete-selection-mode work on rectangles.
566 * register.el (describe-register-1): Don't modify the register's value.
567 (copy-to-register): Obey region-extract-function.
568 * delsel.el (delete-active-region): Obey region-extract-function.
569
570 2013-12-08 Leo Liu <sdl.web@gmail.com>
571
572 * progmodes/flymake.el (flymake, flymake-error-bitmap)
573 (flymake-warning-bitmap, flymake-fringe-indicator-position)
574 (flymake-compilation-prevents-syntax-check)
575 (flymake-start-syntax-check-on-newline)
576 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
577 (flymake-start-syntax-check-on-find-file, flymake-log-level)
578 (flymake-xml-program, flymake-master-file-dirs)
579 (flymake-master-file-count-limit)
580 (flymake-allowed-file-name-masks): Relocate.
581 (flymake-makehash, flymake-float-time)
582 (flymake-replace-regexp-in-string, flymake-split-string)
583 (flymake-get-temp-dir): Remove.
584 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
585 (flymake-current-row, flymake-selected-frame)
586 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
587 related functions. (Bug#16077)
588
589 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
590
591 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
592
593 2013-12-07 Tassilo Horn <tsdh@gnu.org>
594
595 * help-fns.el (describe-function-1): Use new advice-* functions
596 rather than old ad-* functions. Fix function type description and
597 source links for advised functions and subrs.
598
599 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
600
601 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
602
603 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
604
605 * progmodes/compile.el (compilation-start):
606 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
607
608 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
609 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
610
611 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
612
613 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
614 Touch up the last change.
615
616 2013-12-06 Leo Liu <sdl.web@gmail.com>
617
618 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
619 (inferior-octave-startup): Always use "octave> " for prompt.
620 (octave-goto-function-definition)
621 (octave-sync-function-file-names)
622 (octave-find-definition-default-filename): Remove redundant backquotes.
623
624 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
625
626 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
627 syntax for `?'.
628 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
629 where appropriate already.
630 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
631 end of method names (Bug#15874).
632
633 2013-12-06 Juri Linkov <juri@jurta.org>
634
635 * isearch.el (isearch--saved-overriding-local-map):
636 New internal variable.
637 (isearch-mode): Set it to the initial value of
638 `overriding-terminal-local-map'.
639 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
640 with `isearch--saved-overriding-local-map'. (Bug#16035)
641
642 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
643
644 * progmodes/octave.el (inferior-octave-completion-table):
645 Turn back into function, use `completion-table-with-cache'
646 (Bug#11906). Update all references.
647
648 * minibuffer.el (completion-table-with-cache): New function.
649
650 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
651
652 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
653
654 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
655
656 * net/eww.el (eww-current-source): New variable to store page
657 source.
658 (eww-display-html, eww-mode, eww-save-history)
659 (eww-restore-history): Use it.
660 (eww-view-source): New command to view page source.
661 Opportunistically uses `html-mode' to highlight the buffer.
662 (eww-mode-map): Install it.
663
664 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
665
666 * net/dbus.el (dbus-unregister-service)
667 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
668 Fix docstring.
669 (dbus-unregister-service): Skip :serial entries in
670 `dbus-registered-objects-table'.
671 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
672
673 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
674
675 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
676 around keywords with extra `split-string' argument.
677
678 2013-12-04 Martin Rudalics <rudalics@gmx.at>
679
680 * windmove.el (windmove-other-window-loc): Handle navigation
681 between windows (excluding the minibuffer window - Bug#16017).
682
683 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
684
685 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
686 in D-Bus type syntax.
687 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
688 preserve unibyte strings. (Bug#16048)
689
690 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
691
692 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
693 Call force-mode-line-update is the proper buffer (bug#16042).
694
695 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
696
697 * vc/log-edit.el (log-edit-add-new-comment): Rename to
698 `log-edit-remember-comment', make argument optional. Adjust all
699 callers.
700 (log-edit-mode): Add `log-edit-remember-comment' to
701 `kill-buffer-hook' locally.
702 (log-edit-kill-buffer): Don't remember comment explicitly since
703 the buffer is killed anyway.
704
705 2013-12-04 Juri Linkov <juri@jurta.org>
706
707 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
708 add-hook and remove-hook for multi-buffer search. (Bug#16035)
709
710 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
711
712 * notifications.el (notifications-close-notification): Call the
713 D-Bus method with ID being a `:uint32'. (Bug#16030)
714
715 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
716
717 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
718
719 2013-12-03 Juri Linkov <juri@jurta.org>
720
721 * progmodes/compile.el (compilation-start): Rename window alist
722 entry `no-display-ok' to `allow-no-window'.
723
724 * simple.el (shell-command): Add window alist entry
725 `allow-no-window' to `display-buffer'.
726 (async-shell-command): Doc fix.
727
728 * window.el (display-buffer-no-window): New action function.
729 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
730
731 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
732
733 * vc/log-edit.el (log-edit-set-header): Extract from
734 `log-edit-toggle-header'.
735 (log-edit-extract-headers): Separate the summary, when extracted
736 from header, from the rest of the message with an empty line.
737
738 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
739 line, if present, to the Summary header.
740
741 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
742
743 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
744 in current-buffer (bug#16029).
745
746 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
747
748 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
749 (debugger-mode-map): Bind it.
750 (debugger--backtrace-base): New function.
751 (debugger-eval-expression): Use it.
752 (debugger-frame-number): Skip local vars when present.
753 (debugger--locals-visible-p, debugger--insert-locals)
754 (debugger--show-locals, debugger--hide-locals): New functions.
755
756 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
757
758 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
759 "LC_ALL".
760 (tramp-get-remote-locale): New defun.
761 (tramp-open-connection-setup-interactive-shell): Use it.
762
763 2013-12-02 Leo Liu <sdl.web@gmail.com>
764
765 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
766
767 * progmodes/sh-script.el (sh-shell-process):
768 * progmodes/octave.el (inferior-octave-process-live-p):
769 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
770 (gdb-inferior-io-sentinel):
771 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
772
773 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
774
775 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
776 `save-selected-window' to `log-edit-hide-buf'. This makes
777 `log-edit-show-files' idempotent.
778 (log-edit-show-files): Mark the new window as dedicated.
779
780 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
781
782 * vc/log-edit.el (log-edit-mode-map): Add binding for
783 `log-edit-kill-biffer'.
784 (log-edit-hide-buf): Add a FIXME comment.
785 (log-edit-add-new-comment): New function, extracted from
786 `log-edit-done'.
787 (log-edit-done, log-edit-add-to-changelog): Use it.
788 (log-edit-kill-buffer): New command.
789
790 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
791
792 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
793 instead of killing the buffer.
794
795 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
796
797 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
798
799 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
800
801 * net/eww.el (eww-form-checkbox-selected-symbol)
802 (eww-form-checkbox-symbol): New customizable variable.
803 (eww-form-checkbox, eww-toggle-checkbox):
804 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
805
806 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
807 (shr--get-media-pref, shr--extract-best-source): New function.
808 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
809 no :src tag was specified.
810
811 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
812 (eww-render): Handle `eww-use-external-browser-for-content-type'.
813 Use \\` to match beginning of string instead of ^.
814 (eww-browse-with-external-browser): Provide optional URL parameter.
815 (eww-render): Set `eww-current-title' back to "".
816
817 * net/shr.el (shr-tag-video): Display content for video if no
818 poster is available.
819 (shr-tag-audio): Add support for <audio> tag.
820
821 * net/eww.el (eww-text-input-types): : New const.
822 (eww-process-text-input): Treat input types in
823 `eww-text-input-types' as text.
824
825 * net/shr.el (shr-tag-table): Fix comment typo.
826
827 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
828
829 * net/eww.el (eww-follow-link): New command to avoid reloading
830 pages when we follow #target links (bug#15243).
831 (eww-quit): Special mode buffers shouldn't query before exiting.
832
833 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
834
835 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
836 forms.
837
838 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
839
840 * net/eww.el (eww-restore-history): Update the window title after
841 moving in the history.
842 (eww-current-dom): New variable used to save the current DOM.
843
844 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
845
846 * vc/log-edit.el (log-edit-mode-map): Add binding for
847 `log-edit-beginning-of-line'.
848 (log-edit-setup-add-author): New user option.
849 (log-edit-beginning-of-line): New command.
850 (log-edit): Move major mode call above the contents setup so that
851 the local variable values are already applied.
852 (log-edit): Only insert "Author: " when
853 `log-edit-setup-add-author' is non-nil.
854 (log-edit): When SETUP is non-nil, position point after ": "
855 instead of point-min.
856
857 2013-12-01 Glenn Morris <rgm@gnu.org>
858
859 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
860
861 2013-11-30 Eli Zaretskii <eliz@gnu.org>
862
863 * startup.el (fancy-splash-frame): On MS-Windows, trigger
864 redisplay to make sure the initial frame gets a chance to become
865 visible. (Bug#16014)
866
867 2013-11-30 Martin Rudalics <rudalics@gmx.at>
868
869 Support resizing frames and windows pixelwise.
870 * cus-start.el (frame-resize-pixelwise)
871 (window-resize-pixelwise): New entries.
872 * emacs-lisp/debug.el (debug): Use window-total-height instead
873 of window-total-size.
874 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
875 * help.el (describe-bindings-internal): Call help-buffer
876 (temp-buffer-max-width): New option.
877 (resize-temp-buffer-window, help-window-setup)
878 (with-help-window): Rewrite.
879 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
880 dragging dividers.
881 * window.el (frame-char-size, window-min-pixel-height)
882 (window-safe-min-pixel-height, window-safe-min-pixel-width)
883 (window-min-pixel-width, window-safe-min-pixel-size)
884 (window-combination-p, window-safe-min-size)
885 (window-resizable-p, window--size-to-pixel)
886 (window--pixel-to-size, window--resize-apply-p): New functions.
887 (window-safe-min-height): Fix doc-string.
888 (window-size, window-min-size, window--min-size-1)
889 (window-sizable, window-sizable-p, window--min-delta-1)
890 (window-min-delta, window--max-delta-1, window-max-delta)
891 (window--resizable, window--resizable-p, window-resizable)
892 (window-full-height-p, window-full-width-p, window-at-side-p)
893 (window--in-direction-2, window-in-direction)
894 (window--resize-reset-1, window--resize-mini-window)
895 (window-resize, window-resize-no-error)
896 (window--resize-child-windows-normal)
897 (window--resize-child-windows, window--resize-siblings)
898 (window--resize-this-window, window--resize-root-window)
899 (window--resize-root-window-vertically)
900 (adjust-window-trailing-edge, enlarge-window, shrink-window)
901 (maximize-window, minimize-window, delete-window)
902 (quit-restore-window, window-split-min-size, split-window)
903 (balance-windows-2, balance-windows)
904 (balance-windows-area-adjust, balance-windows-area)
905 (window--state-get-1, window-state-get, window--state-put-1)
906 (window--state-put-2, window-state-put)
907 (display-buffer-record-window, window--display-buffer):
908 Make functions handle pixelwise sizing of windows.
909 (display-buffer--action-function-custom-type)
910 (display-buffer-fallback-action):
911 Add display-buffer-in-previous-window.
912 (display-buffer-use-some-window): Resize window to height it had
913 before.
914 (fit-window-to-buffer-horizontally): New option.
915 (fit-frame-to-buffer): Describe new values.
916 (fit-frame-to-buffer-bottom-margin): Replace with
917 fit-frame-to-buffer-margins.
918 (window--sanitize-margin): New function.
919 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
920 using window-text-pixel-size.
921
922 2013-11-30 Glenn Morris <rgm@gnu.org>
923
924 * emacs-lisp/bytecomp.el (byte-compile-form):
925 Make the `interactive-only' warning like the `obsolete' one.
926 * comint.el (comint-run):
927 * files.el (insert-file-literally, insert-file):
928 * replace.el (replace-string, replace-regexp):
929 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
930 (goto-line, insert-buffer, next-line, previous-line):
931 Tweak `interactive-only' spec.
932
933 Stop keeping (most) generated cedet grammar files in the repository.
934 * Makefile.in (semantic): New.
935 (compile-main): Depend on semantic.
936
937 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
938
939 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
940 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
941
942 * uniquify.el (uniquify-buffer-name-style): Change default.
943
944 * loadup.el: Preload "uniquify".
945
946 * time.el (display-time-update): Update all mode lines (bug#15999).
947
948 * electric.el (electric-indent-mode): Enable by default.
949 * loadup.el: Preload "electric".
950
951 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
952
953 * emacs-lisp/helpers.el (string-empty-p): New function.
954 (string-blank-p): New function.
955
956 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
957
958 * imenu.el (imenu--index-alist): Add missing dot to the docstring
959 (Bug#14029).
960
961 2013-11-29 Andreas Politz <politza@fh-trier.de>
962 * imenu.el (imenu--subalist-p): Don't error on non-conses and
963 allow non-lambda lists as functions.
964 (imenu--in-alist): Don't recurse into non-subalists.
965 (imenu): Don't pass function itself as an argument (Bug#14029).
966
967 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
968
969 * progmodes/python.el (python-mode-map): Remove binding for ":".
970 (python-indent-electric-colon): Remove command.
971 (python-indent-post-self-insert-function): Integrate the previous code
972 of python-indent-electric-colon. Make it conditional on
973 electric-indent-mode.
974 (python-mode): Add ?: to electric-indent-chars.
975 Move python-indent-post-self-insert-function to the end of
976 post-self-insert-hook.
977
978 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
979
980 * doc-view.el (doc-view-goto-page): Update mode-line.
981
982 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
983
984 2013-11-27 Glenn Morris <rgm@gnu.org>
985
986 * international/charprop.el, international/uni-bidi.el:
987 * international/uni-category.el, international/uni-combining.el:
988 * international/uni-comment.el, international/uni-decimal.el:
989 * international/uni-decomposition.el, international/uni-digit.el:
990 * international/uni-lowercase.el, international/uni-mirrored.el:
991 * international/uni-name.el, international/uni-numeric.el:
992 * international/uni-old-name.el, international/uni-titlecase.el:
993 * international/uni-uppercase.el:
994 Remove generated files from VCS repository.
995
996 2013-11-27 Eli Zaretskii <eliz@gnu.org>
997
998 * filenotify.el (file-notify-add-watch): Don't special-case
999 w32notify when computing the directory to watch.
1000
1001 2013-11-27 Glenn Morris <rgm@gnu.org>
1002
1003 Make bootstrap without generated uni-*.el files possible again.
1004 * loadup.el: Update command-line-args checking for unidata-gen.
1005 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1006 * composite.el, international/characters.el:
1007 Handle unicode tables being undefined.
1008
1009 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1010 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1011 (compile-main): Depend on leim rule.
1012 (leim): New rule.
1013 * loadup.el: Move leim-list.el to leim/ subdirectory.
1014 * startup.el (normal-top-level): No more leim directory.
1015 * international/ja-dic-cnv.el (skkdic-convert):
1016 Disable version-control and autoloads in output files.
1017 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1018 Disable version-control and autoloads in output files.
1019 * leim/quail: Move here from ../leim.
1020 * leim/quail/hangul.el (hangul-input-method-activate):
1021 Add autoload cookie.
1022 (generated-autoload-load-name): Set file-local value.
1023 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1024 (generated-autoload-load-name): Set file-local value.
1025
1026 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1027
1028 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1029 (eww-add-bookmark): ask confirmation when add to bookmarks
1030 (eww-quit): ask confirmation before quitting eww
1031
1032 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1033
1034 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1035 reading output from Diff on MS-Windows and MS-DOS.
1036
1037 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1038
1039 * emacs-lisp/helpers.el (string-reverse): New function.
1040
1041 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1042
1043 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1044 names on MS Windows, like "/[::1]:".
1045
1046 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1047 SWITCHES.
1048
1049 2013-11-26 Glenn Morris <rgm@gnu.org>
1050
1051 * progmodes/python.el (python-indent-guess-indent-offset):
1052 Avoid corner-case error. (Bug#15975)
1053
1054 Preload leim-list.el. (Bug#4789)
1055 * loadup.el: Load leim-list.el when found.
1056 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1057
1058 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1059
1060 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1061
1062 * emacs-lisp/helpers.el (string-join): New function.
1063
1064 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1065
1066 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1067 Mark as obsolete and replace it with a symbol property.
1068 (byte-compile-form): Use new 'interactive-only property.
1069 * comint.el, files.el, replace.el, simple.el:
1070 Apply new 'interactive-only properly.
1071
1072 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1073
1074 * window.el (display-buffer-at-bottom): Make sure that
1075 split-window-sensibly creates the new window on bottom
1076 (Bug#15961).
1077
1078 2013-11-23 David Kastrup <dak@gnu.org>
1079
1080 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1081 on the conflict markers when available.
1082 (smerge--get-marker): New function.
1083 (smerge-end-re, smerge-base-re): Add subgroup.
1084
1085 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1086
1087 * frame.el (handle-focus-in, handle-focus-out): Add missing
1088 interactive spec.
1089
1090 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1091
1092 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1093 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1094
1095 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1096
1097 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1098 (gomoku--last-pos): New var.
1099 (gomoku--intangible-chars): New const.
1100 (gomoku--intangible): New function.
1101 (gomoku-mode): Use it. Derive from special-mode.
1102 (gomoku-move-up): Adjust line count.
1103 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1104 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1105 Simplify accordingly.
1106
1107 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1108 Remove blink-cursor code.
1109 (blink-cursor-timer-function, blink-cursor-suspend):
1110 Don't special-case GUIs.
1111 (blink-cursor-mode): Use focus-in/out-hook.
1112
1113 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1114
1115 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1116 work when annotation is invisible (Bug#13886).
1117
1118 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1119
1120 * json.el (json-alist-p): Only return non-nil if the alist has
1121 simple keys (Bug#13518).
1122
1123 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1124
1125 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1126 when control-statement is the first statement in a buffer (Bug#15956).
1127
1128 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1129
1130 * imenu.el (imenu-generic-skip-comments-and-strings):
1131 New option (Bug#15560).
1132 (imenu--generic-function): Use it.
1133
1134 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1135
1136 * minibuffer.el (completion--in-region-1): Scroll the correct
1137 window. (Bug#13898)
1138
1139 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1140
1141 * emacs-lisp/helpers.el: Add some string helpers.
1142 (string-trim-left): Removes leading whitespace.
1143 (string-trim-right): Removes trailing whitespace.
1144 (string-trim): Removes leading and trailing whitespace.
1145
1146 * subr.el (string-suffix-p): New function.
1147
1148 2013-11-23 Glenn Morris <rgm@gnu.org>
1149
1150 * progmodes/python.el (python-shell-send-file):
1151 Add option to delete file when done. (Bug#15647)
1152 (python-shell-send-string, python-shell-send-region): Use it.
1153
1154 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1155
1156 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1157 to set buffer-read-only to t, never to nil. (Bug#15938)
1158
1159 * textmodes/tex-mode.el (latex-noindent-environments):
1160 Add safe-local-variable property. (Bug#15936)
1161
1162 2013-11-23 Glenn Morris <rgm@gnu.org>
1163
1164 * textmodes/enriched.el (enriched-mode): Doc fix.
1165 * emacs-lisp/authors.el (authors-renamed-files-alist):
1166 Add enriched.doc -> enriched.txt.
1167
1168 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1169
1170 2013-11-22 Leo Liu <sdl.web@gmail.com>
1171
1172 * progmodes/octave.el (inferior-octave-startup): Spit out error
1173 message.
1174
1175 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1176
1177 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1178 Improve docstring.
1179 Add :version.
1180 (ruby-encoding-magic-comment-style): Add :version.
1181
1182 2013-11-22 Leo Liu <sdl.web@gmail.com>
1183
1184 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1185 (Bug#15076)
1186 (octave-help-mode): Adapt to change to help-mode-finish to use
1187 derived-mode-p on 2013-09-17.
1188 (inferior-octave-prompt): Also match octave-gui.
1189 (octave-kill-process): Don't ask twice. (Bug#10564)
1190
1191 2013-11-22 Leo Liu <sdl.web@gmail.com>
1192
1193 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1194 (inferior-octave-startup, inferior-octave-check-process)
1195 (inferior-octave-track-window-width-change)
1196 (octave-completion-at-point, octave-eldoc-function): Use it.
1197 (octave-kill-process): Provide confirmation. (Bug#10564)
1198
1199 2013-11-21 Leo Liu <sdl.web@gmail.com>
1200
1201 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1202 Fix obsolete variable comment-use-global-state.
1203
1204 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1205
1206 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1207 Add `octave-source-file'.
1208 (octave-source-file): New function. (Bug#15935)
1209
1210 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1211
1212 * net/eww.el (eww-local-regex): New variable.
1213 (eww): Use it to detect localhost and similar.
1214
1215 2013-11-21 Leo Liu <sdl.web@gmail.com>
1216
1217 Add completion for command `ag'.
1218 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1219 (pcomplete/ag): New function.
1220 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1221
1222 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1223
1224 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1225 (bug#14646).
1226 (make-obsolete): Remove interactive spec.
1227
1228 2013-11-21 Glenn Morris <rgm@gnu.org>
1229
1230 * startup.el (command-line-1): Use path-separator with -L.
1231
1232 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1233
1234 * emacs-lisp/package.el (describe-package-1): Add package archive
1235 to shown fields.
1236
1237 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1238
1239 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1240 Change default to "# encoding: %s" to differentiate it from the
1241 default Ruby encoding comment template.
1242
1243 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1244
1245 * ses.el (ses-mode): Doc fix. (Bug#14748)
1246
1247 2013-11-20 Leo Liu <sdl.web@gmail.com>
1248
1249 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1250
1251 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1252
1253 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1254 when rebase or bisect are in progress.
1255
1256 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1257
1258 * filenotify.el (file-notify-add-watch): Doc fix.
1259
1260 2013-11-19 Leo Liu <sdl.web@gmail.com>
1261
1262 * obsolete/rcompile.el: Mark obsolete.
1263
1264 * progmodes/compile.el (compilation-start)
1265 (compilation-goto-locus, compilation-find-file):
1266 Pass no-display-ok and handle nil value from display-buffer.
1267 (Bug#13594)
1268
1269 * window.el (display-buffer-alist, display-buffer): Document the
1270 new parameter no-display-ok. Return either a window or nil
1271 but never a non-window value.
1272
1273 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1274
1275 * electric.el (electric-indent-mode-map): Remove.
1276 (electric-indent-mode): Change the global-map instead (bug#15915).
1277
1278 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1279 Use add-function.
1280
1281 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1282
1283 * emacs-lisp/nadvice.el (remove-function): Align with
1284 add-function's behavior.
1285
1286 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1287 (gdb--string-regexp): New constant.
1288 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1289 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1290 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1291 submatch 1.
1292 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1293 Adjust use accordingly.
1294 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1295
1296 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1297
1298 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1299 interpolation curlies (Bug#15914).
1300
1301 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1302
1303 * calc/calc.el (calc-context-sensitive-enter): New variable.
1304 (calc-enter): Use `calc-context-sensitive-enter'.
1305
1306 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1307
1308 * progmodes/cfengine.el: Version bump.
1309 (cfengine-cf-promises): New defcustom to locate cf-promises.
1310 (cfengine3-vartypes): Add new "data" type.
1311 (cfengine3--current-word): New function to get current name-like
1312 word or its bounds.
1313 (cfengine3--current-function): New function to look up a CFEngine
1314 function's definition.
1315 (cfengine3-format-function-docstring): New function.
1316 (cfengine3-make-syntax-cache): New function.
1317 (cfengine3-documentation-function): New function: ElDoc glue.
1318 (cfengine3-completion-function): New function: completion glue.
1319 (cfengine3-mode): Set `compile-command',
1320 `eldoc-documentation-function', and add to
1321 `completion-at-point-functions'.
1322
1323 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1324
1325 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1326 `tramp-current-connection'.
1327
1328 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1329
1330 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1331 nil/self/true/false with "end of symbol".
1332
1333 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1334
1335 * subr.el (version-regexp-alist): Fix a typo.
1336
1337 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1338
1339 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1340 "en_US.utf8" and "LC_CTYPE" to "".
1341 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1342 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1343
1344 2013-11-15 Leo Liu <sdl.web@gmail.com>
1345
1346 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1347
1348 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1349
1350 * progmodes/gud.el (ctl-x-map):
1351 Remove C-x SPC binding. (Bug#12342)
1352 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1353
1354 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1355
1356 * subr.el (version-regexp-alist):
1357 Recognize hg, svn and darcs versions as snapshot versions.
1358
1359 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1360 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1361 (ruby--encoding-comment-required-p): Extract from
1362 `ruby-mode-set-encoding'.
1363 (ruby-mode-set-encoding): Add the ability to always insert an
1364 utf-8 encoding comment. Fix and simplify coding comment update
1365 logic.
1366
1367 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1368
1369 * net/tramp-gvfs.el (top): Run init code only when
1370 `tramp-gvfs-enabled' is not nil.
1371 (tramp-gvfs-enabled): Check also :system bus.
1372
1373 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1374
1375 Sync with upstream verilog-mode revision 78e66ba.
1376 * progmodes/verilog-mode.el (verilog-end-of-defun)
1377 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1378 (verilog-get-end-of-defun): Remove unused argument.
1379 (verilog-comment-depth): Remove unused local `e'.
1380 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1381 Don't pass arg to verilog-get-end-of-defun.
1382
1383 2013-11-14 Glenn Morris <rgm@gnu.org>
1384
1385 * obsolete/assoc.el (aget): Prefix dynamic variable.
1386
1387 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1388
1389 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1390
1391 * widget.el, hfy-cmap.el: Remove bogus package version number.
1392
1393 2013-11-13 Glenn Morris <rgm@gnu.org>
1394
1395 * replace.el (replace-eval-replacement):
1396 Try to give more helpful error message. (Bug#15836)
1397
1398 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1399 (archive-7z-update): Avoid custom type mismatches.
1400
1401 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1402
1403 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1404
1405 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1406 address can be empty.
1407
1408 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1409 Accept nil SWITCHES.
1410 (tramp-gvfs-handle-write-region): Implement APPEND.
1411
1412 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1413
1414 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1415 binary "|" operator and closing block args delimiter.
1416 Remove FIXME comment referring to Ruby 1.8-only syntax.
1417 (ruby-smie--implicit-semi-p): Not after "|" operator.
1418 (ruby-smie--closing-pipe-p): New function.
1419 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1420 (ruby-smie-rules): Indent after "|".
1421
1422 2013-11-12 Glenn Morris <rgm@gnu.org>
1423
1424 * ps-print.el (ps-face-attribute-list):
1425 Handle anonymous faces. (Bug#15827)
1426
1427 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1428
1429 * window.el (display-buffer-other-frame): Fix doc-string.
1430 (Bug#15868)
1431
1432 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1433
1434 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1435
1436 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1437
1438 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1439 (tramp-sh-handle-file-local-copy): Don't write a message when
1440 saving temporary files.
1441
1442 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1443 both directories are remote.
1444 (tramp-smb-handle-directory-files): Do not return double entries.
1445 Do not expand full file names.
1446 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1447 (tramp-smb-handle-write-region): Implement APPEND.
1448 (tramp-smb-get-stat-capability): Fix a stupid bug.
1449
1450 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1451
1452 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1453
1454 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1455
1456 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1457 throwing error over malformed let/let* (bug#15814).
1458
1459 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1460
1461 * iswitchb.el (iswitchb-mode): Mark obsolete.
1462
1463 2013-11-11 Glenn Morris <rgm@gnu.org>
1464
1465 * international/uni-bidi.el, international/uni-category.el:
1466 * international/uni-name.el, international/uni-numeric.el:
1467 Regenerate for Unicode 6.3.0.
1468
1469 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1470
1471 * net/tramp.el (tramp-methods):
1472 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1473 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1474
1475 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1476
1477 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1478 Force highlighting text after Summary keyword in doc face for rpm.
1479
1480 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1481
1482 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1483 available and the word has no wildcards, append one to the grep pattern.
1484 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1485 (ispell-complete-word): Call `ispell-lookup-words' with the value
1486 independent of `ispell-look-p'.
1487
1488 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1489
1490 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1491 Not after "||".
1492 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1493 their parent.
1494
1495 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1496
1497 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1498 (ruby-font-lock-keywords): Use backquote.
1499
1500 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1501
1502 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1503 (ruby-smie--backward-token): Only consider full-string matches.
1504
1505 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1506
1507 * faces.el (describe-face): Add distant-foreground.
1508
1509 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1510
1511 * progmodes/ruby-mode.el: Improve encoding comment handling.
1512 (ruby-encoding-magic-comment-style): New option.
1513 (ruby-custom-encoding-magic-comment-template): New option.
1514 (ruby--insert-coding-comment, ruby--detect-encoding):
1515 New functions extracted from `ruby-mode-set-encoding'.
1516 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1517 to control the style of the auto-inserted encoding comment.
1518
1519 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1520
1521 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1522 Use `smie-backward-sexp' with token argument.
1523
1524 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1525
1526 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1527 Remove instrumentation code.
1528
1529 2013-11-08 Glenn Morris <rgm@gnu.org>
1530
1531 * progmodes/autoconf.el (autoconf-mode):
1532 Tweak comment-start-skip. (Bug#15822)
1533
1534 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1535
1536 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1537 at bobp (bug#15826).
1538 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1539
1540 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1541
1542 * man.el (Man-start-calling): New macro, extracted from
1543 Man-getpage-in-background.
1544 (Man-getpage-in-background): Use it.
1545 (Man-update-manpage): New command.
1546 (Man-mode-map): Bind it.
1547
1548 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1549
1550 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1551 of "and", "or", "&&" and "||".
1552 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1553 argument. Prohibit opening curly brace because it could only be a
1554 block opener in that position.
1555 (ruby-smie--forward-token, ruby-smie--backward-token):
1556 Separate "|" from "&" or "*" going after it. That can happen in block
1557 arguments.
1558 (ruby-smie--indent-to-stmt): New function, seeks the end of
1559 previous statement or beginning of buffer.
1560 (ruby-smie-rules): Use it.
1561 (ruby-smie-rules): Check if there's a ":" before a curly block
1562 opener candidate; if there is, it's a hash.
1563
1564 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1565
1566 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1567 (cl--block-wrapper): Fix last accidental change.
1568
1569 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1570
1571 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1572 Instrument, in order to hunt failure on hydra.
1573
1574 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1575
1576 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1577 malformed bindings form (bug#15814).
1578
1579 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1580
1581 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1582 "." compared to " @ ". This incidentally fixes some indentation
1583 examples with "do".
1584 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1585 (ruby-smie-grammar): New tokens: "and" and "or".
1586 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1587 Exclude "and" and "or". Remove "do" in order to work around token
1588 priorities.
1589 (ruby-smie-rules): Add all infix tokens. Handle the case of
1590 beginning-of-buffer.
1591
1592 2013-11-06 Glenn Morris <rgm@gnu.org>
1593
1594 * Makefile.in (setwins_almost, setwins_for_subdirs):
1595 Avoid accidental matches.
1596
1597 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1598
1599 * menu-bar.el (popup-menu): Use key-binding.
1600
1601 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1602
1603 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1604 menus, support also the menus produced by minor modes.
1605 (Bug#15817)
1606
1607 2013-11-06 Leo Liu <sdl.web@gmail.com>
1608
1609 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1610 DISTANCE to bound the search. All uses changed. (Bug#15808)
1611
1612 2013-11-06 Glenn Morris <rgm@gnu.org>
1613
1614 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1615 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1616 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1617
1618 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1619
1620 * electric.el (electric-indent-just-newline): New command.
1621 (electric-indent-mode-map): New keymap.
1622 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1623 Re-add :group which weren't redundant.
1624
1625 * electric.el (electric-indent-local-mode): New minor mode.
1626 (electric-indent-functions-without-reindent): New var.
1627 (electric-indent-post-self-insert-function): Use it.
1628 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1629
1630 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1631
1632 * international/quail.el (quail-help): Be more explicit about the
1633 meaning of the labels shown on the keys. (Bug#15800)
1634
1635 * startup.el (normal-top-level): Load the subdirs.el files before
1636 setting the locale environment. (Bug#15805)
1637
1638 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1639
1640 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1641 via arguments so as to get the right ones (bug#15418).
1642
1643 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1644
1645 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1646
1647 Fix problems found while writing a test suite.
1648
1649 * net/tramp-compat.el (tramp-compat-load): New defun.
1650 * net/tramp.el (tramp-handle-load): Use it.
1651
1652 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1653 "(numberp ok-if-already-exists)" correctly.
1654
1655 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1656
1657 * international/characters.el (glyphless-char-display-control):
1658 Add usage note.
1659
1660 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1661
1662 * progmodes/python.el (python-mode):
1663 * progmodes/scheme.el (scheme-mode):
1664 * progmodes/prolog.el (prolog-mode):
1665 * progmodes/ruby-mode.el (ruby-mode):
1666 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1667 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1668
1669 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1670
1671 * rect.el (rectangle--highlight-for-redisplay):
1672 * emacs-lisp/smie.el (smie--next-indent-change):
1673 Use buffer-chars-modified-tick.
1674
1675 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1676
1677 * electric.el (electric-indent-post-self-insert-function):
1678 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1679
1680 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1681
1682 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1683
1684 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1685
1686 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1687 (bug#15786).
1688
1689 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1690
1691 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1692
1693 * progmodes/python.el: Fix up last change.
1694 (python-shell--save-temp-file): New function.
1695 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1696 `string' comes from the current buffer.
1697 (python-shell-send-string-no-output): Remove `msg' arg.
1698 (python--use-fake-loc): New var.
1699 (python-shell-buffer-substring): Obey it. Try to compensate for the
1700 extra coding line added by python-shell--save-temp-file.
1701 (python-shell-send-region): Use python-shell--save-temp-file and
1702 python-shell-send-file directly. Add `nomain' argument.
1703 (python-shell-send-buffer): Use python-shell-send-region.
1704 (python-electric-pair-string-delimiter): New function.
1705 (python-mode): Use it.
1706
1707 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1708
1709 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1710 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1711 environment and decoding all of the default-directory's to here
1712 from command-line.
1713 (command-line): Decode also argv[0].
1714
1715 * loadup.el: Error out if default-directory is a multibyte string
1716 when we are dumping.
1717
1718 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1719
1720 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1721
1722 * emacs-lisp/package.el (package-menu-mode)
1723 (package-menu--print-info, package-menu--archive-predicate):
1724 Add Archive column to package list.
1725
1726 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1727
1728 Fix problems found while writing a test suite.
1729
1730 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1731 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1732 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1733 to nil when running original file name handler. Otherwise,
1734 there are problems with constructs like "$$FOO".
1735
1736 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1737 for `localname'.
1738
1739 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1740
1741 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1742
1743 * subr.el (version<, version<=, version=):
1744 Update docstrings with information for snapshot versions.
1745
1746 * helpers.el: New library for misc helper functions.
1747 (hash-table-keys): New function returning a list of hash keys.
1748 (hash-table-values): New function returning a list of hash values.
1749
1750 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1751
1752 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1753 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1754
1755 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1756
1757 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1758 checking whether point is after a 1-letter word.
1759
1760 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1761
1762 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1763 Don't infloop when expanding region over `multiline' syntax-type that
1764 begins a line (bug#15778).
1765
1766 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1767
1768 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1769 Make it into a proper minor mode.
1770 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1771 (rectangle-mark-mode-map): New keymap.
1772 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1773
1774 2013-11-04 Glenn Morris <rgm@gnu.org>
1775
1776 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1777
1778 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1779
1780 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1781 (ruby-smie-rules): Use smie-rule-parent instead.
1782
1783 * emacs-lisp/smie.el (smie-rule-parent): Always call
1784 smie-indent-virtual rather than only for hanging tokens.
1785 (smie--next-indent-change): New helper command.
1786
1787 2013-11-03 Glenn Morris <rgm@gnu.org>
1788
1789 * Makefile.in (abs_srcdir): Remove.
1790 (emacs): Unset EMACSLOADPATH.
1791
1792 2013-11-02 Glenn Morris <rgm@gnu.org>
1793
1794 * Makefile.in (EMACS): Use a relative filename.
1795 (abs_top_builddir): Remove.
1796 (custom-deps, finder-data, autoloads): Use --chdir.
1797
1798 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1799
1800 Use relative filenames in TAGS files.
1801 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1802 (lisptagsfiles4, TAGS): Use relative file names.
1803 (TAGS-LISP): Remove.
1804 (maintainer-clean): No more TAGS-LISP file.
1805
1806 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1807 (lisptagsfiles4): Use absolute filenames again.
1808 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1809 Remove all *loaddefs files, not just the first. Remove esh-groups.
1810 (maintainer-clean): Delete TAGS, TAGS-LISP.
1811
1812 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1813
1814 * emacs-lisp/package.el (package-version-join):
1815 Recognize snapshot versions.
1816
1817 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1818
1819 * subr.el (version-regexp-alist): Add support for snapshot versions.
1820
1821 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1822
1823 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1824 New function, replacement for `smie-rule-parent' for when we want to
1825 skip over our direct parent if it's an assignment token..
1826 (ruby-smie-rules): Use it.
1827
1828 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1829
1830 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1831 unconditionally. Remove now unnecessary forward declarations.
1832 Remove XEmacs-specific setup.
1833 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1834 (ruby-font-lock-syntactic-keywords)
1835 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1836 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1837 (ruby-here-doc-end-syntax): Remove.
1838 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1839 defined as function.
1840
1841 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1842
1843 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1844
1845 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1846
1847 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1848 table and abbrev table, `define-derived-mode' does that for us
1849 anyway.
1850
1851 2013-11-01 Glenn Morris <rgm@gnu.org>
1852
1853 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1854 files is atomic for some time, so no parallel compilation issues).
1855
1856 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1857
1858 * faces.el (face-x-resources): Add :distant-foreground.
1859 (region): Use :distant-foreground for gtk and ns.
1860
1861 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1862
1863 Allow multiple bibliographies when BibLaTeX is used rather than
1864 BibTeX.
1865 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1866 (reftex-locate-bibliography-files): Us it.
1867
1868 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1869
1870 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1871 allow comments in pbm files.
1872
1873 * term/w32-win.el (dynamic-library-alist): Support newer versions
1874 of libjpeg starting with v7: look only for the DLL from the
1875 version against which Emacs was built.
1876 Support versions of libpng beyond 1.4.x.
1877 Support libtiff v4.x.
1878
1879 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1880
1881 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1882 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1883 Add property :safe.
1884 (ruby-deep-arglist): Add property :type.
1885
1886 2013-10-31 Glenn Morris <rgm@gnu.org>
1887
1888 * Makefile.in (custom-deps, finder-data): No need to setq the target
1889 variables, we are in the right directory and the defaults work fine.
1890
1891 2013-10-30 Glenn Morris <rgm@gnu.org>
1892
1893 * Makefile.in (autoloads): Do not use abs_lisp.
1894
1895 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1896 `newline' does not respect `standard-output', so use `princ'.
1897
1898 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1899
1900 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1901 * buff-menu.el (Buffer-menu--unmark): New function.
1902 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1903
1904 2013-10-30 Glenn Morris <rgm@gnu.org>
1905
1906 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1907
1908 * emacs-lisp/package.el (lm-homepage): Declare.
1909
1910 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1911 Fix doc typos.
1912
1913 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1914
1915 * Makefile.in (finder-data, autoloads, update-subdirs)
1916 (compile-main, compile-clean, compile-always, bootstrap-clean):
1917 Check return value of cd.
1918 (compile-calc): Remove.
1919
1920 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1921
1922 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1923
1924 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1925 (byte-compile-and-folded): New function.
1926 (=, <, >, <=, >=): Use it.
1927
1928 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1929 (path-separator, null-device, buffer-file-coding-system)
1930 (lpr-headers-switches): Check system-type before modifying them.
1931 (find-buffer-file-type-coding-system): Mark obsolete.
1932 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1933 find-file-not-found-set-buffer-file-coding-system.
1934 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1935 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1936 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1937 (w32-direct-print-region-helper, w32-direct-print-region-function)
1938 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1939 * startup.el (normal-top-level-add-subdirs-to-load-path):
1940 * ps-print.el (ps-print-region-function):
1941 * lpr.el (print-region-function): Use new name.
1942
1943 * subr.el (custom-declare-variable-early): Remove function.
1944 (custom-declare-variable-list): Remove var.
1945 (error, user-error): Remove `while' loop.
1946 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1947 (user-emacs-directory-warning, locate-user-emacs-file):
1948 Move to files.el.
1949 * simple.el (read-quoted-char-radix, read-quoted-char):
1950 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1951 Move from subr.el.
1952 * custom.el (custom-declare-variable-list): Don't process
1953 custom-declare-variable-list.
1954
1955 * progmodes/python.el (python-shell-get-buffer): New function.
1956 (python-shell-get-process): Use it.
1957 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1958 Python which encoding was used. Don't split-string since we only care
1959 about the first line. Return the temp-file, if applicable.
1960 (python-shell-send-region): Tell compile.el how to turn locations in
1961 the temp-file into locations in the source buffer.
1962
1963 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1964
1965 * subr.el (undefined): Add missing behavior from the C code for
1966 unbound keys.
1967
1968 * rect.el: Use lexical-binding. Add new rectangular region support.
1969 (rectangle-mark): New command.
1970 (rectangle--region): New var.
1971 (deactivate-mark-hook): Reset rectangle--region.
1972 (rectangle--extract-region, rectangle--insert-for-yank)
1973 (rectangle--highlight-for-redisplay)
1974 (rectangle--unhighlight-for-redisplay): New functions.
1975 (region-extract-function, redisplay-unhighlight-region-function)
1976 (redisplay-highlight-region-function): Use them to handle
1977 rectangular region.
1978 * simple.el (region-extract-function): New var.
1979 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1980 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1981 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1982 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1983 (redisplay-unhighlight-region-function)
1984 (redisplay-highlight-region-function): New vars.
1985 (redisplay--update-region-highlight): New function.
1986 (pre-redisplay-function): Use it.
1987 (exchange-point-and-mark): Don't deactivate the mark before
1988 reactivate-it anyway.
1989 * comint.el (comint-kill-region): Remove yank-handler argument.
1990 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1991 (delete-char): Remove property, since it's now part of their
1992 default behavior.
1993 (self-insert-iso): Remove property since this command doesn't exist.
1994
1995 * emacs-lisp/package.el (package--download-one-archive)
1996 (describe-package-1): Don't query the user about final newline.
1997
1998 2013-10-29 Daniel Colascione <dancol@dancol.org>
1999
2000 * net/tramp.el (tramp-methods): Document new functionality.
2001 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2002 tramp-hostname-checker if method provides one instead of scanning
2003 argument list for "%h" to decide hostname acceptability.
2004
2005 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2006
2007 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2008 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2009 Handle COPY-CONTENTS. (Bug#15737)
2010
2011 2013-10-28 Daiki Ueno <ueno@gnu.org>
2012
2013 * epa-file.el
2014 (epa-file-cache-passphrase-for-symmetric-encryption):
2015 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2016
2017 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2018
2019 * image.el (defimage):
2020 (image-load-path): Doc fixes.
2021
2022 2013-10-27 Alan Mackenzie <acm@muc.de>
2023
2024 Indent statements in macros following "##" correctly.
2025 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2026 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2027
2028 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2029
2030 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2031
2032 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2033
2034 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2035 after `=' is probably a new expression.
2036
2037 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2038
2039 * man.el (man-imenu-title): New option.
2040 (Man-mode-map): Add menu. (Bug#15722)
2041 (Man-mode): Add imenu to menu.
2042
2043 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2044
2045 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2046 specific in what the first arg can be: a non-keyword word,
2047 string/regexp/percent literal opener, opening paren, or unary
2048 operator followed directly by word.
2049
2050 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2051
2052 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2053 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2054 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2055 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2056 Remove vars, they do not apply any more.
2057 (prolog-mode-abbrev-table): Remove redundant declaration.
2058 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2059 (prolog-use-smie): Remove.
2060 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2061 supported by prolog-electric-if-then-else-flag.
2062 (prolog-mode-variables, prolog-menu): Use setq-local.
2063 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2064 Remove binding to `Backspace' since this key doesn't exist anyway.
2065 Remove bindings for electric self-inserting keys.
2066 (prog-mode): Assume it's defined.
2067 (prolog-post-self-insert): New function.
2068 (prolog-mode): Use it.
2069 (prolog-indent-line, prolog-indent-level)
2070 (prolog-find-indent-of-matching-paren)
2071 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2072 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2073 (prolog-goto-next-paren, prolog-in-string-or-comment)
2074 (prolog-tokenize, prolog-inside-mline-comment)
2075 (prolog-find-start-of-mline-comment): Remove functions.
2076 (prolog-find-unmatched-paren, prolog-clause-end)
2077 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2078 (prolog-electric--if-then-else): Rename from
2079 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2080 (prolog-tokenize-searchkey): Remove const.
2081 (prolog-clause-info): Use forward-sexp.
2082 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2083 (prolog-electric-if-then-else): Remove commands.
2084 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2085 for use in post-self-insert-hook.
2086 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2087 for use in post-self-insert-hook.
2088 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2089 for use in post-self-insert-hook.
2090 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2091 adapt it for use in post-self-insert-hook.
2092
2093 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2094
2095 * emacs-lisp/ert.el (ert-run-tests-interactively):
2096 Use `completing-read'. (Bug#9756)
2097
2098 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2099
2100 * simple.el (line-move): Call line-move-1 instead of
2101 line-move-visual when the current window hscroll is zero, but
2102 temporary-goal-column indicates we will need to hscroll as result
2103 of the movement. (Bug#15712)
2104
2105 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2106
2107 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2108 capitalization. Use :visible instead of :active.
2109 Fix `ruby-indent-exp' reference. Add menu items for the generic
2110 commands that are used with SMIE.
2111 (ruby-do-end-to-brace): Insert space after `{'.
2112
2113 2013-10-25 John Anthony <john@jo.hnanthony.com>
2114
2115 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2116
2117 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2118
2119 2013-10-25 Glenn Morris <rgm@gnu.org>
2120
2121 * vc/vc.el (vc-print-log): Don't use a working revision unless
2122 one was explicitly specified. (Bug#15322)
2123
2124 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2125
2126 * subr.el (add-to-list): Preserve return value in compiler-macro
2127 (bug#15692).
2128
2129 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2130
2131 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2132 result. Ask user to retry using '-all' flag. (Bug#15701)
2133
2134 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2135
2136 * emacs-lisp/smie.el: New smie-config system.
2137 (smie-config): New defcustom.
2138 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2139 (smie-config-guess, smie-config-save): New commands.
2140 (smie-config--mode-local, smie-config--buffer-local)
2141 (smie-config--trace, smie-config--modefuns): New vars.
2142 (smie-config--advice, smie-config--mode-hook)
2143 (smie-config--setter, smie-config-local, smie-config--get-trace)
2144 (smie-config--guess-value, smie-config--guess): New functions.
2145 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2146 text properties. Treat "string fence" syntax like string syntax.
2147
2148 * progmodes/sh-script.el (sh-use-smie): Change default.
2149 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2150 (sh-var-value): Simplify by CSE.
2151 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2152 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2153 is used.
2154 (sh-guess-basic-offset): Use cl-incf.
2155 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2156
2157 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2158
2159 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2160 (bug#15699).
2161
2162 2013-10-24 Glenn Morris <rgm@gnu.org>
2163
2164 * Makefile.in (abs_top_srcdir): Remove.
2165 (update-subdirs): Use relative path to update-subdirs.
2166
2167 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2168
2169 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2170 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2171 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2172 Call unmsys--file-name before expand-file-name, not after it.
2173
2174 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2175
2176 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2177 (ert-test-skipped): New error.
2178 (ert-skip, ert-stats-skipped): New defuns.
2179 (ert--skip-unless): New macro.
2180 (ert-test-skipped): New struct.
2181 (ert--run-test-debugger, ert-test-result-type-p)
2182 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2183 (ert--stats-set-test-and-result, ert-char-for-test-result)
2184 (ert-string-for-test-result, ert-run-tests-batch)
2185 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2186 Handle skipped tests. (Bug#9803)
2187
2188 2013-10-24 Glenn Morris <rgm@gnu.org>
2189
2190 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2191
2192 * Makefile.in (abs_top_srcdir): New, set by configure.
2193 (update-subdirs): Correct build-aux location.
2194
2195 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2196
2197 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2198 value, whether we could auto-deduce `backend', or not.
2199
2200 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2201 with parameters" example. Simplify the "is it block or is it
2202 hash" check, but also make it more thorough.
2203
2204 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2205
2206 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2207
2208 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2209
2210 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2211 { if it is hanging.
2212
2213 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2214 :before ";".
2215
2216 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2217
2218 * progmodes/compile.el (compilation-directory-matcher)
2219 (compilation-page-delimiter):
2220 Support GNU Make-4.0 directory quoting. (Bug#15678)
2221
2222 2013-10-23 Leo Liu <sdl.web@gmail.com>
2223
2224 * ido.el (ido-tidy): Handle read-only text.
2225
2226 2013-10-23 Glenn Morris <rgm@gnu.org>
2227
2228 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2229 (emacs, compile, compile-always):
2230 Quote entities that might contain whitespace.
2231 (custom-deps, finder-data, autoloads): Use abs_lisp.
2232 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2233 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2234 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2235
2236 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2237
2238 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2239 Use `following-char'.
2240
2241 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2242
2243 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2244 * progmodes/ruby-mode.el (ruby-smie-rules):
2245 Remove corresponding workaround. Fix indentation rule of ";" so it
2246 also applies when ";" is the parent.
2247
2248 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2249
2250 * frame.el (display-screens, display-pixel-height)
2251 (display-pixel-width, display-mm-width, display-backing-store)
2252 (display-save-under, display-planes, display-color-cells)
2253 (display-visual-class, display-monitor-attributes-list):
2254 Mention the optional ‘display’ argument in doc strings.
2255
2256 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2257
2258 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2259 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2260
2261 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2262
2263 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2264 TODO. Add "." after " @ ".
2265 (ruby-smie--at-dot-call): New function. Checks if point at method
2266 call with explicit target.
2267 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2268 to the method name tokens when it precedes them.
2269 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2270 (ruby-smie-rules): Add rule for indentation before and after "."
2271 token.
2272
2273 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2274
2275 * textmodes/remember.el (remember-diary-extract-entries):
2276 Avoid add-to-list.
2277
2278 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2279 an instruction.
2280
2281 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2282
2283 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2284 (ruby-smie--implicit-semi-p): Add new operator chars.
2285
2286 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2287 `smie-down-list'.
2288 (ruby-smie--args-separator-p): Check that there's no newline
2289 between method call and its arguments.
2290
2291 2013-10-20 Alan Mackenzie <acm@muc.de>
2292
2293 Allow comma separated lists after Java "implements".
2294
2295 * progmodes/cc-engine.el (c-backward-over-enum-header):
2296 Parse commas.
2297 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2298 from a "disallowed" list in enum fontification.
2299
2300 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2301
2302 * startup.el (default-frame-background-mode): Remove unused defvar.
2303
2304 * progmodes/verilog-mode.el (verilog-mode): Don't set
2305 comment-indent-function globally.
2306
2307 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2308
2309 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2310 Move Info menu item creation to ns-win.el.
2311
2312 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2313 in menu bar.
2314
2315 * menu-bar.el: Move GNUStep specific menus...
2316
2317 * term/ns-win.el (ns-initialize-window-system): ... to here.
2318
2319 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2320
2321 * simple.el (newline): Only run post-self-insert-hook when
2322 called interactively.
2323
2324 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2325
2326 * icomplete.el (icomplete-with-completion-tables): Add :version.
2327
2328 2013-10-19 Alan Mackenzie <acm@muc.de>
2329
2330 Fix fontification bugs with constructors and const.
2331
2332 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2333 CASE 2) Remove the check for the absence of a suffix construct
2334 after a function declaration with only types (no identifiers) in
2335 the parentheses. Also, accept a function declaration with just a
2336 type inside the parentheses, if this type can be positively
2337 recognised as such, or if a prefix keyword like "explicit" nails
2338 down the construct as a declaration.
2339
2340 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2341
2342 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2343 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2344 the problem whereby selecting a menu item that leads to a
2345 minibuffer prompt moves the cursor out of the minibuffer window,
2346 making it hard to type at the prompt. Suggested by Stefan Monnier
2347 <monnier@iro.umontreal.ca>.
2348
2349 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2350
2351 * menu-bar.el: Don't make Services menu.
2352
2353 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2354
2355 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2356 (ffap-alist): Use ffap-c++-mode for c++-mode.
2357 (ffap-c++-path): New variable.
2358 (ffap-c++-mode): New function.
2359
2360 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2361
2362 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2363
2364 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2365
2366 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2367 introduced on 2013-09-08, which results in an infinite loop
2368 requesting a password.
2369
2370 2013-10-18 Glenn Morris <rgm@gnu.org>
2371
2372 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2373
2374 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2375
2376 Sync with upstream verilog-mode revision 1a6ecec7.
2377 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2378 (verilog-mode-release-date): Remove.
2379 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2380 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2381 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2382 (verilog-auto-tieoff-ignore-regexp)
2383 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2384 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2385 (verilog-signals-with, verilog-dir-cache-preserving)
2386 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2387 Doc fixes.
2388 (verilog-case-fold): New option, to control case folding in
2389 regexp searches, bug597.
2390 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2391 (verilog-string-match-fold, verilog-in-paren-count)
2392 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2393 (verilog-at-close-struct-p): New functions.
2394 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2395 (verilog-forward-sexp, verilog-set-auto-endcomments):
2396 (verilog-leap-to-case-head): Handle "unique0" case.
2397 (verilog-in-constraint-re): New constant.
2398 (verilog-keywords, verilog-type-font-keywords):
2399 Add some SystemVerilog 1800-2012 keywords.
2400 (verilog-label-be): Remove unimplemented argument, bug669.
2401 (verilog-batch-execute-func): When batch expanding clear
2402 create-lockfiles to prevent spurious user locks when a file ends
2403 up not changing.
2404 (verilog-calculate-indent, verilog-calc-1)
2405 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2406 (verilog-do-indent): Fix indentation of nested constraints
2407 and structures.
2408 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2409 (verilog-auto-inst-param): Use verilog-string-match-fold.
2410 (verilog-read-inst-module-matcher):
2411 Fix AUTOINST on gate primitives with #1.
2412 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2413 Reads all user-defined typed variables.
2414 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2415 (verilog-signals-matching-regexp)
2416 (verilog-signals-not-matching-regexp, verilog-auto):
2417 Respect verilog-case-fold.
2418 (verilog-diff-report): Fix line count.
2419 (verilog-auto-assign-modport): Remove unused local `modi'.
2420 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2421 better handle multidimensional arrays.
2422 Fix packed array ports misadding bit index in AUTOINST, bug637.
2423 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2424 to not double-declare existing outputs and inputs, respectively.
2425 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2426 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2427 (verilog-sk-uvm-component): New skeleton.
2428 (verilog-submit-bug-report): Add verilog-case-fold,
2429 remove verilog-mode-release-date.
2430
2431 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2432
2433 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2434 as before.
2435
2436 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2437
2438 * textmodes/remember.el (remember): set buffer-offer-save in
2439 remember buffers (bug#13566).
2440
2441 2013-10-18 Daniel Colascione <dancol@dancol.org>
2442
2443 When evaluating forms in ielm, direct standard output to ielm
2444 buffer. Add new ielm-return-for-effect command. Remove trailing
2445 whitespace throughout.
2446
2447 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2448 (ielm-return-for-effect): New command.
2449 (ielm-send-input): Accept optional `for-effect' parameter.
2450 (ielm-eval-input): Accept optional `for-effect' parameter.
2451 Bind `standard-output' to stream we create using
2452 `ielm-standard-output-impl'. Suppress printing result when
2453 `for-effect'.
2454 (ielm-standard-output-impl): New function.
2455 (inferior-emacs-lisp-mode): Explain new features in documentation.
2456
2457 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2458
2459 Code cleanup.
2460
2461 * net/tramp.el (tramp-debug-message): Do not check for connection
2462 buffer.
2463 (tramp-message): Use "vector" connection property.
2464
2465 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2466 (tramp-equal-remote, tramp-eshell-directory-change)
2467 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2468 (tramp-adb-handle-rename-file)
2469 * net/tramp-cmds.el (tramp-list-remote-buffers)
2470 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2471 * net/tramp-compat.el (tramp-compat-process-running-p)
2472 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2473 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2474 (tramp-gvfs-handle-rename-file)
2475 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2476 (tramp-set-file-uid-gid)
2477 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2478 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2479 of `file-remote-p'.
2480
2481 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2482 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2483 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2484 (tramp-gw-open-network-stream): Suppress unrelated traces.
2485
2486 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2487 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2488 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2489 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2490 connection property.
2491
2492 * net/tramp-cache.el (top): Suppress traces when reading
2493 persistency file.
2494
2495 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2496 Refactor common code. Improve debug message.
2497 (tramp-maybe-open-connection)
2498 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2499 connection buffer too early.
2500
2501 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2502 from `tramp-smb-actions-with-acl'.
2503 (tramp-smb-actions-set-acl): New defconst.
2504 (tramp-smb-handle-copy-directory)
2505 (tramp-smb-action-get-acl): New defun, renamed from
2506 `tramp-smb-action-with-acl'.
2507 (tramp-smb-action-set-acl): New defun.
2508 (tramp-smb-handle-set-file-acl): Rewrite.
2509
2510 2013-10-17 Glenn Morris <rgm@gnu.org>
2511
2512 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2513
2514 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2515
2516 * skeleton.el (skeleton-newline): Remove.
2517 (skeleton-internal-1): Use (insert "\n") instead.
2518
2519 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2520 let-bindings.
2521
2522 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2523 forward-sexp-function while we redo its job (bug#15613).
2524
2525 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2526
2527 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2528 represented by lists.
2529
2530 2013-10-16 Glenn Morris <rgm@gnu.org>
2531
2532 * tmm.el (tmm--history): New dynamic variable.
2533 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2534
2535 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2536
2537 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2538 (tramp-smb-errors): Add error messages.
2539 (tramp-smb-actions-with-acl): New defconst.
2540 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2541 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2542 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2543 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2544 (tramp-smb-get-stat-capability): Fix tests.
2545
2546 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2547
2548 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2549 (bug#15580).
2550
2551 2013-10-16 Glenn Morris <rgm@gnu.org>
2552
2553 * ansi-color.el (ansi-color-drop-regexp):
2554 Add 1J, 1K, 2K. (Bug#15617)
2555
2556 * files.el (hack-local-variables--warned-lexical): New.
2557 (hack-local-variables):
2558 Warn about misplaced lexical-binding. (Bug#15616)
2559
2560 * net/eww.el (eww-render): Always set eww-current-url,
2561 and update header line. (Bug#15622)
2562 (eww-display-html): ... Rather than just doing it here.
2563
2564 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2565
2566 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2567 menu navigations commands.
2568
2569 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2570
2571 * progmodes/subword.el (subword-capitalize): Be careful when
2572 the search for [[:alpha:]] fails (bug#15580).
2573
2574 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2575
2576 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2577 to commands that scroll the menu.
2578
2579 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2580
2581 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2582 Handle methods ending with `?' and `!'.
2583
2584 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2585
2586 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2587 `japanese-cp932' to `cp932' to fix the problem where saving a
2588 source file written in Shift_JIS twice would end up having
2589 `coding: japanese-cp932' which Ruby could not recognize.
2590 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2591 in `ruby-encoding-map'.
2592 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2593 doesn't need to be explicitly declared in magic comment.
2594 (ruby-encoding-map): Add type declaration for better customize UI.
2595
2596 2013-10-13 Glenn Morris <rgm@gnu.org>
2597
2598 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2599 Occur buffers are read-only. http://bugs.debian.org/720775
2600
2601 * emacs-lisp/authors.el (authors-fixed-entries):
2602 Comment out old alpha stuff.
2603
2604 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2605
2606 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2607 to `after-save-hook' instead of `before-save-hook'.
2608 (ruby-mode-set-encoding): Use the value of coding system used to
2609 write the file. Call `basic-save-buffer-1' after modifying the
2610 buffer.
2611
2612 2013-10-13 Alan Mackenzie <acm@muc.de>
2613
2614 Fix indentation/fontification of Java enum with
2615 "implements"/generic.
2616
2617 * progmodes/cc-engine.el (c-backward-over-enum-header):
2618 Extracted from the three other places and enhanced to handle generics.
2619 (c-inside-bracelist-p): Uses new function above.
2620 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2621 function above.
2622 (c-font-lock-enum-tail): Uses new function above.
2623
2624 2013-10-13 Kenichi Handa <handa@gnu.org>
2625
2626 * international/mule-cmds.el (select-safe-coding-system): Remove a
2627 superfluous condition in chekcing whether a coding system is safe
2628 or not.
2629
2630 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2631
2632 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2633
2634 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2635
2636 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2637
2638 2013-10-13 Glenn Morris <rgm@gnu.org>
2639
2640 * menu-bar.el (menu-bar-update-buffers):
2641 Unify Buffers menu prompt string. (Bug#15576)
2642
2643 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2644
2645 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2646 Add some entries.
2647 (authors-fixed-entries): Use accented form of name.
2648
2649 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2650
2651 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2652 method calls (bug#15594).
2653 (ruby-smie--args-separator-p): New function.
2654 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2655 recognize paren-free method calls.
2656
2657 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2658 internals of universal-argument.
2659
2660 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2661
2662 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2663 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2664 dropped menu on second mouse click on the menu bar.
2665
2666 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2667
2668 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2669 (explicit-shell-file-name): Declare.
2670 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2671 (sh-completion-at-point-function): New function.
2672 (sh-mode): Use it.
2673 (sh-smie--keyword-p): Remove unused argument.
2674 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2675 vars.
2676 (sh-set-shell): Always setup SMIE, even if we use the
2677 old indentation code.
2678
2679 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2680
2681 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2682 cases of ? and =.
2683 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2684 predicate would return nil are almost non-existent.
2685 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2686
2687 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2688 cache also after commands that modify the buffer but don't move
2689 point.
2690
2691 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2692
2693 * env.el (substitute-env-in-file-name): New function.
2694 (substitute-env-vars): Extend the meaning of the optional arg.
2695
2696 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2697
2698 * term/w32-win.el (dynamic-library-alist): Define separate lists
2699 of GIF DLLs for versions before and after 5.0.0 of giflib.
2700 (Bug#15531)
2701
2702 2013-10-10 João Távora <joaotavora@gmail.com>
2703
2704 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2705 not locked, use last revision and current source as
2706 defaults. (Bug#15569)
2707
2708 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2709
2710 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2711 menu-bar is hidden.
2712
2713 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2714
2715 * window.el (pop-to-buffer-same-window): Fix doc-string.
2716 (Bug#15492)
2717
2718 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2719
2720 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2721
2722 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2723
2724 * calendar/icalendar.el (icalendar-import-file):
2725 Fix interactive spec. (Bug#15482)
2726
2727 2013-10-10 Glenn Morris <rgm@gnu.org>
2728
2729 * desktop.el (desktop-save): Default to saving in .emacs.d,
2730 since PWD is no longer in desktop-path by default. (Bug#15319)
2731
2732 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2733 now that text mode has a menu with the same entry.
2734 (menu-bar-text-mode-auto-fill): Remove now unused func.
2735 * textmodes/text-mode.el (text-mode-map):
2736 Use auto-fill help text from menu-bar.el.
2737
2738 2013-10-10 John Anthony <john@jo.hnanthony.com>
2739
2740 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2741
2742 2013-10-09 Juri Linkov <juri@jurta.org>
2743
2744 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2745 instead of this-command-keys. Add universal-argument-more and
2746 universal-argument-minus to the list of prefix commands. (Bug#15568)
2747
2748 2013-10-09 Glenn Morris <rgm@gnu.org>
2749
2750 * vc/vc-svn.el (vc-svn-create-repo):
2751 Expand paths in file://... url. (Bug#15446)
2752
2753 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2754 Add some entries.
2755 (authors): Remove unused local variables.
2756
2757 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2758
2759 * profiler.el: Create a more coherent calltree from partial backtraces.
2760 (profiler-format): Hide the tail with `invisible' so that C-s can still
2761 find the hidden elements.
2762 (profiler-calltree-depth): Don't recurse so enthusiastically.
2763 (profiler-function-equal): New hash-table-test.
2764 (profiler-calltree-build-unified): New function.
2765 (profiler-calltree-build): Use it.
2766 (profiler-report-make-name-part): Indent the calltree less.
2767 (profiler-report-mode): Add visibility specs for profiler-format.
2768 (profiler-report-expand-entry, profiler-report-toggle-entry):
2769 Expand the whole subtree when provided with a prefix arg.
2770
2771 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2772
2773 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2774 iuwu-mod token.
2775 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2776 hanging iuwu-mod token.
2777 (ruby-smie--forward-token): Do not include a dot after a token in
2778 that token.
2779 (ruby-smie--backward-token): Likewise.
2780
2781 2013-10-08 Juri Linkov <juri@jurta.org>
2782
2783 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2784 to isearch-other-control-char.
2785 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2786 and isearch-post-command-hook to post-command-hook.
2787 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2788 and isearch-post-command-hook from post-command-hook.
2789 (isearch-unread-key-sequence)
2790 (isearch-reread-key-sequence-naturally)
2791 (isearch-lookup-scroll-key, isearch-other-control-char)
2792 (isearch-other-meta-char): Remove functions.
2793 (isearch-pre-command-hook, isearch-post-command-hook):
2794 New functions based on isearch-other-meta-char rewritten
2795 relying on the new behavior of overriding-terminal-local-map
2796 that does not replace the local keymaps any more. (Bug#15200)
2797
2798 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2799
2800 Support menus on text-mode terminals.
2801 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2802 functionality.
2803
2804 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2805
2806 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2807 Move here from mouse.el.
2808 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2809 and arrow keys.
2810 (tty-menu-navigation-map): New map for TTY menu navigation.
2811
2812 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2813
2814 * frame.el (display-mouse-p): Report text-mode mouse as available
2815 on w32.
2816 (display-popup-menus-p): Report availability if mouse is
2817 available; don't condition on window-system.
2818
2819 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2820 (tty-menu-selected-face): New faces.
2821
2822 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2823
2824 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2825 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2826 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2827 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2828 New constants.
2829 (lisp-mode-variables): New `elisp' argument.
2830 (emacs-lisp-mode): Use it.
2831 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2832 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2833
2834 * indent.el: Use lexical-binding.
2835 (indent-region): Add progress reporter.
2836 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2837 last step.
2838 (indent--next-tab-stop): New function to implement this behavior.
2839 (tab-to-tab-stop, move-to-tab-stop): Use it.
2840
2841 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2842
2843 * indent.el (indent-rigidly--current-indentation): New function.
2844 (indent-rigidly-map): New var.
2845 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2846
2847 2013-10-08 Bastien Guerry <bzg@gnu.org>
2848
2849 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2850
2851 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2852
2853 * progmodes/perl-mode.el: Use lexical-binding.
2854 Remove redundant :group args.
2855 (perl-nochange): Change default to be closer to other major modes's
2856 standard behavior.
2857 (perl-indent-line): Don't consider text on current line as a
2858 valid beginning of function from which to indent.
2859
2860 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2861 with more than one argument (bug#15538).
2862
2863 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2864
2865 * vc/pcvs.el: Use lexical-binding.
2866 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2867 environment of `eval'.
2868 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2869 than a list of expressions. Adjust callers.
2870 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2871
2872 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2873
2874 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2875 case of the dot in a chained method call being on the following line.
2876
2877 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2878
2879 * electric.el (electric-indent-inhibit): New var.
2880 (electric-indent-post-self-insert-function): Use it.
2881 * progmodes/python.el (python-mode): Set it.
2882
2883 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2884 open braces.
2885
2886 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2887
2888 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2889 (css-mode): Use electric-indent-chars.
2890
2891 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2892 (font-lock-beg, font-lock-end): Move before first use.
2893 (nxml-mode): Use syntax-propertize-function.
2894 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2895 (nxml-extend-after-change-region): Remove.
2896 * nxml/xmltok.el: Use lexical-binding.
2897 (xmltok-save): Use `declare'.
2898 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2899 * nxml/nxml-util.el: Use lexical-binding.
2900 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2901 Use `declare'.
2902 * nxml/nxml-ns.el: Use lexical-binding.
2903 (nxml-ns-save): Use `declare'.
2904 (nxml-ns-prefixes-for): Avoid add-to-list.
2905 * nxml/rng-match.el: Use lexical-binding.
2906 (rng--ipattern): Use cl-defstruct.
2907 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2908 (rng-cons-group-after, rng-subst-group-after)
2909 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2910 Use closures instead of `(lambda...).
2911
2912 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2913
2914 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2915 of BEG and END.
2916
2917 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2918 Use `tramp-handle-insert-file-contents'.
2919 (tramp-gvfs-handle-insert-file-contents): Remove function.
2920
2921 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2922 Use `save-restriction' in order to keep markers.
2923
2924 * net/trampver.el: Update release number.
2925
2926 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2927
2928 * progmodes/compile.el (compilation-parse-errors):
2929 Use compilation--put-prop.
2930 (compilation--ensure-parse): Check compilation-multiline.
2931
2932 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2933
2934 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2935 lexical-binding.
2936
2937 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2938
2939 * progmodes/ruby-mode.el: Fix recently added tests.
2940 (ruby-smie-grammar): Add - and +.
2941 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2942 (ruby-smie--backward-id): New functions.
2943 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2944 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2945 any more.
2946
2947 2013-10-07 Leo Liu <sdl.web@gmail.com>
2948
2949 * register.el (register-preview-delay)
2950 (register-preview-functions): New variables.
2951 (register-read-with-preview, register-preview)
2952 (register-describe-oneline): New functions.
2953 (point-to-register, window-configuration-to-register)
2954 (frame-configuration-to-register, jump-to-register)
2955 (number-to-register, view-register, insert-register)
2956 (copy-to-register, append-to-register, prepend-to-register)
2957 (copy-rectangle-to-register): Use register-read-with-preview to
2958 read register. (Bug#15525)
2959
2960 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2961
2962 * net/network-stream.el (network-stream-open-starttls): Don't add
2963 --insecure if it's already present, because that gnutls-cli
2964 rejects getting that parameter twice.
2965
2966 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2967
2968 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2969 keyword, too.
2970
2971 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2972
2973 * newcomment.el (comment-use-global-state): Change default value
2974 to t, mark obsolete (Bug#15251).
2975 (comment-beginning): In addition to `comment-to-syntax', check the
2976 value of `comment-use-global-state'.
2977
2978 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2979
2980 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2981 (ruby-comment-column): Follow the global default, by default.
2982 (ruby-smie-grammar): Add assignment syntax.
2983 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2984 open-paren, a comma, or a \.
2985 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2986 and line continuations.
2987 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2988 followed by implicit semi-colons. Add rule for string concatenation
2989 and for indentation at BOB.
2990 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2991
2992 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2993 calling next-sexp, since next-token may have skipped chars which
2994 next-sexp doesn't know should be skipped!
2995
2996 2013-10-05 Leo Liu <sdl.web@gmail.com>
2997
2998 * progmodes/octave.el (octave-send-region):
2999 Call compilation-forget-errors.
3000
3001 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3002
3003 * vc/vc-svn.el (vc-svn-find-admin-dir):
3004 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3005 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3006 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3007 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3008
3009 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3010
3011 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3012
3013 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3014
3015 * subr.el (read-passwd): Hide chars even when called within a context
3016 where after-change-functions is disabled (bug#15501).
3017 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3018 until we removed ourself from overriding-terminal-local-map.
3019
3020 2013-10-04 Leo Liu <sdl.web@gmail.com>
3021
3022 * progmodes/octave.el (inferior-octave-mode):
3023 Call compilation-forget-errors.
3024
3025 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3026
3027 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3028
3029 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3030
3031 * net/secrets.el (secrets-create-collection): Add optional
3032 argument ALIAS. Use proper Label keyword. Append ALIAS as
3033 dbus-call-method argument. (Bug#15516)
3034
3035 2013-10-04 Leo Liu <sdl.web@gmail.com>
3036
3037 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3038 (inferior-octave-compilation-font-lock-keywords): New variables.
3039 (compilation-error-regexp-alist)
3040 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3041 (inferior-octave-mode): Use compilation-shell-minor-mode.
3042
3043 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3044
3045 * minibuffer.el (completion--replace): Be careful that `end' might be
3046 a marker.
3047
3048 2013-10-03 Daiki Ueno <ueno@gnu.org>
3049
3050 Add support for package signature checking.
3051 * emacs-lisp/package.el (url-http-file-exists-p)
3052 (epg-make-context, epg-context-set-home-directory)
3053 (epg-verify-string, epg-context-result-for)
3054 (epg-signature-status, epg-signature-to-string)
3055 (epg-check-configuration, epg-configuration)
3056 (epg-import-keys-from-file): Declare.
3057 (package-check-signature): New user option.
3058 (package-unsigned-archives): New user option.
3059 (package-desc): Add `signed' field.
3060 (package-load-descriptor): Set `signed' field if .signed file exists.
3061 (package--archive-file-exists-p): New function.
3062 (package--check-signature): New function.
3063 (package-install-from-archive): Check package signature.
3064 (package--download-one-archive): Check archive signature.
3065 (package-delete): Remove .signed file.
3066 (package-import-keyring): New command.
3067 (package-refresh-contents): Import default keyring.
3068 (package-desc-status): Add "unsigned" status.
3069 (describe-package-1, package-menu--print-info)
3070 (package-menu-mark-delete, package-menu--find-upgrades)
3071 (package-menu--status-predicate): Support "unsigned" status.
3072
3073 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3074
3075 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3076 the new compilation scheme using the new byte-codes.
3077
3078 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3079 (byte-pophandler): New byte codes.
3080 (byte-goto-ops): Adjust accordingly.
3081 (byte-compile--use-old-handlers): New var.
3082 (byte-compile-catch): Use new byte codes depending on
3083 byte-compile--use-old-handlers.
3084 (byte-compile-condition-case--old): Rename from
3085 byte-compile-condition-case.
3086 (byte-compile-condition-case--new): New function.
3087 (byte-compile-condition-case): New function that dispatches depending
3088 on byte-compile--use-old-handlers.
3089 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3090 when we can.
3091
3092 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3093 Optimize under `condition-case' and `catch' if
3094 byte-compile--use-old-handlers is nil.
3095 (disassemble-offset): Handle new bytecodes.
3096
3097 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3098
3099 * subr.el (error): Use `declare'.
3100 (decode-char, encode-char): Use advertised-calling-convention instead
3101 of the docstring to discourage use of the `restriction' arg.
3102
3103 2013-10-03 Daiki Ueno <ueno@gnu.org>
3104
3105 * epg.el (epg-verify-file): Add a comment saying that it does not
3106 notify verification error as a return value nor a signal.
3107 (epg-verify-string): Ditto.
3108
3109 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3110
3111 * progmodes/compile.el (compilation-start): Try globbing the arg to
3112 `cd' (bug#15417).
3113
3114 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3115
3116 Sync with Tramp 2.2.8.
3117
3118 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3119 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3120 * net/trampver.el: Update release number.
3121
3122 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3123
3124 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3125 and default-process-coding-system for darwin only.
3126
3127 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3128
3129 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3130
3131 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3132
3133 * vc/vc-git.el (vc-git-grep): Disable pager.
3134
3135 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3136
3137 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3138 Use :url instead of :homepage, as per
3139 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3140
3141 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3142 non-nil, use `syntax-ppss' (Bug#15251).
3143
3144 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3145
3146 * progmodes/octave.el (inferior-octave-startup-file):
3147 Prefer ~/.emacs.d/init_octave.m.
3148
3149 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3150
3151 * emacs-lisp/package.el (package-desc-from-define):
3152 Accept additional arguments as plist, convert them to an alist and store
3153 them in the `extras' slot.
3154 (package-generate-description-file): Convert extras alist back to
3155 plist and append to the `define-package' form arguments.
3156 (package--alist-to-plist): New function.
3157 (package--ac-desc): Add `extras' slot.
3158 (package--add-to-archive-contents): Check if the archive-contents
3159 vector is long enough, and if it is, pass its `extras' slot value
3160 to `package-desc-create'.
3161 (package-buffer-info): Call `lm-homepage', pass the returned value
3162 to `package-desc-from-define'.
3163 (describe-package-1): Render the homepage button (Bug#13291).
3164
3165 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3166 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3167
3168 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3169
3170 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3171 and default-process-coding-system to utf-8-unix (Bug#15402).
3172
3173 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3174
3175 * subr.el (looking-back): Do not recommend using looking-back.
3176
3177 2013-09-28 Alan Mackenzie <acm@muc.de>
3178
3179 Fix indentation/fontification of Java enum with "implements".
3180
3181 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3182 regexp which matches "implements", etc., in Java.
3183 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3184 specifier clauses coming after "enum".
3185 * progmodes/cc-fonts.el (c-font-lock-declarations)
3186 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3187 after "enum".
3188
3189 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3190
3191 * faces.el (region): Change ns_selection_color to
3192 ns_selection_fg_color, add ns_selection_bg_color.
3193
3194 2013-09-28 Leo Liu <sdl.web@gmail.com>
3195
3196 * progmodes/octave.el (inferior-octave-completion-table)
3197 (inferior-octave-completion-at-point): Minor tweaks.
3198
3199 * textmodes/ispell.el (ispell-lookup-words): Rename from
3200 lookup-words. (Bug#15460)
3201 (lookup-words): Obsolete.
3202 (ispell-complete-word, ispell-command-loop): All uses changed.
3203
3204 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3205
3206 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3207 (octave-mode-menu): Add octave-send-buffer.
3208 (octave-send-buffer): New function.
3209
3210 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3211
3212 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3213 octave-lookfor.
3214 (octave-mode-menu): Add octave-lookfor.
3215 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3216 octave-lookfor.
3217 (octave-lookfor): New function.
3218
3219 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3220
3221 * emacs-lisp/cl-macs.el:
3222 (cl--loop-destr-temps): Remove.
3223 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3224 its convention.
3225 (cl--loop-set-iterator-function): New function.
3226 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3227 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3228 Bind `it' with `let' instead of substituting it with `cl-subst'.
3229 (cl--unused-var-p): New function.
3230 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3231 Eliminate some unused variable warnings (bug#15326).
3232
3233 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3234
3235 * doc-view.el (doc-view-scale-reset): Rename from
3236 `doc-view-reset-zoom-level'.
3237 (doc-view-scale-adjust): New command.
3238 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3239 `doc-view-scale-adjust'.
3240
3241 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3242
3243 * doc-view.el (doc-view-reset-zoom-level): New command.
3244 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3245 zoom commands (bug#15466).
3246
3247 2013-09-26 Kenichi Handa <handa@gnu.org>
3248
3249 * international/quail.el (quail-help): Make it not a command.
3250
3251 2013-09-26 Leo Liu <sdl.web@gmail.com>
3252
3253 * minibuffer.el (completion-all-sorted-completions): Make args
3254 optional as they are.
3255
3256 2013-09-25 Daniel Colascione <dancol@dancol.org>
3257
3258 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3259 specs are and that they're not evaluated.
3260
3261 2013-09-24 Sam Steingold <sds@gnu.org>
3262
3263 * midnight.el (clean-buffer-list-kill-regexps)
3264 (clean-buffer-list-kill-buffer-names): Update for the new Man
3265 buffer naming which includes the object name.
3266
3267 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3268
3269 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3270 (eshell-parse-command, eshell-parse-pipeline): Use it since
3271 eshell-separate-commands requires a dynamic scoped var.
3272 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3273
3274 2013-09-23 Leo Liu <sdl.web@gmail.com>
3275
3276 * autoinsert.el (auto-insert-alist): Make the value of
3277 lexical-binding match its file setting.
3278
3279 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3280
3281 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3282
3283 * autoarg.el (autoarg-kp-digit-argument):
3284 * electric.el (Electric-command-loop):
3285 * kmacro.el (kmacro-step-edit-insert):
3286 Do not set universal-argument-num-events.
3287
3288 2013-09-22 Leo Liu <sdl.web@gmail.com>
3289
3290 * files.el (interpreter-mode-alist): Add octave.
3291
3292 2013-09-21 Alan Mackenzie <acm@muc.de>
3293
3294 C++: fontify identifier in declaration following "public:" correctly.
3295 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3296 to match "public", etc.
3297 (c-decl-prefix-re): Add ":" into the C++ value.
3298 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3299 bit. Add a check for a ":" preceded by "public", etc.
3300
3301 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3302
3303 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3304 recognized by GDB 7.5 and later.
3305
3306 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3307
3308 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3309
3310 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3311
3312 * subr.el (internal--call-interactively): New const.
3313 (called-interactively-p): Use it (bug#3984).
3314
3315 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3316
3317 * vc/pcvs.el (cvs-mode-ignore):
3318 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3319 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3320
3321 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3322
3323 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3324 (eshell-ls-orig-insert-directory): Remove.
3325 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3326 (eshell-ls-use-in-dired): Use advice-add/remove.
3327 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3328 Add `orig-fun' arg for use in :around advice.
3329 Make it check (redundantly) eshell-ls-use-in-dired.
3330
3331 2013-09-19 Glenn Morris <rgm@gnu.org>
3332
3333 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3334
3335 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3336
3337 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3338
3339 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3340
3341 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3342 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3343 (tramp-get-remote-python): New defuns.
3344 (tramp-get-remote-uid-with-perl)
3345 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3346 contributed by yary <not.com@gmail.com> (tiny change).
3347 (tramp-get-remote-uid-with-python)
3348 (tramp-get-remote-gid-with-python): New defuns. Python code
3349 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3350 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3351
3352 2013-09-19 Glenn Morris <rgm@gnu.org>
3353
3354 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3355
3356 * eshell/em-unix.el (eshell-remove-entries):
3357 Rename argument to avoid name-clash with global `top-level'.
3358
3359 * eshell/esh-proc.el (eshell-kill-process-function):
3360 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3361 (eshell-reset-after-proc): Remove unused arg `proc'.
3362
3363 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3364 (directory-files-and-attributes): Mark unused arg.
3365
3366 * eshell/em-unix.el (eshell-remove-entries):
3367 Remove unused arg `path'. Update callers.
3368
3369 * eshell/em-hist.el (eshell-hist-parse-arguments):
3370 Remove unused arg `silent'. Update callers.
3371
3372 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3373 Fix (f)boundp mix-up.
3374
3375 * eshell/em-smart.el (eshell-smart-scroll-window)
3376 (eshell-disable-after-change):
3377 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3378
3379 2013-09-18 Alan Mackenzie <acm@muc.de>
3380
3381 Fix fontification of type when followed by "const".
3382 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3383 "known" types from fontification.
3384
3385 2013-09-18 Glenn Morris <rgm@gnu.org>
3386
3387 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3388 (chart-face-list): Drop Emacsen without display-color-p.
3389
3390 * net/eww.el (libxml-parse-html-region): Declare.
3391 (eww-display-html): Explicit error if no libxml2 support.
3392
3393 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3394
3395 * image.el (image-type-from-buffer, image-multi-frame-p):
3396 Remove --without-x warning/error.
3397
3398 * mouse.el (mouse-yank-primary):
3399 * term.el (term-mouse-paste):
3400 Reorder to silence --without-x compilation.
3401
3402 * mpc.el (doc-view-mode): Silence --without-x compilation.
3403
3404 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3405 Silence --without-x compilation.
3406
3407 * progmodes/gud.el (gud-find-file, gud-mode):
3408 Silence --without-x compilation.
3409 (tooltip-mode): Declare.
3410
3411 * wdired.el (dired-backup-overwrite): Remove declaration.
3412 (wdired-mode-map): Add doc string.
3413
3414 * custom.el (x-get-resource): Declare.
3415
3416 * eshell/em-glob.el (ange-cache):
3417 * eshell/em-unix.el (ange-cache): Declare.
3418
3419 * faces.el (x-display-list, x-open-connection, x-get-resource):
3420 Declare.
3421
3422 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3423 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3424 Declare.
3425
3426 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3427
3428 * net/gnutls.el (gnutls-log-level): Declare.
3429
3430 * net/shr.el (image-size, image-animate): Declare.
3431
3432 * simple.el (font-info): Declare.
3433
3434 * subr.el (x-popup-dialog): Declare.
3435
3436 * term/common-win.el (x-select-enable-primary)
3437 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3438 Declare.
3439
3440 * term/ns-win.el (x-handle-args): Declare.
3441
3442 * term/x-win.el (x-select-enable-clipboard): Declare.
3443
3444 * term/w32-win.el (create-default-fontset): Declare.
3445
3446 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3447 Declare.
3448
3449 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3450 (fit-frame-to-buffer): Explicit error if --without-x.
3451 (mouse-autoselect-window-select): Silence compiler.
3452
3453 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3454
3455 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3456 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3457 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3458 * eshell/esh-util.el (eshell-sublist):
3459 Remove unused local variables.
3460
3461 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3462
3463 * textmodes/two-column.el: Make 2C-split work for --without-x.
3464 (scroll-bar-columns): Autoload.
3465 (top-level): Require fringe when compiling.
3466
3467 2013-09-18 Leo Liu <sdl.web@gmail.com>
3468
3469 * subr.el (add-hook): Robustify to handle closure as well.
3470
3471 2013-09-17 Glenn Morris <rgm@gnu.org>
3472
3473 * simple.el (messages-buffer-mode-map): Unbind "g".
3474
3475 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3476
3477 * help-mode.el (help-mode-finish): Use derived-mode-p.
3478 Remove obsolete highlighting.
3479
3480 * play/life.el (life-mode): Use define-derived-mode. Derive from
3481 special-mode.
3482 (life): Let-bind inhibit-read-only.
3483 (life-setup): Avoid `setq'. Use `life-mode'.
3484
3485 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3486 which should not be needed any more.
3487 (package-menu-refresh, package-menu-describe-package): Use user-error.
3488
3489 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3490 (eshell-post-rewrite-command-hook): Make obsolete.
3491 (eshell-parse-command): Simplify.
3492 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3493 (eshell--cmd): Declare.
3494 (eshell-parse-pipeline): Remove unused var `final-p'.
3495 Pass a dynvar to eshell-post-rewrite-command-hook.
3496 Implement the new eshell-post-rewrite-command-function.
3497 (eshell-invoke-directly): Remove unused arg `input'.
3498 * eshell/esh-io.el (eshell-io-initialize):
3499 Use eshell-post-rewrite-command-function (bug#15399).
3500 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3501 adjust to new calling convention.
3502 (eshell-create-handles): Rename args to avoid clashing with dynvar
3503 `standard-output'.
3504
3505 2013-09-17 Glenn Morris <rgm@gnu.org>
3506
3507 * simple.el (messages-buffer-mode): New major mode.
3508 (messages-buffer): New function.
3509 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3510 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3511 (ert-run-test): Use `messages-buffer' function.
3512 (ert--force-message-log-buffer-truncation): Ignore read-only.
3513 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3514 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3515
3516 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3517
3518 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3519
3520 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3521
3522 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3523
3524 * icomplete.el (icomplete-in-buffer): New var.
3525 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3526 vars and replace them with functions.
3527 (icomplete-minibuffer-setup): Adjust accordingly.
3528 (icomplete--completion-table, icomplete--completion-predicate)
3529 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3530 New functions.
3531 (icomplete-forward-completions, icomplete-backward-completions)
3532 (icomplete-simple-completing-p, icomplete-exhibit)
3533 (icomplete-completions): Use them.
3534 (icomplete--in-region-buffer): New var.
3535 (icomplete--in-region-setup): New function.
3536 (icomplete-mode): Use it.
3537
3538 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3539 (bug#15379).
3540 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3541 return args and options.
3542 (eshell-eval-using-options): Use the new return value of
3543 eshell--do-opts to set the options's vars in their scope.
3544 (eshell--set-option): Rename from eshell-set-option.
3545 Add arg `opt-vals'.
3546 (eshell--process-option): Rename from eshell-process-option.
3547 Add arg `opt-vals'.
3548 (eshell--process-args): Use an `opt-vals' alist to store the options's
3549 values during their processing and return them additionally to the
3550 remaining args.
3551
3552 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3553
3554 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3555 continuation character an operator, as far as indentation is
3556 concerned (Bug#15369).
3557
3558 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3559
3560 * window.el (window--state-put-2): Don't process buffer state
3561 when buffer doesn't exist any more (Bug#15382).
3562
3563 2013-09-15 Glenn Morris <rgm@gnu.org>
3564
3565 * eshell/em-unix.el (eshell/rm):
3566 Make -f ignore missing files. (Bug#15373)
3567
3568 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3569 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3570 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3571
3572 2013-09-14 Glenn Morris <rgm@gnu.org>
3573
3574 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3575
3576 2013-09-13 Glenn Morris <rgm@gnu.org>
3577
3578 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3579 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3580
3581 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3582
3583 * frame.el (x-focus-frame): Mark as declared in frame.c.
3584
3585 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3586
3587 * ls-lisp.el: Use advice-add.
3588 (original-insert-directory): Remove.
3589 (ls-lisp--insert-directory): Rename from insert-directory; add
3590 `orig-fun' argument.
3591 (insert-directory): Advise.
3592
3593 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3594
3595 * term.el (term-emulate-terminal): Decode the command string
3596 before passing it to term-command-hook. (Bug#15337)
3597
3598 2013-09-13 Glenn Morris <rgm@gnu.org>
3599
3600 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3601
3602 * eshell/esh-ext.el (eshell-search-path): Declare.
3603
3604 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3605 Otherwise an error occurs if eshell-dirs module not loaded.
3606
3607 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3608
3609 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3610
3611 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3612 `tramp-check-proper-host'. Check for a valid method name.
3613
3614 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3615 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3616 * net/tramp-sh.el (tramp-maybe-open-connection):
3617 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3618
3619 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3620 also for hash values.
3621
3622 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3623
3624 * term/ns-win.el (parameters): Don't declare as dynamic.
3625 (before-make-frame-hook): Don't add ineffective function.
3626
3627 * eshell/*.el: Use lexical-binding (bug#15231).
3628
3629 2013-09-12 Kenichi Handa <handa@gnu.org>
3630
3631 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3632
3633 2013-09-12 Glenn Morris <rgm@gnu.org>
3634
3635 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3636 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3637
3638 * subr.el (do-after-load-evaluation): Also give compiler warnings
3639 when obsolete files are used (except by obsolete files).
3640
3641 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3642 in the status output, assume `filename' is the first. (Bug#15322)
3643
3644 * vc/vc.el (vc-deduce-fileset): Doc fix.
3645
3646 * calc/calc-help.el (Info-goto-node):
3647 * progmodes/cperl-mode.el (Info-find-node):
3648 * vc/ediff.el (Info-goto-node): Update declarations.
3649
3650 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3651
3652 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3653 (vc-bzr-pull): Require vc-dispatcher.
3654 * vc/vc-git.el (vc-compilation-mode): Declare.
3655 (vc-git-pull): Require vc-dispatcher.
3656
3657 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3658
3659 * progmodes/octave.el (help-button-action): Declare.
3660
3661 * shell.el (shell-directory-tracker): Output error as a message
3662 rather than just returning it as a string.
3663 (shell-process-pushd): Remove useless use of message.
3664
3665 * dframe.el (dframe-timer-fn):
3666 * files.el (dir-locals-read-from-file):
3667 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3668 (mpc-format):
3669 * reveal.el (reveal-post-command):
3670 * saveplace.el (load-save-place-alist-from-file):
3671 * shell.el (shell-resync-dirs):
3672 * w32-common-fns.el (x-get-selection-value):
3673 * emacs-lisp/copyright.el (copyright-find-copyright):
3674 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3675 * emulation/tpu-edt.el (tpu-copy-keyfile):
3676 * play/bubbles.el (bubbles--mark-neighbourhood):
3677 * progmodes/executable.el
3678 (executable-make-buffer-file-executable-if-script-p):
3679 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3680
3681 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3682
3683 Cleanup Eshell to rely less on dynamic scoping.
3684 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3685 last-value, and ext-command here. Bind `args' closer to `body'.
3686 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3687 (eshell--args): Declare new dynamic var.
3688 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3689 last-value, and ext-command. Pass `args' to `body'.
3690 (eshell-process-args): Bind eshell--args.
3691 (eshell-set-option): Use eshell--args.
3692 * eshell/eshell.el (eshell): Use derived-mode-p.
3693 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3694 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3695 (eshell-glob-function): Declare.
3696 * eshell/esh-util.el: Require cl-lib.
3697 (eshell-read-hosts-file): Avoid add-to-list.
3698 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3699 `err'.
3700 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3701 Declare.
3702 (eshell/diff): Remove unused var `err'.
3703 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3704 `killflag'.
3705 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3706 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3707 first use.
3708 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3709 Move declaration before first use.
3710 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3711 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3712 rely on cl-return.
3713
3714 2013-09-12 Glenn Morris <rgm@gnu.org>
3715
3716 * term/ns-win.el (global-map): Remove binding for ispell-next,
3717 deleted 1999-05-29. (Bug#15357)
3718
3719 2013-09-11 Glenn Morris <rgm@gnu.org>
3720
3721 * echistory.el (electric-command-history): Remove call to deleted func.
3722
3723 * play/landmark.el (landmark-mode): Fix typos.
3724
3725 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3726 Check cvs-sort-ignore-file is bound.
3727
3728 * savehist.el: No need for cl when compiling on Emacs.
3729
3730 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3731
3732 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3733 (bug#15338).
3734 (eshell-self-insert-command, eshell-send-invisible):
3735 Remove unused argument.
3736 (eshell-handle-control-codes): Remove unused var `orig'.
3737 Avoid delete-backward-char.
3738
3739 * files.el (set-auto-mode): Simplify a bit further.
3740
3741 2013-09-11 Glenn Morris <rgm@gnu.org>
3742
3743 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3744 (set-auto-mode): Don't regexp-quote elements.
3745 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3746 * progmodes/cc-mode.el (interpreter-mode-alist):
3747 * progmodes/ruby-mode.el (interpreter-mode-alist):
3748 Revert previous change.
3749
3750 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3751
3752 * play/snake.el (snake-mode):
3753 * play/mpuz.el (mpuz-mode):
3754 * play/landmark.el (lm-mode):
3755 * play/blackbox.el (blackbox-mode):
3756 * play/5x5.el (5x5-mode):
3757 * obsolete/options.el (Edit-options-mode):
3758 * net/quickurl.el (quickurl-list-mode):
3759 * net/newst-treeview.el (newsticker-treeview-mode):
3760 * mail/rmailsum.el (rmail-summary-mode):
3761 * mail/mspools.el (mspools-mode):
3762 * locate.el (locate-mode):
3763 * ibuffer.el (ibuffer-mode):
3764 * emulation/ws-mode.el (wordstar-mode):
3765 * emacs-lisp/debug.el (debugger-mode):
3766 * array.el (array-mode):
3767 * net/eudc.el (eudc-mode): Use define-derived-mode.
3768 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3769 Move initialization into declaration.
3770 (mairix-searches-mode): Use define-derived-mode.
3771 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3772 (eudc-edit-hotlist): Use dolist.
3773 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3774 (Man-mode): Use define-derived-mode.
3775 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3776 (Info-edit-mode): Use define-derived-mode.
3777 (Info-cease-edit): Use Info-mode.
3778 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3779 into declaration.
3780 (eshell-mode): Use define-derived-mode.
3781 * chistory.el (command-history-mode-map): Rename from
3782 command-history-map.
3783 (command-history-mode): Use define-derived-mode.
3784 (Command-history-setup): Remove function.
3785 * calc/calc.el (calc-trail-mode-map): New var.
3786 (calc-trail-mode): Use define-derived-mode.
3787 (calc-trail-buffer): Set calc-main-buffer manually.
3788 * bookmark.el (bookmark-insert-annotation): New function.
3789 (bookmark-edit-annotation): Use it.
3790 (bookmark-edit-annotation-mode): Make it a proper major mode.
3791 (bookmark-send-edited-annotation): Use derived-mode-p.
3792 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3793 closer to its ideal place. Use \' to match EOS.
3794
3795 * profiler.el (profiler-calltree-find): Use function-equal.
3796
3797 2013-09-10 Glenn Morris <rgm@gnu.org>
3798
3799 * files.el (interpreter-mode-alist): Convert to regexps.
3800 (set-auto-mode): Adapt for this. (Bug#15306)
3801 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3802 Comment out unused variable.
3803 * progmodes/cc-mode.el (interpreter-mode-alist):
3804 * progmodes/python.el (interpreter-mode-alist):
3805 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3806 * progmodes/sh-script.el (sh-set-shell):
3807 No longer use interpreter-mode-alist to get list of shells.
3808
3809 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3810
3811 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3812
3813 * simple.el: Use set-temporary-overlay-map for universal-argument.
3814 (universal-argument-map): Don't use default-bindings (bug#15317).
3815 Bind switch-frame explicitly. Replace universal-argument-minus with
3816 a conditional binding.
3817 (universal-argument-num-events, saved-overriding-map): Remove.
3818 (restore-overriding-map): Remove.
3819 (universal-argument--mode): Rename from save&set-overriding-map,
3820 and rewrite.
3821 (universal-argument, universal-argument-more, negative-argument)
3822 (digit-argument): Adjust accordingly.
3823 (universal-argument-minus): Remove.
3824 (universal-argument-other-key): Remove.
3825
3826 * subr.el (with-demoted-errors): Add `format' argument.
3827
3828 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3829
3830 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3831 `tramp-cleanup-connection'.
3832
3833 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3834 parameters KEEP-DEBUG and KEEP-PASSWORD.
3835
3836 * net/tramp.el (tramp-file-name-handler):
3837 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3838 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3839 (tramp-maybe-open-connection):
3840 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3841 Use `tramp-cleanup-connection'.
3842
3843 * net/tramp-sh.el (tramp-maybe-open-connection):
3844 Catch 'uname-changed inside the progress reporter.
3845
3846 2013-09-10 Glenn Morris <rgm@gnu.org>
3847
3848 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3849
3850 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3851 returns "alternate access method" in mode (eg "-rw-r--r--.").
3852
3853 2013-09-08 Glenn Morris <rgm@gnu.org>
3854
3855 * saveplace.el (load-save-place-alist-from-file):
3856 Demote errors. (Bug#15305)
3857
3858 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3859
3860 Improve compatibility with older Emacsen, and XEmacs.
3861
3862 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3863 only if it is bound. It isn't for XEmacs.
3864 (with-tramp-progress-reporter): Do not let-bind `result'.
3865 This yields to scoping errors in XEmacs.
3866 (tramp-handle-make-auto-save-file-name): New function, moved from
3867 tramp-sh.el.
3868
3869 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3870 for `make-auto-save-file-name'.
3871 (tramp-adb--gnu-switches-to-ash):
3872 Use `tramp-compat-replace-regexp-in-string'.
3873
3874 * net/tramp-cache.el (tramp-cache-print): Call
3875 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3876
3877 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3878 bound. It isn't for XEmacs.
3879
3880 * net/tramp-compat.el (tramp-compat-copy-file):
3881 Catch `wrong-number-of-arguments' error.
3882 (tramp-compat-replace-regexp-in-string): New defun.
3883
3884 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3885 for `make-auto-save-file-name'.
3886 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3887 `copy-file'.
3888 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3889 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3890 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3891
3892 * net/tramp-gw.el (tramp-gw-open-network-stream):
3893 Use `tramp-compat-replace-regexp-in-string'.
3894
3895 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3896 Call `tramp-handle-make-auto-save-file-name'.
3897 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3898 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3899 (tramp-sh-file-inotifywait-process-filter):
3900 Use `tramp-compat-replace-regexp-in-string'.
3901 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3902
3903 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3904 for `make-auto-save-file-name'.
3905 (tramp-smb-handle-copy-directory):
3906 Call `tramp-compat-replace-regexp-in-string'.
3907 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3908 (tramp-smb-handle-copy-file): Improve error message.
3909 (tramp-smb-handle-rename-file): Rename directly only in case
3910 `newname' does not exist yet. This is a restriction of smbclient.
3911 (tramp-smb-maybe-open-connection): Rerun the function only when
3912 `auth-sources' is non-nil.
3913
3914 2013-09-08 Kenichi Handa <handa@gnu.org>
3915
3916 * international/characters.el: Set category "^" (Combining) for
3917 more characters.
3918
3919 2013-09-07 Alan Mackenzie <acm@muc.de>
3920
3921 Correctly fontify Java class constructors.
3922 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3923 in Java Mode.
3924 (c-recognize-typeless-decls): Set the Java value to t.
3925 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3926 While handling a "(", add a check for, effectively, Java, and handle a
3927 "typeless" declaration there.
3928
3929 2013-09-07 Roland Winkler <winkler@gnu.org>
3930
3931 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3932 field subtitle for entry type book.
3933
3934 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3935
3936 * minibuffer.el: Make minibuffer-complete call completion-in-region
3937 rather than other way around.
3938 (completion--some, completion-pcm--find-all-completions):
3939 Don't delay signals when debugging.
3940 (minibuffer-completion-contents): Beware fields within the
3941 minibuffer contents.
3942 (completion-all-sorted-completions): Use defvar-local.
3943 (completion--do-completion, completion--cache-all-sorted-completions)
3944 (completion-all-sorted-completions, minibuffer-force-complete):
3945 Add args `beg' and `end'.
3946 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3947 (minibuffer-complete): Use completion-in-region.
3948 (completion-complete-and-exit): New fun, extracted from
3949 minibuffer-complete-and-exit.
3950 (minibuffer-complete-and-exit): Use it.
3951 (completion--complete-and-exit): Rename from
3952 minibuffer--complete-and-exit.
3953 (completion-in-region--single-word): New function, extracted from
3954 minibuffer-complete-word.
3955 (minibuffer-complete-word): Use it.
3956 (display-completion-list): Make `common-substring' argument obsolete.
3957 (completion--in-region): Call completion--in-region-1 instead of
3958 minibuffer-complete.
3959 (completion-help-at-point): Pass boundaries to
3960 minibuffer-completion-help as args rather than via an overlay.
3961 (completion-pcm--string->pattern): Use `any-delim'.
3962 (completion-pcm--optimize-pattern): New function.
3963 (completion-pcm--pattern->regex): Handle `any-delim'.
3964 * icomplete.el (icomplete-forward-completions)
3965 (icomplete-backward-completions, icomplete-completions):
3966 Adjust calls to completion-all-sorted-completions and
3967 completion--cache-all-sorted-completions.
3968 (icomplete-with-completion-tables): Default to t.
3969 * emacs-lisp/crm.el (crm--current-element): Rename from
3970 crm--select-current-element. Don't put an overlay but return the
3971 boundaries instead.
3972 (crm--completion-command): Take two new args to bind to the boundaries.
3973 (crm-completion-help): Adjust accordingly.
3974 (crm-complete): Use completion-in-region.
3975 (crm-complete-word): Use completion-in-region--single-word.
3976 (crm-complete-and-exit): Use completion-complete-and-exit.
3977
3978 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3979
3980 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3981 than dynamically.
3982
3983 2013-09-06 Juri Linkov <juri@jurta.org>
3984
3985 * info.el (Info-display-images-node): When image file doesn't exist
3986 display text version of the image if it's provided in the Info file.
3987 Otherwise, display the location of missing image from SRC attribute.
3988 Add help-echo text property from ALT attribute. (Bug#15279)
3989
3990 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3991
3992 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3993 (edit-abbrevs-mode): Use define-derived-mode.
3994
3995 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3996 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3997 that it's defined.
3998 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3999 Use define-derived-mode.
4000
4001 * epg.el (epg-start-encrypt): Minor CSE simplification.
4002
4003 2013-09-06 William Xu <william.xwl@gmail.com>
4004
4005 * arc-mode.el: Add support for 7za (bug#15264).
4006 (archive-7z-program): New var.
4007 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4008 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4009 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4010
4011 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4012
4013 Remove URL syntax.
4014
4015 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4016 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4017 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4018 (tramp-postfix-host-format, tramp-file-name-regexp)
4019 (tramp-completion-file-name-regexp)
4020 (tramp-completion-dissect-file-name)
4021 (tramp-handle-substitute-in-file-name): Remove 'url case.
4022 (tramp-file-name-regexp-url)
4023 (tramp-completion-file-name-regexp-url): Remove constants.
4024
4025 2013-09-06 Glenn Morris <rgm@gnu.org>
4026
4027 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4028
4029 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4030
4031 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4032 keywords" below "here-doc beginnings" (Bug#15270).
4033
4034 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4035
4036 * subr.el (pop): Use `car-safe'.
4037 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4038 to detect unused `pop' return value.
4039
4040 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4041 var `block-regexp'.
4042 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4043 (python-fill-string): Remove unused var `marker'.
4044 (python-skeleton-add-menu-items): Remove unused var `items'.
4045
4046 * international/mule-cmds.el: Require CL.
4047 (find-coding-systems-for-charsets): Avoid add-to-list.
4048 (sanitize-coding-system-list): New function, extracted from
4049 select-safe-coding-system-interactively.
4050 (select-safe-coding-system-interactively): Use it.
4051 (read-input-method-name): Accept symbols for `default'.
4052
4053 * emacs-lisp/advice.el (defadvice): Add indent rule.
4054
4055 2013-09-05 Daniel Hackney <dan@haxney.org>
4056
4057 * dired-x.el:
4058 * net/ange-ftp.el:
4059 * net/browse-url.el:
4060 * net/dbus.el:
4061 * net/eudc.el:
4062 * net/eudcb-ldap.el:
4063 * net/eww.el:
4064 * net/imap.el:
4065 * printing.el:
4066 * vc/ediff-diff.el:
4067 * vc/ediff-init.el:
4068 * vc/ediff-merg.el:
4069 * vc/ediff-mult.el:
4070 * vc/ediff-util.el:
4071 * vc/ediff-wind.el:
4072 * vc/ediff.el:
4073 * vc/emerge.el:
4074 * vc/pcvs.el:
4075 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4076 byte compiler. Remove some unused let-bound variables.
4077
4078 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4079
4080 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4081 a "ref-cell", since it gets better optimized (bug#14883).
4082
4083 2013-09-05 Glenn Morris <rgm@gnu.org>
4084
4085 * progmodes/cc-awk.el (c-forward-sws): Declare.
4086
4087 2013-09-04 Glenn Morris <rgm@gnu.org>
4088
4089 * generic-x.el [rul-generic-mode]: Require cc-mode.
4090 (c++-mode-syntax-table): Declare.
4091 (rul-generic-mode-syntax-table): Init in the defvar.
4092
4093 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4094
4095 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4096 (vc-do-command, vc-set-async-update):
4097 * vc/vc-mtn.el (vc-mtn-dir-status):
4098 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4099 (vc-hg-pull, vc-hg-merge-branch):
4100 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4101 (vc-git-merge-branch):
4102 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4103 (vc-cvs-dir-status-files):
4104 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4105 (vc-bzr-dir-status-files):
4106 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4107 * vc/vc-annotate.el: Use lexical-binding.
4108 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4109 (vc-sentinel-movepoint): Declare.
4110 (vc-annotate): Don't use `goto-line'.
4111 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4112 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4113 (vc-sentinel-movepoint): Declare.
4114 * vc/vc-svn.el: Use lexical-binding.
4115 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4116 * vc/vc-sccs.el:
4117 * vc/vc-rcs.el: Use lexical-binding.
4118
4119 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4120 `deleted'. Don't drop errors silently.
4121
4122 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4123
4124 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4125
4126 * vc/vc.el (vc-ignore): Rewrite.
4127 (vc-default-ignore): New function.
4128 (vc-default-ignore-completion-table): Use find-ignore-file.
4129
4130 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4131 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4132 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4133 Remove. Most code moved to vc.el.
4134
4135 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4136
4137 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4138 * net/tramp-smb.el (tramp-smb-get-file-entries):
4139 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4140 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4141
4142 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4143 Update call to it.
4144 (eww-change-select): Remove unused var `properties'.
4145 (eww-make-unique-file-name): Remove unused var `base'.
4146
4147 * finder.el (finder-compile-keywords): Don't mess with windows.
4148
4149 * calculator.el (calculator-funcall): Fix typo in last change.
4150
4151 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4152
4153 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4154 <pkg>-autoloads.el file stop us.
4155
4156 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4157 warnings, and factor out common code.
4158
4159 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4160
4161 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4162 two-character operators and whether the character preceding them
4163 changes their meaning (Bug#15208).
4164
4165 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4166
4167 Format code sent to Python shell for robustness.
4168 * progmodes/python.el (python-shell-buffer-substring):
4169 New function.
4170 (python-shell-send-region, python-shell-send-buffer): Use it.
4171
4172 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4173
4174 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4175 * net/tramp.el (tramp-user-error): ... here.
4176 (tramp-find-method, tramp-check-proper-host)
4177 (tramp-dissect-file-name, tramp-debug-message)
4178 (tramp-handle-shell-command):
4179 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4180 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4181
4182 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4183
4184 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4185
4186 * avoid.el (mouse-avoidance-point-position)
4187 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4188 returns nil.
4189
4190 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4191
4192 * progmodes/python.el (python-shell-completion-get-completions):
4193 Drop use of deleted `comint-last-prompt-overlay'.
4194 (python-nav-if-name-main): New command.
4195
4196 2013-09-01 Glenn Morris <rgm@gnu.org>
4197
4198 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4199 Avoid leading space in $wins. Otherwise the sed command used by
4200 eg compile-main ends up containing "/*.el". (Bug#15170)
4201
4202 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4203
4204 2013-08-30 Glenn Morris <rgm@gnu.org>
4205
4206 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4207 Fix is-this-a-directory logic. (Bug#15220)
4208
4209 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4210
4211 * textmodes/css-mode.el: Use SMIE.
4212 (css-smie-grammar): New var.
4213 (css-smie--forward-token, css-smie--backward-token)
4214 (css-smie-rules): New functions.
4215 (css-mode): Use them.
4216 (css-navigation-syntax-table): Remove var.
4217 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4218 (css-indent-calculate, css-indent-line): Remove functions.
4219
4220 Misc changes to reduce use of `(lambda...); and other cleanups.
4221 * cus-edit.el: Use lexical-binding.
4222 (customize-push-and-save, customize-apropos)
4223 (custom-buffer-create-internal): Use closures.
4224 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4225 * progmodes/ada-xref.el: Use setq.
4226 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4227 * dframe.el: Use lexical-binding.
4228 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4229 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4230 * descr-text.el: Use lexical-binding.
4231 (describe-text-widget, describe-text-sexp, describe-property-list):
4232 Use closures.
4233 * comint.el (comint-history-isearch-push-state): Use a closure.
4234 * calculator.el: Use lexical-binding.
4235 (calculator-number-to-string): Make it work with lexical-binding.
4236 (calculator-funcall): Same and use cl-letf.
4237
4238 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4239 (lisp--company-doc-string, lisp--company-location): New functions.
4240 (lisp-completion-at-point): Use them to improve Company support.
4241
4242 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4243 params of lambda expressions.
4244 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4245 (ruby-smie--opening-pipe-p): New function.
4246 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4247 symbols and matched |...| for formal params.
4248 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4249 from being treated as hanging. Handle "rescue".
4250
4251 2013-08-29 Glenn Morris <rgm@gnu.org>
4252
4253 * progmodes/cc-engine.el (c-pull-open-brace):
4254 Move definition before use.
4255
4256 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4257
4258 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4259 are immutable. Don't use `unsafe' any more.
4260 (cl--defsubst-expand): Don't substitute at the same time as keeping
4261 a residual unused let-binding. Don't use `unsafe' any more.
4262
4263 2013-08-29 Glenn Morris <rgm@gnu.org>
4264
4265 * calendar/cal-china.el (calendar-chinese-year-cache):
4266 Recenter on 2015.
4267
4268 * nxml/nxml-util.el (nxml-debug-clear-inside):
4269 Use cl-loop rather than loop.
4270
4271 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4272
4273 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4274
4275 2013-08-28 Glenn Morris <rgm@gnu.org>
4276
4277 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4278
4279 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4280
4281 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4282
4283 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4284
4285 * simple.el (repeat-complex-command--called-interactively-skip):
4286 New function.
4287 (repeat-complex-command): Use it (bug#14136).
4288
4289 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4290 (c-define-abbrev-table): Add `doc' argument.
4291 (c-mode-abbrev-table, c++-mode-abbrev-table)
4292 (objc-mode-abbrev-table, java-mode-abbrev-table)
4293 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4294 (awk-mode-abbrev-table): Use it.
4295 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4296 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4297 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4298 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4299 Move initialization into the declaration; and remove any
4300 autoload cookie.
4301
4302 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4303 and dynamic let binding.
4304
4305 * vc/smerge-mode.el: Remove redundant :group args.
4306
4307 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4308 to load-path.
4309
4310 2013-08-28 Juri Linkov <juri@jurta.org>
4311
4312 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4313 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4314 (isearch-other-meta-char): Handle an undefined shifted printing
4315 character by downshifting it. (Bug#15200)
4316
4317 2013-08-28 Juri Linkov <juri@jurta.org>
4318
4319 * isearch.el (isearch-search): Change regexp error message for
4320 non-regexp searches. (Bug#15166)
4321
4322 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4323
4324 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4325 for portability to hosts where /bin/sh has problems.
4326
4327 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4328
4329 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4330
4331 2013-08-27 Juri Linkov <juri@jurta.org>
4332
4333 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4334 in the keyboard macro. (Bug#15126)
4335
4336 2013-08-27 Juri Linkov <juri@jurta.org>
4337
4338 * isearch.el (isearch-quote-char): Comment out converting unibyte
4339 to multibyte, thus syncing with its `quoted-insert' counterpart.
4340 (Bug#15166)
4341
4342 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4343
4344 * window.el (display-buffer-use-some-window): Add missing
4345 argument in call of get-largest-window (Bug#15185).
4346 Reported by Stephen Leake.
4347
4348 2013-08-27 Glenn Morris <rgm@gnu.org>
4349
4350 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4351
4352 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4353
4354 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4355 from a matcher-function unless there's no more matches (bug#15161).
4356
4357 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4358
4359 * minibuffer.el: Revert change from 2013-08-20.
4360
4361 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4362 with text property `tramp-default', if appropriate.
4363 (tramp-check-proper-host): New defun.
4364 (tramp-dissect-file-name): Do not check hostname. Revert change
4365 of 2013-03-18.
4366 (tramp-backtrace): Make VEC-OR-PROC optional.
4367
4368 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4369 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4370 * net/tramp-sh.el (tramp-maybe-open-connection):
4371 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4372 Apply `tramp-check-proper-host'.
4373
4374 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4375
4376 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4377 lambda expression in order to have `describe-variable' display it.
4378
4379 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4380
4381 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4382 BUF can be optional. (Bug#15186)
4383
4384 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4385
4386 * progmodes/flymake.el (flymake-get-real-file-name-function):
4387 Fix broken customization. (Bug#15184)
4388
4389 2013-08-25 Alan Mackenzie <acm@muc.de>
4390
4391 Improve indentation of bracelists defined by macros (without "=").
4392
4393 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4394 expansion begins with "{", regard it as bracelist when it doesn't
4395 contain a ";".
4396
4397 Parse C++ inher-intro when there's a template split over 2 lines.
4398
4399 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4400 rigorously the search for "class" etc. followed by ":".
4401
4402 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4403 random languages a regexp which never matches rather than nil.
4404
4405 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4406
4407 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4408 (c-awk-regexp-one-line-possibly-open-char-list-re)
4409 (c-awk-one-line-possibly-open-regexp-re)
4410 (c-awk-one-line-non-syn-ws*-re): Remove.
4411 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4412 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4413 (c-awk-space*-unclosed-regexp-/-re): New constants.
4414 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4415 aren't regexp delimiters.
4416
4417 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4418 handling for a rare situation in AWK Mode involving unterminated
4419 strings/regexps.
4420
4421 2013-08-23 Glenn Morris <rgm@gnu.org>
4422
4423 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4424
4425 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4426
4427 * files.el (create-file-buffer): If the result would begin with
4428 spaces, prepend a "|" instead of removing them. (Bug#15162)
4429
4430 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4431
4432 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4433 text-properties (bug#15155).
4434
4435 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4436 exist any more.
4437 (calc-keypad-redraw): Remove unused var `pad'.
4438 (calc-keypad-press): Remove unused var `menu'.
4439
4440 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4441
4442 * window.el (display-buffer-pop-up-frame):
4443 Call pop-up-frame-function with BUFFER current so `make-frame' will
4444 use it as the new frame's buffer (Bug#15133).
4445
4446 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4447
4448 * calendar/timeclock.el: Minor cleanups.
4449 (timeclock-ask-before-exiting, timeclock-use-display-time):
4450 Use `symbol'.
4451 (timeclock-modeline-display): Define as alias before the
4452 actual definition.
4453 (timeclock-mode-line-display): Use define-minor-mode.
4454 (timeclock-day-list-template): Make it a function, add an argument.
4455 (timeclock-day-list-required, timeclock-day-list-length)
4456 (timeclock-day-list-debt, timeclock-day-list-span)
4457 (timeclock-day-list-break): Adjust calls accordingly.
4458
4459 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4460
4461 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4462 Use read--expression so that completion works again.
4463
4464 2013-08-21 Sam Steingold <sds@gnu.org>
4465
4466 Add rudimentary inferior shell interaction
4467 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4468 (sh-set-shell): Reset it.
4469 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4470 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4471
4472 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4473
4474 * align.el: Use lexical-binding.
4475 (align-region): Simplify accordingly.
4476
4477 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4478
4479 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4480
4481 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4482 `non-essential' up.
4483
4484 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4485
4486 * net/tramp.el:
4487 * net/tramp-adb.el:
4488 * net/tramp-cmds.el:
4489 * net/tramp-ftp.el:
4490 * net/tramp-gvfs.el:
4491 * net/tramp-gw.el:
4492 * net/tramp-sh.el: Don't wrap external variable declarations by
4493 `eval-when-compile'.
4494
4495 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4496
4497 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4498 now that Emacs supports ImageMagick animations.
4499
4500 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4501
4502 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4503 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4504
4505 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4506
4507 * window.el (mouse-autoselect-window-select): Do autoselect when
4508 mouse pointer is on margin.
4509
4510 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4511
4512 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4513
4514 2013-08-16 Glenn Morris <rgm@gnu.org>
4515
4516 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4517 Handle "Remote Directory" response of some clients. (Bug#15058)
4518
4519 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4520 Tweak warning. (Bug#14926)
4521
4522 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4523 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4524
4525 * image-mode.el (image-mode-map): Add menu items to reverse,
4526 increase, decrease, reset animation speed.
4527 (image--set-speed, image-increase-speed, image-decrease-speed)
4528 (image-reverse-speed, image-reset-speed): New functions.
4529 (image-mode-map): Add bindings for speed commands.
4530
4531 * image.el (image-animate-get-speed, image-animate-set-speed):
4532 New functions.
4533 (image-animate-timeout): Respect image :speed property.
4534
4535 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4536
4537 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4538 previous line (bug#15101).
4539 (debugger-eval-expression, debugger-record-expression):
4540 Use read--expression (bug#15102).
4541
4542 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4543
4544 Remove byte compiler warnings, visible when compiling with
4545 `byte-compile-force-lexical-warnings' set to t.
4546
4547 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4548 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4549 (tramp-handle-unhandled-file-name-directory)
4550 (tramp-handle-file-notify-add-watch, tramp-action-login)
4551 (tramp-action-succeed, tramp-action-permission-denied)
4552 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4553 arguments with "_".
4554
4555 * net/tramp-adb.el (tramp-adb-parse-device-names)
4556 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4557 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4558 (tramp-adb-handle-file-truename): Remove unused arguments.
4559
4560 * net/tramp-cache.el (tramp-flush-directory-property)
4561 (tramp-flush-connection-property, tramp-list-connections)
4562 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4563
4564 * net/tramp-compat.el (tramp-compat-make-temp-file):
4565 Rename FILENAME to F.
4566
4567 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4568 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4569 (tramp-zeroconf-parse-workstation-device-names)
4570 (tramp-zeroconf-parse-webdav-device-names)
4571 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4572
4573 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4574 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4575
4576 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4577 arguments.
4578 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4579 (tramp-sh-handle-insert-file-contents-literally)
4580 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4581 with "_".
4582 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4583 Remove unused variables.
4584
4585 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4586 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4587 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4588
4589 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4590 Make them a defconst.
4591 (tramp-uuencode-region): Remove unused variable.
4592
4593 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4594
4595 * frameset.el (frameset--prop-setter): New function.
4596 (frameset-prop): Add gv-setter declaration.
4597 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4598 parameter was already set in FILTERED. Doc fix.
4599 (frameset--record-minibuffer-relationships): Allow saving a
4600 minibufferless frame without its corresponding minibuffer frame.
4601 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4602 frame, if the frame id matches.
4603 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4604 frames before orphaned ones.
4605 (frameset-restore): Warn about orphaned windows, instead of error out.
4606
4607 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4608
4609 * window.el (window-make-atom): Don't overwrite parameter
4610 already present.
4611 (display-buffer-in-atom-window): Handle special case where we
4612 split an already atomic window.
4613 (window--major-non-side-window, display-buffer-in-side-window)
4614 (window--side-check): Ignore minibuffer window when walking
4615 window tree.
4616 (window-deletable-p): Return 'frame only if no other frame uses
4617 our minibuffer window.
4618 (record-window-buffer): Run buffer-list-update-hook.
4619 (split-window): Make sure window--check-frame won't destroy an
4620 existing atomic window in case the new window gets nested
4621 inside.
4622 (display-buffer-at-bottom): Ignore minibuffer window when
4623 walking window tree. Don't split a side window.
4624 (pop-to-buffer): Don't set-buffer here, the select-window call
4625 should do that.
4626 (mouse-autoselect-window-select): Autoselect only if we are in the
4627 text portion of the window.
4628
4629 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4630
4631 * net/shr.el (shr-parse-image-data): New function to grab both the
4632 data itself and the Content-Type.
4633 (shr-put-image): Use it.
4634
4635 * net/eww.el (eww-display-image): Ditto.
4636
4637 * image.el (image-content-type-suffixes): New variable.
4638
4639 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4640
4641 * progmodes/python.el (python-imenu--build-tree)
4642 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4643
4644 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4645
4646 * simple.el (backward-word): Mention the optional argument.
4647
4648 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4649
4650 * frameset.el (frameset--make): Rename constructor from make-frameset.
4651 (frameset-p, frameset-valid-p): Don't autoload.
4652 (frameset-valid-p): Use normal accessors.
4653
4654 2013-08-13 Glenn Morris <rgm@gnu.org>
4655
4656 * progmodes/compile.el (compile-command): Tweak example in doc.
4657 * obsolete/scribe.el (scribe-mode):
4658 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4659
4660 * mail/feedmail.el (feedmail-confirm-outgoing)
4661 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4662
4663 * cus-start.el (truncate-partial-width-windows): Fix type.
4664
4665 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4666
4667 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4668
4669 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4670
4671 * emacs-lisp/timer.el (timer--time-setter): New function.
4672 (timer--time): Use it as gv-setter.
4673
4674 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4675 setter is not a symbol.
4676
4677 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4678
4679 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4680 if sending fails. This makes debugging easier.
4681
4682 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4683
4684 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4685 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4686 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4687
4688 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4689
4690 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4691
4692 2013-08-12 Glenn Morris <rgm@gnu.org>
4693
4694 * format.el (format-annotate-function):
4695 Handle read-only text properties in the source. (Bug#14887)
4696
4697 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4698
4699 * net/eww.el (eww-display-html): Ignore coding system errors.
4700 One web site uses "utf-8lias" as the coding system.
4701
4702 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4703
4704 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4705
4706 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4707
4708 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4709 (tutorial--detailed-help): Remove unused local variables.
4710 (tutorial--save-tutorial-to): Use ignore-errors.
4711 (help-with-tutorial): Use looking-at-p.
4712
4713 * view.el (view-buffer-other-window, view-buffer-other-frame):
4714 Mark unused arguments.
4715
4716 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4717 (woman-select-symbol-fonts, woman, woman-find-file)
4718 (woman-insert-file-contents, woman-non-underline-faces):
4719 Use string-match-p.
4720 (woman1-unquote): Move declaration.
4721
4722 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4723 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4724 argument. Remove unused local variable.
4725 (xml-parse-elem-type): Use string-match-p.
4726 (xml-substitute-numeric-entities): Use ignore-errors.
4727
4728 * calculator.el (calculator): Mark unused argument.
4729 (calculator-paste, calculator-quit, calculator-integer-p):
4730 Use ignore-errors.
4731 (calculator-string-to-number, calculator-decimal, calculator-exp)
4732 (calculator-op-or-exp): Use string-match-p.
4733
4734 * dired.el (dired-buffer-more-recently-used-p): Declare.
4735 (dired-insert-set-properties, dired-insert-old-subdirs):
4736 Use ignore-errors.
4737
4738 * dired-aux.el (dired-compress): Use ignore-errors.
4739 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4740 (dired-do-async-shell-command, dired-do-shell-command)
4741 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4742 (dired-insert-subdir-validate): Use string-match-p.
4743 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4744 (dired-add-entry): Use string-match-p, looking-at-p.
4745 (dired-insert-subdir-newpos): Remove unused local variable.
4746
4747 * filenotify.el (file-notify-callback): Remove unused local variable.
4748
4749 * filesets.el (filesets-error): Mark unused argument.
4750 (filesets-which-command-p, filesets-filter-dir-names)
4751 (filesets-directory-files, filesets-get-external-viewer)
4752 (filesets-ingroup-get-data): Use string-match-p.
4753
4754 * find-file.el (ff-other-file-name, ff-other-file-name)
4755 (ff-find-the-other-file, ff-cc-hh-converter):
4756 Remove unused local variables.
4757 (ff-get-file-name): Use string-match-p.
4758 (ff-all-dirs-under): Use ignore-errors.
4759
4760 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4761 (follow-select-if-visible): Remove unused local variable.
4762
4763 * forms.el (read-file-filter): Move declaration.
4764 (forms--make-format, forms--make-parser, forms-insert-record):
4765 Quote function with #'.
4766 (forms--update): Use string-match-p. Quote function with #'.
4767
4768 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4769 (help-make-xrefs): Use looking-at-p.
4770 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4771
4772 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4773 (ibuffer-confirm-operation-on): Use string-match-p.
4774
4775 * msb.el (msb-item-handler, msb-dired-item-handler):
4776 Mark unused arguments.
4777
4778 * ses.el (ses-decode-cell-symbol)
4779 (ses-kill-override): Remove unused local variable.
4780 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4781 (ses-load): Use ignore-errors, looking-at-p.
4782 (ses-jump-safe): Use ignore-errors.
4783 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4784
4785 * tabify.el (untabify, tabify): Mark unused arguments.
4786
4787 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4788 Mark unused argument.
4789 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4790 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4791
4792 * emacs-lisp/timer.el (timer--time): Define setter with
4793 gv-define-setter to avoid deprecation warning.
4794
4795 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4796 (*record-cmpl-statistics-p*): Remove (was commented out).
4797 (cmpl-statistics-block): Remove (body was commented out).
4798 All callers changed.
4799 (add-completions-from-buffer, load-completions-from-file):
4800 Remove unused variables.
4801
4802 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4803
4804 * filecache.el (file-cache-delete-file-list):
4805 Print message only when told so.
4806 (file-cache-files-matching): Use #' in mapconcat argument.
4807
4808 * ffap.el (ffap-url-at-point): Fix reference to variable
4809 thing-at-point-default-mail-uri-scheme.
4810
4811 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4812
4813 * subr.el (define-error): New function.
4814 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4815 error-file-not-found and define with define-error.
4816 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4817 and define with define-error.
4818 * userlock.el (file-locked, file-supersession):
4819 * simple.el (mark-inactive):
4820 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4821 * progmodes/ada-mode.el (ada-mode-errors):
4822 * play/life.el (life-extinct):
4823 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4824 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4825 * nxml/rng-util.el (rng-error):
4826 * nxml/rng-uri.el (rng-uri-error):
4827 * nxml/rng-match.el (rng-compile-error):
4828 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4829 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4830 * nxml/nxml-rap.el (nxml-scan-error):
4831 * nxml/nxml-outln.el (nxml-outline-error):
4832 * net/soap-client.el (soap-error):
4833 * net/gnutls.el (gnutls-error):
4834 * net/ange-ftp.el (ftp-error):
4835 * mpc.el (mpc-proc-error):
4836 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4837 (json-number-format, json-string-escape, json-string-format)
4838 (json-key-format, json-object-format):
4839 * jka-compr.el (compression-error):
4840 * international/quail.el (quail-error):
4841 * international/kkc.el (kkc-error):
4842 * emacs-lisp/ert.el (ert-test-failed):
4843 * calc/calc.el (calc-error, inexact-result, math-overflow)
4844 (math-underflow):
4845 * bookmark.el (bookmark-error-no-filename):
4846 * epg.el (epg-error): Define with define-error.
4847
4848 * time.el (display-time-event-handler)
4849 (display-time-next-load-average): Don't call sit-for since it seems
4850 unnecessary (bug#15045).
4851
4852 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4853 Use #' instead of ' to quote functions.
4854 (checkdoc-output-mode): Use setq-local.
4855 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4856 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4857 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4858 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4859 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4860 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4861 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4862 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4863
4864 * ido.el (ido-completion-help): Fix up compiler warning.
4865
4866 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4867
4868 * frameset.el (frameset-p): Add autoload cookie.
4869 (frameset--jump-to-register): New function, based on code moved from
4870 register.el.
4871 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4872
4873 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4874 (frameset-restore, frameset-save, frameset-session-filter-alist):
4875 Remove declarations.
4876 (register-alist): Doc fix.
4877 (frameset-to-register): Move to frameset.el.
4878 (jump-to-register, describe-register-1): Remove frameset-specific code.
4879
4880 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4881
4882 * allout-widgets.el (allout-widgets-pre-command-business)
4883 (allout-widgets-post-command-business)
4884 (allout-widgets-after-change-handler)
4885 (allout-decorate-item-and-context, allout-set-boundary-marker)
4886 (allout-body-modification-handler)
4887 (allout-graphics-modification-handler): Mark ignored arguments.
4888 (allout-widgets-post-command-business)
4889 (allout-widgets-exposure-change-processor)
4890 (allout-widgets-exposure-undo-processor)
4891 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4892 (allout-parse-item-at-point, allout-decorate-item-guides)
4893 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4894 * allout.el (epa-passphrase-callback-function): Declare.
4895 (allout-overlay-insert-in-front-handler)
4896 (allout-overlay-interior-modification-handler)
4897 (allout-isearch-end-handler, allout-chart-siblings)
4898 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4899 (allout-yank-processing, allout-process-exposed)
4900 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4901 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4902 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4903 (lisp-indent-defform): Mark ignored arguments.
4904 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4905 (calculate-lisp-indent): Remove unused variables.
4906 * international/characters.el (indian-2-column, arabic-2-column)
4907 (tibetan): Mark ignored arguments.
4908 (use-cjk-char-width-table): Mark ignored arguments.
4909 Remove unused variables.
4910 * international/fontset.el (build-default-fontset-data)
4911 (x-compose-font-name, create-fontset-from-fontset-spec):
4912 Mark ignored arguments.
4913 (fontset-plain-name): Remove unused variables.
4914 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4915 (keyboard-coding-system): Mark ignored arguments.
4916 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4917 * help.el (resize-temp-buffer-window):
4918 * window.el (display-buffer-in-major-side-window)
4919 (display-buffer-in-side-window, display-buffer-in-previous-window):
4920 Remove unused variables.
4921 * isearch.el (isearch-forward-symbol):
4922 * version.el (emacs-bzr-version-bzr):
4923 * international/mule-cmds.el (current-language-environment):
4924 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4925 (x-handle-display):
4926 * term/pc-win.el (x-list-fonts, x-display-planes)
4927 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4928 (x-server-version, x-display-screens, x-display-mm-height)
4929 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4930 (x-selection-owner-p, x-own-selection-internal)
4931 (x-disown-selection-internal, x-get-selection-internal)
4932 (msdos-initialize-window-system):
4933 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4934 * term/x-win.el (x-handle-no-bitmap-icon):
4935 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4936 (vc-default-find-file-hook, vc-default-extra-menu):
4937 Mark ignored arguments.
4938
4939 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4940
4941 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4942 break-condition in the context of the debugged code (bug#12685).
4943
4944 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4945
4946 * comint.el:
4947 Do not use an overlay to highlight the last prompt. (Bug#14744)
4948 (comint-mode): Make comint-last-prompt buffer local.
4949 (comint-last-prompt): New variable.
4950 (comint-last-prompt-overlay): Remove. Superseded by
4951 comint-last-prompt.
4952 (comint-snapshot-last-prompt, comint-output-filter):
4953 Use comint-last-prompt.
4954
4955 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4956
4957 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4958 (frameset-save): Check validity of the resulting frameset.
4959
4960 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4961
4962 * ido.el (ido-record-command): Add doc string.
4963
4964 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4965
4966 * frameset.el (frameset): Do not disable creation of the default
4967 frameset-p predicate. Doc fix.
4968 (frameset-valid-p): New function, copied from the old predicate-p.
4969 Add additional checks.
4970 (frameset-restore): Check with frameset-valid-p.
4971 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4972 (frameset-name, frameset-description, frameset-properties)
4973 (frameset-states): Add docstring.
4974 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4975 (frameset-filter-alist): Doc fixes.
4976
4977 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4978
4979 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4980
4981 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4982
4983 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4984 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4985 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4986 (byte-compile-normal-call): Remove obsolescence check.
4987
4988 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4989
4990 * frameset.el (frameset-restore): Doc fix.
4991
4992 * register.el (frameset-frame-id, frameset-frame-with-id)
4993 (frameset-p, frameset-restore, frameset-save): Declare.
4994 (register-alist): Document framesets.
4995 (frameset-session-filter-alist): Declare.
4996 (frameset-to-register): New function.
4997 (jump-to-register): Implement jumping to framesets. Doc fix.
4998 (describe-register-1): Describe framesets.
4999
5000 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5001
5002 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5003
5004 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5005 Use lexical-binding.
5006
5007 * frameset.el (frameset): Use type vector, not list (incompatible
5008 change). Do not declare a new constructor, use the default one.
5009 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5010 `name' and `description', respectively, and add read-only slot
5011 `timestamp'. Doc fixes.
5012 (frameset-copy, frameset-persistent-filter-alist)
5013 (frameset-filter-alist, frameset-switch-to-gui-p)
5014 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5015 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5016 (frameset-filter-iconified, frameset-keep-original-display-p):
5017 Doc fixes.
5018 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5019 Rename from frameset-filter-(save|restore)-param. All callers changed.
5020 Doc fix.
5021 (frameset-p): Adapt to change to vector and be more thorough.
5022 Change arg name to OBJECT. Doc fix.
5023 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5024 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5025 All callers changed.
5026 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5027 All callers changed.
5028 (frameset--record-minibuffer-relationships): Rename from
5029 frameset--process-minibuffer-frames. All callers changed.
5030 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5031 Use new default constructor (again). Doc fix.
5032 (frameset--find-frame-if): Rename from `frameset--find-frame.
5033 All callers changed.
5034 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5035 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5036 Doc fix.
5037 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5038 PARAMETERS and WINDOW-STATE, respectively.
5039 (frameset-restore): Add new keyword argument PREDICATE.
5040 Reset frameset--target-display to nil. Doc fix.
5041
5042 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5043
5044 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5045 (bat-mode): Use it.
5046 (bat-mode-syntax-table): Mark \n as end-of-comment.
5047 (bat-font-lock-keywords): Remove comment rule.
5048
5049 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5050 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5051
5052 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5053 (byte-compile-callargs-warn): Use `push'.
5054 (byte-compile-arglist-warn): Ignore higher-order "calls".
5055 (byte-compile-file-form-autoload): Use `pcase'.
5056 (byte-compile-function-form): If quoting a symbol, check that it exists.
5057
5058 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5059
5060 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5061 and add a few popular commands found in batch files.
5062 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5063 (dos-mode): Doc fixes.
5064
5065 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5066
5067 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5068 (dos-mode): Use setq-local. Add space after "rem".
5069 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5070 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5071
5072 2013-08-07 Arni Magnusson <arnima@hafro.is>
5073
5074 * progmodes/dos.el: New file.
5075 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5076 dos-mode.
5077
5078 2013-08-06 Glenn Morris <rgm@gnu.org>
5079
5080 * calendar/calendar.el: Add new faces, and day-header-array.
5081 (calendar-weekday-header, calendar-weekend-header)
5082 (calendar-month-header): New faces.
5083 (calendar-day-header-construct): New function.
5084 (calendar-day-header-width): Also :set calendar-day-header-array.
5085 (calendar-american-month-header, calendar-european-month-header)
5086 (calendar-iso-month-header): Use calendar- faces.
5087 (calendar-generate-month):
5088 Use calendar-day-header-array for day headers; apply faces to them.
5089 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5090 (calendar-abbrev-construct): Add optional maxlen argument.
5091 (calendar-day-name-array): Doc fix.
5092 (calendar-day-name-array, calendar-abbrev-length)
5093 (calendar-day-abbrev-array):
5094 Also :set calendar-day-header-array, and maybe redraw.
5095 (calendar-day-header-array): New option. (Bug#15007)
5096 (calendar-font-lock-keywords): Set to nil and make obsolete.
5097 (calendar-day-name): Add option to use header array.
5098
5099 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5100
5101 * net/shr.el (shr-render-td): Remove debugging.
5102 (shr-render-td): Make width computation consistent by defaulting
5103 all zero-width columns to 10 characters. This may not be optimal,
5104 but it's at least consistent.
5105 (shr-make-table-1): Redo last change to fix the real problem in
5106 colspan handling.
5107
5108 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5109
5110 * files.el (cache-long-line-scans):
5111 Make obsolete alias to `cache-long-scans'.
5112
5113 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5114
5115 * frameset.el (frameset, frameset-filter-alist)
5116 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5117 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5118 (frameset-compute-pos): Rename from frameset--compute-pos,
5119 and add docstring.
5120 (frameset-move-onscreen): Use frameset-compute-pos.
5121 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5122
5123 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5124 Fix typos in docstrings.
5125
5126 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5127
5128 * frame.el (get-other-frame): Tiny cleanup.
5129
5130 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5131
5132 * vc/vc.el (vc-default-ignore-completion-table):
5133 Silence byte-compiler warning.
5134
5135 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5136 slot , which can indeed be nil.
5137 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5138 Move entry for `left' from persistent to live filter alist.
5139 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5140 Doc fixes.
5141 (frameset-filter-params): When restoring a frame, copy items added to
5142 `filtered', to avoid unwittingly modifying the original parameters.
5143 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5144 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5145
5146 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5147 to use looking-at-p instead of looking-at. (Bug#15028)
5148
5149 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5150
5151 Revert introduction of isearch-filter-predicates (bug#14714).
5152 Rely on add-function instead.
5153 * isearch.el (isearch-filter-predicates): Rename it back to
5154 isearch-filter-predicate.
5155 (isearch-message-prefix): Use advice-function-mapc and advice
5156 properties to get the isearch-message-prefix.
5157 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5158 instead of run-hook-with-args-until-failure.
5159 (isearch-filter-visible): Not obsolete any more.
5160 * loadup.el: Preload nadvice.
5161 * replace.el (perform-replace): Revert to funcall
5162 instead of run-hook-with-args-until-failure.
5163 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5164 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5165 dired-isearch-filenames-toggle; make it into a proper minor mode.
5166 Use add/remove-function.
5167 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5168 Call the minor-mode rather than add/remove-hook.
5169 (dired-isearch-filter-filenames):
5170 Remove isearch-message-prefix property.
5171 * info.el (Info--search-loop): New function, extracted from Info-search.
5172 Funcall isearch-filter-predicate instead of
5173 run-hook-with-args-until-failure isearch-filter-predicates.
5174 (Info-search): Use it.
5175 (Info-mode): Use isearch-filter-predicate instead of
5176 isearch-filter-predicates.
5177
5178 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5179
5180 Do not call to `selected-window' where it is assumed by default.
5181 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5182 `window-hscroll', `window-width', `window-height', `window-buffer',
5183 `window-frame', `window-start', `window-point', `next-window'
5184 and `window-display-table'.
5185 * abbrev.el (abbrev--default-expand):
5186 * bs.el (bs--show-with-configuration):
5187 * buff-menu.el (Buffer-menu-mouse-select):
5188 * calc/calc.el (calc):
5189 * calendar/calendar.el (calendar-generate-window):
5190 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5191 (diary-make-entry):
5192 * comint.el (send-invisible, comint-dynamic-complete-filename)
5193 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5194 * completion.el (complete):
5195 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5196 * disp-table.el (describe-current-display-table):
5197 * doc-view.el (doc-view-insert-image):
5198 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5199 * ehelp.el (with-electric-help):
5200 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5201 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5202 * emacs-lisp/helper.el (Helper-help-scroller):
5203 * emulation/cua-base.el (cua--post-command-handler-1):
5204 * eshell/esh-mode.el (eshell-output-filter):
5205 * ffap.el (ffap-gnus-wrapper):
5206 * help-macro.el (make-help-screen):
5207 * hilit-chg.el (highlight-compare-buffers):
5208 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5209 * hl-line.el (global-hl-line-highlight):
5210 * icomplete.el (icomplete-simple-completing-p):
5211 * isearch.el (isearch-done):
5212 * jit-lock.el (jit-lock-stealth-fontify):
5213 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5214 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5215 * mpc.el (mpc-tagbrowser, mpc):
5216 * net/rcirc.el (rcirc-any-buffer):
5217 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5218 * play/landmark.el (landmark-max-width, landmark-max-height):
5219 * play/zone.el (zone):
5220 * progmodes/compile.el (compilation-goto-locus):
5221 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5222 * progmodes/etags.el (find-tag-other-window):
5223 * progmodes/fortran.el (fortran-column-ruler):
5224 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5225 * progmodes/verilog-mode.el (verilog-point-text):
5226 * reposition.el (reposition-window):
5227 * rot13.el (toggle-rot13-mode):
5228 * server.el (server-switch-buffer):
5229 * shell.el (shell-dynamic-complete-command)
5230 (shell-dynamic-complete-environment-variable):
5231 * simple.el (insert-buffer, set-selective-display)
5232 (delete-completion-window):
5233 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5234 (speedbar-recenter):
5235 * startup.el (fancy-splash-head):
5236 * textmodes/ispell.el (ispell-command-loop):
5237 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5238 * tutorial.el (help-with-tutorial):
5239 * vc/add-log.el (add-change-log-entry):
5240 * vc/compare-w.el (compare-windows):
5241 * vc/ediff-help.el (ediff-indent-help-message):
5242 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5243 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5244 (ediff-setup-control-frame):
5245 * vc/emerge.el (emerge-position-region):
5246 * vc/pcvs-util.el (cvs-bury-buffer):
5247 * window.el (walk-windows, mouse-autoselect-window-select):
5248 * winner.el (winner-set-conf, winner-undo): Related users changed.
5249
5250 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5251
5252 * frameset.el (frameset--set-id): Doc fix.
5253 (frameset-frame-id, frameset-frame-id-equal-p)
5254 (frameset-locate-frame-id): New functions.
5255 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5256 (frameset-restore): Use them.
5257
5258 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5259
5260 Do not call to `selected-frame' where it is assumed by default.
5261 Affected functions are `raise-frame', `redraw-frame',
5262 `frame-first-window', `frame-terminal' and `delete-frame'.
5263 * calendar/appt.el (appt-disp-window):
5264 * epg.el (epg-wait-for-completion):
5265 * follow.el (follow-delete-other-windows-and-split)
5266 (follow-avoid-tail-recenter):
5267 * international/mule.el (set-terminal-coding-system):
5268 * mail/rmail.el (rmail-mail-return):
5269 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5270 * progmodes/f90.el (f90-add-imenu-menu):
5271 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5272 * server.el (server-switch-buffer):
5273 * simple.el (delete-completion-window):
5274 * talk.el (talk):
5275 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5276 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5277 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5278 * vc/ediff.el (ediff-documentation): Related users changed.
5279 * frame.el (selected-terminal): Remove the leftover.
5280
5281 2013-08-05 Glenn Morris <rgm@gnu.org>
5282
5283 * calendar/calendar.el (calendar-generate-month):
5284 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5285 (calendar-generate-month, calendar-font-lock-keywords):
5286 Fix for calendar-day-header-width > length of any day name.
5287
5288 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5289
5290 * desktop.el (desktop-clear): Use new name of sort predicate.
5291
5292 * frameset.el (frameset): Add docstring. Move :version property to its
5293 own `version' slot.
5294 (frameset-copy): Rename from copy-frameset.
5295 (frameset-p): Check more thoroughly.
5296 (frameset-prop): Do not check for :version, which is no longer a prop.
5297 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5298 Use new :never value instead of t.
5299 (frameset-filter-alist): Expand and clarify docstring.
5300 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5301 (frameset-filter-minibuffer, frameset-filter-save-param)
5302 (frameset-filter-restore-param, frameset-filter-iconified):
5303 Add pointer to docstring of frameset-filter-alist.
5304 (frameset-filter-params): Rename filter values to be more meaningful:
5305 :never instead of t, and reverse the meanings of :save and :restore.
5306 (frameset--process-minibuffer-frames): Clarify error message.
5307 (frameset-save): Avoid unnecessary and confusing call to framep.
5308 Use new BOA constructor for framesets.
5309 (frameset--reuse-list): Doc fix.
5310 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5311 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5312 (frameset-minibufferless-first-p): Doc fix.
5313 Rename from frameset-sort-frames-for-deletion.
5314 (frameset-restore): Doc fixes. Use new function names.
5315 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5316
5317 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5318
5319 * desktop.el (desktop-restore-forces-onscreen)
5320 (desktop-restore-reuses-frames): Document :keyword constant values.
5321 (desktop-filter-parameters-alist): Remove, now identical to
5322 frameset-filter-alist.
5323 (desktop--filter-tty*): Remove, moved to frameset.el.
5324 (desktop-save-frameset, desktop-restore-frameset):
5325 Do not pass :filters argument.
5326
5327 * frameset.el (frameset-live-filter-alist)
5328 (frameset-persistent-filter-alist): New variables.
5329 (frameset-filter-alist): Use them. Add autoload cookie.
5330 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5331 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5332 `frameset--id' (it's supposed to be internal to frameset.el).
5333 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5334 (frameset--initial-params): New function.
5335 (frameset--get-frame): Use it. Doc fix.
5336 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5337 Accept :all, not 'all.
5338 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5339 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5340 with fbound symbols. Fix frame id matching, and remove matching ids if
5341 the frame being restored is deleted. Obey :delete.
5342
5343 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5344
5345 * subr.el (macrop): New function.
5346 (text-clone--maintaining): New var.
5347 (text-clone--maintain): Rename from text-clone-maintain. Use it
5348 instead of inhibit-modification-hooks.
5349
5350 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5351 a proxy, so as handle autoloads and redefinitions of the target.
5352 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5353
5354 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5355 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5356 (pcase--mutually-exclusive-p): New function.
5357 (pcase--split-consp): Use it.
5358 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5359 mutually exclusive with the current predicate.
5360
5361 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5362 (edebug-macrop): Remove. Use `macrop' instead.
5363 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5364 (ad-macro-p):
5365 * eshell/esh-cmd.el (eshell-macrop):
5366 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5367
5368 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5369
5370 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5371 (advice-mapc): New function, using it.
5372 (advice-function-member-p): New function.
5373 (advice--normalize): Store the cdr in advice--saved-rewrite since
5374 that's the part that will be changed.
5375 (advice--symbol-function): New function.
5376 (advice-remove): Handle removal before the function is defined.
5377 Adjust to new advice--saved-rewrite.
5378 (advice-member-p): Use advice-function-member-p and
5379 advice--symbol-function.
5380
5381 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5382
5383 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5384 (frameset-filter-minibuffer): Doc fix.
5385 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5386 (frameset--set-id, frameset--process-minibuffer-frames)
5387 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5388 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5389
5390 * desktop.el (desktop-clear): Only delete frames when called
5391 interactively and desktop-restore-frames is non-nil. Doc fix.
5392 (desktop-read): Set desktop-saved-frameset to nil.
5393
5394 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5395
5396 * vc/vc.el (vc-ignore): Rewrite.
5397 (vc-default-ignore-completion-table):
5398 (vc--read-lines):
5399 (vc--add-line, vc--remove-regexp): New functions.
5400
5401 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5402 (vc-svn-ignore-completion-table): New function.
5403
5404 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5405 (vc-hg-ignore-completion-table):
5406 (vc-hg-find-ignore-file): New functions.
5407
5408 * vc/vc-git.el (vc-git-ignore): Rewrite.
5409 (vc-git-ignore-completion-table):
5410 (vc-git-find-ignore-file): New functions.
5411
5412 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5413
5414 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5415 (vc-bzr-ignore-completion-table):
5416 (vc-bzr-find-ignore-file): New functions.
5417
5418 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5419
5420 * frameset.el (frameset-prop): New function and setter.
5421 (frameset-save): Do not modify frame list passed by the caller.
5422
5423 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5424
5425 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5426
5427 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5428
5429 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5430 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5431
5432 * custom.el (custom-initialize-default, custom-initialize-set)
5433 (custom-initialize-reset, custom-initialize-changed): Affect the
5434 toplevel-default-value (bug#6275, bug#14586).
5435 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5436 for bug#6275.
5437
5438 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5439
5440 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5441 Add cl-def* expressions.
5442
5443 * frameset.el (frameset-filter-params): Fix order of arguments.
5444
5445 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5446
5447 Move code related to saving frames to frameset.el.
5448 * desktop.el: Require frameset.
5449 (desktop-restore-frames): Doc fix.
5450 (desktop-restore-reuses-frames): Rename from
5451 desktop-restoring-reuses-frames.
5452 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5453 (desktop-clear): Clear frames too.
5454 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5455 (desktop--filter-tty*, desktop-save, desktop-read):
5456 Use frameset functions.
5457 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5458 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5459 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5460 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5461 (desktop--process-minibuffer-frames, desktop-save-frames)
5462 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5463 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5464 (desktop--sort-states, desktop-restoring-frames-p)
5465 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5466 (desktop-restoring-frameset-p, desktop-restore-frameset)
5467 (desktop--check-dont-save, desktop-save-frameset): New functions.
5468 (desktop--app-id): New constant.
5469 (desktop-first-buffer, desktop-buffer-ok-count)
5470 (desktop-buffer-fail-count): Move before first use.
5471 * frameset.el: New file.
5472
5473 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5474
5475 * files.el: Use lexical-binding.
5476 (dir-locals-read-from-file): Remove unused `err' variable.
5477 (hack-dir-local-variables--warned-coding): New var.
5478 (hack-dir-local-variables): Use it to avoid repeated warnings.
5479 (make-backup-file-name--default-function): New function.
5480 (make-backup-file-name-function): Use it as default.
5481 (buffer-stale--default-function): New function.
5482 (buffer-stale-function): Use it as default.
5483 (revert-buffer-insert-file-contents--default-function): New function.
5484 (revert-buffer-insert-file-contents-function): Use it as default.
5485 (insert-directory): Avoid add-to-list.
5486
5487 * autorevert.el (auto-revert-handler): Simplify.
5488 Use buffer-stale--default-function.
5489
5490 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5491
5492 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5493
5494 * whitespace.el (whitespace-ensure-local-variables): New function.
5495 (whitespace-cleanup-region): Call it.
5496 (whitespace-turn-on): Call it.
5497
5498 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5499
5500 Complete file name handlers.
5501
5502 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5503 (tramp-handle-verify-visited-file-modtime)
5504 (tramp-handle-file-notify-rm-watch): New functions.
5505 (tramp-call-process): Do not bind `default-directory'.
5506
5507 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5508 Order alphabetically.
5509 [access-file, add-name-to-file, dired-call-process]:
5510 [dired-compress-file, file-acl, file-notify-rm-watch]:
5511 [file-ownership-preserved-p, file-selinux-context]:
5512 [make-directory-internal, make-symbolic-link, set-file-acl]:
5513 [set-file-selinux-context, set-visited-file-modtime]:
5514 [verify-visited-file-modtime]: Add handler.
5515 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5516
5517 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5518 [file-notify-add-watch, file-notify-rm-watch]:
5519 [set-file-times, set-visited-file-modtime]:
5520 [verify-visited-file-modtime]: Add handler.
5521 (with-tramp-gvfs-error-message)
5522 (tramp-gvfs-handle-set-visited-file-modtime)
5523 (tramp-gvfs-fuse-file-name): Remove.
5524 (tramp-gvfs-handle-file-notify-add-watch)
5525 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5526 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5527
5528 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5529 Order alphabetically.
5530 [file-notify-rm-watch ]: Use default Tramp handler.
5531 [executable-find]: Remove private handler.
5532 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5533 `default-directory'.
5534 (tramp-sh-handle-executable-find)
5535 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5536 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5537 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5538 Do not use `format' in `tramp-message'.
5539
5540 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5541 [file-notify-rm-watch, set-visited-file-modtime]:
5542 [verify-visited-file-modtime]: Add handler.
5543 (tramp-smb-call-winexe): Do not bind `default-directory'.
5544
5545 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5546
5547 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5548
5549 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5550
5551 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5552 use it.
5553 (log-view-diff-changeset): Same.
5554 (log-view-diff-common): Call backend command `previous-revision'
5555 to find out the previous revision, in both cases. Swap the
5556 variables `to' and `fr', so that `fr' usually refers to the
5557 earlier revision (Bug#14989).
5558
5559 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5560
5561 * ibuf-ext.el (ibuffer-filter-by-filename):
5562 Make it work with dired buffers too.
5563
5564 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5565
5566 * emacs-lisp/re-builder.el (reb-color-display-p):
5567 * files.el (save-buffers-kill-terminal):
5568 * net/browse-url.el (browse-url):
5569 * server.el (server-save-buffers-kill-terminal):
5570 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5571 Prefer nil to selected-frame for the first arg of frame-parameter.
5572
5573 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5574
5575 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5576
5577 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5578
5579 * minibuffer.el (completion--twq-all): Try and preserve each
5580 completion's case choice (bug#14907).
5581
5582 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5583
5584 * net/network-stream.el (open-network-stream): Mention the new
5585 :nogreeting parameter.
5586 (network-stream-open-starttls): Use the :nogreeting parameter
5587 (bug#14938).
5588
5589 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5590
5591 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5592 more natural than popping.
5593
5594 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5595 (shr-urlify): Highlight under mouse.
5596
5597 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5598
5599 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5600
5601 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5602
5603 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5604 buffer for output.
5605
5606 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5607 point-min==1. Fix search string. Fix parentheses missing.
5608
5609 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5610 assume point-min==1. Fix search string. Fix parentheses missing.
5611
5612 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5613
5614 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5615 buffer for output.
5616
5617 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5618
5619 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5620 initial frame is minibuffer-less. (Bug#14841)
5621
5622 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5623
5624 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5625 option.
5626
5627 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5628 (tramp-maybe-open-connection): Use it.
5629
5630 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5631
5632 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5633 minimal set of parameters passed when creating a frame, because
5634 the minibuffer status of a frame cannot be changed later.
5635
5636 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5637
5638 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5639 replace-regexp-in-string and inadvertent omissions in previous change.
5640 (todo-filter-items): Ensure only file names are comma-separated in
5641 name of filtered items buffer.
5642
5643 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5644
5645 * desktop.el: Optionally force offscreen frames back onscreen.
5646 (desktop-restoring-reuses-frames): New option.
5647 (desktop--compute-pos, desktop--move-onscreen): New functions.
5648 (desktop--make-frame): Use desktop--move-onscreen.
5649
5650 2013-07-27 Alan Mackenzie <acm@muc.de>
5651
5652 Fontify a Java generic method as a function.
5653 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5654 value to t.
5655
5656 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5657
5658 * calendar/todo-mode.el: Add command to rename todo files.
5659 (todo-rename-file): New command.
5660 (todo-key-bindings-t): Add key binding for it. Change the
5661 bindings of todo-filter-regexp-items(-multifile) to use `x'
5662 instead of `r', since the latter is better suited to the new
5663 renaming command.
5664
5665 2013-07-27 Alan Mackenzie <acm@muc.de>
5666
5667 Make Java try-with-resources statement parse properly.
5668 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5669 (c-block-stmt-1-2-key): New language constants/variables.
5670 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5671 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5672 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5673 with c-block-stmt-1-2-key.
5674
5675 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5676
5677 * desktop.el (desktop--make-frame): Apply most frame parameters after
5678 creating the frame to force (partially or totally) offscreen frames to
5679 be restored as such.
5680
5681 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5682
5683 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5684 (Bug#14948)
5685
5686 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5687
5688 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5689 `base' arg of backtrace-frame.
5690
5691 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5692
5693 * simple.el (list-processes): Doc fix.
5694
5695 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5696
5697 * desktop.el (desktop--select-frame):
5698 Try harder to reuse existing frames.
5699
5700 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5701
5702 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5703 (edebug-eval): Use backtrace-eval.
5704 (edebug--display, edebug--recursive-edit): Don't let-bind the
5705 edebug-outer-* vars that keep track of variables we locally let-bind.
5706 (edebug-outside-excursion): Don't restore outside values of locally
5707 let-bound vars.
5708 (edebug--display): Use user-error.
5709 (cl-lexical-debug, cl-debug-env): Remove.
5710
5711 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5712
5713 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5714 are restored to be sure that they are visible before deleting any
5715 remaining ones.
5716
5717 2013-07-26 Matthias Meulien <orontee@gmail.com>
5718
5719 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5720 vc-print-root-log. (Bug#14948)
5721
5722 2013-07-26 Richard Stallman <rms@gnu.org>
5723
5724 Add aliases for encrypting mail.
5725 * epa.el (epa-mail-aliases): New option.
5726 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5727 Bind inhibit-read-only so read-only text doesn't ruin everything.
5728 (epa-mail-default-recipients): New subroutine broken out.
5729 Handle epa-mail-aliases.
5730
5731 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5732
5733 Add support for lexical variables to the debugger's `e' command.
5734 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5735 vars, except for debugger-outer-match-data.
5736 (debugger-frame-number): Move check for "on a function call" from
5737 callers into it. Add `skip-base' argument.
5738 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5739 (debugger-env-macro): Only reset the state stored in non-variables,
5740 i.e. current-buffer and match-data.
5741 (debugger-eval-expression): Rewrite using backtrace-eval.
5742 * subr.el (internal--called-interactively-p--get-frame): Remove.
5743 (called-interactively-p):
5744 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5745 `base' arg of backtrace-frame instead.
5746
5747 2013-07-26 Glenn Morris <rgm@gnu.org>
5748
5749 * align.el (align-regexp): Doc fix. (Bug#14857)
5750 (align-region): Explicit error if subexpression missing/does not match.
5751
5752 * simple.el (global-visual-line-mode):
5753 Do not duplicate the mode lighter. (Bug#14858)
5754
5755 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5756
5757 * window.el (display-buffer): In display-buffer bind
5758 split-window-keep-point to t, bug#14829.
5759
5760 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5761
5762 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5763 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5764 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5765 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5766 Change accordingly.
5767 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5768 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5769
5770 2013-07-25 Glenn Morris <rgm@gnu.org>
5771
5772 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5773
5774 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5775
5776 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5777 parameter to modify-frame-parameters if the value has not changed;
5778 this is a workaround for bug#14949.
5779 (desktop--make-frame): On cl-delete-if call, check parameter name,
5780 not full parameter.
5781
5782 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5783
5784 * vc/vc.el (vc-ignore): New function.
5785
5786 * vc/vc-svn.el (vc-svn-ignore): New function.
5787
5788 * vc/vc-hg.el (vc-hg-ignore): New function.
5789
5790 * vc/vc-git.el (vc-git-ignore): New function.
5791
5792 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5793 (vc-dir-ignore): New function.
5794
5795 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5796 (cvs-append-to-ignore): Move here from pcvs.el.
5797
5798 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5799
5800 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5801
5802 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5803
5804 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5805 (desktop-restore-frames): Warn when deleting an existing frame failed.
5806
5807 2013-07-24 Glenn Morris <rgm@gnu.org>
5808
5809 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5810
5811 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5812
5813 * filenotify.el (file-notify-supported-p):
5814 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5815 Remove functions.
5816
5817 * autorevert.el (auto-revert-use-notify):
5818 (auto-revert-notify-add-watch):
5819 * net/tramp.el (tramp-file-name-for-operation):
5820 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5821 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5822 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5823 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5824 Remove `file-notify-supported-p' entry.
5825
5826 2013-07-24 Glenn Morris <rgm@gnu.org>
5827
5828 * printing.el: Replace all uses of deleted ps-windows-system,
5829 ps-lp-system, ps-flatten-list with lpr- versions.
5830
5831 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5832
5833 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5834 checked with memq (bug#14935).
5835
5836 * files.el (revert-buffer-function): Use a non-nil default.
5837 (revert-buffer-preserve-modes): Declare var to
5838 provide access to the `preserve-modes' argument.
5839 (revert-buffer): Let-bind it.
5840 (revert-buffer--default): New function, extracted from revert-buffer.
5841
5842 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5843
5844 * lpr.el: Signal print errors more prominently.
5845 (print-region-function): Don't default to nil.
5846 (lpr-print-region): New function, extracted from print-region-1.
5847 Check lpr's return value and signal an error in case of problem.
5848 (print-region-1): Use it.
5849 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5850 versions instead.
5851 (ps-printer-name): Default to nil.
5852 (ps-printer-name-option): Default to lpr-printer-switch.
5853 (ps-print-region-function): Don't default to nil.
5854 (ps-postscript-code-directory): Simplify default.
5855 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5856 (ps-string-list, ps-eval-switch, ps-flatten-list)
5857 (ps-flatten-list-1): Remove.
5858 (ps-multibyte-buffer): Avoid setq.
5859 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5860 (print-region-function, ps-print-region-function): Don't set them here.
5861
5862 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5863
5864 * ido.el (ido-fractionp):
5865 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5866 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5867 (ido-max-directory-size, ido-max-dir-file-cache)
5868 (ido-decorations): Doc fix.
5869
5870 * ansi-color.el: Fix old URL.
5871
5872 2013-07-23 Michael R. Mauger <michael@mauger.com>
5873
5874 * progmodes/sql.el: Version 3.3
5875 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5876 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5877 (sql-interactive-remove-continuation-prompt): Rewrite, use
5878 functions above. Fix continuation prompt and complete output line
5879 handling.
5880 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5881 redirected output buffer.
5882 (sql-mode): Restore deleted code (Bug#13591).
5883
5884 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5885
5886 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5887
5888 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5889
5890 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5891
5892 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5893 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5894 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5895
5896 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5897
5898 * desktop.el (desktop-clear): Simplify; remove useless checks
5899 against invalid buffer names.
5900 (desktop-list*): Use cl-list*.
5901 (desktop-buffer-info, desktop-create-buffer): Simplify.
5902
5903 2013-07-23 Leo Liu <sdl.web@gmail.com>
5904
5905 * bookmark.el (bookmark-make-record): Restore NAME as a default
5906 value. (Bug#14933)
5907
5908 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5909
5910 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5911 extracted from autoload--insert-text.
5912 (autoload--insert-text): Remove.
5913 (autoload--print-cookie-text): New function, extracted from
5914 autoload--insert-cookie-text.
5915 (autoload--insert-cookie-text): Remove.
5916 (autoload-generate-file-autoloads): Adjust calls accordingly.
5917
5918 * winner.el (winner-hook-installed-p): Remove.
5919 (winner-mode): Simplify accordingly.
5920
5921 * subr.el (add-to-list): Fix compiler-macro when `append' is
5922 not constant. Don't use `cl-member' for the base case.
5923
5924 * progmodes/subword.el: Fix boundary case (bug#13758).
5925 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5926 own group.
5927 (subword-backward-regexp): Make it a constant.
5928 (subword-forward-internal): Don't treat a trailing capital as the
5929 beginning of a word.
5930
5931 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5932
5933 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5934 global value of tabulated-list-revert-hook (bug#14930).
5935
5936 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5937
5938 * desktop.el: Require 'cl-lib.
5939 (desktop-before-saving-frames-functions): New hook.
5940 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5941 for frames being saved. Rename from desktop--save-minibuffer-frames.
5942 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5943 Do not save frames with non-nil `desktop-dont-save' parameter.
5944 Filter out deleted frames.
5945 (desktop--find-frame): Use cl-find-if.
5946 (desktop--select-frame): Use cl-(first|second|third) to access values
5947 of desktop-mini.
5948 (desktop--make-frame): Use cl-delete-if.
5949 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5950 (desktop-restore-frames): Use cl-(first|second|third) to access values
5951 of desktop-mini. Look for visible frame at the end, not while
5952 restoring frames.
5953
5954 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5955 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5956 Use string-match-p, looking-at-p (bug#14927).
5957
5958 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5959
5960 * desktop.el (desktop-saved-frame-states):
5961 Rename from desktop--saved-states; all users changed.
5962 (desktop-save-frames): Rename from desktop--save-frames.
5963 Do not save state to desktop file.
5964 (desktop-save): Save desktop-saved-frame-states to desktop file
5965 and reset to nil.
5966 (desktop-restoring-frames-p): New function.
5967 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5968 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5969 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5970
5971 * desktop.el: Correctly restore iconified frames.
5972 (desktop--filter-iconified-position): New function.
5973 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5974
5975 2013-07-20 Glenn Morris <rgm@gnu.org>
5976
5977 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5978 Let `message' do the formatting.
5979 (def-gdb-preempt-display-buffer): Add explicit format.
5980
5981 * image-dired.el (image-dired-track-original-file):
5982 Use with-current-buffer.
5983 (image-dired-track-thumbnail): Use with-current-buffer.
5984 Avoid changing point of wrong window.
5985
5986 * image-dired.el (image-dired-track-original-file):
5987 Avoid changing point of wrong window. (Bug#14909)
5988
5989 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5990
5991 * progmodes/gdb-mi.el (gdb-done-or-error):
5992 Guard against "%" in gdb output. (Bug#14127)
5993
5994 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5995
5996 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5997 (Bug#14826)
5998
5999 * international/mule.el (coding-system-iso-2022-flags): Fix last
6000 change.
6001
6002 2013-07-20 Kenichi Handa <handa@gnu.org>
6003
6004 * international/mule.el (coding-system-iso-2022-flags):
6005 Add `8-bit-level-4'. (Bug#8522)
6006
6007 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6008
6009 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6010 (bug#14815).
6011
6012 * net/eww.el (eww-process-text-input): Allow inputting when the
6013 point is at the start of the line, as the properties aren't
6014 front-sticky.
6015
6016 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6017 degenerate widths.
6018
6019 2013-07-19 Richard Stallman <rms@gnu.org>
6020
6021 * epa.el (epa-popup-info-window): Doc fix.
6022
6023 * subr.el (split-string): New arg TRIM.
6024
6025 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6026
6027 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6028 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6029
6030 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6031
6032 * filenotify.el (file-notify--library): Rename from
6033 `file-notify-support'. Do not autoload. Adapt all uses.
6034 (file-notify-supported-p): New defun.
6035
6036 * autorevert.el (auto-revert-use-notify):
6037 Use `file-notify-supported-p' instead of `file-notify-support'.
6038 Adapt docstring.
6039 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6040
6041 * net/tramp.el (tramp-file-name-for-operation):
6042 Add `file-notify-supported-p'.
6043
6044 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6045 New defun.
6046 (tramp-sh-file-name-handler-alist): Add it as handler for
6047 `file-notify-supported-p '.
6048
6049 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6050 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6051 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6052 Add `ignore' as handler for `file-notify-*' functions.
6053
6054 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6055
6056 * simple.el (line-move-partial, line-move): Don't start vscroll or
6057 scroll-up if the current line is not taller than the window.
6058 (Bug#14881)
6059
6060 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6061
6062 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6063 highlight question marks in the method names as strings.
6064 (ruby-block-beg-keywords): Inline.
6065 (ruby-font-lock-keyword-beg-re): Extract from
6066 `ruby-font-lock-keywords'.
6067
6068 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6069
6070 * frame.el (blink-cursor-blinks): New defcustom.
6071 (blink-cursor-blinks-done): New defvar.
6072 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6073 (blink-cursor-timer-function): Check if number of blinks has been
6074 done on X and NS.
6075 (blink-cursor-suspend, blink-cursor-check): New defuns.
6076
6077 2013-07-15 Glenn Morris <rgm@gnu.org>
6078
6079 * edmacro.el (edmacro-format-keys): Fix previous change.
6080
6081 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6082
6083 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6084 The hack didn't work outside English locales anyway.
6085
6086 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6087
6088 * simple.el (define-alternatives): Rename from alternatives-define,
6089 per RMS' suggestion.
6090
6091 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6092
6093 * desktop.el (desktop-restore-frames): Change default to t.
6094 (desktop-restore-in-current-display): Now offer more options.
6095 (desktop-restoring-reuses-frames): New customization option.
6096 (desktop--saved-states): Doc fix.
6097 (desktop-filter-parameters-alist): New variable, renamed and expanded
6098 from desktop--excluded-frame-parameters.
6099 (desktop--target-display): New variable.
6100 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6101 (desktop--filter-tty*, desktop--filter-*-color)
6102 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6103 (desktop--filter-save-desktop-parm)
6104 (desktop-restore-in-original-display-p): New functions.
6105 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6106 (desktop--save-minibuffer-frames): New function, inspired by a similar
6107 function from Martin Rudalics.
6108 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6109 (desktop--restore-in-this-display-p): Remove.
6110 (desktop--find-frame): Rename from desktop--find-frame-in-display
6111 and add predicate argument.
6112 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6113 (desktop--reuse-list): New variable.
6114 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6115 New functions.
6116 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6117
6118 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6119
6120 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6121
6122 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6123
6124 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6125 Highlight conversion methods on Kernel.
6126
6127 2013-07-13 Alan Mackenzie <acm@muc.de>
6128
6129 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6130 and comment it out. This out-commenting enables certain C++
6131 declarations to be parsed correctly.
6132
6133 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6134
6135 * international/mule.el (define-coding-system): Doc fix.
6136
6137 * simple.el (default-font-height): Don't call font-info if the
6138 frame's default font didn't change since the frame was created.
6139 (Bug#14838)
6140
6141 2013-07-13 Leo Liu <sdl.web@gmail.com>
6142
6143 * ido.el (ido-read-file-name): Guard against non-symbol value.
6144
6145 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6146
6147 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6148 in nested defuns.
6149
6150 2013-07-13 Leo Liu <sdl.web@gmail.com>
6151
6152 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6153 ido-set-matches call. (Bug#6852)
6154
6155 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6156
6157 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6158 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6159 Ruby 2.0.
6160 (ruby-font-lock-keywords): Distinguish calls to functions with
6161 module-like names from module references. Highlight character
6162 literals.
6163
6164 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6165
6166 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6167 (gdb-send): Handle continued commands. (Bug#14847)
6168
6169 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6170
6171 * desktop.el (desktop--v2s): Remove unused local variable.
6172 (desktop-save-buffer): Make defvar-local; adjust docstring.
6173 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6174 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6175
6176 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6177
6178 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6179
6180 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6181
6182 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6183 (Bug#14842)
6184
6185 2013-07-12 Glenn Morris <rgm@gnu.org>
6186
6187 * doc-view.el: Require cl-lib at runtime too.
6188 (doc-view-remove-if): Remove.
6189 (doc-view-search-next-match, doc-view-search-previous-match):
6190 Use cl-remove-if.
6191
6192 * edmacro.el: Require cl-lib at runtime too.
6193 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6194 (edmacro-mismatch, edmacro-subseq): Remove.
6195
6196 * shadowfile.el: Require cl-lib.
6197 (shadow-remove-if): Remove.
6198 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6199 Use cl-remove-if.
6200
6201 * wid-edit.el: Require cl-lib.
6202 (widget-choose): Use cl-remove-if.
6203 (widget-remove-if): Remove.
6204
6205 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6206 (ebrowse-delete-if-not): Remove.
6207 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6208 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6209 Use cl-delete-if-not.
6210
6211 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6212
6213 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6214 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6215
6216 2013-07-12 Leo Liu <sdl.web@gmail.com>
6217
6218 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6219
6220 2013-07-11 Glenn Morris <rgm@gnu.org>
6221
6222 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6223 (edebug-gensym-index, edebug-gensym):
6224 Remove reimplementation of cl-gensym.
6225 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6226
6227 * thumbs.el: Require cl-lib at run-time too.
6228 (thumbs-gensym-counter, thumbs-gensym):
6229 Remove reimplementation of cl-gensym.
6230 (thumbs-temp-file): Use cl-gensym.
6231
6232 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6233 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6234 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6235 (ert--union, ert--gensym-counter, ert--gensym-counter)
6236 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6237 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6238 (ert-make-test-unbound, ert--expand-should-1)
6239 (ert--expand-should, ert--should-error-handle-error)
6240 (should-error, ert--explain-equal-rec)
6241 (ert--plist-difference-explanation, ert-select-tests)
6242 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6243 Use cl-lib functions rather than reimplementations.
6244
6245 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6246
6247 * net/tramp.el (tramp-methods): Extend docstring.
6248 (tramp-connection-timeout): New defcustom.
6249 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6250 (with-tramp-progress-reporter): Simplify.
6251 (tramp-process-actions): Improve messages.
6252
6253 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6254 * net/tramp-sh.el (tramp-maybe-open-connection):
6255 Use `tramp-connection-timeout'.
6256 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6257 (Bug#14808)
6258
6259 2013-07-11 Leo Liu <sdl.web@gmail.com>
6260
6261 * ido.el (ido-read-file-name): Conform to the requirements of
6262 read-file-name. (Bug#11861)
6263 (ido-read-directory-name): Conform to the requirements of
6264 read-directory-name.
6265
6266 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6267
6268 * subr.el (delay-warning): New function.
6269
6270 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6271
6272 * simple.el (default-line-height): New function.
6273 (line-move-partial, line-move): Use it instead of computing the
6274 line height inline.
6275 (line-move-partial): Always compute ROWH. If the last line is
6276 partially-visible, but its text is completely visible, allow
6277 cursor to enter such a partially-visible line.
6278
6279 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6280
6281 Improve error messages. (Bug#14808)
6282
6283 * net/tramp.el (tramp-current-connection): New defvar, moved from
6284 tramp-sh.el.
6285 (tramp-message-show-progress-reporter-message): Remove, not
6286 needed anymore.
6287 (tramp-error-with-buffer): Show message in minibuffer.
6288 Discard input before waiting. Reset connection timestamp.
6289 (with-tramp-progress-reporter): Improve messages.
6290 (tramp-process-actions): Use progress reporter. Delete process in
6291 case of error. Improve messages.
6292
6293 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6294 Call `tramp-error-with-buffer' with vector and buffer.
6295 (tramp-current-connection): Remove.
6296 (tramp-maybe-open-connection): The car of
6297 `tramp-current-connection' are the first 3 slots of the vector.
6298
6299 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6300
6301 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6302 inside continued strings.
6303
6304 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6305
6306 Timestamp fixes for undo (Bug#14824).
6307 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6308
6309 2013-07-10 Leo Liu <sdl.web@gmail.com>
6310
6311 * files.el (require-final-newline): Allow safe local value.
6312 (Bug#14834)
6313
6314 2013-07-09 Leo Liu <sdl.web@gmail.com>
6315
6316 * ido.el (ido-read-directory-name): Handle fallback.
6317 (ido-read-file-name): Update DIR to ido-current-directory.
6318 (Bug#1516)
6319 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6320
6321 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6322
6323 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6324 "autoload". Remove "warn lower camel case" section, previously
6325 commented out. Highlight negation char. Do not highlight the
6326 target in singleton method definitions.
6327
6328 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6329
6330 * faces.el (tty-setup-hook): Declare the hook.
6331
6332 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6333 and detect when a guard/pred depends on local vars (bug#14773).
6334 (pcase--u1): Adjust caller.
6335
6336 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6337
6338 * simple.el (line-move-partial, line-move): Account for
6339 line-spacing.
6340 (line-move-partial): Avoid setting vscroll when the last
6341 partially-visible line in window is of default height.
6342
6343 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6344
6345 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6346 been used a while.
6347
6348 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6349
6350 * subr.el (read-quoted-char): Remove unused local variable `char'.
6351
6352 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6353
6354 * ediff.el (ediff-version): Version update.
6355 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6356 (ediff-merge-with-ancestor-command, ediff-directories-command)
6357 (ediff-directories3-command, ediff-merge-directories-command)
6358 (ediff-merge-directories-with-ancestor-command): New functions.
6359 All are command-line interfaces to ediff: to facilitate calling
6360 Emacs with the appropriate ediff functions invoked.
6361
6362 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6363 (viper-save-kill-buffer): Check if buffer is modified.
6364
6365 * viper.el (viper-version): Version update.
6366 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6367
6368 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6369
6370 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6371 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6372 (viper-intercept-ESC-key): Simplify.
6373 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6374 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6375 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6376 (viper-setup-ESC-to-escape): New functions.
6377 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6378 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6379
6380 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6381
6382 * simple.el (default-font-height, window-screen-lines):
6383 New functions.
6384 (line-move, line-move-partial): Use them instead of
6385 frame-char-height and window-text-height. This makes scrolling
6386 text smoother when the buffer's default face uses a font that is
6387 different from the frame's default font.
6388
6389 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6390
6391 * files.el (write-file): Do not display confirm dialog for NS,
6392 it does its own dialog, which can't be cancelled (Bug#14578).
6393
6394 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6395
6396 * simple.el (line-move-partial): Adjust the row returned by
6397 posn-at-point for the current window-vscroll. (Bug#14567)
6398
6399 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6400
6401 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6402 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6403 spaces.
6404
6405 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6406
6407 * window.el (window-state-put-stale-windows): New variable.
6408 (window--state-put-2): Save list of windows without matching buffer.
6409 (window-state-put): Remove "bufferless" windows if possible.
6410
6411 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6412
6413 * simple.el (alternatives-define): Remove leftover :group keyword.
6414 Tweak docstring.
6415
6416 2013-07-06 Leo Liu <sdl.web@gmail.com>
6417
6418 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6419 (ido-enable-virtual-buffers): New variable.
6420 (ido-buffer-internal, ido-toggle-virtual-buffers)
6421 (ido-make-buffer-list): Use it.
6422 (ido-exhibit): Support turning on and off virtual buffers
6423 automatically.
6424
6425 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6426
6427 * simple.el (alternatives-define): New macro.
6428
6429 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6430
6431 * subr.el (read-quoted-char): Use read-key.
6432 (sit-for): Let read-event decode tty input (bug#14782).
6433
6434 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6435
6436 * calendar/todo-mode.el: Add handling of file deletion, both by
6437 mode command and externally. Fix various related bugs.
6438 Clarify Commentary and improve some documentation strings and code.
6439 (todo-delete-file): New command.
6440 (todo-check-file): New function.
6441 (todo-show): Handle external deletion of the file we're trying to
6442 show (bug#14688). Replace called-interactively-p by an optional
6443 prefix argument to avoid problematic interaction with catch form
6444 when byte compiled (bug#14702).
6445 (todo-quit): Handle external deletion of the archive's todo file.
6446 Make sure the buffer that was visiting the archive file is still
6447 live before trying to bury it.
6448 (todo-category-completions): Handle external deletion of any
6449 category completion files.
6450 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6451 of todo files, in case of external deletion.
6452 (todo-add-file): Replace unnecessary setq by let-binding.
6453 (todo-find-archive): Check whether there are any archives.
6454 Replace unnecessary setq by let-binding.
6455 (todo-archive-done-item): Use find-file-noselect to get the
6456 archive buffer whether or not the archive already exists.
6457 Remove superfluous code. Use file size instead of buffer-file-name to
6458 check if the archive is new; if it is, update list of archives.
6459 (todo-default-todo-file): Allow nil to be a valid value for when
6460 there are no todo files.
6461 (todo-reevaluate-default-file-defcustom): Use corrected definition
6462 of todo-default-todo-file.
6463 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6464 (todo-delete-category, todo-show-categories-table)
6465 (todo-category-number): Clarify comment.
6466 (todo-filter-items): Clarify documentation string.
6467 (todo-show-current-file, todo-display-as-todo-file)
6468 (todo-reset-and-enable-done-separator): Tweak documentation string.
6469 (todo-done-separator): Make separator length window-width, since
6470 bug#2749 is now fixed.
6471
6472 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6473
6474 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6475 Support both "gvfs-monitor-dir" and "inotifywait".
6476 (tramp-sh-file-inotifywait-process-filter): Rename from
6477 `tramp-sh-file-notify-process-filter'.
6478 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6479 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6480
6481 2013-07-05 Leo Liu <sdl.web@gmail.com>
6482
6483 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6484
6485 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6486
6487 * frame.el (display-pixel-height, display-pixel-width)
6488 (display-mm-height, display-mm-width): Mention behavior on
6489 multi-monitor setups in docstrings.
6490 (w32-display-monitor-attributes-list): Declare function.
6491 (display-monitor-attributes-list): Use it.
6492
6493 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6494
6495 * filenotify.el: New package.
6496
6497 * autorevert.el (top): Require filenotify.el.
6498 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6499 instead.
6500 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6501 (auto-revert-notify-handler): Use `file-notify-*' functions.
6502
6503 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6504
6505 * net/tramp.el (tramp-file-name-for-operation):
6506 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6507
6508 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6509 for `file-notify-add-watch' and `file-notify-rm-watch'.
6510 (tramp-process-sentinel): Improve trace.
6511 (tramp-sh-handle-file-notify-add-watch)
6512 (tramp-sh-file-notify-process-filter)
6513 (tramp-sh-handle-file-notify-rm-watch)
6514 (tramp-get-remote-inotifywait): New defuns.
6515
6516 2013-07-03 Juri Linkov <juri@jurta.org>
6517
6518 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6519 call of `occur-read-primary-args' to interactive spec.
6520
6521 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6522 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6523
6524 2013-07-03 Matthias Meulien <orontee@gmail.com>
6525
6526 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6527 `Buffer-menu-multi-occur'. Add it to the menu.
6528 (Buffer-menu-mode): Document it in docstring.
6529 (Buffer-menu-multi-occur): New command. (Bug#14673)
6530
6531 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6532
6533 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6534 keywords and built-ins.
6535
6536 2013-07-03 Glenn Morris <rgm@gnu.org>
6537
6538 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6539
6540 Make info-xref checks case-sensitive by default
6541 * info.el (Info-find-node, Info-find-in-tag-table)
6542 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6543 Add option for exact case matching of nodes.
6544 * info-xref.el (info-xref): New custom group.
6545 (info-xref-case-fold): New option.
6546 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6547
6548 2013-07-03 Leo Liu <sdl.web@gmail.com>
6549
6550 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6551
6552 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6553
6554 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6555 middle of block statement initially, lower the depth. Remove
6556 FIXME comment, not longer valid. Remove middle of block statement
6557 detection, no need to do that anymore since we've been using
6558 `ruby-parse-region' here.
6559
6560 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6561
6562 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6563
6564 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6565
6566 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6567
6568 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6569
6570 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6571 (desktop-restore-in-current-display): New customization option.
6572 (desktop--excluded-frame-parameters): Add `font'.
6573 (desktop--save-frames): Rename from desktop--save-windows.
6574 (desktop--restore-in-this-display-p): New function.
6575 (desktop--make-full-frame): Remove unwanted width/height from
6576 full(width|height) frames.
6577 (desktop--restore-frames): Rename from desktop--restore-windows.
6578 Obey desktop-restore-current-display. Do not delete old frames or
6579 select a new frame unless we were able to restore at least one frame.
6580
6581 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6582
6583 * files.el (find-file-noselect): Simplify conditional expression.
6584
6585 * remember.el (remember-append-to-file):
6586 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6587
6588 Add `remember-notes' function to store random notes across Emacs
6589 restarts.
6590 * remember.el (remember-data-file): Add :set callback to affect
6591 notes buffer (if any).
6592 (remember-notes): New command.
6593 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6594 New defcustoms for the `remember-notes' function.
6595 (remember-notes-save-and-bury-buffer): New command.
6596 (remember-notes-mode-map): New variable.
6597 (remember-mode): New minor mode.
6598 (remember-notes--kill-buffer-query): New function.
6599 * startup.el (initial-buffer-choice): Add notes to custom type.
6600
6601 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6602
6603 * bindings.el (right-char, left-char): Don't call sit-for, this is
6604 no longer needed. Use arithmetic comparison only for numerical
6605 arguments.
6606
6607 * international/mule-cmds.el (select-safe-coding-system):
6608 Handle the case of FROM being a string correctly. (Bug#14755)
6609
6610 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6611
6612 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6613 progression on degenerate tables.
6614 (shr-rescale-image): ImageMagick animated images currently don't work.
6615
6616 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6617
6618 Some fixes and improvements for desktop frame restoration.
6619 It is still experimental and disabled by default.
6620 * desktop.el (desktop--save-windows): Put the selected frame at
6621 the head of the list.
6622 (desktop--make-full-frame): New function.
6623 (desktop--restore-windows): Try to re-select the frame that was
6624 selected upon saving. Do not abort if some frames fail to restore,
6625 just show an error message and continue. Set up maximized frames
6626 so they have default non-maximized dimensions.
6627
6628 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6629
6630 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6631 Don't start heredoc inside a string or comment.
6632
6633 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6634
6635 * bindings.el (visual-order-cursor-movement): New defcustom.
6636 (right-char, left-char): Provide visual-order cursor motion by
6637 calling move-point-visually. Update the doc strings.
6638
6639 2013-06-28 Kenichi Handa <handa@gnu.org>
6640
6641 * international/mule.el (define-coding-system): New coding system
6642 properties :inhibit-null-byte-detection,
6643 :inhibit-iso-escape-detection, and :prefer-utf-8.
6644 (set-buffer-file-coding-system): If :charset-list property of
6645 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6646 appropriate for setting.
6647
6648 * international/mule-cmds.el (select-safe-coding-system):
6649 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6650 multibyte characters, return utf-8 (or one of its siblings).
6651
6652 * international/mule-conf.el (prefer-utf-8): New coding system.
6653 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6654 files.
6655
6656 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6657
6658 * net/shr.el (shr-render-region): New function.
6659
6660 * net/eww.el: Autoload `eww-browse-url'.
6661
6662 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6663
6664 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6665 Adapt to `package-desc-version' being a list.
6666 Use `package--ac-desc-version' to retrieve version from a package
6667 archive element.
6668
6669 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6670
6671 New experimental feature to save&restore window and frame setup.
6672 * desktop.el (desktop-save-windows): New defcustom.
6673 (desktop--saved-states): New var.
6674 (desktop--excluded-frame-parameters): New defconst.
6675 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6676 (desktop--restore-windows, desktop--save-windows): New functions.
6677 (desktop-save): Call `desktop--save-windows'.
6678 (desktop-read): Call `desktop--restore-windows'.
6679
6680 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6681
6682 * net/shr.el (add-face-text-property): Remove compat definition.
6683
6684 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6685
6686 * info.el (Info-try-follow-nearest-node): Move search for footnote
6687 above search for node name to prevent missing a footnote (bug#14717).
6688
6689 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6690
6691 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6692
6693 2013-06-27 Leo Liu <sdl.web@gmail.com>
6694
6695 * net/eww.el (eww-read-bookmarks): Check file size.
6696
6697 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6698
6699 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6700 advice--pending if newdef is nil or an autoload (bug#13820).
6701 (advice-mapc): New function.
6702
6703 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6704
6705 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6706 probably.
6707 (eww-mode-map): Add a menu bar.
6708 (eww-add-bookmark): New command.
6709 (eww-bookmark-mode): New mode and commands.
6710 (eww-add-bookmark): Remove newlines from the title.
6711 (eww-bookmark-browse): Don't bug out if it's the only window.
6712
6713 2013-06-26 Glenn Morris <rgm@gnu.org>
6714
6715 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6716 (hfy-size): Handle ttys. (Bug#14668)
6717
6718 * info-xref.el: Update for Texinfo 5 change in *note format.
6719 (info-xref-node-re, info-xref-note-re): New constants.
6720 (info-xref-check-buffer): Use info-xref-note-re.
6721
6722 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6723
6724 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6725
6726 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6727 nil terminate the loop (bug#14718).
6728
6729 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6730
6731 * net/eww.el: Rework history traversal. When going forward/back,
6732 put these actions into the history, too, so that they can be
6733 replayed.
6734 (eww-render): Move the history reset to the correct buffer.
6735
6736 2013-06-25 Juri Linkov <juri@jurta.org>
6737
6738 * files-x.el (modify-dir-local-variable): Change the header comment
6739 in the file with directory local variables. (Bug#14692)
6740
6741 * files-x.el (read-file-local-variable-value): Add `default'.
6742 (Bug#14710)
6743
6744 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6745
6746 * net/eww.el (eww-make-unique-file-name): Create a unique file
6747 name before saving to entering `y' accidentally asynchronously.
6748
6749 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6750
6751 * net/eww.el (eww-download): New command and keystroke.
6752
6753 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6754
6755 * net/eww.el (eww-copy-page-url): Change name of command.
6756
6757 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6758 be more consistent with Info and dired.
6759
6760 * net/eww.el (eww-mode-map): Ditto.
6761
6762 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6763
6764 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6765 packages from archives.
6766 (package-archive-contents): Change format; include obsolete packages.
6767 (package-desc): Use `dir' to mark builtin packages.
6768 (package--from-builtin): Set the `dir' field to `builtin'.
6769 (generated-autoload-file, version-control): Declare.
6770 (package-compute-transaction): Change first arg and return value to be
6771 lists of package-descs. Adjust to new package-archive-contents format.
6772 (package--add-to-archive-contents): Adjust to new
6773 package-archive-contents format.
6774 (package-download-transaction): Arg is now a list of package-descs.
6775 (package-install): If `pkg' is a package name, pass it as
6776 a requirement, so it is subject to the usual (e.g. disabled) checks.
6777 (describe-package): Accept package-desc as well.
6778 (describe-package-1): Describe a specific package-desc. Add links to
6779 other package-descs for the same package name.
6780 (package-menu-describe-package): Pass the actual package-desc.
6781 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6782 works correctly.
6783 (package-desc-status): New function.
6784 (package-menu--refresh): New function, extracted
6785 from package-menu--generate.
6786 (package-menu--generate): Use it.
6787 (package-delete): Update package-alist.
6788 (package-menu-execute): Don't call package-initialize.
6789
6790 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6791 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6792 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6793 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6794 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6795 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6796
6797 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6798
6799 * window.el (window--state-get-1): Workaround for bug#14527.
6800 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6801
6802 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6803
6804 * net/eww.el (eww-back-url): Implement the history by stashing all
6805 the data into a list.
6806 (eww-forward-url): Allow going forward in the history, too.
6807
6808 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6809
6810 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6811 for values and use read--expression for expressions (bug#14710).
6812 (read-file-local-variable): Avoid setq.
6813 (read-file-local-variable-mode): Use minor-mode-list.
6814
6815 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6816
6817 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6818 for DOI URLs.
6819
6820 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6821
6822 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6823 Update imenu-support when dialect changes.
6824
6825 2013-06-25 Leo Liu <sdl.web@gmail.com>
6826
6827 * ido.el (ido-read-internal): Allow forward slash on windows.
6828
6829 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6830
6831 * net/eww.el (eww): Start of strings is \\`, not ^.
6832
6833 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6834
6835 * net/shr.el (shr-browse-url): Fix interactive spec.
6836
6837 * net/eww.el (eww): Add a trailing slash to domain names.
6838
6839 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6840
6841 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6842
6843 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6844
6845 * net/shr.el (shr-browse-url): Use an external browser if given a
6846 prefix.
6847
6848 * net/eww.el (eww-external-browser): Move to shr.
6849
6850 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6851
6852 * net/eww.el (eww): Work more correctly for file: URLs.
6853 (eww-detect-charset): Allow quoted charsets.
6854 (eww-yank-page-url): New command and keystroke.
6855
6856 2013-06-24 Daiki Ueno <ueno@gnu.org>
6857
6858 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6859 file name of gpg executable.
6860 (epg-context-program): New function.
6861 (epg-context-home-directory): New function.
6862 (epg-context-set-program): New function.
6863 (epg-context-set-home-directory): New function.
6864 (epg--start): Use `epg-context-program' instead of
6865 'epg-gpg-program'.
6866 (epg--list-keys-1): Likewise.
6867
6868 2013-06-24 Leo Liu <sdl.web@gmail.com>
6869
6870 * ido.el (ido-read-internal): Fix bug#14620.
6871
6872 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6873
6874 * faces.el (face-documentation): Simplify.
6875 (read-face-attribute, tty-find-type, x-resolve-font-name):
6876 Use `string-match-p'.
6877 (list-faces-display): Use `string-match-p'. Simplify.
6878 (face-spec-recalc): Check face to avoid face alias loops.
6879 (read-color): Use `string-match-p' and non-capturing parenthesis.
6880
6881 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6882
6883 * net/shr.el (shr-rescale-image): Use the new
6884 :max-width/:max-height functionality.
6885
6886 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6887
6888 * net/eww.el (eww-search-prefix): New variable.
6889 (eww): Use it.
6890 (eww-external-browser): New variable.
6891 (eww-mode-map): New keystroke.
6892 (eww-browse-with-external-browser): New command.
6893
6894 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6895
6896 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6897
6898 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6899 Don't skip aligning the next header field when padding is 0;
6900 otherwise, field width is not respected unless the title is as
6901 wide as the field.
6902
6903 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6904
6905 * emacs-lisp/package.el (package-el-version): Remove.
6906 (package-process-define-package): Fix inf-loop.
6907 (package-install): Allow symbols as arguments again.
6908
6909 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6910
6911 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6912 add some more keyword-like methods.
6913 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6914
6915 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6916
6917 * bs.el (bs-buffer-show-mark): Make defvar-local.
6918 (bs-mode): Use setq-local.
6919
6920 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6921 (emacs-lock--try-unlocking): Make defvar-local.
6922
6923 2013-06-22 Glenn Morris <rgm@gnu.org>
6924
6925 * play/cookie1.el (cookie-apropos): Minor simplification.
6926
6927 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6928
6929 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6930
6931 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6932 `regexp-opt', it breaks the build during dumping.
6933
6934 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6935
6936 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6937 Highlight keyword-like methods on Kernel and Module with
6938 font-lock-builtin-face.
6939 (auto-mode-alist): Consolidate different entries into one regexp
6940 and add more *file-s.
6941
6942 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6943
6944 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6945
6946 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6947 (diary-entry): Use it in the action of this button type instead of
6948 diary-goto-entry.
6949
6950 * calendar/todo-mode.el: New version.
6951 (todo-add-category): Append new category to end of file and give
6952 it the highest number, instead of putting it at the beginning and
6953 giving it 0. Incorporate noninteractive functionality.
6954 (todo-forward-category): Adapt to 1-based category numbering.
6955 Allow skipping over archived categories.
6956 (todo-backward-category): Derive from todo-forward-category.
6957 (todo-backward-item, todo-forward-item): Make noninteractive and
6958 delegate interactive part to new commands. Make sensitive to done items.
6959 (todo-categories): Make value an alist of category names and
6960 vectors of item counts.
6961 (todo-category-beg): Make a defconst.
6962 (todo-category-number): Use 1 instead of 0 as initial value.
6963 (todo-category-select): Make sensitive to overlays, optional item
6964 highlighting and done items.
6965 (todo-delete-item): Make sensitive to overlays and marked and done items.
6966 (todo-edit-item): Make sensitive to overlays and editing of
6967 date/time header optional. Add format checks.
6968 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6969 no-op if point is not on an item. Advertise using todo-edit-quit.
6970 (todo-edit-mode): Make sensitive to new format, font-locking, and
6971 multiple todo files.
6972 (todo-insert-item, todo-insert-item-here): Derive from
6973 todo-basic-insert-item and extend functionality.
6974 (todo-item-end, todo-item-start): Make sensitive to done items.
6975 (todo-item-string): Don't return text properties. Restore point.
6976 (todo-jump-to-category): Make sensitive to multiple todo files and
6977 todo archives. Use extended category completion.
6978 (todo-lower-item, todo-raise-item): Rename to *-priority and
6979 derive from todo-set-item-priority.
6980 (todo-mode): Derive from special-mode. Make sensitive to new
6981 format, font-locking and multiple todo files. Make read-only.
6982 (todo-mode-map): Don't suppress digit keys, so they can supply
6983 prefix arguments. Add many new key bindings.
6984 (todo-prefix): Insert as an overlay instead of file text.
6985 Change semantics from diary date expression to purely visual mark.
6986 (todo-print): Rename to todo-print-buffer. Make buffer display
6987 features printable. Remove option to restrict number of items
6988 printed. Add option to print to file.
6989 (todo-print-function): Rename to todo-print-buffer-function.
6990 (todo-quit): Extend to handle exiting new todo modes.
6991 (todo-remove-item): Make sensitive to overlays.
6992 (todo-save): Extend to buffers of filtered items.
6993 (todo-show): Make sensitive to done items, multiple todo files and
6994 new todo modes. Offer to convert legacy todo file before creating
6995 first new todo file.
6996 (todo-show-priorities): Rename to todo-top-priorities.
6997 Change semantics of value 0.
6998 (todo-top-priorities): Rename to todo-filter-top-priorities,
6999 derive from todo-filter-items and extend functionality.
7000 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7001 and extend functionality to other types of filtered items.
7002 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7003 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7004 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7005 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7006 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7007 (todo-edit-mode-hook, todo-entry-prefix-function)
7008 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7009 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7010 (todo-initials, todo-insert-threshold, todo-item-string-start)
7011 (todo-line-string, todo-menu, todo-mode-hook)
7012 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7013 (todo-print-priorities, todo-remove-separator)
7014 (todo-save-top-priorities-too, todo-string-count-lines)
7015 (todo-string-multiline-p, todo-time-string-format)
7016 (todo-tmp-buffer-name): Remove.
7017 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7018 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7019 (todo-edit-category-diary-inclusion)
7020 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7021 (todo-edit-file, todo-edit-item-date-day)
7022 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7023 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7024 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7025 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7026 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7027 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7028 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7029 (todo-filter-top-priorities-multifile, todo-find-archive)
7030 (todo-find-filtered-items-file, todo-go-to-source-item)
7031 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7032 (todo-jump-to-archive-category, todo-lower-category)
7033 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7034 (todo-move-category, todo-move-item, todo-next-button)
7035 (todo-next-item, todo-padded-string, todo-powerset)
7036 (todo-previous-button, todo-previous-item)
7037 (todo-print-buffer-to-file, todo-raise-category)
7038 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7039 (todo-set-category-number, todo-set-item-priority)
7040 (todo-set-top-priorities-in-category)
7041 (todo-set-top-priorities-in-file, todo-show-categories-table)
7042 (todo-sort-categories-alphabetically-or-numerically)
7043 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7044 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7045 (todo-toggle-item-header, todo-toggle-item-highlighting)
7046 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7047 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7048 (todo-unarchive-items, todo-unmark-category): New commands.
7049 (todo-absolute-file-name, todo-add-to-buffer-list)
7050 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7051 (todo-basic-insert-item, todo-category-completions)
7052 (todo-category-number, todo-category-string-matcher-1)
7053 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7054 (todo-check-format, todo-clear-matches)
7055 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7056 (todo-current-category, todo-date-string-matcher)
7057 (todo-define-insertion-command, todo-diary-expired-matcher)
7058 (todo-diary-goto-entry, todo-diary-item-p)
7059 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7060 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7061 (todo-done-item-section-p, todo-done-separator)
7062 (todo-done-string-matcher, todo-files, todo-filter-items)
7063 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7064 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7065 (todo-insert-category-line, todo-insert-item-from-calendar)
7066 (todo-insert-sort-button, todo-insert-with-overlays)
7067 (todo-insertion-command-name, todo-insertion-key-bindings)
7068 (todo-label-to-key, todo-longest-category-name-length)
7069 (todo-make-categories-list, todo-mode-external-set)
7070 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7071 (todo-modes-set-3, todo-multiple-filter-files)
7072 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7073 (todo-read-category, todo-read-date, todo-read-dayname)
7074 (todo-read-file-name, todo-read-time)
7075 (todo-reevaluate-category-completions-files-defcustom)
7076 (todo-reevaluate-default-file-defcustom)
7077 (todo-reevaluate-filelist-defcustoms)
7078 (todo-reevaluate-filter-files-defcustom)
7079 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7080 (todo-reset-done-separator, todo-reset-done-separator-string)
7081 (todo-reset-done-string, todo-reset-global-current-todo-file)
7082 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7083 (todo-reset-prefix, todo-set-categories)
7084 (todo-set-date-from-calendar, todo-set-show-current-file)
7085 (todo-set-top-priorities, todo-short-file-name)
7086 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7087 (todo-total-item-counts, todo-update-buffer-list)
7088 (todo-update-categories-display, todo-update-categories-sexp)
7089 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7090 New functions.
7091 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7092 New major modes.
7093 (todo-categories, todo-display, todo-edit, todo-faces)
7094 (todo-filtered): New defgroups.
7095 (todo-archived-only, todo-button, todo-category-string, todo-date)
7096 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7097 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7098 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7099 (todo-add-item-if-new-category, todo-always-add-time-string)
7100 (todo-categories-align, todo-categories-archived-label)
7101 (todo-categories-category-label, todo-categories-diary-label)
7102 (todo-categories-done-label, todo-categories-number-separator)
7103 (todo-categories-todo-label, todo-categories-totals-label)
7104 (todo-category-completions-files, todo-completion-ignore-case)
7105 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7106 (todo-done-separator-string, todo-done-string)
7107 (todo-files-function, todo-filter-done-items, todo-filter-files)
7108 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7109 (todo-initial-category, todo-initial-file, todo-item-mark)
7110 (todo-legacy-date-time-regexp, todo-mode-line-function)
7111 (todo-nondiary-marker, todo-number-prefix)
7112 (todo-print-buffer-function, todo-show-current-file)
7113 (todo-show-done-only, todo-show-first, todo-show-with-done)
7114 (todo-skip-archived-categories, todo-top-priorities-overrides)
7115 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7116 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7117 New defcustoms.
7118 (todo-category-done, todo-date-pattern, todo-date-string-start)
7119 (todo-diary-items-buffer, todo-done-string-start)
7120 (todo-filtered-items-buffer, todo-item-start)
7121 (todo-month-abbrev-array, todo-month-name-array)
7122 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7123 (todo-top-priorities-buffer): New defconsts.
7124 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7125 (todo-categories-with-marks, todo-category-string-face)
7126 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7127 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7128 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7129 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7130 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7131 (todo-font-lock-keywords, todo-global-current-todo-file)
7132 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7133 (todo-insertion-commands-args)
7134 (todo-insertion-commands-args-genlist)
7135 (todo-insertion-commands-names, todo-insertion-map)
7136 (todo-key-bindings-t, todo-key-bindings-t+a)
7137 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7138 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7139 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7140 (todo-visited): New variables.
7141
7142 2013-06-21 Glenn Morris <rgm@gnu.org>
7143
7144 * play/cookie1.el (cookie-apropos): Add optional display argument.
7145 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7146 (psychoanalyze-pinhead): Use cookie-doctor.
7147
7148 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7149
7150 * emacs-lisp/package.el (tar-get-file-descriptor)
7151 (tar--extract): Declare.
7152
7153 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7154
7155 Extend flymake's warning predicate to be a function (bug#14217).
7156 * progmodes/flymake.el (flymake-warning-predicate): New.
7157 (flymake-parse-line): Use it.
7158 (flymake-warning-re): Make obsolete alias to
7159 `flymake-warning-predicate'.
7160
7161 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7162
7163 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7164 (package-obsolete-list): Remove.
7165 (package-activate): Remove min-version argument. Add `force' argument.
7166 Adjust to new package-alist format.
7167 (package-mark-obsolete): Remove.
7168 (package-unpack): Force reload of the package's autoloads.
7169 (package-installed-p): Check builtins if the installed package is not
7170 recent enough.
7171 (package-initialize): Don't reset package-obsolete-list.
7172 Don't specify which package version to activate.
7173 (package-process-define-package, describe-package-1)
7174 (package-menu--generate): Adjust to new package-alist format.
7175
7176 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7177
7178 * allout-widgets.el (allout-widgets-mode-off)
7179 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7180 (allout-widgets-post-command-business)
7181 (allout-widgets-after-copy-or-kill-function)
7182 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7183 (allout-decorate-item-and-context)
7184 (allout-graphics-modification-handler): Fix typos in docstrings.
7185 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7186
7187 * cmuscheme.el (scheme-start-file): Doc fix.
7188 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7189 (scheme-input-filter): Use `string-match-p'.
7190
7191 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7192
7193 * dired-x.el: Use Dired consistently in docstrings.
7194
7195 * dired.el: Use Dired consistently in docstrings.
7196 (dired-readin, dired-mode): Use `setq-local'.
7197 (dired-switches-alist): Make defvar-local.
7198 (dired-buffers-for-dir): Use `zerop'.
7199 (dired-safe-switches-p, dired-switches-escape-p)
7200 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7201 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7202 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7203 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7204 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7205 (dired-toggle-marks, dired-mark-files-containing-regexp)
7206 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7207 (dired-flag-auto-save-files, dired-flag-backup-files):
7208 Use `looking-at-p'.
7209 (dired-mark-files-regexp, dired-build-subdir-alist):
7210 Use `string-match-p', `looking-at-p'.
7211
7212 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7213 (direct-print-region-helper): Use `string-match-p'.
7214
7215 2013-06-21 Leo Liu <sdl.web@gmail.com>
7216
7217 * comint.el (comint-redirect-results-list-from-process):
7218 Fix infinite loop.
7219
7220 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7221
7222 * net/eww.el (eww-update-header-line-format): Quote % characters.
7223
7224 2013-06-21 Glenn Morris <rgm@gnu.org>
7225
7226 * play/cookie1.el (cookie): New custom group.
7227 (cookie-file): New option.
7228 (cookie-check-file): New function.
7229 (cookie): Make it interactive. Make start and end messages optional.
7230 Interactively, display the result. Default to cookie-file.
7231 (cookie-insert): Default to cookie-file.
7232 (cookie-snarf): Make start and end messages optional.
7233 Default to cookie-file. Use with-temp-buffer.
7234 (cookie-read): Rename from read-cookie.
7235 Make start and end messages optional. Default to cookie-file.
7236 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7237 Do not autoload it.
7238 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7239 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7240
7241 2013-06-21 Leo Liu <sdl.web@gmail.com>
7242
7243 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7244
7245 2013-06-21 Glenn Morris <rgm@gnu.org>
7246
7247 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7248
7249 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7250 Daniel Hackney <dan@haxney.org>
7251
7252 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7253 Consolidate the single-file vs tarball code.
7254 (package-desc-suffix): New function.
7255 (package-desc-full-name): Don't bother inlining it.
7256 (package-load-descriptor): Return the new package-desc.
7257 (package-mark-obsolete): Remove unused arg `package'.
7258 (package-unpack): Make it work for single files as well.
7259 Make it update package-alist.
7260 (package--make-autoloads-and-stuff): Rename from
7261 package--make-autoloads-and-compile. Don't compile any more.
7262 (package--compile): New function.
7263 (package-generate-description-file): New function, extracted from
7264 package-unpack-single.
7265 (package-unpack-single): Remove.
7266 (package--with-work-buffer): Add indentation and debugging info.
7267 (package-download-single): Remove.
7268 (package-install-from-archive): Rename from package-download-tar, make
7269 it take a pkg-desc, and make it work for single files as well.
7270 (package-download-transaction): Simplify.
7271 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7272 external tar program.
7273 (package-install-from-buffer): Remove `pkg-desc' argument.
7274 Use package-tar-file-info for tar-mode buffers.
7275 (package-install-file): Simplify accordingly.
7276 (package-archive-base): Change to take a pkg-desc.
7277 * tar-mode.el (tar--check-descriptor): New function, extracted from
7278 tar-get-descriptor.
7279 (tar-get-descriptor): Use it.
7280 (tar-get-file-descriptor): New function.
7281 (tar--extract): New function, extracted from tar-extract.
7282 (tar--extract): Use it.
7283 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7284 case the summary uses non-ascii. Adjust to new calling convention of
7285 package-tar-file-info.
7286
7287 2013-06-21 Leo Liu <sdl.web@gmail.com>
7288
7289 * comint.el (comint-redirect-results-list-from-process):
7290 Fix random delay. (Bug#14681)
7291
7292 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7293
7294 * profiler.el (profiler-format-number): Use log, not log10.
7295
7296 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7297
7298 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7299
7300 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7301
7302 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7303 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7304 yet available.
7305 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7306 (AUTOGENEL): ... here.
7307 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7308 (cl--defsubst-expand): Use it.
7309
7310 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7311
7312 * subr.el (log10): Move here from C code, and declare as obsolete.
7313 All uses of (log10 X) replaced with (log X 10).
7314
7315 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7316
7317 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7318 Declare with `defvar-local'.
7319 (tabulated-list-use-header-line, tabulated-list-entries)
7320 (tabulated-list-padding, tabulated-list-printer)
7321 (tabulated-list-sort-key): Declare with `defvar-local'.
7322 (tabulated-list-init-header, tabulated-list-print-fake-header):
7323 Use `setq-local'.
7324
7325 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7326
7327 * arc-mode.el (archive-mode): Add `archive-write-file' to
7328 `write-contents-functions' also for remote files. (Bug#14652)
7329
7330 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7331
7332 * cus-edit.el (custom-commands): Fix typos.
7333 (custom-display): Fix tooltip text.
7334 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7335 Fix typos in docstrings.
7336 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7337 (custom-unlispify-menu-entry, custom-magic-value-create)
7338 (custom-add-see-also, custom-group-value-create): Use ?\s.
7339 (custom-guess-type, customize-apropos, editable-field)
7340 (custom-face-value-create): Use `string-match-p'.
7341 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7342
7343 * custom.el (custom-load-symbol): Use `string-match-p'.
7344
7345 * ansi-color.el: Convert to lexical binding.
7346 (ansi-colors): Fix URL.
7347 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7348 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7349 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7350
7351 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7352
7353 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7354
7355 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7356
7357 2013-06-19 Tom Tromey <tromey@redhat.com>
7358
7359 * net/eww.el (eww-top-url): Remove.
7360 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7361 (eww-render): Set new variables. Don't set eww-top-url.
7362 (eww-handle-link): Handle "prev", "home", and "contents".
7363 Downcase the rel text.
7364 (eww-top-url): Choose best top URL.
7365
7366 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7367
7368 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7369 relying in widget.el. Using widget.el leads to too many
7370 user interface inconsistencies.
7371 (eww-self-insert): Implement entering commands in text fields.
7372 (eww-process-text-input): New function to make text input field editing
7373 work.
7374 (eww-submit): Rewrite to use the new-style form methods.
7375 (eww-select-display): Display the correct selected item.
7376 (eww-change-select): Implement changing the select value.
7377 (eww-toggle-checkbox): Implement radio/checkboxes.
7378 (eww-update-field): Fix compilation error.
7379 (eww-tag-textarea): Implement <textarea>.
7380
7381 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7382 we don't shadow mode-specific bindings.
7383
7384 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7385 nothing to push.
7386
7387 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7388
7389 2013-06-19 Glenn Morris <rgm@gnu.org>
7390
7391 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7392
7393 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7394
7395 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7396 not needed.
7397
7398 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7399
7400 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7401
7402 * net/browse-url.el (browse-url-browser-function):
7403 `eww-browse-url' has the right calling signature, `eww' does not.
7404
7405 2013-06-19 Glenn Morris <rgm@gnu.org>
7406
7407 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7408 Only eval autoloaded macros.
7409 (byte-compile-autoload): Only give the macro warning for macros.
7410
7411 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7412 (ps-underlined-faces): Declare.
7413
7414 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7415 (speedbar-add-supported-extension): Declare.
7416
7417 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7418 Don't include a date stamp in the header of the generated file;
7419 it leads to needless differences between output files.
7420
7421 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7422
7423 * net/secrets.el (secrets-struct-secret-content-type):
7424 Replace check of introspection data by a test call of "CreateItem".
7425 Some servers do not offer introspection.
7426
7427 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7428
7429 * electric.el (electric-pair-mode): Improve interaction with
7430 electric-layout-mode.
7431 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7432 (electric-pair-syntax): Use text-mode-syntax-table in comments
7433 and strings.
7434 (electric-pair--insert): New function.
7435 (electric-pair-post-self-insert-function): Use it and
7436 electric--after-char-pos.
7437
7438 2013-06-19 Leo Liu <sdl.web@gmail.com>
7439
7440 * progmodes/octave.el (octave-help): Fix regexp.
7441
7442 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7443
7444 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7445 (shr-table-horizontal-line): Allow nil as a value, and change the
7446 default.
7447 (shr-insert-table-ruler): Respect the nil value.
7448
7449 2013-06-18 Tom Tromey <tromey@barimba>
7450
7451 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7452 New defvars.
7453 (eww-open-file): New defun.
7454 (eww-render): Initialize new variables.
7455 (eww-display-html): Handle "link" and "a".
7456 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7457 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7458 (eww-back-url): Rename from eww-previous-url.
7459 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7460 New defuns.
7461
7462 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7463
7464 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7465 Distinguish ternary operator tokens from slash symbol and slash
7466 char literal.
7467
7468 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7469
7470 Convert symbol prettification into minor mode and global minor mode.
7471
7472 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7473 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7474 (prettify-symbols--keywords): Rename from
7475 `prog-prettify-symbols-alist' and make a local defvar.
7476 (prettify-symbols--compose-symbol): Rename from
7477 `prog--prettify-font-lock-compose-symbol'.
7478 (prettify-symbols--make-keywords): Rename from
7479 `prog-prettify-font-lock-symbols-keywords' and simplify.
7480 (prog-prettify-install): Remove.
7481 (prettify-symbols-mode): New minor mode, based on
7482 `prog-prettify-install'.
7483 (turn-on-prettify-symbols-mode): New function.
7484 (global-prettify-symbols-mode): New globalized minor mode.
7485
7486 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7487 * progmodes/cfengine.el (cfengine3-mode):
7488 * progmodes/perl-mode.el (perl-mode): Don't call
7489 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7490
7491 2013-06-18 Juri Linkov <juri@jurta.org>
7492
7493 * files-x.el (modify-file-local-variable-message): New function.
7494 (modify-file-local-variable)
7495 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7496 and call `modify-file-local-variable-message' when it's non-nil.
7497 (add-file-local-variable, delete-file-local-variable)
7498 (add-file-local-variable-prop-line)
7499 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7500 and use it. (Bug#9820)
7501
7502 2013-06-18 Juri Linkov <juri@jurta.org>
7503
7504 * emulation/vi.el (vi-shell-op):
7505 * emulation/vip.el (vip-execute-com, ex-command):
7506 * emulation/viper-cmd.el (viper-exec-bang):
7507 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7508 the call of `shell-command-on-region'. (Bug#14637)
7509
7510 * simple.el (shell-command-on-region): Doc fix.
7511
7512 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7513
7514 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7515 (bug#14633).
7516
7517 2013-06-18 Glenn Morris <rgm@gnu.org>
7518
7519 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7520
7521 * newcomment.el (comment-search-forward, comment-search-backward):
7522 Doc fix. (Bug#14376)
7523
7524 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7525
7526 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7527 (buffer-face-mode-invoke): Doc fix.
7528
7529 2013-06-18 Matthias Meulien <orontee@gmail.com>
7530
7531 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7532 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7533
7534 2013-06-18 Glenn Morris <rgm@gnu.org>
7535
7536 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7537 Replace obsolete function generic-make-keywords with its expansion.
7538
7539 * progmodes/python.el (ffap-alist): Declare.
7540
7541 * textmodes/reftex.el (bibtex-mode-map): Declare.
7542
7543 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7544
7545 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7546 (package-unpack, package-unpack-single): Return the pkg-dir.
7547 (package-download-transaction): Use it to update package-alist.
7548
7549 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7550
7551 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7552 possible choice.
7553
7554 2013-06-17 Juri Linkov <juri@jurta.org>
7555
7556 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7557
7558 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7559
7560 * emacs-lisp/package.el (package-load-descriptor):
7561 Remove `with-syntax-table' call, `read' doesn't need it.
7562 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7563
7564 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7565
7566 * startup.el (command-line): Expand package name returned by
7567 `package--description-file' (bug#14639).
7568
7569 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7570
7571 * emacs-lisp/package.el (package-load-descriptor): Do not call
7572 `emacs-lisp-mode', just use its syntax table.
7573
7574 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7575
7576 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7577 `font-lock-extra-managed-props' if any prettifying keyword is added.
7578 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7579 (prog-mode): Use `setq-local'.
7580
7581 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7582
7583 * international/characters.el (standard-case-table): Set syntax of ?»
7584 and ?« to punctuation.
7585
7586 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7587
7588 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7589 Save relevant match data before calling `syntax-ppss' (bug#14595).
7590
7591 2013-06-15 Juri Linkov <juri@jurta.org>
7592
7593 * files-x.el (modify-file-local-variable-prop-line): Add local
7594 variables to the end of the existing comment on the first line.
7595 Use `file-auto-mode-skip' to skip interpreter magic line,
7596 and also skip XML declaration.
7597
7598 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7599
7600 * startup.el (package--builtin-versions): New var.
7601 (package-subdirectory-regexp): Remove.
7602 (package--description-file): Hard code its value instead.
7603
7604 * emacs-lisp/package.el: Don't activate packages older than builtin.
7605 (package-obsolete-list): Rename from package-obsolete-alist, and make
7606 it into a simple list of package-desc.
7607 (package-strip-version): Remove.
7608 (package-built-in-p): Use package--builtin-versions.
7609 (package-mark-obsolete): Simplify.
7610 (package-process-define-package): Mark it obsolete if older than the
7611 builtin version.
7612 (package-handle-response): Use line-end-position.
7613 (package-read-archive-contents, package--download-one-archive):
7614 Simplify.
7615 (package--add-to-archive-contents): Skip if older than the builtin or
7616 installed version.
7617 (package-menu-describe-package): Fix last change.
7618 (package-list-unversioned): New var.
7619 (package-menu--generate): Use it.
7620
7621 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7622 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7623 (autoload-builtin-package-versions): New variable.
7624 (autoload-generate-file-autoloads): Use them.
7625 Remove the list of autoloaded functions/macros from the
7626 (autoload...) comments.
7627
7628 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7629
7630 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7631
7632 * simple.el (line-move-partial): Don't jump to the next screen
7633 line as soon as it becomes visible. Instead, continue enlarging
7634 the vscroll until the portion of a tall screen line that's left on
7635 display is about the height of the frame's default font.
7636 (Bug#14567)
7637
7638 2013-06-15 Glenn Morris <rgm@gnu.org>
7639
7640 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7641 compilation-error-regexp-alist void, or local while let-bound.
7642
7643 * progmodes/make-mode.el (makefile-mode-syntax-table):
7644 Treat "=" as punctuation. (Bug#14614)
7645
7646 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7647
7648 * help-fns.el (describe-variable):
7649 Add extra line for permanent-local variables.
7650
7651 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7652
7653 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7654 Add export, import, library. (Bug#9164)
7655 (library): Set indent function.
7656
7657 2013-06-14 Glenn Morris <rgm@gnu.org>
7658
7659 * term/xterm.el (xterm--query):
7660 Stop after first matching handler. (Bug#14615)
7661
7662 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7663
7664 Add support for dired in saveplace.
7665 * dired.el (dired-initial-position-hook): New variable.
7666 (dired-initial-position): Call hook to place cursor position.
7667 * saveplace.el (save-place-to-alist): Add dired position.
7668 (save-place-dired-hook): New function.
7669
7670 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7671
7672 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7673 through a symbol rather than letrec.
7674
7675 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7676 (package-desc): Add `dir' field.
7677 (package-desc-full-name): New function.
7678 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7679 (package-maybe-load-descriptor): Remove.
7680 (package-load-all-descriptors): Just call package-load-descriptor.
7681 (package--disabled-p): New function.
7682 (package-desc-vers, package-desc-doc): Remove aliases.
7683 (package--dir): Remove function.
7684 (package-activate): Check if a package is disabled.
7685 (package-process-define-package): New function, extracted from
7686 define-package.
7687 (define-package): Turn into a place holder.
7688 (package-unpack-single, package-tar-file-info):
7689 Use package--description-file.
7690 (package-compute-transaction): Use package--disabled-p.
7691 (package-download-transaction): Don't call
7692 package-maybe-load-descriptor since they're all loaded anyway.
7693 (package-install): Change argument to be a pkg-desc.
7694 (package-delete): Use a single pkg-desc argument.
7695 (describe-package-1): Use package-desc-dir instead of package--dir.
7696 Use package-desc property instead of package-symbol.
7697 (package-install-button-action): Adjust accordingly.
7698 (package--push): Rewrite.
7699 (package-menu--print-info): Adjust accordingly. Change the ID format
7700 to be a pkg-desc.
7701 (package-menu-describe-package, package-menu-get-status)
7702 (package-menu--find-upgrades, package-menu-mark-upgrades)
7703 (package-menu-execute, package-menu--name-predicate):
7704 Adjust accordingly.
7705 * startup.el (package--description-file): New function.
7706 (command-line): Use it.
7707 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7708 Use package-desc-version.
7709
7710 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7711 (byte-compile-preprocess): Use it.
7712 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7713 can't quite recognize.
7714 (byte-compile-add-to-list): Remove.
7715 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7716 (cconv-closure-convert): Add assertion.
7717
7718 * emacs-lisp/map-ynp.el: Use lexical-binding.
7719 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7720 Factor out some repeated code.
7721
7722 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7723
7724 * subr.el (with-eval-after-load): New macro.
7725 (eval-after-load): Allow form to be a function.
7726 take advantage of lexical-binding.
7727 (do-after-load-evaluation): Use dolist and adjust to new format.
7728 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7729
7730 2013-06-13 Juri Linkov <juri@jurta.org>
7731
7732 * replace.el (perform-replace): Display "symbol " and other search
7733 modes from `isearch-message-prefix' in the *Help* buffer.
7734
7735 * isearch.el (isearch-query-replace): Add " symbol" and other
7736 possible search modes from `isearch-message-prefix' to the prompt.
7737 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7738 when reading a regexp to collect.
7739
7740 2013-06-13 Juri Linkov <juri@jurta.org>
7741
7742 * isearch.el (word-search-regexp): Match whitespace if the search
7743 string begins or ends in whitespace. The LAX arg is applied to
7744 both ends of the search string. Use `regexp-quote' and explicit
7745 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7746 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7747 boundaries are replaced with symbol boundaries, and characters
7748 between symbols match non-word non-symbol syntax. (Bug#14602)
7749
7750 2013-06-13 Juri Linkov <juri@jurta.org>
7751
7752 * isearch.el (isearch-del-char): Don't exceed the length of
7753 `isearch-string' by the prefix arg. (Bug#14563)
7754
7755 2013-06-13 Juri Linkov <juri@jurta.org>
7756
7757 * isearch.el (isearch-yank-word, isearch-yank-line)
7758 (isearch-char-by-name, isearch-quote-char)
7759 (isearch-printing-char, isearch-process-search-char):
7760 Add optional count prefix arg. (Bug#14563)
7761
7762 * international/isearch-x.el
7763 (isearch-process-search-multibyte-characters):
7764 Add optional count prefix arg.
7765
7766 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7767
7768 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7769 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7770 lexical-binding.
7771
7772 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7773
7774 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7775
7776 2013-06-13 Glenn Morris <rgm@gnu.org>
7777
7778 * startup.el (tty-handle-args):
7779 Don't just discard "--" and anything after. (Bug#14608)
7780
7781 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7782
7783 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7784
7785 Implement changes in Secret Service API. Make it backward compatible.
7786 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7787 (secrets-create-item): Use it. Prefix properties with interface.
7788
7789 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7790
7791 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7792 (term-emulate-terminal): Respect term-suppress-hard-newline.
7793
7794 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7795
7796 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7797 Only remove a `thumb-file' overlay. (Bug#14548)
7798
7799 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7800
7801 * mail/reporter.el (reporter-submit-bug-report):
7802 Handle missing package-name. (Bug#14600)
7803
7804 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7805
7806 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7807 (reftex-citation-prompt, reftex-default-bibliography)
7808 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7809 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7810 (reftex-bib-sort-author, reftex-bib-sort-year)
7811 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7812 (reftex-extract-bib-entries-from-thebibliography)
7813 (reftex-get-bibkey-default, reftex-get-bib-names)
7814 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7815 (reftex-format-bib-entry, reftex-parse-bibitem)
7816 (reftex-format-bibitem, reftex-do-citation)
7817 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7818 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7819 (reftex-insert-bib-matches, reftex-format-citation)
7820 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7821 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7822 existing comments into docstrings.
7823
7824 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7825
7826 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7827
7828 2013-06-12 Andreas Schwab <schwab@suse.de>
7829
7830 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7831 for auto-save files.
7832
7833 2013-06-12 Glenn Morris <rgm@gnu.org>
7834
7835 * ido.el (ido-delete-ignored-files): Remove.
7836 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7837 Go back to calling ido-ignore-item-p directly.
7838
7839 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7840
7841 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7842
7843 * ido.el (ido-delete-ignored-files): New function,
7844 split from ido-make-file-list-1.
7845 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7846 (ido-make-file-list-1): Use ido-delete-ignored-files.
7847
7848 2013-06-12 Leo Liu <sdl.web@gmail.com>
7849
7850 * progmodes/octave.el (inferior-octave-startup)
7851 (inferior-octave-completion-table)
7852 (inferior-octave-track-window-width-change)
7853 (octave-eldoc-function-signatures, octave-help)
7854 (octave-find-definition): Use single quoted strings.
7855 (inferior-octave-startup-args): Change default value.
7856 (inferior-octave-startup): Do not hard code "-i" and
7857 "--no-line-editing".
7858 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7859 (inferior-octave-directory-tracker): Use it.
7860 (octave-goto-function-definition): Robustify.
7861 (octave-help): Support highlighting operators in 'See also'.
7862 (octave-find-definition): Find subfunctions only in Octave mode.
7863
7864 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7865
7866 * help-fns.el (help-fns--compiler-macro): If the handler function is
7867 named, then put a link to it.
7868 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7869 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7870 (cl-typep): Use it.
7871 (cl-eval-when): Simplify debug spec.
7872 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7873 compiler-macro function instead of setting `compiler-macro-file'.
7874
7875 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7876
7877 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7878 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7879
7880 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7881 Daniel Hackney <dan@haxney.org>
7882
7883 First part of Daniel Hackney's patch to package.el.
7884 * emacs-lisp/package.el: Use defstruct.
7885 (package-desc): New, main struct.
7886 (package--bi-desc, package--ac-desc): New structs, used to describe the
7887 format in external files.
7888 (package-desc-vers): Replace with package-desc-version accessor.
7889 (package-desc-doc): Replace with package-desc-summary accessor.
7890 (package-activate-1): Remove `package' arg since the pkg-vec now
7891 includes the name.
7892 (define-package): Use package-desc-from-define.
7893 (package-unpack-single): Change file-name arg to be a symbol.
7894 (package--add-to-archive-contents): Use package-desc-create and new
7895 accessor functions to package--ac-desc.
7896 (package-buffer-info, package-tar-file-info): Return a package-desc.
7897 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7898 arg to be a package-desc.
7899 (package-install-file): Adjust accordingly. Use \' to match EOS.
7900 (package--from-builtin): New function.
7901 (describe-package-1, package-menu--generate): Use it.
7902 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7903 (package-generate-autoloads): Idem and return the name of the file.
7904 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7905 Change pkg-info arg to be a package-desc.
7906 Use package-make-ac-desc.
7907 (package-upload-file): Use \' to match EOS.
7908 * finder.el (finder-compile-keywords): Use package-make-builtin.
7909
7910 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7911
7912 * vc/vc.el (vc-deduce-fileset): Change error message.
7913 (vc-read-backend): New function.
7914 (vc-next-action): Use it.
7915
7916 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7917
7918 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7919 (prolog-font-lock-keywords): Use regexp-opt instead.
7920 Don't manually highlight strings.
7921 (prolog-mode-variables): Simplify comment-start-skip.
7922 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7923
7924 * emacs-lisp/generic.el (generic--normalise-comments)
7925 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7926 (generic-mode-set-comments): Use them.
7927 (generic-bracket-support): Use setq-local.
7928 (generic-make-keywords-list): Declare obsolete.
7929
7930 2013-06-11 Glenn Morris <rgm@gnu.org>
7931
7932 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7933 Prettify after setting font-lock-defaults. (Bug#14574)
7934
7935 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7936
7937 * replace.el (query-replace, occur-read-regexp-defaults-function)
7938 (replace-search):
7939 * subr.el (declare-function, number-sequence, local-set-key)
7940 (substitute-key-definition, locate-user-emacs-file)
7941 (with-silent-modifications, split-string, eval-after-load):
7942 Fix typos, remove unneeded backslashes and reflow some docstrings.
7943
7944 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7945
7946 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7947 default for Elisp files.
7948
7949 2013-06-11 Glenn Morris <rgm@gnu.org>
7950
7951 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7952 although define-derived-mode was doing this anyway. (Bug#14583)
7953
7954 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7955
7956 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7957 Fix make-variable-buffer-local call to refer to the correct variable.
7958
7959 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7960
7961 * eshell/em-term.el (eshell-visual-commands)
7962 (eshell-visual-subcommands, eshell-visual-options):
7963 Add summary line to docstrings. Add cross-references.
7964
7965 2013-06-10 Glenn Morris <rgm@gnu.org>
7966
7967 * epa.el (epa-read-file-name): New function. (Bug#14510)
7968 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7969
7970 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7971
7972 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7973 output redirection to be ignored with visual commands.
7974
7975 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7976
7977 * eshell/em-term.el (eshell-visual-command-p): New function.
7978 (eshell-term-initialize): Move long lambda to separate function
7979 eshell-visual-command-p.
7980 * eshell/em-dirs.el (eshell-dirs-initialise):
7981 * eshell/em-script.el (eshell-script-initialize):
7982 Add missing #' to lambda.
7983
7984 2013-06-08 Leo Liu <sdl.web@gmail.com>
7985
7986 * progmodes/octave.el (octave-add-log-current-defun): New function.
7987 (octave-mode): Set add-log-current-defun-function.
7988 (octave-goto-function-definition): Do not move point if not found.
7989 (octave-find-definition): Enhance to try subfunctions first.
7990
7991 2013-06-08 Glenn Morris <rgm@gnu.org>
7992
7993 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7994 (byte-compile-backward-char, byte-compile-backward-word):
7995 Improve previous change, to handle non-explicit nil.
7996
7997 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7998
7999 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8000 (smie--opener/closer-at-point): New function.
8001 (smie--matching-block-data): Use it. Don't match from right after an
8002 opener or right before a closer. Obey smie-blink-matching-inners.
8003 Don't signal a mismatch for repeated inners like "switch..case..case".
8004
8005 2013-06-07 Leo Liu <sdl.web@gmail.com>
8006
8007 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8008 to t. (Bug#14303)
8009 (octave-function-header-regexp): Fix. (Bug#14570)
8010 (octave-help-mode-finish-hook, octave-help-mode-finish):
8011 Remove. Just use temp-buffer-show-hook.
8012
8013 * newcomment.el (comment-search-backward): Revert last change.
8014 (Bug#14434)
8015
8016 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8017
8018 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8019
8020 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8021 through xargs, to avoid failure due to MS-Windows limitations on
8022 command-line length.
8023
8024 2013-06-06 Glenn Morris <rgm@gnu.org>
8025
8026 * font-lock.el (lisp-font-lock-keywords-2):
8027 Treat user-error like error.
8028
8029 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8030 (byte-compile-backward-char, byte-compile-backward-word):
8031 Handle explicit nil arguments. (Bug#14565)
8032
8033 2013-06-05 Alan Mackenzie <acm@muc.de>
8034
8035 * isearch.el (isearch-allow-prefix): New user option.
8036 (isearch-other-meta-char): Don't exit isearch when a prefix
8037 argument is typed whilst `isearch-allow-prefix' is non-nil.
8038 (Bug#9706)
8039
8040 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8041
8042 * autorevert.el (auto-revert-notify-handler): Use memq.
8043 Hide assertion failure.
8044
8045 * skeleton.el: Use cl-lib.
8046 (skeleton-further-elements): Use defvar-local.
8047 (skeleton-insert): Use cl-progv.
8048
8049 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8050
8051 * progmodes/prog-mode.el (prog-prettify-symbols)
8052 (prog-prettify-install): Update docstrings.
8053
8054 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8055
8056 * simple.el: Move all the prog-mode code to prog-mode.el.
8057 * progmodes/prog-mode.el: New file.
8058 * loadup.el: Add prog-mode.el.
8059
8060 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8061
8062 * simple.el (prog-prettify-symbols): Add version.
8063 (prog-prettify-install): Add convenience function to prettify symbols.
8064
8065 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8066 (perl--augmented-font-lock-keywords-1)
8067 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8068 variables and use it.
8069
8070 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8071 (cfengine3-mode): Remove unneeded variable and use it.
8072
8073 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8074 (lisp--augmented-font-lock-keywords-1)
8075 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8076 Remove unneeded variables and use it.
8077
8078 2013-06-05 João Távora <joaotavora@gmail.com>
8079
8080 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8081 to point when opening the connection. (Bug#14380)
8082
8083 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8084
8085 * subr.el (load-history-regexp, load-history-filename-element)
8086 (eval-after-load, after-load-functions, do-after-load-evaluation)
8087 (eval-next-after-load, display-delayed-warnings)
8088 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8089 definition of save-match-data.
8090 (overriding-local-map): Remove accidental obsolescence declaration.
8091
8092 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8093
8094 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8095
8096 Generalize symbol prettify support to prog-mode and implement it
8097 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8098 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8099 (prog--prettify-font-lock-compose-symbol)
8100 (prog-prettify-font-lock-symbols-keywords): New variables and
8101 functions to support symbol prettification.
8102 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8103 (lisp--augmented-font-lock-keywords-1)
8104 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8105 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8106 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8107 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8108 Implement prettify of -> => :: strings.
8109 * progmodes/perl-mode.el (perl-prettify-symbols)
8110 (perl--font-lock-compose-symbol)
8111 (perl--font-lock-symbols-keywords): Move to prog-mode.
8112 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8113 (perl-font-lock-keywords-1)
8114 (perl-font-lock-keywords-2): Remove explicit prettify support.
8115 (perl--augmented-font-lock-keywords)
8116 (perl--augmented-font-lock-keywords-1)
8117 (perl--augmented-font-lock-keywords-2, perl-mode):
8118 Implement prettify support.
8119
8120 2013-06-05 Leo Liu <sdl.web@gmail.com>
8121
8122 Re-implement smie matching block highlight using
8123 show-paren-data-function. (Bug#14395)
8124 * emacs-lisp/smie.el (smie-matching-block-highlight)
8125 (smie--highlight-matching-block-overlay)
8126 (smie--highlight-matching-block-lastpos)
8127 (smie-highlight-matching-block)
8128 (smie-highlight-matching-block-mode): Remove.
8129 (smie--matching-block-data-cache): New variable.
8130 (smie--matching-block-data): New function.
8131 (smie-setup): Use smie--matching-block-data for
8132 show-paren-data-function.
8133
8134 * progmodes/octave.el (octave-mode-menu): Fix.
8135 (octave-find-definition): Skip garbage lines.
8136
8137 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8138
8139 Fix compilation error with simultaneous dynamic+lexical scoping.
8140 Add warning when a defvar appears after the first let-binding.
8141 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8142 (byte-compile-close-variables): Initialize it.
8143 (byte-compile--declare-var): New function.
8144 (byte-compile-file-form-defvar)
8145 (byte-compile-file-form-define-abbrev-table)
8146 (byte-compile-file-form-custom-declare-variable): Use it.
8147 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8148 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8149 (byte-compile-bind): Handle dynamic bindings that shadow
8150 lexical bindings.
8151 (byte-compile-unbind): Make arg non-optional.
8152 (byte-compile-let): Simplify.
8153 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8154 (cconv--analyse-function, cconv-analyse-form): Populate it.
8155 Protect byte-compile-bound-variables to limit the scope of defvars.
8156 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8157 Remove unneeded rule for `declare'.
8158
8159 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8160 so as to avoid depending on cl-adjoin at run-time.
8161 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8162
8163 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8164 (macroexp--warn-and-return): Use it.
8165
8166 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8167
8168 * lisp/subr.el: Convert to lexical binding.
8169 (overriding-local-map): Make obsolete.
8170 (add-to-list): Doc fix. Add compiler macro.
8171 (read-key): Swap values of local maps.
8172
8173 2013-06-05 Leo Liu <sdl.web@gmail.com>
8174
8175 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8176
8177 2013-06-04 Leo Liu <sdl.web@gmail.com>
8178
8179 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8180 (compilation-auto-jump): Suppress the "Mark set" message to give
8181 way to exit message.
8182
8183 2013-06-04 Alan Mackenzie <acm@muc.de>
8184
8185 Remove faulty optimisation from indentation calculation.
8186 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8187 search limit based on 2000 characters back from indent-point.
8188
8189 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8190
8191 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8192
8193 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8194
8195 * emacs-lisp/lisp.el: Use lexical-binding.
8196 (lisp--local-variables-1, lisp--local-variables): New functions.
8197 (lisp--local-variables-completion-table): New var.
8198 (lisp-completion-at-point): Use it complete let-bound vars.
8199
8200 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8201 eagerly (bug#14422).
8202
8203 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8204
8205 * autorevert.el (auto-revert-notify-enabled)
8206 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8207 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8208 (auto-revert-notify-handler): Handle also gfilenotify.
8209
8210 * subr.el (file-notify-handle-event): New defun. Replacing ...
8211 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8212 Remove.
8213
8214 2013-06-03 Juri Linkov <juri@jurta.org>
8215
8216 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8217 `M-s h .'. (Bug#14427)
8218
8219 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8220 command `hi-lock-face-symbol-at-point'.
8221 (hi-lock-face-symbol-at-point): New command.
8222 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8223 (hi-lock-menu): Add `highlight-symbol-at-point'.
8224 (hi-lock-mode): Doc fix.
8225
8226 * isearch.el (isearch-forward-symbol-at-point): New command.
8227 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8228 (isearch-highlight-regexp): Add a regexp which matches
8229 words/symbols for word/symbol mode.
8230
8231 * subr.el (find-tag-default-bounds): New function with the body
8232 mostly moved from `find-tag-default'.
8233 (find-tag-default): Move most code to `find-tag-default-bounds',
8234 call it and apply `buffer-substring-no-properties' afterwards.
8235
8236 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8237
8238 * eshell/em-term.el (eshell-term-initialize):
8239 Use `cl-intersection' rather than `intersection'.
8240
8241 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8242
8243 * vc/log-view.el: Doc fix.
8244 (log-view-mode-map): Copy keymap from `special-mode-map'.
8245
8246 2013-06-02 Eric Ludlam <zappo@gnu.org>
8247
8248 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8249 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8250 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8251 (eieio-unbound, eieio-default-superclass)
8252 (eieio--define-field-accessors, method-static, method-before)
8253 (method-primary, method-after, method-num-lists)
8254 (method-generic-before, method-generic-primary)
8255 (method-generic-after, method-num-slots)
8256 (eieio-specialized-key-to-generic-key)
8257 (eieio--check-type, class-v, class-p)
8258 (eieio-class-name, define-obsolete-function-alias)
8259 (eieio-class-parents-fast, eieio-class-children-fast)
8260 (same-class-fast-p, class-constructor, generic-p)
8261 (generic-primary-only-p, generic-primary-only-one-p)
8262 (class-option-assoc, class-option, eieio-object-p)
8263 (class-abstract-p, class-method-invocation-order)
8264 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8265 (eieio-class-un-autoload, eieio-defclass)
8266 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8267 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8268 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8269 (eieio-defgeneric-reset-generic-form)
8270 (eieio-defgeneric-form-primary-only)
8271 (eieio-defgeneric-reset-generic-form-primary-only)
8272 (eieio-defgeneric-form-primary-only-one)
8273 (eieio-defgeneric-reset-generic-form-primary-only-one)
8274 (eieio-unbind-method-implementations)
8275 (eieio--defmethod, eieio--typep)
8276 (eieio-perform-slot-validation, eieio-validate-slot-value)
8277 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8278 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8279 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8280 (eieio-slot-name-index, eieio-class-slot-name-index)
8281 (eieio-set-defaults, eieio-initarg-to-attribute)
8282 (eieio-attribute-to-initarg, eieio-c3-candidate)
8283 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8284 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8285 (eieio-class-precedence-list, eieio-generic-call-methodname)
8286 (eieio-generic-call-arglst, eieio-generic-call-key)
8287 (eieio-generic-call-next-method-list)
8288 (eieio-pre-method-execution-functions, eieio-generic-call)
8289 (eieio-generic-call-primary-only, eieiomt-method-list)
8290 (eieiomt-optimizing-obarray, eieiomt-install)
8291 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8292 (eieio-generic-form, eieio-defmethod, make-obsolete)
8293 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8294 (defclass): Remove `eval-and-compile' from macro.
8295 (call-next-method, shared-initialize): Instead of using
8296 `scoped-class' variable, use new eieio--scoped-class, and
8297 eieio--with-scoped-class.
8298 (initialize-instance): Rename local variable 'scoped-class' to
8299 'this-class' to remove ambiguitity from old global.
8300
8301 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8302 eieio.el.
8303 (eieio--scoped-class-stack): New variable.
8304 (eieio--scoped-class): New fcn.
8305 (eieio--with-scoped-class): New scoping macro.
8306 (eieio-defclass): Use pushnew instead of add-to-list.
8307 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8308 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8309 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8310 `scoped-class' variable, use new eieio--scoped-class, and
8311 eieio--with-scoped-class.
8312
8313 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8314
8315 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8316
8317 * eshell/esh-ext.el (eshell-external-command): Pass args to
8318 `eshell-find-interpreter'.
8319 (eshell-find-interpreter): Add new second parameter ARGS.
8320
8321 * eshell/em-script.el (eshell-script-initialize): Add second arg
8322 to the function added as MATCH to `eshell-interpreter-alist'.
8323
8324 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8325 the function added as MATCH to `eshell-interpreter-alist'.
8326
8327 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8328 (eshell-visual-options): New defcustom.
8329 (eshell-escape-control-x): Adapt docstring.
8330 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8331 `eshell-visual-options' in addition to `eshell-visual-commands'.
8332 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8333
8334 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8335
8336 * progmodes/python.el (python-indent-block-enders): Add break,
8337 continue and raise keywords.
8338
8339 2013-06-01 Glenn Morris <rgm@gnu.org>
8340
8341 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8342
8343 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8344 * progmodes/cc-cmds.el (delete-forward-p):
8345 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8346 * progmodes/cc-engine.el (buffer-syntactic-context):
8347 * progmodes/cc-fonts.el (face-property-instance):
8348 * progmodes/cc-mode.el (set-keymap-parents):
8349 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8350 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8351 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8352 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8353 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8354
8355 * progmodes/cc-vars.el (other): Emacs has this widget since
8356 at least 21.1, so don't (re)define it.
8357
8358 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8359 Replace the obsolete alias pcomplete-arg-quote-list.
8360
8361 2013-06-01 Leo Liu <sdl.web@gmail.com>
8362
8363 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8364 punctuation syntax.
8365 (inferior-octave-minimal-columns)
8366 (inferior-octave-last-column-width): New variables.
8367 (inferior-octave-track-window-width-change): New function.
8368 (inferior-octave-mode): Adjust column width so that Octave output,
8369 for example from 'ls', can fit into the window nicely.
8370
8371 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8372
8373 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8374 Highlight expansions inside regexp literals.
8375
8376 2013-05-31 Glenn Morris <rgm@gnu.org>
8377
8378 * obsolete/sym-comp.el (symbol-complete):
8379 Replace obsolete completion-annotate-function.
8380
8381 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8382
8383 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8384
8385 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8386 New function, checks if point is inside a literal that allows
8387 expression expansion.
8388 (ruby-syntax-propertize-expansion): Use it.
8389 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8390 around the body.
8391
8392 2013-05-30 Juri Linkov <juri@jurta.org>
8393
8394 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8395 to "\M-si".
8396 (isearch-invisible): New variable.
8397 (isearch-forward): Doc fix.
8398 (isearch-mode): Set `isearch-invisible'
8399 to the value of `search-invisible'.
8400 (isearch-toggle-case-fold): Doc fix.
8401 (isearch-toggle-invisible): New command.
8402 (isearch-query-replace): Let-bind `search-invisible'
8403 to the value of `isearch-invisible'.
8404 (isearch-search): Use `isearch-invisible' instead of
8405 `search-invisible'. Let-bind `search-invisible'
8406 to the value of `isearch-invisible'. (Bug#11378)
8407
8408 2013-05-30 Juri Linkov <juri@jurta.org>
8409
8410 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8411 call when `query-flag' is nil and `search-invisible' is non-nil.
8412 (Bug#11746)
8413
8414 2013-05-30 Glenn Morris <rgm@gnu.org>
8415
8416 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8417
8418 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8419 (cc-require): Suppress spurious "noruntime" warnings.
8420 (cc-require-when-compile): Use fboundp, for sake of compiler.
8421
8422 * progmodes/cc-mode.el: Move load of cc-vars before that of
8423 cc-langs (which in turn loads cc-vars), to quieten compiler.
8424
8425 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8426
8427 * paren.el: Simplify the code.
8428 (show-paren-mode): Always start the timer.
8429 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8430 (show-paren--overlay, show-paren--overlay-1): Rename from
8431 show-paren-overlay and show-paren-overlay-1, and initialize to an
8432 overlay rather than to nil.
8433 (show-paren-function): Misc cleanup and simplifications.
8434
8435 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8436
8437 * paren.el (show-paren-data-function): New hook.
8438 (show-paren--default): New function, extracted from show-paren-function.
8439 (show-paren-function): Use show-paren-data-function.
8440
8441 2013-05-30 Glenn Morris <rgm@gnu.org>
8442
8443 * ielm.el (ielm-map, ielm-complete-symbol):
8444 Use completion-at-point rather than obsolete functions.
8445 (inferior-emacs-lisp-mode): Doc fix.
8446 Set completion-at-point-functions, rather than
8447 comint-dynamic-complete-functions.
8448
8449 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8450 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8451 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8452
8453 * image.el (image-animated-p): Tweak definition.
8454
8455 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8456 (rlogin-process-connection-type): Tweak default. Add set-after.
8457 (rlogin-host): Doc fix.
8458 (rlogin): Tweak prompt.
8459 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8460
8461 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8462 * progmodes/tcl.el (inferior-tcl-mode-map):
8463 Use completion-at-point rather than obsolete alias.
8464
8465 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8466
8467 * minibuffer.el (read-file-name-completion-ignore-case):
8468 Move before completion--in-region, for eager macro expansion.
8469
8470 2013-05-29 Juri Linkov <juri@jurta.org>
8471
8472 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8473 for total count of matching lines. Add `global-matches' for total
8474 count of matches. Rename `matches' to `lines' for count of
8475 matching lines. Add `matches' for count of matches.
8476 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8477 to `prev-line' for line number of prev match endpt.
8478 Increment `matches' for every match. Print the number of
8479 matching lines in the header.
8480 (occur-context-lines): Rename `lines' to `curr-line'.
8481 Rename `prev-lines' to `prev-line'. (Bug#14017)
8482
8483 2013-05-29 Juri Linkov <juri@jurta.org>
8484
8485 * replace.el (perform-replace): Add `skip-read-only-count',
8486 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8487 Increment them for corresponding conditions and report the number
8488 of skipped occurrences in the final message. (Bug#11746)
8489 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8490 (replace-string, replace-regexp): Doc fix.
8491
8492 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8493
8494 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8495
8496 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8497 prog-mode-map (bug#14504).
8498
8499 2013-05-29 Leo Liu <sdl.web@gmail.com>
8500
8501 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8502 (octave-help): Small simplification.
8503
8504 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8505 off the highlight first.
8506
8507 2013-05-29 Glenn Morris <rgm@gnu.org>
8508
8509 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8510 Handle idlwave-last-system-routine-info-cons-cell being nil.
8511
8512 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8513 (idlwave-write-paths): Simplify via with-temp-buffer.
8514
8515 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8516 * emulation/cua-rect.el: Also load cua-base at run time.
8517
8518 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8519 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8520 (cperl-imenu-on-info): Require imenu.
8521
8522 2013-05-28 Alan Mackenzie <acm@muc.de>
8523
8524 Handle "capitalised keywords" correctly.
8525 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8526
8527 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8528
8529 * eshell/em-unix.el: Add -r option to cp.
8530
8531 2013-05-28 Glenn Morris <rgm@gnu.org>
8532
8533 * vc/vc-arch.el (vc-exec-after): Declare.
8534 (vc-switches): Autoload.
8535 * vc/vc-bzr.el: No need to require vc when compiling.
8536 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8537 (vc-resynch-buffer, vc-dir-refresh): Declare.
8538 (vc-setup-buffer, vc-switches): Autoload.
8539 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8540 (vc-resynch-buffer): Declare.
8541 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8542 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8543 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8544 (grep-read-regexp, grep-read-files, grep-expand-template)
8545 (vc-dir-refresh): Declare.
8546 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8547 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8548 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8549 * vc/vc-mtn.el (vc-exec-after): Declare.
8550 (vc-switches): Autoload.
8551 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8552 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8553 (vc-file-tree-walk): Declare.
8554 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8555 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8556 (vc-tag-precondition, vc-rename-master): Autoload.
8557 * vc/vc-svn.el (vc-exec-after): Declare.
8558 (vc-switches, vc-setup-buffer): Autoload.
8559 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8560 Autoload.
8561 (vc-resynch-buffer): Declare.
8562
8563 * obsolete/fast-lock.el (byte-compile-warnings):
8564 Don't warn about obsolete features in this obsolete file.
8565
8566 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8567 Move definition before use.
8568
8569 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8570 (dun-unix-verbs): Remove dun-zippy.
8571 (dun-zippy): Remove function.
8572
8573 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8574
8575 2013-05-27 Juri Linkov <juri@jurta.org>
8576
8577 * replace.el (replace-search): New function with code moved out
8578 from `perform-replace'.
8579 (replace-highlight, replace-dehighlight): Move function definitions
8580 up closer to `replace-search'. (Bug#11746)
8581
8582 2013-05-27 Juri Linkov <juri@jurta.org>
8583
8584 * replace.el (perform-replace): Ignore invisible matches.
8585 In addition to checking `query-replace-skip-read-only', also
8586 filter out matches by calling `run-hook-with-args-until-failure'
8587 on `isearch-filter-predicates', and also check `search-invisible'
8588 for t or call `isearch-range-invisible'.
8589 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8590
8591 2013-05-27 Juri Linkov <juri@jurta.org>
8592
8593 * isearch.el (isearch-filter-predicates): Rename from
8594 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8595 (isearch-message-prefix): Display text from the property
8596 `isearch-message-prefix' of the currently active filters.
8597 (isearch-search): Don't compare `isearch-filter-predicate' with
8598 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8599 on `isearch-filter-predicates'. Also check `search-invisible' for t
8600 or call `isearch-range-invisible'.
8601 (isearch-filter-visible): Make obsolete.
8602 (isearch-lazy-highlight-search):
8603 Call `run-hook-with-args-until-failure' on
8604 `isearch-filter-predicates' and use `isearch-range-invisible'.
8605
8606 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8607 `isearch-filter-predicates' instead of `funcall'ing
8608 `isearch-filter-predicate'.
8609 (Info-mode): Set `Info-isearch-filter' to
8610 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8611
8612 * dired-aux.el (dired-isearch-filter-predicate-orig):
8613 Remove variable.
8614 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8615 (dired-isearch-filenames-end): Add and remove
8616 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8617 instead of changing the value of `isearch-filter-predicate'.
8618 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8619 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8620 Put property `isearch-message-prefix' to "filename " on
8621 `dired-isearch-filter-filenames'.
8622
8623 * wdired.el (wdired-change-to-wdired-mode):
8624 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8625 locally instead of changing `isearch-filter-predicate'.
8626 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8627
8628 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8629
8630 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8631 return the commit hash (Bug#14459). Also set the
8632 `vc-git-detached' property.
8633 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8634 (vc-git-mode-line-string): Use the same help-echo format whether
8635 in detached mode or not, because we know the actual revision now.
8636 When in detached mode, shorten the revision to 7 chars.
8637
8638 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8639
8640 * emacs-lisp/easy-mmode.el (define-minor-mode):
8641 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8642 mode hook and provide a docstring.
8643
8644 2013-05-27 Alan Mackenzie <acm@muc.de>
8645
8646 Remove spurious syntax-table text properties inserted by C-y.
8647 * progmodes/cc-mode.el (c-after-change): Also clear hard
8648 syntax-table property with value nil.
8649
8650 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8651
8652 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8653 when reading the events; the buffer layout shall not be changed.
8654
8655 2013-05-27 Leo Liu <sdl.web@gmail.com>
8656
8657 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8658 New variable.
8659 (inferior-octave-directory-tracker): Automatically re-sync
8660 default-directory.
8661 (octave-help): Improve handling of 'See also'.
8662
8663 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8664
8665 * doc-view.el: Minor naming convention tweaks.
8666 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8667
8668 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8669 even if there's no `display' property yet (bug#14435).
8670
8671 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8672
8673 * subr.el (unmsys--file-name): Rename from reveal-filename.
8674
8675 * Makefile.in (custom-deps, finder-data, autoloads)
8676 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8677 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8678 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8679
8680 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8681
8682 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8683 error-completion on the first 2 args of condition-case (bug#14446).
8684 Don't burp at EOB.
8685
8686 2013-05-25 Leo Liu <sdl.web@gmail.com>
8687
8688 * comint.el (comint-previous-matching-input): Do not flood the
8689 *Messages* buffer with trivial messages.
8690
8691 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8692
8693 * progmodes/flymake.el (flymake-nop): Don't return a string.
8694 (flymake-set-at): Fix typo.
8695
8696 * simple.el (read--expression): New function, extracted from
8697 eval-expression. Set completion-at-point-functions (bug#14465).
8698 (eval-expression, eval-minibuffer): Use it.
8699
8700 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8701
8702 * progmodes/flymake.el (flymake-save-buffer-in-file)
8703 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8704 (flymake-selected-frame, flymake-log, flymake-ins-after)
8705 (flymake-set-at, flymake-get-buildfile-from-cache)
8706 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8707 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8708 Refine the doc string.
8709 (flymake-get-file-name-mode-and-masks): Reformat.
8710 (flymake-get-real-file-name-function): Fix a minor bug.
8711
8712 2013-05-24 Juri Linkov <juri@jurta.org>
8713
8714 * progmodes/grep.el (grep-mode-font-lock-keywords):
8715 Support =linenumber= format used by git-grep for lines with
8716 function names. (Bug#13549)
8717
8718 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8719
8720 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8721 0 after a semi-colon; it works better for smie-auto-fill.
8722 (octave--indent-new-comment-line): New function.
8723 (octave-indent-new-comment-line): Use it (indirectly).
8724 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8725 modify comment-line-break-function.
8726
8727 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8728 (smie-setup): Use add-function to set it.
8729
8730 2013-05-24 Sam Steingold <sds@gnu.org>
8731
8732 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8733 argument (before the `interactive' argument).
8734
8735 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8736
8737 * image-mode.el (image-mode-winprops): Add winprops to
8738 image-mode-winprops-alist before running
8739 image-mode-new-window-functions.
8740 * doc-view.el (doc-view-new-window-function): Don't delay
8741 doc-view-goto-page via timers (bug#14435).
8742
8743 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8744
8745 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8746 (doc-view-desktop-save-buffer): New function.
8747 (doc-view-restore-desktop-buffer): New function.
8748 (desktop-buffer-mode-handlers):
8749 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8750 handler.
8751 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8752 `desktop-save-buffer' function.
8753
8754 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8755
8756 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8757 (tramp-gvfs-file-name-handler): Raise a user error when
8758 `tramp-gvfs-enabled' is nil.
8759 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8760 Do not raise a user error when loading package. (Bug#14447)
8761
8762 * net/xesam.el: Move to obsolete/.
8763
8764 2013-05-24 Glenn Morris <rgm@gnu.org>
8765
8766 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8767
8768 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8769
8770 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8771 (Info-find-node, Man-getpage-in-background): Declare.
8772
8773 * mail/unrmail.el (unrmail):
8774 Replace obsolete detect-coding-with-priority.
8775
8776 * net/socks.el (socks-split-string): Use this rather than split-string.
8777 (socks-nslookup-host): Update for above change.
8778 (dynamic-choice, s5-dynamic-choice-match)
8779 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8780 Comment out unused code.
8781
8782 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8783 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8784 (gud-tooltip-echo-area): Make obsolete.
8785 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8786
8787 * progmodes/js.el (js--optimize-arglist): Declare.
8788
8789 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8790
8791 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8792 (ediff-window-C): Declare.
8793
8794 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8795 Tweak requires to silence compiler.
8796
8797 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8798 (he-search-string, he-tried-table, he-expand-list)
8799 (he-init-string, he-string-member, he-substitute-string)
8800 (he-reset-string): Declare.
8801
8802 * obsolete/options.el (list-options): Use custom-variable-p,
8803 rather than obsolete alias.
8804
8805 2013-05-23 Sam Steingold <sds@gnu.org>
8806
8807 * simple.el (shell-command-on-region): Pass the `replace' argument
8808 down to `call-process-region' to comply with the doc as reported on
8809 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8810
8811 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8812
8813 * emacs-lisp/smie.el (smie-indent-forward-token)
8814 (smie-indent-backward-token): Handle string tokens (bug#14381).
8815
8816 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8817
8818 * ielm.el (ielm-menu): New menu.
8819 (inferior-emacs-lisp-mode): Set comment-start.
8820
8821 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8822
8823 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8824 Fix deactivate action.
8825
8826 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8827 Add cleveref macros.
8828
8829 * lisp/textmodes/reftex-parse.el
8830 (reftex-locate-bibliography-files): Accept options for
8831 bibliography commands.
8832 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8833 Add addbibresource. Basic Biblatex support.
8834
8835 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8836
8837 * net/tramp-gvfs.el (top):
8838 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8839 when loading package. (Bug#14447)
8840
8841 2013-05-23 Glenn Morris <rgm@gnu.org>
8842
8843 * progmodes/js.el: No need to load comint when compiling.
8844 (ring-insert, comint-send-string, comint-send-input)
8845 (comint-last-input-end, ido-chop): Declare.
8846
8847 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8848 * vc/ediff-mult.el: Adjust requires.
8849 (ediff-directories-internal, ediff-directory-revisions-internal)
8850 (ediff-patch-file-internal): Declare.
8851 * vc/ediff-ptch.el: Adjust requires.
8852 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8853 (ediff-find-file): Autoload.
8854 * vc/ediff-util.el: No need to load ediff when compiling.
8855 (ediff-regions-internal): Declare.
8856 * vc/ediff-wind.el: Adjust requires.
8857 (ediff-compute-toolbar-width): Define when compiling.
8858 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8859 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8860 (dired-get-filename, dired-get-marked-files)
8861 (ediff-last-dir-patch, ediff-patch-default-directory)
8862 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8863 (ediff-patch-buffer-internal): Declare.
8864
8865 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8866 (ispell-process, ispell-buffer-local-words, lm-summary)
8867 (lm-section-start, lm-section-end): Declare.
8868 (checkdoc-ispell-init): Simplify.
8869
8870 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8871 (he-string-member, he-reset-string, he-substitute-string): Declare.
8872
8873 * eshell/em-ls.el: Adjust requires.
8874 (eshell-glob-regexp): Declare.
8875 * eshell/em-tramp.el: Adjust requires.
8876 (eshell-parse-command): Autoload.
8877 * eshell/em-xtra.el: Adjust requires.
8878 (eshell-parse-command): Autoload.
8879 * eshell/esh-ext.el: Adjust requires.
8880 (eshell-parse-command, eshell-close-handles): Autoload.
8881 * eshell/esh-io.el: Adjust requires.
8882 (eshell-output-filter): Autoload.
8883 * eshell/esh-util.el: No need to load tramp when compiling.
8884 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8885 Declare.
8886 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8887 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8888 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8889 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8890 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8891 * eshell/esh-opt.el, eshell/esh-proc.el:
8892 * eshell/esh-var.el: Adjust requires.
8893 * eshell/eshell.el: Do not require esh-util twice.
8894 (eshell-add-input-to-history): Declare.
8895 (eshell-command): Check history module is active before using it.
8896
8897 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8898
8899 2013-05-22 Leo Liu <sdl.web@gmail.com>
8900
8901 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8902
8903 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8904
8905 * autorevert.el (auto-revert-notify-add-watch)
8906 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8907 it indicates changes in file modification time.
8908
8909 2013-05-22 Glenn Morris <rgm@gnu.org>
8910
8911 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8912 Always delete the autoloaded function from the noruntime and
8913 unresolved functions lists.
8914
8915 * allout.el: No need to load epa, epg, overlay when compiling.
8916 (epg-context-set-passphrase-callback, epg-list-keys)
8917 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8918 (epg-key-user-id-list): Declare.
8919
8920 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8921 (viper-set-parsing-style-toggling-macro)
8922 (viper-set-emacs-state-searchstyle-macros):
8923 Use called-interactively-p on Emacs.
8924 (viper-looking-back): Make it an obsolete alias. Update callers.
8925 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8926 Use looking-back rather than viper-looking-back.
8927 (viper-tmp-insert-at-eob, viper-enlarge-region)
8928 (viper-read-string-with-history, viper-register-to-point)
8929 (viper-append-to-register, viper-change-state-to-vi)
8930 (viper-backward-char-carefully, viper-forward-char-carefully)
8931 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8932 (viper-change-state-to-emacs): Declare.
8933 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8934 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8935 * emulation/viper-mous.el: Do not load viper-cmd.
8936 (viper-backward-char-carefully, viper-forward-char-carefully)
8937 (viper-forward-word, viper-adjust-window): Declare.
8938
8939 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8940
8941 * progmodes/idlw-help.el (idlwave-help-fontify):
8942 Use called-interactively-p.
8943
8944 * term/w32console.el (w32-get-console-codepage)
8945 (w32-get-console-output-codepage): Declare.
8946
8947 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8948 Remove unnecessary declarations.
8949 (dframe-message): Doc fix.
8950
8951 * info.el (dframe-select-attached-frame, dframe-current-frame):
8952 Declare.
8953
8954 * speedbar.el (speedbar-message): Make it an obsolete alias.
8955 Update all callers.
8956 (speedbar-with-attached-buffer)
8957 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8958 (speedbar-with-writable): Use backquote.
8959 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8960 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8961 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8962 rather than speedbar- aliases.
8963 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8964 (speedbar-make-specialized-keymap, speedbar-insert-button)
8965 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8966 (speedbar-do-function-pointer): Declare.
8967 (rmail-speedbar-button, rmail-speedbar-find-file)
8968 (rmail-speedbar-move-message):
8969 Use dframe-with-attached-buffer rather than speedbar- alias.
8970 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8971 (dframe-message, speedbar-make-specialized-keymap)
8972 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8973 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8974 (speedbar-insert-button, dframe-select-attached-frame)
8975 (dframe-maybee-jump-to-attached-frame)
8976 (speedbar-change-initial-expansion-list)
8977 (speedbar-previously-used-expansion-list-name): Declare.
8978 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8979 Use dframe-message, dframe-with-attached-buffer rather than
8980 speedbar- aliases.
8981 (gud-sentinel): Silence compiler.
8982 * progmodes/vhdl-mode.el (speedbar-refresh)
8983 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8984 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8985 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8986 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8987 (speedbar-file-lists, speedbar-make-tag-line)
8988 (speedbar-line-directory, speedbar-goto-this-file)
8989 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8990 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8991 (speedbar-make-button, speedbar-reset-scanners)
8992 (speedbar-files-item-info, speedbar-line-text)
8993 (speedbar-find-file-in-frame, speedbar-set-timer)
8994 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8995 (speedbar-with-writable): Do not (re)define it.
8996 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8997 rather than speedbar- alias.
8998
8999 2013-05-21 Leo Liu <sdl.web@gmail.com>
9000
9001 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9002 menu items.
9003 (octave-mode): Tweak fill-nobreak-predicate.
9004 (inferior-octave-startup): Check process to avoid infinite loop.
9005 (inferior-octave): Pop to buffer first to show abornmal process
9006 exit information.
9007
9008 2013-05-21 Glenn Morris <rgm@gnu.org>
9009
9010 * printing.el (pr-menu-bar): Define when compiling.
9011
9012 2013-05-21 Leo Liu <sdl.web@gmail.com>
9013
9014 * progmodes/octave.el (octave-auto-fill): Remove.
9015 (octave-indent-new-comment-line): Improve.
9016 (octave-mode): Use auto fill mode through
9017 comment-line-break-function and fill-nobreak-predicate.
9018 (octave-goto-function-definition): Support DEFUN_DLD.
9019 (octave-beginning-of-defun): Small tweak.
9020 (octave-help): Show parent directory.
9021
9022 2013-05-21 Glenn Morris <rgm@gnu.org>
9023
9024 * files.el (dired-unmark):
9025 * progmodes/gud.el (gdb-input): Update declarations.
9026
9027 * calculator.el (electric, ehelp): No need to load when compiling.
9028 (Electric-command-loop, electric-describe-mode): Declare.
9029
9030 * doc-view.el (doc-view-current-converter-processes): Move before use.
9031
9032 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9033 Move MODE-set-explicitly definition before use.
9034
9035 * international/mule-diag.el (mule-diag):
9036 Don't use obsolete window-system-version.
9037
9038 * mail/feedmail.el (smtpmail): No need to load when compiling.
9039 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9040
9041 * mail/mail-utils.el (rfc822): No need to load when compiling.
9042 (rfc822-addresses): Autoload it.
9043 (mail-strip-quoted-names): Trivial simplification.
9044
9045 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9046 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9047
9048 * net/snmp-mode.el (tempo): Don't duplicate requires.
9049
9050 * progmodes/prolog.el (info): No need to load when compiling.
9051 (comint): Require before shell requires it.
9052 (Info-goto-node): Autoload it.
9053 (Info-follow-nearest-node): Declare.
9054 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9055
9056 * textmodes/artist.el (picture-mode-exit): Declare.
9057
9058 * textmodes/reftex-parse.el (reftex-parse-from-file):
9059 Trivial rewrite so the compiler can parse it better.
9060
9061 2013-05-20 Leo Liu <sdl.web@gmail.com>
9062
9063 * progmodes/octave.el (octave-help-mode-map)
9064 (octave-help-mode-finish-hook): New variables.
9065 (octave-help-mode, octave-help-mode-finish): New functions.
9066 (octave-help): Use octave-help-mode.
9067
9068 2013-05-20 Glenn Morris <rgm@gnu.org>
9069
9070 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9071
9072 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9073
9074 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9075 start at point, so that expansion starting right after opening
9076 slash in a regexp is recognized.
9077 (ruby-syntax-before-regexp-re): New defvar, extracted from
9078 ruby-syntax-propertize-function. Since the value of this regexp
9079 is looked up at runtime now, we should be able to turn
9080 `ruby-syntax-methods-before-regexp' into a defcustom later.
9081 (ruby-syntax-propertize-function): Split regexp matching into two
9082 parts, for opening and closing slashes. That allows us to skip
9083 over string interpolations and support multiline regexps.
9084 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9085 for them, which calls `ruby-syntax-propertize-expansion'.
9086 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9087 call to `ruby-syntax-propertize-function'.
9088 (ruby-syntax-propertize-expansion): Extracted from
9089 `ruby-syntax-propertize-expansions'. Handles one expansion.
9090 (ruby-syntax-propertize-percent-literal): Leave point right after
9091 the percent symbol, so that the expression expansion rule can
9092 propertize the contents.
9093 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9094 heredoc openers.
9095 (ruby-syntax-propertize-expansions): Remove.
9096
9097 2013-05-18 Juri Linkov <juri@jurta.org>
9098
9099 * man.el (Man-default-man-entry): Remove `-' from the end
9100 of the default value. (Bug#14400)
9101
9102 2013-05-18 Glenn Morris <rgm@gnu.org>
9103
9104 * comint.el (comint-password-prompt-regexp):
9105 Allow "password for XXX" where XXX contains colons (eg https://...).
9106
9107 2013-05-18 Leo Liu <sdl.web@gmail.com>
9108
9109 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9110 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9111 (octave-source-directories): Don't check process.
9112 (octave-source-directories, octave-find-definition): Doc fix.
9113
9114 2013-05-18 Glenn Morris <rgm@gnu.org>
9115
9116 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9117 Remove backspace/delete bindings. (Bug#14392)
9118
9119 * cus-dep.el (custom-make-dependencies): Sort the output.
9120 (custom-versions-load-alist): Convert comment to doc.
9121
9122 2013-05-17 Leo Liu <sdl.web@gmail.com>
9123
9124 * newcomment.el (comment-search-backward): Stricter in finding
9125 comment start. (Bug#14303)
9126
9127 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9128 (octave-comment-start-skip): Properly anchored.
9129
9130 2013-05-17 Leo Liu <sdl.web@gmail.com>
9131
9132 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9133 Clean up when turned off. (Bug#14395)
9134 (smie--highlight-matching-block-overlay): No longer buffer-local.
9135 (smie-highlight-matching-block): Adjust.
9136
9137 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9138
9139 Doc string fix for "nanoseconds" (Bug#14406).
9140 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9141 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9142
9143 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9144
9145 * calc/calc-units.el (math-extract-units): Preserve powers
9146 of units.
9147
9148 2013-05-17 Leo Liu <sdl.web@gmail.com>
9149
9150 * subr.el (delete-consecutive-dups): New function.
9151 * ido.el (ido-set-matches-1): Use it.
9152 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9153 * ido.el (ido-remove-consecutive-dups): Remove.
9154
9155 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9156
9157 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9158 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9159 regexp-opt's `words'.
9160
9161 2013-05-16 Leo Liu <sdl.web@gmail.com>
9162
9163 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9164 (smie--highlight-matching-block-overlay)
9165 (smie--highlight-matching-block-lastpos)
9166 (smie--highlight-matching-block-timer): New variables.
9167 (smie-highlight-matching-block): New function.
9168 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9169 (smie-setup): Conditionally enable smie-blink-matching-open.
9170
9171 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9172
9173 Sync with upstream verilog-mode r840.
9174 * progmodes/verilog-mode.el (verilog-mode-version)
9175 (verilog-mode-release-date): Update.
9176 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9177 (verilog-sig-tieoff): Fix string error on
9178 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9179 (verilog-read-decls): Fix parameters confusing
9180 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9181
9182 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9183
9184 * subr.el (reveal-filename): New function.
9185
9186 * loadup.el: Compute Emacs executable versions on MS-Windows,
9187 where executables have the .exe extension. Add a hard link
9188 emacs-XX.YY.ZZ.exe on MS-Windows.
9189
9190 * Makefile.in (XARGS_LIMIT): New variable.
9191 (custom-deps, finder-data, autoloads)
9192 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9193 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9194 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9195 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9196
9197 2013-05-16 Leo Liu <sdl.web@gmail.com>
9198
9199 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9200 (octave-mode-menu, octave-mode-map): Remove its uses.
9201
9202 2013-05-16 Reto Zimmermann <reto@gnu.org>
9203
9204 Sync with upstream vhdl mode v3.34.2.
9205 * progmodes/vhdl-mode.el: Use `push' throughout.
9206 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9207 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9208 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9209 (vhdl-actual-generic-name): New option to derive actual generic name.
9210 (vhdl-port-paste-signals): Replace formal by actual generics.
9211 (vhdl-beautify): New name for old group vhdl-align. Update users.
9212 (vhdl-beautify-options): New option.
9213 (vhdl-last-input-event): New compat alias. Use throughout.
9214 (vhdl-goto-line): Replace user level function `goto-line'.
9215 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9216 vhdl-fix-statement-buffer.
9217 (vhdl-create-mode-menu): Add some entries.
9218 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9219 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9220 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9221 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9222 to force statements on one line.
9223 (vhdl-remove-trailing-spaces-region):
9224 New, split from vhdl-remove-trailing-spaces.
9225 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9226 Respect vhdl-beautify-options.
9227 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9228 (vhdl-update-sensitivity-list): Not add with index if exists without.
9229 Not include array index with signal. Ignore keywords in comments.
9230 (vhdl-get-visible-signals): Regexp tweaks.
9231 (vhdl-template-component-inst): Handle empty library.
9232 (vhdl-template-type): Add template for 'enum' type.
9233 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9234 Use vhdl-replace-string.
9235 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9236 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9237 (vhdl-speedbar-initialize): Update for above name change.
9238 (vhdl-compose-wire-components): Fix in handling of constants.
9239 (vhdl-error-regexp-emacs-alist): New variable.
9240 (vhdl-error-regexp-add-emacs): New function;
9241 adds support for new compile.el (Emacs 22+)
9242 (vhdl-generate-makefile-1): Change target order for single lib. units.
9243 Allow use of absolute file names.
9244
9245 2013-05-16 Leo Liu <sdl.web@gmail.com>
9246
9247 * simple.el (prog-indent-sexp): Indent enclosing defun.
9248
9249 2013-05-15 Glenn Morris <rgm@gnu.org>
9250
9251 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9252 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9253 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9254 (whitespace-highlight): Move to whitespace group.
9255
9256 * comint.el (comint-source):
9257 * pcmpl-linux.el (pcmpl-linux):
9258 * shell.el (shell-faces):
9259 * eshell/esh-opt.el (eshell-opt):
9260 * international/ccl.el (ccl): Remove empty custom groups.
9261
9262 * completion.el (dynamic-completion-mode):
9263 * jit-lock.el (jit-lock-debug-mode):
9264 * minibuffer.el (completion-in-region-mode):
9265 * type-break.el (type-break-mode-line-message-mode)
9266 (type-break-query-mode):
9267 * emulation/tpu-edt.el (tpu-edt-mode):
9268 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9269 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9270 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9271
9272 * term/xterm.el (xterm): Change parent group to terminals.
9273
9274 * master.el (master): Remove empty custom group.
9275 (master-mode): Remove unused :group argument.
9276 * textmodes/refill.el (refill): Remove empty custom group.
9277 (refill-mode): Remove unused :group argument.
9278
9279 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9280
9281 * cus-dep.el: Provide a feature.
9282 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9283 Don't mistakenly ignore files whose basenames match a basename
9284 from preloaded-file-list (eg cedet/ede/simple.el).
9285 Add a fallback method for getting :group.
9286
9287 2013-05-15 Juri Linkov <juri@jurta.org>
9288
9289 * isearch.el (isearch-char-by-name): Rename from
9290 `isearch-insert-char-by-name'. Doc fix.
9291 (isearch-forward): Mention `isearch-char-by-name' in
9292 the docstring. (Bug#13348)
9293
9294 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9295 `exit-minibuffer' instead of
9296 `isearch-nonincremental-exit-minibuffer'.
9297 (isearch-edit-string): Remove mention of
9298 `isearch-nonincremental-exit-minibuffer' from docstring.
9299 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9300 (isearch-forward-exit-minibuffer)
9301 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9302
9303 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9304
9305 * loadup.el: Just use unversioned DOC.
9306
9307 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9308 literals as extending to EOB.
9309 (nxml-last-fontify-end): Remove unused variable.
9310 (nxml-after-change1): Use with-silent-modifications.
9311 (nxml-extend-after-change-region): Simplify.
9312 (nxml-extend-after-change-region1): Remove function.
9313 (nxml-after-change1): Don't adjust for dependent regions.
9314 (nxml-fontify-matcher): Simplify.
9315 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9316 (xmltok-add-dependent): Remove function.
9317 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9318 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9319 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9320 unclosed <[[, <?, comment, and other literals as extending to EOB.
9321 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9322 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9323 Remove functions.
9324 (rng-do-some-validation-1): Don't mark dependent regions.
9325 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9326 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9327 (nxml-clear-dependent-regions): Remove functions.
9328 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9329 (nxml-ensure-scan-up-to-date):
9330 Don't clear&mark dependent regions.
9331
9332 2013-05-15 Leo Liu <sdl.web@gmail.com>
9333
9334 * progmodes/octave.el (octave-goto-function-definition):
9335 Improve and fix callers.
9336
9337 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9338
9339 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9340 the setter (bug#14387).
9341
9342 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9343 surrounding group (bug#14402).
9344
9345 2013-05-14 Juri Linkov <juri@jurta.org>
9346
9347 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9348 (Bug#14390)
9349
9350 2013-05-14 Glenn Morris <rgm@gnu.org>
9351
9352 * progmodes/f90.el (f90-imenu-generic-expression):
9353 Fix typo in 2013-05-08 change. (Bug#14402)
9354
9355 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9356
9357 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9358 Remove signals for which replies are never received.
9359
9360 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9361
9362 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9363 (gdb-handler-alist, gdb-handler-number): Remove variables.
9364 (gdb-handler-list): New variable.
9365 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9366 (gdb-pending-handler-p, gdb-handle-reply)
9367 (gdb-remove-all-pending-triggers): New functions.
9368 (gdb-discard-unordered-replies): New defcustom.
9369 (gdb-handler): New defstruct.
9370 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9371 instead of gdb-pending-triggers. Update docstring.
9372 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9373 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9374 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9375 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9376 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9377 (gdb-frame-handler): Pending triggers are now automatically managed.
9378 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9379 Remove argument.
9380 (gdb-input): Automatically handles pending triggers. Update docstring.
9381 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9382 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9383 Update comments.
9384 (gdb-done-or-error): Now use gdb-handle-reply.
9385
9386 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9387
9388 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9389 gdb-debug-log.
9390
9391 2013-05-14 Glenn Morris <rgm@gnu.org>
9392
9393 * subr.el (user-emacs-directory-warning): New option.
9394 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9395
9396 2013-05-14 Leo Liu <sdl.web@gmail.com>
9397
9398 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9399 during redisplay.
9400 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9401 (octave-font-lock-texinfo-comment): Fix invalid search bound
9402 error: wrong side of point.
9403
9404 2013-05-14 Glenn Morris <rgm@gnu.org>
9405
9406 * progmodes/flymake.el (flymake-xml-program): New option.
9407 (flymake-xml-init): Use it.
9408
9409 * term/xterm.el: Provide a feature.
9410
9411 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9412
9413 2013-05-13 Glenn Morris <rgm@gnu.org>
9414
9415 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9416 Add compat aliases as a hack workaround. (Bug#14384)
9417
9418 2013-05-13 Leo Liu <sdl.web@gmail.com>
9419
9420 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9421 ###, and %!.
9422 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9423 C-M-q.
9424 (octave-comment-start-skip): Include %!.
9425 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9426
9427 2013-05-12 Leo Liu <sdl.web@gmail.com>
9428
9429 * progmodes/octave.el (inferior-octave-startup): Store the value
9430 of __octave_srcdir__ for octave-source-directories.
9431 (inferior-octave-check-process): New function refactored out of
9432 inferior-octave-send-list-and-digest.
9433 (octave-source-directories)
9434 (octave-find-definition-filename-function): New variables.
9435 (octave-source-directories)
9436 (octave-find-definition-default-filename): New functions.
9437 (octave-find-definition): Improve to find functions implemented in C++.
9438
9439 2013-05-12 Glenn Morris <rgm@gnu.org>
9440
9441 * calendar/diary-lib.el (diary-outlook-format-1):
9442 Don't include dayname in the output. (Bug#14349)
9443
9444 2013-05-11 Glenn Morris <rgm@gnu.org>
9445
9446 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9447
9448 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9449 Treat cc-provide like provide.
9450
9451 2013-05-11 Kevin Ryde <user42@zip.com.au>
9452
9453 * cus-dep.el (custom-make-dependencies):
9454 Use generated-autoload-load-name for the sake of files such
9455 such cedet/semantic/bovine/c.el, where the base file name
9456 is not in load-path. (Bug#5277)
9457
9458 2013-05-11 Glenn Morris <rgm@gnu.org>
9459
9460 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9461 Provide features.
9462
9463 2013-05-11 Leo Liu <sdl.web@gmail.com>
9464
9465 * progmodes/octave.el (octave-indent-comment): Improve.
9466 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9467 (octave-eldoc-function-signatures, octave-eldoc-function):
9468 New functions.
9469 (octave-mode, inferior-octave-mode): Add eldoc support.
9470
9471 2013-05-11 Richard Stallman <rms@gnu.org>
9472
9473 * epa.el (epa-decrypt-file): Take output file name as argument
9474 and read it using `interactive'.
9475
9476 2013-05-11 Leo Liu <sdl.web@gmail.com>
9477
9478 * progmodes/octave.el (octave-beginning-of-line)
9479 (octave-end-of-line): Check before using up-list because it jumps
9480 out of more syntactic contructs since moving to smie.
9481 (octave-indent-comment): New function.
9482 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9483 (octave-begin-keywords, octave-end-keywords)
9484 (octave-reserved-words, octave-smie-bnf-table)
9485 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9486
9487 2013-05-11 Glenn Morris <rgm@gnu.org>
9488
9489 * faces.el (internal-face-x-get-resource):
9490 * frame.el (ns-display-monitor-attributes-list):
9491 * calc/calc-aent.el (math-to-radians-2):
9492 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9493 Fix declarations.
9494
9495 * calc/calc-menu.el: Make it loadable in isolation.
9496
9497 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9498 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9499 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9500 (eudc-bbdb-query-internal): Require 'bbdb.
9501
9502 * lpr.el (lpr-headers-switches):
9503 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9504
9505 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9506
9507 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9508
9509 * term.el (term-set-escape-char): Make it idempotent.
9510
9511 2013-05-10 Leo Liu <sdl.web@gmail.com>
9512
9513 * progmodes/octave.el (inferior-octave-completion-table):
9514 No longer a function and all uses changed. Use cache to speed up
9515 completion due to bug#11906.
9516 (octave-beginning-of-defun): Re-write to be more general.
9517
9518 2013-05-10 Glenn Morris <rgm@gnu.org>
9519
9520 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9521
9522 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9523
9524 * comint.el (comint-redirect-send-command-to-process): Use :around
9525 rather than :override for comint-redirect-filter.
9526 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9527 Call it instead of comint-redirect-original-filter-function (which
9528 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9529
9530 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9531
9532 * frame.el (display-monitor-attributes-list): Add NS case.
9533 (ns-display-monitor-attributes-list): Declare.
9534
9535 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9536
9537 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9538
9539 2013-05-09 Glenn Morris <rgm@gnu.org>
9540
9541 * international/fontset.el (vertical-centering-font-regexp):
9542 Set standard-value.
9543
9544 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9545
9546 * bookmark.el (bookmark-search-delay):
9547 * cus-start.el (vertical-centering-font-regexp):
9548 * ps-mule.el (ps-mule-font-info-database-default):
9549 * ps-print.el (ps-default-fg, ps-default-bg):
9550 * type-break.el (type-break-good-break-interval):
9551 * whitespace.el (whitespace-indentation-regexp)
9552 (whitespace-space-after-tab-regexp):
9553 * emacs-lisp/testcover.el (testcover-1value-functions)
9554 (testcover-noreturn-functions, testcover-progn-functions)
9555 (testcover-prog1-functions):
9556 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9557 * eshell/em-glob.el (eshell-glob-translate-alist):
9558 * play/tetris.el (tetris-tty-colors):
9559 * progmodes/cpp.el (cpp-face-default-list):
9560 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9561 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9562 (idlwave-help-browser-generic-args):
9563 * progmodes/make-mode.el (makefile-special-targets-list):
9564 * progmodes/python.el (python-shell-virtualenv-path):
9565 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9566 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9567 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9568 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9569 * textmodes/reftex-vars.el (reftex-format-label-function):
9570 * textmodes/remember.el (remember-diary-file): Fix custom types.
9571
9572 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9573 Add :version.
9574
9575 2013-05-09 Leo Liu <sdl.web@gmail.com>
9576
9577 * progmodes/octave.el (inferior-octave-completion-at-point):
9578 Restore file completion. (Bug#14300)
9579 (inferior-octave-startup): Fix incorrect highlighting for the
9580 first prompt.
9581
9582 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9583
9584 * progmodes/ruby-mode.el: First cut at SMIE support.
9585 (ruby-use-smie): New var.
9586 (ruby-smie-grammar): New constant.
9587 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9588 (ruby-smie--forward-token, ruby-smie--backward-token)
9589 (ruby-smie-rules): New functions.
9590 (ruby-mode-variables): Setup SMIE if applicable.
9591
9592 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9593
9594 * simple.el (line-move-visual): Signal beginning/end of buffer
9595 only if vertical-motion moved less than it was requested. Avoids
9596 silly incorrect error messages when there are display strings with
9597 multiple newlines at EOL.
9598
9599 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9600
9601 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9602 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9603 (prolog-char-quote-workaround):
9604 * progmodes/cperl-mode.el (cperl-under-as-char):
9605 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9606 Mark as obsolete.
9607 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9608 their declaration.
9609 (vhdl-mode-syntax-table-init): Remove.
9610
9611 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9612 last change.
9613
9614 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9615 syntax for "_".
9616 (ld-script-font-lock-keywords):
9617 Change regexps to use things like \_< and \_>.
9618
9619 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9620 Change all regexps to use things like \_< and \_>.
9621
9622 * progmodes/autoconf.el (autoconf-definition-regexp)
9623 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9624 Handle a _ with symbol syntax.
9625 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9626
9627 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9628 Consolidate declaration.
9629 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9630 the declaration.
9631 (ada-create-syntax-table): Remove.
9632 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9633 already has the right syntax nowadays.
9634 (ada-goto-next-word): Don't change the syntax of "_".
9635
9636 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9637 with-wrapper-hook.
9638
9639 2013-05-08 Sam Steingold <sds@gnu.org>
9640
9641 * thingatpt.el (thing-at-point): Accept optional second argument
9642 NO-PROPERTIES to strip the text properties from the return value.
9643 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9644 to `thing-at-point' instead of stripping the properties ourselves.
9645 Also, when `thing-at-point' fails to find a url, prepend "http://"
9646 to the filename at point on the assumption that the user is
9647 pointing at something like gnu.org/gnu.
9648
9649 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9650
9651 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9652 * faces.el (crm-separator):
9653 Silence byte-compiler.
9654
9655 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9656 (tool-bar-map): Remove unneeded defvars.
9657
9658 2013-05-08 Leo Liu <sdl.web@gmail.com>
9659
9660 Re-work a fix for bug#10994 based on Le Wang's patch.
9661 * ido.el (ido-remove-consecutive-dups): New helper.
9662 (ido-completing-read): Use it.
9663 (ido-chop): Revert fix for bug#10994.
9664
9665 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9666
9667 * cus-edit.el (custom-save-variables):
9668 Pretty-print long values. (Bug#14187)
9669
9670 2013-05-08 Glenn Morris <rgm@gnu.org>
9671
9672 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9673 (m4-mode-syntax-table): Init in the defvar.
9674 (m4-mode-abbrev-table): Let define-derived-mode define it.
9675
9676 2013-05-08 Tom Tromey <tromey@redhat.com>
9677
9678 * progmodes/m4-mode.el (m4-mode-syntax-table):
9679 Do not treat "_" as word constituent. (Bug#14167)
9680
9681 2013-05-07 Glenn Morris <rgm@gnu.org>
9682
9683 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9684 Remove explicit eshell-isearch-cancel-map.
9685
9686 * progmodes/f90.el (f90-smart-end-names): New option.
9687 (f90-smart-end): Doc fix.
9688 (f90-end-block-optional-name): New constant.
9689 (f90-block-match): Respect f90-smart-end-names.
9690
9691 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9692
9693 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9694 about implicit semi-colons (bug#14218).
9695
9696 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9697
9698 * frame.el (display-monitor-attributes-list)
9699 (frame-monitor-attributes): New functions.
9700
9701 2013-05-06 Leo Liu <sdl.web@gmail.com>
9702
9703 * progmodes/octave.el (octave-syntax-propertize-function): Change
9704 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9705 (octave-font-lock-keywords): Use octave-operator-regexp.
9706 (octave-completion-at-point): Rename from
9707 octave-completion-at-point-function.
9708 (inferior-octave-directory-tracker): Robustify.
9709 (octave-text-functions): Remove and fix its uses. No such things
9710 any more.
9711
9712 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9713
9714 * emacs-lisp/trace.el (trace--display-buffer): New function.
9715 (trace-make-advice): Use it.
9716
9717 2013-05-06 Juri Linkov <juri@jurta.org>
9718
9719 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9720 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9721 Doc fix.
9722 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9723 in the help string. (Bug#12985)
9724
9725 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9726
9727 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9728
9729 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9730
9731 * progmodes/perl-mode.el: Add support for here documents.
9732 (perl-syntax-propertize-function): Match here-doc markers.
9733 (perl-syntax-propertize-special-constructs): Find their end.
9734 (perl-imenu-generic-expression): Use [:alnum:].
9735
9736 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9737 (advice--add-function): Refresh the advice if already present
9738 (bug#14317).
9739
9740 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9741
9742 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9743
9744 2013-05-06 Glenn Morris <rgm@gnu.org>
9745
9746 * w32-fns.el (w32-charset-info-alist): Declare.
9747
9748 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9749 of its defcustom properties.
9750 (eshell-cmpl-initialize): No need to load pcomplete.
9751
9752 * generic-x.el: No need to require comint when compiling.
9753
9754 * net/eudc-export.el: Make it loadable without bbdb.
9755 (top-level): Use require rather than load-library.
9756 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9757 (eudc-batch-export-records-to-bbdb)
9758 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9759 Require bbdb.
9760
9761 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9762
9763 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9764 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9765 some tweaks, instead.
9766
9767 2013-05-05 Leo Liu <sdl.web@gmail.com>
9768
9769 * progmodes/octave.el (octave-font-lock-keywords)
9770 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9771 (inferior-octave-send-list-and-digest): Improve error message.
9772 (octave-mode, inferior-octave-mode): Use setq-local.
9773 (octave-help): Set info-lookup-mode.
9774
9775 2013-05-05 Richard Stallman <rms@gnu.org>
9776
9777 * vc/compare-w.el (compare-windows-whitespace):
9778 Treat no-break space as whitespace.
9779
9780 * mail/rmailsum.el (rmail-summary-rmail-update):
9781 Detect empty summary and don't change selected message.
9782 (rmail-summary-goto-msg): Likewise.
9783
9784 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9785 Doc fixes, rename args.
9786
9787 2013-05-05 Alan Mackenzie <acm@muc.de>
9788
9789 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9790
9791 2013-05-05 Juri Linkov <juri@jurta.org>
9792
9793 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9794 to not add the length of the summary segment to the return value.
9795 (Bug#14125)
9796
9797 2013-05-05 Leo Liu <sdl.web@gmail.com>
9798
9799 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9800 (inferior-octave-output-filter): Remove.
9801 (octave-send-region, inferior-octave-startup): Fix callers.
9802 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9803 (octave-binary-file-extensions): New user variable.
9804 (octave-find-definition): Confirm if opening binary files.
9805 (octave-help-file): Use octave-find-definition to get the binary
9806 confirmation.
9807 (octave-help): Adjust for octave-help-file change.
9808
9809 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9810
9811 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9812 Merge the two entries that handle function definitions.
9813 (pascal--syntax-propertize): New const.
9814 (pascal-mode): Use it. Use setq-local.
9815
9816 2013-05-04 Glenn Morris <rgm@gnu.org>
9817
9818 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9819 (diary-from-outlook): Respect diary-from-outlook-function.
9820
9821 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9822
9823 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9824 Move the declaration from C.
9825 (read-minibuffer, eval-minibuffer): Move from C.
9826 (completion-setup-function): Avoid minibuffer-completion-contents.
9827
9828 2013-05-03 Leo Liu <sdl.web@gmail.com>
9829
9830 * progmodes/octave.el (octave-font-lock-keywords): Do not
9831 dehighlight 'end' in comments or strings.
9832 (octave-completing-read, octave-goto-function-definition):
9833 New helpers.
9834 (octave-help-buffer): New user variable.
9835 (octave-help-file, octave-help-function): New button types.
9836 (octave-help): New command and bind it to C-h ;.
9837 (octave-find-definition): New command and bind it to M-.
9838 (user-error): Alias to error if not defined.
9839
9840 2013-05-02 Leo Liu <sdl.web@gmail.com>
9841
9842 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9843 for \. (bug#14332)
9844 (octave-font-lock-keywords): Include [ and {.
9845
9846 2013-05-02 Leo Liu <sdl.web@gmail.com>
9847
9848 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9849 (inferior-octave): Remove calling comint-mode and return the buffer.
9850 (inferior-octave-startup): Cosmetic changes.
9851
9852 2013-05-02 Leo Liu <sdl.web@gmail.com>
9853
9854 * progmodes/octave.el (octave-syntax-propertize-function):
9855 Include the case when ' is at line beginning. (Bug#14336)
9856
9857 2013-05-02 Glenn Morris <rgm@gnu.org>
9858
9859 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9860 * desktop.el (vc-dir-mode): Just autoload it here.
9861
9862 2013-05-02 Alan Mackenzie <acm@muc.de>
9863
9864 Eliminate variable c-standard-font-lock-fontify-region-function.
9865 * progmodes/cc-mode.el
9866 (c-standard-font-lock-fontify-region-function): Remove.
9867 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9868
9869 2013-05-01 Leo Liu <sdl.web@gmail.com>
9870
9871 * progmodes/octave.el: Compatible with older emacs-24 releases.
9872 (inferior-octave-has-built-in-variables): Remove. Built-in
9873 variables were removed from Octave in 2007.
9874 (inferior-octave-startup): Fix uses.
9875 (comint-line-beginning-position): Remove compatibility code for
9876 emacs 21.
9877
9878 2013-05-01 Juri Linkov <juri@jurta.org>
9879
9880 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9881
9882 2013-05-01 Juri Linkov <juri@jurta.org>
9883
9884 * comint.el (comint-previous-matching-input): Don't print message
9885 "History item: %d" when `isearch-mode' is active.
9886 (comint-history-isearch-message): Print message "History item: %d"
9887 when `comint-input-ring-index' is not empty and this function is
9888 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9889
9890 2013-05-01 Leo Liu <sdl.web@gmail.com>
9891
9892 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9893 definitions. Use completion-at-point to insert keywords.
9894 (octave-abbrev-start): Remove.
9895 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9896
9897 2013-04-30 Leo Liu <sdl.web@gmail.com>
9898
9899 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9900 change.
9901
9902 2013-04-30 Alan Mackenzie <acm@muc.de>
9903
9904 Handle arbitrarily long C++ member initialisation lists.
9905 * progmodes/cc-engine.el (c-back-over-member-initializers):
9906 new function.
9907 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9908 (most) member init lists.
9909
9910 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9911
9912 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9913 variable.
9914
9915 2013-04-30 Leo Liu <sdl.web@gmail.com>
9916
9917 * progmodes/octave.el (octave-variables): Remove. No builtin
9918 variables any more. All converted to functions.
9919 (octave-font-lock-keywords, octave-completion-at-point-function):
9920 Fix uses.
9921 (octave-font-lock-texinfo-comment): New user variable.
9922 (octave-texinfo-font-lock-keywords): New variable for texinfo
9923 comment block.
9924 (octave-function-comment-block): New face.
9925 (octave-font-lock-texinfo-comment): New function.
9926 (octave-mode): Font lock texinfo comment block.
9927
9928 2013-04-29 Leo Liu <sdl.web@gmail.com>
9929
9930 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9931 indexing expression.
9932 (octave-continuation-string): Do not use \.
9933 (inferior-octave-complete-impossible): Remove.
9934 (inferior-octave-completion-table)
9935 (inferior-octave-completion-at-point): Remove its uses.
9936 (inferior-octave-startup): completion_matches was introduced to
9937 Octave in 1996 so safe to assume it.
9938 (octave-function-file-comment): Improve to follow how Octave does it.
9939 (octave-update-function-file-comment): Tweak.
9940
9941 2013-04-29 Leo Liu <sdl.web@gmail.com>
9942
9943 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9944 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9945 (octave-function-file-comment): Fix typo.
9946 (octave-sync-function-file-names): Use read-char-choice.
9947
9948 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9949
9950 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9951 to t for the less important warnings.
9952
9953 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9954
9955 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9956
9957 2013-04-27 Glenn Morris <rgm@gnu.org>
9958
9959 * vc/log-view.el (log-view-current-entry):
9960 Treat "---" separator lines as part of the following rev. (Bug#14169)
9961
9962 2013-04-27 Juri Linkov <juri@jurta.org>
9963
9964 * subr.el (read-number): Doc fix about using it by interactive
9965 code letter `n'. (Bug#14254)
9966
9967 2013-04-27 Juri Linkov <juri@jurta.org>
9968
9969 * desktop.el (desktop-auto-save-timeout): New option.
9970 (desktop-file-checksum): New variable.
9971 (desktop-save): Add optional arg `auto-save' and don't auto-save
9972 if nothing changed.
9973 (desktop-auto-save-timer): New variable.
9974 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9975 (after-init-hook): Call `desktop-auto-save-set-timer'.
9976 Suggested by Reuben Thomas <rrt@sc3d.org> in
9977 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9978
9979 2013-04-27 Leo Liu <sdl.web@gmail.com>
9980
9981 * progmodes/octave.el (octave-function-file-p)
9982 (octave-skip-comment-forward, octave-function-file-comment)
9983 (octave-update-function-file-comment): New functions.
9984 (octave-mode-map): Bind C-c ; to
9985 octave-update-function-file-comment.
9986 (octave-mode-menu): Add octave-update-function-file-comment.
9987 (octave-mode, inferior-octave-mode): Fix doc-string.
9988 (octave-insert-defun): Conform to Octave's coding convention.
9989 (Bug#14285)
9990
9991 * files.el (basic-save-buffer): Don't let errors in
9992 before-save-hook prevent saving buffer.
9993
9994 2013-04-20 Roland Winkler <winkler@gnu.org>
9995
9996 * faces.el (read-face-name): Use completing-read if arg multiple
9997 is nil.
9998
9999 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10000
10001 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10002 displayed, move point to after the totals line.
10003 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10004 for the details.
10005
10006 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10007
10008 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10009 Add current dir to the load-path.
10010 (package-generate-autoloads): Don't rely on
10011 autoload-ensure-default-file.
10012
10013 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10014
10015 * textmodes/remember.el (remember-store-in-files): Document that
10016 the file name format is passed to `format-time-string'.
10017
10018 2013-04-26 Leo Liu <sdl.web@gmail.com>
10019
10020 * progmodes/octave.el (octave-sync-function-file-names): New function.
10021 (octave-mode): Use it in before-save-hook.
10022
10023 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10024
10025 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10026 (bug#14274).
10027
10028 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10029 \n and comment, even if it's not an implicit ; (bug#14218).
10030
10031 2013-04-26 Glenn Morris <rgm@gnu.org>
10032
10033 * subr.el (read-number): Once more use `read' rather than
10034 `string-to-number', to trap non-numeric input. (Bug#14254)
10035
10036 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10037
10038 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10039 Use `syntax-multiline' text property consistently instead of
10040 `font-lock-multiline'. (Bug#14237)
10041
10042 2013-04-26 Glenn Morris <rgm@gnu.org>
10043
10044 * emacs-lisp/shadow.el (list-load-path-shadows):
10045 No longer necessary to check for duplicate simple.el, since
10046 2012-07-07 change to init_lread to not include installation lisp
10047 directories in load-path when running uninstalled. (Bug#14270)
10048
10049 2013-04-26 Leo Liu <sdl.web@gmail.com>
10050
10051 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10052 (octave-mode, inferior-octave-mode): Use setq-local.
10053 (octave-not-in-string-or-comment-p): Rename to
10054 octave-in-string-or-comment-p.
10055 (octave-in-comment-p, octave-in-string-p)
10056 (octave-in-string-or-comment-p): Replace defsubst with defun.
10057
10058 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10059
10060 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10061
10062 2013-04-25 Bastien Guerry <bzg@gnu.org>
10063
10064 * textmodes/remember.el (remember-data-directory)
10065 (remember-directory-file-name-format): Fix custom types.
10066
10067 2013-04-25 Leo Liu <sdl.web@gmail.com>
10068
10069 * progmodes/octave.el (octave-completion-at-point-function):
10070 Make use of inferior octave process.
10071 (octave-initialize-completions): Remove.
10072 (inferior-octave-completion-table): New function.
10073 (inferior-octave-completion-at-point): Use it.
10074 (octave-completion-alist): Remove.
10075
10076 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10077
10078 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10079 (opascal-mode-syntax-table): New var.
10080 (opascal-literal-kind, opascal-is-literal-end)
10081 (opascal-literal-token-at): Rewrite.
10082 (opascal--literal-start-re, opascal-font-lock-keywords)
10083 (opascal--syntax-propertize): New constants.
10084 (opascal-font-lock-defaults): Adjust.
10085 (opascal-mode): Use them. Set comment-<foo> variables as well.
10086 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10087 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10088 (delphi-other-face, opascal-other-face): Remove face variables.
10089 (opascal-save-state): Remove macro.
10090 (opascal-fontifying-progress-step): Remove constant.
10091 (opascal--ignore-changes): Remove var.
10092 (opascal-set-token-property, opascal-parse-next-literal)
10093 (opascal-is-stable-literal, opascal-complete-literal)
10094 (opascal-is-literal-start, opascal-face-of)
10095 (opascal-parse-region, opascal-parse-region-until-stable)
10096 (opascal-fontify-region, opascal-after-change)
10097 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10098 (opascal-debug-parse-region, opascal-debug-parse-window)
10099 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10100 (opascal-debug-fontify-buffer): Remove.
10101 (opascal-debug-mode-map): Adjust accordingly.
10102
10103 2013-04-25 Leo Liu <sdl.web@gmail.com>
10104
10105 Merge octave-mod.el and octave-inf.el into octave.el with some
10106 cleanups.
10107 * progmodes/octave.el: New file renamed from octave-mod.el.
10108 * progmodes/octave-inf.el: Merged into octave.el.
10109 * progmodes/octave-mod.el: Renamed to octave.el.
10110
10111 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10112
10113 * textmodes/reftex-vars.el
10114 (reftex-label-ignored-macros-and-environments): New defcustom.
10115
10116 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10117
10118 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10119
10120 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10121 (smie-indent-keyword): Improve the check to ensure that the next
10122 comment is really on the same line.
10123 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10124
10125 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10126 semi-colons if the line is not otherwise empty (bug#14218).
10127
10128 2013-04-25 Glenn Morris <rgm@gnu.org>
10129
10130 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10131
10132 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10133
10134 * progmodes/opascal.el (opascal-set-token-property): Rename from
10135 opascal-set-text-properties and only set `token' (bug#14134).
10136 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10137 (opascal-literal-text-properties): Remove.
10138 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10139 Adjust callers.
10140
10141 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10142
10143 * textmodes/remember.el (remember-handler-functions): Add an
10144 option for a new handler `remember-store-in-files'.
10145 (remember-data-directory, remember-directory-file-name-format):
10146 New options.
10147 (remember-store-in-files): New function to store remember notes
10148 as separate files within a directory.
10149
10150 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10151
10152 * progmodes/compile.el (compilation-next-error-function):
10153 Pass "formats" to compilation-find-file (bug#11777).
10154
10155 2013-04-24 Glenn Morris <rgm@gnu.org>
10156
10157 * vc/vc-bzr.el (vc-bzr-print-log):
10158 * vc/vc-hg.el (vc-hg-print-log):
10159 * vc/vc-svn.el (vc-svn-print-log):
10160 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10161
10162 * vc/vc-bzr.el (vc-bzr-print-log):
10163 * vc/vc-cvs.el (vc-cvs-print-log):
10164 * vc/vc-git.el (vc-git-print-log):
10165 * vc/vc-hg.el (vc-hg-print-log):
10166 * vc/vc-mtn.el (vc-mtn-print-log):
10167 * vc/vc-rcs.el (vc-rcs-print-log):
10168 * vc/vc-sccs.el (vc-sccs-print-log):
10169 * vc/vc-svn.el (vc-svn-print-log):
10170 * vc/vc.el (vc-print-log-internal): Doc fixes.
10171
10172 2013-04-23 Glenn Morris <rgm@gnu.org>
10173
10174 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10175 Remove venerable code attempting to avoid substitute-command-keys.
10176
10177 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10178
10179 * textmodes/reftex-vars.el (reftex-label-regexps):
10180 Call `reftex-compile-variables' after changes to this variable.
10181
10182 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10183
10184 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10185 Use lexical-binding.
10186 (jit-lock-force-redisplay): Use markers, check buffer's continued
10187 existence and beware narrowed buffers.
10188 (jit-lock-fontify-now): Adjust call accordingly.
10189
10190 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10191
10192 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10193 to avoid misleading the user.
10194
10195 2013-04-22 Leo Liu <sdl.web@gmail.com>
10196
10197 * info-look.el: Prefer latex2e.info. (Bug#14240)
10198
10199 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10200
10201 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10202
10203 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10204 * net/tramp.el (tramp-call-process): ... here.
10205 (tramp-set-completion-function, tramp-parse-putty):
10206 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10207 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10208 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10209 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10210 (tramp-call-local-coding-command): Use `tramp-call-process'
10211 instead of `tramp-compat-call-process'.
10212
10213 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10214 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10215 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10216 (tramp-find-inline-compress): Improve traces.
10217 (tramp-maybe-send-script): Check for Perl binary.
10218 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10219
10220 2013-04-22 Daiki Ueno <ueno@gnu.org>
10221
10222 * epg.el (epg-context-pinentry-mode): New function.
10223 (epg-context-set-pinentry-mode): New function.
10224 (epg--start): Pass --pinentry-mode option to gpg command.
10225
10226 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10227
10228 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10229 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10230 `completion-at-point'. (Bug#13774)
10231
10232 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10233 default key binding for `describe-distribution' has been moved to
10234 `C-h C-o'. (Bug#13970)
10235
10236 2013-04-21 Glenn Morris <rgm@gnu.org>
10237
10238 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10239 Add doc strings.
10240 (vc-print-log): Clarify interactive prompt.
10241
10242 2013-04-20 Glenn Morris <rgm@gnu.org>
10243
10244 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10245 No longer include timestamp etc information.
10246
10247 2013-04-20 Roland Winkler <winkler@gnu.org>
10248
10249 * faces.el (read-face-name): Bug fix, return just one face if arg
10250 multiple is nil. (Bug#14209)
10251
10252 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10253
10254 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10255 (remove-function): Autoload.
10256
10257 * comint.el (comint-redirect-original-filter-function): Remove.
10258 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10259 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10260 (vc-cvs-annotate-command):
10261 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10262 * progmodes/prolog.el (prolog-consult-compile):
10263 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10264 Use add/remove-function instead.
10265 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10266 (gud-tooltip-process-output, gud-tooltip-tips):
10267 Use add/remove-function instead.
10268 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10269 (scheme-interaction-mode, exit-scheme-interaction-mode):
10270 Use add/remove-function instead.
10271
10272 * vc/vc-dispatcher.el: Use lexical-binding.
10273 (vc--process-sentinel): Rename from vc-process-sentinel.
10274 Change last arg to be the code to run. Don't use vc-previous-sentinel
10275 and vc-sentinel-commands any more.
10276 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10277 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10278
10279 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10280
10281 * progmodes/sh-script.el (sh-imenu-generic-expression):
10282 Handle function names with a single character. (Bug#14111)
10283
10284 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10285
10286 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10287 for subroutines defined in an eval (bug#14182).
10288
10289 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10290
10291 * bookmark.el (bookmark-completing-read): Improve handling of empty
10292 string (bug#14176).
10293
10294 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10295
10296 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10297
10298 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10299
10300 New faster Imenu implementation (bug#14058).
10301 * progmodes/python.el:
10302 (python-imenu-prev-index-position):
10303 (python-imenu-format-item-label-function)
10304 (python-imenu-format-parent-item-label-function)
10305 (python-imenu-format-parent-item-jump-label-function):
10306 New vars.
10307 (python-imenu-format-item-label)
10308 (python-imenu-format-parent-item-label)
10309 (python-imenu-format-parent-item-jump-label)
10310 (python-imenu--put-parent, python-imenu--build-tree)
10311 (python-imenu-create-index, python-imenu-create-flat-index)
10312 (python-util-popn): New functions.
10313 (python-mode): Set imenu-create-index-function to
10314 python-imenu-create-index.
10315
10316 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10317
10318 * winner.el (winner-active-region): Use region-active-p, activate-mark
10319 and deactivate-mark (bug#14225).
10320
10321 * simple.el (deactivate-mark): Don't inline it.
10322
10323 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10324
10325 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10326
10327 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10328
10329 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10330 file extensions from the archive-mode entry in order to prefer
10331 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10332
10333 2013-04-18 Leo Liu <sdl.web@gmail.com>
10334
10335 * bindings.el (help-event-list): Add ?\?.
10336
10337 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10338
10339 * subr.el (with-wrapper-hook): Declare obsolete.
10340 * simple.el (filter-buffer-substring-function): New hook.
10341 (filter-buffer-substring): Use it.
10342 (filter-buffer-substring-functions): Mark obsolete.
10343 * minibuffer.el (completion-in-region-function): New hook.
10344 (completion-in-region): Use it.
10345 (completion-in-region-functions): Mark obsolete.
10346 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10347 * abbrev.el (abbrev-expand-function): New hook.
10348 (expand-abbrev): Use it.
10349 (abbrev-expand-functions): Mark obsolete.
10350 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10351 and :filter-return.
10352
10353 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10354
10355 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10356 and do not care about match data.
10357
10358 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10359
10360 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10361 completion tables when completing error conditions and
10362 `declare' arguments.
10363 (lisp-complete-symbol, field-complete): Mark as obsolete.
10364 (check-parens): Unmatched parens are user errors.
10365 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10366
10367 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10368
10369 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10370 command changed buffer (ie. `flyspell-pre-buffer' is not current
10371 buffer), which prevents making decisions based on invalid value of
10372 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10373 cause an error when `flyspell-pre-point' was nil after switching
10374 buffers.
10375 (flyspell-post-command-hook): No longer needs to change buffers when
10376 checking pre-word. While at it remove unnecessary progn.
10377
10378 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10379
10380 * textmodes/ispell.el (ispell-add-per-file-word-list):
10381 Fix `flyspell-correct-word-before-point' error when accepting
10382 words and `coment-padding' is an integer by using
10383 `comment-normalize-vars' (Bug #14214).
10384
10385 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10386
10387 New defun movement commands.
10388 * progmodes/python.el (python-nav--syntactically)
10389 (python-nav--forward-defun, python-nav-backward-defun)
10390 (python-nav-forward-defun): New functions.
10391
10392 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10393
10394 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10395 (python-syntax-context): Use named compiler-macro for backwards
10396 compatibility with Emacs 24.x.
10397
10398 2013-04-17 Leo Liu <sdl.web@gmail.com>
10399
10400 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10401 octave-hide-process-buffer.
10402
10403 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10404
10405 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10406 (bug#14216).
10407
10408 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10409
10410 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10411 Fix adjustment of offset when receiving incomplete responses from GDB
10412 (bug#14129).
10413
10414 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10415
10416 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10417 python-mode-abbrev-table.
10418 (python-skeleton-define): Adjust accordingly.
10419 (python-mode-abbrev-table): New table that inherits from it so that
10420 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10421
10422 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10423 (abbrev-symbol): Use it.
10424 (abbrev--before-point): Use it since we already handle inheritance.
10425
10426 2013-04-16 Leo Liu <sdl.web@gmail.com>
10427
10428 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10429 binding to info-lookup-symbol.
10430
10431 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10432
10433 * minibuffer.el (completion--twq-all):
10434 * term/ns-win.el (ns-initialize-window-system):
10435 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10436
10437 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10438
10439 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10440 global bindings.
10441
10442 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10443
10444 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10445
10446 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10447 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10448 to nil.
10449 (ruby-end-of-defun): Remove the unused arg, change the docstring
10450 to reflect that this function is only used as the value of
10451 `end-of-defun-function'.
10452 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10453 to reflect an earlier change that beginning/end-of-defun functions
10454 jump between methods in a class definition, as well as top-level
10455 functions.
10456
10457 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10458
10459 * minibuffer.el (minibuffer-complete): Don't just scroll
10460 a *Completions* that's been iconified.
10461 (minibuffer-force-complete): Make sure repetitions do cycle when going
10462 through completion-in-region -> minibuffer-complete.
10463
10464 2013-04-15 Alan Mackenzie <acm@muc.de>
10465
10466 Correct the placement of c-cpp-delimiters when there're #s not at
10467 col 0.
10468
10469 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10470 place a submatch around the #.
10471 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10472 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10473 on the #, not BOL.
10474
10475 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10476
10477 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10478 (advice--member-p): New arg `name'.
10479 (advice--add-function, advice-member-p): Use it (bug#14202).
10480
10481 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10482
10483 Reformulate java imenu-generic-expression.
10484 The old expression contained ill formed regexps.
10485
10486 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10487 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10488 (cc-imenu-java-method-arg-regexp): New defconsts.
10489 (cc-imenu-java-build-type-args-regex): New defun.
10490 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10491 handling of spaces in the regexp.
10492
10493 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10494
10495 * textmodes/ispell.el (ispell-command-loop): Remove
10496 flyspell highlight of a word when ispell accepts it (bug #14178).
10497
10498 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10499
10500 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10501 uses code from the previous `ange-ftp-run-real-handler'.
10502 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10503 only in case that function exist. This is needed for proper
10504 unloading of Tramp.
10505
10506 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10507
10508 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10509
10510 * textmodes/reftex.el (reftex-compile-variables): Use it.
10511
10512 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10513
10514 * files.el (normal-mode): Only use default major-mode if no other mode
10515 was specified.
10516
10517 * emacs-lisp/trace.el (trace-values): New function.
10518
10519 * files.el: Allow : in local variables (bug#14089).
10520 (hack-local-variable-regexp): New var.
10521 (hack-local-variables-prop-line, hack-local-variables): Use it.
10522
10523 2013-04-13 Roland Winkler <winkler@gnu.org>
10524
10525 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10526 data before it gets modified by bibtex-beginning-of-entry.
10527
10528 2013-04-13 Roland Winkler <winkler@gnu.org>
10529
10530 * textmodes/bibtex.el (bibtex-url): Doc fix.
10531
10532 2013-04-13 Roland Winkler <winkler@gnu.org>
10533
10534 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10535 does not visit a BibTeX file, exclude it from the list of buffers
10536 returned by bibtex-initialize.
10537
10538 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10539
10540 * window.el (split-window): Remove interactive form, since as a
10541 command this function is a special case of split-window-below.
10542 Correct doc string.
10543
10544 2013-04-12 Roland Winkler <winkler@gnu.org>
10545
10546 * faces.el (read-face-name): Do not override value of arg default.
10547 Allow single faces and strings as default values. Remove those
10548 elements from return value that are not faces.
10549 (describe-face): Simplify.
10550 (face-at-point): New optional args thing and multiple so that this
10551 function can provide the same functionality previously provided by
10552 read-face-name.
10553 (make-face-bold, make-face-unbold, make-face-italic)
10554 (make-face-unitalic, make-face-bold-italic, invert-face)
10555 (modify-face, read-face-and-attribute): Use face-at-point.
10556
10557 * cus-edit.el (customize-face, customize-face-other-window)
10558 * cus-theme.el (custom-theme-add-face)
10559 * face-remap.el (buffer-face-set)
10560 * facemenu.el (facemenu-set-face): Use face-at-point.
10561
10562 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10563
10564 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10565
10566 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10567
10568 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10569 off leading { and trailing } from field values.
10570
10571 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10572
10573 * emacs-lisp/timer.el (timer--check): New function.
10574 (timer--time, timer-set-function, timer-event-handler): Use it.
10575 (timer-set-idle-time): Simplify.
10576 (timer--activate): CSE.
10577 (timer-event-handler): Give more info in error message.
10578 (internal-timer-start-idle): New function, moved from C.
10579
10580 * mpc.el (mpc-proc): Add `restart' argument.
10581 (mpc-proc-cmd): Use it.
10582 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10583 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10584 less often.
10585
10586 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10587
10588 * progmodes/sh-script.el: Implement `sh-mode' own
10589 `add-log-current-defun-function' (bug#14112).
10590 (sh-current-defun-name): New function.
10591 (sh-mode): Use the function.
10592
10593 2013-04-09 Bastien Guerry <bzg@gnu.org>
10594
10595 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10596
10597 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10598
10599 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10600
10601 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10602 timer (bug#14156).
10603
10604 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10605
10606 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10607 declaration.
10608
10609 2013-04-07 Leo Liu <sdl.web@gmail.com>
10610
10611 * pcmpl-x.el: New file.
10612
10613 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10614
10615 Do not set x-display-name until X connection is established.
10616 This is needed to prevent from weird situation described at
10617 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10618 * frame.el (make-frame): Set x-display-name after call to
10619 window system initialization function, not before.
10620 * term/x-win.el (x-initialize-window-system): Add optional
10621 display argument and use it.
10622 * term/w32-win.el (w32-initialize-window-system):
10623 * term/ns-win.el (ns-initialize-window-system):
10624 * term/pc-win.el (msdos-initialize-window-system):
10625 Add compatible optional display argument.
10626
10627 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10628
10629 * files.el (normal-backup-enable-predicate): On MS-Windows and
10630 MS-DOS compare truenames of temporary-file-directory and of the
10631 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10632 don't fail comparison by compare-strings. Also, compare file
10633 names case-insensitively on MS-Windows and MS-DOS.
10634
10635 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10636
10637 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10638 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10639
10640 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10641
10642 * whitespace.el (whitespace-color-on, whitespace-color-off):
10643 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10644
10645 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10646
10647 * ispell.el (ispell-set-spellchecker-params):
10648 Really set `ispell-args' for all equivs.
10649
10650 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10651
10652 * ido.el (ido-completions): Use extra elements of ido-decorations
10653 (bug#14143).
10654 (ido-decorations): Update docstring.
10655
10656 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10657
10658 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10659 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10660 nil during initialization, in order not to miss changes since the
10661 file was opened. (Bug#14140)
10662
10663 2013-04-05 Leo Liu <sdl.web@gmail.com>
10664
10665 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10666
10667 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10668
10669 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10670
10671 2013-04-04 Glenn Morris <rgm@gnu.org>
10672
10673 * electric.el (electric-pair-inhibit-predicate): Add :version.
10674
10675 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10676
10677 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10678 when a package is required several times (bug#14082).
10679
10680 2013-04-04 Roland Winkler <winkler@gnu.org>
10681
10682 * faces.el (read-face-name): Behave as promised by the docstring.
10683 Assume that arg default is a list of faces.
10684 (describe-face): Call read-face-name with list of default faces.
10685
10686 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10687
10688 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10689 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10690 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10691 the header.
10692 (bookmark-exit-hook-internal): Save even if list is empty.
10693
10694 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10695
10696 * emacs-lisp/package.el (package-pinned-packages): New var.
10697 (package--add-to-archive-contents): Obey it (bug#14118).
10698
10699 2013-04-03 Alan Mackenzie <acm@muc.de>
10700
10701 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10702 Also adapt to the new values of element 7 of a parse state.
10703
10704 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10705 parameter `not-in-delimiter'. Handle being inside comment opener.
10706 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10707 character in case we're typing a '*' after a '/'.
10708 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10709 instead by passing the parameter to c-state-pp-to-literal.
10710
10711 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10712 for elt. 7 of a parse state.
10713
10714 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10715
10716 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10717 * international/latin1-disp.el, international/mule-util.el:
10718 * language/cyril-util.el, language/european.el, language/ind-util.el:
10719 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10720 * language/tibetan.el, language/viet-util.el:
10721 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10722
10723 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10724
10725 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10726 (electric-pair-post-self-insert-function): Use it.
10727 (electric-pair-default-inhibit): New function, extracted from
10728 electric-pair-post-self-insert-function.
10729
10730 2013-03-31 Roland Winkler <winkler@gnu.org>
10731
10732 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10733
10734 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10735
10736 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10737
10738 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10739
10740 Un-indent after "pass" and "return" statements (Bug#13888)
10741 * progmodes/python.el (python-indent-block-enders): New var.
10742 (python-indent-calculate-indentation): Use it.
10743
10744 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10745
10746 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10747 defun. Defining it as defalias could introduce too eager
10748 byte-compiler optimization. (Bug#14030)
10749
10750 2013-03-30 Chong Yidong <cyd@gnu.org>
10751
10752 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10753
10754 2013-03-30 Leo Liu <sdl.web@gmail.com>
10755
10756 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10757 (kmacro-execute-from-register): Pass the keyboard macro to
10758 kmacro-call-macro or repeating won't work correctly.
10759
10760 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10761
10762 * progmodes/subword.el: Back to using `forward-symbol'.
10763
10764 * subr.el (forward-whitespace, forward-symbol)
10765 (forward-same-syntax): Move from thingatpt.el.
10766
10767 2013-03-29 Leo Liu <sdl.web@gmail.com>
10768
10769 * kmacro.el (kmacro-to-register): New command.
10770 (kmacro-execute-from-register): New function.
10771 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10772
10773 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10774
10775 * mpc.el: Use defvar-local and setq-local.
10776 (mpc--proc-connect): Connection failures are not bugs.
10777 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10778 (mpc-volume-map): Bind to the up-events.
10779
10780 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10781
10782 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10783 instead of `forward-symbol'.
10784
10785 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10786
10787 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10788 (edebug--recursive-edit): Use it.
10789 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10790 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10791
10792 2013-03-28 Leo Liu <sdl.web@gmail.com>
10793
10794 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10795
10796 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10797
10798 * facemenu.el (list-colors-callback): New defvar.
10799 (list-colors-redisplay): New function.
10800 (list-colors-display): Install list-colors-redisplay as the
10801 revert-buffer-function. (Bug#14063)
10802
10803 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10804
10805 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10806 and suffixes don't overlap (bug#14061).
10807
10808 * case-table.el: Use lexical-binding.
10809 (case-table-get-table): New function.
10810 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10811
10812 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10813
10814 * progmodes/subword.el: Add `superword-mode' to do word motion
10815 over symbol_words (parallels and leverages `subword-mode' which
10816 does word motion inside MixedCaseWords).
10817
10818 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10819
10820 * eshell/em-unix.el: Move su and sudo to...
10821 * eshell/em-tramp.el: ...Eshell tramp module.
10822
10823 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10824
10825 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10826 Change return value to be a sexp. Delay `get-buffer' to after
10827 restoring the desktop (bug#13951).
10828
10829 2013-03-26 Leo Liu <sdl.web@gmail.com>
10830
10831 * register.el: Move semantic tag handling back to
10832 cedet/semantic/senator.el. (Bug#14052)
10833
10834 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10835
10836 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10837 into the prompt either (bug#13963).
10838
10839 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10840
10841 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10842 part of "(error-foo)".
10843
10844 2013-03-24 Juri Linkov <juri@jurta.org>
10845
10846 * replace.el (list-matching-lines-prefix-face): New defcustom.
10847 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10848 `occur-engine' if `face-differs-from-default-p' returns t.
10849 (occur-engine): Add `,' inside backquote construct to evaluate
10850 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10851 Pass `prefix-face' to the functions `occur-context-lines' and
10852 `occur-engine-add-prefix'.
10853 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10854 `prefix-face' and propertize the prefix with `prefix-face'.
10855 (Bug#14017)
10856
10857 2013-03-24 Leo Liu <sdl.web@gmail.com>
10858
10859 * nxml/rng-valid.el (rng-validate-while-idle)
10860 (rng-validate-quick-while-idle): Guard against deleted buffer.
10861 (Bug#13999)
10862
10863 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10864 is the last entry in kill-buffer-hook.
10865
10866 * files.el (kill-buffer-hook): Doc fix.
10867
10868 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10869
10870 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10871 Make it safe-local.
10872
10873 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10874
10875 2013-03-23 Leo Liu <sdl.web@gmail.com>
10876
10877 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10878 Remove.
10879
10880 * nxml/rng-valid.el (rng-validate-mode)
10881 (rng-after-change-function, rng-do-some-validation):
10882 * nxml/rng-maint.el (rng-validate-buffer):
10883 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10884 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10885 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10886 (nxml-extend-after-change-region): Use with-silent-modifications.
10887
10888 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10889 timer-idle-list.
10890
10891 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10892 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10893 timer-idle-list. (Bug#13999)
10894
10895 2013-03-23 Juri Linkov <juri@jurta.org>
10896
10897 * info.el (info-index-match): New face.
10898 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10899 main pattern and add text properties with the new face to matches
10900 in index entries relative to the beginning of the index entry.
10901 (Bug#14015)
10902
10903 2013-03-21 Eric Ludlam <zappo@gnu.org>
10904
10905 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10906 Inhibit read only while inserting objects.
10907
10908 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10909
10910 * progmodes/cfengine.el: Update docs to mention
10911 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10912 symbol motion. Remove "_" from the word syntax.
10913
10914 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10915
10916 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10917 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10918
10919 2013-03-20 Juri Linkov <juri@jurta.org>
10920
10921 * info.el (Info-next-reference-or-link)
10922 (Info-prev-reference-or-link): New functions.
10923 (Info-next-reference, Info-prev-reference): Use them.
10924 (Info-try-follow-nearest-node): Handle footnote navigation.
10925 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10926
10927 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10928
10929 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10930 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10931
10932 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10933
10934 Suppress unnecessary non-ASCII chatter during build process.
10935 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10936 (batch-skkdic-convert): Suppress most of the chatter.
10937 It's not needed so much now that machines are faster,
10938 and its non-ASCII component was confusing; see Dmitry Gutov in
10939 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10940
10941 2013-03-20 Leo Liu <sdl.web@gmail.com>
10942
10943 * ido.el (ido-chop): Fix bug#10994.
10944
10945 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10946
10947 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10948 Remove vars.
10949 (whitespace-color-on, whitespace-color-off):
10950 Use `font-lock-fontify-buffer' (Bug#13817).
10951
10952 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10953
10954 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10955 remapping in mode-line.
10956 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10957
10958 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10959
10960 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10961 value for `whitespace-line' face (Bug#13875).
10962 (whitespace-font-lock-keywords): Change description.
10963 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10964 the constructed keywords instead.
10965 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10966
10967 2013-03-19 Leo Liu <sdl.web@gmail.com>
10968
10969 * progmodes/compile.el (compilation-display-error): New command.
10970 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10971 C-o. (Bug#13992)
10972
10973 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10974
10975 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10976
10977 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10978
10979 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10980
10981 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10982
10983 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10984
10985 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10986 * net/tramp-gvfs.el (top):
10987 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10988 (tramp-handle-shell-command): Use it.
10989 (tramp-dissect-file-name): Raise an error when hostname is a
10990 method name, and neither method nor user is specified.
10991
10992 * net/trampver.el: Update release number.
10993
10994 2013-03-18 Leo Liu <sdl.web@gmail.com>
10995
10996 Make sure eldoc can be turned off properly.
10997 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10998 eldoc-mode.
10999 (eldoc-display-message-p): Revert last change.
11000 (eldoc-display-message-no-interference-p)
11001 (eldoc-print-current-symbol-info): Tweak.
11002
11003 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11004
11005 * doc-view.el (doc-view-new-window-function): Check the new window
11006 overlay's display property instead the char property of the
11007 buffer's first char. Use `with-selected-window' instead of
11008 `save-window-excursion' with `select-window'.
11009 (doc-view-document->bitmap): Check the current doc-view overlay's
11010 display property instead the char property of the buffer's first char.
11011
11012 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11013
11014 Automate the build of ja-dic.el (Bug#13984).
11015 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11016 from the input, rather than assume that it's been done for us by the
11017 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11018 the current date into a ja-dic.el comment, as that complicates
11019 regression testing.
11020
11021 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11022
11023 * whitespace.el: Fix double evaluation.
11024 (whitespace-space, whitespace-hspace, whitespace-tab)
11025 (whitespace-newline, whitespace-trailing, whitespace-line)
11026 (whitespace-space-before-tab, whitespace-indentation)
11027 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11028 obsolete defvars.
11029 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11030 (whitespace-color-on): Use a single font-lock-add-keywords call.
11031 Fix double-evaluation of face variables.
11032
11033 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11034
11035 * net/tramp-adb.el (tramp-adb-parse-device-names):
11036 Use `start-process' instead of `call-process'. Otherwise, the
11037 function might be blocked under MS Windows. (Bug#13299)
11038
11039 2013-03-17 Leo Liu <sdl.web@gmail.com>
11040
11041 Extend eldoc to display info in the mode-line. (Bug#13978)
11042 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11043 (eldoc-mode-line-string): New variable.
11044 (eldoc-minibuffer-message): New function.
11045 (eldoc-message-function): New variable.
11046 (eldoc-message): Use it.
11047 (eldoc-display-message-p)
11048 (eldoc-display-message-no-interference-p):
11049 Support eldoc-post-insert-mode.
11050
11051 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11052 (eval-expression): Run it.
11053
11054 2013-03-17 Roland Winkler <winkler@gnu.org>
11055
11056 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11057 strings in the list of return values.
11058
11059 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11060
11061 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11062 radix before checking for HMS forms.
11063
11064 2013-03-16 Leo Liu <sdl.web@gmail.com>
11065
11066 * progmodes/scheme.el: Add indentation and font-locking for λ.
11067 (Bug#13975)
11068
11069 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11070
11071 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11072 token before point (bug#13942).
11073
11074 2013-03-16 Leo Liu <sdl.web@gmail.com>
11075
11076 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11077
11078 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11079
11080 * startup.el (command-line-normalize-file-name): Fix handling of
11081 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11082 <xfq.free@gmail.com> in
11083 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11084
11085 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11086
11087 Sync with Tramp 2.2.7.
11088
11089 * net/trampver.el: Update release number.
11090
11091 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11092
11093 * doc-view.el: Fix bug#13887.
11094 (doc-view-insert-image): Don't modify overlay associated to
11095 non-live windows, and implement horizontal centering of image in
11096 case it's smaller than the window.
11097 (doc-view-new-window-function): Force redisplay of new windows on
11098 doc-view buffers.
11099
11100 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11101
11102 * saveplace.el (save-place-alist-to-file): Don't sort
11103 `save-place-alist', just pretty-print it (bug#13882).
11104
11105 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11106
11107 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11108 Check whether `default-file-name-coding-system' is bound.
11109 It isn't in XEmacs.
11110
11111 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11112
11113 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11114 backquotes for `obsolete' (bug#13929).
11115
11116 * international/mule.el (find-auto-coding): Include file name in
11117 obsolescence warning (bug#13922).
11118
11119 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11120
11121 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11122 for CFEngine 3-specific indentation.
11123 (cfengine3-indent-line): Use it. Fix up category regex.
11124 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11125
11126 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11127
11128 * type-break.el (type-break-file-name):
11129 * textmodes/remember.el (remember-data-file):
11130 * strokes.el (strokes-file):
11131 * shadowfile.el (shadow-initialize):
11132 * saveplace.el (save-place-file):
11133 * ps-bdf.el (bdf-cache-file):
11134 * progmodes/idlwave.el (idlwave-config-directory):
11135 * net/quickurl.el (quickurl-url-file):
11136 * international/kkc.el (kkc-init-file-name):
11137 * ido.el (ido-save-directory-list-file):
11138 * emulation/viper.el (viper-custom-file-name):
11139 * emulation/vip.el (vip-startup-file):
11140 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11141 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11142
11143 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11144
11145 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11146 * language/thai-word.el: Switch to UTF-8.
11147
11148 See ChangeLog.16 for earlier changes.
11149
11150 ;; Local Variables:
11151 ;; coding: utf-8
11152 ;; End:
11153
11154 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11155
11156 This file is part of GNU Emacs.
11157
11158 GNU Emacs is free software: you can redistribute it and/or modify
11159 it under the terms of the GNU General Public License as published by
11160 the Free Software Foundation, either version 3 of the License, or
11161 (at your option) any later version.
11162
11163 GNU Emacs is distributed in the hope that it will be useful,
11164 but WITHOUT ANY WARRANTY; without even the implied warranty of
11165 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11166 GNU General Public License for more details.
11167
11168 You should have received a copy of the GNU General Public License
11169 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.