* cus-theme.el (custom-new-theme-mode-map): Add bindings.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-18 Chong Yidong <cyd@gnu.org>
2
3 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4 (Bug#15674).
5
6 * replace.el (occur-engine): Avoid infloop (Bug#7593).
7
8 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
9
10 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
11 (Bug#13914).
12
13 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
14
15 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
16
17 2013-12-18 Glenn Morris <rgm@gnu.org>
18
19 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
20 * cus-start.el (load-prefer-newer): New option.
21
22 2013-12-18 Le Wang <l26wang@gmail.com>
23
24 * comint.el (comint-previous-matching-input-from-input): Retain
25 point (Bug#13404).
26
27 2013-12-18 Chong Yidong <cyd@gnu.org>
28
29 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
30
31 2013-12-18 Glenn Morris <rgm@gnu.org>
32
33 * mail/emacsbug.el (report-emacs-bug):
34 Only mention enable-multibyte-characters if non-standard.
35
36 2013-12-17 Juri Linkov <juri@jurta.org>
37
38 * arc-mode.el (archive-extract-by-file): Check if directory exists
39 before deletion to not show irrelevant errors if it doesn't exist.
40
41 2013-12-17 Juri Linkov <juri@jurta.org>
42
43 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
44 (Bug#14751)
45
46 * net/eww.el (browse-web): Add alias to `eww'.
47 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
48 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
49
50 * net/browse-url.el (browse-url-browser-function): Move `eww'
51 closer to similar functions.
52
53 * startup.el (fancy-startup-screen, fancy-about-screen):
54 Set browse-url-browser-function to eww-browse-url locally.
55 (Bug#14751)
56
57 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
58
59 * window.el (window--pixel-to-total): Remove unused `mini' var.
60 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
61 (split-window): Remove unused `new' var.
62 (window--display-buffer): Remove unused `frame' and `delta' vars.
63 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
64 and display-width'.
65
66 2013-12-17 Martin Rudalics <rudalics@gmx.at>
67
68 * dired.el (dired-mark-pop-up):
69 * register.el (register-preview): Don't bind
70 split-height-threshold here since it's now done in
71 display-buffer-below-selected.
72
73 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
74
75 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
76 xterm-rgb-convert-to-16bit.
77 (rxvt-register-default-colors): Standardize with
78 xterm-register-default-colors (Bug#14078).
79
80 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
81
82 * simple.el (kill-region): Pass mark first, then point, so that
83 kill-append works right (Bug#12819).
84 (copy-region-as-kill, kill-ring-save): Likewise.
85
86 2013-12-17 Leo Liu <sdl.web@gmail.com>
87
88 * net/rcirc.el (rcirc-add-face):
89 * eshell/em-prompt.el (eshell-emit-prompt):
90 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
91 (Bug#16167)
92
93 2013-12-17 Chong Yidong <cyd@gnu.org>
94
95 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
96 Suggested by Xue Fuqiao.
97
98 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
99
100 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
101
102 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
103
104 * net/shr.el (shr-insert-document): Remove unused var
105 `shr-preliminary-table-render'.
106 (shr-rescale-image): Remove unused arg `force'.
107 (shr-put-image): Update calls accordingly.
108 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
109
110 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
111
112 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
113 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
114 :close-all, to see which indentation method to use (Bug#16116).
115 (smie-rules-function): Document the method :close-all.
116
117 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
118
119 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
120
121 * net/eww.el (eww-display-html): If we can't find the anchor we're
122 looking for, then go to point-min.
123
124 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
125
126 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
127 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
128 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
129 Expand dir too, in case it's relative.
130
131 2013-12-16 Juri Linkov <juri@jurta.org>
132
133 * desktop.el (desktop-auto-save-timeout): Change default to
134 `auto-save-timeout'. Doc fix.
135 (desktop-save): Skip the timestamp in desktop-saved-frameset
136 when checking for auto-save changes.
137 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
138 `desktop-auto-save' is called repeatedly by the idle timer.
139 (desktop-auto-save-set-timer): Replace `run-with-timer' with
140 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
141 (Bug#15331)
142
143 2013-12-16 Juri Linkov <juri@jurta.org>
144
145 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
146 (Bug#16035)
147 (isearch-pre-command-hook): Check `this-command' for symbolp.
148
149 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
150
151 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
152
153 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
154
155 * progmodes/cfengine.el (cfengine3--current-word): Remove.
156 (cfengine3--current-function): Bring in the current-function
157 functionality from `cfengine3--current-word'.
158 (cfengine3-completion-function): Bring in the
159 bounds-of-current-word functionality from
160 `cfengine3--current-word'.
161
162 2013-12-16 Martin Rudalics <rudalics@gmx.at>
163
164 * window.el (display-buffer-below-selected):
165 Bind split-height-threshold to 0 as suggested by Juri Linkov.
166
167 2013-12-16 Leo Liu <sdl.web@gmail.com>
168
169 * progmodes/compile.el (compile-goto-error): Do not push-mark.
170 Remove NOMSG arg and all uses changed.
171
172 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
173
174 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
175 (cua--deactivate-rectangle): Don't deactivate the mark.
176 (cua-set-rectangle-mark): Don't set mark-active since
177 cua--activate-rectangle already does it for us.
178 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
179 non-rectangular region.
180
181 * emulation/cua-base.el (cua-repeat-replace-region):
182 Use with-current-buffer.
183
184 * net/gnutls.el: Use cl-lib.
185 (gnutls-negotiate): `mapcan' -> cl-mapcan.
186
187 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
188
189 * emacs-lisp/package.el (package-built-in-p): Support both
190 built-in and the package.el converted package descriptions.
191 (package-show-package-list): Allow keywords.
192 (package-keyword-button-action): Use it instead of
193 `finder-list-matches'.
194 (package-menu-filter-interactive): Interactive filtering (by
195 keyword) function.
196 (package-menu--generate): Support keywords and change keymappings
197 and headers when they are given.
198 (package--has-keyword-p): Helper function.
199 (package-menu--refresh): Use it.
200 (package--mapc): Helper function.
201 (package-all-keywords): Use it.
202 (package-menu-mode-map): Set up menu items and keybindings to
203 provide a filtering UI.
204
205 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
206
207 * net/gnutls.el (gnutls-verify-error): New defcustom to control
208 the behavior when a certificate fails validation. Defaults to
209 old behavior: never abort, just warn.
210 (gnutls-negotiate): Use it.
211
212 2013-12-14 Martin Rudalics <rudalics@gmx.at>
213
214 * window.el (display-buffer-below-selected): Never split window
215 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
216
217 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
218
219 * emacs-lisp/package.el (package--prepare-dependencies): New function.
220 (package-buffer-info): Use it (bug#15108).
221
222 * icomplete.el (icomplete-completions): Make sure the prefix is already
223 displayed elsewhere before hiding it.
224
225 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
226
227 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
228 open-paren tokens when preceded by a open-paren, too.
229 (ruby-smie-rules): Handle virtual indentation after open-paren
230 tokens specially. If there is code between it and eol, return the
231 column where is starts (Bug#16118).
232
233 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
234
235 * progmodes/cfengine.el: Fix `add-hook' doc.
236 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
237 (cfengine3--current-word): Fix parameters.
238 (cfengine3-make-syntax-cache): Simplify further.
239 (cfengine3-completion-function, cfengine3--current-function):
240 Use `assq' for symbols.
241 (cfengine3--current-function): Fix `cfengine3--current-word' call.
242
243 2013-12-13 Glenn Morris <rgm@gnu.org>
244
245 * loadup.el (load-path): Warn if site-load or site-init changes it.
246 No more need to reset it when bootstrapping.
247
248 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
249
250 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
251 locations for cf-promises.
252 (cfengine-mode-syntax-functions-regex): New caching variable.
253 (cfengine3-fallback-syntax): Fallback syntax for cases where
254 cf-promises doesn't run.
255 (cfengine3--current-word): Reimplement using
256 `cfengine-mode-syntax-functions-regex'.
257 (cfengine3-completion-function, cfengine3--current-function):
258 Use `cfengine3-make-syntax-cache' directly.
259 (cfengine3-clear-syntax-cache): New function.
260 (cfengine3-make-syntax-cache): Simplify and create
261 `cfengine-mode-syntax-functions-regex' on demand.
262 (cfengine3-format-function-docstring): Don't call
263 `cfengine3-make-syntax-cache' explicitly.
264
265 2013-12-13 Martin Rudalics <rudalics@gmx.at>
266
267 Fix windmove-find-other-window broken after pixelwise resizing
268 (Bug#16017).
269 * windmove.el (windmove-other-window-loc): Revert change from
270 2013-12-04.
271 (windmove-find-other-window): Call window-in-direction.
272 * window.el (window-in-direction): New arguments SIGN, WRAP and
273 MINI to emulate original windmove-find-other-window behavior.
274
275 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
276
277 * simple.el (blink-matching--overlay): New variable.
278 (blink-matching-open): Instead of moving point, highlight the
279 matching paren with an overlay
280 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
281
282 * faces.el (paren-showing-faces, show-paren-match)
283 (show-paren-mismatch): Move from paren.el.
284
285 2013-12-13 Leo Liu <sdl.web@gmail.com>
286
287 * indent.el (indent-region): Disable progress reporter in
288 minibuffer. (Bug#16108)
289
290 * bindings.el (visual-order-cursor-movement): Fix version.
291
292 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
293
294 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
295 Also match after beginning of line.
296 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
297 files. Thanks to Russell Sim. (Bug#15378)
298
299 2013-12-13 Juri Linkov <juri@jurta.org>
300
301 * simple.el <Keypad support>: Remove key bindings duplicated
302 with bindings.el. (Bug#14397)
303
304 2013-12-13 Juri Linkov <juri@jurta.org>
305
306 * comint.el (comint-mode-map): Replace `delete-char' with
307 `delete-forward-char'. (Bug#16109)
308
309 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
310
311 * progmodes/python.el (python-indent-calculate-indentation):
312 Fix de-denters cornercase. (Bug#15731)
313
314 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
315
316 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
317 (advice--make): Pay attention to `depth'.
318 (advice--make-1): Don't autoload commands eagerly.
319 * emacs-lisp/elp.el (elp-instrument-function):
320 * emacs-lisp/trace.el (trace-function-internal):
321 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
322
323 * iswitchb.el (iswitchb-mode): Don't belittle ido.
324
325 2013-12-12 Eli Zaretskii <eliz@gnu.org>
326
327 * term/w32-win.el (w32-handle-dropped-file):
328 * startup.el (normal-top-level):
329 * net/browse-url.el (browse-url-file-url):
330 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
331 decode file names using 'utf-8' rather than
332 file-name-coding-system.
333
334 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
335
336 * progmodes/python.el (python-indent-context)
337 (python-indent-calculate-indentation): Fix auto-identation
338 behavior for comment blocks. (Bug#15916)
339
340 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
341
342 * progmodes/python.el (python-indent-calculate-indentation):
343 When determining indentation, don't treat "return", "pass", etc., as
344 operators when they are just string constituents. (Bug#15812)
345
346 2013-12-12 Juri Linkov <juri@jurta.org>
347
348 * uniquify.el (uniquify-buffer-name-style): Change default to
349 `post-forward-angle-brackets'.
350
351 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
352 `uniquify'. Change default to `post-forward-angle-brackets'.
353
354 2013-12-11 Glenn Morris <rgm@gnu.org>
355
356 * emacs-lisp/package.el (finder-list-matches):
357 Autoload rather than falsely declaring.
358
359 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
360
361 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
362 (eww-mode-map): Use them.
363
364 2013-12-11 Martin Rudalics <rudalics@gmx.at>
365
366 * window.el (display-buffer-in-side-window): Fix doc-string
367 (Bug#16115).
368
369 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
370
371 * vc/vc-git.el: Silence byte-compiler warnings.
372 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
373 (log-edit-set-header): Declare.
374
375 2013-12-11 Eli Zaretskii <eliz@gnu.org>
376
377 * Makefile.in (custom-deps, finder-data): Run output file names
378 through unmsys--file-name. (Bug#16099)
379
380 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
381
382 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
383 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
384
385 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
386 instead of deleting the selection "by hand" (bug#16098).
387 Rely on insert-for-yank to yank rectangles.
388 (cua-highlight-region-shift-only): Mark obsolete.
389 (cua-mode): Don't enable/disable transient-mark-mode,
390 shift-select-mode (cua-mode works both with and without them), and
391 pc-selection-mode (obsolete).
392 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
393 (cua--deactivate-rectangle): Deactivate it.
394
395 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
396 (delete-selection-helper): Make sure yank starts at the top of the
397 deleted region.
398 (minibuffer-keyboard-quit): Use region-active-p.
399
400 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
401
402 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
403 to `delete' (bug#16109).
404
405 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
406
407 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
408 info manual and show keybindings and set `:group' keyword.
409
410 2013-12-11 Juri Linkov <juri@jurta.org>
411
412 * delsel.el (delete-active-region): Let-bind `this-command'
413 to prevent `kill-region' from changing its original value.
414 (delete-selection-helper): Handle `overwrite-mode' for the type
415 `kill' exactly the same way as for the type `t'.
416 (insert-char, quoted-insert, reindent-then-newline-and-indent):
417 Support more commands. (Bug#13312)
418
419 2013-12-11 Juri Linkov <juri@jurta.org>
420
421 * bindings.el: Map kp keys to non-kp keys systematically
422 with basic modifiers control, meta and shift. (Bug#14397)
423
424 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
425
426 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
427 "Close browser" menu items. Fix wrong function of "List
428 bookmarks".
429
430 2013-12-11 Juri Linkov <juri@jurta.org>
431
432 * misearch.el (multi-isearch-buffers): Set the value of
433 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
434 arg of isearch-forward to t.
435 (multi-isearch-buffers-regexp): Set the value of
436 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
437 arg of isearch-forward-regexp to t.
438 (multi-isearch-files): Set the value of
439 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
440 arg of isearch-forward to t.
441 (multi-isearch-files-regexp): Set the value of
442 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
443 arg of isearch-forward-regexp to t. (Bug#16035)
444
445 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
446 arg of isearch-forward to t.
447 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
448 arg of isearch-forward-regexp to t.
449 (dired-isearch-filter-filenames): Remove unnecessary check for
450 `dired-isearch-filenames'.
451
452 * comint.el (comint-history-isearch-backward):
453 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
454 (comint-history-isearch-backward-regexp):
455 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
456
457 2013-12-10 Eli Zaretskii <eliz@gnu.org>
458
459 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
460 unmsys--file-name. (Bug#16099)
461
462 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
463
464 * emacs-lisp/package.el (package-keyword-button-action):
465 Remove finder.el require dependency.
466
467 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
468
469 * emacs-lisp/package.el: Require finder.el.
470 (describe-package-1): Add keyword buttons.
471 (package-make-button): New convenience function.
472 (package-keyword-button-action): Keyword button action using
473 `finder-list-matches'
474
475 2013-12-09 Eli Zaretskii <eliz@gnu.org>
476
477 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
478 last commit.
479
480 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
481
482 * autorevert.el (auto-revert-notify-add-watch): Do not handle
483 symlinked files.
484
485 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
486
487 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
488 after the end of a percent literal.
489
490 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
491
492 * progmodes/ruby-mode.el (ruby-forward-string): Document.
493 Handle caret-delimited strings (Bug#16079).
494
495 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
496
497 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
498 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
499 `ruby-parse-partial' (Bug#16078).
500
501 2013-12-09 Leo Liu <sdl.web@gmail.com>
502
503 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
504
505 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
506
507 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
508 (js-switch-indent-offset): New option.
509 (js--proper-indentation): Use it. And handle the case when
510 "default" is actually a key in an object literal.
511 (js--same-line): New function.
512 (js--multi-line-declaration-indentation): Use it.
513 (js--indent-in-array-comp, js--array-comp-indentation):
514 New functions.
515 (js--proper-indentation): Use them, to handle array comprehension
516 continuations.
517
518 2013-12-08 Leo Liu <sdl.web@gmail.com>
519
520 * progmodes/flymake.el (flymake-highlight-line): Re-write.
521 (flymake-make-overlay): Remove arg MOUSE-FACE.
522 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
523
524 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
525
526 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
527 New function.
528 (redisplay-highlight-region-function): Use it.
529
530 * emulation/cua-base.el (cua--explicit-region-start)
531 (cua--last-region-shifted): Remove.
532 (cua--deactivate): Use deactivate-mark.
533 (cua--pre-command-handler-1): Don't handle shift-selection.
534 (cua--post-command-handler-1): Don't change transient-mark-mode.
535 (cua--select-keymaps): Use region-active-p rather than
536 cua--explicit-region-start or cua--last-region-shifted.
537 (cua-mode): Enable shift-select-mode.
538
539 2013-12-08 Leo Liu <sdl.web@gmail.com>
540
541 * progmodes/flymake.el (flymake-popup-current-error-menu):
542 Rename from flymake-display-err-menu-for-current-line. Reimplement.
543 (flymake-posn-at-point-as-event, flymake-popup-menu)
544 (flymake-make-emacs-menu): Remove. (Bug#16077)
545
546 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
547
548 * rect.el (rectangle-mark-mode): Activate mark even if
549 transient-mark-mode is off (bug#16066).
550 (rectangle--highlight-for-redisplay): Fix boundary condition when point
551 is > mark and at bolp.
552
553 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
554 (region-extract-function): Use it.
555 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
556 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
557 Delete functions.
558 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
559 kill-ring-save, kill-region, delete-char, delete-forward-char.
560 Ignore self-insert-iso.
561
562 * emulation/cua-gmrk.el (cua--init-global-mark):
563 Ignore `self-insert-iso'.
564
565 * emulation/cua-base.el (cua--prefix-copy-handler)
566 (cua--prefix-cut-handler): Rely on region-extract-function rather than
567 checking cua--rectangle.
568 (cua-delete-region): Use region-extract-function.
569 (cua-replace-region): Delete function.
570 (cua-copy-region, cua-cut-region): Obey region-extract-function.
571 (cua--pre-command-handler-1): Don't do the delete-selection thing.
572 (cua--self-insert-char-p): Ignore `self-insert-iso'.
573 (cua--init-keymaps): Don't remap delete-selection commands.
574 (cua-mode): Use delete-selection-mode instead of rolling our own
575 (bug#16085).
576
577 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
578 Obey region-extract-function.
579
580 Make registers and delete-selection-mode work on rectangles.
581 * register.el (describe-register-1): Don't modify the register's value.
582 (copy-to-register): Obey region-extract-function.
583 * delsel.el (delete-active-region): Obey region-extract-function.
584
585 2013-12-08 Leo Liu <sdl.web@gmail.com>
586
587 * progmodes/flymake.el (flymake, flymake-error-bitmap)
588 (flymake-warning-bitmap, flymake-fringe-indicator-position)
589 (flymake-compilation-prevents-syntax-check)
590 (flymake-start-syntax-check-on-newline)
591 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
592 (flymake-start-syntax-check-on-find-file, flymake-log-level)
593 (flymake-xml-program, flymake-master-file-dirs)
594 (flymake-master-file-count-limit)
595 (flymake-allowed-file-name-masks): Relocate.
596 (flymake-makehash, flymake-float-time)
597 (flymake-replace-regexp-in-string, flymake-split-string)
598 (flymake-get-temp-dir): Remove.
599 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
600 (flymake-current-row, flymake-selected-frame)
601 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
602 related functions. (Bug#16077)
603
604 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
605
606 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
607
608 2013-12-07 Tassilo Horn <tsdh@gnu.org>
609
610 * help-fns.el (describe-function-1): Use new advice-* functions
611 rather than old ad-* functions. Fix function type description and
612 source links for advised functions and subrs.
613
614 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
615
616 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
617
618 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
619
620 * progmodes/compile.el (compilation-start):
621 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
622
623 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
624 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
625
626 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
627
628 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
629 Touch up the last change.
630
631 2013-12-06 Leo Liu <sdl.web@gmail.com>
632
633 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
634 (inferior-octave-startup): Always use "octave> " for prompt.
635 (octave-goto-function-definition)
636 (octave-sync-function-file-names)
637 (octave-find-definition-default-filename): Remove redundant backquotes.
638
639 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
640
641 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
642 syntax for `?'.
643 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
644 where appropriate already.
645 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
646 end of method names (Bug#15874).
647
648 2013-12-06 Juri Linkov <juri@jurta.org>
649
650 * isearch.el (isearch--saved-overriding-local-map):
651 New internal variable.
652 (isearch-mode): Set it to the initial value of
653 `overriding-terminal-local-map'.
654 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
655 with `isearch--saved-overriding-local-map'. (Bug#16035)
656
657 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
658
659 * progmodes/octave.el (inferior-octave-completion-table):
660 Turn back into function, use `completion-table-with-cache'
661 (Bug#11906). Update all references.
662
663 * minibuffer.el (completion-table-with-cache): New function.
664
665 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
666
667 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
668
669 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
670
671 * net/eww.el (eww-current-source): New variable to store page
672 source.
673 (eww-display-html, eww-mode, eww-save-history)
674 (eww-restore-history): Use it.
675 (eww-view-source): New command to view page source.
676 Opportunistically uses `html-mode' to highlight the buffer.
677 (eww-mode-map): Install it.
678
679 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
680
681 * net/dbus.el (dbus-unregister-service)
682 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
683 Fix docstring.
684 (dbus-unregister-service): Skip :serial entries in
685 `dbus-registered-objects-table'.
686 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
687
688 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
689
690 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
691 around keywords with extra `split-string' argument.
692
693 2013-12-04 Martin Rudalics <rudalics@gmx.at>
694
695 * windmove.el (windmove-other-window-loc): Handle navigation
696 between windows (excluding the minibuffer window - Bug#16017).
697
698 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
699
700 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
701 in D-Bus type syntax.
702 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
703 preserve unibyte strings. (Bug#16048)
704
705 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
706
707 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
708 Call force-mode-line-update is the proper buffer (bug#16042).
709
710 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
711
712 * vc/log-edit.el (log-edit-add-new-comment): Rename to
713 `log-edit-remember-comment', make argument optional. Adjust all
714 callers.
715 (log-edit-mode): Add `log-edit-remember-comment' to
716 `kill-buffer-hook' locally.
717 (log-edit-kill-buffer): Don't remember comment explicitly since
718 the buffer is killed anyway.
719
720 2013-12-04 Juri Linkov <juri@jurta.org>
721
722 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
723 add-hook and remove-hook for multi-buffer search. (Bug#16035)
724
725 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
726
727 * notifications.el (notifications-close-notification): Call the
728 D-Bus method with ID being a `:uint32'. (Bug#16030)
729
730 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
731
732 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
733
734 2013-12-03 Juri Linkov <juri@jurta.org>
735
736 * progmodes/compile.el (compilation-start): Rename window alist
737 entry `no-display-ok' to `allow-no-window'.
738
739 * simple.el (shell-command): Add window alist entry
740 `allow-no-window' to `display-buffer'.
741 (async-shell-command): Doc fix.
742
743 * window.el (display-buffer-no-window): New action function.
744 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
745
746 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
747
748 * vc/log-edit.el (log-edit-set-header): Extract from
749 `log-edit-toggle-header'.
750 (log-edit-extract-headers): Separate the summary, when extracted
751 from header, from the rest of the message with an empty line.
752
753 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
754 line, if present, to the Summary header.
755
756 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
757
758 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
759 in current-buffer (bug#16029).
760
761 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
762
763 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
764 (debugger-mode-map): Bind it.
765 (debugger--backtrace-base): New function.
766 (debugger-eval-expression): Use it.
767 (debugger-frame-number): Skip local vars when present.
768 (debugger--locals-visible-p, debugger--insert-locals)
769 (debugger--show-locals, debugger--hide-locals): New functions.
770
771 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
772
773 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
774 "LC_ALL".
775 (tramp-get-remote-locale): New defun.
776 (tramp-open-connection-setup-interactive-shell): Use it.
777
778 2013-12-02 Leo Liu <sdl.web@gmail.com>
779
780 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
781
782 * progmodes/sh-script.el (sh-shell-process):
783 * progmodes/octave.el (inferior-octave-process-live-p):
784 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
785 (gdb-inferior-io-sentinel):
786 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
787
788 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
789
790 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
791 `save-selected-window' to `log-edit-hide-buf'. This makes
792 `log-edit-show-files' idempotent.
793 (log-edit-show-files): Mark the new window as dedicated.
794
795 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
796
797 * vc/log-edit.el (log-edit-mode-map): Add binding for
798 `log-edit-kill-biffer'.
799 (log-edit-hide-buf): Add a FIXME comment.
800 (log-edit-add-new-comment): New function, extracted from
801 `log-edit-done'.
802 (log-edit-done, log-edit-add-to-changelog): Use it.
803 (log-edit-kill-buffer): New command.
804
805 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
806
807 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
808 instead of killing the buffer.
809
810 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
811
812 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
813
814 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
815
816 * net/eww.el (eww-form-checkbox-selected-symbol)
817 (eww-form-checkbox-symbol): New customizable variable.
818 (eww-form-checkbox, eww-toggle-checkbox):
819 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
820
821 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
822 (shr--get-media-pref, shr--extract-best-source): New function.
823 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
824 no :src tag was specified.
825
826 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
827 (eww-render): Handle `eww-use-external-browser-for-content-type'.
828 Use \\` to match beginning of string instead of ^.
829 (eww-browse-with-external-browser): Provide optional URL parameter.
830 (eww-render): Set `eww-current-title' back to "".
831
832 * net/shr.el (shr-tag-video): Display content for video if no
833 poster is available.
834 (shr-tag-audio): Add support for <audio> tag.
835
836 * net/eww.el (eww-text-input-types): : New const.
837 (eww-process-text-input): Treat input types in
838 `eww-text-input-types' as text.
839
840 * net/shr.el (shr-tag-table): Fix comment typo.
841
842 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
843
844 * net/eww.el (eww-follow-link): New command to avoid reloading
845 pages when we follow #target links (bug#15243).
846 (eww-quit): Special mode buffers shouldn't query before exiting.
847
848 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
849
850 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
851 forms.
852
853 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
854
855 * net/eww.el (eww-restore-history): Update the window title after
856 moving in the history.
857 (eww-current-dom): New variable used to save the current DOM.
858
859 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
860
861 * vc/log-edit.el (log-edit-mode-map): Add binding for
862 `log-edit-beginning-of-line'.
863 (log-edit-setup-add-author): New user option.
864 (log-edit-beginning-of-line): New command.
865 (log-edit): Move major mode call above the contents setup so that
866 the local variable values are already applied.
867 (log-edit): Only insert "Author: " when
868 `log-edit-setup-add-author' is non-nil.
869 (log-edit): When SETUP is non-nil, position point after ": "
870 instead of point-min.
871
872 2013-12-01 Glenn Morris <rgm@gnu.org>
873
874 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
875
876 2013-11-30 Eli Zaretskii <eliz@gnu.org>
877
878 * startup.el (fancy-splash-frame): On MS-Windows, trigger
879 redisplay to make sure the initial frame gets a chance to become
880 visible. (Bug#16014)
881
882 2013-11-30 Martin Rudalics <rudalics@gmx.at>
883
884 Support resizing frames and windows pixelwise.
885 * cus-start.el (frame-resize-pixelwise)
886 (window-resize-pixelwise): New entries.
887 * emacs-lisp/debug.el (debug): Use window-total-height instead
888 of window-total-size.
889 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
890 * help.el (describe-bindings-internal): Call help-buffer
891 (temp-buffer-max-width): New option.
892 (resize-temp-buffer-window, help-window-setup)
893 (with-help-window): Rewrite.
894 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
895 dragging dividers.
896 * window.el (frame-char-size, window-min-pixel-height)
897 (window-safe-min-pixel-height, window-safe-min-pixel-width)
898 (window-min-pixel-width, window-safe-min-pixel-size)
899 (window-combination-p, window-safe-min-size)
900 (window-resizable-p, window--size-to-pixel)
901 (window--pixel-to-size, window--resize-apply-p): New functions.
902 (window-safe-min-height): Fix doc-string.
903 (window-size, window-min-size, window--min-size-1)
904 (window-sizable, window-sizable-p, window--min-delta-1)
905 (window-min-delta, window--max-delta-1, window-max-delta)
906 (window--resizable, window--resizable-p, window-resizable)
907 (window-full-height-p, window-full-width-p, window-at-side-p)
908 (window--in-direction-2, window-in-direction)
909 (window--resize-reset-1, window--resize-mini-window)
910 (window-resize, window-resize-no-error)
911 (window--resize-child-windows-normal)
912 (window--resize-child-windows, window--resize-siblings)
913 (window--resize-this-window, window--resize-root-window)
914 (window--resize-root-window-vertically)
915 (adjust-window-trailing-edge, enlarge-window, shrink-window)
916 (maximize-window, minimize-window, delete-window)
917 (quit-restore-window, window-split-min-size, split-window)
918 (balance-windows-2, balance-windows)
919 (balance-windows-area-adjust, balance-windows-area)
920 (window--state-get-1, window-state-get, window--state-put-1)
921 (window--state-put-2, window-state-put)
922 (display-buffer-record-window, window--display-buffer):
923 Make functions handle pixelwise sizing of windows.
924 (display-buffer--action-function-custom-type)
925 (display-buffer-fallback-action):
926 Add display-buffer-in-previous-window.
927 (display-buffer-use-some-window): Resize window to height it had
928 before.
929 (fit-window-to-buffer-horizontally): New option.
930 (fit-frame-to-buffer): Describe new values.
931 (fit-frame-to-buffer-bottom-margin): Replace with
932 fit-frame-to-buffer-margins.
933 (window--sanitize-margin): New function.
934 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
935 using window-text-pixel-size.
936
937 2013-11-30 Glenn Morris <rgm@gnu.org>
938
939 * emacs-lisp/bytecomp.el (byte-compile-form):
940 Make the `interactive-only' warning like the `obsolete' one.
941 * comint.el (comint-run):
942 * files.el (insert-file-literally, insert-file):
943 * replace.el (replace-string, replace-regexp):
944 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
945 (goto-line, insert-buffer, next-line, previous-line):
946 Tweak `interactive-only' spec.
947
948 Stop keeping (most) generated cedet grammar files in the repository.
949 * Makefile.in (semantic): New.
950 (compile-main): Depend on semantic.
951
952 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
953
954 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
955 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
956
957 * uniquify.el (uniquify-buffer-name-style): Change default.
958
959 * loadup.el: Preload "uniquify".
960
961 * time.el (display-time-update): Update all mode lines (bug#15999).
962
963 * electric.el (electric-indent-mode): Enable by default.
964 * loadup.el: Preload "electric".
965
966 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
967
968 * emacs-lisp/helpers.el (string-empty-p): New function.
969 (string-blank-p): New function.
970
971 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
972
973 * imenu.el (imenu--index-alist): Add missing dot to the docstring
974 (Bug#14029).
975
976 2013-11-29 Andreas Politz <politza@fh-trier.de>
977 * imenu.el (imenu--subalist-p): Don't error on non-conses and
978 allow non-lambda lists as functions.
979 (imenu--in-alist): Don't recurse into non-subalists.
980 (imenu): Don't pass function itself as an argument (Bug#14029).
981
982 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
983
984 * progmodes/python.el (python-mode-map): Remove binding for ":".
985 (python-indent-electric-colon): Remove command.
986 (python-indent-post-self-insert-function): Integrate the previous code
987 of python-indent-electric-colon. Make it conditional on
988 electric-indent-mode.
989 (python-mode): Add ?: to electric-indent-chars.
990 Move python-indent-post-self-insert-function to the end of
991 post-self-insert-hook.
992
993 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
994
995 * doc-view.el (doc-view-goto-page): Update mode-line.
996
997 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
998
999 2013-11-27 Glenn Morris <rgm@gnu.org>
1000
1001 * international/charprop.el, international/uni-bidi.el:
1002 * international/uni-category.el, international/uni-combining.el:
1003 * international/uni-comment.el, international/uni-decimal.el:
1004 * international/uni-decomposition.el, international/uni-digit.el:
1005 * international/uni-lowercase.el, international/uni-mirrored.el:
1006 * international/uni-name.el, international/uni-numeric.el:
1007 * international/uni-old-name.el, international/uni-titlecase.el:
1008 * international/uni-uppercase.el:
1009 Remove generated files from VCS repository.
1010
1011 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1012
1013 * filenotify.el (file-notify-add-watch): Don't special-case
1014 w32notify when computing the directory to watch.
1015
1016 2013-11-27 Glenn Morris <rgm@gnu.org>
1017
1018 Make bootstrap without generated uni-*.el files possible again.
1019 * loadup.el: Update command-line-args checking for unidata-gen.
1020 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1021 * composite.el, international/characters.el:
1022 Handle unicode tables being undefined.
1023
1024 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1025 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1026 (compile-main): Depend on leim rule.
1027 (leim): New rule.
1028 * loadup.el: Move leim-list.el to leim/ subdirectory.
1029 * startup.el (normal-top-level): No more leim directory.
1030 * international/ja-dic-cnv.el (skkdic-convert):
1031 Disable version-control and autoloads in output files.
1032 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1033 Disable version-control and autoloads in output files.
1034 * leim/quail: Move here from ../leim.
1035 * leim/quail/hangul.el (hangul-input-method-activate):
1036 Add autoload cookie.
1037 (generated-autoload-load-name): Set file-local value.
1038 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1039 (generated-autoload-load-name): Set file-local value.
1040
1041 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1042
1043 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1044 (eww-add-bookmark): ask confirmation when add to bookmarks
1045 (eww-quit): ask confirmation before quitting eww
1046
1047 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1048
1049 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1050 reading output from Diff on MS-Windows and MS-DOS.
1051
1052 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1053
1054 * emacs-lisp/helpers.el (string-reverse): New function.
1055
1056 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1057
1058 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1059 names on MS Windows, like "/[::1]:".
1060
1061 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1062 SWITCHES.
1063
1064 2013-11-26 Glenn Morris <rgm@gnu.org>
1065
1066 * progmodes/python.el (python-indent-guess-indent-offset):
1067 Avoid corner-case error. (Bug#15975)
1068
1069 Preload leim-list.el. (Bug#4789)
1070 * loadup.el: Load leim-list.el when found.
1071 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1072
1073 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1074
1075 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1076
1077 * emacs-lisp/helpers.el (string-join): New function.
1078
1079 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1080
1081 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1082 Mark as obsolete and replace it with a symbol property.
1083 (byte-compile-form): Use new 'interactive-only property.
1084 * comint.el, files.el, replace.el, simple.el:
1085 Apply new 'interactive-only properly.
1086
1087 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1088
1089 * window.el (display-buffer-at-bottom): Make sure that
1090 split-window-sensibly creates the new window on bottom
1091 (Bug#15961).
1092
1093 2013-11-23 David Kastrup <dak@gnu.org>
1094
1095 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1096 on the conflict markers when available.
1097 (smerge--get-marker): New function.
1098 (smerge-end-re, smerge-base-re): Add subgroup.
1099
1100 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1101
1102 * frame.el (handle-focus-in, handle-focus-out): Add missing
1103 interactive spec.
1104
1105 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1106
1107 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1108 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1109
1110 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1111
1112 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1113 (gomoku--last-pos): New var.
1114 (gomoku--intangible-chars): New const.
1115 (gomoku--intangible): New function.
1116 (gomoku-mode): Use it. Derive from special-mode.
1117 (gomoku-move-up): Adjust line count.
1118 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1119 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1120 Simplify accordingly.
1121
1122 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1123 Remove blink-cursor code.
1124 (blink-cursor-timer-function, blink-cursor-suspend):
1125 Don't special-case GUIs.
1126 (blink-cursor-mode): Use focus-in/out-hook.
1127
1128 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1129
1130 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1131 work when annotation is invisible (Bug#13886).
1132
1133 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1134
1135 * json.el (json-alist-p): Only return non-nil if the alist has
1136 simple keys (Bug#13518).
1137
1138 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1139
1140 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1141 when control-statement is the first statement in a buffer (Bug#15956).
1142
1143 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1144
1145 * imenu.el (imenu-generic-skip-comments-and-strings):
1146 New option (Bug#15560).
1147 (imenu--generic-function): Use it.
1148
1149 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1150
1151 * minibuffer.el (completion--in-region-1): Scroll the correct
1152 window. (Bug#13898)
1153
1154 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1155
1156 * emacs-lisp/helpers.el: Add some string helpers.
1157 (string-trim-left): Removes leading whitespace.
1158 (string-trim-right): Removes trailing whitespace.
1159 (string-trim): Removes leading and trailing whitespace.
1160
1161 * subr.el (string-suffix-p): New function.
1162
1163 2013-11-23 Glenn Morris <rgm@gnu.org>
1164
1165 * progmodes/python.el (python-shell-send-file):
1166 Add option to delete file when done. (Bug#15647)
1167 (python-shell-send-string, python-shell-send-region): Use it.
1168
1169 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1170
1171 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1172 to set buffer-read-only to t, never to nil. (Bug#15938)
1173
1174 * textmodes/tex-mode.el (latex-noindent-environments):
1175 Add safe-local-variable property. (Bug#15936)
1176
1177 2013-11-23 Glenn Morris <rgm@gnu.org>
1178
1179 * textmodes/enriched.el (enriched-mode): Doc fix.
1180 * emacs-lisp/authors.el (authors-renamed-files-alist):
1181 Add enriched.doc -> enriched.txt.
1182
1183 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1184
1185 2013-11-22 Leo Liu <sdl.web@gmail.com>
1186
1187 * progmodes/octave.el (inferior-octave-startup): Spit out error
1188 message.
1189
1190 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1191
1192 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1193 Improve docstring.
1194 Add :version.
1195 (ruby-encoding-magic-comment-style): Add :version.
1196
1197 2013-11-22 Leo Liu <sdl.web@gmail.com>
1198
1199 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1200 (Bug#15076)
1201 (octave-help-mode): Adapt to change to help-mode-finish to use
1202 derived-mode-p on 2013-09-17.
1203 (inferior-octave-prompt): Also match octave-gui.
1204 (octave-kill-process): Don't ask twice. (Bug#10564)
1205
1206 2013-11-22 Leo Liu <sdl.web@gmail.com>
1207
1208 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1209 (inferior-octave-startup, inferior-octave-check-process)
1210 (inferior-octave-track-window-width-change)
1211 (octave-completion-at-point, octave-eldoc-function): Use it.
1212 (octave-kill-process): Provide confirmation. (Bug#10564)
1213
1214 2013-11-21 Leo Liu <sdl.web@gmail.com>
1215
1216 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1217 Fix obsolete variable comment-use-global-state.
1218
1219 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1220
1221 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1222 Add `octave-source-file'.
1223 (octave-source-file): New function. (Bug#15935)
1224
1225 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1226
1227 * net/eww.el (eww-local-regex): New variable.
1228 (eww): Use it to detect localhost and similar.
1229
1230 2013-11-21 Leo Liu <sdl.web@gmail.com>
1231
1232 Add completion for command `ag'.
1233 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1234 (pcomplete/ag): New function.
1235 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1236
1237 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1238
1239 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1240 (bug#14646).
1241 (make-obsolete): Remove interactive spec.
1242
1243 2013-11-21 Glenn Morris <rgm@gnu.org>
1244
1245 * startup.el (command-line-1): Use path-separator with -L.
1246
1247 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1248
1249 * emacs-lisp/package.el (describe-package-1): Add package archive
1250 to shown fields.
1251
1252 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1253
1254 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1255 Change default to "# encoding: %s" to differentiate it from the
1256 default Ruby encoding comment template.
1257
1258 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1259
1260 * ses.el (ses-mode): Doc fix. (Bug#14748)
1261
1262 2013-11-20 Leo Liu <sdl.web@gmail.com>
1263
1264 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1265
1266 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1267
1268 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1269 when rebase or bisect are in progress.
1270
1271 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1272
1273 * filenotify.el (file-notify-add-watch): Doc fix.
1274
1275 2013-11-19 Leo Liu <sdl.web@gmail.com>
1276
1277 * obsolete/rcompile.el: Mark obsolete.
1278
1279 * progmodes/compile.el (compilation-start)
1280 (compilation-goto-locus, compilation-find-file):
1281 Pass no-display-ok and handle nil value from display-buffer.
1282 (Bug#13594)
1283
1284 * window.el (display-buffer-alist, display-buffer): Document the
1285 new parameter no-display-ok. Return either a window or nil
1286 but never a non-window value.
1287
1288 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1289
1290 * electric.el (electric-indent-mode-map): Remove.
1291 (electric-indent-mode): Change the global-map instead (bug#15915).
1292
1293 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1294 Use add-function.
1295
1296 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1297
1298 * emacs-lisp/nadvice.el (remove-function): Align with
1299 add-function's behavior.
1300
1301 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1302 (gdb--string-regexp): New constant.
1303 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1304 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1305 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1306 submatch 1.
1307 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1308 Adjust use accordingly.
1309 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1310
1311 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1312
1313 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1314 interpolation curlies (Bug#15914).
1315
1316 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1317
1318 * calc/calc.el (calc-context-sensitive-enter): New variable.
1319 (calc-enter): Use `calc-context-sensitive-enter'.
1320
1321 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1322
1323 * progmodes/cfengine.el: Version bump.
1324 (cfengine-cf-promises): New defcustom to locate cf-promises.
1325 (cfengine3-vartypes): Add new "data" type.
1326 (cfengine3--current-word): New function to get current name-like
1327 word or its bounds.
1328 (cfengine3--current-function): New function to look up a CFEngine
1329 function's definition.
1330 (cfengine3-format-function-docstring): New function.
1331 (cfengine3-make-syntax-cache): New function.
1332 (cfengine3-documentation-function): New function: ElDoc glue.
1333 (cfengine3-completion-function): New function: completion glue.
1334 (cfengine3-mode): Set `compile-command',
1335 `eldoc-documentation-function', and add to
1336 `completion-at-point-functions'.
1337
1338 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1339
1340 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1341 `tramp-current-connection'.
1342
1343 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1344
1345 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1346 nil/self/true/false with "end of symbol".
1347
1348 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1349
1350 * subr.el (version-regexp-alist): Fix a typo.
1351
1352 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1353
1354 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1355 "en_US.utf8" and "LC_CTYPE" to "".
1356 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1357 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1358
1359 2013-11-15 Leo Liu <sdl.web@gmail.com>
1360
1361 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1362
1363 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1364
1365 * progmodes/gud.el (ctl-x-map):
1366 Remove C-x SPC binding. (Bug#12342)
1367 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1368
1369 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1370
1371 * subr.el (version-regexp-alist):
1372 Recognize hg, svn and darcs versions as snapshot versions.
1373
1374 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1375 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1376 (ruby--encoding-comment-required-p): Extract from
1377 `ruby-mode-set-encoding'.
1378 (ruby-mode-set-encoding): Add the ability to always insert an
1379 utf-8 encoding comment. Fix and simplify coding comment update
1380 logic.
1381
1382 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1383
1384 * net/tramp-gvfs.el (top): Run init code only when
1385 `tramp-gvfs-enabled' is not nil.
1386 (tramp-gvfs-enabled): Check also :system bus.
1387
1388 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1389
1390 Sync with upstream verilog-mode revision 78e66ba.
1391 * progmodes/verilog-mode.el (verilog-end-of-defun)
1392 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1393 (verilog-get-end-of-defun): Remove unused argument.
1394 (verilog-comment-depth): Remove unused local `e'.
1395 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1396 Don't pass arg to verilog-get-end-of-defun.
1397
1398 2013-11-14 Glenn Morris <rgm@gnu.org>
1399
1400 * obsolete/assoc.el (aget): Prefix dynamic variable.
1401
1402 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1403
1404 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1405
1406 * widget.el, hfy-cmap.el: Remove bogus package version number.
1407
1408 2013-11-13 Glenn Morris <rgm@gnu.org>
1409
1410 * replace.el (replace-eval-replacement):
1411 Try to give more helpful error message. (Bug#15836)
1412
1413 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1414 (archive-7z-update): Avoid custom type mismatches.
1415
1416 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1417
1418 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1419
1420 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1421 address can be empty.
1422
1423 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1424 Accept nil SWITCHES.
1425 (tramp-gvfs-handle-write-region): Implement APPEND.
1426
1427 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1428
1429 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1430 binary "|" operator and closing block args delimiter.
1431 Remove FIXME comment referring to Ruby 1.8-only syntax.
1432 (ruby-smie--implicit-semi-p): Not after "|" operator.
1433 (ruby-smie--closing-pipe-p): New function.
1434 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1435 (ruby-smie-rules): Indent after "|".
1436
1437 2013-11-12 Glenn Morris <rgm@gnu.org>
1438
1439 * ps-print.el (ps-face-attribute-list):
1440 Handle anonymous faces. (Bug#15827)
1441
1442 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1443
1444 * window.el (display-buffer-other-frame): Fix doc-string.
1445 (Bug#15868)
1446
1447 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1448
1449 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1450
1451 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1452
1453 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1454 (tramp-sh-handle-file-local-copy): Don't write a message when
1455 saving temporary files.
1456
1457 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1458 both directories are remote.
1459 (tramp-smb-handle-directory-files): Do not return double entries.
1460 Do not expand full file names.
1461 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1462 (tramp-smb-handle-write-region): Implement APPEND.
1463 (tramp-smb-get-stat-capability): Fix a stupid bug.
1464
1465 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1466
1467 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1468
1469 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1470
1471 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1472 throwing error over malformed let/let* (bug#15814).
1473
1474 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1475
1476 * iswitchb.el (iswitchb-mode): Mark obsolete.
1477
1478 2013-11-11 Glenn Morris <rgm@gnu.org>
1479
1480 * international/uni-bidi.el, international/uni-category.el:
1481 * international/uni-name.el, international/uni-numeric.el:
1482 Regenerate for Unicode 6.3.0.
1483
1484 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1485
1486 * net/tramp.el (tramp-methods):
1487 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1488 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1489
1490 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1491
1492 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1493 Force highlighting text after Summary keyword in doc face for rpm.
1494
1495 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1496
1497 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1498 available and the word has no wildcards, append one to the grep pattern.
1499 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1500 (ispell-complete-word): Call `ispell-lookup-words' with the value
1501 independent of `ispell-look-p'.
1502
1503 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1504
1505 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1506 Not after "||".
1507 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1508 their parent.
1509
1510 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1511
1512 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1513 (ruby-font-lock-keywords): Use backquote.
1514
1515 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1516
1517 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1518 (ruby-smie--backward-token): Only consider full-string matches.
1519
1520 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1521
1522 * faces.el (describe-face): Add distant-foreground.
1523
1524 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1525
1526 * progmodes/ruby-mode.el: Improve encoding comment handling.
1527 (ruby-encoding-magic-comment-style): New option.
1528 (ruby-custom-encoding-magic-comment-template): New option.
1529 (ruby--insert-coding-comment, ruby--detect-encoding):
1530 New functions extracted from `ruby-mode-set-encoding'.
1531 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1532 to control the style of the auto-inserted encoding comment.
1533
1534 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1535
1536 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1537 Use `smie-backward-sexp' with token argument.
1538
1539 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1540
1541 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1542 Remove instrumentation code.
1543
1544 2013-11-08 Glenn Morris <rgm@gnu.org>
1545
1546 * progmodes/autoconf.el (autoconf-mode):
1547 Tweak comment-start-skip. (Bug#15822)
1548
1549 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1550
1551 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1552 at bobp (bug#15826).
1553 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1554
1555 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1556
1557 * man.el (Man-start-calling): New macro, extracted from
1558 Man-getpage-in-background.
1559 (Man-getpage-in-background): Use it.
1560 (Man-update-manpage): New command.
1561 (Man-mode-map): Bind it.
1562
1563 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1564
1565 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1566 of "and", "or", "&&" and "||".
1567 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1568 argument. Prohibit opening curly brace because it could only be a
1569 block opener in that position.
1570 (ruby-smie--forward-token, ruby-smie--backward-token):
1571 Separate "|" from "&" or "*" going after it. That can happen in block
1572 arguments.
1573 (ruby-smie--indent-to-stmt): New function, seeks the end of
1574 previous statement or beginning of buffer.
1575 (ruby-smie-rules): Use it.
1576 (ruby-smie-rules): Check if there's a ":" before a curly block
1577 opener candidate; if there is, it's a hash.
1578
1579 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1580
1581 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1582 (cl--block-wrapper): Fix last accidental change.
1583
1584 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1585
1586 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1587 Instrument, in order to hunt failure on hydra.
1588
1589 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1590
1591 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1592 malformed bindings form (bug#15814).
1593
1594 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1595
1596 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1597 "." compared to " @ ". This incidentally fixes some indentation
1598 examples with "do".
1599 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1600 (ruby-smie-grammar): New tokens: "and" and "or".
1601 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1602 Exclude "and" and "or". Remove "do" in order to work around token
1603 priorities.
1604 (ruby-smie-rules): Add all infix tokens. Handle the case of
1605 beginning-of-buffer.
1606
1607 2013-11-06 Glenn Morris <rgm@gnu.org>
1608
1609 * Makefile.in (setwins_almost, setwins_for_subdirs):
1610 Avoid accidental matches.
1611
1612 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1613
1614 * menu-bar.el (popup-menu): Use key-binding.
1615
1616 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1617
1618 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1619 menus, support also the menus produced by minor modes.
1620 (Bug#15817)
1621
1622 2013-11-06 Leo Liu <sdl.web@gmail.com>
1623
1624 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1625 DISTANCE to bound the search. All uses changed. (Bug#15808)
1626
1627 2013-11-06 Glenn Morris <rgm@gnu.org>
1628
1629 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1630 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1631 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1632
1633 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1634
1635 * electric.el (electric-indent-just-newline): New command.
1636 (electric-indent-mode-map): New keymap.
1637 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1638 Re-add :group which weren't redundant.
1639
1640 * electric.el (electric-indent-local-mode): New minor mode.
1641 (electric-indent-functions-without-reindent): New var.
1642 (electric-indent-post-self-insert-function): Use it.
1643 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1644
1645 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1646
1647 * international/quail.el (quail-help): Be more explicit about the
1648 meaning of the labels shown on the keys. (Bug#15800)
1649
1650 * startup.el (normal-top-level): Load the subdirs.el files before
1651 setting the locale environment. (Bug#15805)
1652
1653 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1654
1655 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1656 via arguments so as to get the right ones (bug#15418).
1657
1658 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1659
1660 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1661
1662 Fix problems found while writing a test suite.
1663
1664 * net/tramp-compat.el (tramp-compat-load): New defun.
1665 * net/tramp.el (tramp-handle-load): Use it.
1666
1667 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1668 "(numberp ok-if-already-exists)" correctly.
1669
1670 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1671
1672 * international/characters.el (glyphless-char-display-control):
1673 Add usage note.
1674
1675 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1676
1677 * progmodes/python.el (python-mode):
1678 * progmodes/scheme.el (scheme-mode):
1679 * progmodes/prolog.el (prolog-mode):
1680 * progmodes/ruby-mode.el (ruby-mode):
1681 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1682 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1683
1684 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1685
1686 * rect.el (rectangle--highlight-for-redisplay):
1687 * emacs-lisp/smie.el (smie--next-indent-change):
1688 Use buffer-chars-modified-tick.
1689
1690 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1691
1692 * electric.el (electric-indent-post-self-insert-function):
1693 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1694
1695 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1696
1697 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1698
1699 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1700
1701 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1702 (bug#15786).
1703
1704 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1705
1706 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1707
1708 * progmodes/python.el: Fix up last change.
1709 (python-shell--save-temp-file): New function.
1710 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1711 `string' comes from the current buffer.
1712 (python-shell-send-string-no-output): Remove `msg' arg.
1713 (python--use-fake-loc): New var.
1714 (python-shell-buffer-substring): Obey it. Try to compensate for the
1715 extra coding line added by python-shell--save-temp-file.
1716 (python-shell-send-region): Use python-shell--save-temp-file and
1717 python-shell-send-file directly. Add `nomain' argument.
1718 (python-shell-send-buffer): Use python-shell-send-region.
1719 (python-electric-pair-string-delimiter): New function.
1720 (python-mode): Use it.
1721
1722 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1723
1724 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1725 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1726 environment and decoding all of the default-directory's to here
1727 from command-line.
1728 (command-line): Decode also argv[0].
1729
1730 * loadup.el: Error out if default-directory is a multibyte string
1731 when we are dumping.
1732
1733 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1734
1735 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1736
1737 * emacs-lisp/package.el (package-menu-mode)
1738 (package-menu--print-info, package-menu--archive-predicate):
1739 Add Archive column to package list.
1740
1741 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1742
1743 Fix problems found while writing a test suite.
1744
1745 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1746 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1747 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1748 to nil when running original file name handler. Otherwise,
1749 there are problems with constructs like "$$FOO".
1750
1751 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1752 for `localname'.
1753
1754 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1755
1756 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1757
1758 * subr.el (version<, version<=, version=):
1759 Update docstrings with information for snapshot versions.
1760
1761 * helpers.el: New library for misc helper functions.
1762 (hash-table-keys): New function returning a list of hash keys.
1763 (hash-table-values): New function returning a list of hash values.
1764
1765 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1766
1767 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1768 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1769
1770 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1771
1772 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1773 checking whether point is after a 1-letter word.
1774
1775 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1776
1777 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1778 Don't infloop when expanding region over `multiline' syntax-type that
1779 begins a line (bug#15778).
1780
1781 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1782
1783 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1784 Make it into a proper minor mode.
1785 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1786 (rectangle-mark-mode-map): New keymap.
1787 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1788
1789 2013-11-04 Glenn Morris <rgm@gnu.org>
1790
1791 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1792
1793 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1794
1795 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1796 (ruby-smie-rules): Use smie-rule-parent instead.
1797
1798 * emacs-lisp/smie.el (smie-rule-parent): Always call
1799 smie-indent-virtual rather than only for hanging tokens.
1800 (smie--next-indent-change): New helper command.
1801
1802 2013-11-03 Glenn Morris <rgm@gnu.org>
1803
1804 * Makefile.in (abs_srcdir): Remove.
1805 (emacs): Unset EMACSLOADPATH.
1806
1807 2013-11-02 Glenn Morris <rgm@gnu.org>
1808
1809 * Makefile.in (EMACS): Use a relative filename.
1810 (abs_top_builddir): Remove.
1811 (custom-deps, finder-data, autoloads): Use --chdir.
1812
1813 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1814
1815 Use relative filenames in TAGS files.
1816 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1817 (lisptagsfiles4, TAGS): Use relative file names.
1818 (TAGS-LISP): Remove.
1819 (maintainer-clean): No more TAGS-LISP file.
1820
1821 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1822 (lisptagsfiles4): Use absolute filenames again.
1823 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1824 Remove all *loaddefs files, not just the first. Remove esh-groups.
1825 (maintainer-clean): Delete TAGS, TAGS-LISP.
1826
1827 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1828
1829 * emacs-lisp/package.el (package-version-join):
1830 Recognize snapshot versions.
1831
1832 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1833
1834 * subr.el (version-regexp-alist): Add support for snapshot versions.
1835
1836 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1837
1838 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1839 New function, replacement for `smie-rule-parent' for when we want to
1840 skip over our direct parent if it's an assignment token..
1841 (ruby-smie-rules): Use it.
1842
1843 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1844
1845 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1846 unconditionally. Remove now unnecessary forward declarations.
1847 Remove XEmacs-specific setup.
1848 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1849 (ruby-font-lock-syntactic-keywords)
1850 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1851 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1852 (ruby-here-doc-end-syntax): Remove.
1853 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1854 defined as function.
1855
1856 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1857
1858 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1859
1860 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1861
1862 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1863 table and abbrev table, `define-derived-mode' does that for us
1864 anyway.
1865
1866 2013-11-01 Glenn Morris <rgm@gnu.org>
1867
1868 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1869 files is atomic for some time, so no parallel compilation issues).
1870
1871 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1872
1873 * faces.el (face-x-resources): Add :distant-foreground.
1874 (region): Use :distant-foreground for gtk and ns.
1875
1876 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1877
1878 Allow multiple bibliographies when BibLaTeX is used rather than
1879 BibTeX.
1880 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1881 (reftex-locate-bibliography-files): Us it.
1882
1883 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1884
1885 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1886 allow comments in pbm files.
1887
1888 * term/w32-win.el (dynamic-library-alist): Support newer versions
1889 of libjpeg starting with v7: look only for the DLL from the
1890 version against which Emacs was built.
1891 Support versions of libpng beyond 1.4.x.
1892 Support libtiff v4.x.
1893
1894 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1895
1896 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1897 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1898 Add property :safe.
1899 (ruby-deep-arglist): Add property :type.
1900
1901 2013-10-31 Glenn Morris <rgm@gnu.org>
1902
1903 * Makefile.in (custom-deps, finder-data): No need to setq the target
1904 variables, we are in the right directory and the defaults work fine.
1905
1906 2013-10-30 Glenn Morris <rgm@gnu.org>
1907
1908 * Makefile.in (autoloads): Do not use abs_lisp.
1909
1910 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1911 `newline' does not respect `standard-output', so use `princ'.
1912
1913 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1914
1915 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1916 * buff-menu.el (Buffer-menu--unmark): New function.
1917 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1918
1919 2013-10-30 Glenn Morris <rgm@gnu.org>
1920
1921 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1922
1923 * emacs-lisp/package.el (lm-homepage): Declare.
1924
1925 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1926 Fix doc typos.
1927
1928 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1929
1930 * Makefile.in (finder-data, autoloads, update-subdirs)
1931 (compile-main, compile-clean, compile-always, bootstrap-clean):
1932 Check return value of cd.
1933 (compile-calc): Remove.
1934
1935 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1936
1937 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1938
1939 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1940 (byte-compile-and-folded): New function.
1941 (=, <, >, <=, >=): Use it.
1942
1943 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1944 (path-separator, null-device, buffer-file-coding-system)
1945 (lpr-headers-switches): Check system-type before modifying them.
1946 (find-buffer-file-type-coding-system): Mark obsolete.
1947 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1948 find-file-not-found-set-buffer-file-coding-system.
1949 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1950 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1951 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1952 (w32-direct-print-region-helper, w32-direct-print-region-function)
1953 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1954 * startup.el (normal-top-level-add-subdirs-to-load-path):
1955 * ps-print.el (ps-print-region-function):
1956 * lpr.el (print-region-function): Use new name.
1957
1958 * subr.el (custom-declare-variable-early): Remove function.
1959 (custom-declare-variable-list): Remove var.
1960 (error, user-error): Remove `while' loop.
1961 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1962 (user-emacs-directory-warning, locate-user-emacs-file):
1963 Move to files.el.
1964 * simple.el (read-quoted-char-radix, read-quoted-char):
1965 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1966 Move from subr.el.
1967 * custom.el (custom-declare-variable-list): Don't process
1968 custom-declare-variable-list.
1969
1970 * progmodes/python.el (python-shell-get-buffer): New function.
1971 (python-shell-get-process): Use it.
1972 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1973 Python which encoding was used. Don't split-string since we only care
1974 about the first line. Return the temp-file, if applicable.
1975 (python-shell-send-region): Tell compile.el how to turn locations in
1976 the temp-file into locations in the source buffer.
1977
1978 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1979
1980 * subr.el (undefined): Add missing behavior from the C code for
1981 unbound keys.
1982
1983 * rect.el: Use lexical-binding. Add new rectangular region support.
1984 (rectangle-mark): New command.
1985 (rectangle--region): New var.
1986 (deactivate-mark-hook): Reset rectangle--region.
1987 (rectangle--extract-region, rectangle--insert-for-yank)
1988 (rectangle--highlight-for-redisplay)
1989 (rectangle--unhighlight-for-redisplay): New functions.
1990 (region-extract-function, redisplay-unhighlight-region-function)
1991 (redisplay-highlight-region-function): Use them to handle
1992 rectangular region.
1993 * simple.el (region-extract-function): New var.
1994 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1995 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1996 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1997 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1998 (redisplay-unhighlight-region-function)
1999 (redisplay-highlight-region-function): New vars.
2000 (redisplay--update-region-highlight): New function.
2001 (pre-redisplay-function): Use it.
2002 (exchange-point-and-mark): Don't deactivate the mark before
2003 reactivate-it anyway.
2004 * comint.el (comint-kill-region): Remove yank-handler argument.
2005 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2006 (delete-char): Remove property, since it's now part of their
2007 default behavior.
2008 (self-insert-iso): Remove property since this command doesn't exist.
2009
2010 * emacs-lisp/package.el (package--download-one-archive)
2011 (describe-package-1): Don't query the user about final newline.
2012
2013 2013-10-29 Daniel Colascione <dancol@dancol.org>
2014
2015 * net/tramp.el (tramp-methods): Document new functionality.
2016 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2017 tramp-hostname-checker if method provides one instead of scanning
2018 argument list for "%h" to decide hostname acceptability.
2019
2020 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2021
2022 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2023 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2024 Handle COPY-CONTENTS. (Bug#15737)
2025
2026 2013-10-28 Daiki Ueno <ueno@gnu.org>
2027
2028 * epa-file.el
2029 (epa-file-cache-passphrase-for-symmetric-encryption):
2030 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2031
2032 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2033
2034 * image.el (defimage):
2035 (image-load-path): Doc fixes.
2036
2037 2013-10-27 Alan Mackenzie <acm@muc.de>
2038
2039 Indent statements in macros following "##" correctly.
2040 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2041 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2042
2043 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2044
2045 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2046
2047 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2048
2049 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2050 after `=' is probably a new expression.
2051
2052 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2053
2054 * man.el (man-imenu-title): New option.
2055 (Man-mode-map): Add menu. (Bug#15722)
2056 (Man-mode): Add imenu to menu.
2057
2058 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2059
2060 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2061 specific in what the first arg can be: a non-keyword word,
2062 string/regexp/percent literal opener, opening paren, or unary
2063 operator followed directly by word.
2064
2065 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2066
2067 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2068 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2069 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2070 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2071 Remove vars, they do not apply any more.
2072 (prolog-mode-abbrev-table): Remove redundant declaration.
2073 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2074 (prolog-use-smie): Remove.
2075 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2076 supported by prolog-electric-if-then-else-flag.
2077 (prolog-mode-variables, prolog-menu): Use setq-local.
2078 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2079 Remove binding to `Backspace' since this key doesn't exist anyway.
2080 Remove bindings for electric self-inserting keys.
2081 (prog-mode): Assume it's defined.
2082 (prolog-post-self-insert): New function.
2083 (prolog-mode): Use it.
2084 (prolog-indent-line, prolog-indent-level)
2085 (prolog-find-indent-of-matching-paren)
2086 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2087 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2088 (prolog-goto-next-paren, prolog-in-string-or-comment)
2089 (prolog-tokenize, prolog-inside-mline-comment)
2090 (prolog-find-start-of-mline-comment): Remove functions.
2091 (prolog-find-unmatched-paren, prolog-clause-end)
2092 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2093 (prolog-electric--if-then-else): Rename from
2094 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2095 (prolog-tokenize-searchkey): Remove const.
2096 (prolog-clause-info): Use forward-sexp.
2097 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2098 (prolog-electric-if-then-else): Remove commands.
2099 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2100 for use in post-self-insert-hook.
2101 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2102 for use in post-self-insert-hook.
2103 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2104 for use in post-self-insert-hook.
2105 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2106 adapt it for use in post-self-insert-hook.
2107
2108 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2109
2110 * emacs-lisp/ert.el (ert-run-tests-interactively):
2111 Use `completing-read'. (Bug#9756)
2112
2113 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2114
2115 * simple.el (line-move): Call line-move-1 instead of
2116 line-move-visual when the current window hscroll is zero, but
2117 temporary-goal-column indicates we will need to hscroll as result
2118 of the movement. (Bug#15712)
2119
2120 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2121
2122 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2123 capitalization. Use :visible instead of :active.
2124 Fix `ruby-indent-exp' reference. Add menu items for the generic
2125 commands that are used with SMIE.
2126 (ruby-do-end-to-brace): Insert space after `{'.
2127
2128 2013-10-25 John Anthony <john@jo.hnanthony.com>
2129
2130 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2131
2132 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2133
2134 2013-10-25 Glenn Morris <rgm@gnu.org>
2135
2136 * vc/vc.el (vc-print-log): Don't use a working revision unless
2137 one was explicitly specified. (Bug#15322)
2138
2139 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2140
2141 * subr.el (add-to-list): Preserve return value in compiler-macro
2142 (bug#15692).
2143
2144 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2145
2146 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2147 result. Ask user to retry using '-all' flag. (Bug#15701)
2148
2149 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2150
2151 * emacs-lisp/smie.el: New smie-config system.
2152 (smie-config): New defcustom.
2153 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2154 (smie-config-guess, smie-config-save): New commands.
2155 (smie-config--mode-local, smie-config--buffer-local)
2156 (smie-config--trace, smie-config--modefuns): New vars.
2157 (smie-config--advice, smie-config--mode-hook)
2158 (smie-config--setter, smie-config-local, smie-config--get-trace)
2159 (smie-config--guess-value, smie-config--guess): New functions.
2160 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2161 text properties. Treat "string fence" syntax like string syntax.
2162
2163 * progmodes/sh-script.el (sh-use-smie): Change default.
2164 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2165 (sh-var-value): Simplify by CSE.
2166 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2167 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2168 is used.
2169 (sh-guess-basic-offset): Use cl-incf.
2170 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2171
2172 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2173
2174 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2175 (bug#15699).
2176
2177 2013-10-24 Glenn Morris <rgm@gnu.org>
2178
2179 * Makefile.in (abs_top_srcdir): Remove.
2180 (update-subdirs): Use relative path to update-subdirs.
2181
2182 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2183
2184 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2185 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2186 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2187 Call unmsys--file-name before expand-file-name, not after it.
2188
2189 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2190
2191 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2192 (ert-test-skipped): New error.
2193 (ert-skip, ert-stats-skipped): New defuns.
2194 (ert--skip-unless): New macro.
2195 (ert-test-skipped): New struct.
2196 (ert--run-test-debugger, ert-test-result-type-p)
2197 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2198 (ert--stats-set-test-and-result, ert-char-for-test-result)
2199 (ert-string-for-test-result, ert-run-tests-batch)
2200 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2201 Handle skipped tests. (Bug#9803)
2202
2203 2013-10-24 Glenn Morris <rgm@gnu.org>
2204
2205 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2206
2207 * Makefile.in (abs_top_srcdir): New, set by configure.
2208 (update-subdirs): Correct build-aux location.
2209
2210 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2211
2212 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2213 value, whether we could auto-deduce `backend', or not.
2214
2215 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2216 with parameters" example. Simplify the "is it block or is it
2217 hash" check, but also make it more thorough.
2218
2219 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2220
2221 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2222
2223 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2224
2225 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2226 { if it is hanging.
2227
2228 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2229 :before ";".
2230
2231 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2232
2233 * progmodes/compile.el (compilation-directory-matcher)
2234 (compilation-page-delimiter):
2235 Support GNU Make-4.0 directory quoting. (Bug#15678)
2236
2237 2013-10-23 Leo Liu <sdl.web@gmail.com>
2238
2239 * ido.el (ido-tidy): Handle read-only text.
2240
2241 2013-10-23 Glenn Morris <rgm@gnu.org>
2242
2243 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2244 (emacs, compile, compile-always):
2245 Quote entities that might contain whitespace.
2246 (custom-deps, finder-data, autoloads): Use abs_lisp.
2247 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2248 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2249 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2250
2251 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2252
2253 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2254 Use `following-char'.
2255
2256 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2257
2258 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2259 * progmodes/ruby-mode.el (ruby-smie-rules):
2260 Remove corresponding workaround. Fix indentation rule of ";" so it
2261 also applies when ";" is the parent.
2262
2263 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2264
2265 * frame.el (display-screens, display-pixel-height)
2266 (display-pixel-width, display-mm-width, display-backing-store)
2267 (display-save-under, display-planes, display-color-cells)
2268 (display-visual-class, display-monitor-attributes-list):
2269 Mention the optional ‘display’ argument in doc strings.
2270
2271 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2272
2273 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2274 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2275
2276 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2277
2278 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2279 TODO. Add "." after " @ ".
2280 (ruby-smie--at-dot-call): New function. Checks if point at method
2281 call with explicit target.
2282 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2283 to the method name tokens when it precedes them.
2284 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2285 (ruby-smie-rules): Add rule for indentation before and after "."
2286 token.
2287
2288 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2289
2290 * textmodes/remember.el (remember-diary-extract-entries):
2291 Avoid add-to-list.
2292
2293 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2294 an instruction.
2295
2296 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2297
2298 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2299 (ruby-smie--implicit-semi-p): Add new operator chars.
2300
2301 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2302 `smie-down-list'.
2303 (ruby-smie--args-separator-p): Check that there's no newline
2304 between method call and its arguments.
2305
2306 2013-10-20 Alan Mackenzie <acm@muc.de>
2307
2308 Allow comma separated lists after Java "implements".
2309
2310 * progmodes/cc-engine.el (c-backward-over-enum-header):
2311 Parse commas.
2312 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2313 from a "disallowed" list in enum fontification.
2314
2315 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2316
2317 * startup.el (default-frame-background-mode): Remove unused defvar.
2318
2319 * progmodes/verilog-mode.el (verilog-mode): Don't set
2320 comment-indent-function globally.
2321
2322 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2323
2324 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2325 Move Info menu item creation to ns-win.el.
2326
2327 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2328 in menu bar.
2329
2330 * menu-bar.el: Move GNUStep specific menus...
2331
2332 * term/ns-win.el (ns-initialize-window-system): ... to here.
2333
2334 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2335
2336 * simple.el (newline): Only run post-self-insert-hook when
2337 called interactively.
2338
2339 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2340
2341 * icomplete.el (icomplete-with-completion-tables): Add :version.
2342
2343 2013-10-19 Alan Mackenzie <acm@muc.de>
2344
2345 Fix fontification bugs with constructors and const.
2346
2347 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2348 CASE 2) Remove the check for the absence of a suffix construct
2349 after a function declaration with only types (no identifiers) in
2350 the parentheses. Also, accept a function declaration with just a
2351 type inside the parentheses, if this type can be positively
2352 recognised as such, or if a prefix keyword like "explicit" nails
2353 down the construct as a declaration.
2354
2355 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2356
2357 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2358 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2359 the problem whereby selecting a menu item that leads to a
2360 minibuffer prompt moves the cursor out of the minibuffer window,
2361 making it hard to type at the prompt. Suggested by Stefan Monnier
2362 <monnier@iro.umontreal.ca>.
2363
2364 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2365
2366 * menu-bar.el: Don't make Services menu.
2367
2368 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2369
2370 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2371 (ffap-alist): Use ffap-c++-mode for c++-mode.
2372 (ffap-c++-path): New variable.
2373 (ffap-c++-mode): New function.
2374
2375 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2376
2377 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2378
2379 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2380
2381 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2382 introduced on 2013-09-08, which results in an infinite loop
2383 requesting a password.
2384
2385 2013-10-18 Glenn Morris <rgm@gnu.org>
2386
2387 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2388
2389 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2390
2391 Sync with upstream verilog-mode revision 1a6ecec7.
2392 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2393 (verilog-mode-release-date): Remove.
2394 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2395 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2396 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2397 (verilog-auto-tieoff-ignore-regexp)
2398 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2399 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2400 (verilog-signals-with, verilog-dir-cache-preserving)
2401 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2402 Doc fixes.
2403 (verilog-case-fold): New option, to control case folding in
2404 regexp searches, bug597.
2405 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2406 (verilog-string-match-fold, verilog-in-paren-count)
2407 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2408 (verilog-at-close-struct-p): New functions.
2409 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2410 (verilog-forward-sexp, verilog-set-auto-endcomments):
2411 (verilog-leap-to-case-head): Handle "unique0" case.
2412 (verilog-in-constraint-re): New constant.
2413 (verilog-keywords, verilog-type-font-keywords):
2414 Add some SystemVerilog 1800-2012 keywords.
2415 (verilog-label-be): Remove unimplemented argument, bug669.
2416 (verilog-batch-execute-func): When batch expanding clear
2417 create-lockfiles to prevent spurious user locks when a file ends
2418 up not changing.
2419 (verilog-calculate-indent, verilog-calc-1)
2420 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2421 (verilog-do-indent): Fix indentation of nested constraints
2422 and structures.
2423 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2424 (verilog-auto-inst-param): Use verilog-string-match-fold.
2425 (verilog-read-inst-module-matcher):
2426 Fix AUTOINST on gate primitives with #1.
2427 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2428 Reads all user-defined typed variables.
2429 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2430 (verilog-signals-matching-regexp)
2431 (verilog-signals-not-matching-regexp, verilog-auto):
2432 Respect verilog-case-fold.
2433 (verilog-diff-report): Fix line count.
2434 (verilog-auto-assign-modport): Remove unused local `modi'.
2435 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2436 better handle multidimensional arrays.
2437 Fix packed array ports misadding bit index in AUTOINST, bug637.
2438 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2439 to not double-declare existing outputs and inputs, respectively.
2440 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2441 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2442 (verilog-sk-uvm-component): New skeleton.
2443 (verilog-submit-bug-report): Add verilog-case-fold,
2444 remove verilog-mode-release-date.
2445
2446 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2447
2448 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2449 as before.
2450
2451 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2452
2453 * textmodes/remember.el (remember): set buffer-offer-save in
2454 remember buffers (bug#13566).
2455
2456 2013-10-18 Daniel Colascione <dancol@dancol.org>
2457
2458 When evaluating forms in ielm, direct standard output to ielm
2459 buffer. Add new ielm-return-for-effect command. Remove trailing
2460 whitespace throughout.
2461
2462 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2463 (ielm-return-for-effect): New command.
2464 (ielm-send-input): Accept optional `for-effect' parameter.
2465 (ielm-eval-input): Accept optional `for-effect' parameter.
2466 Bind `standard-output' to stream we create using
2467 `ielm-standard-output-impl'. Suppress printing result when
2468 `for-effect'.
2469 (ielm-standard-output-impl): New function.
2470 (inferior-emacs-lisp-mode): Explain new features in documentation.
2471
2472 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2473
2474 Code cleanup.
2475
2476 * net/tramp.el (tramp-debug-message): Do not check for connection
2477 buffer.
2478 (tramp-message): Use "vector" connection property.
2479
2480 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2481 (tramp-equal-remote, tramp-eshell-directory-change)
2482 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2483 (tramp-adb-handle-rename-file)
2484 * net/tramp-cmds.el (tramp-list-remote-buffers)
2485 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2486 * net/tramp-compat.el (tramp-compat-process-running-p)
2487 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2488 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2489 (tramp-gvfs-handle-rename-file)
2490 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2491 (tramp-set-file-uid-gid)
2492 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2493 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2494 of `file-remote-p'.
2495
2496 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2497 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2498 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2499 (tramp-gw-open-network-stream): Suppress unrelated traces.
2500
2501 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2502 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2503 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2504 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2505 connection property.
2506
2507 * net/tramp-cache.el (top): Suppress traces when reading
2508 persistency file.
2509
2510 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2511 Refactor common code. Improve debug message.
2512 (tramp-maybe-open-connection)
2513 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2514 connection buffer too early.
2515
2516 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2517 from `tramp-smb-actions-with-acl'.
2518 (tramp-smb-actions-set-acl): New defconst.
2519 (tramp-smb-handle-copy-directory)
2520 (tramp-smb-action-get-acl): New defun, renamed from
2521 `tramp-smb-action-with-acl'.
2522 (tramp-smb-action-set-acl): New defun.
2523 (tramp-smb-handle-set-file-acl): Rewrite.
2524
2525 2013-10-17 Glenn Morris <rgm@gnu.org>
2526
2527 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2528
2529 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2530
2531 * skeleton.el (skeleton-newline): Remove.
2532 (skeleton-internal-1): Use (insert "\n") instead.
2533
2534 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2535 let-bindings.
2536
2537 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2538 forward-sexp-function while we redo its job (bug#15613).
2539
2540 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2541
2542 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2543 represented by lists.
2544
2545 2013-10-16 Glenn Morris <rgm@gnu.org>
2546
2547 * tmm.el (tmm--history): New dynamic variable.
2548 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2549
2550 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2551
2552 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2553 (tramp-smb-errors): Add error messages.
2554 (tramp-smb-actions-with-acl): New defconst.
2555 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2556 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2557 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2558 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2559 (tramp-smb-get-stat-capability): Fix tests.
2560
2561 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2562
2563 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2564 (bug#15580).
2565
2566 2013-10-16 Glenn Morris <rgm@gnu.org>
2567
2568 * ansi-color.el (ansi-color-drop-regexp):
2569 Add 1J, 1K, 2K. (Bug#15617)
2570
2571 * files.el (hack-local-variables--warned-lexical): New.
2572 (hack-local-variables):
2573 Warn about misplaced lexical-binding. (Bug#15616)
2574
2575 * net/eww.el (eww-render): Always set eww-current-url,
2576 and update header line. (Bug#15622)
2577 (eww-display-html): ... Rather than just doing it here.
2578
2579 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2580
2581 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2582 menu navigations commands.
2583
2584 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2585
2586 * progmodes/subword.el (subword-capitalize): Be careful when
2587 the search for [[:alpha:]] fails (bug#15580).
2588
2589 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2590
2591 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2592 to commands that scroll the menu.
2593
2594 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2595
2596 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2597 Handle methods ending with `?' and `!'.
2598
2599 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2600
2601 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2602 `japanese-cp932' to `cp932' to fix the problem where saving a
2603 source file written in Shift_JIS twice would end up having
2604 `coding: japanese-cp932' which Ruby could not recognize.
2605 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2606 in `ruby-encoding-map'.
2607 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2608 doesn't need to be explicitly declared in magic comment.
2609 (ruby-encoding-map): Add type declaration for better customize UI.
2610
2611 2013-10-13 Glenn Morris <rgm@gnu.org>
2612
2613 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2614 Occur buffers are read-only. http://bugs.debian.org/720775
2615
2616 * emacs-lisp/authors.el (authors-fixed-entries):
2617 Comment out old alpha stuff.
2618
2619 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2620
2621 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2622 to `after-save-hook' instead of `before-save-hook'.
2623 (ruby-mode-set-encoding): Use the value of coding system used to
2624 write the file. Call `basic-save-buffer-1' after modifying the
2625 buffer.
2626
2627 2013-10-13 Alan Mackenzie <acm@muc.de>
2628
2629 Fix indentation/fontification of Java enum with
2630 "implements"/generic.
2631
2632 * progmodes/cc-engine.el (c-backward-over-enum-header):
2633 Extracted from the three other places and enhanced to handle generics.
2634 (c-inside-bracelist-p): Uses new function above.
2635 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2636 function above.
2637 (c-font-lock-enum-tail): Uses new function above.
2638
2639 2013-10-13 Kenichi Handa <handa@gnu.org>
2640
2641 * international/mule-cmds.el (select-safe-coding-system): Remove a
2642 superfluous condition in chekcing whether a coding system is safe
2643 or not.
2644
2645 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2646
2647 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2648
2649 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2650
2651 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2652
2653 2013-10-13 Glenn Morris <rgm@gnu.org>
2654
2655 * menu-bar.el (menu-bar-update-buffers):
2656 Unify Buffers menu prompt string. (Bug#15576)
2657
2658 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2659
2660 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2661 Add some entries.
2662 (authors-fixed-entries): Use accented form of name.
2663
2664 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2665
2666 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2667 method calls (bug#15594).
2668 (ruby-smie--args-separator-p): New function.
2669 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2670 recognize paren-free method calls.
2671
2672 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2673 internals of universal-argument.
2674
2675 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2676
2677 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2678 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2679 dropped menu on second mouse click on the menu bar.
2680
2681 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2682
2683 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2684 (explicit-shell-file-name): Declare.
2685 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2686 (sh-completion-at-point-function): New function.
2687 (sh-mode): Use it.
2688 (sh-smie--keyword-p): Remove unused argument.
2689 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2690 vars.
2691 (sh-set-shell): Always setup SMIE, even if we use the
2692 old indentation code.
2693
2694 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2695
2696 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2697 cases of ? and =.
2698 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2699 predicate would return nil are almost non-existent.
2700 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2701
2702 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2703 cache also after commands that modify the buffer but don't move
2704 point.
2705
2706 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2707
2708 * env.el (substitute-env-in-file-name): New function.
2709 (substitute-env-vars): Extend the meaning of the optional arg.
2710
2711 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2712
2713 * term/w32-win.el (dynamic-library-alist): Define separate lists
2714 of GIF DLLs for versions before and after 5.0.0 of giflib.
2715 (Bug#15531)
2716
2717 2013-10-10 João Távora <joaotavora@gmail.com>
2718
2719 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2720 not locked, use last revision and current source as
2721 defaults. (Bug#15569)
2722
2723 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2724
2725 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2726 menu-bar is hidden.
2727
2728 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2729
2730 * window.el (pop-to-buffer-same-window): Fix doc-string.
2731 (Bug#15492)
2732
2733 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2734
2735 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2736
2737 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2738
2739 * calendar/icalendar.el (icalendar-import-file):
2740 Fix interactive spec. (Bug#15482)
2741
2742 2013-10-10 Glenn Morris <rgm@gnu.org>
2743
2744 * desktop.el (desktop-save): Default to saving in .emacs.d,
2745 since PWD is no longer in desktop-path by default. (Bug#15319)
2746
2747 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2748 now that text mode has a menu with the same entry.
2749 (menu-bar-text-mode-auto-fill): Remove now unused func.
2750 * textmodes/text-mode.el (text-mode-map):
2751 Use auto-fill help text from menu-bar.el.
2752
2753 2013-10-10 John Anthony <john@jo.hnanthony.com>
2754
2755 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2756
2757 2013-10-09 Juri Linkov <juri@jurta.org>
2758
2759 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2760 instead of this-command-keys. Add universal-argument-more and
2761 universal-argument-minus to the list of prefix commands. (Bug#15568)
2762
2763 2013-10-09 Glenn Morris <rgm@gnu.org>
2764
2765 * vc/vc-svn.el (vc-svn-create-repo):
2766 Expand paths in file://... url. (Bug#15446)
2767
2768 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2769 Add some entries.
2770 (authors): Remove unused local variables.
2771
2772 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2773
2774 * profiler.el: Create a more coherent calltree from partial backtraces.
2775 (profiler-format): Hide the tail with `invisible' so that C-s can still
2776 find the hidden elements.
2777 (profiler-calltree-depth): Don't recurse so enthusiastically.
2778 (profiler-function-equal): New hash-table-test.
2779 (profiler-calltree-build-unified): New function.
2780 (profiler-calltree-build): Use it.
2781 (profiler-report-make-name-part): Indent the calltree less.
2782 (profiler-report-mode): Add visibility specs for profiler-format.
2783 (profiler-report-expand-entry, profiler-report-toggle-entry):
2784 Expand the whole subtree when provided with a prefix arg.
2785
2786 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2787
2788 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2789 iuwu-mod token.
2790 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2791 hanging iuwu-mod token.
2792 (ruby-smie--forward-token): Do not include a dot after a token in
2793 that token.
2794 (ruby-smie--backward-token): Likewise.
2795
2796 2013-10-08 Juri Linkov <juri@jurta.org>
2797
2798 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2799 to isearch-other-control-char.
2800 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2801 and isearch-post-command-hook to post-command-hook.
2802 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2803 and isearch-post-command-hook from post-command-hook.
2804 (isearch-unread-key-sequence)
2805 (isearch-reread-key-sequence-naturally)
2806 (isearch-lookup-scroll-key, isearch-other-control-char)
2807 (isearch-other-meta-char): Remove functions.
2808 (isearch-pre-command-hook, isearch-post-command-hook):
2809 New functions based on isearch-other-meta-char rewritten
2810 relying on the new behavior of overriding-terminal-local-map
2811 that does not replace the local keymaps any more. (Bug#15200)
2812
2813 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2814
2815 Support menus on text-mode terminals.
2816 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2817 functionality.
2818
2819 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2820
2821 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2822 Move here from mouse.el.
2823 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2824 and arrow keys.
2825 (tty-menu-navigation-map): New map for TTY menu navigation.
2826
2827 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2828
2829 * frame.el (display-mouse-p): Report text-mode mouse as available
2830 on w32.
2831 (display-popup-menus-p): Report availability if mouse is
2832 available; don't condition on window-system.
2833
2834 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2835 (tty-menu-selected-face): New faces.
2836
2837 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2838
2839 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2840 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2841 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2842 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2843 New constants.
2844 (lisp-mode-variables): New `elisp' argument.
2845 (emacs-lisp-mode): Use it.
2846 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2847 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2848
2849 * indent.el: Use lexical-binding.
2850 (indent-region): Add progress reporter.
2851 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2852 last step.
2853 (indent--next-tab-stop): New function to implement this behavior.
2854 (tab-to-tab-stop, move-to-tab-stop): Use it.
2855
2856 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2857
2858 * indent.el (indent-rigidly--current-indentation): New function.
2859 (indent-rigidly-map): New var.
2860 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2861
2862 2013-10-08 Bastien Guerry <bzg@gnu.org>
2863
2864 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2865
2866 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2867
2868 * progmodes/perl-mode.el: Use lexical-binding.
2869 Remove redundant :group args.
2870 (perl-nochange): Change default to be closer to other major modes's
2871 standard behavior.
2872 (perl-indent-line): Don't consider text on current line as a
2873 valid beginning of function from which to indent.
2874
2875 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2876 with more than one argument (bug#15538).
2877
2878 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2879
2880 * vc/pcvs.el: Use lexical-binding.
2881 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2882 environment of `eval'.
2883 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2884 than a list of expressions. Adjust callers.
2885 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2886
2887 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2888
2889 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2890 case of the dot in a chained method call being on the following line.
2891
2892 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2893
2894 * electric.el (electric-indent-inhibit): New var.
2895 (electric-indent-post-self-insert-function): Use it.
2896 * progmodes/python.el (python-mode): Set it.
2897
2898 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2899 open braces.
2900
2901 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2902
2903 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2904 (css-mode): Use electric-indent-chars.
2905
2906 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2907 (font-lock-beg, font-lock-end): Move before first use.
2908 (nxml-mode): Use syntax-propertize-function.
2909 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2910 (nxml-extend-after-change-region): Remove.
2911 * nxml/xmltok.el: Use lexical-binding.
2912 (xmltok-save): Use `declare'.
2913 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2914 * nxml/nxml-util.el: Use lexical-binding.
2915 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2916 Use `declare'.
2917 * nxml/nxml-ns.el: Use lexical-binding.
2918 (nxml-ns-save): Use `declare'.
2919 (nxml-ns-prefixes-for): Avoid add-to-list.
2920 * nxml/rng-match.el: Use lexical-binding.
2921 (rng--ipattern): Use cl-defstruct.
2922 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2923 (rng-cons-group-after, rng-subst-group-after)
2924 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2925 Use closures instead of `(lambda...).
2926
2927 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2928
2929 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2930 of BEG and END.
2931
2932 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2933 Use `tramp-handle-insert-file-contents'.
2934 (tramp-gvfs-handle-insert-file-contents): Remove function.
2935
2936 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2937 Use `save-restriction' in order to keep markers.
2938
2939 * net/trampver.el: Update release number.
2940
2941 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2942
2943 * progmodes/compile.el (compilation-parse-errors):
2944 Use compilation--put-prop.
2945 (compilation--ensure-parse): Check compilation-multiline.
2946
2947 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2948
2949 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2950 lexical-binding.
2951
2952 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2953
2954 * progmodes/ruby-mode.el: Fix recently added tests.
2955 (ruby-smie-grammar): Add - and +.
2956 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2957 (ruby-smie--backward-id): New functions.
2958 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2959 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2960 any more.
2961
2962 2013-10-07 Leo Liu <sdl.web@gmail.com>
2963
2964 * register.el (register-preview-delay)
2965 (register-preview-functions): New variables.
2966 (register-read-with-preview, register-preview)
2967 (register-describe-oneline): New functions.
2968 (point-to-register, window-configuration-to-register)
2969 (frame-configuration-to-register, jump-to-register)
2970 (number-to-register, view-register, insert-register)
2971 (copy-to-register, append-to-register, prepend-to-register)
2972 (copy-rectangle-to-register): Use register-read-with-preview to
2973 read register. (Bug#15525)
2974
2975 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2976
2977 * net/network-stream.el (network-stream-open-starttls): Don't add
2978 --insecure if it's already present, because that gnutls-cli
2979 rejects getting that parameter twice.
2980
2981 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2982
2983 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2984 keyword, too.
2985
2986 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2987
2988 * newcomment.el (comment-use-global-state): Change default value
2989 to t, mark obsolete (Bug#15251).
2990 (comment-beginning): In addition to `comment-to-syntax', check the
2991 value of `comment-use-global-state'.
2992
2993 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2994
2995 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2996 (ruby-comment-column): Follow the global default, by default.
2997 (ruby-smie-grammar): Add assignment syntax.
2998 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2999 open-paren, a comma, or a \.
3000 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3001 and line continuations.
3002 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3003 followed by implicit semi-colons. Add rule for string concatenation
3004 and for indentation at BOB.
3005 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3006
3007 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3008 calling next-sexp, since next-token may have skipped chars which
3009 next-sexp doesn't know should be skipped!
3010
3011 2013-10-05 Leo Liu <sdl.web@gmail.com>
3012
3013 * progmodes/octave.el (octave-send-region):
3014 Call compilation-forget-errors.
3015
3016 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3017
3018 * vc/vc-svn.el (vc-svn-find-admin-dir):
3019 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3020 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3021 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3022 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3023
3024 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3025
3026 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3027
3028 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3029
3030 * subr.el (read-passwd): Hide chars even when called within a context
3031 where after-change-functions is disabled (bug#15501).
3032 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3033 until we removed ourself from overriding-terminal-local-map.
3034
3035 2013-10-04 Leo Liu <sdl.web@gmail.com>
3036
3037 * progmodes/octave.el (inferior-octave-mode):
3038 Call compilation-forget-errors.
3039
3040 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3041
3042 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3043
3044 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3045
3046 * net/secrets.el (secrets-create-collection): Add optional
3047 argument ALIAS. Use proper Label keyword. Append ALIAS as
3048 dbus-call-method argument. (Bug#15516)
3049
3050 2013-10-04 Leo Liu <sdl.web@gmail.com>
3051
3052 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3053 (inferior-octave-compilation-font-lock-keywords): New variables.
3054 (compilation-error-regexp-alist)
3055 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3056 (inferior-octave-mode): Use compilation-shell-minor-mode.
3057
3058 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3059
3060 * minibuffer.el (completion--replace): Be careful that `end' might be
3061 a marker.
3062
3063 2013-10-03 Daiki Ueno <ueno@gnu.org>
3064
3065 Add support for package signature checking.
3066 * emacs-lisp/package.el (url-http-file-exists-p)
3067 (epg-make-context, epg-context-set-home-directory)
3068 (epg-verify-string, epg-context-result-for)
3069 (epg-signature-status, epg-signature-to-string)
3070 (epg-check-configuration, epg-configuration)
3071 (epg-import-keys-from-file): Declare.
3072 (package-check-signature): New user option.
3073 (package-unsigned-archives): New user option.
3074 (package-desc): Add `signed' field.
3075 (package-load-descriptor): Set `signed' field if .signed file exists.
3076 (package--archive-file-exists-p): New function.
3077 (package--check-signature): New function.
3078 (package-install-from-archive): Check package signature.
3079 (package--download-one-archive): Check archive signature.
3080 (package-delete): Remove .signed file.
3081 (package-import-keyring): New command.
3082 (package-refresh-contents): Import default keyring.
3083 (package-desc-status): Add "unsigned" status.
3084 (describe-package-1, package-menu--print-info)
3085 (package-menu-mark-delete, package-menu--find-upgrades)
3086 (package-menu--status-predicate): Support "unsigned" status.
3087
3088 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3089
3090 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3091 the new compilation scheme using the new byte-codes.
3092
3093 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3094 (byte-pophandler): New byte codes.
3095 (byte-goto-ops): Adjust accordingly.
3096 (byte-compile--use-old-handlers): New var.
3097 (byte-compile-catch): Use new byte codes depending on
3098 byte-compile--use-old-handlers.
3099 (byte-compile-condition-case--old): Rename from
3100 byte-compile-condition-case.
3101 (byte-compile-condition-case--new): New function.
3102 (byte-compile-condition-case): New function that dispatches depending
3103 on byte-compile--use-old-handlers.
3104 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3105 when we can.
3106
3107 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3108 Optimize under `condition-case' and `catch' if
3109 byte-compile--use-old-handlers is nil.
3110 (disassemble-offset): Handle new bytecodes.
3111
3112 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3113
3114 * subr.el (error): Use `declare'.
3115 (decode-char, encode-char): Use advertised-calling-convention instead
3116 of the docstring to discourage use of the `restriction' arg.
3117
3118 2013-10-03 Daiki Ueno <ueno@gnu.org>
3119
3120 * epg.el (epg-verify-file): Add a comment saying that it does not
3121 notify verification error as a return value nor a signal.
3122 (epg-verify-string): Ditto.
3123
3124 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3125
3126 * progmodes/compile.el (compilation-start): Try globbing the arg to
3127 `cd' (bug#15417).
3128
3129 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3130
3131 Sync with Tramp 2.2.8.
3132
3133 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3134 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3135 * net/trampver.el: Update release number.
3136
3137 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3138
3139 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3140 and default-process-coding-system for darwin only.
3141
3142 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3143
3144 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3145
3146 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3147
3148 * vc/vc-git.el (vc-git-grep): Disable pager.
3149
3150 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3151
3152 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3153 Use :url instead of :homepage, as per
3154 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3155
3156 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3157 non-nil, use `syntax-ppss' (Bug#15251).
3158
3159 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3160
3161 * progmodes/octave.el (inferior-octave-startup-file):
3162 Prefer ~/.emacs.d/init_octave.m.
3163
3164 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3165
3166 * emacs-lisp/package.el (package-desc-from-define):
3167 Accept additional arguments as plist, convert them to an alist and store
3168 them in the `extras' slot.
3169 (package-generate-description-file): Convert extras alist back to
3170 plist and append to the `define-package' form arguments.
3171 (package--alist-to-plist): New function.
3172 (package--ac-desc): Add `extras' slot.
3173 (package--add-to-archive-contents): Check if the archive-contents
3174 vector is long enough, and if it is, pass its `extras' slot value
3175 to `package-desc-create'.
3176 (package-buffer-info): Call `lm-homepage', pass the returned value
3177 to `package-desc-from-define'.
3178 (describe-package-1): Render the homepage button (Bug#13291).
3179
3180 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3181 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3182
3183 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3184
3185 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3186 and default-process-coding-system to utf-8-unix (Bug#15402).
3187
3188 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3189
3190 * subr.el (looking-back): Do not recommend using looking-back.
3191
3192 2013-09-28 Alan Mackenzie <acm@muc.de>
3193
3194 Fix indentation/fontification of Java enum with "implements".
3195
3196 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3197 regexp which matches "implements", etc., in Java.
3198 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3199 specifier clauses coming after "enum".
3200 * progmodes/cc-fonts.el (c-font-lock-declarations)
3201 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3202 after "enum".
3203
3204 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3205
3206 * faces.el (region): Change ns_selection_color to
3207 ns_selection_fg_color, add ns_selection_bg_color.
3208
3209 2013-09-28 Leo Liu <sdl.web@gmail.com>
3210
3211 * progmodes/octave.el (inferior-octave-completion-table)
3212 (inferior-octave-completion-at-point): Minor tweaks.
3213
3214 * textmodes/ispell.el (ispell-lookup-words): Rename from
3215 lookup-words. (Bug#15460)
3216 (lookup-words): Obsolete.
3217 (ispell-complete-word, ispell-command-loop): All uses changed.
3218
3219 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3220
3221 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3222 (octave-mode-menu): Add octave-send-buffer.
3223 (octave-send-buffer): New function.
3224
3225 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3226
3227 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3228 octave-lookfor.
3229 (octave-mode-menu): Add octave-lookfor.
3230 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3231 octave-lookfor.
3232 (octave-lookfor): New function.
3233
3234 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3235
3236 * emacs-lisp/cl-macs.el:
3237 (cl--loop-destr-temps): Remove.
3238 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3239 its convention.
3240 (cl--loop-set-iterator-function): New function.
3241 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3242 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3243 Bind `it' with `let' instead of substituting it with `cl-subst'.
3244 (cl--unused-var-p): New function.
3245 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3246 Eliminate some unused variable warnings (bug#15326).
3247
3248 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3249
3250 * doc-view.el (doc-view-scale-reset): Rename from
3251 `doc-view-reset-zoom-level'.
3252 (doc-view-scale-adjust): New command.
3253 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3254 `doc-view-scale-adjust'.
3255
3256 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3257
3258 * doc-view.el (doc-view-reset-zoom-level): New command.
3259 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3260 zoom commands (bug#15466).
3261
3262 2013-09-26 Kenichi Handa <handa@gnu.org>
3263
3264 * international/quail.el (quail-help): Make it not a command.
3265
3266 2013-09-26 Leo Liu <sdl.web@gmail.com>
3267
3268 * minibuffer.el (completion-all-sorted-completions): Make args
3269 optional as they are.
3270
3271 2013-09-25 Daniel Colascione <dancol@dancol.org>
3272
3273 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3274 specs are and that they're not evaluated.
3275
3276 2013-09-24 Sam Steingold <sds@gnu.org>
3277
3278 * midnight.el (clean-buffer-list-kill-regexps)
3279 (clean-buffer-list-kill-buffer-names): Update for the new Man
3280 buffer naming which includes the object name.
3281
3282 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3283
3284 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3285 (eshell-parse-command, eshell-parse-pipeline): Use it since
3286 eshell-separate-commands requires a dynamic scoped var.
3287 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3288
3289 2013-09-23 Leo Liu <sdl.web@gmail.com>
3290
3291 * autoinsert.el (auto-insert-alist): Make the value of
3292 lexical-binding match its file setting.
3293
3294 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3295
3296 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3297
3298 * autoarg.el (autoarg-kp-digit-argument):
3299 * electric.el (Electric-command-loop):
3300 * kmacro.el (kmacro-step-edit-insert):
3301 Do not set universal-argument-num-events.
3302
3303 2013-09-22 Leo Liu <sdl.web@gmail.com>
3304
3305 * files.el (interpreter-mode-alist): Add octave.
3306
3307 2013-09-21 Alan Mackenzie <acm@muc.de>
3308
3309 C++: fontify identifier in declaration following "public:" correctly.
3310 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3311 to match "public", etc.
3312 (c-decl-prefix-re): Add ":" into the C++ value.
3313 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3314 bit. Add a check for a ":" preceded by "public", etc.
3315
3316 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3317
3318 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3319 recognized by GDB 7.5 and later.
3320
3321 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3322
3323 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3324
3325 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3326
3327 * subr.el (internal--call-interactively): New const.
3328 (called-interactively-p): Use it (bug#3984).
3329
3330 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3331
3332 * vc/pcvs.el (cvs-mode-ignore):
3333 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3334 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3335
3336 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3337
3338 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3339 (eshell-ls-orig-insert-directory): Remove.
3340 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3341 (eshell-ls-use-in-dired): Use advice-add/remove.
3342 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3343 Add `orig-fun' arg for use in :around advice.
3344 Make it check (redundantly) eshell-ls-use-in-dired.
3345
3346 2013-09-19 Glenn Morris <rgm@gnu.org>
3347
3348 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3349
3350 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3351
3352 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3353
3354 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3355
3356 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3357 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3358 (tramp-get-remote-python): New defuns.
3359 (tramp-get-remote-uid-with-perl)
3360 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3361 contributed by yary <not.com@gmail.com> (tiny change).
3362 (tramp-get-remote-uid-with-python)
3363 (tramp-get-remote-gid-with-python): New defuns. Python code
3364 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3365 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3366
3367 2013-09-19 Glenn Morris <rgm@gnu.org>
3368
3369 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3370
3371 * eshell/em-unix.el (eshell-remove-entries):
3372 Rename argument to avoid name-clash with global `top-level'.
3373
3374 * eshell/esh-proc.el (eshell-kill-process-function):
3375 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3376 (eshell-reset-after-proc): Remove unused arg `proc'.
3377
3378 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3379 (directory-files-and-attributes): Mark unused arg.
3380
3381 * eshell/em-unix.el (eshell-remove-entries):
3382 Remove unused arg `path'. Update callers.
3383
3384 * eshell/em-hist.el (eshell-hist-parse-arguments):
3385 Remove unused arg `silent'. Update callers.
3386
3387 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3388 Fix (f)boundp mix-up.
3389
3390 * eshell/em-smart.el (eshell-smart-scroll-window)
3391 (eshell-disable-after-change):
3392 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3393
3394 2013-09-18 Alan Mackenzie <acm@muc.de>
3395
3396 Fix fontification of type when followed by "const".
3397 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3398 "known" types from fontification.
3399
3400 2013-09-18 Glenn Morris <rgm@gnu.org>
3401
3402 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3403 (chart-face-list): Drop Emacsen without display-color-p.
3404
3405 * net/eww.el (libxml-parse-html-region): Declare.
3406 (eww-display-html): Explicit error if no libxml2 support.
3407
3408 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3409
3410 * image.el (image-type-from-buffer, image-multi-frame-p):
3411 Remove --without-x warning/error.
3412
3413 * mouse.el (mouse-yank-primary):
3414 * term.el (term-mouse-paste):
3415 Reorder to silence --without-x compilation.
3416
3417 * mpc.el (doc-view-mode): Silence --without-x compilation.
3418
3419 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3420 Silence --without-x compilation.
3421
3422 * progmodes/gud.el (gud-find-file, gud-mode):
3423 Silence --without-x compilation.
3424 (tooltip-mode): Declare.
3425
3426 * wdired.el (dired-backup-overwrite): Remove declaration.
3427 (wdired-mode-map): Add doc string.
3428
3429 * custom.el (x-get-resource): Declare.
3430
3431 * eshell/em-glob.el (ange-cache):
3432 * eshell/em-unix.el (ange-cache): Declare.
3433
3434 * faces.el (x-display-list, x-open-connection, x-get-resource):
3435 Declare.
3436
3437 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3438 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3439 Declare.
3440
3441 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3442
3443 * net/gnutls.el (gnutls-log-level): Declare.
3444
3445 * net/shr.el (image-size, image-animate): Declare.
3446
3447 * simple.el (font-info): Declare.
3448
3449 * subr.el (x-popup-dialog): Declare.
3450
3451 * term/common-win.el (x-select-enable-primary)
3452 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3453 Declare.
3454
3455 * term/ns-win.el (x-handle-args): Declare.
3456
3457 * term/x-win.el (x-select-enable-clipboard): Declare.
3458
3459 * term/w32-win.el (create-default-fontset): Declare.
3460
3461 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3462 Declare.
3463
3464 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3465 (fit-frame-to-buffer): Explicit error if --without-x.
3466 (mouse-autoselect-window-select): Silence compiler.
3467
3468 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3469
3470 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3471 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3472 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3473 * eshell/esh-util.el (eshell-sublist):
3474 Remove unused local variables.
3475
3476 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3477
3478 * textmodes/two-column.el: Make 2C-split work for --without-x.
3479 (scroll-bar-columns): Autoload.
3480 (top-level): Require fringe when compiling.
3481
3482 2013-09-18 Leo Liu <sdl.web@gmail.com>
3483
3484 * subr.el (add-hook): Robustify to handle closure as well.
3485
3486 2013-09-17 Glenn Morris <rgm@gnu.org>
3487
3488 * simple.el (messages-buffer-mode-map): Unbind "g".
3489
3490 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3491
3492 * help-mode.el (help-mode-finish): Use derived-mode-p.
3493 Remove obsolete highlighting.
3494
3495 * play/life.el (life-mode): Use define-derived-mode. Derive from
3496 special-mode.
3497 (life): Let-bind inhibit-read-only.
3498 (life-setup): Avoid `setq'. Use `life-mode'.
3499
3500 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3501 which should not be needed any more.
3502 (package-menu-refresh, package-menu-describe-package): Use user-error.
3503
3504 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3505 (eshell-post-rewrite-command-hook): Make obsolete.
3506 (eshell-parse-command): Simplify.
3507 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3508 (eshell--cmd): Declare.
3509 (eshell-parse-pipeline): Remove unused var `final-p'.
3510 Pass a dynvar to eshell-post-rewrite-command-hook.
3511 Implement the new eshell-post-rewrite-command-function.
3512 (eshell-invoke-directly): Remove unused arg `input'.
3513 * eshell/esh-io.el (eshell-io-initialize):
3514 Use eshell-post-rewrite-command-function (bug#15399).
3515 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3516 adjust to new calling convention.
3517 (eshell-create-handles): Rename args to avoid clashing with dynvar
3518 `standard-output'.
3519
3520 2013-09-17 Glenn Morris <rgm@gnu.org>
3521
3522 * simple.el (messages-buffer-mode): New major mode.
3523 (messages-buffer): New function.
3524 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3525 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3526 (ert-run-test): Use `messages-buffer' function.
3527 (ert--force-message-log-buffer-truncation): Ignore read-only.
3528 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3529 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3530
3531 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3532
3533 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3534
3535 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3536
3537 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3538
3539 * icomplete.el (icomplete-in-buffer): New var.
3540 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3541 vars and replace them with functions.
3542 (icomplete-minibuffer-setup): Adjust accordingly.
3543 (icomplete--completion-table, icomplete--completion-predicate)
3544 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3545 New functions.
3546 (icomplete-forward-completions, icomplete-backward-completions)
3547 (icomplete-simple-completing-p, icomplete-exhibit)
3548 (icomplete-completions): Use them.
3549 (icomplete--in-region-buffer): New var.
3550 (icomplete--in-region-setup): New function.
3551 (icomplete-mode): Use it.
3552
3553 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3554 (bug#15379).
3555 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3556 return args and options.
3557 (eshell-eval-using-options): Use the new return value of
3558 eshell--do-opts to set the options's vars in their scope.
3559 (eshell--set-option): Rename from eshell-set-option.
3560 Add arg `opt-vals'.
3561 (eshell--process-option): Rename from eshell-process-option.
3562 Add arg `opt-vals'.
3563 (eshell--process-args): Use an `opt-vals' alist to store the options's
3564 values during their processing and return them additionally to the
3565 remaining args.
3566
3567 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3568
3569 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3570 continuation character an operator, as far as indentation is
3571 concerned (Bug#15369).
3572
3573 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3574
3575 * window.el (window--state-put-2): Don't process buffer state
3576 when buffer doesn't exist any more (Bug#15382).
3577
3578 2013-09-15 Glenn Morris <rgm@gnu.org>
3579
3580 * eshell/em-unix.el (eshell/rm):
3581 Make -f ignore missing files. (Bug#15373)
3582
3583 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3584 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3585 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3586
3587 2013-09-14 Glenn Morris <rgm@gnu.org>
3588
3589 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3590
3591 2013-09-13 Glenn Morris <rgm@gnu.org>
3592
3593 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3594 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3595
3596 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3597
3598 * frame.el (x-focus-frame): Mark as declared in frame.c.
3599
3600 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3601
3602 * ls-lisp.el: Use advice-add.
3603 (original-insert-directory): Remove.
3604 (ls-lisp--insert-directory): Rename from insert-directory; add
3605 `orig-fun' argument.
3606 (insert-directory): Advise.
3607
3608 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3609
3610 * term.el (term-emulate-terminal): Decode the command string
3611 before passing it to term-command-hook. (Bug#15337)
3612
3613 2013-09-13 Glenn Morris <rgm@gnu.org>
3614
3615 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3616
3617 * eshell/esh-ext.el (eshell-search-path): Declare.
3618
3619 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3620 Otherwise an error occurs if eshell-dirs module not loaded.
3621
3622 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3623
3624 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3625
3626 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3627 `tramp-check-proper-host'. Check for a valid method name.
3628
3629 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3630 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3631 * net/tramp-sh.el (tramp-maybe-open-connection):
3632 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3633
3634 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3635 also for hash values.
3636
3637 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3638
3639 * term/ns-win.el (parameters): Don't declare as dynamic.
3640 (before-make-frame-hook): Don't add ineffective function.
3641
3642 * eshell/*.el: Use lexical-binding (bug#15231).
3643
3644 2013-09-12 Kenichi Handa <handa@gnu.org>
3645
3646 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3647
3648 2013-09-12 Glenn Morris <rgm@gnu.org>
3649
3650 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3651 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3652
3653 * subr.el (do-after-load-evaluation): Also give compiler warnings
3654 when obsolete files are used (except by obsolete files).
3655
3656 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3657 in the status output, assume `filename' is the first. (Bug#15322)
3658
3659 * vc/vc.el (vc-deduce-fileset): Doc fix.
3660
3661 * calc/calc-help.el (Info-goto-node):
3662 * progmodes/cperl-mode.el (Info-find-node):
3663 * vc/ediff.el (Info-goto-node): Update declarations.
3664
3665 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3666
3667 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3668 (vc-bzr-pull): Require vc-dispatcher.
3669 * vc/vc-git.el (vc-compilation-mode): Declare.
3670 (vc-git-pull): Require vc-dispatcher.
3671
3672 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3673
3674 * progmodes/octave.el (help-button-action): Declare.
3675
3676 * shell.el (shell-directory-tracker): Output error as a message
3677 rather than just returning it as a string.
3678 (shell-process-pushd): Remove useless use of message.
3679
3680 * dframe.el (dframe-timer-fn):
3681 * files.el (dir-locals-read-from-file):
3682 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3683 (mpc-format):
3684 * reveal.el (reveal-post-command):
3685 * saveplace.el (load-save-place-alist-from-file):
3686 * shell.el (shell-resync-dirs):
3687 * w32-common-fns.el (x-get-selection-value):
3688 * emacs-lisp/copyright.el (copyright-find-copyright):
3689 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3690 * emulation/tpu-edt.el (tpu-copy-keyfile):
3691 * play/bubbles.el (bubbles--mark-neighbourhood):
3692 * progmodes/executable.el
3693 (executable-make-buffer-file-executable-if-script-p):
3694 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3695
3696 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3697
3698 Cleanup Eshell to rely less on dynamic scoping.
3699 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3700 last-value, and ext-command here. Bind `args' closer to `body'.
3701 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3702 (eshell--args): Declare new dynamic var.
3703 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3704 last-value, and ext-command. Pass `args' to `body'.
3705 (eshell-process-args): Bind eshell--args.
3706 (eshell-set-option): Use eshell--args.
3707 * eshell/eshell.el (eshell): Use derived-mode-p.
3708 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3709 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3710 (eshell-glob-function): Declare.
3711 * eshell/esh-util.el: Require cl-lib.
3712 (eshell-read-hosts-file): Avoid add-to-list.
3713 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3714 `err'.
3715 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3716 Declare.
3717 (eshell/diff): Remove unused var `err'.
3718 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3719 `killflag'.
3720 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3721 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3722 first use.
3723 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3724 Move declaration before first use.
3725 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3726 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3727 rely on cl-return.
3728
3729 2013-09-12 Glenn Morris <rgm@gnu.org>
3730
3731 * term/ns-win.el (global-map): Remove binding for ispell-next,
3732 deleted 1999-05-29. (Bug#15357)
3733
3734 2013-09-11 Glenn Morris <rgm@gnu.org>
3735
3736 * echistory.el (electric-command-history): Remove call to deleted func.
3737
3738 * play/landmark.el (landmark-mode): Fix typos.
3739
3740 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3741 Check cvs-sort-ignore-file is bound.
3742
3743 * savehist.el: No need for cl when compiling on Emacs.
3744
3745 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3746
3747 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3748 (bug#15338).
3749 (eshell-self-insert-command, eshell-send-invisible):
3750 Remove unused argument.
3751 (eshell-handle-control-codes): Remove unused var `orig'.
3752 Avoid delete-backward-char.
3753
3754 * files.el (set-auto-mode): Simplify a bit further.
3755
3756 2013-09-11 Glenn Morris <rgm@gnu.org>
3757
3758 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3759 (set-auto-mode): Don't regexp-quote elements.
3760 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3761 * progmodes/cc-mode.el (interpreter-mode-alist):
3762 * progmodes/ruby-mode.el (interpreter-mode-alist):
3763 Revert previous change.
3764
3765 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3766
3767 * play/snake.el (snake-mode):
3768 * play/mpuz.el (mpuz-mode):
3769 * play/landmark.el (lm-mode):
3770 * play/blackbox.el (blackbox-mode):
3771 * play/5x5.el (5x5-mode):
3772 * obsolete/options.el (Edit-options-mode):
3773 * net/quickurl.el (quickurl-list-mode):
3774 * net/newst-treeview.el (newsticker-treeview-mode):
3775 * mail/rmailsum.el (rmail-summary-mode):
3776 * mail/mspools.el (mspools-mode):
3777 * locate.el (locate-mode):
3778 * ibuffer.el (ibuffer-mode):
3779 * emulation/ws-mode.el (wordstar-mode):
3780 * emacs-lisp/debug.el (debugger-mode):
3781 * array.el (array-mode):
3782 * net/eudc.el (eudc-mode): Use define-derived-mode.
3783 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3784 Move initialization into declaration.
3785 (mairix-searches-mode): Use define-derived-mode.
3786 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3787 (eudc-edit-hotlist): Use dolist.
3788 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3789 (Man-mode): Use define-derived-mode.
3790 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3791 (Info-edit-mode): Use define-derived-mode.
3792 (Info-cease-edit): Use Info-mode.
3793 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3794 into declaration.
3795 (eshell-mode): Use define-derived-mode.
3796 * chistory.el (command-history-mode-map): Rename from
3797 command-history-map.
3798 (command-history-mode): Use define-derived-mode.
3799 (Command-history-setup): Remove function.
3800 * calc/calc.el (calc-trail-mode-map): New var.
3801 (calc-trail-mode): Use define-derived-mode.
3802 (calc-trail-buffer): Set calc-main-buffer manually.
3803 * bookmark.el (bookmark-insert-annotation): New function.
3804 (bookmark-edit-annotation): Use it.
3805 (bookmark-edit-annotation-mode): Make it a proper major mode.
3806 (bookmark-send-edited-annotation): Use derived-mode-p.
3807 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3808 closer to its ideal place. Use \' to match EOS.
3809
3810 * profiler.el (profiler-calltree-find): Use function-equal.
3811
3812 2013-09-10 Glenn Morris <rgm@gnu.org>
3813
3814 * files.el (interpreter-mode-alist): Convert to regexps.
3815 (set-auto-mode): Adapt for this. (Bug#15306)
3816 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3817 Comment out unused variable.
3818 * progmodes/cc-mode.el (interpreter-mode-alist):
3819 * progmodes/python.el (interpreter-mode-alist):
3820 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3821 * progmodes/sh-script.el (sh-set-shell):
3822 No longer use interpreter-mode-alist to get list of shells.
3823
3824 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3825
3826 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3827
3828 * simple.el: Use set-temporary-overlay-map for universal-argument.
3829 (universal-argument-map): Don't use default-bindings (bug#15317).
3830 Bind switch-frame explicitly. Replace universal-argument-minus with
3831 a conditional binding.
3832 (universal-argument-num-events, saved-overriding-map): Remove.
3833 (restore-overriding-map): Remove.
3834 (universal-argument--mode): Rename from save&set-overriding-map,
3835 and rewrite.
3836 (universal-argument, universal-argument-more, negative-argument)
3837 (digit-argument): Adjust accordingly.
3838 (universal-argument-minus): Remove.
3839 (universal-argument-other-key): Remove.
3840
3841 * subr.el (with-demoted-errors): Add `format' argument.
3842
3843 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3844
3845 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3846 `tramp-cleanup-connection'.
3847
3848 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3849 parameters KEEP-DEBUG and KEEP-PASSWORD.
3850
3851 * net/tramp.el (tramp-file-name-handler):
3852 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3853 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3854 (tramp-maybe-open-connection):
3855 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3856 Use `tramp-cleanup-connection'.
3857
3858 * net/tramp-sh.el (tramp-maybe-open-connection):
3859 Catch 'uname-changed inside the progress reporter.
3860
3861 2013-09-10 Glenn Morris <rgm@gnu.org>
3862
3863 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3864
3865 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3866 returns "alternate access method" in mode (eg "-rw-r--r--.").
3867
3868 2013-09-08 Glenn Morris <rgm@gnu.org>
3869
3870 * saveplace.el (load-save-place-alist-from-file):
3871 Demote errors. (Bug#15305)
3872
3873 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3874
3875 Improve compatibility with older Emacsen, and XEmacs.
3876
3877 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3878 only if it is bound. It isn't for XEmacs.
3879 (with-tramp-progress-reporter): Do not let-bind `result'.
3880 This yields to scoping errors in XEmacs.
3881 (tramp-handle-make-auto-save-file-name): New function, moved from
3882 tramp-sh.el.
3883
3884 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3885 for `make-auto-save-file-name'.
3886 (tramp-adb--gnu-switches-to-ash):
3887 Use `tramp-compat-replace-regexp-in-string'.
3888
3889 * net/tramp-cache.el (tramp-cache-print): Call
3890 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3891
3892 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3893 bound. It isn't for XEmacs.
3894
3895 * net/tramp-compat.el (tramp-compat-copy-file):
3896 Catch `wrong-number-of-arguments' error.
3897 (tramp-compat-replace-regexp-in-string): New defun.
3898
3899 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3900 for `make-auto-save-file-name'.
3901 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3902 `copy-file'.
3903 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3904 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3905 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3906
3907 * net/tramp-gw.el (tramp-gw-open-network-stream):
3908 Use `tramp-compat-replace-regexp-in-string'.
3909
3910 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3911 Call `tramp-handle-make-auto-save-file-name'.
3912 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3913 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3914 (tramp-sh-file-inotifywait-process-filter):
3915 Use `tramp-compat-replace-regexp-in-string'.
3916 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3917
3918 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3919 for `make-auto-save-file-name'.
3920 (tramp-smb-handle-copy-directory):
3921 Call `tramp-compat-replace-regexp-in-string'.
3922 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3923 (tramp-smb-handle-copy-file): Improve error message.
3924 (tramp-smb-handle-rename-file): Rename directly only in case
3925 `newname' does not exist yet. This is a restriction of smbclient.
3926 (tramp-smb-maybe-open-connection): Rerun the function only when
3927 `auth-sources' is non-nil.
3928
3929 2013-09-08 Kenichi Handa <handa@gnu.org>
3930
3931 * international/characters.el: Set category "^" (Combining) for
3932 more characters.
3933
3934 2013-09-07 Alan Mackenzie <acm@muc.de>
3935
3936 Correctly fontify Java class constructors.
3937 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3938 in Java Mode.
3939 (c-recognize-typeless-decls): Set the Java value to t.
3940 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3941 While handling a "(", add a check for, effectively, Java, and handle a
3942 "typeless" declaration there.
3943
3944 2013-09-07 Roland Winkler <winkler@gnu.org>
3945
3946 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3947 field subtitle for entry type book.
3948
3949 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3950
3951 * minibuffer.el: Make minibuffer-complete call completion-in-region
3952 rather than other way around.
3953 (completion--some, completion-pcm--find-all-completions):
3954 Don't delay signals when debugging.
3955 (minibuffer-completion-contents): Beware fields within the
3956 minibuffer contents.
3957 (completion-all-sorted-completions): Use defvar-local.
3958 (completion--do-completion, completion--cache-all-sorted-completions)
3959 (completion-all-sorted-completions, minibuffer-force-complete):
3960 Add args `beg' and `end'.
3961 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3962 (minibuffer-complete): Use completion-in-region.
3963 (completion-complete-and-exit): New fun, extracted from
3964 minibuffer-complete-and-exit.
3965 (minibuffer-complete-and-exit): Use it.
3966 (completion--complete-and-exit): Rename from
3967 minibuffer--complete-and-exit.
3968 (completion-in-region--single-word): New function, extracted from
3969 minibuffer-complete-word.
3970 (minibuffer-complete-word): Use it.
3971 (display-completion-list): Make `common-substring' argument obsolete.
3972 (completion--in-region): Call completion--in-region-1 instead of
3973 minibuffer-complete.
3974 (completion-help-at-point): Pass boundaries to
3975 minibuffer-completion-help as args rather than via an overlay.
3976 (completion-pcm--string->pattern): Use `any-delim'.
3977 (completion-pcm--optimize-pattern): New function.
3978 (completion-pcm--pattern->regex): Handle `any-delim'.
3979 * icomplete.el (icomplete-forward-completions)
3980 (icomplete-backward-completions, icomplete-completions):
3981 Adjust calls to completion-all-sorted-completions and
3982 completion--cache-all-sorted-completions.
3983 (icomplete-with-completion-tables): Default to t.
3984 * emacs-lisp/crm.el (crm--current-element): Rename from
3985 crm--select-current-element. Don't put an overlay but return the
3986 boundaries instead.
3987 (crm--completion-command): Take two new args to bind to the boundaries.
3988 (crm-completion-help): Adjust accordingly.
3989 (crm-complete): Use completion-in-region.
3990 (crm-complete-word): Use completion-in-region--single-word.
3991 (crm-complete-and-exit): Use completion-complete-and-exit.
3992
3993 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3994
3995 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3996 than dynamically.
3997
3998 2013-09-06 Juri Linkov <juri@jurta.org>
3999
4000 * info.el (Info-display-images-node): When image file doesn't exist
4001 display text version of the image if it's provided in the Info file.
4002 Otherwise, display the location of missing image from SRC attribute.
4003 Add help-echo text property from ALT attribute. (Bug#15279)
4004
4005 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4006
4007 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4008 (edit-abbrevs-mode): Use define-derived-mode.
4009
4010 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4011 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4012 that it's defined.
4013 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4014 Use define-derived-mode.
4015
4016 * epg.el (epg-start-encrypt): Minor CSE simplification.
4017
4018 2013-09-06 William Xu <william.xwl@gmail.com>
4019
4020 * arc-mode.el: Add support for 7za (bug#15264).
4021 (archive-7z-program): New var.
4022 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4023 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4024 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4025
4026 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4027
4028 Remove URL syntax.
4029
4030 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4031 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4032 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4033 (tramp-postfix-host-format, tramp-file-name-regexp)
4034 (tramp-completion-file-name-regexp)
4035 (tramp-completion-dissect-file-name)
4036 (tramp-handle-substitute-in-file-name): Remove 'url case.
4037 (tramp-file-name-regexp-url)
4038 (tramp-completion-file-name-regexp-url): Remove constants.
4039
4040 2013-09-06 Glenn Morris <rgm@gnu.org>
4041
4042 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4043
4044 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4045
4046 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4047 keywords" below "here-doc beginnings" (Bug#15270).
4048
4049 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4050
4051 * subr.el (pop): Use `car-safe'.
4052 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4053 to detect unused `pop' return value.
4054
4055 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4056 var `block-regexp'.
4057 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4058 (python-fill-string): Remove unused var `marker'.
4059 (python-skeleton-add-menu-items): Remove unused var `items'.
4060
4061 * international/mule-cmds.el: Require CL.
4062 (find-coding-systems-for-charsets): Avoid add-to-list.
4063 (sanitize-coding-system-list): New function, extracted from
4064 select-safe-coding-system-interactively.
4065 (select-safe-coding-system-interactively): Use it.
4066 (read-input-method-name): Accept symbols for `default'.
4067
4068 * emacs-lisp/advice.el (defadvice): Add indent rule.
4069
4070 2013-09-05 Daniel Hackney <dan@haxney.org>
4071
4072 * dired-x.el:
4073 * net/ange-ftp.el:
4074 * net/browse-url.el:
4075 * net/dbus.el:
4076 * net/eudc.el:
4077 * net/eudcb-ldap.el:
4078 * net/eww.el:
4079 * net/imap.el:
4080 * printing.el:
4081 * vc/ediff-diff.el:
4082 * vc/ediff-init.el:
4083 * vc/ediff-merg.el:
4084 * vc/ediff-mult.el:
4085 * vc/ediff-util.el:
4086 * vc/ediff-wind.el:
4087 * vc/ediff.el:
4088 * vc/emerge.el:
4089 * vc/pcvs.el:
4090 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4091 byte compiler. Remove some unused let-bound variables.
4092
4093 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4094
4095 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4096 a "ref-cell", since it gets better optimized (bug#14883).
4097
4098 2013-09-05 Glenn Morris <rgm@gnu.org>
4099
4100 * progmodes/cc-awk.el (c-forward-sws): Declare.
4101
4102 2013-09-04 Glenn Morris <rgm@gnu.org>
4103
4104 * generic-x.el [rul-generic-mode]: Require cc-mode.
4105 (c++-mode-syntax-table): Declare.
4106 (rul-generic-mode-syntax-table): Init in the defvar.
4107
4108 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4109
4110 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4111 (vc-do-command, vc-set-async-update):
4112 * vc/vc-mtn.el (vc-mtn-dir-status):
4113 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4114 (vc-hg-pull, vc-hg-merge-branch):
4115 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4116 (vc-git-merge-branch):
4117 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4118 (vc-cvs-dir-status-files):
4119 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4120 (vc-bzr-dir-status-files):
4121 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4122 * vc/vc-annotate.el: Use lexical-binding.
4123 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4124 (vc-sentinel-movepoint): Declare.
4125 (vc-annotate): Don't use `goto-line'.
4126 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4127 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4128 (vc-sentinel-movepoint): Declare.
4129 * vc/vc-svn.el: Use lexical-binding.
4130 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4131 * vc/vc-sccs.el:
4132 * vc/vc-rcs.el: Use lexical-binding.
4133
4134 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4135 `deleted'. Don't drop errors silently.
4136
4137 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4138
4139 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4140
4141 * vc/vc.el (vc-ignore): Rewrite.
4142 (vc-default-ignore): New function.
4143 (vc-default-ignore-completion-table): Use find-ignore-file.
4144
4145 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4146 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4147 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4148 Remove. Most code moved to vc.el.
4149
4150 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4151
4152 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4153 * net/tramp-smb.el (tramp-smb-get-file-entries):
4154 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4155 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4156
4157 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4158 Update call to it.
4159 (eww-change-select): Remove unused var `properties'.
4160 (eww-make-unique-file-name): Remove unused var `base'.
4161
4162 * finder.el (finder-compile-keywords): Don't mess with windows.
4163
4164 * calculator.el (calculator-funcall): Fix typo in last change.
4165
4166 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4167
4168 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4169 <pkg>-autoloads.el file stop us.
4170
4171 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4172 warnings, and factor out common code.
4173
4174 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4175
4176 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4177 two-character operators and whether the character preceding them
4178 changes their meaning (Bug#15208).
4179
4180 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4181
4182 Format code sent to Python shell for robustness.
4183 * progmodes/python.el (python-shell-buffer-substring):
4184 New function.
4185 (python-shell-send-region, python-shell-send-buffer): Use it.
4186
4187 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4188
4189 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4190 * net/tramp.el (tramp-user-error): ... here.
4191 (tramp-find-method, tramp-check-proper-host)
4192 (tramp-dissect-file-name, tramp-debug-message)
4193 (tramp-handle-shell-command):
4194 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4195 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4196
4197 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4198
4199 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4200
4201 * avoid.el (mouse-avoidance-point-position)
4202 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4203 returns nil.
4204
4205 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4206
4207 * progmodes/python.el (python-shell-completion-get-completions):
4208 Drop use of deleted `comint-last-prompt-overlay'.
4209 (python-nav-if-name-main): New command.
4210
4211 2013-09-01 Glenn Morris <rgm@gnu.org>
4212
4213 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4214 Avoid leading space in $wins. Otherwise the sed command used by
4215 eg compile-main ends up containing "/*.el". (Bug#15170)
4216
4217 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4218
4219 2013-08-30 Glenn Morris <rgm@gnu.org>
4220
4221 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4222 Fix is-this-a-directory logic. (Bug#15220)
4223
4224 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4225
4226 * textmodes/css-mode.el: Use SMIE.
4227 (css-smie-grammar): New var.
4228 (css-smie--forward-token, css-smie--backward-token)
4229 (css-smie-rules): New functions.
4230 (css-mode): Use them.
4231 (css-navigation-syntax-table): Remove var.
4232 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4233 (css-indent-calculate, css-indent-line): Remove functions.
4234
4235 Misc changes to reduce use of `(lambda...); and other cleanups.
4236 * cus-edit.el: Use lexical-binding.
4237 (customize-push-and-save, customize-apropos)
4238 (custom-buffer-create-internal): Use closures.
4239 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4240 * progmodes/ada-xref.el: Use setq.
4241 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4242 * dframe.el: Use lexical-binding.
4243 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4244 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4245 * descr-text.el: Use lexical-binding.
4246 (describe-text-widget, describe-text-sexp, describe-property-list):
4247 Use closures.
4248 * comint.el (comint-history-isearch-push-state): Use a closure.
4249 * calculator.el: Use lexical-binding.
4250 (calculator-number-to-string): Make it work with lexical-binding.
4251 (calculator-funcall): Same and use cl-letf.
4252
4253 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4254 (lisp--company-doc-string, lisp--company-location): New functions.
4255 (lisp-completion-at-point): Use them to improve Company support.
4256
4257 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4258 params of lambda expressions.
4259 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4260 (ruby-smie--opening-pipe-p): New function.
4261 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4262 symbols and matched |...| for formal params.
4263 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4264 from being treated as hanging. Handle "rescue".
4265
4266 2013-08-29 Glenn Morris <rgm@gnu.org>
4267
4268 * progmodes/cc-engine.el (c-pull-open-brace):
4269 Move definition before use.
4270
4271 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4272
4273 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4274 are immutable. Don't use `unsafe' any more.
4275 (cl--defsubst-expand): Don't substitute at the same time as keeping
4276 a residual unused let-binding. Don't use `unsafe' any more.
4277
4278 2013-08-29 Glenn Morris <rgm@gnu.org>
4279
4280 * calendar/cal-china.el (calendar-chinese-year-cache):
4281 Recenter on 2015.
4282
4283 * nxml/nxml-util.el (nxml-debug-clear-inside):
4284 Use cl-loop rather than loop.
4285
4286 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4287
4288 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4289
4290 2013-08-28 Glenn Morris <rgm@gnu.org>
4291
4292 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4293
4294 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4295
4296 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4297
4298 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4299
4300 * simple.el (repeat-complex-command--called-interactively-skip):
4301 New function.
4302 (repeat-complex-command): Use it (bug#14136).
4303
4304 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4305 (c-define-abbrev-table): Add `doc' argument.
4306 (c-mode-abbrev-table, c++-mode-abbrev-table)
4307 (objc-mode-abbrev-table, java-mode-abbrev-table)
4308 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4309 (awk-mode-abbrev-table): Use it.
4310 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4311 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4312 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4313 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4314 Move initialization into the declaration; and remove any
4315 autoload cookie.
4316
4317 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4318 and dynamic let binding.
4319
4320 * vc/smerge-mode.el: Remove redundant :group args.
4321
4322 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4323 to load-path.
4324
4325 2013-08-28 Juri Linkov <juri@jurta.org>
4326
4327 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4328 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4329 (isearch-other-meta-char): Handle an undefined shifted printing
4330 character by downshifting it. (Bug#15200)
4331
4332 2013-08-28 Juri Linkov <juri@jurta.org>
4333
4334 * isearch.el (isearch-search): Change regexp error message for
4335 non-regexp searches. (Bug#15166)
4336
4337 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4338
4339 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4340 for portability to hosts where /bin/sh has problems.
4341
4342 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4343
4344 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4345
4346 2013-08-27 Juri Linkov <juri@jurta.org>
4347
4348 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4349 in the keyboard macro. (Bug#15126)
4350
4351 2013-08-27 Juri Linkov <juri@jurta.org>
4352
4353 * isearch.el (isearch-quote-char): Comment out converting unibyte
4354 to multibyte, thus syncing with its `quoted-insert' counterpart.
4355 (Bug#15166)
4356
4357 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4358
4359 * window.el (display-buffer-use-some-window): Add missing
4360 argument in call of get-largest-window (Bug#15185).
4361 Reported by Stephen Leake.
4362
4363 2013-08-27 Glenn Morris <rgm@gnu.org>
4364
4365 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4366
4367 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4368
4369 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4370 from a matcher-function unless there's no more matches (bug#15161).
4371
4372 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4373
4374 * minibuffer.el: Revert change from 2013-08-20.
4375
4376 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4377 with text property `tramp-default', if appropriate.
4378 (tramp-check-proper-host): New defun.
4379 (tramp-dissect-file-name): Do not check hostname. Revert change
4380 of 2013-03-18.
4381 (tramp-backtrace): Make VEC-OR-PROC optional.
4382
4383 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4384 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4385 * net/tramp-sh.el (tramp-maybe-open-connection):
4386 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4387 Apply `tramp-check-proper-host'.
4388
4389 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4390
4391 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4392 lambda expression in order to have `describe-variable' display it.
4393
4394 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4395
4396 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4397 BUF can be optional. (Bug#15186)
4398
4399 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4400
4401 * progmodes/flymake.el (flymake-get-real-file-name-function):
4402 Fix broken customization. (Bug#15184)
4403
4404 2013-08-25 Alan Mackenzie <acm@muc.de>
4405
4406 Improve indentation of bracelists defined by macros (without "=").
4407
4408 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4409 expansion begins with "{", regard it as bracelist when it doesn't
4410 contain a ";".
4411
4412 Parse C++ inher-intro when there's a template split over 2 lines.
4413
4414 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4415 rigorously the search for "class" etc. followed by ":".
4416
4417 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4418 random languages a regexp which never matches rather than nil.
4419
4420 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4421
4422 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4423 (c-awk-regexp-one-line-possibly-open-char-list-re)
4424 (c-awk-one-line-possibly-open-regexp-re)
4425 (c-awk-one-line-non-syn-ws*-re): Remove.
4426 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4427 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4428 (c-awk-space*-unclosed-regexp-/-re): New constants.
4429 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4430 aren't regexp delimiters.
4431
4432 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4433 handling for a rare situation in AWK Mode involving unterminated
4434 strings/regexps.
4435
4436 2013-08-23 Glenn Morris <rgm@gnu.org>
4437
4438 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4439
4440 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4441
4442 * files.el (create-file-buffer): If the result would begin with
4443 spaces, prepend a "|" instead of removing them. (Bug#15162)
4444
4445 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4446
4447 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4448 text-properties (bug#15155).
4449
4450 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4451 exist any more.
4452 (calc-keypad-redraw): Remove unused var `pad'.
4453 (calc-keypad-press): Remove unused var `menu'.
4454
4455 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4456
4457 * window.el (display-buffer-pop-up-frame):
4458 Call pop-up-frame-function with BUFFER current so `make-frame' will
4459 use it as the new frame's buffer (Bug#15133).
4460
4461 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4462
4463 * calendar/timeclock.el: Minor cleanups.
4464 (timeclock-ask-before-exiting, timeclock-use-display-time):
4465 Use `symbol'.
4466 (timeclock-modeline-display): Define as alias before the
4467 actual definition.
4468 (timeclock-mode-line-display): Use define-minor-mode.
4469 (timeclock-day-list-template): Make it a function, add an argument.
4470 (timeclock-day-list-required, timeclock-day-list-length)
4471 (timeclock-day-list-debt, timeclock-day-list-span)
4472 (timeclock-day-list-break): Adjust calls accordingly.
4473
4474 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4475
4476 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4477 Use read--expression so that completion works again.
4478
4479 2013-08-21 Sam Steingold <sds@gnu.org>
4480
4481 Add rudimentary inferior shell interaction
4482 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4483 (sh-set-shell): Reset it.
4484 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4485 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4486
4487 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4488
4489 * align.el: Use lexical-binding.
4490 (align-region): Simplify accordingly.
4491
4492 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4493
4494 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4495
4496 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4497 `non-essential' up.
4498
4499 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4500
4501 * net/tramp.el:
4502 * net/tramp-adb.el:
4503 * net/tramp-cmds.el:
4504 * net/tramp-ftp.el:
4505 * net/tramp-gvfs.el:
4506 * net/tramp-gw.el:
4507 * net/tramp-sh.el: Don't wrap external variable declarations by
4508 `eval-when-compile'.
4509
4510 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4511
4512 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4513 now that Emacs supports ImageMagick animations.
4514
4515 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4516
4517 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4518 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4519
4520 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4521
4522 * window.el (mouse-autoselect-window-select): Do autoselect when
4523 mouse pointer is on margin.
4524
4525 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4526
4527 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4528
4529 2013-08-16 Glenn Morris <rgm@gnu.org>
4530
4531 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4532 Handle "Remote Directory" response of some clients. (Bug#15058)
4533
4534 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4535 Tweak warning. (Bug#14926)
4536
4537 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4538 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4539
4540 * image-mode.el (image-mode-map): Add menu items to reverse,
4541 increase, decrease, reset animation speed.
4542 (image--set-speed, image-increase-speed, image-decrease-speed)
4543 (image-reverse-speed, image-reset-speed): New functions.
4544 (image-mode-map): Add bindings for speed commands.
4545
4546 * image.el (image-animate-get-speed, image-animate-set-speed):
4547 New functions.
4548 (image-animate-timeout): Respect image :speed property.
4549
4550 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4551
4552 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4553 previous line (bug#15101).
4554 (debugger-eval-expression, debugger-record-expression):
4555 Use read--expression (bug#15102).
4556
4557 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4558
4559 Remove byte compiler warnings, visible when compiling with
4560 `byte-compile-force-lexical-warnings' set to t.
4561
4562 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4563 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4564 (tramp-handle-unhandled-file-name-directory)
4565 (tramp-handle-file-notify-add-watch, tramp-action-login)
4566 (tramp-action-succeed, tramp-action-permission-denied)
4567 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4568 arguments with "_".
4569
4570 * net/tramp-adb.el (tramp-adb-parse-device-names)
4571 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4572 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4573 (tramp-adb-handle-file-truename): Remove unused arguments.
4574
4575 * net/tramp-cache.el (tramp-flush-directory-property)
4576 (tramp-flush-connection-property, tramp-list-connections)
4577 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4578
4579 * net/tramp-compat.el (tramp-compat-make-temp-file):
4580 Rename FILENAME to F.
4581
4582 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4583 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4584 (tramp-zeroconf-parse-workstation-device-names)
4585 (tramp-zeroconf-parse-webdav-device-names)
4586 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4587
4588 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4589 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4590
4591 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4592 arguments.
4593 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4594 (tramp-sh-handle-insert-file-contents-literally)
4595 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4596 with "_".
4597 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4598 Remove unused variables.
4599
4600 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4601 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4602 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4603
4604 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4605 Make them a defconst.
4606 (tramp-uuencode-region): Remove unused variable.
4607
4608 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4609
4610 * frameset.el (frameset--prop-setter): New function.
4611 (frameset-prop): Add gv-setter declaration.
4612 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4613 parameter was already set in FILTERED. Doc fix.
4614 (frameset--record-minibuffer-relationships): Allow saving a
4615 minibufferless frame without its corresponding minibuffer frame.
4616 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4617 frame, if the frame id matches.
4618 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4619 frames before orphaned ones.
4620 (frameset-restore): Warn about orphaned windows, instead of error out.
4621
4622 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4623
4624 * window.el (window-make-atom): Don't overwrite parameter
4625 already present.
4626 (display-buffer-in-atom-window): Handle special case where we
4627 split an already atomic window.
4628 (window--major-non-side-window, display-buffer-in-side-window)
4629 (window--side-check): Ignore minibuffer window when walking
4630 window tree.
4631 (window-deletable-p): Return 'frame only if no other frame uses
4632 our minibuffer window.
4633 (record-window-buffer): Run buffer-list-update-hook.
4634 (split-window): Make sure window--check-frame won't destroy an
4635 existing atomic window in case the new window gets nested
4636 inside.
4637 (display-buffer-at-bottom): Ignore minibuffer window when
4638 walking window tree. Don't split a side window.
4639 (pop-to-buffer): Don't set-buffer here, the select-window call
4640 should do that.
4641 (mouse-autoselect-window-select): Autoselect only if we are in the
4642 text portion of the window.
4643
4644 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4645
4646 * net/shr.el (shr-parse-image-data): New function to grab both the
4647 data itself and the Content-Type.
4648 (shr-put-image): Use it.
4649
4650 * net/eww.el (eww-display-image): Ditto.
4651
4652 * image.el (image-content-type-suffixes): New variable.
4653
4654 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4655
4656 * progmodes/python.el (python-imenu--build-tree)
4657 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4658
4659 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4660
4661 * simple.el (backward-word): Mention the optional argument.
4662
4663 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4664
4665 * frameset.el (frameset--make): Rename constructor from make-frameset.
4666 (frameset-p, frameset-valid-p): Don't autoload.
4667 (frameset-valid-p): Use normal accessors.
4668
4669 2013-08-13 Glenn Morris <rgm@gnu.org>
4670
4671 * progmodes/compile.el (compile-command): Tweak example in doc.
4672 * obsolete/scribe.el (scribe-mode):
4673 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4674
4675 * mail/feedmail.el (feedmail-confirm-outgoing)
4676 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4677
4678 * cus-start.el (truncate-partial-width-windows): Fix type.
4679
4680 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4681
4682 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4683
4684 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4685
4686 * emacs-lisp/timer.el (timer--time-setter): New function.
4687 (timer--time): Use it as gv-setter.
4688
4689 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4690 setter is not a symbol.
4691
4692 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4693
4694 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4695 if sending fails. This makes debugging easier.
4696
4697 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4698
4699 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4700 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4701 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4702
4703 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4704
4705 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4706
4707 2013-08-12 Glenn Morris <rgm@gnu.org>
4708
4709 * format.el (format-annotate-function):
4710 Handle read-only text properties in the source. (Bug#14887)
4711
4712 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4713
4714 * net/eww.el (eww-display-html): Ignore coding system errors.
4715 One web site uses "utf-8lias" as the coding system.
4716
4717 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4718
4719 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4720
4721 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4722
4723 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4724 (tutorial--detailed-help): Remove unused local variables.
4725 (tutorial--save-tutorial-to): Use ignore-errors.
4726 (help-with-tutorial): Use looking-at-p.
4727
4728 * view.el (view-buffer-other-window, view-buffer-other-frame):
4729 Mark unused arguments.
4730
4731 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4732 (woman-select-symbol-fonts, woman, woman-find-file)
4733 (woman-insert-file-contents, woman-non-underline-faces):
4734 Use string-match-p.
4735 (woman1-unquote): Move declaration.
4736
4737 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4738 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4739 argument. Remove unused local variable.
4740 (xml-parse-elem-type): Use string-match-p.
4741 (xml-substitute-numeric-entities): Use ignore-errors.
4742
4743 * calculator.el (calculator): Mark unused argument.
4744 (calculator-paste, calculator-quit, calculator-integer-p):
4745 Use ignore-errors.
4746 (calculator-string-to-number, calculator-decimal, calculator-exp)
4747 (calculator-op-or-exp): Use string-match-p.
4748
4749 * dired.el (dired-buffer-more-recently-used-p): Declare.
4750 (dired-insert-set-properties, dired-insert-old-subdirs):
4751 Use ignore-errors.
4752
4753 * dired-aux.el (dired-compress): Use ignore-errors.
4754 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4755 (dired-do-async-shell-command, dired-do-shell-command)
4756 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4757 (dired-insert-subdir-validate): Use string-match-p.
4758 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4759 (dired-add-entry): Use string-match-p, looking-at-p.
4760 (dired-insert-subdir-newpos): Remove unused local variable.
4761
4762 * filenotify.el (file-notify-callback): Remove unused local variable.
4763
4764 * filesets.el (filesets-error): Mark unused argument.
4765 (filesets-which-command-p, filesets-filter-dir-names)
4766 (filesets-directory-files, filesets-get-external-viewer)
4767 (filesets-ingroup-get-data): Use string-match-p.
4768
4769 * find-file.el (ff-other-file-name, ff-other-file-name)
4770 (ff-find-the-other-file, ff-cc-hh-converter):
4771 Remove unused local variables.
4772 (ff-get-file-name): Use string-match-p.
4773 (ff-all-dirs-under): Use ignore-errors.
4774
4775 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4776 (follow-select-if-visible): Remove unused local variable.
4777
4778 * forms.el (read-file-filter): Move declaration.
4779 (forms--make-format, forms--make-parser, forms-insert-record):
4780 Quote function with #'.
4781 (forms--update): Use string-match-p. Quote function with #'.
4782
4783 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4784 (help-make-xrefs): Use looking-at-p.
4785 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4786
4787 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4788 (ibuffer-confirm-operation-on): Use string-match-p.
4789
4790 * msb.el (msb-item-handler, msb-dired-item-handler):
4791 Mark unused arguments.
4792
4793 * ses.el (ses-decode-cell-symbol)
4794 (ses-kill-override): Remove unused local variable.
4795 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4796 (ses-load): Use ignore-errors, looking-at-p.
4797 (ses-jump-safe): Use ignore-errors.
4798 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4799
4800 * tabify.el (untabify, tabify): Mark unused arguments.
4801
4802 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4803 Mark unused argument.
4804 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4805 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4806
4807 * emacs-lisp/timer.el (timer--time): Define setter with
4808 gv-define-setter to avoid deprecation warning.
4809
4810 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4811 (*record-cmpl-statistics-p*): Remove (was commented out).
4812 (cmpl-statistics-block): Remove (body was commented out).
4813 All callers changed.
4814 (add-completions-from-buffer, load-completions-from-file):
4815 Remove unused variables.
4816
4817 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4818
4819 * filecache.el (file-cache-delete-file-list):
4820 Print message only when told so.
4821 (file-cache-files-matching): Use #' in mapconcat argument.
4822
4823 * ffap.el (ffap-url-at-point): Fix reference to variable
4824 thing-at-point-default-mail-uri-scheme.
4825
4826 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4827
4828 * subr.el (define-error): New function.
4829 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4830 error-file-not-found and define with define-error.
4831 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4832 and define with define-error.
4833 * userlock.el (file-locked, file-supersession):
4834 * simple.el (mark-inactive):
4835 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4836 * progmodes/ada-mode.el (ada-mode-errors):
4837 * play/life.el (life-extinct):
4838 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4839 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4840 * nxml/rng-util.el (rng-error):
4841 * nxml/rng-uri.el (rng-uri-error):
4842 * nxml/rng-match.el (rng-compile-error):
4843 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4844 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4845 * nxml/nxml-rap.el (nxml-scan-error):
4846 * nxml/nxml-outln.el (nxml-outline-error):
4847 * net/soap-client.el (soap-error):
4848 * net/gnutls.el (gnutls-error):
4849 * net/ange-ftp.el (ftp-error):
4850 * mpc.el (mpc-proc-error):
4851 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4852 (json-number-format, json-string-escape, json-string-format)
4853 (json-key-format, json-object-format):
4854 * jka-compr.el (compression-error):
4855 * international/quail.el (quail-error):
4856 * international/kkc.el (kkc-error):
4857 * emacs-lisp/ert.el (ert-test-failed):
4858 * calc/calc.el (calc-error, inexact-result, math-overflow)
4859 (math-underflow):
4860 * bookmark.el (bookmark-error-no-filename):
4861 * epg.el (epg-error): Define with define-error.
4862
4863 * time.el (display-time-event-handler)
4864 (display-time-next-load-average): Don't call sit-for since it seems
4865 unnecessary (bug#15045).
4866
4867 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4868 Use #' instead of ' to quote functions.
4869 (checkdoc-output-mode): Use setq-local.
4870 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4871 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4872 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4873 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4874 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4875 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4876 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4877 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4878
4879 * ido.el (ido-completion-help): Fix up compiler warning.
4880
4881 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4882
4883 * frameset.el (frameset-p): Add autoload cookie.
4884 (frameset--jump-to-register): New function, based on code moved from
4885 register.el.
4886 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4887
4888 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4889 (frameset-restore, frameset-save, frameset-session-filter-alist):
4890 Remove declarations.
4891 (register-alist): Doc fix.
4892 (frameset-to-register): Move to frameset.el.
4893 (jump-to-register, describe-register-1): Remove frameset-specific code.
4894
4895 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4896
4897 * allout-widgets.el (allout-widgets-pre-command-business)
4898 (allout-widgets-post-command-business)
4899 (allout-widgets-after-change-handler)
4900 (allout-decorate-item-and-context, allout-set-boundary-marker)
4901 (allout-body-modification-handler)
4902 (allout-graphics-modification-handler): Mark ignored arguments.
4903 (allout-widgets-post-command-business)
4904 (allout-widgets-exposure-change-processor)
4905 (allout-widgets-exposure-undo-processor)
4906 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4907 (allout-parse-item-at-point, allout-decorate-item-guides)
4908 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4909 * allout.el (epa-passphrase-callback-function): Declare.
4910 (allout-overlay-insert-in-front-handler)
4911 (allout-overlay-interior-modification-handler)
4912 (allout-isearch-end-handler, allout-chart-siblings)
4913 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4914 (allout-yank-processing, allout-process-exposed)
4915 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4916 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4917 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4918 (lisp-indent-defform): Mark ignored arguments.
4919 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4920 (calculate-lisp-indent): Remove unused variables.
4921 * international/characters.el (indian-2-column, arabic-2-column)
4922 (tibetan): Mark ignored arguments.
4923 (use-cjk-char-width-table): Mark ignored arguments.
4924 Remove unused variables.
4925 * international/fontset.el (build-default-fontset-data)
4926 (x-compose-font-name, create-fontset-from-fontset-spec):
4927 Mark ignored arguments.
4928 (fontset-plain-name): Remove unused variables.
4929 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4930 (keyboard-coding-system): Mark ignored arguments.
4931 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4932 * help.el (resize-temp-buffer-window):
4933 * window.el (display-buffer-in-major-side-window)
4934 (display-buffer-in-side-window, display-buffer-in-previous-window):
4935 Remove unused variables.
4936 * isearch.el (isearch-forward-symbol):
4937 * version.el (emacs-bzr-version-bzr):
4938 * international/mule-cmds.el (current-language-environment):
4939 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4940 (x-handle-display):
4941 * term/pc-win.el (x-list-fonts, x-display-planes)
4942 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4943 (x-server-version, x-display-screens, x-display-mm-height)
4944 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4945 (x-selection-owner-p, x-own-selection-internal)
4946 (x-disown-selection-internal, x-get-selection-internal)
4947 (msdos-initialize-window-system):
4948 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4949 * term/x-win.el (x-handle-no-bitmap-icon):
4950 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4951 (vc-default-find-file-hook, vc-default-extra-menu):
4952 Mark ignored arguments.
4953
4954 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4955
4956 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4957 break-condition in the context of the debugged code (bug#12685).
4958
4959 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4960
4961 * comint.el:
4962 Do not use an overlay to highlight the last prompt. (Bug#14744)
4963 (comint-mode): Make comint-last-prompt buffer local.
4964 (comint-last-prompt): New variable.
4965 (comint-last-prompt-overlay): Remove. Superseded by
4966 comint-last-prompt.
4967 (comint-snapshot-last-prompt, comint-output-filter):
4968 Use comint-last-prompt.
4969
4970 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4971
4972 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4973 (frameset-save): Check validity of the resulting frameset.
4974
4975 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4976
4977 * ido.el (ido-record-command): Add doc string.
4978
4979 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4980
4981 * frameset.el (frameset): Do not disable creation of the default
4982 frameset-p predicate. Doc fix.
4983 (frameset-valid-p): New function, copied from the old predicate-p.
4984 Add additional checks.
4985 (frameset-restore): Check with frameset-valid-p.
4986 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4987 (frameset-name, frameset-description, frameset-properties)
4988 (frameset-states): Add docstring.
4989 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4990 (frameset-filter-alist): Doc fixes.
4991
4992 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4993
4994 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4995
4996 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4997
4998 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4999 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5000 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5001 (byte-compile-normal-call): Remove obsolescence check.
5002
5003 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5004
5005 * frameset.el (frameset-restore): Doc fix.
5006
5007 * register.el (frameset-frame-id, frameset-frame-with-id)
5008 (frameset-p, frameset-restore, frameset-save): Declare.
5009 (register-alist): Document framesets.
5010 (frameset-session-filter-alist): Declare.
5011 (frameset-to-register): New function.
5012 (jump-to-register): Implement jumping to framesets. Doc fix.
5013 (describe-register-1): Describe framesets.
5014
5015 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5016
5017 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5018
5019 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5020 Use lexical-binding.
5021
5022 * frameset.el (frameset): Use type vector, not list (incompatible
5023 change). Do not declare a new constructor, use the default one.
5024 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5025 `name' and `description', respectively, and add read-only slot
5026 `timestamp'. Doc fixes.
5027 (frameset-copy, frameset-persistent-filter-alist)
5028 (frameset-filter-alist, frameset-switch-to-gui-p)
5029 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5030 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5031 (frameset-filter-iconified, frameset-keep-original-display-p):
5032 Doc fixes.
5033 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5034 Rename from frameset-filter-(save|restore)-param. All callers changed.
5035 Doc fix.
5036 (frameset-p): Adapt to change to vector and be more thorough.
5037 Change arg name to OBJECT. Doc fix.
5038 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5039 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5040 All callers changed.
5041 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5042 All callers changed.
5043 (frameset--record-minibuffer-relationships): Rename from
5044 frameset--process-minibuffer-frames. All callers changed.
5045 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5046 Use new default constructor (again). Doc fix.
5047 (frameset--find-frame-if): Rename from `frameset--find-frame.
5048 All callers changed.
5049 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5050 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5051 Doc fix.
5052 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5053 PARAMETERS and WINDOW-STATE, respectively.
5054 (frameset-restore): Add new keyword argument PREDICATE.
5055 Reset frameset--target-display to nil. Doc fix.
5056
5057 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5058
5059 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5060 (bat-mode): Use it.
5061 (bat-mode-syntax-table): Mark \n as end-of-comment.
5062 (bat-font-lock-keywords): Remove comment rule.
5063
5064 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5065 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5066
5067 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5068 (byte-compile-callargs-warn): Use `push'.
5069 (byte-compile-arglist-warn): Ignore higher-order "calls".
5070 (byte-compile-file-form-autoload): Use `pcase'.
5071 (byte-compile-function-form): If quoting a symbol, check that it exists.
5072
5073 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5074
5075 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5076 and add a few popular commands found in batch files.
5077 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5078 (dos-mode): Doc fixes.
5079
5080 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5081
5082 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5083 (dos-mode): Use setq-local. Add space after "rem".
5084 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5085 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5086
5087 2013-08-07 Arni Magnusson <arnima@hafro.is>
5088
5089 * progmodes/dos.el: New file.
5090 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5091 dos-mode.
5092
5093 2013-08-06 Glenn Morris <rgm@gnu.org>
5094
5095 * calendar/calendar.el: Add new faces, and day-header-array.
5096 (calendar-weekday-header, calendar-weekend-header)
5097 (calendar-month-header): New faces.
5098 (calendar-day-header-construct): New function.
5099 (calendar-day-header-width): Also :set calendar-day-header-array.
5100 (calendar-american-month-header, calendar-european-month-header)
5101 (calendar-iso-month-header): Use calendar- faces.
5102 (calendar-generate-month):
5103 Use calendar-day-header-array for day headers; apply faces to them.
5104 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5105 (calendar-abbrev-construct): Add optional maxlen argument.
5106 (calendar-day-name-array): Doc fix.
5107 (calendar-day-name-array, calendar-abbrev-length)
5108 (calendar-day-abbrev-array):
5109 Also :set calendar-day-header-array, and maybe redraw.
5110 (calendar-day-header-array): New option. (Bug#15007)
5111 (calendar-font-lock-keywords): Set to nil and make obsolete.
5112 (calendar-day-name): Add option to use header array.
5113
5114 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5115
5116 * net/shr.el (shr-render-td): Remove debugging.
5117 (shr-render-td): Make width computation consistent by defaulting
5118 all zero-width columns to 10 characters. This may not be optimal,
5119 but it's at least consistent.
5120 (shr-make-table-1): Redo last change to fix the real problem in
5121 colspan handling.
5122
5123 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5124
5125 * files.el (cache-long-line-scans):
5126 Make obsolete alias to `cache-long-scans'.
5127
5128 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5129
5130 * frameset.el (frameset, frameset-filter-alist)
5131 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5132 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5133 (frameset-compute-pos): Rename from frameset--compute-pos,
5134 and add docstring.
5135 (frameset-move-onscreen): Use frameset-compute-pos.
5136 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5137
5138 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5139 Fix typos in docstrings.
5140
5141 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5142
5143 * frame.el (get-other-frame): Tiny cleanup.
5144
5145 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5146
5147 * vc/vc.el (vc-default-ignore-completion-table):
5148 Silence byte-compiler warning.
5149
5150 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5151 slot , which can indeed be nil.
5152 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5153 Move entry for `left' from persistent to live filter alist.
5154 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5155 Doc fixes.
5156 (frameset-filter-params): When restoring a frame, copy items added to
5157 `filtered', to avoid unwittingly modifying the original parameters.
5158 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5159 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5160
5161 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5162 to use looking-at-p instead of looking-at. (Bug#15028)
5163
5164 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5165
5166 Revert introduction of isearch-filter-predicates (bug#14714).
5167 Rely on add-function instead.
5168 * isearch.el (isearch-filter-predicates): Rename it back to
5169 isearch-filter-predicate.
5170 (isearch-message-prefix): Use advice-function-mapc and advice
5171 properties to get the isearch-message-prefix.
5172 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5173 instead of run-hook-with-args-until-failure.
5174 (isearch-filter-visible): Not obsolete any more.
5175 * loadup.el: Preload nadvice.
5176 * replace.el (perform-replace): Revert to funcall
5177 instead of run-hook-with-args-until-failure.
5178 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5179 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5180 dired-isearch-filenames-toggle; make it into a proper minor mode.
5181 Use add/remove-function.
5182 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5183 Call the minor-mode rather than add/remove-hook.
5184 (dired-isearch-filter-filenames):
5185 Remove isearch-message-prefix property.
5186 * info.el (Info--search-loop): New function, extracted from Info-search.
5187 Funcall isearch-filter-predicate instead of
5188 run-hook-with-args-until-failure isearch-filter-predicates.
5189 (Info-search): Use it.
5190 (Info-mode): Use isearch-filter-predicate instead of
5191 isearch-filter-predicates.
5192
5193 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5194
5195 Do not call to `selected-window' where it is assumed by default.
5196 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5197 `window-hscroll', `window-width', `window-height', `window-buffer',
5198 `window-frame', `window-start', `window-point', `next-window'
5199 and `window-display-table'.
5200 * abbrev.el (abbrev--default-expand):
5201 * bs.el (bs--show-with-configuration):
5202 * buff-menu.el (Buffer-menu-mouse-select):
5203 * calc/calc.el (calc):
5204 * calendar/calendar.el (calendar-generate-window):
5205 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5206 (diary-make-entry):
5207 * comint.el (send-invisible, comint-dynamic-complete-filename)
5208 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5209 * completion.el (complete):
5210 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5211 * disp-table.el (describe-current-display-table):
5212 * doc-view.el (doc-view-insert-image):
5213 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5214 * ehelp.el (with-electric-help):
5215 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5216 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5217 * emacs-lisp/helper.el (Helper-help-scroller):
5218 * emulation/cua-base.el (cua--post-command-handler-1):
5219 * eshell/esh-mode.el (eshell-output-filter):
5220 * ffap.el (ffap-gnus-wrapper):
5221 * help-macro.el (make-help-screen):
5222 * hilit-chg.el (highlight-compare-buffers):
5223 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5224 * hl-line.el (global-hl-line-highlight):
5225 * icomplete.el (icomplete-simple-completing-p):
5226 * isearch.el (isearch-done):
5227 * jit-lock.el (jit-lock-stealth-fontify):
5228 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5229 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5230 * mpc.el (mpc-tagbrowser, mpc):
5231 * net/rcirc.el (rcirc-any-buffer):
5232 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5233 * play/landmark.el (landmark-max-width, landmark-max-height):
5234 * play/zone.el (zone):
5235 * progmodes/compile.el (compilation-goto-locus):
5236 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5237 * progmodes/etags.el (find-tag-other-window):
5238 * progmodes/fortran.el (fortran-column-ruler):
5239 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5240 * progmodes/verilog-mode.el (verilog-point-text):
5241 * reposition.el (reposition-window):
5242 * rot13.el (toggle-rot13-mode):
5243 * server.el (server-switch-buffer):
5244 * shell.el (shell-dynamic-complete-command)
5245 (shell-dynamic-complete-environment-variable):
5246 * simple.el (insert-buffer, set-selective-display)
5247 (delete-completion-window):
5248 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5249 (speedbar-recenter):
5250 * startup.el (fancy-splash-head):
5251 * textmodes/ispell.el (ispell-command-loop):
5252 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5253 * tutorial.el (help-with-tutorial):
5254 * vc/add-log.el (add-change-log-entry):
5255 * vc/compare-w.el (compare-windows):
5256 * vc/ediff-help.el (ediff-indent-help-message):
5257 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5258 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5259 (ediff-setup-control-frame):
5260 * vc/emerge.el (emerge-position-region):
5261 * vc/pcvs-util.el (cvs-bury-buffer):
5262 * window.el (walk-windows, mouse-autoselect-window-select):
5263 * winner.el (winner-set-conf, winner-undo): Related users changed.
5264
5265 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5266
5267 * frameset.el (frameset--set-id): Doc fix.
5268 (frameset-frame-id, frameset-frame-id-equal-p)
5269 (frameset-locate-frame-id): New functions.
5270 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5271 (frameset-restore): Use them.
5272
5273 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5274
5275 Do not call to `selected-frame' where it is assumed by default.
5276 Affected functions are `raise-frame', `redraw-frame',
5277 `frame-first-window', `frame-terminal' and `delete-frame'.
5278 * calendar/appt.el (appt-disp-window):
5279 * epg.el (epg-wait-for-completion):
5280 * follow.el (follow-delete-other-windows-and-split)
5281 (follow-avoid-tail-recenter):
5282 * international/mule.el (set-terminal-coding-system):
5283 * mail/rmail.el (rmail-mail-return):
5284 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5285 * progmodes/f90.el (f90-add-imenu-menu):
5286 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5287 * server.el (server-switch-buffer):
5288 * simple.el (delete-completion-window):
5289 * talk.el (talk):
5290 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5291 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5292 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5293 * vc/ediff.el (ediff-documentation): Related users changed.
5294 * frame.el (selected-terminal): Remove the leftover.
5295
5296 2013-08-05 Glenn Morris <rgm@gnu.org>
5297
5298 * calendar/calendar.el (calendar-generate-month):
5299 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5300 (calendar-generate-month, calendar-font-lock-keywords):
5301 Fix for calendar-day-header-width > length of any day name.
5302
5303 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5304
5305 * desktop.el (desktop-clear): Use new name of sort predicate.
5306
5307 * frameset.el (frameset): Add docstring. Move :version property to its
5308 own `version' slot.
5309 (frameset-copy): Rename from copy-frameset.
5310 (frameset-p): Check more thoroughly.
5311 (frameset-prop): Do not check for :version, which is no longer a prop.
5312 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5313 Use new :never value instead of t.
5314 (frameset-filter-alist): Expand and clarify docstring.
5315 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5316 (frameset-filter-minibuffer, frameset-filter-save-param)
5317 (frameset-filter-restore-param, frameset-filter-iconified):
5318 Add pointer to docstring of frameset-filter-alist.
5319 (frameset-filter-params): Rename filter values to be more meaningful:
5320 :never instead of t, and reverse the meanings of :save and :restore.
5321 (frameset--process-minibuffer-frames): Clarify error message.
5322 (frameset-save): Avoid unnecessary and confusing call to framep.
5323 Use new BOA constructor for framesets.
5324 (frameset--reuse-list): Doc fix.
5325 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5326 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5327 (frameset-minibufferless-first-p): Doc fix.
5328 Rename from frameset-sort-frames-for-deletion.
5329 (frameset-restore): Doc fixes. Use new function names.
5330 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5331
5332 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5333
5334 * desktop.el (desktop-restore-forces-onscreen)
5335 (desktop-restore-reuses-frames): Document :keyword constant values.
5336 (desktop-filter-parameters-alist): Remove, now identical to
5337 frameset-filter-alist.
5338 (desktop--filter-tty*): Remove, moved to frameset.el.
5339 (desktop-save-frameset, desktop-restore-frameset):
5340 Do not pass :filters argument.
5341
5342 * frameset.el (frameset-live-filter-alist)
5343 (frameset-persistent-filter-alist): New variables.
5344 (frameset-filter-alist): Use them. Add autoload cookie.
5345 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5346 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5347 `frameset--id' (it's supposed to be internal to frameset.el).
5348 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5349 (frameset--initial-params): New function.
5350 (frameset--get-frame): Use it. Doc fix.
5351 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5352 Accept :all, not 'all.
5353 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5354 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5355 with fbound symbols. Fix frame id matching, and remove matching ids if
5356 the frame being restored is deleted. Obey :delete.
5357
5358 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5359
5360 * subr.el (macrop): New function.
5361 (text-clone--maintaining): New var.
5362 (text-clone--maintain): Rename from text-clone-maintain. Use it
5363 instead of inhibit-modification-hooks.
5364
5365 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5366 a proxy, so as handle autoloads and redefinitions of the target.
5367 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5368
5369 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5370 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5371 (pcase--mutually-exclusive-p): New function.
5372 (pcase--split-consp): Use it.
5373 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5374 mutually exclusive with the current predicate.
5375
5376 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5377 (edebug-macrop): Remove. Use `macrop' instead.
5378 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5379 (ad-macro-p):
5380 * eshell/esh-cmd.el (eshell-macrop):
5381 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5382
5383 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5384
5385 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5386 (advice-mapc): New function, using it.
5387 (advice-function-member-p): New function.
5388 (advice--normalize): Store the cdr in advice--saved-rewrite since
5389 that's the part that will be changed.
5390 (advice--symbol-function): New function.
5391 (advice-remove): Handle removal before the function is defined.
5392 Adjust to new advice--saved-rewrite.
5393 (advice-member-p): Use advice-function-member-p and
5394 advice--symbol-function.
5395
5396 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5397
5398 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5399 (frameset-filter-minibuffer): Doc fix.
5400 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5401 (frameset--set-id, frameset--process-minibuffer-frames)
5402 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5403 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5404
5405 * desktop.el (desktop-clear): Only delete frames when called
5406 interactively and desktop-restore-frames is non-nil. Doc fix.
5407 (desktop-read): Set desktop-saved-frameset to nil.
5408
5409 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5410
5411 * vc/vc.el (vc-ignore): Rewrite.
5412 (vc-default-ignore-completion-table):
5413 (vc--read-lines):
5414 (vc--add-line, vc--remove-regexp): New functions.
5415
5416 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5417 (vc-svn-ignore-completion-table): New function.
5418
5419 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5420 (vc-hg-ignore-completion-table):
5421 (vc-hg-find-ignore-file): New functions.
5422
5423 * vc/vc-git.el (vc-git-ignore): Rewrite.
5424 (vc-git-ignore-completion-table):
5425 (vc-git-find-ignore-file): New functions.
5426
5427 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5428
5429 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5430 (vc-bzr-ignore-completion-table):
5431 (vc-bzr-find-ignore-file): New functions.
5432
5433 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5434
5435 * frameset.el (frameset-prop): New function and setter.
5436 (frameset-save): Do not modify frame list passed by the caller.
5437
5438 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5439
5440 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5441
5442 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5443
5444 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5445 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5446
5447 * custom.el (custom-initialize-default, custom-initialize-set)
5448 (custom-initialize-reset, custom-initialize-changed): Affect the
5449 toplevel-default-value (bug#6275, bug#14586).
5450 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5451 for bug#6275.
5452
5453 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5454
5455 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5456 Add cl-def* expressions.
5457
5458 * frameset.el (frameset-filter-params): Fix order of arguments.
5459
5460 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5461
5462 Move code related to saving frames to frameset.el.
5463 * desktop.el: Require frameset.
5464 (desktop-restore-frames): Doc fix.
5465 (desktop-restore-reuses-frames): Rename from
5466 desktop-restoring-reuses-frames.
5467 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5468 (desktop-clear): Clear frames too.
5469 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5470 (desktop--filter-tty*, desktop-save, desktop-read):
5471 Use frameset functions.
5472 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5473 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5474 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5475 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5476 (desktop--process-minibuffer-frames, desktop-save-frames)
5477 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5478 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5479 (desktop--sort-states, desktop-restoring-frames-p)
5480 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5481 (desktop-restoring-frameset-p, desktop-restore-frameset)
5482 (desktop--check-dont-save, desktop-save-frameset): New functions.
5483 (desktop--app-id): New constant.
5484 (desktop-first-buffer, desktop-buffer-ok-count)
5485 (desktop-buffer-fail-count): Move before first use.
5486 * frameset.el: New file.
5487
5488 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5489
5490 * files.el: Use lexical-binding.
5491 (dir-locals-read-from-file): Remove unused `err' variable.
5492 (hack-dir-local-variables--warned-coding): New var.
5493 (hack-dir-local-variables): Use it to avoid repeated warnings.
5494 (make-backup-file-name--default-function): New function.
5495 (make-backup-file-name-function): Use it as default.
5496 (buffer-stale--default-function): New function.
5497 (buffer-stale-function): Use it as default.
5498 (revert-buffer-insert-file-contents--default-function): New function.
5499 (revert-buffer-insert-file-contents-function): Use it as default.
5500 (insert-directory): Avoid add-to-list.
5501
5502 * autorevert.el (auto-revert-handler): Simplify.
5503 Use buffer-stale--default-function.
5504
5505 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5506
5507 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5508
5509 * whitespace.el (whitespace-ensure-local-variables): New function.
5510 (whitespace-cleanup-region): Call it.
5511 (whitespace-turn-on): Call it.
5512
5513 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5514
5515 Complete file name handlers.
5516
5517 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5518 (tramp-handle-verify-visited-file-modtime)
5519 (tramp-handle-file-notify-rm-watch): New functions.
5520 (tramp-call-process): Do not bind `default-directory'.
5521
5522 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5523 Order alphabetically.
5524 [access-file, add-name-to-file, dired-call-process]:
5525 [dired-compress-file, file-acl, file-notify-rm-watch]:
5526 [file-ownership-preserved-p, file-selinux-context]:
5527 [make-directory-internal, make-symbolic-link, set-file-acl]:
5528 [set-file-selinux-context, set-visited-file-modtime]:
5529 [verify-visited-file-modtime]: Add handler.
5530 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5531
5532 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5533 [file-notify-add-watch, file-notify-rm-watch]:
5534 [set-file-times, set-visited-file-modtime]:
5535 [verify-visited-file-modtime]: Add handler.
5536 (with-tramp-gvfs-error-message)
5537 (tramp-gvfs-handle-set-visited-file-modtime)
5538 (tramp-gvfs-fuse-file-name): Remove.
5539 (tramp-gvfs-handle-file-notify-add-watch)
5540 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5541 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5542
5543 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5544 Order alphabetically.
5545 [file-notify-rm-watch ]: Use default Tramp handler.
5546 [executable-find]: Remove private handler.
5547 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5548 `default-directory'.
5549 (tramp-sh-handle-executable-find)
5550 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5551 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5552 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5553 Do not use `format' in `tramp-message'.
5554
5555 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5556 [file-notify-rm-watch, set-visited-file-modtime]:
5557 [verify-visited-file-modtime]: Add handler.
5558 (tramp-smb-call-winexe): Do not bind `default-directory'.
5559
5560 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5561
5562 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5563
5564 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5565
5566 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5567 use it.
5568 (log-view-diff-changeset): Same.
5569 (log-view-diff-common): Call backend command `previous-revision'
5570 to find out the previous revision, in both cases. Swap the
5571 variables `to' and `fr', so that `fr' usually refers to the
5572 earlier revision (Bug#14989).
5573
5574 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5575
5576 * ibuf-ext.el (ibuffer-filter-by-filename):
5577 Make it work with dired buffers too.
5578
5579 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5580
5581 * emacs-lisp/re-builder.el (reb-color-display-p):
5582 * files.el (save-buffers-kill-terminal):
5583 * net/browse-url.el (browse-url):
5584 * server.el (server-save-buffers-kill-terminal):
5585 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5586 Prefer nil to selected-frame for the first arg of frame-parameter.
5587
5588 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5589
5590 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5591
5592 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5593
5594 * minibuffer.el (completion--twq-all): Try and preserve each
5595 completion's case choice (bug#14907).
5596
5597 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5598
5599 * net/network-stream.el (open-network-stream): Mention the new
5600 :nogreeting parameter.
5601 (network-stream-open-starttls): Use the :nogreeting parameter
5602 (bug#14938).
5603
5604 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5605
5606 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5607 more natural than popping.
5608
5609 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5610 (shr-urlify): Highlight under mouse.
5611
5612 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5613
5614 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5615
5616 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5617
5618 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5619 buffer for output.
5620
5621 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5622 point-min==1. Fix search string. Fix parentheses missing.
5623
5624 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5625 assume point-min==1. Fix search string. Fix parentheses missing.
5626
5627 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5628
5629 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5630 buffer for output.
5631
5632 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5633
5634 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5635 initial frame is minibuffer-less. (Bug#14841)
5636
5637 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5638
5639 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5640 option.
5641
5642 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5643 (tramp-maybe-open-connection): Use it.
5644
5645 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5646
5647 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5648 minimal set of parameters passed when creating a frame, because
5649 the minibuffer status of a frame cannot be changed later.
5650
5651 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5652
5653 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5654 replace-regexp-in-string and inadvertent omissions in previous change.
5655 (todo-filter-items): Ensure only file names are comma-separated in
5656 name of filtered items buffer.
5657
5658 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5659
5660 * desktop.el: Optionally force offscreen frames back onscreen.
5661 (desktop-restoring-reuses-frames): New option.
5662 (desktop--compute-pos, desktop--move-onscreen): New functions.
5663 (desktop--make-frame): Use desktop--move-onscreen.
5664
5665 2013-07-27 Alan Mackenzie <acm@muc.de>
5666
5667 Fontify a Java generic method as a function.
5668 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5669 value to t.
5670
5671 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5672
5673 * calendar/todo-mode.el: Add command to rename todo files.
5674 (todo-rename-file): New command.
5675 (todo-key-bindings-t): Add key binding for it. Change the
5676 bindings of todo-filter-regexp-items(-multifile) to use `x'
5677 instead of `r', since the latter is better suited to the new
5678 renaming command.
5679
5680 2013-07-27 Alan Mackenzie <acm@muc.de>
5681
5682 Make Java try-with-resources statement parse properly.
5683 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5684 (c-block-stmt-1-2-key): New language constants/variables.
5685 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5686 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5687 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5688 with c-block-stmt-1-2-key.
5689
5690 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5691
5692 * desktop.el (desktop--make-frame): Apply most frame parameters after
5693 creating the frame to force (partially or totally) offscreen frames to
5694 be restored as such.
5695
5696 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5697
5698 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5699 (Bug#14948)
5700
5701 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5702
5703 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5704 `base' arg of backtrace-frame.
5705
5706 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5707
5708 * simple.el (list-processes): Doc fix.
5709
5710 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5711
5712 * desktop.el (desktop--select-frame):
5713 Try harder to reuse existing frames.
5714
5715 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5716
5717 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5718 (edebug-eval): Use backtrace-eval.
5719 (edebug--display, edebug--recursive-edit): Don't let-bind the
5720 edebug-outer-* vars that keep track of variables we locally let-bind.
5721 (edebug-outside-excursion): Don't restore outside values of locally
5722 let-bound vars.
5723 (edebug--display): Use user-error.
5724 (cl-lexical-debug, cl-debug-env): Remove.
5725
5726 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5727
5728 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5729 are restored to be sure that they are visible before deleting any
5730 remaining ones.
5731
5732 2013-07-26 Matthias Meulien <orontee@gmail.com>
5733
5734 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5735 vc-print-root-log. (Bug#14948)
5736
5737 2013-07-26 Richard Stallman <rms@gnu.org>
5738
5739 Add aliases for encrypting mail.
5740 * epa.el (epa-mail-aliases): New option.
5741 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5742 Bind inhibit-read-only so read-only text doesn't ruin everything.
5743 (epa-mail-default-recipients): New subroutine broken out.
5744 Handle epa-mail-aliases.
5745
5746 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5747
5748 Add support for lexical variables to the debugger's `e' command.
5749 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5750 vars, except for debugger-outer-match-data.
5751 (debugger-frame-number): Move check for "on a function call" from
5752 callers into it. Add `skip-base' argument.
5753 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5754 (debugger-env-macro): Only reset the state stored in non-variables,
5755 i.e. current-buffer and match-data.
5756 (debugger-eval-expression): Rewrite using backtrace-eval.
5757 * subr.el (internal--called-interactively-p--get-frame): Remove.
5758 (called-interactively-p):
5759 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5760 `base' arg of backtrace-frame instead.
5761
5762 2013-07-26 Glenn Morris <rgm@gnu.org>
5763
5764 * align.el (align-regexp): Doc fix. (Bug#14857)
5765 (align-region): Explicit error if subexpression missing/does not match.
5766
5767 * simple.el (global-visual-line-mode):
5768 Do not duplicate the mode lighter. (Bug#14858)
5769
5770 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5771
5772 * window.el (display-buffer): In display-buffer bind
5773 split-window-keep-point to t, bug#14829.
5774
5775 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5776
5777 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5778 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5779 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5780 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5781 Change accordingly.
5782 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5783 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5784
5785 2013-07-25 Glenn Morris <rgm@gnu.org>
5786
5787 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5788
5789 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5790
5791 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5792 parameter to modify-frame-parameters if the value has not changed;
5793 this is a workaround for bug#14949.
5794 (desktop--make-frame): On cl-delete-if call, check parameter name,
5795 not full parameter.
5796
5797 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5798
5799 * vc/vc.el (vc-ignore): New function.
5800
5801 * vc/vc-svn.el (vc-svn-ignore): New function.
5802
5803 * vc/vc-hg.el (vc-hg-ignore): New function.
5804
5805 * vc/vc-git.el (vc-git-ignore): New function.
5806
5807 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5808 (vc-dir-ignore): New function.
5809
5810 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5811 (cvs-append-to-ignore): Move here from pcvs.el.
5812
5813 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5814
5815 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5816
5817 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5818
5819 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5820 (desktop-restore-frames): Warn when deleting an existing frame failed.
5821
5822 2013-07-24 Glenn Morris <rgm@gnu.org>
5823
5824 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5825
5826 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5827
5828 * filenotify.el (file-notify-supported-p):
5829 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5830 Remove functions.
5831
5832 * autorevert.el (auto-revert-use-notify):
5833 (auto-revert-notify-add-watch):
5834 * net/tramp.el (tramp-file-name-for-operation):
5835 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5836 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5837 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5838 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5839 Remove `file-notify-supported-p' entry.
5840
5841 2013-07-24 Glenn Morris <rgm@gnu.org>
5842
5843 * printing.el: Replace all uses of deleted ps-windows-system,
5844 ps-lp-system, ps-flatten-list with lpr- versions.
5845
5846 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5847
5848 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5849 checked with memq (bug#14935).
5850
5851 * files.el (revert-buffer-function): Use a non-nil default.
5852 (revert-buffer-preserve-modes): Declare var to
5853 provide access to the `preserve-modes' argument.
5854 (revert-buffer): Let-bind it.
5855 (revert-buffer--default): New function, extracted from revert-buffer.
5856
5857 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5858
5859 * lpr.el: Signal print errors more prominently.
5860 (print-region-function): Don't default to nil.
5861 (lpr-print-region): New function, extracted from print-region-1.
5862 Check lpr's return value and signal an error in case of problem.
5863 (print-region-1): Use it.
5864 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5865 versions instead.
5866 (ps-printer-name): Default to nil.
5867 (ps-printer-name-option): Default to lpr-printer-switch.
5868 (ps-print-region-function): Don't default to nil.
5869 (ps-postscript-code-directory): Simplify default.
5870 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5871 (ps-string-list, ps-eval-switch, ps-flatten-list)
5872 (ps-flatten-list-1): Remove.
5873 (ps-multibyte-buffer): Avoid setq.
5874 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5875 (print-region-function, ps-print-region-function): Don't set them here.
5876
5877 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5878
5879 * ido.el (ido-fractionp):
5880 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5881 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5882 (ido-max-directory-size, ido-max-dir-file-cache)
5883 (ido-decorations): Doc fix.
5884
5885 * ansi-color.el: Fix old URL.
5886
5887 2013-07-23 Michael R. Mauger <michael@mauger.com>
5888
5889 * progmodes/sql.el: Version 3.3
5890 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5891 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5892 (sql-interactive-remove-continuation-prompt): Rewrite, use
5893 functions above. Fix continuation prompt and complete output line
5894 handling.
5895 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5896 redirected output buffer.
5897 (sql-mode): Restore deleted code (Bug#13591).
5898
5899 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5900
5901 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5902
5903 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5904
5905 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5906
5907 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5908 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5909 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5910
5911 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5912
5913 * desktop.el (desktop-clear): Simplify; remove useless checks
5914 against invalid buffer names.
5915 (desktop-list*): Use cl-list*.
5916 (desktop-buffer-info, desktop-create-buffer): Simplify.
5917
5918 2013-07-23 Leo Liu <sdl.web@gmail.com>
5919
5920 * bookmark.el (bookmark-make-record): Restore NAME as a default
5921 value. (Bug#14933)
5922
5923 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5924
5925 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5926 extracted from autoload--insert-text.
5927 (autoload--insert-text): Remove.
5928 (autoload--print-cookie-text): New function, extracted from
5929 autoload--insert-cookie-text.
5930 (autoload--insert-cookie-text): Remove.
5931 (autoload-generate-file-autoloads): Adjust calls accordingly.
5932
5933 * winner.el (winner-hook-installed-p): Remove.
5934 (winner-mode): Simplify accordingly.
5935
5936 * subr.el (add-to-list): Fix compiler-macro when `append' is
5937 not constant. Don't use `cl-member' for the base case.
5938
5939 * progmodes/subword.el: Fix boundary case (bug#13758).
5940 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5941 own group.
5942 (subword-backward-regexp): Make it a constant.
5943 (subword-forward-internal): Don't treat a trailing capital as the
5944 beginning of a word.
5945
5946 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5947
5948 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5949 global value of tabulated-list-revert-hook (bug#14930).
5950
5951 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5952
5953 * desktop.el: Require 'cl-lib.
5954 (desktop-before-saving-frames-functions): New hook.
5955 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5956 for frames being saved. Rename from desktop--save-minibuffer-frames.
5957 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5958 Do not save frames with non-nil `desktop-dont-save' parameter.
5959 Filter out deleted frames.
5960 (desktop--find-frame): Use cl-find-if.
5961 (desktop--select-frame): Use cl-(first|second|third) to access values
5962 of desktop-mini.
5963 (desktop--make-frame): Use cl-delete-if.
5964 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5965 (desktop-restore-frames): Use cl-(first|second|third) to access values
5966 of desktop-mini. Look for visible frame at the end, not while
5967 restoring frames.
5968
5969 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5970 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5971 Use string-match-p, looking-at-p (bug#14927).
5972
5973 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5974
5975 * desktop.el (desktop-saved-frame-states):
5976 Rename from desktop--saved-states; all users changed.
5977 (desktop-save-frames): Rename from desktop--save-frames.
5978 Do not save state to desktop file.
5979 (desktop-save): Save desktop-saved-frame-states to desktop file
5980 and reset to nil.
5981 (desktop-restoring-frames-p): New function.
5982 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5983 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5984 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5985
5986 * desktop.el: Correctly restore iconified frames.
5987 (desktop--filter-iconified-position): New function.
5988 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5989
5990 2013-07-20 Glenn Morris <rgm@gnu.org>
5991
5992 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5993 Let `message' do the formatting.
5994 (def-gdb-preempt-display-buffer): Add explicit format.
5995
5996 * image-dired.el (image-dired-track-original-file):
5997 Use with-current-buffer.
5998 (image-dired-track-thumbnail): Use with-current-buffer.
5999 Avoid changing point of wrong window.
6000
6001 * image-dired.el (image-dired-track-original-file):
6002 Avoid changing point of wrong window. (Bug#14909)
6003
6004 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6005
6006 * progmodes/gdb-mi.el (gdb-done-or-error):
6007 Guard against "%" in gdb output. (Bug#14127)
6008
6009 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6010
6011 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6012 (Bug#14826)
6013
6014 * international/mule.el (coding-system-iso-2022-flags): Fix last
6015 change.
6016
6017 2013-07-20 Kenichi Handa <handa@gnu.org>
6018
6019 * international/mule.el (coding-system-iso-2022-flags):
6020 Add `8-bit-level-4'. (Bug#8522)
6021
6022 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6023
6024 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6025 (bug#14815).
6026
6027 * net/eww.el (eww-process-text-input): Allow inputting when the
6028 point is at the start of the line, as the properties aren't
6029 front-sticky.
6030
6031 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6032 degenerate widths.
6033
6034 2013-07-19 Richard Stallman <rms@gnu.org>
6035
6036 * epa.el (epa-popup-info-window): Doc fix.
6037
6038 * subr.el (split-string): New arg TRIM.
6039
6040 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6041
6042 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6043 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6044
6045 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6046
6047 * filenotify.el (file-notify--library): Rename from
6048 `file-notify-support'. Do not autoload. Adapt all uses.
6049 (file-notify-supported-p): New defun.
6050
6051 * autorevert.el (auto-revert-use-notify):
6052 Use `file-notify-supported-p' instead of `file-notify-support'.
6053 Adapt docstring.
6054 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6055
6056 * net/tramp.el (tramp-file-name-for-operation):
6057 Add `file-notify-supported-p'.
6058
6059 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6060 New defun.
6061 (tramp-sh-file-name-handler-alist): Add it as handler for
6062 `file-notify-supported-p '.
6063
6064 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6065 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6066 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6067 Add `ignore' as handler for `file-notify-*' functions.
6068
6069 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6070
6071 * simple.el (line-move-partial, line-move): Don't start vscroll or
6072 scroll-up if the current line is not taller than the window.
6073 (Bug#14881)
6074
6075 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6076
6077 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6078 highlight question marks in the method names as strings.
6079 (ruby-block-beg-keywords): Inline.
6080 (ruby-font-lock-keyword-beg-re): Extract from
6081 `ruby-font-lock-keywords'.
6082
6083 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6084
6085 * frame.el (blink-cursor-blinks): New defcustom.
6086 (blink-cursor-blinks-done): New defvar.
6087 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6088 (blink-cursor-timer-function): Check if number of blinks has been
6089 done on X and NS.
6090 (blink-cursor-suspend, blink-cursor-check): New defuns.
6091
6092 2013-07-15 Glenn Morris <rgm@gnu.org>
6093
6094 * edmacro.el (edmacro-format-keys): Fix previous change.
6095
6096 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6097
6098 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6099 The hack didn't work outside English locales anyway.
6100
6101 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6102
6103 * simple.el (define-alternatives): Rename from alternatives-define,
6104 per RMS' suggestion.
6105
6106 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6107
6108 * desktop.el (desktop-restore-frames): Change default to t.
6109 (desktop-restore-in-current-display): Now offer more options.
6110 (desktop-restoring-reuses-frames): New customization option.
6111 (desktop--saved-states): Doc fix.
6112 (desktop-filter-parameters-alist): New variable, renamed and expanded
6113 from desktop--excluded-frame-parameters.
6114 (desktop--target-display): New variable.
6115 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6116 (desktop--filter-tty*, desktop--filter-*-color)
6117 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6118 (desktop--filter-save-desktop-parm)
6119 (desktop-restore-in-original-display-p): New functions.
6120 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6121 (desktop--save-minibuffer-frames): New function, inspired by a similar
6122 function from Martin Rudalics.
6123 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6124 (desktop--restore-in-this-display-p): Remove.
6125 (desktop--find-frame): Rename from desktop--find-frame-in-display
6126 and add predicate argument.
6127 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6128 (desktop--reuse-list): New variable.
6129 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6130 New functions.
6131 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6132
6133 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6134
6135 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6136
6137 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6138
6139 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6140 Highlight conversion methods on Kernel.
6141
6142 2013-07-13 Alan Mackenzie <acm@muc.de>
6143
6144 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6145 and comment it out. This out-commenting enables certain C++
6146 declarations to be parsed correctly.
6147
6148 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6149
6150 * international/mule.el (define-coding-system): Doc fix.
6151
6152 * simple.el (default-font-height): Don't call font-info if the
6153 frame's default font didn't change since the frame was created.
6154 (Bug#14838)
6155
6156 2013-07-13 Leo Liu <sdl.web@gmail.com>
6157
6158 * ido.el (ido-read-file-name): Guard against non-symbol value.
6159
6160 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6161
6162 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6163 in nested defuns.
6164
6165 2013-07-13 Leo Liu <sdl.web@gmail.com>
6166
6167 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6168 ido-set-matches call. (Bug#6852)
6169
6170 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6171
6172 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6173 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6174 Ruby 2.0.
6175 (ruby-font-lock-keywords): Distinguish calls to functions with
6176 module-like names from module references. Highlight character
6177 literals.
6178
6179 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6180
6181 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6182 (gdb-send): Handle continued commands. (Bug#14847)
6183
6184 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6185
6186 * desktop.el (desktop--v2s): Remove unused local variable.
6187 (desktop-save-buffer): Make defvar-local; adjust docstring.
6188 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6189 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6190
6191 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6192
6193 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6194
6195 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6196
6197 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6198 (Bug#14842)
6199
6200 2013-07-12 Glenn Morris <rgm@gnu.org>
6201
6202 * doc-view.el: Require cl-lib at runtime too.
6203 (doc-view-remove-if): Remove.
6204 (doc-view-search-next-match, doc-view-search-previous-match):
6205 Use cl-remove-if.
6206
6207 * edmacro.el: Require cl-lib at runtime too.
6208 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6209 (edmacro-mismatch, edmacro-subseq): Remove.
6210
6211 * shadowfile.el: Require cl-lib.
6212 (shadow-remove-if): Remove.
6213 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6214 Use cl-remove-if.
6215
6216 * wid-edit.el: Require cl-lib.
6217 (widget-choose): Use cl-remove-if.
6218 (widget-remove-if): Remove.
6219
6220 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6221 (ebrowse-delete-if-not): Remove.
6222 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6223 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6224 Use cl-delete-if-not.
6225
6226 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6227
6228 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6229 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6230
6231 2013-07-12 Leo Liu <sdl.web@gmail.com>
6232
6233 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6234
6235 2013-07-11 Glenn Morris <rgm@gnu.org>
6236
6237 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6238 (edebug-gensym-index, edebug-gensym):
6239 Remove reimplementation of cl-gensym.
6240 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6241
6242 * thumbs.el: Require cl-lib at run-time too.
6243 (thumbs-gensym-counter, thumbs-gensym):
6244 Remove reimplementation of cl-gensym.
6245 (thumbs-temp-file): Use cl-gensym.
6246
6247 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6248 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6249 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6250 (ert--union, ert--gensym-counter, ert--gensym-counter)
6251 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6252 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6253 (ert-make-test-unbound, ert--expand-should-1)
6254 (ert--expand-should, ert--should-error-handle-error)
6255 (should-error, ert--explain-equal-rec)
6256 (ert--plist-difference-explanation, ert-select-tests)
6257 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6258 Use cl-lib functions rather than reimplementations.
6259
6260 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6261
6262 * net/tramp.el (tramp-methods): Extend docstring.
6263 (tramp-connection-timeout): New defcustom.
6264 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6265 (with-tramp-progress-reporter): Simplify.
6266 (tramp-process-actions): Improve messages.
6267
6268 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6269 * net/tramp-sh.el (tramp-maybe-open-connection):
6270 Use `tramp-connection-timeout'.
6271 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6272 (Bug#14808)
6273
6274 2013-07-11 Leo Liu <sdl.web@gmail.com>
6275
6276 * ido.el (ido-read-file-name): Conform to the requirements of
6277 read-file-name. (Bug#11861)
6278 (ido-read-directory-name): Conform to the requirements of
6279 read-directory-name.
6280
6281 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6282
6283 * subr.el (delay-warning): New function.
6284
6285 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6286
6287 * simple.el (default-line-height): New function.
6288 (line-move-partial, line-move): Use it instead of computing the
6289 line height inline.
6290 (line-move-partial): Always compute ROWH. If the last line is
6291 partially-visible, but its text is completely visible, allow
6292 cursor to enter such a partially-visible line.
6293
6294 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6295
6296 Improve error messages. (Bug#14808)
6297
6298 * net/tramp.el (tramp-current-connection): New defvar, moved from
6299 tramp-sh.el.
6300 (tramp-message-show-progress-reporter-message): Remove, not
6301 needed anymore.
6302 (tramp-error-with-buffer): Show message in minibuffer.
6303 Discard input before waiting. Reset connection timestamp.
6304 (with-tramp-progress-reporter): Improve messages.
6305 (tramp-process-actions): Use progress reporter. Delete process in
6306 case of error. Improve messages.
6307
6308 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6309 Call `tramp-error-with-buffer' with vector and buffer.
6310 (tramp-current-connection): Remove.
6311 (tramp-maybe-open-connection): The car of
6312 `tramp-current-connection' are the first 3 slots of the vector.
6313
6314 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6315
6316 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6317 inside continued strings.
6318
6319 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6320
6321 Timestamp fixes for undo (Bug#14824).
6322 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6323
6324 2013-07-10 Leo Liu <sdl.web@gmail.com>
6325
6326 * files.el (require-final-newline): Allow safe local value.
6327 (Bug#14834)
6328
6329 2013-07-09 Leo Liu <sdl.web@gmail.com>
6330
6331 * ido.el (ido-read-directory-name): Handle fallback.
6332 (ido-read-file-name): Update DIR to ido-current-directory.
6333 (Bug#1516)
6334 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6335
6336 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6337
6338 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6339 "autoload". Remove "warn lower camel case" section, previously
6340 commented out. Highlight negation char. Do not highlight the
6341 target in singleton method definitions.
6342
6343 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6344
6345 * faces.el (tty-setup-hook): Declare the hook.
6346
6347 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6348 and detect when a guard/pred depends on local vars (bug#14773).
6349 (pcase--u1): Adjust caller.
6350
6351 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6352
6353 * simple.el (line-move-partial, line-move): Account for
6354 line-spacing.
6355 (line-move-partial): Avoid setting vscroll when the last
6356 partially-visible line in window is of default height.
6357
6358 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6359
6360 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6361 been used a while.
6362
6363 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6364
6365 * subr.el (read-quoted-char): Remove unused local variable `char'.
6366
6367 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6368
6369 * ediff.el (ediff-version): Version update.
6370 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6371 (ediff-merge-with-ancestor-command, ediff-directories-command)
6372 (ediff-directories3-command, ediff-merge-directories-command)
6373 (ediff-merge-directories-with-ancestor-command): New functions.
6374 All are command-line interfaces to ediff: to facilitate calling
6375 Emacs with the appropriate ediff functions invoked.
6376
6377 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6378 (viper-save-kill-buffer): Check if buffer is modified.
6379
6380 * viper.el (viper-version): Version update.
6381 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6382
6383 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6384
6385 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6386 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6387 (viper-intercept-ESC-key): Simplify.
6388 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6389 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6390 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6391 (viper-setup-ESC-to-escape): New functions.
6392 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6393 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6394
6395 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6396
6397 * simple.el (default-font-height, window-screen-lines):
6398 New functions.
6399 (line-move, line-move-partial): Use them instead of
6400 frame-char-height and window-text-height. This makes scrolling
6401 text smoother when the buffer's default face uses a font that is
6402 different from the frame's default font.
6403
6404 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6405
6406 * files.el (write-file): Do not display confirm dialog for NS,
6407 it does its own dialog, which can't be cancelled (Bug#14578).
6408
6409 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6410
6411 * simple.el (line-move-partial): Adjust the row returned by
6412 posn-at-point for the current window-vscroll. (Bug#14567)
6413
6414 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6415
6416 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6417 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6418 spaces.
6419
6420 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6421
6422 * window.el (window-state-put-stale-windows): New variable.
6423 (window--state-put-2): Save list of windows without matching buffer.
6424 (window-state-put): Remove "bufferless" windows if possible.
6425
6426 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6427
6428 * simple.el (alternatives-define): Remove leftover :group keyword.
6429 Tweak docstring.
6430
6431 2013-07-06 Leo Liu <sdl.web@gmail.com>
6432
6433 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6434 (ido-enable-virtual-buffers): New variable.
6435 (ido-buffer-internal, ido-toggle-virtual-buffers)
6436 (ido-make-buffer-list): Use it.
6437 (ido-exhibit): Support turning on and off virtual buffers
6438 automatically.
6439
6440 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6441
6442 * simple.el (alternatives-define): New macro.
6443
6444 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6445
6446 * subr.el (read-quoted-char): Use read-key.
6447 (sit-for): Let read-event decode tty input (bug#14782).
6448
6449 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6450
6451 * calendar/todo-mode.el: Add handling of file deletion, both by
6452 mode command and externally. Fix various related bugs.
6453 Clarify Commentary and improve some documentation strings and code.
6454 (todo-delete-file): New command.
6455 (todo-check-file): New function.
6456 (todo-show): Handle external deletion of the file we're trying to
6457 show (bug#14688). Replace called-interactively-p by an optional
6458 prefix argument to avoid problematic interaction with catch form
6459 when byte compiled (bug#14702).
6460 (todo-quit): Handle external deletion of the archive's todo file.
6461 Make sure the buffer that was visiting the archive file is still
6462 live before trying to bury it.
6463 (todo-category-completions): Handle external deletion of any
6464 category completion files.
6465 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6466 of todo files, in case of external deletion.
6467 (todo-add-file): Replace unnecessary setq by let-binding.
6468 (todo-find-archive): Check whether there are any archives.
6469 Replace unnecessary setq by let-binding.
6470 (todo-archive-done-item): Use find-file-noselect to get the
6471 archive buffer whether or not the archive already exists.
6472 Remove superfluous code. Use file size instead of buffer-file-name to
6473 check if the archive is new; if it is, update list of archives.
6474 (todo-default-todo-file): Allow nil to be a valid value for when
6475 there are no todo files.
6476 (todo-reevaluate-default-file-defcustom): Use corrected definition
6477 of todo-default-todo-file.
6478 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6479 (todo-delete-category, todo-show-categories-table)
6480 (todo-category-number): Clarify comment.
6481 (todo-filter-items): Clarify documentation string.
6482 (todo-show-current-file, todo-display-as-todo-file)
6483 (todo-reset-and-enable-done-separator): Tweak documentation string.
6484 (todo-done-separator): Make separator length window-width, since
6485 bug#2749 is now fixed.
6486
6487 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6488
6489 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6490 Support both "gvfs-monitor-dir" and "inotifywait".
6491 (tramp-sh-file-inotifywait-process-filter): Rename from
6492 `tramp-sh-file-notify-process-filter'.
6493 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6494 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6495
6496 2013-07-05 Leo Liu <sdl.web@gmail.com>
6497
6498 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6499
6500 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6501
6502 * frame.el (display-pixel-height, display-pixel-width)
6503 (display-mm-height, display-mm-width): Mention behavior on
6504 multi-monitor setups in docstrings.
6505 (w32-display-monitor-attributes-list): Declare function.
6506 (display-monitor-attributes-list): Use it.
6507
6508 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6509
6510 * filenotify.el: New package.
6511
6512 * autorevert.el (top): Require filenotify.el.
6513 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6514 instead.
6515 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6516 (auto-revert-notify-handler): Use `file-notify-*' functions.
6517
6518 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6519
6520 * net/tramp.el (tramp-file-name-for-operation):
6521 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6522
6523 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6524 for `file-notify-add-watch' and `file-notify-rm-watch'.
6525 (tramp-process-sentinel): Improve trace.
6526 (tramp-sh-handle-file-notify-add-watch)
6527 (tramp-sh-file-notify-process-filter)
6528 (tramp-sh-handle-file-notify-rm-watch)
6529 (tramp-get-remote-inotifywait): New defuns.
6530
6531 2013-07-03 Juri Linkov <juri@jurta.org>
6532
6533 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6534 call of `occur-read-primary-args' to interactive spec.
6535
6536 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6537 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6538
6539 2013-07-03 Matthias Meulien <orontee@gmail.com>
6540
6541 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6542 `Buffer-menu-multi-occur'. Add it to the menu.
6543 (Buffer-menu-mode): Document it in docstring.
6544 (Buffer-menu-multi-occur): New command. (Bug#14673)
6545
6546 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6547
6548 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6549 keywords and built-ins.
6550
6551 2013-07-03 Glenn Morris <rgm@gnu.org>
6552
6553 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6554
6555 Make info-xref checks case-sensitive by default
6556 * info.el (Info-find-node, Info-find-in-tag-table)
6557 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6558 Add option for exact case matching of nodes.
6559 * info-xref.el (info-xref): New custom group.
6560 (info-xref-case-fold): New option.
6561 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6562
6563 2013-07-03 Leo Liu <sdl.web@gmail.com>
6564
6565 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6566
6567 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6568
6569 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6570 middle of block statement initially, lower the depth. Remove
6571 FIXME comment, not longer valid. Remove middle of block statement
6572 detection, no need to do that anymore since we've been using
6573 `ruby-parse-region' here.
6574
6575 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6576
6577 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6578
6579 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6580
6581 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6582
6583 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6584
6585 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6586 (desktop-restore-in-current-display): New customization option.
6587 (desktop--excluded-frame-parameters): Add `font'.
6588 (desktop--save-frames): Rename from desktop--save-windows.
6589 (desktop--restore-in-this-display-p): New function.
6590 (desktop--make-full-frame): Remove unwanted width/height from
6591 full(width|height) frames.
6592 (desktop--restore-frames): Rename from desktop--restore-windows.
6593 Obey desktop-restore-current-display. Do not delete old frames or
6594 select a new frame unless we were able to restore at least one frame.
6595
6596 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6597
6598 * files.el (find-file-noselect): Simplify conditional expression.
6599
6600 * remember.el (remember-append-to-file):
6601 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6602
6603 Add `remember-notes' function to store random notes across Emacs
6604 restarts.
6605 * remember.el (remember-data-file): Add :set callback to affect
6606 notes buffer (if any).
6607 (remember-notes): New command.
6608 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6609 New defcustoms for the `remember-notes' function.
6610 (remember-notes-save-and-bury-buffer): New command.
6611 (remember-notes-mode-map): New variable.
6612 (remember-mode): New minor mode.
6613 (remember-notes--kill-buffer-query): New function.
6614 * startup.el (initial-buffer-choice): Add notes to custom type.
6615
6616 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6617
6618 * bindings.el (right-char, left-char): Don't call sit-for, this is
6619 no longer needed. Use arithmetic comparison only for numerical
6620 arguments.
6621
6622 * international/mule-cmds.el (select-safe-coding-system):
6623 Handle the case of FROM being a string correctly. (Bug#14755)
6624
6625 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6626
6627 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6628 progression on degenerate tables.
6629 (shr-rescale-image): ImageMagick animated images currently don't work.
6630
6631 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6632
6633 Some fixes and improvements for desktop frame restoration.
6634 It is still experimental and disabled by default.
6635 * desktop.el (desktop--save-windows): Put the selected frame at
6636 the head of the list.
6637 (desktop--make-full-frame): New function.
6638 (desktop--restore-windows): Try to re-select the frame that was
6639 selected upon saving. Do not abort if some frames fail to restore,
6640 just show an error message and continue. Set up maximized frames
6641 so they have default non-maximized dimensions.
6642
6643 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6644
6645 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6646 Don't start heredoc inside a string or comment.
6647
6648 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6649
6650 * bindings.el (visual-order-cursor-movement): New defcustom.
6651 (right-char, left-char): Provide visual-order cursor motion by
6652 calling move-point-visually. Update the doc strings.
6653
6654 2013-06-28 Kenichi Handa <handa@gnu.org>
6655
6656 * international/mule.el (define-coding-system): New coding system
6657 properties :inhibit-null-byte-detection,
6658 :inhibit-iso-escape-detection, and :prefer-utf-8.
6659 (set-buffer-file-coding-system): If :charset-list property of
6660 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6661 appropriate for setting.
6662
6663 * international/mule-cmds.el (select-safe-coding-system):
6664 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6665 multibyte characters, return utf-8 (or one of its siblings).
6666
6667 * international/mule-conf.el (prefer-utf-8): New coding system.
6668 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6669 files.
6670
6671 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6672
6673 * net/shr.el (shr-render-region): New function.
6674
6675 * net/eww.el: Autoload `eww-browse-url'.
6676
6677 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6678
6679 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6680 Adapt to `package-desc-version' being a list.
6681 Use `package--ac-desc-version' to retrieve version from a package
6682 archive element.
6683
6684 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6685
6686 New experimental feature to save&restore window and frame setup.
6687 * desktop.el (desktop-save-windows): New defcustom.
6688 (desktop--saved-states): New var.
6689 (desktop--excluded-frame-parameters): New defconst.
6690 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6691 (desktop--restore-windows, desktop--save-windows): New functions.
6692 (desktop-save): Call `desktop--save-windows'.
6693 (desktop-read): Call `desktop--restore-windows'.
6694
6695 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6696
6697 * net/shr.el (add-face-text-property): Remove compat definition.
6698
6699 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6700
6701 * info.el (Info-try-follow-nearest-node): Move search for footnote
6702 above search for node name to prevent missing a footnote (bug#14717).
6703
6704 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6705
6706 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6707
6708 2013-06-27 Leo Liu <sdl.web@gmail.com>
6709
6710 * net/eww.el (eww-read-bookmarks): Check file size.
6711
6712 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6713
6714 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6715 advice--pending if newdef is nil or an autoload (bug#13820).
6716 (advice-mapc): New function.
6717
6718 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6719
6720 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6721 probably.
6722 (eww-mode-map): Add a menu bar.
6723 (eww-add-bookmark): New command.
6724 (eww-bookmark-mode): New mode and commands.
6725 (eww-add-bookmark): Remove newlines from the title.
6726 (eww-bookmark-browse): Don't bug out if it's the only window.
6727
6728 2013-06-26 Glenn Morris <rgm@gnu.org>
6729
6730 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6731 (hfy-size): Handle ttys. (Bug#14668)
6732
6733 * info-xref.el: Update for Texinfo 5 change in *note format.
6734 (info-xref-node-re, info-xref-note-re): New constants.
6735 (info-xref-check-buffer): Use info-xref-note-re.
6736
6737 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6738
6739 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6740
6741 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6742 nil terminate the loop (bug#14718).
6743
6744 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6745
6746 * net/eww.el: Rework history traversal. When going forward/back,
6747 put these actions into the history, too, so that they can be
6748 replayed.
6749 (eww-render): Move the history reset to the correct buffer.
6750
6751 2013-06-25 Juri Linkov <juri@jurta.org>
6752
6753 * files-x.el (modify-dir-local-variable): Change the header comment
6754 in the file with directory local variables. (Bug#14692)
6755
6756 * files-x.el (read-file-local-variable-value): Add `default'.
6757 (Bug#14710)
6758
6759 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6760
6761 * net/eww.el (eww-make-unique-file-name): Create a unique file
6762 name before saving to entering `y' accidentally asynchronously.
6763
6764 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6765
6766 * net/eww.el (eww-download): New command and keystroke.
6767
6768 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6769
6770 * net/eww.el (eww-copy-page-url): Change name of command.
6771
6772 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6773 be more consistent with Info and dired.
6774
6775 * net/eww.el (eww-mode-map): Ditto.
6776
6777 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6778
6779 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6780 packages from archives.
6781 (package-archive-contents): Change format; include obsolete packages.
6782 (package-desc): Use `dir' to mark builtin packages.
6783 (package--from-builtin): Set the `dir' field to `builtin'.
6784 (generated-autoload-file, version-control): Declare.
6785 (package-compute-transaction): Change first arg and return value to be
6786 lists of package-descs. Adjust to new package-archive-contents format.
6787 (package--add-to-archive-contents): Adjust to new
6788 package-archive-contents format.
6789 (package-download-transaction): Arg is now a list of package-descs.
6790 (package-install): If `pkg' is a package name, pass it as
6791 a requirement, so it is subject to the usual (e.g. disabled) checks.
6792 (describe-package): Accept package-desc as well.
6793 (describe-package-1): Describe a specific package-desc. Add links to
6794 other package-descs for the same package name.
6795 (package-menu-describe-package): Pass the actual package-desc.
6796 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6797 works correctly.
6798 (package-desc-status): New function.
6799 (package-menu--refresh): New function, extracted
6800 from package-menu--generate.
6801 (package-menu--generate): Use it.
6802 (package-delete): Update package-alist.
6803 (package-menu-execute): Don't call package-initialize.
6804
6805 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6806 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6807 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6808 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6809 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6810 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6811
6812 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6813
6814 * window.el (window--state-get-1): Workaround for bug#14527.
6815 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6816
6817 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6818
6819 * net/eww.el (eww-back-url): Implement the history by stashing all
6820 the data into a list.
6821 (eww-forward-url): Allow going forward in the history, too.
6822
6823 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6824
6825 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6826 for values and use read--expression for expressions (bug#14710).
6827 (read-file-local-variable): Avoid setq.
6828 (read-file-local-variable-mode): Use minor-mode-list.
6829
6830 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6831
6832 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6833 for DOI URLs.
6834
6835 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6836
6837 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6838 Update imenu-support when dialect changes.
6839
6840 2013-06-25 Leo Liu <sdl.web@gmail.com>
6841
6842 * ido.el (ido-read-internal): Allow forward slash on windows.
6843
6844 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6845
6846 * net/eww.el (eww): Start of strings is \\`, not ^.
6847
6848 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6849
6850 * net/shr.el (shr-browse-url): Fix interactive spec.
6851
6852 * net/eww.el (eww): Add a trailing slash to domain names.
6853
6854 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6855
6856 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6857
6858 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6859
6860 * net/shr.el (shr-browse-url): Use an external browser if given a
6861 prefix.
6862
6863 * net/eww.el (eww-external-browser): Move to shr.
6864
6865 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6866
6867 * net/eww.el (eww): Work more correctly for file: URLs.
6868 (eww-detect-charset): Allow quoted charsets.
6869 (eww-yank-page-url): New command and keystroke.
6870
6871 2013-06-24 Daiki Ueno <ueno@gnu.org>
6872
6873 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6874 file name of gpg executable.
6875 (epg-context-program): New function.
6876 (epg-context-home-directory): New function.
6877 (epg-context-set-program): New function.
6878 (epg-context-set-home-directory): New function.
6879 (epg--start): Use `epg-context-program' instead of
6880 'epg-gpg-program'.
6881 (epg--list-keys-1): Likewise.
6882
6883 2013-06-24 Leo Liu <sdl.web@gmail.com>
6884
6885 * ido.el (ido-read-internal): Fix bug#14620.
6886
6887 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6888
6889 * faces.el (face-documentation): Simplify.
6890 (read-face-attribute, tty-find-type, x-resolve-font-name):
6891 Use `string-match-p'.
6892 (list-faces-display): Use `string-match-p'. Simplify.
6893 (face-spec-recalc): Check face to avoid face alias loops.
6894 (read-color): Use `string-match-p' and non-capturing parenthesis.
6895
6896 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6897
6898 * net/shr.el (shr-rescale-image): Use the new
6899 :max-width/:max-height functionality.
6900
6901 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6902
6903 * net/eww.el (eww-search-prefix): New variable.
6904 (eww): Use it.
6905 (eww-external-browser): New variable.
6906 (eww-mode-map): New keystroke.
6907 (eww-browse-with-external-browser): New command.
6908
6909 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6910
6911 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6912
6913 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6914 Don't skip aligning the next header field when padding is 0;
6915 otherwise, field width is not respected unless the title is as
6916 wide as the field.
6917
6918 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6919
6920 * emacs-lisp/package.el (package-el-version): Remove.
6921 (package-process-define-package): Fix inf-loop.
6922 (package-install): Allow symbols as arguments again.
6923
6924 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6925
6926 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6927 add some more keyword-like methods.
6928 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6929
6930 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6931
6932 * bs.el (bs-buffer-show-mark): Make defvar-local.
6933 (bs-mode): Use setq-local.
6934
6935 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6936 (emacs-lock--try-unlocking): Make defvar-local.
6937
6938 2013-06-22 Glenn Morris <rgm@gnu.org>
6939
6940 * play/cookie1.el (cookie-apropos): Minor simplification.
6941
6942 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6943
6944 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6945
6946 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6947 `regexp-opt', it breaks the build during dumping.
6948
6949 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6950
6951 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6952 Highlight keyword-like methods on Kernel and Module with
6953 font-lock-builtin-face.
6954 (auto-mode-alist): Consolidate different entries into one regexp
6955 and add more *file-s.
6956
6957 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6958
6959 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6960
6961 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6962 (diary-entry): Use it in the action of this button type instead of
6963 diary-goto-entry.
6964
6965 * calendar/todo-mode.el: New version.
6966 (todo-add-category): Append new category to end of file and give
6967 it the highest number, instead of putting it at the beginning and
6968 giving it 0. Incorporate noninteractive functionality.
6969 (todo-forward-category): Adapt to 1-based category numbering.
6970 Allow skipping over archived categories.
6971 (todo-backward-category): Derive from todo-forward-category.
6972 (todo-backward-item, todo-forward-item): Make noninteractive and
6973 delegate interactive part to new commands. Make sensitive to done items.
6974 (todo-categories): Make value an alist of category names and
6975 vectors of item counts.
6976 (todo-category-beg): Make a defconst.
6977 (todo-category-number): Use 1 instead of 0 as initial value.
6978 (todo-category-select): Make sensitive to overlays, optional item
6979 highlighting and done items.
6980 (todo-delete-item): Make sensitive to overlays and marked and done items.
6981 (todo-edit-item): Make sensitive to overlays and editing of
6982 date/time header optional. Add format checks.
6983 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6984 no-op if point is not on an item. Advertise using todo-edit-quit.
6985 (todo-edit-mode): Make sensitive to new format, font-locking, and
6986 multiple todo files.
6987 (todo-insert-item, todo-insert-item-here): Derive from
6988 todo-basic-insert-item and extend functionality.
6989 (todo-item-end, todo-item-start): Make sensitive to done items.
6990 (todo-item-string): Don't return text properties. Restore point.
6991 (todo-jump-to-category): Make sensitive to multiple todo files and
6992 todo archives. Use extended category completion.
6993 (todo-lower-item, todo-raise-item): Rename to *-priority and
6994 derive from todo-set-item-priority.
6995 (todo-mode): Derive from special-mode. Make sensitive to new
6996 format, font-locking and multiple todo files. Make read-only.
6997 (todo-mode-map): Don't suppress digit keys, so they can supply
6998 prefix arguments. Add many new key bindings.
6999 (todo-prefix): Insert as an overlay instead of file text.
7000 Change semantics from diary date expression to purely visual mark.
7001 (todo-print): Rename to todo-print-buffer. Make buffer display
7002 features printable. Remove option to restrict number of items
7003 printed. Add option to print to file.
7004 (todo-print-function): Rename to todo-print-buffer-function.
7005 (todo-quit): Extend to handle exiting new todo modes.
7006 (todo-remove-item): Make sensitive to overlays.
7007 (todo-save): Extend to buffers of filtered items.
7008 (todo-show): Make sensitive to done items, multiple todo files and
7009 new todo modes. Offer to convert legacy todo file before creating
7010 first new todo file.
7011 (todo-show-priorities): Rename to todo-top-priorities.
7012 Change semantics of value 0.
7013 (todo-top-priorities): Rename to todo-filter-top-priorities,
7014 derive from todo-filter-items and extend functionality.
7015 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7016 and extend functionality to other types of filtered items.
7017 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7018 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7019 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7020 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7021 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7022 (todo-edit-mode-hook, todo-entry-prefix-function)
7023 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7024 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7025 (todo-initials, todo-insert-threshold, todo-item-string-start)
7026 (todo-line-string, todo-menu, todo-mode-hook)
7027 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7028 (todo-print-priorities, todo-remove-separator)
7029 (todo-save-top-priorities-too, todo-string-count-lines)
7030 (todo-string-multiline-p, todo-time-string-format)
7031 (todo-tmp-buffer-name): Remove.
7032 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7033 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7034 (todo-edit-category-diary-inclusion)
7035 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7036 (todo-edit-file, todo-edit-item-date-day)
7037 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7038 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7039 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7040 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7041 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7042 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7043 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7044 (todo-filter-top-priorities-multifile, todo-find-archive)
7045 (todo-find-filtered-items-file, todo-go-to-source-item)
7046 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7047 (todo-jump-to-archive-category, todo-lower-category)
7048 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7049 (todo-move-category, todo-move-item, todo-next-button)
7050 (todo-next-item, todo-padded-string, todo-powerset)
7051 (todo-previous-button, todo-previous-item)
7052 (todo-print-buffer-to-file, todo-raise-category)
7053 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7054 (todo-set-category-number, todo-set-item-priority)
7055 (todo-set-top-priorities-in-category)
7056 (todo-set-top-priorities-in-file, todo-show-categories-table)
7057 (todo-sort-categories-alphabetically-or-numerically)
7058 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7059 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7060 (todo-toggle-item-header, todo-toggle-item-highlighting)
7061 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7062 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7063 (todo-unarchive-items, todo-unmark-category): New commands.
7064 (todo-absolute-file-name, todo-add-to-buffer-list)
7065 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7066 (todo-basic-insert-item, todo-category-completions)
7067 (todo-category-number, todo-category-string-matcher-1)
7068 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7069 (todo-check-format, todo-clear-matches)
7070 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7071 (todo-current-category, todo-date-string-matcher)
7072 (todo-define-insertion-command, todo-diary-expired-matcher)
7073 (todo-diary-goto-entry, todo-diary-item-p)
7074 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7075 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7076 (todo-done-item-section-p, todo-done-separator)
7077 (todo-done-string-matcher, todo-files, todo-filter-items)
7078 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7079 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7080 (todo-insert-category-line, todo-insert-item-from-calendar)
7081 (todo-insert-sort-button, todo-insert-with-overlays)
7082 (todo-insertion-command-name, todo-insertion-key-bindings)
7083 (todo-label-to-key, todo-longest-category-name-length)
7084 (todo-make-categories-list, todo-mode-external-set)
7085 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7086 (todo-modes-set-3, todo-multiple-filter-files)
7087 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7088 (todo-read-category, todo-read-date, todo-read-dayname)
7089 (todo-read-file-name, todo-read-time)
7090 (todo-reevaluate-category-completions-files-defcustom)
7091 (todo-reevaluate-default-file-defcustom)
7092 (todo-reevaluate-filelist-defcustoms)
7093 (todo-reevaluate-filter-files-defcustom)
7094 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7095 (todo-reset-done-separator, todo-reset-done-separator-string)
7096 (todo-reset-done-string, todo-reset-global-current-todo-file)
7097 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7098 (todo-reset-prefix, todo-set-categories)
7099 (todo-set-date-from-calendar, todo-set-show-current-file)
7100 (todo-set-top-priorities, todo-short-file-name)
7101 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7102 (todo-total-item-counts, todo-update-buffer-list)
7103 (todo-update-categories-display, todo-update-categories-sexp)
7104 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7105 New functions.
7106 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7107 New major modes.
7108 (todo-categories, todo-display, todo-edit, todo-faces)
7109 (todo-filtered): New defgroups.
7110 (todo-archived-only, todo-button, todo-category-string, todo-date)
7111 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7112 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7113 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7114 (todo-add-item-if-new-category, todo-always-add-time-string)
7115 (todo-categories-align, todo-categories-archived-label)
7116 (todo-categories-category-label, todo-categories-diary-label)
7117 (todo-categories-done-label, todo-categories-number-separator)
7118 (todo-categories-todo-label, todo-categories-totals-label)
7119 (todo-category-completions-files, todo-completion-ignore-case)
7120 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7121 (todo-done-separator-string, todo-done-string)
7122 (todo-files-function, todo-filter-done-items, todo-filter-files)
7123 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7124 (todo-initial-category, todo-initial-file, todo-item-mark)
7125 (todo-legacy-date-time-regexp, todo-mode-line-function)
7126 (todo-nondiary-marker, todo-number-prefix)
7127 (todo-print-buffer-function, todo-show-current-file)
7128 (todo-show-done-only, todo-show-first, todo-show-with-done)
7129 (todo-skip-archived-categories, todo-top-priorities-overrides)
7130 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7131 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7132 New defcustoms.
7133 (todo-category-done, todo-date-pattern, todo-date-string-start)
7134 (todo-diary-items-buffer, todo-done-string-start)
7135 (todo-filtered-items-buffer, todo-item-start)
7136 (todo-month-abbrev-array, todo-month-name-array)
7137 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7138 (todo-top-priorities-buffer): New defconsts.
7139 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7140 (todo-categories-with-marks, todo-category-string-face)
7141 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7142 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7143 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7144 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7145 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7146 (todo-font-lock-keywords, todo-global-current-todo-file)
7147 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7148 (todo-insertion-commands-args)
7149 (todo-insertion-commands-args-genlist)
7150 (todo-insertion-commands-names, todo-insertion-map)
7151 (todo-key-bindings-t, todo-key-bindings-t+a)
7152 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7153 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7154 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7155 (todo-visited): New variables.
7156
7157 2013-06-21 Glenn Morris <rgm@gnu.org>
7158
7159 * play/cookie1.el (cookie-apropos): Add optional display argument.
7160 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7161 (psychoanalyze-pinhead): Use cookie-doctor.
7162
7163 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7164
7165 * emacs-lisp/package.el (tar-get-file-descriptor)
7166 (tar--extract): Declare.
7167
7168 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7169
7170 Extend flymake's warning predicate to be a function (bug#14217).
7171 * progmodes/flymake.el (flymake-warning-predicate): New.
7172 (flymake-parse-line): Use it.
7173 (flymake-warning-re): Make obsolete alias to
7174 `flymake-warning-predicate'.
7175
7176 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7177
7178 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7179 (package-obsolete-list): Remove.
7180 (package-activate): Remove min-version argument. Add `force' argument.
7181 Adjust to new package-alist format.
7182 (package-mark-obsolete): Remove.
7183 (package-unpack): Force reload of the package's autoloads.
7184 (package-installed-p): Check builtins if the installed package is not
7185 recent enough.
7186 (package-initialize): Don't reset package-obsolete-list.
7187 Don't specify which package version to activate.
7188 (package-process-define-package, describe-package-1)
7189 (package-menu--generate): Adjust to new package-alist format.
7190
7191 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7192
7193 * allout-widgets.el (allout-widgets-mode-off)
7194 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7195 (allout-widgets-post-command-business)
7196 (allout-widgets-after-copy-or-kill-function)
7197 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7198 (allout-decorate-item-and-context)
7199 (allout-graphics-modification-handler): Fix typos in docstrings.
7200 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7201
7202 * cmuscheme.el (scheme-start-file): Doc fix.
7203 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7204 (scheme-input-filter): Use `string-match-p'.
7205
7206 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7207
7208 * dired-x.el: Use Dired consistently in docstrings.
7209
7210 * dired.el: Use Dired consistently in docstrings.
7211 (dired-readin, dired-mode): Use `setq-local'.
7212 (dired-switches-alist): Make defvar-local.
7213 (dired-buffers-for-dir): Use `zerop'.
7214 (dired-safe-switches-p, dired-switches-escape-p)
7215 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7216 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7217 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7218 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7219 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7220 (dired-toggle-marks, dired-mark-files-containing-regexp)
7221 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7222 (dired-flag-auto-save-files, dired-flag-backup-files):
7223 Use `looking-at-p'.
7224 (dired-mark-files-regexp, dired-build-subdir-alist):
7225 Use `string-match-p', `looking-at-p'.
7226
7227 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7228 (direct-print-region-helper): Use `string-match-p'.
7229
7230 2013-06-21 Leo Liu <sdl.web@gmail.com>
7231
7232 * comint.el (comint-redirect-results-list-from-process):
7233 Fix infinite loop.
7234
7235 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7236
7237 * net/eww.el (eww-update-header-line-format): Quote % characters.
7238
7239 2013-06-21 Glenn Morris <rgm@gnu.org>
7240
7241 * play/cookie1.el (cookie): New custom group.
7242 (cookie-file): New option.
7243 (cookie-check-file): New function.
7244 (cookie): Make it interactive. Make start and end messages optional.
7245 Interactively, display the result. Default to cookie-file.
7246 (cookie-insert): Default to cookie-file.
7247 (cookie-snarf): Make start and end messages optional.
7248 Default to cookie-file. Use with-temp-buffer.
7249 (cookie-read): Rename from read-cookie.
7250 Make start and end messages optional. Default to cookie-file.
7251 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7252 Do not autoload it.
7253 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7254 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7255
7256 2013-06-21 Leo Liu <sdl.web@gmail.com>
7257
7258 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7259
7260 2013-06-21 Glenn Morris <rgm@gnu.org>
7261
7262 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7263
7264 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7265 Daniel Hackney <dan@haxney.org>
7266
7267 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7268 Consolidate the single-file vs tarball code.
7269 (package-desc-suffix): New function.
7270 (package-desc-full-name): Don't bother inlining it.
7271 (package-load-descriptor): Return the new package-desc.
7272 (package-mark-obsolete): Remove unused arg `package'.
7273 (package-unpack): Make it work for single files as well.
7274 Make it update package-alist.
7275 (package--make-autoloads-and-stuff): Rename from
7276 package--make-autoloads-and-compile. Don't compile any more.
7277 (package--compile): New function.
7278 (package-generate-description-file): New function, extracted from
7279 package-unpack-single.
7280 (package-unpack-single): Remove.
7281 (package--with-work-buffer): Add indentation and debugging info.
7282 (package-download-single): Remove.
7283 (package-install-from-archive): Rename from package-download-tar, make
7284 it take a pkg-desc, and make it work for single files as well.
7285 (package-download-transaction): Simplify.
7286 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7287 external tar program.
7288 (package-install-from-buffer): Remove `pkg-desc' argument.
7289 Use package-tar-file-info for tar-mode buffers.
7290 (package-install-file): Simplify accordingly.
7291 (package-archive-base): Change to take a pkg-desc.
7292 * tar-mode.el (tar--check-descriptor): New function, extracted from
7293 tar-get-descriptor.
7294 (tar-get-descriptor): Use it.
7295 (tar-get-file-descriptor): New function.
7296 (tar--extract): New function, extracted from tar-extract.
7297 (tar--extract): Use it.
7298 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7299 case the summary uses non-ascii. Adjust to new calling convention of
7300 package-tar-file-info.
7301
7302 2013-06-21 Leo Liu <sdl.web@gmail.com>
7303
7304 * comint.el (comint-redirect-results-list-from-process):
7305 Fix random delay. (Bug#14681)
7306
7307 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7308
7309 * profiler.el (profiler-format-number): Use log, not log10.
7310
7311 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7312
7313 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7314
7315 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7316
7317 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7318 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7319 yet available.
7320 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7321 (AUTOGENEL): ... here.
7322 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7323 (cl--defsubst-expand): Use it.
7324
7325 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7326
7327 * subr.el (log10): Move here from C code, and declare as obsolete.
7328 All uses of (log10 X) replaced with (log X 10).
7329
7330 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7331
7332 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7333 Declare with `defvar-local'.
7334 (tabulated-list-use-header-line, tabulated-list-entries)
7335 (tabulated-list-padding, tabulated-list-printer)
7336 (tabulated-list-sort-key): Declare with `defvar-local'.
7337 (tabulated-list-init-header, tabulated-list-print-fake-header):
7338 Use `setq-local'.
7339
7340 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7341
7342 * arc-mode.el (archive-mode): Add `archive-write-file' to
7343 `write-contents-functions' also for remote files. (Bug#14652)
7344
7345 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7346
7347 * cus-edit.el (custom-commands): Fix typos.
7348 (custom-display): Fix tooltip text.
7349 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7350 Fix typos in docstrings.
7351 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7352 (custom-unlispify-menu-entry, custom-magic-value-create)
7353 (custom-add-see-also, custom-group-value-create): Use ?\s.
7354 (custom-guess-type, customize-apropos, editable-field)
7355 (custom-face-value-create): Use `string-match-p'.
7356 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7357
7358 * custom.el (custom-load-symbol): Use `string-match-p'.
7359
7360 * ansi-color.el: Convert to lexical binding.
7361 (ansi-colors): Fix URL.
7362 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7363 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7364 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7365
7366 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7367
7368 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7369
7370 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7371
7372 2013-06-19 Tom Tromey <tromey@redhat.com>
7373
7374 * net/eww.el (eww-top-url): Remove.
7375 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7376 (eww-render): Set new variables. Don't set eww-top-url.
7377 (eww-handle-link): Handle "prev", "home", and "contents".
7378 Downcase the rel text.
7379 (eww-top-url): Choose best top URL.
7380
7381 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7382
7383 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7384 relying in widget.el. Using widget.el leads to too many
7385 user interface inconsistencies.
7386 (eww-self-insert): Implement entering commands in text fields.
7387 (eww-process-text-input): New function to make text input field editing
7388 work.
7389 (eww-submit): Rewrite to use the new-style form methods.
7390 (eww-select-display): Display the correct selected item.
7391 (eww-change-select): Implement changing the select value.
7392 (eww-toggle-checkbox): Implement radio/checkboxes.
7393 (eww-update-field): Fix compilation error.
7394 (eww-tag-textarea): Implement <textarea>.
7395
7396 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7397 we don't shadow mode-specific bindings.
7398
7399 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7400 nothing to push.
7401
7402 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7403
7404 2013-06-19 Glenn Morris <rgm@gnu.org>
7405
7406 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7407
7408 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7409
7410 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7411 not needed.
7412
7413 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7414
7415 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7416
7417 * net/browse-url.el (browse-url-browser-function):
7418 `eww-browse-url' has the right calling signature, `eww' does not.
7419
7420 2013-06-19 Glenn Morris <rgm@gnu.org>
7421
7422 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7423 Only eval autoloaded macros.
7424 (byte-compile-autoload): Only give the macro warning for macros.
7425
7426 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7427 (ps-underlined-faces): Declare.
7428
7429 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7430 (speedbar-add-supported-extension): Declare.
7431
7432 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7433 Don't include a date stamp in the header of the generated file;
7434 it leads to needless differences between output files.
7435
7436 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7437
7438 * net/secrets.el (secrets-struct-secret-content-type):
7439 Replace check of introspection data by a test call of "CreateItem".
7440 Some servers do not offer introspection.
7441
7442 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7443
7444 * electric.el (electric-pair-mode): Improve interaction with
7445 electric-layout-mode.
7446 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7447 (electric-pair-syntax): Use text-mode-syntax-table in comments
7448 and strings.
7449 (electric-pair--insert): New function.
7450 (electric-pair-post-self-insert-function): Use it and
7451 electric--after-char-pos.
7452
7453 2013-06-19 Leo Liu <sdl.web@gmail.com>
7454
7455 * progmodes/octave.el (octave-help): Fix regexp.
7456
7457 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7458
7459 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7460 (shr-table-horizontal-line): Allow nil as a value, and change the
7461 default.
7462 (shr-insert-table-ruler): Respect the nil value.
7463
7464 2013-06-18 Tom Tromey <tromey@barimba>
7465
7466 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7467 New defvars.
7468 (eww-open-file): New defun.
7469 (eww-render): Initialize new variables.
7470 (eww-display-html): Handle "link" and "a".
7471 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7472 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7473 (eww-back-url): Rename from eww-previous-url.
7474 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7475 New defuns.
7476
7477 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7478
7479 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7480 Distinguish ternary operator tokens from slash symbol and slash
7481 char literal.
7482
7483 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7484
7485 Convert symbol prettification into minor mode and global minor mode.
7486
7487 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7488 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7489 (prettify-symbols--keywords): Rename from
7490 `prog-prettify-symbols-alist' and make a local defvar.
7491 (prettify-symbols--compose-symbol): Rename from
7492 `prog--prettify-font-lock-compose-symbol'.
7493 (prettify-symbols--make-keywords): Rename from
7494 `prog-prettify-font-lock-symbols-keywords' and simplify.
7495 (prog-prettify-install): Remove.
7496 (prettify-symbols-mode): New minor mode, based on
7497 `prog-prettify-install'.
7498 (turn-on-prettify-symbols-mode): New function.
7499 (global-prettify-symbols-mode): New globalized minor mode.
7500
7501 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7502 * progmodes/cfengine.el (cfengine3-mode):
7503 * progmodes/perl-mode.el (perl-mode): Don't call
7504 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7505
7506 2013-06-18 Juri Linkov <juri@jurta.org>
7507
7508 * files-x.el (modify-file-local-variable-message): New function.
7509 (modify-file-local-variable)
7510 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7511 and call `modify-file-local-variable-message' when it's non-nil.
7512 (add-file-local-variable, delete-file-local-variable)
7513 (add-file-local-variable-prop-line)
7514 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7515 and use it. (Bug#9820)
7516
7517 2013-06-18 Juri Linkov <juri@jurta.org>
7518
7519 * emulation/vi.el (vi-shell-op):
7520 * emulation/vip.el (vip-execute-com, ex-command):
7521 * emulation/viper-cmd.el (viper-exec-bang):
7522 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7523 the call of `shell-command-on-region'. (Bug#14637)
7524
7525 * simple.el (shell-command-on-region): Doc fix.
7526
7527 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7528
7529 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7530 (bug#14633).
7531
7532 2013-06-18 Glenn Morris <rgm@gnu.org>
7533
7534 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7535
7536 * newcomment.el (comment-search-forward, comment-search-backward):
7537 Doc fix. (Bug#14376)
7538
7539 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7540
7541 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7542 (buffer-face-mode-invoke): Doc fix.
7543
7544 2013-06-18 Matthias Meulien <orontee@gmail.com>
7545
7546 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7547 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7548
7549 2013-06-18 Glenn Morris <rgm@gnu.org>
7550
7551 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7552 Replace obsolete function generic-make-keywords with its expansion.
7553
7554 * progmodes/python.el (ffap-alist): Declare.
7555
7556 * textmodes/reftex.el (bibtex-mode-map): Declare.
7557
7558 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7559
7560 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7561 (package-unpack, package-unpack-single): Return the pkg-dir.
7562 (package-download-transaction): Use it to update package-alist.
7563
7564 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7565
7566 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7567 possible choice.
7568
7569 2013-06-17 Juri Linkov <juri@jurta.org>
7570
7571 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7572
7573 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7574
7575 * emacs-lisp/package.el (package-load-descriptor):
7576 Remove `with-syntax-table' call, `read' doesn't need it.
7577 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7578
7579 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7580
7581 * startup.el (command-line): Expand package name returned by
7582 `package--description-file' (bug#14639).
7583
7584 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7585
7586 * emacs-lisp/package.el (package-load-descriptor): Do not call
7587 `emacs-lisp-mode', just use its syntax table.
7588
7589 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7590
7591 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7592 `font-lock-extra-managed-props' if any prettifying keyword is added.
7593 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7594 (prog-mode): Use `setq-local'.
7595
7596 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7597
7598 * international/characters.el (standard-case-table): Set syntax of ?»
7599 and ?« to punctuation.
7600
7601 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7602
7603 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7604 Save relevant match data before calling `syntax-ppss' (bug#14595).
7605
7606 2013-06-15 Juri Linkov <juri@jurta.org>
7607
7608 * files-x.el (modify-file-local-variable-prop-line): Add local
7609 variables to the end of the existing comment on the first line.
7610 Use `file-auto-mode-skip' to skip interpreter magic line,
7611 and also skip XML declaration.
7612
7613 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7614
7615 * startup.el (package--builtin-versions): New var.
7616 (package-subdirectory-regexp): Remove.
7617 (package--description-file): Hard code its value instead.
7618
7619 * emacs-lisp/package.el: Don't activate packages older than builtin.
7620 (package-obsolete-list): Rename from package-obsolete-alist, and make
7621 it into a simple list of package-desc.
7622 (package-strip-version): Remove.
7623 (package-built-in-p): Use package--builtin-versions.
7624 (package-mark-obsolete): Simplify.
7625 (package-process-define-package): Mark it obsolete if older than the
7626 builtin version.
7627 (package-handle-response): Use line-end-position.
7628 (package-read-archive-contents, package--download-one-archive):
7629 Simplify.
7630 (package--add-to-archive-contents): Skip if older than the builtin or
7631 installed version.
7632 (package-menu-describe-package): Fix last change.
7633 (package-list-unversioned): New var.
7634 (package-menu--generate): Use it.
7635
7636 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7637 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7638 (autoload-builtin-package-versions): New variable.
7639 (autoload-generate-file-autoloads): Use them.
7640 Remove the list of autoloaded functions/macros from the
7641 (autoload...) comments.
7642
7643 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7644
7645 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7646
7647 * simple.el (line-move-partial): Don't jump to the next screen
7648 line as soon as it becomes visible. Instead, continue enlarging
7649 the vscroll until the portion of a tall screen line that's left on
7650 display is about the height of the frame's default font.
7651 (Bug#14567)
7652
7653 2013-06-15 Glenn Morris <rgm@gnu.org>
7654
7655 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7656 compilation-error-regexp-alist void, or local while let-bound.
7657
7658 * progmodes/make-mode.el (makefile-mode-syntax-table):
7659 Treat "=" as punctuation. (Bug#14614)
7660
7661 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7662
7663 * help-fns.el (describe-variable):
7664 Add extra line for permanent-local variables.
7665
7666 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7667
7668 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7669 Add export, import, library. (Bug#9164)
7670 (library): Set indent function.
7671
7672 2013-06-14 Glenn Morris <rgm@gnu.org>
7673
7674 * term/xterm.el (xterm--query):
7675 Stop after first matching handler. (Bug#14615)
7676
7677 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7678
7679 Add support for dired in saveplace.
7680 * dired.el (dired-initial-position-hook): New variable.
7681 (dired-initial-position): Call hook to place cursor position.
7682 * saveplace.el (save-place-to-alist): Add dired position.
7683 (save-place-dired-hook): New function.
7684
7685 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7686
7687 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7688 through a symbol rather than letrec.
7689
7690 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7691 (package-desc): Add `dir' field.
7692 (package-desc-full-name): New function.
7693 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7694 (package-maybe-load-descriptor): Remove.
7695 (package-load-all-descriptors): Just call package-load-descriptor.
7696 (package--disabled-p): New function.
7697 (package-desc-vers, package-desc-doc): Remove aliases.
7698 (package--dir): Remove function.
7699 (package-activate): Check if a package is disabled.
7700 (package-process-define-package): New function, extracted from
7701 define-package.
7702 (define-package): Turn into a place holder.
7703 (package-unpack-single, package-tar-file-info):
7704 Use package--description-file.
7705 (package-compute-transaction): Use package--disabled-p.
7706 (package-download-transaction): Don't call
7707 package-maybe-load-descriptor since they're all loaded anyway.
7708 (package-install): Change argument to be a pkg-desc.
7709 (package-delete): Use a single pkg-desc argument.
7710 (describe-package-1): Use package-desc-dir instead of package--dir.
7711 Use package-desc property instead of package-symbol.
7712 (package-install-button-action): Adjust accordingly.
7713 (package--push): Rewrite.
7714 (package-menu--print-info): Adjust accordingly. Change the ID format
7715 to be a pkg-desc.
7716 (package-menu-describe-package, package-menu-get-status)
7717 (package-menu--find-upgrades, package-menu-mark-upgrades)
7718 (package-menu-execute, package-menu--name-predicate):
7719 Adjust accordingly.
7720 * startup.el (package--description-file): New function.
7721 (command-line): Use it.
7722 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7723 Use package-desc-version.
7724
7725 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7726 (byte-compile-preprocess): Use it.
7727 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7728 can't quite recognize.
7729 (byte-compile-add-to-list): Remove.
7730 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7731 (cconv-closure-convert): Add assertion.
7732
7733 * emacs-lisp/map-ynp.el: Use lexical-binding.
7734 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7735 Factor out some repeated code.
7736
7737 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7738
7739 * subr.el (with-eval-after-load): New macro.
7740 (eval-after-load): Allow form to be a function.
7741 take advantage of lexical-binding.
7742 (do-after-load-evaluation): Use dolist and adjust to new format.
7743 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7744
7745 2013-06-13 Juri Linkov <juri@jurta.org>
7746
7747 * replace.el (perform-replace): Display "symbol " and other search
7748 modes from `isearch-message-prefix' in the *Help* buffer.
7749
7750 * isearch.el (isearch-query-replace): Add " symbol" and other
7751 possible search modes from `isearch-message-prefix' to the prompt.
7752 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7753 when reading a regexp to collect.
7754
7755 2013-06-13 Juri Linkov <juri@jurta.org>
7756
7757 * isearch.el (word-search-regexp): Match whitespace if the search
7758 string begins or ends in whitespace. The LAX arg is applied to
7759 both ends of the search string. Use `regexp-quote' and explicit
7760 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7761 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7762 boundaries are replaced with symbol boundaries, and characters
7763 between symbols match non-word non-symbol syntax. (Bug#14602)
7764
7765 2013-06-13 Juri Linkov <juri@jurta.org>
7766
7767 * isearch.el (isearch-del-char): Don't exceed the length of
7768 `isearch-string' by the prefix arg. (Bug#14563)
7769
7770 2013-06-13 Juri Linkov <juri@jurta.org>
7771
7772 * isearch.el (isearch-yank-word, isearch-yank-line)
7773 (isearch-char-by-name, isearch-quote-char)
7774 (isearch-printing-char, isearch-process-search-char):
7775 Add optional count prefix arg. (Bug#14563)
7776
7777 * international/isearch-x.el
7778 (isearch-process-search-multibyte-characters):
7779 Add optional count prefix arg.
7780
7781 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7782
7783 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7784 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7785 lexical-binding.
7786
7787 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7788
7789 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7790
7791 2013-06-13 Glenn Morris <rgm@gnu.org>
7792
7793 * startup.el (tty-handle-args):
7794 Don't just discard "--" and anything after. (Bug#14608)
7795
7796 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7797
7798 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7799
7800 Implement changes in Secret Service API. Make it backward compatible.
7801 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7802 (secrets-create-item): Use it. Prefix properties with interface.
7803
7804 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7805
7806 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7807 (term-emulate-terminal): Respect term-suppress-hard-newline.
7808
7809 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7810
7811 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7812 Only remove a `thumb-file' overlay. (Bug#14548)
7813
7814 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7815
7816 * mail/reporter.el (reporter-submit-bug-report):
7817 Handle missing package-name. (Bug#14600)
7818
7819 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7820
7821 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7822 (reftex-citation-prompt, reftex-default-bibliography)
7823 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7824 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7825 (reftex-bib-sort-author, reftex-bib-sort-year)
7826 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7827 (reftex-extract-bib-entries-from-thebibliography)
7828 (reftex-get-bibkey-default, reftex-get-bib-names)
7829 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7830 (reftex-format-bib-entry, reftex-parse-bibitem)
7831 (reftex-format-bibitem, reftex-do-citation)
7832 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7833 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7834 (reftex-insert-bib-matches, reftex-format-citation)
7835 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7836 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7837 existing comments into docstrings.
7838
7839 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7840
7841 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7842
7843 2013-06-12 Andreas Schwab <schwab@suse.de>
7844
7845 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7846 for auto-save files.
7847
7848 2013-06-12 Glenn Morris <rgm@gnu.org>
7849
7850 * ido.el (ido-delete-ignored-files): Remove.
7851 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7852 Go back to calling ido-ignore-item-p directly.
7853
7854 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7855
7856 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7857
7858 * ido.el (ido-delete-ignored-files): New function,
7859 split from ido-make-file-list-1.
7860 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7861 (ido-make-file-list-1): Use ido-delete-ignored-files.
7862
7863 2013-06-12 Leo Liu <sdl.web@gmail.com>
7864
7865 * progmodes/octave.el (inferior-octave-startup)
7866 (inferior-octave-completion-table)
7867 (inferior-octave-track-window-width-change)
7868 (octave-eldoc-function-signatures, octave-help)
7869 (octave-find-definition): Use single quoted strings.
7870 (inferior-octave-startup-args): Change default value.
7871 (inferior-octave-startup): Do not hard code "-i" and
7872 "--no-line-editing".
7873 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7874 (inferior-octave-directory-tracker): Use it.
7875 (octave-goto-function-definition): Robustify.
7876 (octave-help): Support highlighting operators in 'See also'.
7877 (octave-find-definition): Find subfunctions only in Octave mode.
7878
7879 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7880
7881 * help-fns.el (help-fns--compiler-macro): If the handler function is
7882 named, then put a link to it.
7883 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7884 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7885 (cl-typep): Use it.
7886 (cl-eval-when): Simplify debug spec.
7887 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7888 compiler-macro function instead of setting `compiler-macro-file'.
7889
7890 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7891
7892 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7893 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7894
7895 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7896 Daniel Hackney <dan@haxney.org>
7897
7898 First part of Daniel Hackney's patch to package.el.
7899 * emacs-lisp/package.el: Use defstruct.
7900 (package-desc): New, main struct.
7901 (package--bi-desc, package--ac-desc): New structs, used to describe the
7902 format in external files.
7903 (package-desc-vers): Replace with package-desc-version accessor.
7904 (package-desc-doc): Replace with package-desc-summary accessor.
7905 (package-activate-1): Remove `package' arg since the pkg-vec now
7906 includes the name.
7907 (define-package): Use package-desc-from-define.
7908 (package-unpack-single): Change file-name arg to be a symbol.
7909 (package--add-to-archive-contents): Use package-desc-create and new
7910 accessor functions to package--ac-desc.
7911 (package-buffer-info, package-tar-file-info): Return a package-desc.
7912 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7913 arg to be a package-desc.
7914 (package-install-file): Adjust accordingly. Use \' to match EOS.
7915 (package--from-builtin): New function.
7916 (describe-package-1, package-menu--generate): Use it.
7917 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7918 (package-generate-autoloads): Idem and return the name of the file.
7919 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7920 Change pkg-info arg to be a package-desc.
7921 Use package-make-ac-desc.
7922 (package-upload-file): Use \' to match EOS.
7923 * finder.el (finder-compile-keywords): Use package-make-builtin.
7924
7925 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7926
7927 * vc/vc.el (vc-deduce-fileset): Change error message.
7928 (vc-read-backend): New function.
7929 (vc-next-action): Use it.
7930
7931 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7932
7933 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7934 (prolog-font-lock-keywords): Use regexp-opt instead.
7935 Don't manually highlight strings.
7936 (prolog-mode-variables): Simplify comment-start-skip.
7937 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7938
7939 * emacs-lisp/generic.el (generic--normalise-comments)
7940 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7941 (generic-mode-set-comments): Use them.
7942 (generic-bracket-support): Use setq-local.
7943 (generic-make-keywords-list): Declare obsolete.
7944
7945 2013-06-11 Glenn Morris <rgm@gnu.org>
7946
7947 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7948 Prettify after setting font-lock-defaults. (Bug#14574)
7949
7950 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7951
7952 * replace.el (query-replace, occur-read-regexp-defaults-function)
7953 (replace-search):
7954 * subr.el (declare-function, number-sequence, local-set-key)
7955 (substitute-key-definition, locate-user-emacs-file)
7956 (with-silent-modifications, split-string, eval-after-load):
7957 Fix typos, remove unneeded backslashes and reflow some docstrings.
7958
7959 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7960
7961 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7962 default for Elisp files.
7963
7964 2013-06-11 Glenn Morris <rgm@gnu.org>
7965
7966 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7967 although define-derived-mode was doing this anyway. (Bug#14583)
7968
7969 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7970
7971 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7972 Fix make-variable-buffer-local call to refer to the correct variable.
7973
7974 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7975
7976 * eshell/em-term.el (eshell-visual-commands)
7977 (eshell-visual-subcommands, eshell-visual-options):
7978 Add summary line to docstrings. Add cross-references.
7979
7980 2013-06-10 Glenn Morris <rgm@gnu.org>
7981
7982 * epa.el (epa-read-file-name): New function. (Bug#14510)
7983 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7984
7985 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7986
7987 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7988 output redirection to be ignored with visual commands.
7989
7990 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7991
7992 * eshell/em-term.el (eshell-visual-command-p): New function.
7993 (eshell-term-initialize): Move long lambda to separate function
7994 eshell-visual-command-p.
7995 * eshell/em-dirs.el (eshell-dirs-initialise):
7996 * eshell/em-script.el (eshell-script-initialize):
7997 Add missing #' to lambda.
7998
7999 2013-06-08 Leo Liu <sdl.web@gmail.com>
8000
8001 * progmodes/octave.el (octave-add-log-current-defun): New function.
8002 (octave-mode): Set add-log-current-defun-function.
8003 (octave-goto-function-definition): Do not move point if not found.
8004 (octave-find-definition): Enhance to try subfunctions first.
8005
8006 2013-06-08 Glenn Morris <rgm@gnu.org>
8007
8008 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8009 (byte-compile-backward-char, byte-compile-backward-word):
8010 Improve previous change, to handle non-explicit nil.
8011
8012 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8013
8014 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8015 (smie--opener/closer-at-point): New function.
8016 (smie--matching-block-data): Use it. Don't match from right after an
8017 opener or right before a closer. Obey smie-blink-matching-inners.
8018 Don't signal a mismatch for repeated inners like "switch..case..case".
8019
8020 2013-06-07 Leo Liu <sdl.web@gmail.com>
8021
8022 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8023 to t. (Bug#14303)
8024 (octave-function-header-regexp): Fix. (Bug#14570)
8025 (octave-help-mode-finish-hook, octave-help-mode-finish):
8026 Remove. Just use temp-buffer-show-hook.
8027
8028 * newcomment.el (comment-search-backward): Revert last change.
8029 (Bug#14434)
8030
8031 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8032
8033 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8034
8035 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8036 through xargs, to avoid failure due to MS-Windows limitations on
8037 command-line length.
8038
8039 2013-06-06 Glenn Morris <rgm@gnu.org>
8040
8041 * font-lock.el (lisp-font-lock-keywords-2):
8042 Treat user-error like error.
8043
8044 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8045 (byte-compile-backward-char, byte-compile-backward-word):
8046 Handle explicit nil arguments. (Bug#14565)
8047
8048 2013-06-05 Alan Mackenzie <acm@muc.de>
8049
8050 * isearch.el (isearch-allow-prefix): New user option.
8051 (isearch-other-meta-char): Don't exit isearch when a prefix
8052 argument is typed whilst `isearch-allow-prefix' is non-nil.
8053 (Bug#9706)
8054
8055 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8056
8057 * autorevert.el (auto-revert-notify-handler): Use memq.
8058 Hide assertion failure.
8059
8060 * skeleton.el: Use cl-lib.
8061 (skeleton-further-elements): Use defvar-local.
8062 (skeleton-insert): Use cl-progv.
8063
8064 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8065
8066 * progmodes/prog-mode.el (prog-prettify-symbols)
8067 (prog-prettify-install): Update docstrings.
8068
8069 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8070
8071 * simple.el: Move all the prog-mode code to prog-mode.el.
8072 * progmodes/prog-mode.el: New file.
8073 * loadup.el: Add prog-mode.el.
8074
8075 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8076
8077 * simple.el (prog-prettify-symbols): Add version.
8078 (prog-prettify-install): Add convenience function to prettify symbols.
8079
8080 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8081 (perl--augmented-font-lock-keywords-1)
8082 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8083 variables and use it.
8084
8085 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8086 (cfengine3-mode): Remove unneeded variable and use it.
8087
8088 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8089 (lisp--augmented-font-lock-keywords-1)
8090 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8091 Remove unneeded variables and use it.
8092
8093 2013-06-05 João Távora <joaotavora@gmail.com>
8094
8095 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8096 to point when opening the connection. (Bug#14380)
8097
8098 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8099
8100 * subr.el (load-history-regexp, load-history-filename-element)
8101 (eval-after-load, after-load-functions, do-after-load-evaluation)
8102 (eval-next-after-load, display-delayed-warnings)
8103 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8104 definition of save-match-data.
8105 (overriding-local-map): Remove accidental obsolescence declaration.
8106
8107 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8108
8109 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8110
8111 Generalize symbol prettify support to prog-mode and implement it
8112 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8113 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8114 (prog--prettify-font-lock-compose-symbol)
8115 (prog-prettify-font-lock-symbols-keywords): New variables and
8116 functions to support symbol prettification.
8117 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8118 (lisp--augmented-font-lock-keywords-1)
8119 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8120 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8121 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8122 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8123 Implement prettify of -> => :: strings.
8124 * progmodes/perl-mode.el (perl-prettify-symbols)
8125 (perl--font-lock-compose-symbol)
8126 (perl--font-lock-symbols-keywords): Move to prog-mode.
8127 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8128 (perl-font-lock-keywords-1)
8129 (perl-font-lock-keywords-2): Remove explicit prettify support.
8130 (perl--augmented-font-lock-keywords)
8131 (perl--augmented-font-lock-keywords-1)
8132 (perl--augmented-font-lock-keywords-2, perl-mode):
8133 Implement prettify support.
8134
8135 2013-06-05 Leo Liu <sdl.web@gmail.com>
8136
8137 Re-implement smie matching block highlight using
8138 show-paren-data-function. (Bug#14395)
8139 * emacs-lisp/smie.el (smie-matching-block-highlight)
8140 (smie--highlight-matching-block-overlay)
8141 (smie--highlight-matching-block-lastpos)
8142 (smie-highlight-matching-block)
8143 (smie-highlight-matching-block-mode): Remove.
8144 (smie--matching-block-data-cache): New variable.
8145 (smie--matching-block-data): New function.
8146 (smie-setup): Use smie--matching-block-data for
8147 show-paren-data-function.
8148
8149 * progmodes/octave.el (octave-mode-menu): Fix.
8150 (octave-find-definition): Skip garbage lines.
8151
8152 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8153
8154 Fix compilation error with simultaneous dynamic+lexical scoping.
8155 Add warning when a defvar appears after the first let-binding.
8156 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8157 (byte-compile-close-variables): Initialize it.
8158 (byte-compile--declare-var): New function.
8159 (byte-compile-file-form-defvar)
8160 (byte-compile-file-form-define-abbrev-table)
8161 (byte-compile-file-form-custom-declare-variable): Use it.
8162 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8163 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8164 (byte-compile-bind): Handle dynamic bindings that shadow
8165 lexical bindings.
8166 (byte-compile-unbind): Make arg non-optional.
8167 (byte-compile-let): Simplify.
8168 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8169 (cconv--analyse-function, cconv-analyse-form): Populate it.
8170 Protect byte-compile-bound-variables to limit the scope of defvars.
8171 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8172 Remove unneeded rule for `declare'.
8173
8174 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8175 so as to avoid depending on cl-adjoin at run-time.
8176 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8177
8178 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8179 (macroexp--warn-and-return): Use it.
8180
8181 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8182
8183 * lisp/subr.el: Convert to lexical binding.
8184 (overriding-local-map): Make obsolete.
8185 (add-to-list): Doc fix. Add compiler macro.
8186 (read-key): Swap values of local maps.
8187
8188 2013-06-05 Leo Liu <sdl.web@gmail.com>
8189
8190 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8191
8192 2013-06-04 Leo Liu <sdl.web@gmail.com>
8193
8194 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8195 (compilation-auto-jump): Suppress the "Mark set" message to give
8196 way to exit message.
8197
8198 2013-06-04 Alan Mackenzie <acm@muc.de>
8199
8200 Remove faulty optimisation from indentation calculation.
8201 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8202 search limit based on 2000 characters back from indent-point.
8203
8204 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8205
8206 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8207
8208 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8209
8210 * emacs-lisp/lisp.el: Use lexical-binding.
8211 (lisp--local-variables-1, lisp--local-variables): New functions.
8212 (lisp--local-variables-completion-table): New var.
8213 (lisp-completion-at-point): Use it complete let-bound vars.
8214
8215 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8216 eagerly (bug#14422).
8217
8218 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8219
8220 * autorevert.el (auto-revert-notify-enabled)
8221 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8222 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8223 (auto-revert-notify-handler): Handle also gfilenotify.
8224
8225 * subr.el (file-notify-handle-event): New defun. Replacing ...
8226 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8227 Remove.
8228
8229 2013-06-03 Juri Linkov <juri@jurta.org>
8230
8231 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8232 `M-s h .'. (Bug#14427)
8233
8234 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8235 command `hi-lock-face-symbol-at-point'.
8236 (hi-lock-face-symbol-at-point): New command.
8237 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8238 (hi-lock-menu): Add `highlight-symbol-at-point'.
8239 (hi-lock-mode): Doc fix.
8240
8241 * isearch.el (isearch-forward-symbol-at-point): New command.
8242 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8243 (isearch-highlight-regexp): Add a regexp which matches
8244 words/symbols for word/symbol mode.
8245
8246 * subr.el (find-tag-default-bounds): New function with the body
8247 mostly moved from `find-tag-default'.
8248 (find-tag-default): Move most code to `find-tag-default-bounds',
8249 call it and apply `buffer-substring-no-properties' afterwards.
8250
8251 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8252
8253 * eshell/em-term.el (eshell-term-initialize):
8254 Use `cl-intersection' rather than `intersection'.
8255
8256 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8257
8258 * vc/log-view.el: Doc fix.
8259 (log-view-mode-map): Copy keymap from `special-mode-map'.
8260
8261 2013-06-02 Eric Ludlam <zappo@gnu.org>
8262
8263 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8264 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8265 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8266 (eieio-unbound, eieio-default-superclass)
8267 (eieio--define-field-accessors, method-static, method-before)
8268 (method-primary, method-after, method-num-lists)
8269 (method-generic-before, method-generic-primary)
8270 (method-generic-after, method-num-slots)
8271 (eieio-specialized-key-to-generic-key)
8272 (eieio--check-type, class-v, class-p)
8273 (eieio-class-name, define-obsolete-function-alias)
8274 (eieio-class-parents-fast, eieio-class-children-fast)
8275 (same-class-fast-p, class-constructor, generic-p)
8276 (generic-primary-only-p, generic-primary-only-one-p)
8277 (class-option-assoc, class-option, eieio-object-p)
8278 (class-abstract-p, class-method-invocation-order)
8279 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8280 (eieio-class-un-autoload, eieio-defclass)
8281 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8282 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8283 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8284 (eieio-defgeneric-reset-generic-form)
8285 (eieio-defgeneric-form-primary-only)
8286 (eieio-defgeneric-reset-generic-form-primary-only)
8287 (eieio-defgeneric-form-primary-only-one)
8288 (eieio-defgeneric-reset-generic-form-primary-only-one)
8289 (eieio-unbind-method-implementations)
8290 (eieio--defmethod, eieio--typep)
8291 (eieio-perform-slot-validation, eieio-validate-slot-value)
8292 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8293 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8294 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8295 (eieio-slot-name-index, eieio-class-slot-name-index)
8296 (eieio-set-defaults, eieio-initarg-to-attribute)
8297 (eieio-attribute-to-initarg, eieio-c3-candidate)
8298 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8299 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8300 (eieio-class-precedence-list, eieio-generic-call-methodname)
8301 (eieio-generic-call-arglst, eieio-generic-call-key)
8302 (eieio-generic-call-next-method-list)
8303 (eieio-pre-method-execution-functions, eieio-generic-call)
8304 (eieio-generic-call-primary-only, eieiomt-method-list)
8305 (eieiomt-optimizing-obarray, eieiomt-install)
8306 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8307 (eieio-generic-form, eieio-defmethod, make-obsolete)
8308 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8309 (defclass): Remove `eval-and-compile' from macro.
8310 (call-next-method, shared-initialize): Instead of using
8311 `scoped-class' variable, use new eieio--scoped-class, and
8312 eieio--with-scoped-class.
8313 (initialize-instance): Rename local variable 'scoped-class' to
8314 'this-class' to remove ambiguitity from old global.
8315
8316 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8317 eieio.el.
8318 (eieio--scoped-class-stack): New variable.
8319 (eieio--scoped-class): New fcn.
8320 (eieio--with-scoped-class): New scoping macro.
8321 (eieio-defclass): Use pushnew instead of add-to-list.
8322 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8323 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8324 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8325 `scoped-class' variable, use new eieio--scoped-class, and
8326 eieio--with-scoped-class.
8327
8328 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8329
8330 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8331
8332 * eshell/esh-ext.el (eshell-external-command): Pass args to
8333 `eshell-find-interpreter'.
8334 (eshell-find-interpreter): Add new second parameter ARGS.
8335
8336 * eshell/em-script.el (eshell-script-initialize): Add second arg
8337 to the function added as MATCH to `eshell-interpreter-alist'.
8338
8339 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8340 the function added as MATCH to `eshell-interpreter-alist'.
8341
8342 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8343 (eshell-visual-options): New defcustom.
8344 (eshell-escape-control-x): Adapt docstring.
8345 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8346 `eshell-visual-options' in addition to `eshell-visual-commands'.
8347 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8348
8349 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8350
8351 * progmodes/python.el (python-indent-block-enders): Add break,
8352 continue and raise keywords.
8353
8354 2013-06-01 Glenn Morris <rgm@gnu.org>
8355
8356 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8357
8358 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8359 * progmodes/cc-cmds.el (delete-forward-p):
8360 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8361 * progmodes/cc-engine.el (buffer-syntactic-context):
8362 * progmodes/cc-fonts.el (face-property-instance):
8363 * progmodes/cc-mode.el (set-keymap-parents):
8364 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8365 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8366 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8367 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8368 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8369
8370 * progmodes/cc-vars.el (other): Emacs has this widget since
8371 at least 21.1, so don't (re)define it.
8372
8373 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8374 Replace the obsolete alias pcomplete-arg-quote-list.
8375
8376 2013-06-01 Leo Liu <sdl.web@gmail.com>
8377
8378 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8379 punctuation syntax.
8380 (inferior-octave-minimal-columns)
8381 (inferior-octave-last-column-width): New variables.
8382 (inferior-octave-track-window-width-change): New function.
8383 (inferior-octave-mode): Adjust column width so that Octave output,
8384 for example from 'ls', can fit into the window nicely.
8385
8386 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8387
8388 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8389 Highlight expansions inside regexp literals.
8390
8391 2013-05-31 Glenn Morris <rgm@gnu.org>
8392
8393 * obsolete/sym-comp.el (symbol-complete):
8394 Replace obsolete completion-annotate-function.
8395
8396 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8397
8398 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8399
8400 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8401 New function, checks if point is inside a literal that allows
8402 expression expansion.
8403 (ruby-syntax-propertize-expansion): Use it.
8404 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8405 around the body.
8406
8407 2013-05-30 Juri Linkov <juri@jurta.org>
8408
8409 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8410 to "\M-si".
8411 (isearch-invisible): New variable.
8412 (isearch-forward): Doc fix.
8413 (isearch-mode): Set `isearch-invisible'
8414 to the value of `search-invisible'.
8415 (isearch-toggle-case-fold): Doc fix.
8416 (isearch-toggle-invisible): New command.
8417 (isearch-query-replace): Let-bind `search-invisible'
8418 to the value of `isearch-invisible'.
8419 (isearch-search): Use `isearch-invisible' instead of
8420 `search-invisible'. Let-bind `search-invisible'
8421 to the value of `isearch-invisible'. (Bug#11378)
8422
8423 2013-05-30 Juri Linkov <juri@jurta.org>
8424
8425 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8426 call when `query-flag' is nil and `search-invisible' is non-nil.
8427 (Bug#11746)
8428
8429 2013-05-30 Glenn Morris <rgm@gnu.org>
8430
8431 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8432
8433 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8434 (cc-require): Suppress spurious "noruntime" warnings.
8435 (cc-require-when-compile): Use fboundp, for sake of compiler.
8436
8437 * progmodes/cc-mode.el: Move load of cc-vars before that of
8438 cc-langs (which in turn loads cc-vars), to quieten compiler.
8439
8440 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8441
8442 * paren.el: Simplify the code.
8443 (show-paren-mode): Always start the timer.
8444 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8445 (show-paren--overlay, show-paren--overlay-1): Rename from
8446 show-paren-overlay and show-paren-overlay-1, and initialize to an
8447 overlay rather than to nil.
8448 (show-paren-function): Misc cleanup and simplifications.
8449
8450 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8451
8452 * paren.el (show-paren-data-function): New hook.
8453 (show-paren--default): New function, extracted from show-paren-function.
8454 (show-paren-function): Use show-paren-data-function.
8455
8456 2013-05-30 Glenn Morris <rgm@gnu.org>
8457
8458 * ielm.el (ielm-map, ielm-complete-symbol):
8459 Use completion-at-point rather than obsolete functions.
8460 (inferior-emacs-lisp-mode): Doc fix.
8461 Set completion-at-point-functions, rather than
8462 comint-dynamic-complete-functions.
8463
8464 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8465 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8466 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8467
8468 * image.el (image-animated-p): Tweak definition.
8469
8470 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8471 (rlogin-process-connection-type): Tweak default. Add set-after.
8472 (rlogin-host): Doc fix.
8473 (rlogin): Tweak prompt.
8474 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8475
8476 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8477 * progmodes/tcl.el (inferior-tcl-mode-map):
8478 Use completion-at-point rather than obsolete alias.
8479
8480 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8481
8482 * minibuffer.el (read-file-name-completion-ignore-case):
8483 Move before completion--in-region, for eager macro expansion.
8484
8485 2013-05-29 Juri Linkov <juri@jurta.org>
8486
8487 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8488 for total count of matching lines. Add `global-matches' for total
8489 count of matches. Rename `matches' to `lines' for count of
8490 matching lines. Add `matches' for count of matches.
8491 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8492 to `prev-line' for line number of prev match endpt.
8493 Increment `matches' for every match. Print the number of
8494 matching lines in the header.
8495 (occur-context-lines): Rename `lines' to `curr-line'.
8496 Rename `prev-lines' to `prev-line'. (Bug#14017)
8497
8498 2013-05-29 Juri Linkov <juri@jurta.org>
8499
8500 * replace.el (perform-replace): Add `skip-read-only-count',
8501 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8502 Increment them for corresponding conditions and report the number
8503 of skipped occurrences in the final message. (Bug#11746)
8504 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8505 (replace-string, replace-regexp): Doc fix.
8506
8507 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8508
8509 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8510
8511 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8512 prog-mode-map (bug#14504).
8513
8514 2013-05-29 Leo Liu <sdl.web@gmail.com>
8515
8516 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8517 (octave-help): Small simplification.
8518
8519 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8520 off the highlight first.
8521
8522 2013-05-29 Glenn Morris <rgm@gnu.org>
8523
8524 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8525 Handle idlwave-last-system-routine-info-cons-cell being nil.
8526
8527 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8528 (idlwave-write-paths): Simplify via with-temp-buffer.
8529
8530 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8531 * emulation/cua-rect.el: Also load cua-base at run time.
8532
8533 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8534 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8535 (cperl-imenu-on-info): Require imenu.
8536
8537 2013-05-28 Alan Mackenzie <acm@muc.de>
8538
8539 Handle "capitalised keywords" correctly.
8540 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8541
8542 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8543
8544 * eshell/em-unix.el: Add -r option to cp.
8545
8546 2013-05-28 Glenn Morris <rgm@gnu.org>
8547
8548 * vc/vc-arch.el (vc-exec-after): Declare.
8549 (vc-switches): Autoload.
8550 * vc/vc-bzr.el: No need to require vc when compiling.
8551 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8552 (vc-resynch-buffer, vc-dir-refresh): Declare.
8553 (vc-setup-buffer, vc-switches): Autoload.
8554 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8555 (vc-resynch-buffer): Declare.
8556 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8557 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8558 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8559 (grep-read-regexp, grep-read-files, grep-expand-template)
8560 (vc-dir-refresh): Declare.
8561 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8562 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8563 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8564 * vc/vc-mtn.el (vc-exec-after): Declare.
8565 (vc-switches): Autoload.
8566 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8567 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8568 (vc-file-tree-walk): Declare.
8569 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8570 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8571 (vc-tag-precondition, vc-rename-master): Autoload.
8572 * vc/vc-svn.el (vc-exec-after): Declare.
8573 (vc-switches, vc-setup-buffer): Autoload.
8574 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8575 Autoload.
8576 (vc-resynch-buffer): Declare.
8577
8578 * obsolete/fast-lock.el (byte-compile-warnings):
8579 Don't warn about obsolete features in this obsolete file.
8580
8581 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8582 Move definition before use.
8583
8584 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8585 (dun-unix-verbs): Remove dun-zippy.
8586 (dun-zippy): Remove function.
8587
8588 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8589
8590 2013-05-27 Juri Linkov <juri@jurta.org>
8591
8592 * replace.el (replace-search): New function with code moved out
8593 from `perform-replace'.
8594 (replace-highlight, replace-dehighlight): Move function definitions
8595 up closer to `replace-search'. (Bug#11746)
8596
8597 2013-05-27 Juri Linkov <juri@jurta.org>
8598
8599 * replace.el (perform-replace): Ignore invisible matches.
8600 In addition to checking `query-replace-skip-read-only', also
8601 filter out matches by calling `run-hook-with-args-until-failure'
8602 on `isearch-filter-predicates', and also check `search-invisible'
8603 for t or call `isearch-range-invisible'.
8604 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8605
8606 2013-05-27 Juri Linkov <juri@jurta.org>
8607
8608 * isearch.el (isearch-filter-predicates): Rename from
8609 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8610 (isearch-message-prefix): Display text from the property
8611 `isearch-message-prefix' of the currently active filters.
8612 (isearch-search): Don't compare `isearch-filter-predicate' with
8613 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8614 on `isearch-filter-predicates'. Also check `search-invisible' for t
8615 or call `isearch-range-invisible'.
8616 (isearch-filter-visible): Make obsolete.
8617 (isearch-lazy-highlight-search):
8618 Call `run-hook-with-args-until-failure' on
8619 `isearch-filter-predicates' and use `isearch-range-invisible'.
8620
8621 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8622 `isearch-filter-predicates' instead of `funcall'ing
8623 `isearch-filter-predicate'.
8624 (Info-mode): Set `Info-isearch-filter' to
8625 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8626
8627 * dired-aux.el (dired-isearch-filter-predicate-orig):
8628 Remove variable.
8629 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8630 (dired-isearch-filenames-end): Add and remove
8631 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8632 instead of changing the value of `isearch-filter-predicate'.
8633 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8634 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8635 Put property `isearch-message-prefix' to "filename " on
8636 `dired-isearch-filter-filenames'.
8637
8638 * wdired.el (wdired-change-to-wdired-mode):
8639 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8640 locally instead of changing `isearch-filter-predicate'.
8641 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8642
8643 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8644
8645 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8646 return the commit hash (Bug#14459). Also set the
8647 `vc-git-detached' property.
8648 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8649 (vc-git-mode-line-string): Use the same help-echo format whether
8650 in detached mode or not, because we know the actual revision now.
8651 When in detached mode, shorten the revision to 7 chars.
8652
8653 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8654
8655 * emacs-lisp/easy-mmode.el (define-minor-mode):
8656 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8657 mode hook and provide a docstring.
8658
8659 2013-05-27 Alan Mackenzie <acm@muc.de>
8660
8661 Remove spurious syntax-table text properties inserted by C-y.
8662 * progmodes/cc-mode.el (c-after-change): Also clear hard
8663 syntax-table property with value nil.
8664
8665 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8666
8667 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8668 when reading the events; the buffer layout shall not be changed.
8669
8670 2013-05-27 Leo Liu <sdl.web@gmail.com>
8671
8672 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8673 New variable.
8674 (inferior-octave-directory-tracker): Automatically re-sync
8675 default-directory.
8676 (octave-help): Improve handling of 'See also'.
8677
8678 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8679
8680 * doc-view.el: Minor naming convention tweaks.
8681 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8682
8683 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8684 even if there's no `display' property yet (bug#14435).
8685
8686 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8687
8688 * subr.el (unmsys--file-name): Rename from reveal-filename.
8689
8690 * Makefile.in (custom-deps, finder-data, autoloads)
8691 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8692 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8693 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8694
8695 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8696
8697 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8698 error-completion on the first 2 args of condition-case (bug#14446).
8699 Don't burp at EOB.
8700
8701 2013-05-25 Leo Liu <sdl.web@gmail.com>
8702
8703 * comint.el (comint-previous-matching-input): Do not flood the
8704 *Messages* buffer with trivial messages.
8705
8706 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8707
8708 * progmodes/flymake.el (flymake-nop): Don't return a string.
8709 (flymake-set-at): Fix typo.
8710
8711 * simple.el (read--expression): New function, extracted from
8712 eval-expression. Set completion-at-point-functions (bug#14465).
8713 (eval-expression, eval-minibuffer): Use it.
8714
8715 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8716
8717 * progmodes/flymake.el (flymake-save-buffer-in-file)
8718 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8719 (flymake-selected-frame, flymake-log, flymake-ins-after)
8720 (flymake-set-at, flymake-get-buildfile-from-cache)
8721 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8722 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8723 Refine the doc string.
8724 (flymake-get-file-name-mode-and-masks): Reformat.
8725 (flymake-get-real-file-name-function): Fix a minor bug.
8726
8727 2013-05-24 Juri Linkov <juri@jurta.org>
8728
8729 * progmodes/grep.el (grep-mode-font-lock-keywords):
8730 Support =linenumber= format used by git-grep for lines with
8731 function names. (Bug#13549)
8732
8733 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8734
8735 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8736 0 after a semi-colon; it works better for smie-auto-fill.
8737 (octave--indent-new-comment-line): New function.
8738 (octave-indent-new-comment-line): Use it (indirectly).
8739 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8740 modify comment-line-break-function.
8741
8742 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8743 (smie-setup): Use add-function to set it.
8744
8745 2013-05-24 Sam Steingold <sds@gnu.org>
8746
8747 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8748 argument (before the `interactive' argument).
8749
8750 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8751
8752 * image-mode.el (image-mode-winprops): Add winprops to
8753 image-mode-winprops-alist before running
8754 image-mode-new-window-functions.
8755 * doc-view.el (doc-view-new-window-function): Don't delay
8756 doc-view-goto-page via timers (bug#14435).
8757
8758 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8759
8760 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8761 (doc-view-desktop-save-buffer): New function.
8762 (doc-view-restore-desktop-buffer): New function.
8763 (desktop-buffer-mode-handlers):
8764 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8765 handler.
8766 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8767 `desktop-save-buffer' function.
8768
8769 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8770
8771 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8772 (tramp-gvfs-file-name-handler): Raise a user error when
8773 `tramp-gvfs-enabled' is nil.
8774 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8775 Do not raise a user error when loading package. (Bug#14447)
8776
8777 * net/xesam.el: Move to obsolete/.
8778
8779 2013-05-24 Glenn Morris <rgm@gnu.org>
8780
8781 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8782
8783 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8784
8785 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8786 (Info-find-node, Man-getpage-in-background): Declare.
8787
8788 * mail/unrmail.el (unrmail):
8789 Replace obsolete detect-coding-with-priority.
8790
8791 * net/socks.el (socks-split-string): Use this rather than split-string.
8792 (socks-nslookup-host): Update for above change.
8793 (dynamic-choice, s5-dynamic-choice-match)
8794 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8795 Comment out unused code.
8796
8797 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8798 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8799 (gud-tooltip-echo-area): Make obsolete.
8800 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8801
8802 * progmodes/js.el (js--optimize-arglist): Declare.
8803
8804 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8805
8806 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8807 (ediff-window-C): Declare.
8808
8809 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8810 Tweak requires to silence compiler.
8811
8812 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8813 (he-search-string, he-tried-table, he-expand-list)
8814 (he-init-string, he-string-member, he-substitute-string)
8815 (he-reset-string): Declare.
8816
8817 * obsolete/options.el (list-options): Use custom-variable-p,
8818 rather than obsolete alias.
8819
8820 2013-05-23 Sam Steingold <sds@gnu.org>
8821
8822 * simple.el (shell-command-on-region): Pass the `replace' argument
8823 down to `call-process-region' to comply with the doc as reported on
8824 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8825
8826 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8827
8828 * emacs-lisp/smie.el (smie-indent-forward-token)
8829 (smie-indent-backward-token): Handle string tokens (bug#14381).
8830
8831 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8832
8833 * ielm.el (ielm-menu): New menu.
8834 (inferior-emacs-lisp-mode): Set comment-start.
8835
8836 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8837
8838 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8839 Fix deactivate action.
8840
8841 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8842 Add cleveref macros.
8843
8844 * lisp/textmodes/reftex-parse.el
8845 (reftex-locate-bibliography-files): Accept options for
8846 bibliography commands.
8847 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8848 Add addbibresource. Basic Biblatex support.
8849
8850 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8851
8852 * net/tramp-gvfs.el (top):
8853 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8854 when loading package. (Bug#14447)
8855
8856 2013-05-23 Glenn Morris <rgm@gnu.org>
8857
8858 * progmodes/js.el: No need to load comint when compiling.
8859 (ring-insert, comint-send-string, comint-send-input)
8860 (comint-last-input-end, ido-chop): Declare.
8861
8862 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8863 * vc/ediff-mult.el: Adjust requires.
8864 (ediff-directories-internal, ediff-directory-revisions-internal)
8865 (ediff-patch-file-internal): Declare.
8866 * vc/ediff-ptch.el: Adjust requires.
8867 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8868 (ediff-find-file): Autoload.
8869 * vc/ediff-util.el: No need to load ediff when compiling.
8870 (ediff-regions-internal): Declare.
8871 * vc/ediff-wind.el: Adjust requires.
8872 (ediff-compute-toolbar-width): Define when compiling.
8873 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8874 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8875 (dired-get-filename, dired-get-marked-files)
8876 (ediff-last-dir-patch, ediff-patch-default-directory)
8877 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8878 (ediff-patch-buffer-internal): Declare.
8879
8880 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8881 (ispell-process, ispell-buffer-local-words, lm-summary)
8882 (lm-section-start, lm-section-end): Declare.
8883 (checkdoc-ispell-init): Simplify.
8884
8885 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8886 (he-string-member, he-reset-string, he-substitute-string): Declare.
8887
8888 * eshell/em-ls.el: Adjust requires.
8889 (eshell-glob-regexp): Declare.
8890 * eshell/em-tramp.el: Adjust requires.
8891 (eshell-parse-command): Autoload.
8892 * eshell/em-xtra.el: Adjust requires.
8893 (eshell-parse-command): Autoload.
8894 * eshell/esh-ext.el: Adjust requires.
8895 (eshell-parse-command, eshell-close-handles): Autoload.
8896 * eshell/esh-io.el: Adjust requires.
8897 (eshell-output-filter): Autoload.
8898 * eshell/esh-util.el: No need to load tramp when compiling.
8899 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8900 Declare.
8901 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8902 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8903 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8904 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8905 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8906 * eshell/esh-opt.el, eshell/esh-proc.el:
8907 * eshell/esh-var.el: Adjust requires.
8908 * eshell/eshell.el: Do not require esh-util twice.
8909 (eshell-add-input-to-history): Declare.
8910 (eshell-command): Check history module is active before using it.
8911
8912 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8913
8914 2013-05-22 Leo Liu <sdl.web@gmail.com>
8915
8916 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8917
8918 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8919
8920 * autorevert.el (auto-revert-notify-add-watch)
8921 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8922 it indicates changes in file modification time.
8923
8924 2013-05-22 Glenn Morris <rgm@gnu.org>
8925
8926 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8927 Always delete the autoloaded function from the noruntime and
8928 unresolved functions lists.
8929
8930 * allout.el: No need to load epa, epg, overlay when compiling.
8931 (epg-context-set-passphrase-callback, epg-list-keys)
8932 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8933 (epg-key-user-id-list): Declare.
8934
8935 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8936 (viper-set-parsing-style-toggling-macro)
8937 (viper-set-emacs-state-searchstyle-macros):
8938 Use called-interactively-p on Emacs.
8939 (viper-looking-back): Make it an obsolete alias. Update callers.
8940 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8941 Use looking-back rather than viper-looking-back.
8942 (viper-tmp-insert-at-eob, viper-enlarge-region)
8943 (viper-read-string-with-history, viper-register-to-point)
8944 (viper-append-to-register, viper-change-state-to-vi)
8945 (viper-backward-char-carefully, viper-forward-char-carefully)
8946 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8947 (viper-change-state-to-emacs): Declare.
8948 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8949 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8950 * emulation/viper-mous.el: Do not load viper-cmd.
8951 (viper-backward-char-carefully, viper-forward-char-carefully)
8952 (viper-forward-word, viper-adjust-window): Declare.
8953
8954 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8955
8956 * progmodes/idlw-help.el (idlwave-help-fontify):
8957 Use called-interactively-p.
8958
8959 * term/w32console.el (w32-get-console-codepage)
8960 (w32-get-console-output-codepage): Declare.
8961
8962 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8963 Remove unnecessary declarations.
8964 (dframe-message): Doc fix.
8965
8966 * info.el (dframe-select-attached-frame, dframe-current-frame):
8967 Declare.
8968
8969 * speedbar.el (speedbar-message): Make it an obsolete alias.
8970 Update all callers.
8971 (speedbar-with-attached-buffer)
8972 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8973 (speedbar-with-writable): Use backquote.
8974 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8975 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8976 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8977 rather than speedbar- aliases.
8978 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8979 (speedbar-make-specialized-keymap, speedbar-insert-button)
8980 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8981 (speedbar-do-function-pointer): Declare.
8982 (rmail-speedbar-button, rmail-speedbar-find-file)
8983 (rmail-speedbar-move-message):
8984 Use dframe-with-attached-buffer rather than speedbar- alias.
8985 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8986 (dframe-message, speedbar-make-specialized-keymap)
8987 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8988 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8989 (speedbar-insert-button, dframe-select-attached-frame)
8990 (dframe-maybee-jump-to-attached-frame)
8991 (speedbar-change-initial-expansion-list)
8992 (speedbar-previously-used-expansion-list-name): Declare.
8993 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8994 Use dframe-message, dframe-with-attached-buffer rather than
8995 speedbar- aliases.
8996 (gud-sentinel): Silence compiler.
8997 * progmodes/vhdl-mode.el (speedbar-refresh)
8998 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8999 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9000 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9001 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9002 (speedbar-file-lists, speedbar-make-tag-line)
9003 (speedbar-line-directory, speedbar-goto-this-file)
9004 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9005 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9006 (speedbar-make-button, speedbar-reset-scanners)
9007 (speedbar-files-item-info, speedbar-line-text)
9008 (speedbar-find-file-in-frame, speedbar-set-timer)
9009 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9010 (speedbar-with-writable): Do not (re)define it.
9011 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9012 rather than speedbar- alias.
9013
9014 2013-05-21 Leo Liu <sdl.web@gmail.com>
9015
9016 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9017 menu items.
9018 (octave-mode): Tweak fill-nobreak-predicate.
9019 (inferior-octave-startup): Check process to avoid infinite loop.
9020 (inferior-octave): Pop to buffer first to show abornmal process
9021 exit information.
9022
9023 2013-05-21 Glenn Morris <rgm@gnu.org>
9024
9025 * printing.el (pr-menu-bar): Define when compiling.
9026
9027 2013-05-21 Leo Liu <sdl.web@gmail.com>
9028
9029 * progmodes/octave.el (octave-auto-fill): Remove.
9030 (octave-indent-new-comment-line): Improve.
9031 (octave-mode): Use auto fill mode through
9032 comment-line-break-function and fill-nobreak-predicate.
9033 (octave-goto-function-definition): Support DEFUN_DLD.
9034 (octave-beginning-of-defun): Small tweak.
9035 (octave-help): Show parent directory.
9036
9037 2013-05-21 Glenn Morris <rgm@gnu.org>
9038
9039 * files.el (dired-unmark):
9040 * progmodes/gud.el (gdb-input): Update declarations.
9041
9042 * calculator.el (electric, ehelp): No need to load when compiling.
9043 (Electric-command-loop, electric-describe-mode): Declare.
9044
9045 * doc-view.el (doc-view-current-converter-processes): Move before use.
9046
9047 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9048 Move MODE-set-explicitly definition before use.
9049
9050 * international/mule-diag.el (mule-diag):
9051 Don't use obsolete window-system-version.
9052
9053 * mail/feedmail.el (smtpmail): No need to load when compiling.
9054 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9055
9056 * mail/mail-utils.el (rfc822): No need to load when compiling.
9057 (rfc822-addresses): Autoload it.
9058 (mail-strip-quoted-names): Trivial simplification.
9059
9060 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9061 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9062
9063 * net/snmp-mode.el (tempo): Don't duplicate requires.
9064
9065 * progmodes/prolog.el (info): No need to load when compiling.
9066 (comint): Require before shell requires it.
9067 (Info-goto-node): Autoload it.
9068 (Info-follow-nearest-node): Declare.
9069 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9070
9071 * textmodes/artist.el (picture-mode-exit): Declare.
9072
9073 * textmodes/reftex-parse.el (reftex-parse-from-file):
9074 Trivial rewrite so the compiler can parse it better.
9075
9076 2013-05-20 Leo Liu <sdl.web@gmail.com>
9077
9078 * progmodes/octave.el (octave-help-mode-map)
9079 (octave-help-mode-finish-hook): New variables.
9080 (octave-help-mode, octave-help-mode-finish): New functions.
9081 (octave-help): Use octave-help-mode.
9082
9083 2013-05-20 Glenn Morris <rgm@gnu.org>
9084
9085 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9086
9087 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9088
9089 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9090 start at point, so that expansion starting right after opening
9091 slash in a regexp is recognized.
9092 (ruby-syntax-before-regexp-re): New defvar, extracted from
9093 ruby-syntax-propertize-function. Since the value of this regexp
9094 is looked up at runtime now, we should be able to turn
9095 `ruby-syntax-methods-before-regexp' into a defcustom later.
9096 (ruby-syntax-propertize-function): Split regexp matching into two
9097 parts, for opening and closing slashes. That allows us to skip
9098 over string interpolations and support multiline regexps.
9099 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9100 for them, which calls `ruby-syntax-propertize-expansion'.
9101 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9102 call to `ruby-syntax-propertize-function'.
9103 (ruby-syntax-propertize-expansion): Extracted from
9104 `ruby-syntax-propertize-expansions'. Handles one expansion.
9105 (ruby-syntax-propertize-percent-literal): Leave point right after
9106 the percent symbol, so that the expression expansion rule can
9107 propertize the contents.
9108 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9109 heredoc openers.
9110 (ruby-syntax-propertize-expansions): Remove.
9111
9112 2013-05-18 Juri Linkov <juri@jurta.org>
9113
9114 * man.el (Man-default-man-entry): Remove `-' from the end
9115 of the default value. (Bug#14400)
9116
9117 2013-05-18 Glenn Morris <rgm@gnu.org>
9118
9119 * comint.el (comint-password-prompt-regexp):
9120 Allow "password for XXX" where XXX contains colons (eg https://...).
9121
9122 2013-05-18 Leo Liu <sdl.web@gmail.com>
9123
9124 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9125 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9126 (octave-source-directories): Don't check process.
9127 (octave-source-directories, octave-find-definition): Doc fix.
9128
9129 2013-05-18 Glenn Morris <rgm@gnu.org>
9130
9131 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9132 Remove backspace/delete bindings. (Bug#14392)
9133
9134 * cus-dep.el (custom-make-dependencies): Sort the output.
9135 (custom-versions-load-alist): Convert comment to doc.
9136
9137 2013-05-17 Leo Liu <sdl.web@gmail.com>
9138
9139 * newcomment.el (comment-search-backward): Stricter in finding
9140 comment start. (Bug#14303)
9141
9142 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9143 (octave-comment-start-skip): Properly anchored.
9144
9145 2013-05-17 Leo Liu <sdl.web@gmail.com>
9146
9147 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9148 Clean up when turned off. (Bug#14395)
9149 (smie--highlight-matching-block-overlay): No longer buffer-local.
9150 (smie-highlight-matching-block): Adjust.
9151
9152 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9153
9154 Doc string fix for "nanoseconds" (Bug#14406).
9155 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9156 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9157
9158 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9159
9160 * calc/calc-units.el (math-extract-units): Preserve powers
9161 of units.
9162
9163 2013-05-17 Leo Liu <sdl.web@gmail.com>
9164
9165 * subr.el (delete-consecutive-dups): New function.
9166 * ido.el (ido-set-matches-1): Use it.
9167 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9168 * ido.el (ido-remove-consecutive-dups): Remove.
9169
9170 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9171
9172 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9173 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9174 regexp-opt's `words'.
9175
9176 2013-05-16 Leo Liu <sdl.web@gmail.com>
9177
9178 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9179 (smie--highlight-matching-block-overlay)
9180 (smie--highlight-matching-block-lastpos)
9181 (smie--highlight-matching-block-timer): New variables.
9182 (smie-highlight-matching-block): New function.
9183 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9184 (smie-setup): Conditionally enable smie-blink-matching-open.
9185
9186 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9187
9188 Sync with upstream verilog-mode r840.
9189 * progmodes/verilog-mode.el (verilog-mode-version)
9190 (verilog-mode-release-date): Update.
9191 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9192 (verilog-sig-tieoff): Fix string error on
9193 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9194 (verilog-read-decls): Fix parameters confusing
9195 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9196
9197 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9198
9199 * subr.el (reveal-filename): New function.
9200
9201 * loadup.el: Compute Emacs executable versions on MS-Windows,
9202 where executables have the .exe extension. Add a hard link
9203 emacs-XX.YY.ZZ.exe on MS-Windows.
9204
9205 * Makefile.in (XARGS_LIMIT): New variable.
9206 (custom-deps, finder-data, autoloads)
9207 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9208 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9209 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9210 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9211
9212 2013-05-16 Leo Liu <sdl.web@gmail.com>
9213
9214 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9215 (octave-mode-menu, octave-mode-map): Remove its uses.
9216
9217 2013-05-16 Reto Zimmermann <reto@gnu.org>
9218
9219 Sync with upstream vhdl mode v3.34.2.
9220 * progmodes/vhdl-mode.el: Use `push' throughout.
9221 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9222 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9223 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9224 (vhdl-actual-generic-name): New option to derive actual generic name.
9225 (vhdl-port-paste-signals): Replace formal by actual generics.
9226 (vhdl-beautify): New name for old group vhdl-align. Update users.
9227 (vhdl-beautify-options): New option.
9228 (vhdl-last-input-event): New compat alias. Use throughout.
9229 (vhdl-goto-line): Replace user level function `goto-line'.
9230 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9231 vhdl-fix-statement-buffer.
9232 (vhdl-create-mode-menu): Add some entries.
9233 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9234 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9235 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9236 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9237 to force statements on one line.
9238 (vhdl-remove-trailing-spaces-region):
9239 New, split from vhdl-remove-trailing-spaces.
9240 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9241 Respect vhdl-beautify-options.
9242 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9243 (vhdl-update-sensitivity-list): Not add with index if exists without.
9244 Not include array index with signal. Ignore keywords in comments.
9245 (vhdl-get-visible-signals): Regexp tweaks.
9246 (vhdl-template-component-inst): Handle empty library.
9247 (vhdl-template-type): Add template for 'enum' type.
9248 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9249 Use vhdl-replace-string.
9250 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9251 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9252 (vhdl-speedbar-initialize): Update for above name change.
9253 (vhdl-compose-wire-components): Fix in handling of constants.
9254 (vhdl-error-regexp-emacs-alist): New variable.
9255 (vhdl-error-regexp-add-emacs): New function;
9256 adds support for new compile.el (Emacs 22+)
9257 (vhdl-generate-makefile-1): Change target order for single lib. units.
9258 Allow use of absolute file names.
9259
9260 2013-05-16 Leo Liu <sdl.web@gmail.com>
9261
9262 * simple.el (prog-indent-sexp): Indent enclosing defun.
9263
9264 2013-05-15 Glenn Morris <rgm@gnu.org>
9265
9266 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9267 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9268 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9269 (whitespace-highlight): Move to whitespace group.
9270
9271 * comint.el (comint-source):
9272 * pcmpl-linux.el (pcmpl-linux):
9273 * shell.el (shell-faces):
9274 * eshell/esh-opt.el (eshell-opt):
9275 * international/ccl.el (ccl): Remove empty custom groups.
9276
9277 * completion.el (dynamic-completion-mode):
9278 * jit-lock.el (jit-lock-debug-mode):
9279 * minibuffer.el (completion-in-region-mode):
9280 * type-break.el (type-break-mode-line-message-mode)
9281 (type-break-query-mode):
9282 * emulation/tpu-edt.el (tpu-edt-mode):
9283 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9284 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9285 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9286
9287 * term/xterm.el (xterm): Change parent group to terminals.
9288
9289 * master.el (master): Remove empty custom group.
9290 (master-mode): Remove unused :group argument.
9291 * textmodes/refill.el (refill): Remove empty custom group.
9292 (refill-mode): Remove unused :group argument.
9293
9294 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9295
9296 * cus-dep.el: Provide a feature.
9297 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9298 Don't mistakenly ignore files whose basenames match a basename
9299 from preloaded-file-list (eg cedet/ede/simple.el).
9300 Add a fallback method for getting :group.
9301
9302 2013-05-15 Juri Linkov <juri@jurta.org>
9303
9304 * isearch.el (isearch-char-by-name): Rename from
9305 `isearch-insert-char-by-name'. Doc fix.
9306 (isearch-forward): Mention `isearch-char-by-name' in
9307 the docstring. (Bug#13348)
9308
9309 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9310 `exit-minibuffer' instead of
9311 `isearch-nonincremental-exit-minibuffer'.
9312 (isearch-edit-string): Remove mention of
9313 `isearch-nonincremental-exit-minibuffer' from docstring.
9314 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9315 (isearch-forward-exit-minibuffer)
9316 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9317
9318 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9319
9320 * loadup.el: Just use unversioned DOC.
9321
9322 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9323 literals as extending to EOB.
9324 (nxml-last-fontify-end): Remove unused variable.
9325 (nxml-after-change1): Use with-silent-modifications.
9326 (nxml-extend-after-change-region): Simplify.
9327 (nxml-extend-after-change-region1): Remove function.
9328 (nxml-after-change1): Don't adjust for dependent regions.
9329 (nxml-fontify-matcher): Simplify.
9330 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9331 (xmltok-add-dependent): Remove function.
9332 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9333 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9334 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9335 unclosed <[[, <?, comment, and other literals as extending to EOB.
9336 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9337 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9338 Remove functions.
9339 (rng-do-some-validation-1): Don't mark dependent regions.
9340 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9341 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9342 (nxml-clear-dependent-regions): Remove functions.
9343 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9344 (nxml-ensure-scan-up-to-date):
9345 Don't clear&mark dependent regions.
9346
9347 2013-05-15 Leo Liu <sdl.web@gmail.com>
9348
9349 * progmodes/octave.el (octave-goto-function-definition):
9350 Improve and fix callers.
9351
9352 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9353
9354 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9355 the setter (bug#14387).
9356
9357 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9358 surrounding group (bug#14402).
9359
9360 2013-05-14 Juri Linkov <juri@jurta.org>
9361
9362 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9363 (Bug#14390)
9364
9365 2013-05-14 Glenn Morris <rgm@gnu.org>
9366
9367 * progmodes/f90.el (f90-imenu-generic-expression):
9368 Fix typo in 2013-05-08 change. (Bug#14402)
9369
9370 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9371
9372 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9373 Remove signals for which replies are never received.
9374
9375 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9376
9377 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9378 (gdb-handler-alist, gdb-handler-number): Remove variables.
9379 (gdb-handler-list): New variable.
9380 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9381 (gdb-pending-handler-p, gdb-handle-reply)
9382 (gdb-remove-all-pending-triggers): New functions.
9383 (gdb-discard-unordered-replies): New defcustom.
9384 (gdb-handler): New defstruct.
9385 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9386 instead of gdb-pending-triggers. Update docstring.
9387 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9388 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9389 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9390 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9391 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9392 (gdb-frame-handler): Pending triggers are now automatically managed.
9393 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9394 Remove argument.
9395 (gdb-input): Automatically handles pending triggers. Update docstring.
9396 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9397 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9398 Update comments.
9399 (gdb-done-or-error): Now use gdb-handle-reply.
9400
9401 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9402
9403 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9404 gdb-debug-log.
9405
9406 2013-05-14 Glenn Morris <rgm@gnu.org>
9407
9408 * subr.el (user-emacs-directory-warning): New option.
9409 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9410
9411 2013-05-14 Leo Liu <sdl.web@gmail.com>
9412
9413 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9414 during redisplay.
9415 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9416 (octave-font-lock-texinfo-comment): Fix invalid search bound
9417 error: wrong side of point.
9418
9419 2013-05-14 Glenn Morris <rgm@gnu.org>
9420
9421 * progmodes/flymake.el (flymake-xml-program): New option.
9422 (flymake-xml-init): Use it.
9423
9424 * term/xterm.el: Provide a feature.
9425
9426 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9427
9428 2013-05-13 Glenn Morris <rgm@gnu.org>
9429
9430 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9431 Add compat aliases as a hack workaround. (Bug#14384)
9432
9433 2013-05-13 Leo Liu <sdl.web@gmail.com>
9434
9435 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9436 ###, and %!.
9437 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9438 C-M-q.
9439 (octave-comment-start-skip): Include %!.
9440 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9441
9442 2013-05-12 Leo Liu <sdl.web@gmail.com>
9443
9444 * progmodes/octave.el (inferior-octave-startup): Store the value
9445 of __octave_srcdir__ for octave-source-directories.
9446 (inferior-octave-check-process): New function refactored out of
9447 inferior-octave-send-list-and-digest.
9448 (octave-source-directories)
9449 (octave-find-definition-filename-function): New variables.
9450 (octave-source-directories)
9451 (octave-find-definition-default-filename): New functions.
9452 (octave-find-definition): Improve to find functions implemented in C++.
9453
9454 2013-05-12 Glenn Morris <rgm@gnu.org>
9455
9456 * calendar/diary-lib.el (diary-outlook-format-1):
9457 Don't include dayname in the output. (Bug#14349)
9458
9459 2013-05-11 Glenn Morris <rgm@gnu.org>
9460
9461 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9462
9463 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9464 Treat cc-provide like provide.
9465
9466 2013-05-11 Kevin Ryde <user42@zip.com.au>
9467
9468 * cus-dep.el (custom-make-dependencies):
9469 Use generated-autoload-load-name for the sake of files such
9470 such cedet/semantic/bovine/c.el, where the base file name
9471 is not in load-path. (Bug#5277)
9472
9473 2013-05-11 Glenn Morris <rgm@gnu.org>
9474
9475 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9476 Provide features.
9477
9478 2013-05-11 Leo Liu <sdl.web@gmail.com>
9479
9480 * progmodes/octave.el (octave-indent-comment): Improve.
9481 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9482 (octave-eldoc-function-signatures, octave-eldoc-function):
9483 New functions.
9484 (octave-mode, inferior-octave-mode): Add eldoc support.
9485
9486 2013-05-11 Richard Stallman <rms@gnu.org>
9487
9488 * epa.el (epa-decrypt-file): Take output file name as argument
9489 and read it using `interactive'.
9490
9491 2013-05-11 Leo Liu <sdl.web@gmail.com>
9492
9493 * progmodes/octave.el (octave-beginning-of-line)
9494 (octave-end-of-line): Check before using up-list because it jumps
9495 out of more syntactic contructs since moving to smie.
9496 (octave-indent-comment): New function.
9497 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9498 (octave-begin-keywords, octave-end-keywords)
9499 (octave-reserved-words, octave-smie-bnf-table)
9500 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9501
9502 2013-05-11 Glenn Morris <rgm@gnu.org>
9503
9504 * faces.el (internal-face-x-get-resource):
9505 * frame.el (ns-display-monitor-attributes-list):
9506 * calc/calc-aent.el (math-to-radians-2):
9507 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9508 Fix declarations.
9509
9510 * calc/calc-menu.el: Make it loadable in isolation.
9511
9512 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9513 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9514 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9515 (eudc-bbdb-query-internal): Require 'bbdb.
9516
9517 * lpr.el (lpr-headers-switches):
9518 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9519
9520 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9521
9522 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9523
9524 * term.el (term-set-escape-char): Make it idempotent.
9525
9526 2013-05-10 Leo Liu <sdl.web@gmail.com>
9527
9528 * progmodes/octave.el (inferior-octave-completion-table):
9529 No longer a function and all uses changed. Use cache to speed up
9530 completion due to bug#11906.
9531 (octave-beginning-of-defun): Re-write to be more general.
9532
9533 2013-05-10 Glenn Morris <rgm@gnu.org>
9534
9535 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9536
9537 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9538
9539 * comint.el (comint-redirect-send-command-to-process): Use :around
9540 rather than :override for comint-redirect-filter.
9541 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9542 Call it instead of comint-redirect-original-filter-function (which
9543 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9544
9545 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9546
9547 * frame.el (display-monitor-attributes-list): Add NS case.
9548 (ns-display-monitor-attributes-list): Declare.
9549
9550 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9551
9552 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9553
9554 2013-05-09 Glenn Morris <rgm@gnu.org>
9555
9556 * international/fontset.el (vertical-centering-font-regexp):
9557 Set standard-value.
9558
9559 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9560
9561 * bookmark.el (bookmark-search-delay):
9562 * cus-start.el (vertical-centering-font-regexp):
9563 * ps-mule.el (ps-mule-font-info-database-default):
9564 * ps-print.el (ps-default-fg, ps-default-bg):
9565 * type-break.el (type-break-good-break-interval):
9566 * whitespace.el (whitespace-indentation-regexp)
9567 (whitespace-space-after-tab-regexp):
9568 * emacs-lisp/testcover.el (testcover-1value-functions)
9569 (testcover-noreturn-functions, testcover-progn-functions)
9570 (testcover-prog1-functions):
9571 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9572 * eshell/em-glob.el (eshell-glob-translate-alist):
9573 * play/tetris.el (tetris-tty-colors):
9574 * progmodes/cpp.el (cpp-face-default-list):
9575 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9576 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9577 (idlwave-help-browser-generic-args):
9578 * progmodes/make-mode.el (makefile-special-targets-list):
9579 * progmodes/python.el (python-shell-virtualenv-path):
9580 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9581 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9582 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9583 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9584 * textmodes/reftex-vars.el (reftex-format-label-function):
9585 * textmodes/remember.el (remember-diary-file): Fix custom types.
9586
9587 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9588 Add :version.
9589
9590 2013-05-09 Leo Liu <sdl.web@gmail.com>
9591
9592 * progmodes/octave.el (inferior-octave-completion-at-point):
9593 Restore file completion. (Bug#14300)
9594 (inferior-octave-startup): Fix incorrect highlighting for the
9595 first prompt.
9596
9597 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9598
9599 * progmodes/ruby-mode.el: First cut at SMIE support.
9600 (ruby-use-smie): New var.
9601 (ruby-smie-grammar): New constant.
9602 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9603 (ruby-smie--forward-token, ruby-smie--backward-token)
9604 (ruby-smie-rules): New functions.
9605 (ruby-mode-variables): Setup SMIE if applicable.
9606
9607 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9608
9609 * simple.el (line-move-visual): Signal beginning/end of buffer
9610 only if vertical-motion moved less than it was requested. Avoids
9611 silly incorrect error messages when there are display strings with
9612 multiple newlines at EOL.
9613
9614 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9615
9616 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9617 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9618 (prolog-char-quote-workaround):
9619 * progmodes/cperl-mode.el (cperl-under-as-char):
9620 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9621 Mark as obsolete.
9622 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9623 their declaration.
9624 (vhdl-mode-syntax-table-init): Remove.
9625
9626 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9627 last change.
9628
9629 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9630 syntax for "_".
9631 (ld-script-font-lock-keywords):
9632 Change regexps to use things like \_< and \_>.
9633
9634 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9635 Change all regexps to use things like \_< and \_>.
9636
9637 * progmodes/autoconf.el (autoconf-definition-regexp)
9638 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9639 Handle a _ with symbol syntax.
9640 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9641
9642 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9643 Consolidate declaration.
9644 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9645 the declaration.
9646 (ada-create-syntax-table): Remove.
9647 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9648 already has the right syntax nowadays.
9649 (ada-goto-next-word): Don't change the syntax of "_".
9650
9651 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9652 with-wrapper-hook.
9653
9654 2013-05-08 Sam Steingold <sds@gnu.org>
9655
9656 * thingatpt.el (thing-at-point): Accept optional second argument
9657 NO-PROPERTIES to strip the text properties from the return value.
9658 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9659 to `thing-at-point' instead of stripping the properties ourselves.
9660 Also, when `thing-at-point' fails to find a url, prepend "http://"
9661 to the filename at point on the assumption that the user is
9662 pointing at something like gnu.org/gnu.
9663
9664 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9665
9666 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9667 * faces.el (crm-separator):
9668 Silence byte-compiler.
9669
9670 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9671 (tool-bar-map): Remove unneeded defvars.
9672
9673 2013-05-08 Leo Liu <sdl.web@gmail.com>
9674
9675 Re-work a fix for bug#10994 based on Le Wang's patch.
9676 * ido.el (ido-remove-consecutive-dups): New helper.
9677 (ido-completing-read): Use it.
9678 (ido-chop): Revert fix for bug#10994.
9679
9680 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9681
9682 * cus-edit.el (custom-save-variables):
9683 Pretty-print long values. (Bug#14187)
9684
9685 2013-05-08 Glenn Morris <rgm@gnu.org>
9686
9687 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9688 (m4-mode-syntax-table): Init in the defvar.
9689 (m4-mode-abbrev-table): Let define-derived-mode define it.
9690
9691 2013-05-08 Tom Tromey <tromey@redhat.com>
9692
9693 * progmodes/m4-mode.el (m4-mode-syntax-table):
9694 Do not treat "_" as word constituent. (Bug#14167)
9695
9696 2013-05-07 Glenn Morris <rgm@gnu.org>
9697
9698 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9699 Remove explicit eshell-isearch-cancel-map.
9700
9701 * progmodes/f90.el (f90-smart-end-names): New option.
9702 (f90-smart-end): Doc fix.
9703 (f90-end-block-optional-name): New constant.
9704 (f90-block-match): Respect f90-smart-end-names.
9705
9706 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9707
9708 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9709 about implicit semi-colons (bug#14218).
9710
9711 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9712
9713 * frame.el (display-monitor-attributes-list)
9714 (frame-monitor-attributes): New functions.
9715
9716 2013-05-06 Leo Liu <sdl.web@gmail.com>
9717
9718 * progmodes/octave.el (octave-syntax-propertize-function): Change
9719 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9720 (octave-font-lock-keywords): Use octave-operator-regexp.
9721 (octave-completion-at-point): Rename from
9722 octave-completion-at-point-function.
9723 (inferior-octave-directory-tracker): Robustify.
9724 (octave-text-functions): Remove and fix its uses. No such things
9725 any more.
9726
9727 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9728
9729 * emacs-lisp/trace.el (trace--display-buffer): New function.
9730 (trace-make-advice): Use it.
9731
9732 2013-05-06 Juri Linkov <juri@jurta.org>
9733
9734 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9735 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9736 Doc fix.
9737 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9738 in the help string. (Bug#12985)
9739
9740 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9741
9742 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9743
9744 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9745
9746 * progmodes/perl-mode.el: Add support for here documents.
9747 (perl-syntax-propertize-function): Match here-doc markers.
9748 (perl-syntax-propertize-special-constructs): Find their end.
9749 (perl-imenu-generic-expression): Use [:alnum:].
9750
9751 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9752 (advice--add-function): Refresh the advice if already present
9753 (bug#14317).
9754
9755 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9756
9757 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9758
9759 2013-05-06 Glenn Morris <rgm@gnu.org>
9760
9761 * w32-fns.el (w32-charset-info-alist): Declare.
9762
9763 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9764 of its defcustom properties.
9765 (eshell-cmpl-initialize): No need to load pcomplete.
9766
9767 * generic-x.el: No need to require comint when compiling.
9768
9769 * net/eudc-export.el: Make it loadable without bbdb.
9770 (top-level): Use require rather than load-library.
9771 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9772 (eudc-batch-export-records-to-bbdb)
9773 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9774 Require bbdb.
9775
9776 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9777
9778 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9779 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9780 some tweaks, instead.
9781
9782 2013-05-05 Leo Liu <sdl.web@gmail.com>
9783
9784 * progmodes/octave.el (octave-font-lock-keywords)
9785 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9786 (inferior-octave-send-list-and-digest): Improve error message.
9787 (octave-mode, inferior-octave-mode): Use setq-local.
9788 (octave-help): Set info-lookup-mode.
9789
9790 2013-05-05 Richard Stallman <rms@gnu.org>
9791
9792 * vc/compare-w.el (compare-windows-whitespace):
9793 Treat no-break space as whitespace.
9794
9795 * mail/rmailsum.el (rmail-summary-rmail-update):
9796 Detect empty summary and don't change selected message.
9797 (rmail-summary-goto-msg): Likewise.
9798
9799 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9800 Doc fixes, rename args.
9801
9802 2013-05-05 Alan Mackenzie <acm@muc.de>
9803
9804 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9805
9806 2013-05-05 Juri Linkov <juri@jurta.org>
9807
9808 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9809 to not add the length of the summary segment to the return value.
9810 (Bug#14125)
9811
9812 2013-05-05 Leo Liu <sdl.web@gmail.com>
9813
9814 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9815 (inferior-octave-output-filter): Remove.
9816 (octave-send-region, inferior-octave-startup): Fix callers.
9817 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9818 (octave-binary-file-extensions): New user variable.
9819 (octave-find-definition): Confirm if opening binary files.
9820 (octave-help-file): Use octave-find-definition to get the binary
9821 confirmation.
9822 (octave-help): Adjust for octave-help-file change.
9823
9824 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9825
9826 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9827 Merge the two entries that handle function definitions.
9828 (pascal--syntax-propertize): New const.
9829 (pascal-mode): Use it. Use setq-local.
9830
9831 2013-05-04 Glenn Morris <rgm@gnu.org>
9832
9833 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9834 (diary-from-outlook): Respect diary-from-outlook-function.
9835
9836 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9837
9838 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9839 Move the declaration from C.
9840 (read-minibuffer, eval-minibuffer): Move from C.
9841 (completion-setup-function): Avoid minibuffer-completion-contents.
9842
9843 2013-05-03 Leo Liu <sdl.web@gmail.com>
9844
9845 * progmodes/octave.el (octave-font-lock-keywords): Do not
9846 dehighlight 'end' in comments or strings.
9847 (octave-completing-read, octave-goto-function-definition):
9848 New helpers.
9849 (octave-help-buffer): New user variable.
9850 (octave-help-file, octave-help-function): New button types.
9851 (octave-help): New command and bind it to C-h ;.
9852 (octave-find-definition): New command and bind it to M-.
9853 (user-error): Alias to error if not defined.
9854
9855 2013-05-02 Leo Liu <sdl.web@gmail.com>
9856
9857 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9858 for \. (bug#14332)
9859 (octave-font-lock-keywords): Include [ and {.
9860
9861 2013-05-02 Leo Liu <sdl.web@gmail.com>
9862
9863 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9864 (inferior-octave): Remove calling comint-mode and return the buffer.
9865 (inferior-octave-startup): Cosmetic changes.
9866
9867 2013-05-02 Leo Liu <sdl.web@gmail.com>
9868
9869 * progmodes/octave.el (octave-syntax-propertize-function):
9870 Include the case when ' is at line beginning. (Bug#14336)
9871
9872 2013-05-02 Glenn Morris <rgm@gnu.org>
9873
9874 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9875 * desktop.el (vc-dir-mode): Just autoload it here.
9876
9877 2013-05-02 Alan Mackenzie <acm@muc.de>
9878
9879 Eliminate variable c-standard-font-lock-fontify-region-function.
9880 * progmodes/cc-mode.el
9881 (c-standard-font-lock-fontify-region-function): Remove.
9882 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9883
9884 2013-05-01 Leo Liu <sdl.web@gmail.com>
9885
9886 * progmodes/octave.el: Compatible with older emacs-24 releases.
9887 (inferior-octave-has-built-in-variables): Remove. Built-in
9888 variables were removed from Octave in 2007.
9889 (inferior-octave-startup): Fix uses.
9890 (comint-line-beginning-position): Remove compatibility code for
9891 emacs 21.
9892
9893 2013-05-01 Juri Linkov <juri@jurta.org>
9894
9895 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9896
9897 2013-05-01 Juri Linkov <juri@jurta.org>
9898
9899 * comint.el (comint-previous-matching-input): Don't print message
9900 "History item: %d" when `isearch-mode' is active.
9901 (comint-history-isearch-message): Print message "History item: %d"
9902 when `comint-input-ring-index' is not empty and this function is
9903 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9904
9905 2013-05-01 Leo Liu <sdl.web@gmail.com>
9906
9907 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9908 definitions. Use completion-at-point to insert keywords.
9909 (octave-abbrev-start): Remove.
9910 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9911
9912 2013-04-30 Leo Liu <sdl.web@gmail.com>
9913
9914 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9915 change.
9916
9917 2013-04-30 Alan Mackenzie <acm@muc.de>
9918
9919 Handle arbitrarily long C++ member initialisation lists.
9920 * progmodes/cc-engine.el (c-back-over-member-initializers):
9921 new function.
9922 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9923 (most) member init lists.
9924
9925 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9926
9927 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9928 variable.
9929
9930 2013-04-30 Leo Liu <sdl.web@gmail.com>
9931
9932 * progmodes/octave.el (octave-variables): Remove. No builtin
9933 variables any more. All converted to functions.
9934 (octave-font-lock-keywords, octave-completion-at-point-function):
9935 Fix uses.
9936 (octave-font-lock-texinfo-comment): New user variable.
9937 (octave-texinfo-font-lock-keywords): New variable for texinfo
9938 comment block.
9939 (octave-function-comment-block): New face.
9940 (octave-font-lock-texinfo-comment): New function.
9941 (octave-mode): Font lock texinfo comment block.
9942
9943 2013-04-29 Leo Liu <sdl.web@gmail.com>
9944
9945 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9946 indexing expression.
9947 (octave-continuation-string): Do not use \.
9948 (inferior-octave-complete-impossible): Remove.
9949 (inferior-octave-completion-table)
9950 (inferior-octave-completion-at-point): Remove its uses.
9951 (inferior-octave-startup): completion_matches was introduced to
9952 Octave in 1996 so safe to assume it.
9953 (octave-function-file-comment): Improve to follow how Octave does it.
9954 (octave-update-function-file-comment): Tweak.
9955
9956 2013-04-29 Leo Liu <sdl.web@gmail.com>
9957
9958 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9959 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9960 (octave-function-file-comment): Fix typo.
9961 (octave-sync-function-file-names): Use read-char-choice.
9962
9963 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9964
9965 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9966 to t for the less important warnings.
9967
9968 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9969
9970 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9971
9972 2013-04-27 Glenn Morris <rgm@gnu.org>
9973
9974 * vc/log-view.el (log-view-current-entry):
9975 Treat "---" separator lines as part of the following rev. (Bug#14169)
9976
9977 2013-04-27 Juri Linkov <juri@jurta.org>
9978
9979 * subr.el (read-number): Doc fix about using it by interactive
9980 code letter `n'. (Bug#14254)
9981
9982 2013-04-27 Juri Linkov <juri@jurta.org>
9983
9984 * desktop.el (desktop-auto-save-timeout): New option.
9985 (desktop-file-checksum): New variable.
9986 (desktop-save): Add optional arg `auto-save' and don't auto-save
9987 if nothing changed.
9988 (desktop-auto-save-timer): New variable.
9989 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9990 (after-init-hook): Call `desktop-auto-save-set-timer'.
9991 Suggested by Reuben Thomas <rrt@sc3d.org> in
9992 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9993
9994 2013-04-27 Leo Liu <sdl.web@gmail.com>
9995
9996 * progmodes/octave.el (octave-function-file-p)
9997 (octave-skip-comment-forward, octave-function-file-comment)
9998 (octave-update-function-file-comment): New functions.
9999 (octave-mode-map): Bind C-c ; to
10000 octave-update-function-file-comment.
10001 (octave-mode-menu): Add octave-update-function-file-comment.
10002 (octave-mode, inferior-octave-mode): Fix doc-string.
10003 (octave-insert-defun): Conform to Octave's coding convention.
10004 (Bug#14285)
10005
10006 * files.el (basic-save-buffer): Don't let errors in
10007 before-save-hook prevent saving buffer.
10008
10009 2013-04-20 Roland Winkler <winkler@gnu.org>
10010
10011 * faces.el (read-face-name): Use completing-read if arg multiple
10012 is nil.
10013
10014 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10015
10016 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10017 displayed, move point to after the totals line.
10018 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10019 for the details.
10020
10021 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10022
10023 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10024 Add current dir to the load-path.
10025 (package-generate-autoloads): Don't rely on
10026 autoload-ensure-default-file.
10027
10028 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10029
10030 * textmodes/remember.el (remember-store-in-files): Document that
10031 the file name format is passed to `format-time-string'.
10032
10033 2013-04-26 Leo Liu <sdl.web@gmail.com>
10034
10035 * progmodes/octave.el (octave-sync-function-file-names): New function.
10036 (octave-mode): Use it in before-save-hook.
10037
10038 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10039
10040 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10041 (bug#14274).
10042
10043 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10044 \n and comment, even if it's not an implicit ; (bug#14218).
10045
10046 2013-04-26 Glenn Morris <rgm@gnu.org>
10047
10048 * subr.el (read-number): Once more use `read' rather than
10049 `string-to-number', to trap non-numeric input. (Bug#14254)
10050
10051 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10052
10053 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10054 Use `syntax-multiline' text property consistently instead of
10055 `font-lock-multiline'. (Bug#14237)
10056
10057 2013-04-26 Glenn Morris <rgm@gnu.org>
10058
10059 * emacs-lisp/shadow.el (list-load-path-shadows):
10060 No longer necessary to check for duplicate simple.el, since
10061 2012-07-07 change to init_lread to not include installation lisp
10062 directories in load-path when running uninstalled. (Bug#14270)
10063
10064 2013-04-26 Leo Liu <sdl.web@gmail.com>
10065
10066 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10067 (octave-mode, inferior-octave-mode): Use setq-local.
10068 (octave-not-in-string-or-comment-p): Rename to
10069 octave-in-string-or-comment-p.
10070 (octave-in-comment-p, octave-in-string-p)
10071 (octave-in-string-or-comment-p): Replace defsubst with defun.
10072
10073 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10074
10075 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10076
10077 2013-04-25 Bastien Guerry <bzg@gnu.org>
10078
10079 * textmodes/remember.el (remember-data-directory)
10080 (remember-directory-file-name-format): Fix custom types.
10081
10082 2013-04-25 Leo Liu <sdl.web@gmail.com>
10083
10084 * progmodes/octave.el (octave-completion-at-point-function):
10085 Make use of inferior octave process.
10086 (octave-initialize-completions): Remove.
10087 (inferior-octave-completion-table): New function.
10088 (inferior-octave-completion-at-point): Use it.
10089 (octave-completion-alist): Remove.
10090
10091 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10092
10093 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10094 (opascal-mode-syntax-table): New var.
10095 (opascal-literal-kind, opascal-is-literal-end)
10096 (opascal-literal-token-at): Rewrite.
10097 (opascal--literal-start-re, opascal-font-lock-keywords)
10098 (opascal--syntax-propertize): New constants.
10099 (opascal-font-lock-defaults): Adjust.
10100 (opascal-mode): Use them. Set comment-<foo> variables as well.
10101 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10102 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10103 (delphi-other-face, opascal-other-face): Remove face variables.
10104 (opascal-save-state): Remove macro.
10105 (opascal-fontifying-progress-step): Remove constant.
10106 (opascal--ignore-changes): Remove var.
10107 (opascal-set-token-property, opascal-parse-next-literal)
10108 (opascal-is-stable-literal, opascal-complete-literal)
10109 (opascal-is-literal-start, opascal-face-of)
10110 (opascal-parse-region, opascal-parse-region-until-stable)
10111 (opascal-fontify-region, opascal-after-change)
10112 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10113 (opascal-debug-parse-region, opascal-debug-parse-window)
10114 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10115 (opascal-debug-fontify-buffer): Remove.
10116 (opascal-debug-mode-map): Adjust accordingly.
10117
10118 2013-04-25 Leo Liu <sdl.web@gmail.com>
10119
10120 Merge octave-mod.el and octave-inf.el into octave.el with some
10121 cleanups.
10122 * progmodes/octave.el: New file renamed from octave-mod.el.
10123 * progmodes/octave-inf.el: Merged into octave.el.
10124 * progmodes/octave-mod.el: Renamed to octave.el.
10125
10126 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10127
10128 * textmodes/reftex-vars.el
10129 (reftex-label-ignored-macros-and-environments): New defcustom.
10130
10131 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10132
10133 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10134
10135 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10136 (smie-indent-keyword): Improve the check to ensure that the next
10137 comment is really on the same line.
10138 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10139
10140 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10141 semi-colons if the line is not otherwise empty (bug#14218).
10142
10143 2013-04-25 Glenn Morris <rgm@gnu.org>
10144
10145 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10146
10147 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10148
10149 * progmodes/opascal.el (opascal-set-token-property): Rename from
10150 opascal-set-text-properties and only set `token' (bug#14134).
10151 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10152 (opascal-literal-text-properties): Remove.
10153 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10154 Adjust callers.
10155
10156 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10157
10158 * textmodes/remember.el (remember-handler-functions): Add an
10159 option for a new handler `remember-store-in-files'.
10160 (remember-data-directory, remember-directory-file-name-format):
10161 New options.
10162 (remember-store-in-files): New function to store remember notes
10163 as separate files within a directory.
10164
10165 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10166
10167 * progmodes/compile.el (compilation-next-error-function):
10168 Pass "formats" to compilation-find-file (bug#11777).
10169
10170 2013-04-24 Glenn Morris <rgm@gnu.org>
10171
10172 * vc/vc-bzr.el (vc-bzr-print-log):
10173 * vc/vc-hg.el (vc-hg-print-log):
10174 * vc/vc-svn.el (vc-svn-print-log):
10175 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10176
10177 * vc/vc-bzr.el (vc-bzr-print-log):
10178 * vc/vc-cvs.el (vc-cvs-print-log):
10179 * vc/vc-git.el (vc-git-print-log):
10180 * vc/vc-hg.el (vc-hg-print-log):
10181 * vc/vc-mtn.el (vc-mtn-print-log):
10182 * vc/vc-rcs.el (vc-rcs-print-log):
10183 * vc/vc-sccs.el (vc-sccs-print-log):
10184 * vc/vc-svn.el (vc-svn-print-log):
10185 * vc/vc.el (vc-print-log-internal): Doc fixes.
10186
10187 2013-04-23 Glenn Morris <rgm@gnu.org>
10188
10189 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10190 Remove venerable code attempting to avoid substitute-command-keys.
10191
10192 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10193
10194 * textmodes/reftex-vars.el (reftex-label-regexps):
10195 Call `reftex-compile-variables' after changes to this variable.
10196
10197 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10198
10199 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10200 Use lexical-binding.
10201 (jit-lock-force-redisplay): Use markers, check buffer's continued
10202 existence and beware narrowed buffers.
10203 (jit-lock-fontify-now): Adjust call accordingly.
10204
10205 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10206
10207 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10208 to avoid misleading the user.
10209
10210 2013-04-22 Leo Liu <sdl.web@gmail.com>
10211
10212 * info-look.el: Prefer latex2e.info. (Bug#14240)
10213
10214 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10215
10216 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10217
10218 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10219 * net/tramp.el (tramp-call-process): ... here.
10220 (tramp-set-completion-function, tramp-parse-putty):
10221 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10222 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10223 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10224 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10225 (tramp-call-local-coding-command): Use `tramp-call-process'
10226 instead of `tramp-compat-call-process'.
10227
10228 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10229 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10230 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10231 (tramp-find-inline-compress): Improve traces.
10232 (tramp-maybe-send-script): Check for Perl binary.
10233 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10234
10235 2013-04-22 Daiki Ueno <ueno@gnu.org>
10236
10237 * epg.el (epg-context-pinentry-mode): New function.
10238 (epg-context-set-pinentry-mode): New function.
10239 (epg--start): Pass --pinentry-mode option to gpg command.
10240
10241 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10242
10243 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10244 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10245 `completion-at-point'. (Bug#13774)
10246
10247 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10248 default key binding for `describe-distribution' has been moved to
10249 `C-h C-o'. (Bug#13970)
10250
10251 2013-04-21 Glenn Morris <rgm@gnu.org>
10252
10253 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10254 Add doc strings.
10255 (vc-print-log): Clarify interactive prompt.
10256
10257 2013-04-20 Glenn Morris <rgm@gnu.org>
10258
10259 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10260 No longer include timestamp etc information.
10261
10262 2013-04-20 Roland Winkler <winkler@gnu.org>
10263
10264 * faces.el (read-face-name): Bug fix, return just one face if arg
10265 multiple is nil. (Bug#14209)
10266
10267 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10268
10269 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10270 (remove-function): Autoload.
10271
10272 * comint.el (comint-redirect-original-filter-function): Remove.
10273 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10274 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10275 (vc-cvs-annotate-command):
10276 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10277 * progmodes/prolog.el (prolog-consult-compile):
10278 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10279 Use add/remove-function instead.
10280 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10281 (gud-tooltip-process-output, gud-tooltip-tips):
10282 Use add/remove-function instead.
10283 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10284 (scheme-interaction-mode, exit-scheme-interaction-mode):
10285 Use add/remove-function instead.
10286
10287 * vc/vc-dispatcher.el: Use lexical-binding.
10288 (vc--process-sentinel): Rename from vc-process-sentinel.
10289 Change last arg to be the code to run. Don't use vc-previous-sentinel
10290 and vc-sentinel-commands any more.
10291 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10292 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10293
10294 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10295
10296 * progmodes/sh-script.el (sh-imenu-generic-expression):
10297 Handle function names with a single character. (Bug#14111)
10298
10299 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10300
10301 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10302 for subroutines defined in an eval (bug#14182).
10303
10304 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10305
10306 * bookmark.el (bookmark-completing-read): Improve handling of empty
10307 string (bug#14176).
10308
10309 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10310
10311 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10312
10313 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10314
10315 New faster Imenu implementation (bug#14058).
10316 * progmodes/python.el:
10317 (python-imenu-prev-index-position):
10318 (python-imenu-format-item-label-function)
10319 (python-imenu-format-parent-item-label-function)
10320 (python-imenu-format-parent-item-jump-label-function):
10321 New vars.
10322 (python-imenu-format-item-label)
10323 (python-imenu-format-parent-item-label)
10324 (python-imenu-format-parent-item-jump-label)
10325 (python-imenu--put-parent, python-imenu--build-tree)
10326 (python-imenu-create-index, python-imenu-create-flat-index)
10327 (python-util-popn): New functions.
10328 (python-mode): Set imenu-create-index-function to
10329 python-imenu-create-index.
10330
10331 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10332
10333 * winner.el (winner-active-region): Use region-active-p, activate-mark
10334 and deactivate-mark (bug#14225).
10335
10336 * simple.el (deactivate-mark): Don't inline it.
10337
10338 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10339
10340 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10341
10342 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10343
10344 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10345 file extensions from the archive-mode entry in order to prefer
10346 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10347
10348 2013-04-18 Leo Liu <sdl.web@gmail.com>
10349
10350 * bindings.el (help-event-list): Add ?\?.
10351
10352 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10353
10354 * subr.el (with-wrapper-hook): Declare obsolete.
10355 * simple.el (filter-buffer-substring-function): New hook.
10356 (filter-buffer-substring): Use it.
10357 (filter-buffer-substring-functions): Mark obsolete.
10358 * minibuffer.el (completion-in-region-function): New hook.
10359 (completion-in-region): Use it.
10360 (completion-in-region-functions): Mark obsolete.
10361 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10362 * abbrev.el (abbrev-expand-function): New hook.
10363 (expand-abbrev): Use it.
10364 (abbrev-expand-functions): Mark obsolete.
10365 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10366 and :filter-return.
10367
10368 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10369
10370 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10371 and do not care about match data.
10372
10373 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10374
10375 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10376 completion tables when completing error conditions and
10377 `declare' arguments.
10378 (lisp-complete-symbol, field-complete): Mark as obsolete.
10379 (check-parens): Unmatched parens are user errors.
10380 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10381
10382 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10383
10384 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10385 command changed buffer (ie. `flyspell-pre-buffer' is not current
10386 buffer), which prevents making decisions based on invalid value of
10387 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10388 cause an error when `flyspell-pre-point' was nil after switching
10389 buffers.
10390 (flyspell-post-command-hook): No longer needs to change buffers when
10391 checking pre-word. While at it remove unnecessary progn.
10392
10393 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10394
10395 * textmodes/ispell.el (ispell-add-per-file-word-list):
10396 Fix `flyspell-correct-word-before-point' error when accepting
10397 words and `coment-padding' is an integer by using
10398 `comment-normalize-vars' (Bug #14214).
10399
10400 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10401
10402 New defun movement commands.
10403 * progmodes/python.el (python-nav--syntactically)
10404 (python-nav--forward-defun, python-nav-backward-defun)
10405 (python-nav-forward-defun): New functions.
10406
10407 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10408
10409 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10410 (python-syntax-context): Use named compiler-macro for backwards
10411 compatibility with Emacs 24.x.
10412
10413 2013-04-17 Leo Liu <sdl.web@gmail.com>
10414
10415 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10416 octave-hide-process-buffer.
10417
10418 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10419
10420 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10421 (bug#14216).
10422
10423 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10424
10425 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10426 Fix adjustment of offset when receiving incomplete responses from GDB
10427 (bug#14129).
10428
10429 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10430
10431 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10432 python-mode-abbrev-table.
10433 (python-skeleton-define): Adjust accordingly.
10434 (python-mode-abbrev-table): New table that inherits from it so that
10435 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10436
10437 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10438 (abbrev-symbol): Use it.
10439 (abbrev--before-point): Use it since we already handle inheritance.
10440
10441 2013-04-16 Leo Liu <sdl.web@gmail.com>
10442
10443 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10444 binding to info-lookup-symbol.
10445
10446 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10447
10448 * minibuffer.el (completion--twq-all):
10449 * term/ns-win.el (ns-initialize-window-system):
10450 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10451
10452 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10453
10454 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10455 global bindings.
10456
10457 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10458
10459 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10460
10461 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10462 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10463 to nil.
10464 (ruby-end-of-defun): Remove the unused arg, change the docstring
10465 to reflect that this function is only used as the value of
10466 `end-of-defun-function'.
10467 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10468 to reflect an earlier change that beginning/end-of-defun functions
10469 jump between methods in a class definition, as well as top-level
10470 functions.
10471
10472 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10473
10474 * minibuffer.el (minibuffer-complete): Don't just scroll
10475 a *Completions* that's been iconified.
10476 (minibuffer-force-complete): Make sure repetitions do cycle when going
10477 through completion-in-region -> minibuffer-complete.
10478
10479 2013-04-15 Alan Mackenzie <acm@muc.de>
10480
10481 Correct the placement of c-cpp-delimiters when there're #s not at
10482 col 0.
10483
10484 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10485 place a submatch around the #.
10486 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10487 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10488 on the #, not BOL.
10489
10490 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10491
10492 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10493 (advice--member-p): New arg `name'.
10494 (advice--add-function, advice-member-p): Use it (bug#14202).
10495
10496 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10497
10498 Reformulate java imenu-generic-expression.
10499 The old expression contained ill formed regexps.
10500
10501 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10502 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10503 (cc-imenu-java-method-arg-regexp): New defconsts.
10504 (cc-imenu-java-build-type-args-regex): New defun.
10505 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10506 handling of spaces in the regexp.
10507
10508 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10509
10510 * textmodes/ispell.el (ispell-command-loop): Remove
10511 flyspell highlight of a word when ispell accepts it (bug #14178).
10512
10513 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10514
10515 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10516 uses code from the previous `ange-ftp-run-real-handler'.
10517 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10518 only in case that function exist. This is needed for proper
10519 unloading of Tramp.
10520
10521 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10522
10523 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10524
10525 * textmodes/reftex.el (reftex-compile-variables): Use it.
10526
10527 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10528
10529 * files.el (normal-mode): Only use default major-mode if no other mode
10530 was specified.
10531
10532 * emacs-lisp/trace.el (trace-values): New function.
10533
10534 * files.el: Allow : in local variables (bug#14089).
10535 (hack-local-variable-regexp): New var.
10536 (hack-local-variables-prop-line, hack-local-variables): Use it.
10537
10538 2013-04-13 Roland Winkler <winkler@gnu.org>
10539
10540 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10541 data before it gets modified by bibtex-beginning-of-entry.
10542
10543 2013-04-13 Roland Winkler <winkler@gnu.org>
10544
10545 * textmodes/bibtex.el (bibtex-url): Doc fix.
10546
10547 2013-04-13 Roland Winkler <winkler@gnu.org>
10548
10549 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10550 does not visit a BibTeX file, exclude it from the list of buffers
10551 returned by bibtex-initialize.
10552
10553 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10554
10555 * window.el (split-window): Remove interactive form, since as a
10556 command this function is a special case of split-window-below.
10557 Correct doc string.
10558
10559 2013-04-12 Roland Winkler <winkler@gnu.org>
10560
10561 * faces.el (read-face-name): Do not override value of arg default.
10562 Allow single faces and strings as default values. Remove those
10563 elements from return value that are not faces.
10564 (describe-face): Simplify.
10565 (face-at-point): New optional args thing and multiple so that this
10566 function can provide the same functionality previously provided by
10567 read-face-name.
10568 (make-face-bold, make-face-unbold, make-face-italic)
10569 (make-face-unitalic, make-face-bold-italic, invert-face)
10570 (modify-face, read-face-and-attribute): Use face-at-point.
10571
10572 * cus-edit.el (customize-face, customize-face-other-window)
10573 * cus-theme.el (custom-theme-add-face)
10574 * face-remap.el (buffer-face-set)
10575 * facemenu.el (facemenu-set-face): Use face-at-point.
10576
10577 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10578
10579 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10580
10581 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10582
10583 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10584 off leading { and trailing } from field values.
10585
10586 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10587
10588 * emacs-lisp/timer.el (timer--check): New function.
10589 (timer--time, timer-set-function, timer-event-handler): Use it.
10590 (timer-set-idle-time): Simplify.
10591 (timer--activate): CSE.
10592 (timer-event-handler): Give more info in error message.
10593 (internal-timer-start-idle): New function, moved from C.
10594
10595 * mpc.el (mpc-proc): Add `restart' argument.
10596 (mpc-proc-cmd): Use it.
10597 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10598 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10599 less often.
10600
10601 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10602
10603 * progmodes/sh-script.el: Implement `sh-mode' own
10604 `add-log-current-defun-function' (bug#14112).
10605 (sh-current-defun-name): New function.
10606 (sh-mode): Use the function.
10607
10608 2013-04-09 Bastien Guerry <bzg@gnu.org>
10609
10610 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10611
10612 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10613
10614 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10615
10616 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10617 timer (bug#14156).
10618
10619 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10620
10621 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10622 declaration.
10623
10624 2013-04-07 Leo Liu <sdl.web@gmail.com>
10625
10626 * pcmpl-x.el: New file.
10627
10628 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10629
10630 Do not set x-display-name until X connection is established.
10631 This is needed to prevent from weird situation described at
10632 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10633 * frame.el (make-frame): Set x-display-name after call to
10634 window system initialization function, not before.
10635 * term/x-win.el (x-initialize-window-system): Add optional
10636 display argument and use it.
10637 * term/w32-win.el (w32-initialize-window-system):
10638 * term/ns-win.el (ns-initialize-window-system):
10639 * term/pc-win.el (msdos-initialize-window-system):
10640 Add compatible optional display argument.
10641
10642 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10643
10644 * files.el (normal-backup-enable-predicate): On MS-Windows and
10645 MS-DOS compare truenames of temporary-file-directory and of the
10646 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10647 don't fail comparison by compare-strings. Also, compare file
10648 names case-insensitively on MS-Windows and MS-DOS.
10649
10650 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10651
10652 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10653 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10654
10655 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10656
10657 * whitespace.el (whitespace-color-on, whitespace-color-off):
10658 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10659
10660 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10661
10662 * ispell.el (ispell-set-spellchecker-params):
10663 Really set `ispell-args' for all equivs.
10664
10665 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10666
10667 * ido.el (ido-completions): Use extra elements of ido-decorations
10668 (bug#14143).
10669 (ido-decorations): Update docstring.
10670
10671 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10672
10673 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10674 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10675 nil during initialization, in order not to miss changes since the
10676 file was opened. (Bug#14140)
10677
10678 2013-04-05 Leo Liu <sdl.web@gmail.com>
10679
10680 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10681
10682 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10683
10684 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10685
10686 2013-04-04 Glenn Morris <rgm@gnu.org>
10687
10688 * electric.el (electric-pair-inhibit-predicate): Add :version.
10689
10690 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10691
10692 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10693 when a package is required several times (bug#14082).
10694
10695 2013-04-04 Roland Winkler <winkler@gnu.org>
10696
10697 * faces.el (read-face-name): Behave as promised by the docstring.
10698 Assume that arg default is a list of faces.
10699 (describe-face): Call read-face-name with list of default faces.
10700
10701 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10702
10703 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10704 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10705 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10706 the header.
10707 (bookmark-exit-hook-internal): Save even if list is empty.
10708
10709 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10710
10711 * emacs-lisp/package.el (package-pinned-packages): New var.
10712 (package--add-to-archive-contents): Obey it (bug#14118).
10713
10714 2013-04-03 Alan Mackenzie <acm@muc.de>
10715
10716 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10717 Also adapt to the new values of element 7 of a parse state.
10718
10719 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10720 parameter `not-in-delimiter'. Handle being inside comment opener.
10721 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10722 character in case we're typing a '*' after a '/'.
10723 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10724 instead by passing the parameter to c-state-pp-to-literal.
10725
10726 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10727 for elt. 7 of a parse state.
10728
10729 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10730
10731 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10732 * international/latin1-disp.el, international/mule-util.el:
10733 * language/cyril-util.el, language/european.el, language/ind-util.el:
10734 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10735 * language/tibetan.el, language/viet-util.el:
10736 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10737
10738 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10739
10740 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10741 (electric-pair-post-self-insert-function): Use it.
10742 (electric-pair-default-inhibit): New function, extracted from
10743 electric-pair-post-self-insert-function.
10744
10745 2013-03-31 Roland Winkler <winkler@gnu.org>
10746
10747 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10748
10749 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10750
10751 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10752
10753 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10754
10755 Un-indent after "pass" and "return" statements (Bug#13888)
10756 * progmodes/python.el (python-indent-block-enders): New var.
10757 (python-indent-calculate-indentation): Use it.
10758
10759 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10760
10761 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10762 defun. Defining it as defalias could introduce too eager
10763 byte-compiler optimization. (Bug#14030)
10764
10765 2013-03-30 Chong Yidong <cyd@gnu.org>
10766
10767 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10768
10769 2013-03-30 Leo Liu <sdl.web@gmail.com>
10770
10771 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10772 (kmacro-execute-from-register): Pass the keyboard macro to
10773 kmacro-call-macro or repeating won't work correctly.
10774
10775 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10776
10777 * progmodes/subword.el: Back to using `forward-symbol'.
10778
10779 * subr.el (forward-whitespace, forward-symbol)
10780 (forward-same-syntax): Move from thingatpt.el.
10781
10782 2013-03-29 Leo Liu <sdl.web@gmail.com>
10783
10784 * kmacro.el (kmacro-to-register): New command.
10785 (kmacro-execute-from-register): New function.
10786 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10787
10788 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10789
10790 * mpc.el: Use defvar-local and setq-local.
10791 (mpc--proc-connect): Connection failures are not bugs.
10792 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10793 (mpc-volume-map): Bind to the up-events.
10794
10795 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10796
10797 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10798 instead of `forward-symbol'.
10799
10800 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10801
10802 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10803 (edebug--recursive-edit): Use it.
10804 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10805 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10806
10807 2013-03-28 Leo Liu <sdl.web@gmail.com>
10808
10809 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10810
10811 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10812
10813 * facemenu.el (list-colors-callback): New defvar.
10814 (list-colors-redisplay): New function.
10815 (list-colors-display): Install list-colors-redisplay as the
10816 revert-buffer-function. (Bug#14063)
10817
10818 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10819
10820 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10821 and suffixes don't overlap (bug#14061).
10822
10823 * case-table.el: Use lexical-binding.
10824 (case-table-get-table): New function.
10825 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10826
10827 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10828
10829 * progmodes/subword.el: Add `superword-mode' to do word motion
10830 over symbol_words (parallels and leverages `subword-mode' which
10831 does word motion inside MixedCaseWords).
10832
10833 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10834
10835 * eshell/em-unix.el: Move su and sudo to...
10836 * eshell/em-tramp.el: ...Eshell tramp module.
10837
10838 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10839
10840 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10841 Change return value to be a sexp. Delay `get-buffer' to after
10842 restoring the desktop (bug#13951).
10843
10844 2013-03-26 Leo Liu <sdl.web@gmail.com>
10845
10846 * register.el: Move semantic tag handling back to
10847 cedet/semantic/senator.el. (Bug#14052)
10848
10849 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10850
10851 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10852 into the prompt either (bug#13963).
10853
10854 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10855
10856 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10857 part of "(error-foo)".
10858
10859 2013-03-24 Juri Linkov <juri@jurta.org>
10860
10861 * replace.el (list-matching-lines-prefix-face): New defcustom.
10862 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10863 `occur-engine' if `face-differs-from-default-p' returns t.
10864 (occur-engine): Add `,' inside backquote construct to evaluate
10865 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10866 Pass `prefix-face' to the functions `occur-context-lines' and
10867 `occur-engine-add-prefix'.
10868 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10869 `prefix-face' and propertize the prefix with `prefix-face'.
10870 (Bug#14017)
10871
10872 2013-03-24 Leo Liu <sdl.web@gmail.com>
10873
10874 * nxml/rng-valid.el (rng-validate-while-idle)
10875 (rng-validate-quick-while-idle): Guard against deleted buffer.
10876 (Bug#13999)
10877
10878 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10879 is the last entry in kill-buffer-hook.
10880
10881 * files.el (kill-buffer-hook): Doc fix.
10882
10883 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10884
10885 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10886 Make it safe-local.
10887
10888 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10889
10890 2013-03-23 Leo Liu <sdl.web@gmail.com>
10891
10892 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10893 Remove.
10894
10895 * nxml/rng-valid.el (rng-validate-mode)
10896 (rng-after-change-function, rng-do-some-validation):
10897 * nxml/rng-maint.el (rng-validate-buffer):
10898 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10899 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10900 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10901 (nxml-extend-after-change-region): Use with-silent-modifications.
10902
10903 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10904 timer-idle-list.
10905
10906 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10907 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10908 timer-idle-list. (Bug#13999)
10909
10910 2013-03-23 Juri Linkov <juri@jurta.org>
10911
10912 * info.el (info-index-match): New face.
10913 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10914 main pattern and add text properties with the new face to matches
10915 in index entries relative to the beginning of the index entry.
10916 (Bug#14015)
10917
10918 2013-03-21 Eric Ludlam <zappo@gnu.org>
10919
10920 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10921 Inhibit read only while inserting objects.
10922
10923 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10924
10925 * progmodes/cfengine.el: Update docs to mention
10926 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10927 symbol motion. Remove "_" from the word syntax.
10928
10929 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10930
10931 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10932 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10933
10934 2013-03-20 Juri Linkov <juri@jurta.org>
10935
10936 * info.el (Info-next-reference-or-link)
10937 (Info-prev-reference-or-link): New functions.
10938 (Info-next-reference, Info-prev-reference): Use them.
10939 (Info-try-follow-nearest-node): Handle footnote navigation.
10940 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10941
10942 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10943
10944 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10945 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10946
10947 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10948
10949 Suppress unnecessary non-ASCII chatter during build process.
10950 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10951 (batch-skkdic-convert): Suppress most of the chatter.
10952 It's not needed so much now that machines are faster,
10953 and its non-ASCII component was confusing; see Dmitry Gutov in
10954 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10955
10956 2013-03-20 Leo Liu <sdl.web@gmail.com>
10957
10958 * ido.el (ido-chop): Fix bug#10994.
10959
10960 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10961
10962 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10963 Remove vars.
10964 (whitespace-color-on, whitespace-color-off):
10965 Use `font-lock-fontify-buffer' (Bug#13817).
10966
10967 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10968
10969 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10970 remapping in mode-line.
10971 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10972
10973 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10974
10975 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10976 value for `whitespace-line' face (Bug#13875).
10977 (whitespace-font-lock-keywords): Change description.
10978 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10979 the constructed keywords instead.
10980 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10981
10982 2013-03-19 Leo Liu <sdl.web@gmail.com>
10983
10984 * progmodes/compile.el (compilation-display-error): New command.
10985 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10986 C-o. (Bug#13992)
10987
10988 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10989
10990 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10991
10992 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10993
10994 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10995
10996 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10997
10998 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10999
11000 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11001 * net/tramp-gvfs.el (top):
11002 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11003 (tramp-handle-shell-command): Use it.
11004 (tramp-dissect-file-name): Raise an error when hostname is a
11005 method name, and neither method nor user is specified.
11006
11007 * net/trampver.el: Update release number.
11008
11009 2013-03-18 Leo Liu <sdl.web@gmail.com>
11010
11011 Make sure eldoc can be turned off properly.
11012 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11013 eldoc-mode.
11014 (eldoc-display-message-p): Revert last change.
11015 (eldoc-display-message-no-interference-p)
11016 (eldoc-print-current-symbol-info): Tweak.
11017
11018 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11019
11020 * doc-view.el (doc-view-new-window-function): Check the new window
11021 overlay's display property instead the char property of the
11022 buffer's first char. Use `with-selected-window' instead of
11023 `save-window-excursion' with `select-window'.
11024 (doc-view-document->bitmap): Check the current doc-view overlay's
11025 display property instead the char property of the buffer's first char.
11026
11027 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11028
11029 Automate the build of ja-dic.el (Bug#13984).
11030 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11031 from the input, rather than assume that it's been done for us by the
11032 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11033 the current date into a ja-dic.el comment, as that complicates
11034 regression testing.
11035
11036 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11037
11038 * whitespace.el: Fix double evaluation.
11039 (whitespace-space, whitespace-hspace, whitespace-tab)
11040 (whitespace-newline, whitespace-trailing, whitespace-line)
11041 (whitespace-space-before-tab, whitespace-indentation)
11042 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11043 obsolete defvars.
11044 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11045 (whitespace-color-on): Use a single font-lock-add-keywords call.
11046 Fix double-evaluation of face variables.
11047
11048 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11049
11050 * net/tramp-adb.el (tramp-adb-parse-device-names):
11051 Use `start-process' instead of `call-process'. Otherwise, the
11052 function might be blocked under MS Windows. (Bug#13299)
11053
11054 2013-03-17 Leo Liu <sdl.web@gmail.com>
11055
11056 Extend eldoc to display info in the mode-line. (Bug#13978)
11057 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11058 (eldoc-mode-line-string): New variable.
11059 (eldoc-minibuffer-message): New function.
11060 (eldoc-message-function): New variable.
11061 (eldoc-message): Use it.
11062 (eldoc-display-message-p)
11063 (eldoc-display-message-no-interference-p):
11064 Support eldoc-post-insert-mode.
11065
11066 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11067 (eval-expression): Run it.
11068
11069 2013-03-17 Roland Winkler <winkler@gnu.org>
11070
11071 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11072 strings in the list of return values.
11073
11074 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11075
11076 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11077 radix before checking for HMS forms.
11078
11079 2013-03-16 Leo Liu <sdl.web@gmail.com>
11080
11081 * progmodes/scheme.el: Add indentation and font-locking for λ.
11082 (Bug#13975)
11083
11084 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11085
11086 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11087 token before point (bug#13942).
11088
11089 2013-03-16 Leo Liu <sdl.web@gmail.com>
11090
11091 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11092
11093 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11094
11095 * startup.el (command-line-normalize-file-name): Fix handling of
11096 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11097 <xfq.free@gmail.com> in
11098 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11099
11100 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11101
11102 Sync with Tramp 2.2.7.
11103
11104 * net/trampver.el: Update release number.
11105
11106 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11107
11108 * doc-view.el: Fix bug#13887.
11109 (doc-view-insert-image): Don't modify overlay associated to
11110 non-live windows, and implement horizontal centering of image in
11111 case it's smaller than the window.
11112 (doc-view-new-window-function): Force redisplay of new windows on
11113 doc-view buffers.
11114
11115 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11116
11117 * saveplace.el (save-place-alist-to-file): Don't sort
11118 `save-place-alist', just pretty-print it (bug#13882).
11119
11120 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11121
11122 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11123 Check whether `default-file-name-coding-system' is bound.
11124 It isn't in XEmacs.
11125
11126 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11127
11128 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11129 backquotes for `obsolete' (bug#13929).
11130
11131 * international/mule.el (find-auto-coding): Include file name in
11132 obsolescence warning (bug#13922).
11133
11134 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11135
11136 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11137 for CFEngine 3-specific indentation.
11138 (cfengine3-indent-line): Use it. Fix up category regex.
11139 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11140
11141 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11142
11143 * type-break.el (type-break-file-name):
11144 * textmodes/remember.el (remember-data-file):
11145 * strokes.el (strokes-file):
11146 * shadowfile.el (shadow-initialize):
11147 * saveplace.el (save-place-file):
11148 * ps-bdf.el (bdf-cache-file):
11149 * progmodes/idlwave.el (idlwave-config-directory):
11150 * net/quickurl.el (quickurl-url-file):
11151 * international/kkc.el (kkc-init-file-name):
11152 * ido.el (ido-save-directory-list-file):
11153 * emulation/viper.el (viper-custom-file-name):
11154 * emulation/vip.el (vip-startup-file):
11155 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11156 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11157
11158 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11159
11160 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11161 * language/thai-word.el: Switch to UTF-8.
11162
11163 See ChangeLog.16 for earlier changes.
11164
11165 ;; Local Variables:
11166 ;; coding: utf-8
11167 ;; End:
11168
11169 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11170
11171 This file is part of GNU Emacs.
11172
11173 GNU Emacs is free software: you can redistribute it and/or modify
11174 it under the terms of the GNU General Public License as published by
11175 the Free Software Foundation, either version 3 of the License, or
11176 (at your option) any later version.
11177
11178 GNU Emacs is distributed in the hope that it will be useful,
11179 but WITHOUT ANY WARRANTY; without even the implied warranty of
11180 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11181 GNU General Public License for more details.
11182
11183 You should have received a copy of the GNU General Public License
11184 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.