]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
aef7eb5cc5bd37692639f72e3650da731558c5ed
[gnu-emacs] / lisp / ChangeLog
1 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2
3 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4 (Bug#13914).
5
6 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
7
8 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
9
10 2013-12-18 Glenn Morris <rgm@gnu.org>
11
12 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
13 * cus-start.el (load-prefer-newer): New option.
14
15 2013-12-18 Le Wang <l26wang@gmail.com>
16
17 * comint.el (comint-previous-matching-input-from-input): Retain
18 point (Bug#13404).
19
20 2013-12-18 Chong Yidong <cyd@gnu.org>
21
22 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
23
24 2013-12-18 Glenn Morris <rgm@gnu.org>
25
26 * mail/emacsbug.el (report-emacs-bug):
27 Only mention enable-multibyte-characters if non-standard.
28
29 2013-12-17 Juri Linkov <juri@jurta.org>
30
31 * arc-mode.el (archive-extract-by-file): Check if directory exists
32 before deletion to not show irrelevant errors if it doesn't exist.
33
34 2013-12-17 Juri Linkov <juri@jurta.org>
35
36 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
37 (Bug#14751)
38
39 * net/eww.el (browse-web): Add alias to `eww'.
40 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
41 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
42
43 * net/browse-url.el (browse-url-browser-function): Move `eww'
44 closer to similar functions.
45
46 * startup.el (fancy-startup-screen, fancy-about-screen):
47 Set browse-url-browser-function to eww-browse-url locally.
48 (Bug#14751)
49
50 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
51
52 * window.el (window--pixel-to-total): Remove unused `mini' var.
53 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
54 (split-window): Remove unused `new' var.
55 (window--display-buffer): Remove unused `frame' and `delta' vars.
56 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
57 and display-width'.
58
59 2013-12-17 Martin Rudalics <rudalics@gmx.at>
60
61 * dired.el (dired-mark-pop-up):
62 * register.el (register-preview): Don't bind
63 split-height-threshold here since it's now done in
64 display-buffer-below-selected.
65
66 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
67
68 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
69 xterm-rgb-convert-to-16bit.
70 (rxvt-register-default-colors): Standardize with
71 xterm-register-default-colors (Bug#14078).
72
73 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
74
75 * simple.el (kill-region): Pass mark first, then point, so that
76 kill-append works right (Bug#12819).
77 (copy-region-as-kill, kill-ring-save): Likewise.
78
79 2013-12-17 Leo Liu <sdl.web@gmail.com>
80
81 * net/rcirc.el (rcirc-add-face):
82 * eshell/em-prompt.el (eshell-emit-prompt):
83 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
84 (Bug#16167)
85
86 2013-12-17 Chong Yidong <cyd@gnu.org>
87
88 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
89 Suggested by Xue Fuqiao.
90
91 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
92
93 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
94
95 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
96
97 * net/shr.el (shr-insert-document): Remove unused var
98 `shr-preliminary-table-render'.
99 (shr-rescale-image): Remove unused arg `force'.
100 (shr-put-image): Update calls accordingly.
101 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
102
103 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
104
105 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
106 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
107 :close-all, to see which indentation method to use (Bug#16116).
108 (smie-rules-function): Document the method :close-all.
109
110 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
111
112 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
113
114 * net/eww.el (eww-display-html): If we can't find the anchor we're
115 looking for, then go to point-min.
116
117 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
118
119 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
120 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
121 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
122 Expand dir too, in case it's relative.
123
124 2013-12-16 Juri Linkov <juri@jurta.org>
125
126 * desktop.el (desktop-auto-save-timeout): Change default to
127 `auto-save-timeout'. Doc fix.
128 (desktop-save): Skip the timestamp in desktop-saved-frameset
129 when checking for auto-save changes.
130 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
131 `desktop-auto-save' is called repeatedly by the idle timer.
132 (desktop-auto-save-set-timer): Replace `run-with-timer' with
133 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
134 (Bug#15331)
135
136 2013-12-16 Juri Linkov <juri@jurta.org>
137
138 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
139 (Bug#16035)
140 (isearch-pre-command-hook): Check `this-command' for symbolp.
141
142 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
143
144 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
145
146 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
147
148 * progmodes/cfengine.el (cfengine3--current-word): Remove.
149 (cfengine3--current-function): Bring in the current-function
150 functionality from `cfengine3--current-word'.
151 (cfengine3-completion-function): Bring in the
152 bounds-of-current-word functionality from
153 `cfengine3--current-word'.
154
155 2013-12-16 Martin Rudalics <rudalics@gmx.at>
156
157 * window.el (display-buffer-below-selected):
158 Bind split-height-threshold to 0 as suggested by Juri Linkov.
159
160 2013-12-16 Leo Liu <sdl.web@gmail.com>
161
162 * progmodes/compile.el (compile-goto-error): Do not push-mark.
163 Remove NOMSG arg and all uses changed.
164
165 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
166
167 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
168 (cua--deactivate-rectangle): Don't deactivate the mark.
169 (cua-set-rectangle-mark): Don't set mark-active since
170 cua--activate-rectangle already does it for us.
171 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
172 non-rectangular region.
173
174 * emulation/cua-base.el (cua-repeat-replace-region):
175 Use with-current-buffer.
176
177 * net/gnutls.el: Use cl-lib.
178 (gnutls-negotiate): `mapcan' -> cl-mapcan.
179
180 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
181
182 * emacs-lisp/package.el (package-built-in-p): Support both
183 built-in and the package.el converted package descriptions.
184 (package-show-package-list): Allow keywords.
185 (package-keyword-button-action): Use it instead of
186 `finder-list-matches'.
187 (package-menu-filter-interactive): Interactive filtering (by
188 keyword) function.
189 (package-menu--generate): Support keywords and change keymappings
190 and headers when they are given.
191 (package--has-keyword-p): Helper function.
192 (package-menu--refresh): Use it.
193 (package--mapc): Helper function.
194 (package-all-keywords): Use it.
195 (package-menu-mode-map): Set up menu items and keybindings to
196 provide a filtering UI.
197
198 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
199
200 * net/gnutls.el (gnutls-verify-error): New defcustom to control
201 the behavior when a certificate fails validation. Defaults to
202 old behavior: never abort, just warn.
203 (gnutls-negotiate): Use it.
204
205 2013-12-14 Martin Rudalics <rudalics@gmx.at>
206
207 * window.el (display-buffer-below-selected): Never split window
208 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
209
210 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
211
212 * emacs-lisp/package.el (package--prepare-dependencies): New function.
213 (package-buffer-info): Use it (bug#15108).
214
215 * icomplete.el (icomplete-completions): Make sure the prefix is already
216 displayed elsewhere before hiding it.
217
218 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
219
220 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
221 open-paren tokens when preceded by a open-paren, too.
222 (ruby-smie-rules): Handle virtual indentation after open-paren
223 tokens specially. If there is code between it and eol, return the
224 column where is starts (Bug#16118).
225
226 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
227
228 * progmodes/cfengine.el: Fix `add-hook' doc.
229 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
230 (cfengine3--current-word): Fix parameters.
231 (cfengine3-make-syntax-cache): Simplify further.
232 (cfengine3-completion-function, cfengine3--current-function):
233 Use `assq' for symbols.
234 (cfengine3--current-function): Fix `cfengine3--current-word' call.
235
236 2013-12-13 Glenn Morris <rgm@gnu.org>
237
238 * loadup.el (load-path): Warn if site-load or site-init changes it.
239 No more need to reset it when bootstrapping.
240
241 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
242
243 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
244 locations for cf-promises.
245 (cfengine-mode-syntax-functions-regex): New caching variable.
246 (cfengine3-fallback-syntax): Fallback syntax for cases where
247 cf-promises doesn't run.
248 (cfengine3--current-word): Reimplement using
249 `cfengine-mode-syntax-functions-regex'.
250 (cfengine3-completion-function, cfengine3--current-function):
251 Use `cfengine3-make-syntax-cache' directly.
252 (cfengine3-clear-syntax-cache): New function.
253 (cfengine3-make-syntax-cache): Simplify and create
254 `cfengine-mode-syntax-functions-regex' on demand.
255 (cfengine3-format-function-docstring): Don't call
256 `cfengine3-make-syntax-cache' explicitly.
257
258 2013-12-13 Martin Rudalics <rudalics@gmx.at>
259
260 Fix windmove-find-other-window broken after pixelwise resizing
261 (Bug#16017).
262 * windmove.el (windmove-other-window-loc): Revert change from
263 2013-12-04.
264 (windmove-find-other-window): Call window-in-direction.
265 * window.el (window-in-direction): New arguments SIGN, WRAP and
266 MINI to emulate original windmove-find-other-window behavior.
267
268 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
269
270 * simple.el (blink-matching--overlay): New variable.
271 (blink-matching-open): Instead of moving point, highlight the
272 matching paren with an overlay
273 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
274
275 * faces.el (paren-showing-faces, show-paren-match)
276 (show-paren-mismatch): Move from paren.el.
277
278 2013-12-13 Leo Liu <sdl.web@gmail.com>
279
280 * indent.el (indent-region): Disable progress reporter in
281 minibuffer. (Bug#16108)
282
283 * bindings.el (visual-order-cursor-movement): Fix version.
284
285 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
286
287 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
288 Also match after beginning of line.
289 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
290 files. Thanks to Russell Sim. (Bug#15378)
291
292 2013-12-13 Juri Linkov <juri@jurta.org>
293
294 * simple.el <Keypad support>: Remove key bindings duplicated
295 with bindings.el. (Bug#14397)
296
297 2013-12-13 Juri Linkov <juri@jurta.org>
298
299 * comint.el (comint-mode-map): Replace `delete-char' with
300 `delete-forward-char'. (Bug#16109)
301
302 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
303
304 * progmodes/python.el (python-indent-calculate-indentation):
305 Fix de-denters cornercase. (Bug#15731)
306
307 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
308
309 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
310 (advice--make): Pay attention to `depth'.
311 (advice--make-1): Don't autoload commands eagerly.
312 * emacs-lisp/elp.el (elp-instrument-function):
313 * emacs-lisp/trace.el (trace-function-internal):
314 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
315
316 * iswitchb.el (iswitchb-mode): Don't belittle ido.
317
318 2013-12-12 Eli Zaretskii <eliz@gnu.org>
319
320 * term/w32-win.el (w32-handle-dropped-file):
321 * startup.el (normal-top-level):
322 * net/browse-url.el (browse-url-file-url):
323 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
324 decode file names using 'utf-8' rather than
325 file-name-coding-system.
326
327 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
328
329 * progmodes/python.el (python-indent-context)
330 (python-indent-calculate-indentation): Fix auto-identation
331 behavior for comment blocks. (Bug#15916)
332
333 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
334
335 * progmodes/python.el (python-indent-calculate-indentation):
336 When determining indentation, don't treat "return", "pass", etc., as
337 operators when they are just string constituents. (Bug#15812)
338
339 2013-12-12 Juri Linkov <juri@jurta.org>
340
341 * uniquify.el (uniquify-buffer-name-style): Change default to
342 `post-forward-angle-brackets'.
343
344 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
345 `uniquify'. Change default to `post-forward-angle-brackets'.
346
347 2013-12-11 Glenn Morris <rgm@gnu.org>
348
349 * emacs-lisp/package.el (finder-list-matches):
350 Autoload rather than falsely declaring.
351
352 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
353
354 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
355 (eww-mode-map): Use them.
356
357 2013-12-11 Martin Rudalics <rudalics@gmx.at>
358
359 * window.el (display-buffer-in-side-window): Fix doc-string
360 (Bug#16115).
361
362 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
363
364 * vc/vc-git.el: Silence byte-compiler warnings.
365 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
366 (log-edit-set-header): Declare.
367
368 2013-12-11 Eli Zaretskii <eliz@gnu.org>
369
370 * Makefile.in (custom-deps, finder-data): Run output file names
371 through unmsys--file-name. (Bug#16099)
372
373 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
374
375 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
376 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
377
378 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
379 instead of deleting the selection "by hand" (bug#16098).
380 Rely on insert-for-yank to yank rectangles.
381 (cua-highlight-region-shift-only): Mark obsolete.
382 (cua-mode): Don't enable/disable transient-mark-mode,
383 shift-select-mode (cua-mode works both with and without them), and
384 pc-selection-mode (obsolete).
385 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
386 (cua--deactivate-rectangle): Deactivate it.
387
388 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
389 (delete-selection-helper): Make sure yank starts at the top of the
390 deleted region.
391 (minibuffer-keyboard-quit): Use region-active-p.
392
393 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
394
395 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
396 to `delete' (bug#16109).
397
398 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
399
400 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
401 info manual and show keybindings and set `:group' keyword.
402
403 2013-12-11 Juri Linkov <juri@jurta.org>
404
405 * delsel.el (delete-active-region): Let-bind `this-command'
406 to prevent `kill-region' from changing its original value.
407 (delete-selection-helper): Handle `overwrite-mode' for the type
408 `kill' exactly the same way as for the type `t'.
409 (insert-char, quoted-insert, reindent-then-newline-and-indent):
410 Support more commands. (Bug#13312)
411
412 2013-12-11 Juri Linkov <juri@jurta.org>
413
414 * bindings.el: Map kp keys to non-kp keys systematically
415 with basic modifiers control, meta and shift. (Bug#14397)
416
417 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
418
419 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
420 "Close browser" menu items. Fix wrong function of "List
421 bookmarks".
422
423 2013-12-11 Juri Linkov <juri@jurta.org>
424
425 * misearch.el (multi-isearch-buffers): Set the value of
426 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
427 arg of isearch-forward to t.
428 (multi-isearch-buffers-regexp): Set the value of
429 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
430 arg of isearch-forward-regexp to t.
431 (multi-isearch-files): Set the value of
432 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
433 arg of isearch-forward to t.
434 (multi-isearch-files-regexp): Set the value of
435 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
436 arg of isearch-forward-regexp to t. (Bug#16035)
437
438 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
439 arg of isearch-forward to t.
440 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
441 arg of isearch-forward-regexp to t.
442 (dired-isearch-filter-filenames): Remove unnecessary check for
443 `dired-isearch-filenames'.
444
445 * comint.el (comint-history-isearch-backward):
446 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
447 (comint-history-isearch-backward-regexp):
448 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
449
450 2013-12-10 Eli Zaretskii <eliz@gnu.org>
451
452 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
453 unmsys--file-name. (Bug#16099)
454
455 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
456
457 * emacs-lisp/package.el (package-keyword-button-action):
458 Remove finder.el require dependency.
459
460 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
461
462 * emacs-lisp/package.el: Require finder.el.
463 (describe-package-1): Add keyword buttons.
464 (package-make-button): New convenience function.
465 (package-keyword-button-action): Keyword button action using
466 `finder-list-matches'
467
468 2013-12-09 Eli Zaretskii <eliz@gnu.org>
469
470 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
471 last commit.
472
473 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
474
475 * autorevert.el (auto-revert-notify-add-watch): Do not handle
476 symlinked files.
477
478 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
479
480 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
481 after the end of a percent literal.
482
483 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
484
485 * progmodes/ruby-mode.el (ruby-forward-string): Document.
486 Handle caret-delimited strings (Bug#16079).
487
488 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
489
490 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
491 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
492 `ruby-parse-partial' (Bug#16078).
493
494 2013-12-09 Leo Liu <sdl.web@gmail.com>
495
496 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
497
498 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
499
500 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
501 (js-switch-indent-offset): New option.
502 (js--proper-indentation): Use it. And handle the case when
503 "default" is actually a key in an object literal.
504 (js--same-line): New function.
505 (js--multi-line-declaration-indentation): Use it.
506 (js--indent-in-array-comp, js--array-comp-indentation):
507 New functions.
508 (js--proper-indentation): Use them, to handle array comprehension
509 continuations.
510
511 2013-12-08 Leo Liu <sdl.web@gmail.com>
512
513 * progmodes/flymake.el (flymake-highlight-line): Re-write.
514 (flymake-make-overlay): Remove arg MOUSE-FACE.
515 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
516
517 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
518
519 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
520 New function.
521 (redisplay-highlight-region-function): Use it.
522
523 * emulation/cua-base.el (cua--explicit-region-start)
524 (cua--last-region-shifted): Remove.
525 (cua--deactivate): Use deactivate-mark.
526 (cua--pre-command-handler-1): Don't handle shift-selection.
527 (cua--post-command-handler-1): Don't change transient-mark-mode.
528 (cua--select-keymaps): Use region-active-p rather than
529 cua--explicit-region-start or cua--last-region-shifted.
530 (cua-mode): Enable shift-select-mode.
531
532 2013-12-08 Leo Liu <sdl.web@gmail.com>
533
534 * progmodes/flymake.el (flymake-popup-current-error-menu):
535 Rename from flymake-display-err-menu-for-current-line. Reimplement.
536 (flymake-posn-at-point-as-event, flymake-popup-menu)
537 (flymake-make-emacs-menu): Remove. (Bug#16077)
538
539 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
540
541 * rect.el (rectangle-mark-mode): Activate mark even if
542 transient-mark-mode is off (bug#16066).
543 (rectangle--highlight-for-redisplay): Fix boundary condition when point
544 is > mark and at bolp.
545
546 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
547 (region-extract-function): Use it.
548 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
549 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
550 Delete functions.
551 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
552 kill-ring-save, kill-region, delete-char, delete-forward-char.
553 Ignore self-insert-iso.
554
555 * emulation/cua-gmrk.el (cua--init-global-mark):
556 Ignore `self-insert-iso'.
557
558 * emulation/cua-base.el (cua--prefix-copy-handler)
559 (cua--prefix-cut-handler): Rely on region-extract-function rather than
560 checking cua--rectangle.
561 (cua-delete-region): Use region-extract-function.
562 (cua-replace-region): Delete function.
563 (cua-copy-region, cua-cut-region): Obey region-extract-function.
564 (cua--pre-command-handler-1): Don't do the delete-selection thing.
565 (cua--self-insert-char-p): Ignore `self-insert-iso'.
566 (cua--init-keymaps): Don't remap delete-selection commands.
567 (cua-mode): Use delete-selection-mode instead of rolling our own
568 (bug#16085).
569
570 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
571 Obey region-extract-function.
572
573 Make registers and delete-selection-mode work on rectangles.
574 * register.el (describe-register-1): Don't modify the register's value.
575 (copy-to-register): Obey region-extract-function.
576 * delsel.el (delete-active-region): Obey region-extract-function.
577
578 2013-12-08 Leo Liu <sdl.web@gmail.com>
579
580 * progmodes/flymake.el (flymake, flymake-error-bitmap)
581 (flymake-warning-bitmap, flymake-fringe-indicator-position)
582 (flymake-compilation-prevents-syntax-check)
583 (flymake-start-syntax-check-on-newline)
584 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
585 (flymake-start-syntax-check-on-find-file, flymake-log-level)
586 (flymake-xml-program, flymake-master-file-dirs)
587 (flymake-master-file-count-limit)
588 (flymake-allowed-file-name-masks): Relocate.
589 (flymake-makehash, flymake-float-time)
590 (flymake-replace-regexp-in-string, flymake-split-string)
591 (flymake-get-temp-dir): Remove.
592 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
593 (flymake-current-row, flymake-selected-frame)
594 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
595 related functions. (Bug#16077)
596
597 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
598
599 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
600
601 2013-12-07 Tassilo Horn <tsdh@gnu.org>
602
603 * help-fns.el (describe-function-1): Use new advice-* functions
604 rather than old ad-* functions. Fix function type description and
605 source links for advised functions and subrs.
606
607 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
608
609 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
610
611 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
612
613 * progmodes/compile.el (compilation-start):
614 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
615
616 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
617 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
618
619 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
620
621 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
622 Touch up the last change.
623
624 2013-12-06 Leo Liu <sdl.web@gmail.com>
625
626 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
627 (inferior-octave-startup): Always use "octave> " for prompt.
628 (octave-goto-function-definition)
629 (octave-sync-function-file-names)
630 (octave-find-definition-default-filename): Remove redundant backquotes.
631
632 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
633
634 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
635 syntax for `?'.
636 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
637 where appropriate already.
638 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
639 end of method names (Bug#15874).
640
641 2013-12-06 Juri Linkov <juri@jurta.org>
642
643 * isearch.el (isearch--saved-overriding-local-map):
644 New internal variable.
645 (isearch-mode): Set it to the initial value of
646 `overriding-terminal-local-map'.
647 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
648 with `isearch--saved-overriding-local-map'. (Bug#16035)
649
650 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
651
652 * progmodes/octave.el (inferior-octave-completion-table):
653 Turn back into function, use `completion-table-with-cache'
654 (Bug#11906). Update all references.
655
656 * minibuffer.el (completion-table-with-cache): New function.
657
658 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
659
660 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
661
662 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
663
664 * net/eww.el (eww-current-source): New variable to store page
665 source.
666 (eww-display-html, eww-mode, eww-save-history)
667 (eww-restore-history): Use it.
668 (eww-view-source): New command to view page source.
669 Opportunistically uses `html-mode' to highlight the buffer.
670 (eww-mode-map): Install it.
671
672 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
673
674 * net/dbus.el (dbus-unregister-service)
675 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
676 Fix docstring.
677 (dbus-unregister-service): Skip :serial entries in
678 `dbus-registered-objects-table'.
679 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
680
681 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
682
683 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
684 around keywords with extra `split-string' argument.
685
686 2013-12-04 Martin Rudalics <rudalics@gmx.at>
687
688 * windmove.el (windmove-other-window-loc): Handle navigation
689 between windows (excluding the minibuffer window - Bug#16017).
690
691 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
692
693 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
694 in D-Bus type syntax.
695 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
696 preserve unibyte strings. (Bug#16048)
697
698 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
699
700 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
701 Call force-mode-line-update is the proper buffer (bug#16042).
702
703 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
704
705 * vc/log-edit.el (log-edit-add-new-comment): Rename to
706 `log-edit-remember-comment', make argument optional. Adjust all
707 callers.
708 (log-edit-mode): Add `log-edit-remember-comment' to
709 `kill-buffer-hook' locally.
710 (log-edit-kill-buffer): Don't remember comment explicitly since
711 the buffer is killed anyway.
712
713 2013-12-04 Juri Linkov <juri@jurta.org>
714
715 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
716 add-hook and remove-hook for multi-buffer search. (Bug#16035)
717
718 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
719
720 * notifications.el (notifications-close-notification): Call the
721 D-Bus method with ID being a `:uint32'. (Bug#16030)
722
723 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
724
725 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
726
727 2013-12-03 Juri Linkov <juri@jurta.org>
728
729 * progmodes/compile.el (compilation-start): Rename window alist
730 entry `no-display-ok' to `allow-no-window'.
731
732 * simple.el (shell-command): Add window alist entry
733 `allow-no-window' to `display-buffer'.
734 (async-shell-command): Doc fix.
735
736 * window.el (display-buffer-no-window): New action function.
737 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
738
739 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
740
741 * vc/log-edit.el (log-edit-set-header): Extract from
742 `log-edit-toggle-header'.
743 (log-edit-extract-headers): Separate the summary, when extracted
744 from header, from the rest of the message with an empty line.
745
746 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
747 line, if present, to the Summary header.
748
749 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
750
751 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
752 in current-buffer (bug#16029).
753
754 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
755
756 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
757 (debugger-mode-map): Bind it.
758 (debugger--backtrace-base): New function.
759 (debugger-eval-expression): Use it.
760 (debugger-frame-number): Skip local vars when present.
761 (debugger--locals-visible-p, debugger--insert-locals)
762 (debugger--show-locals, debugger--hide-locals): New functions.
763
764 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
765
766 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
767 "LC_ALL".
768 (tramp-get-remote-locale): New defun.
769 (tramp-open-connection-setup-interactive-shell): Use it.
770
771 2013-12-02 Leo Liu <sdl.web@gmail.com>
772
773 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
774
775 * progmodes/sh-script.el (sh-shell-process):
776 * progmodes/octave.el (inferior-octave-process-live-p):
777 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
778 (gdb-inferior-io-sentinel):
779 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
780
781 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
782
783 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
784 `save-selected-window' to `log-edit-hide-buf'. This makes
785 `log-edit-show-files' idempotent.
786 (log-edit-show-files): Mark the new window as dedicated.
787
788 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
789
790 * vc/log-edit.el (log-edit-mode-map): Add binding for
791 `log-edit-kill-biffer'.
792 (log-edit-hide-buf): Add a FIXME comment.
793 (log-edit-add-new-comment): New function, extracted from
794 `log-edit-done'.
795 (log-edit-done, log-edit-add-to-changelog): Use it.
796 (log-edit-kill-buffer): New command.
797
798 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
799
800 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
801 instead of killing the buffer.
802
803 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
804
805 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
806
807 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
808
809 * net/eww.el (eww-form-checkbox-selected-symbol)
810 (eww-form-checkbox-symbol): New customizable variable.
811 (eww-form-checkbox, eww-toggle-checkbox):
812 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
813
814 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
815 (shr--get-media-pref, shr--extract-best-source): New function.
816 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
817 no :src tag was specified.
818
819 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
820 (eww-render): Handle `eww-use-external-browser-for-content-type'.
821 Use \\` to match beginning of string instead of ^.
822 (eww-browse-with-external-browser): Provide optional URL parameter.
823 (eww-render): Set `eww-current-title' back to "".
824
825 * net/shr.el (shr-tag-video): Display content for video if no
826 poster is available.
827 (shr-tag-audio): Add support for <audio> tag.
828
829 * net/eww.el (eww-text-input-types): : New const.
830 (eww-process-text-input): Treat input types in
831 `eww-text-input-types' as text.
832
833 * net/shr.el (shr-tag-table): Fix comment typo.
834
835 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
836
837 * net/eww.el (eww-follow-link): New command to avoid reloading
838 pages when we follow #target links (bug#15243).
839 (eww-quit): Special mode buffers shouldn't query before exiting.
840
841 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
842
843 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
844 forms.
845
846 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
847
848 * net/eww.el (eww-restore-history): Update the window title after
849 moving in the history.
850 (eww-current-dom): New variable used to save the current DOM.
851
852 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
853
854 * vc/log-edit.el (log-edit-mode-map): Add binding for
855 `log-edit-beginning-of-line'.
856 (log-edit-setup-add-author): New user option.
857 (log-edit-beginning-of-line): New command.
858 (log-edit): Move major mode call above the contents setup so that
859 the local variable values are already applied.
860 (log-edit): Only insert "Author: " when
861 `log-edit-setup-add-author' is non-nil.
862 (log-edit): When SETUP is non-nil, position point after ": "
863 instead of point-min.
864
865 2013-12-01 Glenn Morris <rgm@gnu.org>
866
867 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
868
869 2013-11-30 Eli Zaretskii <eliz@gnu.org>
870
871 * startup.el (fancy-splash-frame): On MS-Windows, trigger
872 redisplay to make sure the initial frame gets a chance to become
873 visible. (Bug#16014)
874
875 2013-11-30 Martin Rudalics <rudalics@gmx.at>
876
877 Support resizing frames and windows pixelwise.
878 * cus-start.el (frame-resize-pixelwise)
879 (window-resize-pixelwise): New entries.
880 * emacs-lisp/debug.el (debug): Use window-total-height instead
881 of window-total-size.
882 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
883 * help.el (describe-bindings-internal): Call help-buffer
884 (temp-buffer-max-width): New option.
885 (resize-temp-buffer-window, help-window-setup)
886 (with-help-window): Rewrite.
887 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
888 dragging dividers.
889 * window.el (frame-char-size, window-min-pixel-height)
890 (window-safe-min-pixel-height, window-safe-min-pixel-width)
891 (window-min-pixel-width, window-safe-min-pixel-size)
892 (window-combination-p, window-safe-min-size)
893 (window-resizable-p, window--size-to-pixel)
894 (window--pixel-to-size, window--resize-apply-p): New functions.
895 (window-safe-min-height): Fix doc-string.
896 (window-size, window-min-size, window--min-size-1)
897 (window-sizable, window-sizable-p, window--min-delta-1)
898 (window-min-delta, window--max-delta-1, window-max-delta)
899 (window--resizable, window--resizable-p, window-resizable)
900 (window-full-height-p, window-full-width-p, window-at-side-p)
901 (window--in-direction-2, window-in-direction)
902 (window--resize-reset-1, window--resize-mini-window)
903 (window-resize, window-resize-no-error)
904 (window--resize-child-windows-normal)
905 (window--resize-child-windows, window--resize-siblings)
906 (window--resize-this-window, window--resize-root-window)
907 (window--resize-root-window-vertically)
908 (adjust-window-trailing-edge, enlarge-window, shrink-window)
909 (maximize-window, minimize-window, delete-window)
910 (quit-restore-window, window-split-min-size, split-window)
911 (balance-windows-2, balance-windows)
912 (balance-windows-area-adjust, balance-windows-area)
913 (window--state-get-1, window-state-get, window--state-put-1)
914 (window--state-put-2, window-state-put)
915 (display-buffer-record-window, window--display-buffer):
916 Make functions handle pixelwise sizing of windows.
917 (display-buffer--action-function-custom-type)
918 (display-buffer-fallback-action):
919 Add display-buffer-in-previous-window.
920 (display-buffer-use-some-window): Resize window to height it had
921 before.
922 (fit-window-to-buffer-horizontally): New option.
923 (fit-frame-to-buffer): Describe new values.
924 (fit-frame-to-buffer-bottom-margin): Replace with
925 fit-frame-to-buffer-margins.
926 (window--sanitize-margin): New function.
927 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
928 using window-text-pixel-size.
929
930 2013-11-30 Glenn Morris <rgm@gnu.org>
931
932 * emacs-lisp/bytecomp.el (byte-compile-form):
933 Make the `interactive-only' warning like the `obsolete' one.
934 * comint.el (comint-run):
935 * files.el (insert-file-literally, insert-file):
936 * replace.el (replace-string, replace-regexp):
937 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
938 (goto-line, insert-buffer, next-line, previous-line):
939 Tweak `interactive-only' spec.
940
941 Stop keeping (most) generated cedet grammar files in the repository.
942 * Makefile.in (semantic): New.
943 (compile-main): Depend on semantic.
944
945 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
946
947 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
948 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
949
950 * uniquify.el (uniquify-buffer-name-style): Change default.
951
952 * loadup.el: Preload "uniquify".
953
954 * time.el (display-time-update): Update all mode lines (bug#15999).
955
956 * electric.el (electric-indent-mode): Enable by default.
957 * loadup.el: Preload "electric".
958
959 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
960
961 * emacs-lisp/helpers.el (string-empty-p): New function.
962 (string-blank-p): New function.
963
964 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
965
966 * imenu.el (imenu--index-alist): Add missing dot to the docstring
967 (Bug#14029).
968
969 2013-11-29 Andreas Politz <politza@fh-trier.de>
970 * imenu.el (imenu--subalist-p): Don't error on non-conses and
971 allow non-lambda lists as functions.
972 (imenu--in-alist): Don't recurse into non-subalists.
973 (imenu): Don't pass function itself as an argument (Bug#14029).
974
975 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
976
977 * progmodes/python.el (python-mode-map): Remove binding for ":".
978 (python-indent-electric-colon): Remove command.
979 (python-indent-post-self-insert-function): Integrate the previous code
980 of python-indent-electric-colon. Make it conditional on
981 electric-indent-mode.
982 (python-mode): Add ?: to electric-indent-chars.
983 Move python-indent-post-self-insert-function to the end of
984 post-self-insert-hook.
985
986 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
987
988 * doc-view.el (doc-view-goto-page): Update mode-line.
989
990 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
991
992 2013-11-27 Glenn Morris <rgm@gnu.org>
993
994 * international/charprop.el, international/uni-bidi.el:
995 * international/uni-category.el, international/uni-combining.el:
996 * international/uni-comment.el, international/uni-decimal.el:
997 * international/uni-decomposition.el, international/uni-digit.el:
998 * international/uni-lowercase.el, international/uni-mirrored.el:
999 * international/uni-name.el, international/uni-numeric.el:
1000 * international/uni-old-name.el, international/uni-titlecase.el:
1001 * international/uni-uppercase.el:
1002 Remove generated files from VCS repository.
1003
1004 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1005
1006 * filenotify.el (file-notify-add-watch): Don't special-case
1007 w32notify when computing the directory to watch.
1008
1009 2013-11-27 Glenn Morris <rgm@gnu.org>
1010
1011 Make bootstrap without generated uni-*.el files possible again.
1012 * loadup.el: Update command-line-args checking for unidata-gen.
1013 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1014 * composite.el, international/characters.el:
1015 Handle unicode tables being undefined.
1016
1017 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1018 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1019 (compile-main): Depend on leim rule.
1020 (leim): New rule.
1021 * loadup.el: Move leim-list.el to leim/ subdirectory.
1022 * startup.el (normal-top-level): No more leim directory.
1023 * international/ja-dic-cnv.el (skkdic-convert):
1024 Disable version-control and autoloads in output files.
1025 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1026 Disable version-control and autoloads in output files.
1027 * leim/quail: Move here from ../leim.
1028 * leim/quail/hangul.el (hangul-input-method-activate):
1029 Add autoload cookie.
1030 (generated-autoload-load-name): Set file-local value.
1031 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1032 (generated-autoload-load-name): Set file-local value.
1033
1034 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1035
1036 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1037 (eww-add-bookmark): ask confirmation when add to bookmarks
1038 (eww-quit): ask confirmation before quitting eww
1039
1040 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1041
1042 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1043 reading output from Diff on MS-Windows and MS-DOS.
1044
1045 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1046
1047 * emacs-lisp/helpers.el (string-reverse): New function.
1048
1049 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1050
1051 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1052 names on MS Windows, like "/[::1]:".
1053
1054 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1055 SWITCHES.
1056
1057 2013-11-26 Glenn Morris <rgm@gnu.org>
1058
1059 * progmodes/python.el (python-indent-guess-indent-offset):
1060 Avoid corner-case error. (Bug#15975)
1061
1062 Preload leim-list.el. (Bug#4789)
1063 * loadup.el: Load leim-list.el when found.
1064 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1065
1066 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1067
1068 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1069
1070 * emacs-lisp/helpers.el (string-join): New function.
1071
1072 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1073
1074 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1075 Mark as obsolete and replace it with a symbol property.
1076 (byte-compile-form): Use new 'interactive-only property.
1077 * comint.el, files.el, replace.el, simple.el:
1078 Apply new 'interactive-only properly.
1079
1080 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1081
1082 * window.el (display-buffer-at-bottom): Make sure that
1083 split-window-sensibly creates the new window on bottom
1084 (Bug#15961).
1085
1086 2013-11-23 David Kastrup <dak@gnu.org>
1087
1088 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1089 on the conflict markers when available.
1090 (smerge--get-marker): New function.
1091 (smerge-end-re, smerge-base-re): Add subgroup.
1092
1093 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1094
1095 * frame.el (handle-focus-in, handle-focus-out): Add missing
1096 interactive spec.
1097
1098 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1099
1100 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1101 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1102
1103 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1104
1105 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1106 (gomoku--last-pos): New var.
1107 (gomoku--intangible-chars): New const.
1108 (gomoku--intangible): New function.
1109 (gomoku-mode): Use it. Derive from special-mode.
1110 (gomoku-move-up): Adjust line count.
1111 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1112 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1113 Simplify accordingly.
1114
1115 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1116 Remove blink-cursor code.
1117 (blink-cursor-timer-function, blink-cursor-suspend):
1118 Don't special-case GUIs.
1119 (blink-cursor-mode): Use focus-in/out-hook.
1120
1121 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1122
1123 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1124 work when annotation is invisible (Bug#13886).
1125
1126 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1127
1128 * json.el (json-alist-p): Only return non-nil if the alist has
1129 simple keys (Bug#13518).
1130
1131 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1132
1133 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1134 when control-statement is the first statement in a buffer (Bug#15956).
1135
1136 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1137
1138 * imenu.el (imenu-generic-skip-comments-and-strings):
1139 New option (Bug#15560).
1140 (imenu--generic-function): Use it.
1141
1142 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1143
1144 * minibuffer.el (completion--in-region-1): Scroll the correct
1145 window. (Bug#13898)
1146
1147 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1148
1149 * emacs-lisp/helpers.el: Add some string helpers.
1150 (string-trim-left): Removes leading whitespace.
1151 (string-trim-right): Removes trailing whitespace.
1152 (string-trim): Removes leading and trailing whitespace.
1153
1154 * subr.el (string-suffix-p): New function.
1155
1156 2013-11-23 Glenn Morris <rgm@gnu.org>
1157
1158 * progmodes/python.el (python-shell-send-file):
1159 Add option to delete file when done. (Bug#15647)
1160 (python-shell-send-string, python-shell-send-region): Use it.
1161
1162 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1163
1164 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1165 to set buffer-read-only to t, never to nil. (Bug#15938)
1166
1167 * textmodes/tex-mode.el (latex-noindent-environments):
1168 Add safe-local-variable property. (Bug#15936)
1169
1170 2013-11-23 Glenn Morris <rgm@gnu.org>
1171
1172 * textmodes/enriched.el (enriched-mode): Doc fix.
1173 * emacs-lisp/authors.el (authors-renamed-files-alist):
1174 Add enriched.doc -> enriched.txt.
1175
1176 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1177
1178 2013-11-22 Leo Liu <sdl.web@gmail.com>
1179
1180 * progmodes/octave.el (inferior-octave-startup): Spit out error
1181 message.
1182
1183 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1184
1185 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1186 Improve docstring.
1187 Add :version.
1188 (ruby-encoding-magic-comment-style): Add :version.
1189
1190 2013-11-22 Leo Liu <sdl.web@gmail.com>
1191
1192 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1193 (Bug#15076)
1194 (octave-help-mode): Adapt to change to help-mode-finish to use
1195 derived-mode-p on 2013-09-17.
1196 (inferior-octave-prompt): Also match octave-gui.
1197 (octave-kill-process): Don't ask twice. (Bug#10564)
1198
1199 2013-11-22 Leo Liu <sdl.web@gmail.com>
1200
1201 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1202 (inferior-octave-startup, inferior-octave-check-process)
1203 (inferior-octave-track-window-width-change)
1204 (octave-completion-at-point, octave-eldoc-function): Use it.
1205 (octave-kill-process): Provide confirmation. (Bug#10564)
1206
1207 2013-11-21 Leo Liu <sdl.web@gmail.com>
1208
1209 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1210 Fix obsolete variable comment-use-global-state.
1211
1212 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1213
1214 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1215 Add `octave-source-file'.
1216 (octave-source-file): New function. (Bug#15935)
1217
1218 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1219
1220 * net/eww.el (eww-local-regex): New variable.
1221 (eww): Use it to detect localhost and similar.
1222
1223 2013-11-21 Leo Liu <sdl.web@gmail.com>
1224
1225 Add completion for command `ag'.
1226 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1227 (pcomplete/ag): New function.
1228 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1229
1230 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1231
1232 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1233 (bug#14646).
1234 (make-obsolete): Remove interactive spec.
1235
1236 2013-11-21 Glenn Morris <rgm@gnu.org>
1237
1238 * startup.el (command-line-1): Use path-separator with -L.
1239
1240 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1241
1242 * emacs-lisp/package.el (describe-package-1): Add package archive
1243 to shown fields.
1244
1245 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1246
1247 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1248 Change default to "# encoding: %s" to differentiate it from the
1249 default Ruby encoding comment template.
1250
1251 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1252
1253 * ses.el (ses-mode): Doc fix. (Bug#14748)
1254
1255 2013-11-20 Leo Liu <sdl.web@gmail.com>
1256
1257 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1258
1259 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1260
1261 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1262 when rebase or bisect are in progress.
1263
1264 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1265
1266 * filenotify.el (file-notify-add-watch): Doc fix.
1267
1268 2013-11-19 Leo Liu <sdl.web@gmail.com>
1269
1270 * obsolete/rcompile.el: Mark obsolete.
1271
1272 * progmodes/compile.el (compilation-start)
1273 (compilation-goto-locus, compilation-find-file):
1274 Pass no-display-ok and handle nil value from display-buffer.
1275 (Bug#13594)
1276
1277 * window.el (display-buffer-alist, display-buffer): Document the
1278 new parameter no-display-ok. Return either a window or nil
1279 but never a non-window value.
1280
1281 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1282
1283 * electric.el (electric-indent-mode-map): Remove.
1284 (electric-indent-mode): Change the global-map instead (bug#15915).
1285
1286 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1287 Use add-function.
1288
1289 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1290
1291 * emacs-lisp/nadvice.el (remove-function): Align with
1292 add-function's behavior.
1293
1294 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1295 (gdb--string-regexp): New constant.
1296 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1297 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1298 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1299 submatch 1.
1300 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1301 Adjust use accordingly.
1302 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1303
1304 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1305
1306 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1307 interpolation curlies (Bug#15914).
1308
1309 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1310
1311 * calc/calc.el (calc-context-sensitive-enter): New variable.
1312 (calc-enter): Use `calc-context-sensitive-enter'.
1313
1314 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1315
1316 * progmodes/cfengine.el: Version bump.
1317 (cfengine-cf-promises): New defcustom to locate cf-promises.
1318 (cfengine3-vartypes): Add new "data" type.
1319 (cfengine3--current-word): New function to get current name-like
1320 word or its bounds.
1321 (cfengine3--current-function): New function to look up a CFEngine
1322 function's definition.
1323 (cfengine3-format-function-docstring): New function.
1324 (cfengine3-make-syntax-cache): New function.
1325 (cfengine3-documentation-function): New function: ElDoc glue.
1326 (cfengine3-completion-function): New function: completion glue.
1327 (cfengine3-mode): Set `compile-command',
1328 `eldoc-documentation-function', and add to
1329 `completion-at-point-functions'.
1330
1331 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1332
1333 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1334 `tramp-current-connection'.
1335
1336 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1337
1338 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1339 nil/self/true/false with "end of symbol".
1340
1341 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1342
1343 * subr.el (version-regexp-alist): Fix a typo.
1344
1345 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1346
1347 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1348 "en_US.utf8" and "LC_CTYPE" to "".
1349 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1350 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1351
1352 2013-11-15 Leo Liu <sdl.web@gmail.com>
1353
1354 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1355
1356 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1357
1358 * progmodes/gud.el (ctl-x-map):
1359 Remove C-x SPC binding. (Bug#12342)
1360 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1361
1362 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1363
1364 * subr.el (version-regexp-alist):
1365 Recognize hg, svn and darcs versions as snapshot versions.
1366
1367 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1368 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1369 (ruby--encoding-comment-required-p): Extract from
1370 `ruby-mode-set-encoding'.
1371 (ruby-mode-set-encoding): Add the ability to always insert an
1372 utf-8 encoding comment. Fix and simplify coding comment update
1373 logic.
1374
1375 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1376
1377 * net/tramp-gvfs.el (top): Run init code only when
1378 `tramp-gvfs-enabled' is not nil.
1379 (tramp-gvfs-enabled): Check also :system bus.
1380
1381 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1382
1383 Sync with upstream verilog-mode revision 78e66ba.
1384 * progmodes/verilog-mode.el (verilog-end-of-defun)
1385 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1386 (verilog-get-end-of-defun): Remove unused argument.
1387 (verilog-comment-depth): Remove unused local `e'.
1388 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1389 Don't pass arg to verilog-get-end-of-defun.
1390
1391 2013-11-14 Glenn Morris <rgm@gnu.org>
1392
1393 * obsolete/assoc.el (aget): Prefix dynamic variable.
1394
1395 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1396
1397 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1398
1399 * widget.el, hfy-cmap.el: Remove bogus package version number.
1400
1401 2013-11-13 Glenn Morris <rgm@gnu.org>
1402
1403 * replace.el (replace-eval-replacement):
1404 Try to give more helpful error message. (Bug#15836)
1405
1406 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1407 (archive-7z-update): Avoid custom type mismatches.
1408
1409 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1410
1411 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1412
1413 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1414 address can be empty.
1415
1416 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1417 Accept nil SWITCHES.
1418 (tramp-gvfs-handle-write-region): Implement APPEND.
1419
1420 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1421
1422 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1423 binary "|" operator and closing block args delimiter.
1424 Remove FIXME comment referring to Ruby 1.8-only syntax.
1425 (ruby-smie--implicit-semi-p): Not after "|" operator.
1426 (ruby-smie--closing-pipe-p): New function.
1427 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1428 (ruby-smie-rules): Indent after "|".
1429
1430 2013-11-12 Glenn Morris <rgm@gnu.org>
1431
1432 * ps-print.el (ps-face-attribute-list):
1433 Handle anonymous faces. (Bug#15827)
1434
1435 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1436
1437 * window.el (display-buffer-other-frame): Fix doc-string.
1438 (Bug#15868)
1439
1440 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1441
1442 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1443
1444 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1445
1446 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1447 (tramp-sh-handle-file-local-copy): Don't write a message when
1448 saving temporary files.
1449
1450 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1451 both directories are remote.
1452 (tramp-smb-handle-directory-files): Do not return double entries.
1453 Do not expand full file names.
1454 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1455 (tramp-smb-handle-write-region): Implement APPEND.
1456 (tramp-smb-get-stat-capability): Fix a stupid bug.
1457
1458 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1459
1460 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1461
1462 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1463
1464 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1465 throwing error over malformed let/let* (bug#15814).
1466
1467 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1468
1469 * iswitchb.el (iswitchb-mode): Mark obsolete.
1470
1471 2013-11-11 Glenn Morris <rgm@gnu.org>
1472
1473 * international/uni-bidi.el, international/uni-category.el:
1474 * international/uni-name.el, international/uni-numeric.el:
1475 Regenerate for Unicode 6.3.0.
1476
1477 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1478
1479 * net/tramp.el (tramp-methods):
1480 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1481 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1482
1483 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1484
1485 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1486 Force highlighting text after Summary keyword in doc face for rpm.
1487
1488 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1489
1490 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1491 available and the word has no wildcards, append one to the grep pattern.
1492 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1493 (ispell-complete-word): Call `ispell-lookup-words' with the value
1494 independent of `ispell-look-p'.
1495
1496 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1497
1498 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1499 Not after "||".
1500 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1501 their parent.
1502
1503 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1504
1505 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1506 (ruby-font-lock-keywords): Use backquote.
1507
1508 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1509
1510 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1511 (ruby-smie--backward-token): Only consider full-string matches.
1512
1513 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1514
1515 * faces.el (describe-face): Add distant-foreground.
1516
1517 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1518
1519 * progmodes/ruby-mode.el: Improve encoding comment handling.
1520 (ruby-encoding-magic-comment-style): New option.
1521 (ruby-custom-encoding-magic-comment-template): New option.
1522 (ruby--insert-coding-comment, ruby--detect-encoding):
1523 New functions extracted from `ruby-mode-set-encoding'.
1524 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1525 to control the style of the auto-inserted encoding comment.
1526
1527 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1528
1529 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1530 Use `smie-backward-sexp' with token argument.
1531
1532 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1533
1534 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1535 Remove instrumentation code.
1536
1537 2013-11-08 Glenn Morris <rgm@gnu.org>
1538
1539 * progmodes/autoconf.el (autoconf-mode):
1540 Tweak comment-start-skip. (Bug#15822)
1541
1542 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1543
1544 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1545 at bobp (bug#15826).
1546 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1547
1548 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1549
1550 * man.el (Man-start-calling): New macro, extracted from
1551 Man-getpage-in-background.
1552 (Man-getpage-in-background): Use it.
1553 (Man-update-manpage): New command.
1554 (Man-mode-map): Bind it.
1555
1556 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1557
1558 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1559 of "and", "or", "&&" and "||".
1560 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1561 argument. Prohibit opening curly brace because it could only be a
1562 block opener in that position.
1563 (ruby-smie--forward-token, ruby-smie--backward-token):
1564 Separate "|" from "&" or "*" going after it. That can happen in block
1565 arguments.
1566 (ruby-smie--indent-to-stmt): New function, seeks the end of
1567 previous statement or beginning of buffer.
1568 (ruby-smie-rules): Use it.
1569 (ruby-smie-rules): Check if there's a ":" before a curly block
1570 opener candidate; if there is, it's a hash.
1571
1572 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1573
1574 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1575 (cl--block-wrapper): Fix last accidental change.
1576
1577 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1578
1579 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1580 Instrument, in order to hunt failure on hydra.
1581
1582 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1583
1584 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1585 malformed bindings form (bug#15814).
1586
1587 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1588
1589 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1590 "." compared to " @ ". This incidentally fixes some indentation
1591 examples with "do".
1592 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1593 (ruby-smie-grammar): New tokens: "and" and "or".
1594 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1595 Exclude "and" and "or". Remove "do" in order to work around token
1596 priorities.
1597 (ruby-smie-rules): Add all infix tokens. Handle the case of
1598 beginning-of-buffer.
1599
1600 2013-11-06 Glenn Morris <rgm@gnu.org>
1601
1602 * Makefile.in (setwins_almost, setwins_for_subdirs):
1603 Avoid accidental matches.
1604
1605 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1606
1607 * menu-bar.el (popup-menu): Use key-binding.
1608
1609 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1610
1611 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1612 menus, support also the menus produced by minor modes.
1613 (Bug#15817)
1614
1615 2013-11-06 Leo Liu <sdl.web@gmail.com>
1616
1617 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1618 DISTANCE to bound the search. All uses changed. (Bug#15808)
1619
1620 2013-11-06 Glenn Morris <rgm@gnu.org>
1621
1622 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1623 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1624 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1625
1626 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1627
1628 * electric.el (electric-indent-just-newline): New command.
1629 (electric-indent-mode-map): New keymap.
1630 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1631 Re-add :group which weren't redundant.
1632
1633 * electric.el (electric-indent-local-mode): New minor mode.
1634 (electric-indent-functions-without-reindent): New var.
1635 (electric-indent-post-self-insert-function): Use it.
1636 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1637
1638 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1639
1640 * international/quail.el (quail-help): Be more explicit about the
1641 meaning of the labels shown on the keys. (Bug#15800)
1642
1643 * startup.el (normal-top-level): Load the subdirs.el files before
1644 setting the locale environment. (Bug#15805)
1645
1646 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1647
1648 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1649 via arguments so as to get the right ones (bug#15418).
1650
1651 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1652
1653 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1654
1655 Fix problems found while writing a test suite.
1656
1657 * net/tramp-compat.el (tramp-compat-load): New defun.
1658 * net/tramp.el (tramp-handle-load): Use it.
1659
1660 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1661 "(numberp ok-if-already-exists)" correctly.
1662
1663 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1664
1665 * international/characters.el (glyphless-char-display-control):
1666 Add usage note.
1667
1668 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1669
1670 * progmodes/python.el (python-mode):
1671 * progmodes/scheme.el (scheme-mode):
1672 * progmodes/prolog.el (prolog-mode):
1673 * progmodes/ruby-mode.el (ruby-mode):
1674 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1675 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1676
1677 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1678
1679 * rect.el (rectangle--highlight-for-redisplay):
1680 * emacs-lisp/smie.el (smie--next-indent-change):
1681 Use buffer-chars-modified-tick.
1682
1683 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1684
1685 * electric.el (electric-indent-post-self-insert-function):
1686 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1687
1688 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1689
1690 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1691
1692 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1693
1694 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1695 (bug#15786).
1696
1697 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1698
1699 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1700
1701 * progmodes/python.el: Fix up last change.
1702 (python-shell--save-temp-file): New function.
1703 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1704 `string' comes from the current buffer.
1705 (python-shell-send-string-no-output): Remove `msg' arg.
1706 (python--use-fake-loc): New var.
1707 (python-shell-buffer-substring): Obey it. Try to compensate for the
1708 extra coding line added by python-shell--save-temp-file.
1709 (python-shell-send-region): Use python-shell--save-temp-file and
1710 python-shell-send-file directly. Add `nomain' argument.
1711 (python-shell-send-buffer): Use python-shell-send-region.
1712 (python-electric-pair-string-delimiter): New function.
1713 (python-mode): Use it.
1714
1715 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1716
1717 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1718 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1719 environment and decoding all of the default-directory's to here
1720 from command-line.
1721 (command-line): Decode also argv[0].
1722
1723 * loadup.el: Error out if default-directory is a multibyte string
1724 when we are dumping.
1725
1726 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1727
1728 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1729
1730 * emacs-lisp/package.el (package-menu-mode)
1731 (package-menu--print-info, package-menu--archive-predicate):
1732 Add Archive column to package list.
1733
1734 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1735
1736 Fix problems found while writing a test suite.
1737
1738 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1739 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1740 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1741 to nil when running original file name handler. Otherwise,
1742 there are problems with constructs like "$$FOO".
1743
1744 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1745 for `localname'.
1746
1747 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1748
1749 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1750
1751 * subr.el (version<, version<=, version=):
1752 Update docstrings with information for snapshot versions.
1753
1754 * helpers.el: New library for misc helper functions.
1755 (hash-table-keys): New function returning a list of hash keys.
1756 (hash-table-values): New function returning a list of hash values.
1757
1758 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1759
1760 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1761 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1762
1763 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1764
1765 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1766 checking whether point is after a 1-letter word.
1767
1768 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1769
1770 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1771 Don't infloop when expanding region over `multiline' syntax-type that
1772 begins a line (bug#15778).
1773
1774 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1775
1776 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1777 Make it into a proper minor mode.
1778 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1779 (rectangle-mark-mode-map): New keymap.
1780 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1781
1782 2013-11-04 Glenn Morris <rgm@gnu.org>
1783
1784 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1785
1786 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1787
1788 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1789 (ruby-smie-rules): Use smie-rule-parent instead.
1790
1791 * emacs-lisp/smie.el (smie-rule-parent): Always call
1792 smie-indent-virtual rather than only for hanging tokens.
1793 (smie--next-indent-change): New helper command.
1794
1795 2013-11-03 Glenn Morris <rgm@gnu.org>
1796
1797 * Makefile.in (abs_srcdir): Remove.
1798 (emacs): Unset EMACSLOADPATH.
1799
1800 2013-11-02 Glenn Morris <rgm@gnu.org>
1801
1802 * Makefile.in (EMACS): Use a relative filename.
1803 (abs_top_builddir): Remove.
1804 (custom-deps, finder-data, autoloads): Use --chdir.
1805
1806 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1807
1808 Use relative filenames in TAGS files.
1809 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1810 (lisptagsfiles4, TAGS): Use relative file names.
1811 (TAGS-LISP): Remove.
1812 (maintainer-clean): No more TAGS-LISP file.
1813
1814 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1815 (lisptagsfiles4): Use absolute filenames again.
1816 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1817 Remove all *loaddefs files, not just the first. Remove esh-groups.
1818 (maintainer-clean): Delete TAGS, TAGS-LISP.
1819
1820 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1821
1822 * emacs-lisp/package.el (package-version-join):
1823 Recognize snapshot versions.
1824
1825 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1826
1827 * subr.el (version-regexp-alist): Add support for snapshot versions.
1828
1829 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1830
1831 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1832 New function, replacement for `smie-rule-parent' for when we want to
1833 skip over our direct parent if it's an assignment token..
1834 (ruby-smie-rules): Use it.
1835
1836 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1837
1838 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1839 unconditionally. Remove now unnecessary forward declarations.
1840 Remove XEmacs-specific setup.
1841 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1842 (ruby-font-lock-syntactic-keywords)
1843 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1844 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1845 (ruby-here-doc-end-syntax): Remove.
1846 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1847 defined as function.
1848
1849 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1850
1851 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1852
1853 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1854
1855 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1856 table and abbrev table, `define-derived-mode' does that for us
1857 anyway.
1858
1859 2013-11-01 Glenn Morris <rgm@gnu.org>
1860
1861 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1862 files is atomic for some time, so no parallel compilation issues).
1863
1864 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1865
1866 * faces.el (face-x-resources): Add :distant-foreground.
1867 (region): Use :distant-foreground for gtk and ns.
1868
1869 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1870
1871 Allow multiple bibliographies when BibLaTeX is used rather than
1872 BibTeX.
1873 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1874 (reftex-locate-bibliography-files): Us it.
1875
1876 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1877
1878 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1879 allow comments in pbm files.
1880
1881 * term/w32-win.el (dynamic-library-alist): Support newer versions
1882 of libjpeg starting with v7: look only for the DLL from the
1883 version against which Emacs was built.
1884 Support versions of libpng beyond 1.4.x.
1885 Support libtiff v4.x.
1886
1887 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1888
1889 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1890 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1891 Add property :safe.
1892 (ruby-deep-arglist): Add property :type.
1893
1894 2013-10-31 Glenn Morris <rgm@gnu.org>
1895
1896 * Makefile.in (custom-deps, finder-data): No need to setq the target
1897 variables, we are in the right directory and the defaults work fine.
1898
1899 2013-10-30 Glenn Morris <rgm@gnu.org>
1900
1901 * Makefile.in (autoloads): Do not use abs_lisp.
1902
1903 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1904 `newline' does not respect `standard-output', so use `princ'.
1905
1906 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1907
1908 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1909 * buff-menu.el (Buffer-menu--unmark): New function.
1910 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1911
1912 2013-10-30 Glenn Morris <rgm@gnu.org>
1913
1914 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1915
1916 * emacs-lisp/package.el (lm-homepage): Declare.
1917
1918 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1919 Fix doc typos.
1920
1921 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1922
1923 * Makefile.in (finder-data, autoloads, update-subdirs)
1924 (compile-main, compile-clean, compile-always, bootstrap-clean):
1925 Check return value of cd.
1926 (compile-calc): Remove.
1927
1928 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1929
1930 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1931
1932 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1933 (byte-compile-and-folded): New function.
1934 (=, <, >, <=, >=): Use it.
1935
1936 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1937 (path-separator, null-device, buffer-file-coding-system)
1938 (lpr-headers-switches): Check system-type before modifying them.
1939 (find-buffer-file-type-coding-system): Mark obsolete.
1940 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1941 find-file-not-found-set-buffer-file-coding-system.
1942 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1943 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1944 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1945 (w32-direct-print-region-helper, w32-direct-print-region-function)
1946 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1947 * startup.el (normal-top-level-add-subdirs-to-load-path):
1948 * ps-print.el (ps-print-region-function):
1949 * lpr.el (print-region-function): Use new name.
1950
1951 * subr.el (custom-declare-variable-early): Remove function.
1952 (custom-declare-variable-list): Remove var.
1953 (error, user-error): Remove `while' loop.
1954 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1955 (user-emacs-directory-warning, locate-user-emacs-file):
1956 Move to files.el.
1957 * simple.el (read-quoted-char-radix, read-quoted-char):
1958 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1959 Move from subr.el.
1960 * custom.el (custom-declare-variable-list): Don't process
1961 custom-declare-variable-list.
1962
1963 * progmodes/python.el (python-shell-get-buffer): New function.
1964 (python-shell-get-process): Use it.
1965 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1966 Python which encoding was used. Don't split-string since we only care
1967 about the first line. Return the temp-file, if applicable.
1968 (python-shell-send-region): Tell compile.el how to turn locations in
1969 the temp-file into locations in the source buffer.
1970
1971 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1972
1973 * subr.el (undefined): Add missing behavior from the C code for
1974 unbound keys.
1975
1976 * rect.el: Use lexical-binding. Add new rectangular region support.
1977 (rectangle-mark): New command.
1978 (rectangle--region): New var.
1979 (deactivate-mark-hook): Reset rectangle--region.
1980 (rectangle--extract-region, rectangle--insert-for-yank)
1981 (rectangle--highlight-for-redisplay)
1982 (rectangle--unhighlight-for-redisplay): New functions.
1983 (region-extract-function, redisplay-unhighlight-region-function)
1984 (redisplay-highlight-region-function): Use them to handle
1985 rectangular region.
1986 * simple.el (region-extract-function): New var.
1987 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1988 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1989 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1990 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1991 (redisplay-unhighlight-region-function)
1992 (redisplay-highlight-region-function): New vars.
1993 (redisplay--update-region-highlight): New function.
1994 (pre-redisplay-function): Use it.
1995 (exchange-point-and-mark): Don't deactivate the mark before
1996 reactivate-it anyway.
1997 * comint.el (comint-kill-region): Remove yank-handler argument.
1998 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1999 (delete-char): Remove property, since it's now part of their
2000 default behavior.
2001 (self-insert-iso): Remove property since this command doesn't exist.
2002
2003 * emacs-lisp/package.el (package--download-one-archive)
2004 (describe-package-1): Don't query the user about final newline.
2005
2006 2013-10-29 Daniel Colascione <dancol@dancol.org>
2007
2008 * net/tramp.el (tramp-methods): Document new functionality.
2009 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2010 tramp-hostname-checker if method provides one instead of scanning
2011 argument list for "%h" to decide hostname acceptability.
2012
2013 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2014
2015 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2016 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2017 Handle COPY-CONTENTS. (Bug#15737)
2018
2019 2013-10-28 Daiki Ueno <ueno@gnu.org>
2020
2021 * epa-file.el
2022 (epa-file-cache-passphrase-for-symmetric-encryption):
2023 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2024
2025 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2026
2027 * image.el (defimage):
2028 (image-load-path): Doc fixes.
2029
2030 2013-10-27 Alan Mackenzie <acm@muc.de>
2031
2032 Indent statements in macros following "##" correctly.
2033 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2034 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2035
2036 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2037
2038 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2039
2040 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2041
2042 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2043 after `=' is probably a new expression.
2044
2045 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2046
2047 * man.el (man-imenu-title): New option.
2048 (Man-mode-map): Add menu. (Bug#15722)
2049 (Man-mode): Add imenu to menu.
2050
2051 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2052
2053 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2054 specific in what the first arg can be: a non-keyword word,
2055 string/regexp/percent literal opener, opening paren, or unary
2056 operator followed directly by word.
2057
2058 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2059
2060 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2061 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2062 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2063 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2064 Remove vars, they do not apply any more.
2065 (prolog-mode-abbrev-table): Remove redundant declaration.
2066 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2067 (prolog-use-smie): Remove.
2068 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2069 supported by prolog-electric-if-then-else-flag.
2070 (prolog-mode-variables, prolog-menu): Use setq-local.
2071 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2072 Remove binding to `Backspace' since this key doesn't exist anyway.
2073 Remove bindings for electric self-inserting keys.
2074 (prog-mode): Assume it's defined.
2075 (prolog-post-self-insert): New function.
2076 (prolog-mode): Use it.
2077 (prolog-indent-line, prolog-indent-level)
2078 (prolog-find-indent-of-matching-paren)
2079 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2080 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2081 (prolog-goto-next-paren, prolog-in-string-or-comment)
2082 (prolog-tokenize, prolog-inside-mline-comment)
2083 (prolog-find-start-of-mline-comment): Remove functions.
2084 (prolog-find-unmatched-paren, prolog-clause-end)
2085 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2086 (prolog-electric--if-then-else): Rename from
2087 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2088 (prolog-tokenize-searchkey): Remove const.
2089 (prolog-clause-info): Use forward-sexp.
2090 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2091 (prolog-electric-if-then-else): Remove commands.
2092 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2093 for use in post-self-insert-hook.
2094 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2095 for use in post-self-insert-hook.
2096 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2097 for use in post-self-insert-hook.
2098 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2099 adapt it for use in post-self-insert-hook.
2100
2101 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2102
2103 * emacs-lisp/ert.el (ert-run-tests-interactively):
2104 Use `completing-read'. (Bug#9756)
2105
2106 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2107
2108 * simple.el (line-move): Call line-move-1 instead of
2109 line-move-visual when the current window hscroll is zero, but
2110 temporary-goal-column indicates we will need to hscroll as result
2111 of the movement. (Bug#15712)
2112
2113 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2114
2115 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2116 capitalization. Use :visible instead of :active.
2117 Fix `ruby-indent-exp' reference. Add menu items for the generic
2118 commands that are used with SMIE.
2119 (ruby-do-end-to-brace): Insert space after `{'.
2120
2121 2013-10-25 John Anthony <john@jo.hnanthony.com>
2122
2123 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2124
2125 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2126
2127 2013-10-25 Glenn Morris <rgm@gnu.org>
2128
2129 * vc/vc.el (vc-print-log): Don't use a working revision unless
2130 one was explicitly specified. (Bug#15322)
2131
2132 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2133
2134 * subr.el (add-to-list): Preserve return value in compiler-macro
2135 (bug#15692).
2136
2137 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2138
2139 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2140 result. Ask user to retry using '-all' flag. (Bug#15701)
2141
2142 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2143
2144 * emacs-lisp/smie.el: New smie-config system.
2145 (smie-config): New defcustom.
2146 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2147 (smie-config-guess, smie-config-save): New commands.
2148 (smie-config--mode-local, smie-config--buffer-local)
2149 (smie-config--trace, smie-config--modefuns): New vars.
2150 (smie-config--advice, smie-config--mode-hook)
2151 (smie-config--setter, smie-config-local, smie-config--get-trace)
2152 (smie-config--guess-value, smie-config--guess): New functions.
2153 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2154 text properties. Treat "string fence" syntax like string syntax.
2155
2156 * progmodes/sh-script.el (sh-use-smie): Change default.
2157 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2158 (sh-var-value): Simplify by CSE.
2159 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2160 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2161 is used.
2162 (sh-guess-basic-offset): Use cl-incf.
2163 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2164
2165 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2166
2167 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2168 (bug#15699).
2169
2170 2013-10-24 Glenn Morris <rgm@gnu.org>
2171
2172 * Makefile.in (abs_top_srcdir): Remove.
2173 (update-subdirs): Use relative path to update-subdirs.
2174
2175 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2176
2177 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2178 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2179 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2180 Call unmsys--file-name before expand-file-name, not after it.
2181
2182 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2183
2184 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2185 (ert-test-skipped): New error.
2186 (ert-skip, ert-stats-skipped): New defuns.
2187 (ert--skip-unless): New macro.
2188 (ert-test-skipped): New struct.
2189 (ert--run-test-debugger, ert-test-result-type-p)
2190 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2191 (ert--stats-set-test-and-result, ert-char-for-test-result)
2192 (ert-string-for-test-result, ert-run-tests-batch)
2193 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2194 Handle skipped tests. (Bug#9803)
2195
2196 2013-10-24 Glenn Morris <rgm@gnu.org>
2197
2198 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2199
2200 * Makefile.in (abs_top_srcdir): New, set by configure.
2201 (update-subdirs): Correct build-aux location.
2202
2203 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2204
2205 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2206 value, whether we could auto-deduce `backend', or not.
2207
2208 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2209 with parameters" example. Simplify the "is it block or is it
2210 hash" check, but also make it more thorough.
2211
2212 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2213
2214 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2215
2216 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2217
2218 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2219 { if it is hanging.
2220
2221 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2222 :before ";".
2223
2224 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2225
2226 * progmodes/compile.el (compilation-directory-matcher)
2227 (compilation-page-delimiter):
2228 Support GNU Make-4.0 directory quoting. (Bug#15678)
2229
2230 2013-10-23 Leo Liu <sdl.web@gmail.com>
2231
2232 * ido.el (ido-tidy): Handle read-only text.
2233
2234 2013-10-23 Glenn Morris <rgm@gnu.org>
2235
2236 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2237 (emacs, compile, compile-always):
2238 Quote entities that might contain whitespace.
2239 (custom-deps, finder-data, autoloads): Use abs_lisp.
2240 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2241 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2242 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2243
2244 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2245
2246 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2247 Use `following-char'.
2248
2249 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2250
2251 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2252 * progmodes/ruby-mode.el (ruby-smie-rules):
2253 Remove corresponding workaround. Fix indentation rule of ";" so it
2254 also applies when ";" is the parent.
2255
2256 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2257
2258 * frame.el (display-screens, display-pixel-height)
2259 (display-pixel-width, display-mm-width, display-backing-store)
2260 (display-save-under, display-planes, display-color-cells)
2261 (display-visual-class, display-monitor-attributes-list):
2262 Mention the optional ‘display’ argument in doc strings.
2263
2264 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2265
2266 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2267 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2268
2269 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2270
2271 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2272 TODO. Add "." after " @ ".
2273 (ruby-smie--at-dot-call): New function. Checks if point at method
2274 call with explicit target.
2275 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2276 to the method name tokens when it precedes them.
2277 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2278 (ruby-smie-rules): Add rule for indentation before and after "."
2279 token.
2280
2281 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2282
2283 * textmodes/remember.el (remember-diary-extract-entries):
2284 Avoid add-to-list.
2285
2286 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2287 an instruction.
2288
2289 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2290
2291 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2292 (ruby-smie--implicit-semi-p): Add new operator chars.
2293
2294 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2295 `smie-down-list'.
2296 (ruby-smie--args-separator-p): Check that there's no newline
2297 between method call and its arguments.
2298
2299 2013-10-20 Alan Mackenzie <acm@muc.de>
2300
2301 Allow comma separated lists after Java "implements".
2302
2303 * progmodes/cc-engine.el (c-backward-over-enum-header):
2304 Parse commas.
2305 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2306 from a "disallowed" list in enum fontification.
2307
2308 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2309
2310 * startup.el (default-frame-background-mode): Remove unused defvar.
2311
2312 * progmodes/verilog-mode.el (verilog-mode): Don't set
2313 comment-indent-function globally.
2314
2315 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2316
2317 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2318 Move Info menu item creation to ns-win.el.
2319
2320 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2321 in menu bar.
2322
2323 * menu-bar.el: Move GNUStep specific menus...
2324
2325 * term/ns-win.el (ns-initialize-window-system): ... to here.
2326
2327 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2328
2329 * simple.el (newline): Only run post-self-insert-hook when
2330 called interactively.
2331
2332 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2333
2334 * icomplete.el (icomplete-with-completion-tables): Add :version.
2335
2336 2013-10-19 Alan Mackenzie <acm@muc.de>
2337
2338 Fix fontification bugs with constructors and const.
2339
2340 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2341 CASE 2) Remove the check for the absence of a suffix construct
2342 after a function declaration with only types (no identifiers) in
2343 the parentheses. Also, accept a function declaration with just a
2344 type inside the parentheses, if this type can be positively
2345 recognised as such, or if a prefix keyword like "explicit" nails
2346 down the construct as a declaration.
2347
2348 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2349
2350 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2351 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2352 the problem whereby selecting a menu item that leads to a
2353 minibuffer prompt moves the cursor out of the minibuffer window,
2354 making it hard to type at the prompt. Suggested by Stefan Monnier
2355 <monnier@iro.umontreal.ca>.
2356
2357 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2358
2359 * menu-bar.el: Don't make Services menu.
2360
2361 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2362
2363 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2364 (ffap-alist): Use ffap-c++-mode for c++-mode.
2365 (ffap-c++-path): New variable.
2366 (ffap-c++-mode): New function.
2367
2368 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2369
2370 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2371
2372 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2373
2374 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2375 introduced on 2013-09-08, which results in an infinite loop
2376 requesting a password.
2377
2378 2013-10-18 Glenn Morris <rgm@gnu.org>
2379
2380 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2381
2382 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2383
2384 Sync with upstream verilog-mode revision 1a6ecec7.
2385 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2386 (verilog-mode-release-date): Remove.
2387 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2388 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2389 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2390 (verilog-auto-tieoff-ignore-regexp)
2391 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2392 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2393 (verilog-signals-with, verilog-dir-cache-preserving)
2394 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2395 Doc fixes.
2396 (verilog-case-fold): New option, to control case folding in
2397 regexp searches, bug597.
2398 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2399 (verilog-string-match-fold, verilog-in-paren-count)
2400 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2401 (verilog-at-close-struct-p): New functions.
2402 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2403 (verilog-forward-sexp, verilog-set-auto-endcomments):
2404 (verilog-leap-to-case-head): Handle "unique0" case.
2405 (verilog-in-constraint-re): New constant.
2406 (verilog-keywords, verilog-type-font-keywords):
2407 Add some SystemVerilog 1800-2012 keywords.
2408 (verilog-label-be): Remove unimplemented argument, bug669.
2409 (verilog-batch-execute-func): When batch expanding clear
2410 create-lockfiles to prevent spurious user locks when a file ends
2411 up not changing.
2412 (verilog-calculate-indent, verilog-calc-1)
2413 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2414 (verilog-do-indent): Fix indentation of nested constraints
2415 and structures.
2416 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2417 (verilog-auto-inst-param): Use verilog-string-match-fold.
2418 (verilog-read-inst-module-matcher):
2419 Fix AUTOINST on gate primitives with #1.
2420 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2421 Reads all user-defined typed variables.
2422 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2423 (verilog-signals-matching-regexp)
2424 (verilog-signals-not-matching-regexp, verilog-auto):
2425 Respect verilog-case-fold.
2426 (verilog-diff-report): Fix line count.
2427 (verilog-auto-assign-modport): Remove unused local `modi'.
2428 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2429 better handle multidimensional arrays.
2430 Fix packed array ports misadding bit index in AUTOINST, bug637.
2431 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2432 to not double-declare existing outputs and inputs, respectively.
2433 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2434 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2435 (verilog-sk-uvm-component): New skeleton.
2436 (verilog-submit-bug-report): Add verilog-case-fold,
2437 remove verilog-mode-release-date.
2438
2439 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2440
2441 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2442 as before.
2443
2444 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2445
2446 * textmodes/remember.el (remember): set buffer-offer-save in
2447 remember buffers (bug#13566).
2448
2449 2013-10-18 Daniel Colascione <dancol@dancol.org>
2450
2451 When evaluating forms in ielm, direct standard output to ielm
2452 buffer. Add new ielm-return-for-effect command. Remove trailing
2453 whitespace throughout.
2454
2455 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2456 (ielm-return-for-effect): New command.
2457 (ielm-send-input): Accept optional `for-effect' parameter.
2458 (ielm-eval-input): Accept optional `for-effect' parameter.
2459 Bind `standard-output' to stream we create using
2460 `ielm-standard-output-impl'. Suppress printing result when
2461 `for-effect'.
2462 (ielm-standard-output-impl): New function.
2463 (inferior-emacs-lisp-mode): Explain new features in documentation.
2464
2465 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2466
2467 Code cleanup.
2468
2469 * net/tramp.el (tramp-debug-message): Do not check for connection
2470 buffer.
2471 (tramp-message): Use "vector" connection property.
2472
2473 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2474 (tramp-equal-remote, tramp-eshell-directory-change)
2475 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2476 (tramp-adb-handle-rename-file)
2477 * net/tramp-cmds.el (tramp-list-remote-buffers)
2478 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2479 * net/tramp-compat.el (tramp-compat-process-running-p)
2480 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2481 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2482 (tramp-gvfs-handle-rename-file)
2483 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2484 (tramp-set-file-uid-gid)
2485 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2486 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2487 of `file-remote-p'.
2488
2489 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2490 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2491 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2492 (tramp-gw-open-network-stream): Suppress unrelated traces.
2493
2494 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2495 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2496 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2497 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2498 connection property.
2499
2500 * net/tramp-cache.el (top): Suppress traces when reading
2501 persistency file.
2502
2503 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2504 Refactor common code. Improve debug message.
2505 (tramp-maybe-open-connection)
2506 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2507 connection buffer too early.
2508
2509 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2510 from `tramp-smb-actions-with-acl'.
2511 (tramp-smb-actions-set-acl): New defconst.
2512 (tramp-smb-handle-copy-directory)
2513 (tramp-smb-action-get-acl): New defun, renamed from
2514 `tramp-smb-action-with-acl'.
2515 (tramp-smb-action-set-acl): New defun.
2516 (tramp-smb-handle-set-file-acl): Rewrite.
2517
2518 2013-10-17 Glenn Morris <rgm@gnu.org>
2519
2520 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2521
2522 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2523
2524 * skeleton.el (skeleton-newline): Remove.
2525 (skeleton-internal-1): Use (insert "\n") instead.
2526
2527 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2528 let-bindings.
2529
2530 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2531 forward-sexp-function while we redo its job (bug#15613).
2532
2533 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2534
2535 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2536 represented by lists.
2537
2538 2013-10-16 Glenn Morris <rgm@gnu.org>
2539
2540 * tmm.el (tmm--history): New dynamic variable.
2541 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2542
2543 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2544
2545 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2546 (tramp-smb-errors): Add error messages.
2547 (tramp-smb-actions-with-acl): New defconst.
2548 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2549 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2550 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2551 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2552 (tramp-smb-get-stat-capability): Fix tests.
2553
2554 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2555
2556 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2557 (bug#15580).
2558
2559 2013-10-16 Glenn Morris <rgm@gnu.org>
2560
2561 * ansi-color.el (ansi-color-drop-regexp):
2562 Add 1J, 1K, 2K. (Bug#15617)
2563
2564 * files.el (hack-local-variables--warned-lexical): New.
2565 (hack-local-variables):
2566 Warn about misplaced lexical-binding. (Bug#15616)
2567
2568 * net/eww.el (eww-render): Always set eww-current-url,
2569 and update header line. (Bug#15622)
2570 (eww-display-html): ... Rather than just doing it here.
2571
2572 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2573
2574 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2575 menu navigations commands.
2576
2577 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2578
2579 * progmodes/subword.el (subword-capitalize): Be careful when
2580 the search for [[:alpha:]] fails (bug#15580).
2581
2582 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2583
2584 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2585 to commands that scroll the menu.
2586
2587 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2588
2589 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2590 Handle methods ending with `?' and `!'.
2591
2592 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2593
2594 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2595 `japanese-cp932' to `cp932' to fix the problem where saving a
2596 source file written in Shift_JIS twice would end up having
2597 `coding: japanese-cp932' which Ruby could not recognize.
2598 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2599 in `ruby-encoding-map'.
2600 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2601 doesn't need to be explicitly declared in magic comment.
2602 (ruby-encoding-map): Add type declaration for better customize UI.
2603
2604 2013-10-13 Glenn Morris <rgm@gnu.org>
2605
2606 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2607 Occur buffers are read-only. http://bugs.debian.org/720775
2608
2609 * emacs-lisp/authors.el (authors-fixed-entries):
2610 Comment out old alpha stuff.
2611
2612 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2613
2614 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2615 to `after-save-hook' instead of `before-save-hook'.
2616 (ruby-mode-set-encoding): Use the value of coding system used to
2617 write the file. Call `basic-save-buffer-1' after modifying the
2618 buffer.
2619
2620 2013-10-13 Alan Mackenzie <acm@muc.de>
2621
2622 Fix indentation/fontification of Java enum with
2623 "implements"/generic.
2624
2625 * progmodes/cc-engine.el (c-backward-over-enum-header):
2626 Extracted from the three other places and enhanced to handle generics.
2627 (c-inside-bracelist-p): Uses new function above.
2628 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2629 function above.
2630 (c-font-lock-enum-tail): Uses new function above.
2631
2632 2013-10-13 Kenichi Handa <handa@gnu.org>
2633
2634 * international/mule-cmds.el (select-safe-coding-system): Remove a
2635 superfluous condition in chekcing whether a coding system is safe
2636 or not.
2637
2638 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2639
2640 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2641
2642 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2643
2644 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2645
2646 2013-10-13 Glenn Morris <rgm@gnu.org>
2647
2648 * menu-bar.el (menu-bar-update-buffers):
2649 Unify Buffers menu prompt string. (Bug#15576)
2650
2651 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2652
2653 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2654 Add some entries.
2655 (authors-fixed-entries): Use accented form of name.
2656
2657 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2658
2659 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2660 method calls (bug#15594).
2661 (ruby-smie--args-separator-p): New function.
2662 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2663 recognize paren-free method calls.
2664
2665 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2666 internals of universal-argument.
2667
2668 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2669
2670 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2671 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2672 dropped menu on second mouse click on the menu bar.
2673
2674 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2675
2676 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2677 (explicit-shell-file-name): Declare.
2678 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2679 (sh-completion-at-point-function): New function.
2680 (sh-mode): Use it.
2681 (sh-smie--keyword-p): Remove unused argument.
2682 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2683 vars.
2684 (sh-set-shell): Always setup SMIE, even if we use the
2685 old indentation code.
2686
2687 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2688
2689 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2690 cases of ? and =.
2691 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2692 predicate would return nil are almost non-existent.
2693 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2694
2695 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2696 cache also after commands that modify the buffer but don't move
2697 point.
2698
2699 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2700
2701 * env.el (substitute-env-in-file-name): New function.
2702 (substitute-env-vars): Extend the meaning of the optional arg.
2703
2704 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2705
2706 * term/w32-win.el (dynamic-library-alist): Define separate lists
2707 of GIF DLLs for versions before and after 5.0.0 of giflib.
2708 (Bug#15531)
2709
2710 2013-10-10 João Távora <joaotavora@gmail.com>
2711
2712 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2713 not locked, use last revision and current source as
2714 defaults. (Bug#15569)
2715
2716 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2717
2718 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2719 menu-bar is hidden.
2720
2721 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2722
2723 * window.el (pop-to-buffer-same-window): Fix doc-string.
2724 (Bug#15492)
2725
2726 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2727
2728 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2729
2730 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2731
2732 * calendar/icalendar.el (icalendar-import-file):
2733 Fix interactive spec. (Bug#15482)
2734
2735 2013-10-10 Glenn Morris <rgm@gnu.org>
2736
2737 * desktop.el (desktop-save): Default to saving in .emacs.d,
2738 since PWD is no longer in desktop-path by default. (Bug#15319)
2739
2740 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2741 now that text mode has a menu with the same entry.
2742 (menu-bar-text-mode-auto-fill): Remove now unused func.
2743 * textmodes/text-mode.el (text-mode-map):
2744 Use auto-fill help text from menu-bar.el.
2745
2746 2013-10-10 John Anthony <john@jo.hnanthony.com>
2747
2748 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2749
2750 2013-10-09 Juri Linkov <juri@jurta.org>
2751
2752 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2753 instead of this-command-keys. Add universal-argument-more and
2754 universal-argument-minus to the list of prefix commands. (Bug#15568)
2755
2756 2013-10-09 Glenn Morris <rgm@gnu.org>
2757
2758 * vc/vc-svn.el (vc-svn-create-repo):
2759 Expand paths in file://... url. (Bug#15446)
2760
2761 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2762 Add some entries.
2763 (authors): Remove unused local variables.
2764
2765 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2766
2767 * profiler.el: Create a more coherent calltree from partial backtraces.
2768 (profiler-format): Hide the tail with `invisible' so that C-s can still
2769 find the hidden elements.
2770 (profiler-calltree-depth): Don't recurse so enthusiastically.
2771 (profiler-function-equal): New hash-table-test.
2772 (profiler-calltree-build-unified): New function.
2773 (profiler-calltree-build): Use it.
2774 (profiler-report-make-name-part): Indent the calltree less.
2775 (profiler-report-mode): Add visibility specs for profiler-format.
2776 (profiler-report-expand-entry, profiler-report-toggle-entry):
2777 Expand the whole subtree when provided with a prefix arg.
2778
2779 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2780
2781 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2782 iuwu-mod token.
2783 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2784 hanging iuwu-mod token.
2785 (ruby-smie--forward-token): Do not include a dot after a token in
2786 that token.
2787 (ruby-smie--backward-token): Likewise.
2788
2789 2013-10-08 Juri Linkov <juri@jurta.org>
2790
2791 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2792 to isearch-other-control-char.
2793 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2794 and isearch-post-command-hook to post-command-hook.
2795 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2796 and isearch-post-command-hook from post-command-hook.
2797 (isearch-unread-key-sequence)
2798 (isearch-reread-key-sequence-naturally)
2799 (isearch-lookup-scroll-key, isearch-other-control-char)
2800 (isearch-other-meta-char): Remove functions.
2801 (isearch-pre-command-hook, isearch-post-command-hook):
2802 New functions based on isearch-other-meta-char rewritten
2803 relying on the new behavior of overriding-terminal-local-map
2804 that does not replace the local keymaps any more. (Bug#15200)
2805
2806 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2807
2808 Support menus on text-mode terminals.
2809 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2810 functionality.
2811
2812 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2813
2814 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2815 Move here from mouse.el.
2816 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2817 and arrow keys.
2818 (tty-menu-navigation-map): New map for TTY menu navigation.
2819
2820 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2821
2822 * frame.el (display-mouse-p): Report text-mode mouse as available
2823 on w32.
2824 (display-popup-menus-p): Report availability if mouse is
2825 available; don't condition on window-system.
2826
2827 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2828 (tty-menu-selected-face): New faces.
2829
2830 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2831
2832 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2833 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2834 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2835 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2836 New constants.
2837 (lisp-mode-variables): New `elisp' argument.
2838 (emacs-lisp-mode): Use it.
2839 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2840 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2841
2842 * indent.el: Use lexical-binding.
2843 (indent-region): Add progress reporter.
2844 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2845 last step.
2846 (indent--next-tab-stop): New function to implement this behavior.
2847 (tab-to-tab-stop, move-to-tab-stop): Use it.
2848
2849 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2850
2851 * indent.el (indent-rigidly--current-indentation): New function.
2852 (indent-rigidly-map): New var.
2853 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2854
2855 2013-10-08 Bastien Guerry <bzg@gnu.org>
2856
2857 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2858
2859 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2860
2861 * progmodes/perl-mode.el: Use lexical-binding.
2862 Remove redundant :group args.
2863 (perl-nochange): Change default to be closer to other major modes's
2864 standard behavior.
2865 (perl-indent-line): Don't consider text on current line as a
2866 valid beginning of function from which to indent.
2867
2868 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2869 with more than one argument (bug#15538).
2870
2871 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2872
2873 * vc/pcvs.el: Use lexical-binding.
2874 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2875 environment of `eval'.
2876 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2877 than a list of expressions. Adjust callers.
2878 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2879
2880 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2881
2882 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2883 case of the dot in a chained method call being on the following line.
2884
2885 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2886
2887 * electric.el (electric-indent-inhibit): New var.
2888 (electric-indent-post-self-insert-function): Use it.
2889 * progmodes/python.el (python-mode): Set it.
2890
2891 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2892 open braces.
2893
2894 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2895
2896 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2897 (css-mode): Use electric-indent-chars.
2898
2899 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2900 (font-lock-beg, font-lock-end): Move before first use.
2901 (nxml-mode): Use syntax-propertize-function.
2902 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2903 (nxml-extend-after-change-region): Remove.
2904 * nxml/xmltok.el: Use lexical-binding.
2905 (xmltok-save): Use `declare'.
2906 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2907 * nxml/nxml-util.el: Use lexical-binding.
2908 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2909 Use `declare'.
2910 * nxml/nxml-ns.el: Use lexical-binding.
2911 (nxml-ns-save): Use `declare'.
2912 (nxml-ns-prefixes-for): Avoid add-to-list.
2913 * nxml/rng-match.el: Use lexical-binding.
2914 (rng--ipattern): Use cl-defstruct.
2915 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2916 (rng-cons-group-after, rng-subst-group-after)
2917 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2918 Use closures instead of `(lambda...).
2919
2920 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2921
2922 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2923 of BEG and END.
2924
2925 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2926 Use `tramp-handle-insert-file-contents'.
2927 (tramp-gvfs-handle-insert-file-contents): Remove function.
2928
2929 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2930 Use `save-restriction' in order to keep markers.
2931
2932 * net/trampver.el: Update release number.
2933
2934 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2935
2936 * progmodes/compile.el (compilation-parse-errors):
2937 Use compilation--put-prop.
2938 (compilation--ensure-parse): Check compilation-multiline.
2939
2940 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2941
2942 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2943 lexical-binding.
2944
2945 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2946
2947 * progmodes/ruby-mode.el: Fix recently added tests.
2948 (ruby-smie-grammar): Add - and +.
2949 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2950 (ruby-smie--backward-id): New functions.
2951 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2952 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2953 any more.
2954
2955 2013-10-07 Leo Liu <sdl.web@gmail.com>
2956
2957 * register.el (register-preview-delay)
2958 (register-preview-functions): New variables.
2959 (register-read-with-preview, register-preview)
2960 (register-describe-oneline): New functions.
2961 (point-to-register, window-configuration-to-register)
2962 (frame-configuration-to-register, jump-to-register)
2963 (number-to-register, view-register, insert-register)
2964 (copy-to-register, append-to-register, prepend-to-register)
2965 (copy-rectangle-to-register): Use register-read-with-preview to
2966 read register. (Bug#15525)
2967
2968 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2969
2970 * net/network-stream.el (network-stream-open-starttls): Don't add
2971 --insecure if it's already present, because that gnutls-cli
2972 rejects getting that parameter twice.
2973
2974 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2975
2976 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2977 keyword, too.
2978
2979 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2980
2981 * newcomment.el (comment-use-global-state): Change default value
2982 to t, mark obsolete (Bug#15251).
2983 (comment-beginning): In addition to `comment-to-syntax', check the
2984 value of `comment-use-global-state'.
2985
2986 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2987
2988 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2989 (ruby-comment-column): Follow the global default, by default.
2990 (ruby-smie-grammar): Add assignment syntax.
2991 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2992 open-paren, a comma, or a \.
2993 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2994 and line continuations.
2995 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2996 followed by implicit semi-colons. Add rule for string concatenation
2997 and for indentation at BOB.
2998 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2999
3000 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3001 calling next-sexp, since next-token may have skipped chars which
3002 next-sexp doesn't know should be skipped!
3003
3004 2013-10-05 Leo Liu <sdl.web@gmail.com>
3005
3006 * progmodes/octave.el (octave-send-region):
3007 Call compilation-forget-errors.
3008
3009 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3010
3011 * vc/vc-svn.el (vc-svn-find-admin-dir):
3012 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3013 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3014 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3015 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3016
3017 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3018
3019 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3020
3021 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3022
3023 * subr.el (read-passwd): Hide chars even when called within a context
3024 where after-change-functions is disabled (bug#15501).
3025 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3026 until we removed ourself from overriding-terminal-local-map.
3027
3028 2013-10-04 Leo Liu <sdl.web@gmail.com>
3029
3030 * progmodes/octave.el (inferior-octave-mode):
3031 Call compilation-forget-errors.
3032
3033 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3034
3035 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3036
3037 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3038
3039 * net/secrets.el (secrets-create-collection): Add optional
3040 argument ALIAS. Use proper Label keyword. Append ALIAS as
3041 dbus-call-method argument. (Bug#15516)
3042
3043 2013-10-04 Leo Liu <sdl.web@gmail.com>
3044
3045 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3046 (inferior-octave-compilation-font-lock-keywords): New variables.
3047 (compilation-error-regexp-alist)
3048 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3049 (inferior-octave-mode): Use compilation-shell-minor-mode.
3050
3051 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3052
3053 * minibuffer.el (completion--replace): Be careful that `end' might be
3054 a marker.
3055
3056 2013-10-03 Daiki Ueno <ueno@gnu.org>
3057
3058 Add support for package signature checking.
3059 * emacs-lisp/package.el (url-http-file-exists-p)
3060 (epg-make-context, epg-context-set-home-directory)
3061 (epg-verify-string, epg-context-result-for)
3062 (epg-signature-status, epg-signature-to-string)
3063 (epg-check-configuration, epg-configuration)
3064 (epg-import-keys-from-file): Declare.
3065 (package-check-signature): New user option.
3066 (package-unsigned-archives): New user option.
3067 (package-desc): Add `signed' field.
3068 (package-load-descriptor): Set `signed' field if .signed file exists.
3069 (package--archive-file-exists-p): New function.
3070 (package--check-signature): New function.
3071 (package-install-from-archive): Check package signature.
3072 (package--download-one-archive): Check archive signature.
3073 (package-delete): Remove .signed file.
3074 (package-import-keyring): New command.
3075 (package-refresh-contents): Import default keyring.
3076 (package-desc-status): Add "unsigned" status.
3077 (describe-package-1, package-menu--print-info)
3078 (package-menu-mark-delete, package-menu--find-upgrades)
3079 (package-menu--status-predicate): Support "unsigned" status.
3080
3081 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3082
3083 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3084 the new compilation scheme using the new byte-codes.
3085
3086 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3087 (byte-pophandler): New byte codes.
3088 (byte-goto-ops): Adjust accordingly.
3089 (byte-compile--use-old-handlers): New var.
3090 (byte-compile-catch): Use new byte codes depending on
3091 byte-compile--use-old-handlers.
3092 (byte-compile-condition-case--old): Rename from
3093 byte-compile-condition-case.
3094 (byte-compile-condition-case--new): New function.
3095 (byte-compile-condition-case): New function that dispatches depending
3096 on byte-compile--use-old-handlers.
3097 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3098 when we can.
3099
3100 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3101 Optimize under `condition-case' and `catch' if
3102 byte-compile--use-old-handlers is nil.
3103 (disassemble-offset): Handle new bytecodes.
3104
3105 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3106
3107 * subr.el (error): Use `declare'.
3108 (decode-char, encode-char): Use advertised-calling-convention instead
3109 of the docstring to discourage use of the `restriction' arg.
3110
3111 2013-10-03 Daiki Ueno <ueno@gnu.org>
3112
3113 * epg.el (epg-verify-file): Add a comment saying that it does not
3114 notify verification error as a return value nor a signal.
3115 (epg-verify-string): Ditto.
3116
3117 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3118
3119 * progmodes/compile.el (compilation-start): Try globbing the arg to
3120 `cd' (bug#15417).
3121
3122 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3123
3124 Sync with Tramp 2.2.8.
3125
3126 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3127 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3128 * net/trampver.el: Update release number.
3129
3130 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3131
3132 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3133 and default-process-coding-system for darwin only.
3134
3135 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3136
3137 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3138
3139 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3140
3141 * vc/vc-git.el (vc-git-grep): Disable pager.
3142
3143 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3144
3145 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3146 Use :url instead of :homepage, as per
3147 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3148
3149 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3150 non-nil, use `syntax-ppss' (Bug#15251).
3151
3152 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3153
3154 * progmodes/octave.el (inferior-octave-startup-file):
3155 Prefer ~/.emacs.d/init_octave.m.
3156
3157 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3158
3159 * emacs-lisp/package.el (package-desc-from-define):
3160 Accept additional arguments as plist, convert them to an alist and store
3161 them in the `extras' slot.
3162 (package-generate-description-file): Convert extras alist back to
3163 plist and append to the `define-package' form arguments.
3164 (package--alist-to-plist): New function.
3165 (package--ac-desc): Add `extras' slot.
3166 (package--add-to-archive-contents): Check if the archive-contents
3167 vector is long enough, and if it is, pass its `extras' slot value
3168 to `package-desc-create'.
3169 (package-buffer-info): Call `lm-homepage', pass the returned value
3170 to `package-desc-from-define'.
3171 (describe-package-1): Render the homepage button (Bug#13291).
3172
3173 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3174 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3175
3176 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3177
3178 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3179 and default-process-coding-system to utf-8-unix (Bug#15402).
3180
3181 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3182
3183 * subr.el (looking-back): Do not recommend using looking-back.
3184
3185 2013-09-28 Alan Mackenzie <acm@muc.de>
3186
3187 Fix indentation/fontification of Java enum with "implements".
3188
3189 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3190 regexp which matches "implements", etc., in Java.
3191 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3192 specifier clauses coming after "enum".
3193 * progmodes/cc-fonts.el (c-font-lock-declarations)
3194 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3195 after "enum".
3196
3197 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3198
3199 * faces.el (region): Change ns_selection_color to
3200 ns_selection_fg_color, add ns_selection_bg_color.
3201
3202 2013-09-28 Leo Liu <sdl.web@gmail.com>
3203
3204 * progmodes/octave.el (inferior-octave-completion-table)
3205 (inferior-octave-completion-at-point): Minor tweaks.
3206
3207 * textmodes/ispell.el (ispell-lookup-words): Rename from
3208 lookup-words. (Bug#15460)
3209 (lookup-words): Obsolete.
3210 (ispell-complete-word, ispell-command-loop): All uses changed.
3211
3212 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3213
3214 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3215 (octave-mode-menu): Add octave-send-buffer.
3216 (octave-send-buffer): New function.
3217
3218 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3219
3220 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3221 octave-lookfor.
3222 (octave-mode-menu): Add octave-lookfor.
3223 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3224 octave-lookfor.
3225 (octave-lookfor): New function.
3226
3227 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3228
3229 * emacs-lisp/cl-macs.el:
3230 (cl--loop-destr-temps): Remove.
3231 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3232 its convention.
3233 (cl--loop-set-iterator-function): New function.
3234 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3235 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3236 Bind `it' with `let' instead of substituting it with `cl-subst'.
3237 (cl--unused-var-p): New function.
3238 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3239 Eliminate some unused variable warnings (bug#15326).
3240
3241 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3242
3243 * doc-view.el (doc-view-scale-reset): Rename from
3244 `doc-view-reset-zoom-level'.
3245 (doc-view-scale-adjust): New command.
3246 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3247 `doc-view-scale-adjust'.
3248
3249 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3250
3251 * doc-view.el (doc-view-reset-zoom-level): New command.
3252 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3253 zoom commands (bug#15466).
3254
3255 2013-09-26 Kenichi Handa <handa@gnu.org>
3256
3257 * international/quail.el (quail-help): Make it not a command.
3258
3259 2013-09-26 Leo Liu <sdl.web@gmail.com>
3260
3261 * minibuffer.el (completion-all-sorted-completions): Make args
3262 optional as they are.
3263
3264 2013-09-25 Daniel Colascione <dancol@dancol.org>
3265
3266 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3267 specs are and that they're not evaluated.
3268
3269 2013-09-24 Sam Steingold <sds@gnu.org>
3270
3271 * midnight.el (clean-buffer-list-kill-regexps)
3272 (clean-buffer-list-kill-buffer-names): Update for the new Man
3273 buffer naming which includes the object name.
3274
3275 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3276
3277 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3278 (eshell-parse-command, eshell-parse-pipeline): Use it since
3279 eshell-separate-commands requires a dynamic scoped var.
3280 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3281
3282 2013-09-23 Leo Liu <sdl.web@gmail.com>
3283
3284 * autoinsert.el (auto-insert-alist): Make the value of
3285 lexical-binding match its file setting.
3286
3287 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3288
3289 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3290
3291 * autoarg.el (autoarg-kp-digit-argument):
3292 * electric.el (Electric-command-loop):
3293 * kmacro.el (kmacro-step-edit-insert):
3294 Do not set universal-argument-num-events.
3295
3296 2013-09-22 Leo Liu <sdl.web@gmail.com>
3297
3298 * files.el (interpreter-mode-alist): Add octave.
3299
3300 2013-09-21 Alan Mackenzie <acm@muc.de>
3301
3302 C++: fontify identifier in declaration following "public:" correctly.
3303 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3304 to match "public", etc.
3305 (c-decl-prefix-re): Add ":" into the C++ value.
3306 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3307 bit. Add a check for a ":" preceded by "public", etc.
3308
3309 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3310
3311 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3312 recognized by GDB 7.5 and later.
3313
3314 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3315
3316 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3317
3318 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3319
3320 * subr.el (internal--call-interactively): New const.
3321 (called-interactively-p): Use it (bug#3984).
3322
3323 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3324
3325 * vc/pcvs.el (cvs-mode-ignore):
3326 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3327 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3328
3329 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3330
3331 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3332 (eshell-ls-orig-insert-directory): Remove.
3333 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3334 (eshell-ls-use-in-dired): Use advice-add/remove.
3335 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3336 Add `orig-fun' arg for use in :around advice.
3337 Make it check (redundantly) eshell-ls-use-in-dired.
3338
3339 2013-09-19 Glenn Morris <rgm@gnu.org>
3340
3341 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3342
3343 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3344
3345 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3346
3347 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3348
3349 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3350 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3351 (tramp-get-remote-python): New defuns.
3352 (tramp-get-remote-uid-with-perl)
3353 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3354 contributed by yary <not.com@gmail.com> (tiny change).
3355 (tramp-get-remote-uid-with-python)
3356 (tramp-get-remote-gid-with-python): New defuns. Python code
3357 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3358 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3359
3360 2013-09-19 Glenn Morris <rgm@gnu.org>
3361
3362 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3363
3364 * eshell/em-unix.el (eshell-remove-entries):
3365 Rename argument to avoid name-clash with global `top-level'.
3366
3367 * eshell/esh-proc.el (eshell-kill-process-function):
3368 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3369 (eshell-reset-after-proc): Remove unused arg `proc'.
3370
3371 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3372 (directory-files-and-attributes): Mark unused arg.
3373
3374 * eshell/em-unix.el (eshell-remove-entries):
3375 Remove unused arg `path'. Update callers.
3376
3377 * eshell/em-hist.el (eshell-hist-parse-arguments):
3378 Remove unused arg `silent'. Update callers.
3379
3380 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3381 Fix (f)boundp mix-up.
3382
3383 * eshell/em-smart.el (eshell-smart-scroll-window)
3384 (eshell-disable-after-change):
3385 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3386
3387 2013-09-18 Alan Mackenzie <acm@muc.de>
3388
3389 Fix fontification of type when followed by "const".
3390 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3391 "known" types from fontification.
3392
3393 2013-09-18 Glenn Morris <rgm@gnu.org>
3394
3395 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3396 (chart-face-list): Drop Emacsen without display-color-p.
3397
3398 * net/eww.el (libxml-parse-html-region): Declare.
3399 (eww-display-html): Explicit error if no libxml2 support.
3400
3401 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3402
3403 * image.el (image-type-from-buffer, image-multi-frame-p):
3404 Remove --without-x warning/error.
3405
3406 * mouse.el (mouse-yank-primary):
3407 * term.el (term-mouse-paste):
3408 Reorder to silence --without-x compilation.
3409
3410 * mpc.el (doc-view-mode): Silence --without-x compilation.
3411
3412 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3413 Silence --without-x compilation.
3414
3415 * progmodes/gud.el (gud-find-file, gud-mode):
3416 Silence --without-x compilation.
3417 (tooltip-mode): Declare.
3418
3419 * wdired.el (dired-backup-overwrite): Remove declaration.
3420 (wdired-mode-map): Add doc string.
3421
3422 * custom.el (x-get-resource): Declare.
3423
3424 * eshell/em-glob.el (ange-cache):
3425 * eshell/em-unix.el (ange-cache): Declare.
3426
3427 * faces.el (x-display-list, x-open-connection, x-get-resource):
3428 Declare.
3429
3430 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3431 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3432 Declare.
3433
3434 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3435
3436 * net/gnutls.el (gnutls-log-level): Declare.
3437
3438 * net/shr.el (image-size, image-animate): Declare.
3439
3440 * simple.el (font-info): Declare.
3441
3442 * subr.el (x-popup-dialog): Declare.
3443
3444 * term/common-win.el (x-select-enable-primary)
3445 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3446 Declare.
3447
3448 * term/ns-win.el (x-handle-args): Declare.
3449
3450 * term/x-win.el (x-select-enable-clipboard): Declare.
3451
3452 * term/w32-win.el (create-default-fontset): Declare.
3453
3454 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3455 Declare.
3456
3457 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3458 (fit-frame-to-buffer): Explicit error if --without-x.
3459 (mouse-autoselect-window-select): Silence compiler.
3460
3461 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3462
3463 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3464 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3465 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3466 * eshell/esh-util.el (eshell-sublist):
3467 Remove unused local variables.
3468
3469 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3470
3471 * textmodes/two-column.el: Make 2C-split work for --without-x.
3472 (scroll-bar-columns): Autoload.
3473 (top-level): Require fringe when compiling.
3474
3475 2013-09-18 Leo Liu <sdl.web@gmail.com>
3476
3477 * subr.el (add-hook): Robustify to handle closure as well.
3478
3479 2013-09-17 Glenn Morris <rgm@gnu.org>
3480
3481 * simple.el (messages-buffer-mode-map): Unbind "g".
3482
3483 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3484
3485 * help-mode.el (help-mode-finish): Use derived-mode-p.
3486 Remove obsolete highlighting.
3487
3488 * play/life.el (life-mode): Use define-derived-mode. Derive from
3489 special-mode.
3490 (life): Let-bind inhibit-read-only.
3491 (life-setup): Avoid `setq'. Use `life-mode'.
3492
3493 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3494 which should not be needed any more.
3495 (package-menu-refresh, package-menu-describe-package): Use user-error.
3496
3497 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3498 (eshell-post-rewrite-command-hook): Make obsolete.
3499 (eshell-parse-command): Simplify.
3500 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3501 (eshell--cmd): Declare.
3502 (eshell-parse-pipeline): Remove unused var `final-p'.
3503 Pass a dynvar to eshell-post-rewrite-command-hook.
3504 Implement the new eshell-post-rewrite-command-function.
3505 (eshell-invoke-directly): Remove unused arg `input'.
3506 * eshell/esh-io.el (eshell-io-initialize):
3507 Use eshell-post-rewrite-command-function (bug#15399).
3508 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3509 adjust to new calling convention.
3510 (eshell-create-handles): Rename args to avoid clashing with dynvar
3511 `standard-output'.
3512
3513 2013-09-17 Glenn Morris <rgm@gnu.org>
3514
3515 * simple.el (messages-buffer-mode): New major mode.
3516 (messages-buffer): New function.
3517 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3518 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3519 (ert-run-test): Use `messages-buffer' function.
3520 (ert--force-message-log-buffer-truncation): Ignore read-only.
3521 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3522 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3523
3524 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3525
3526 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3527
3528 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3529
3530 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3531
3532 * icomplete.el (icomplete-in-buffer): New var.
3533 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3534 vars and replace them with functions.
3535 (icomplete-minibuffer-setup): Adjust accordingly.
3536 (icomplete--completion-table, icomplete--completion-predicate)
3537 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3538 New functions.
3539 (icomplete-forward-completions, icomplete-backward-completions)
3540 (icomplete-simple-completing-p, icomplete-exhibit)
3541 (icomplete-completions): Use them.
3542 (icomplete--in-region-buffer): New var.
3543 (icomplete--in-region-setup): New function.
3544 (icomplete-mode): Use it.
3545
3546 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3547 (bug#15379).
3548 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3549 return args and options.
3550 (eshell-eval-using-options): Use the new return value of
3551 eshell--do-opts to set the options's vars in their scope.
3552 (eshell--set-option): Rename from eshell-set-option.
3553 Add arg `opt-vals'.
3554 (eshell--process-option): Rename from eshell-process-option.
3555 Add arg `opt-vals'.
3556 (eshell--process-args): Use an `opt-vals' alist to store the options's
3557 values during their processing and return them additionally to the
3558 remaining args.
3559
3560 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3561
3562 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3563 continuation character an operator, as far as indentation is
3564 concerned (Bug#15369).
3565
3566 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3567
3568 * window.el (window--state-put-2): Don't process buffer state
3569 when buffer doesn't exist any more (Bug#15382).
3570
3571 2013-09-15 Glenn Morris <rgm@gnu.org>
3572
3573 * eshell/em-unix.el (eshell/rm):
3574 Make -f ignore missing files. (Bug#15373)
3575
3576 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3577 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3578 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3579
3580 2013-09-14 Glenn Morris <rgm@gnu.org>
3581
3582 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3583
3584 2013-09-13 Glenn Morris <rgm@gnu.org>
3585
3586 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3587 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3588
3589 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3590
3591 * frame.el (x-focus-frame): Mark as declared in frame.c.
3592
3593 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3594
3595 * ls-lisp.el: Use advice-add.
3596 (original-insert-directory): Remove.
3597 (ls-lisp--insert-directory): Rename from insert-directory; add
3598 `orig-fun' argument.
3599 (insert-directory): Advise.
3600
3601 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3602
3603 * term.el (term-emulate-terminal): Decode the command string
3604 before passing it to term-command-hook. (Bug#15337)
3605
3606 2013-09-13 Glenn Morris <rgm@gnu.org>
3607
3608 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3609
3610 * eshell/esh-ext.el (eshell-search-path): Declare.
3611
3612 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3613 Otherwise an error occurs if eshell-dirs module not loaded.
3614
3615 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3616
3617 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3618
3619 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3620 `tramp-check-proper-host'. Check for a valid method name.
3621
3622 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3623 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3624 * net/tramp-sh.el (tramp-maybe-open-connection):
3625 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3626
3627 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3628 also for hash values.
3629
3630 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3631
3632 * term/ns-win.el (parameters): Don't declare as dynamic.
3633 (before-make-frame-hook): Don't add ineffective function.
3634
3635 * eshell/*.el: Use lexical-binding (bug#15231).
3636
3637 2013-09-12 Kenichi Handa <handa@gnu.org>
3638
3639 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3640
3641 2013-09-12 Glenn Morris <rgm@gnu.org>
3642
3643 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3644 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3645
3646 * subr.el (do-after-load-evaluation): Also give compiler warnings
3647 when obsolete files are used (except by obsolete files).
3648
3649 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3650 in the status output, assume `filename' is the first. (Bug#15322)
3651
3652 * vc/vc.el (vc-deduce-fileset): Doc fix.
3653
3654 * calc/calc-help.el (Info-goto-node):
3655 * progmodes/cperl-mode.el (Info-find-node):
3656 * vc/ediff.el (Info-goto-node): Update declarations.
3657
3658 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3659
3660 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3661 (vc-bzr-pull): Require vc-dispatcher.
3662 * vc/vc-git.el (vc-compilation-mode): Declare.
3663 (vc-git-pull): Require vc-dispatcher.
3664
3665 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3666
3667 * progmodes/octave.el (help-button-action): Declare.
3668
3669 * shell.el (shell-directory-tracker): Output error as a message
3670 rather than just returning it as a string.
3671 (shell-process-pushd): Remove useless use of message.
3672
3673 * dframe.el (dframe-timer-fn):
3674 * files.el (dir-locals-read-from-file):
3675 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3676 (mpc-format):
3677 * reveal.el (reveal-post-command):
3678 * saveplace.el (load-save-place-alist-from-file):
3679 * shell.el (shell-resync-dirs):
3680 * w32-common-fns.el (x-get-selection-value):
3681 * emacs-lisp/copyright.el (copyright-find-copyright):
3682 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3683 * emulation/tpu-edt.el (tpu-copy-keyfile):
3684 * play/bubbles.el (bubbles--mark-neighbourhood):
3685 * progmodes/executable.el
3686 (executable-make-buffer-file-executable-if-script-p):
3687 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3688
3689 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3690
3691 Cleanup Eshell to rely less on dynamic scoping.
3692 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3693 last-value, and ext-command here. Bind `args' closer to `body'.
3694 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3695 (eshell--args): Declare new dynamic var.
3696 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3697 last-value, and ext-command. Pass `args' to `body'.
3698 (eshell-process-args): Bind eshell--args.
3699 (eshell-set-option): Use eshell--args.
3700 * eshell/eshell.el (eshell): Use derived-mode-p.
3701 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3702 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3703 (eshell-glob-function): Declare.
3704 * eshell/esh-util.el: Require cl-lib.
3705 (eshell-read-hosts-file): Avoid add-to-list.
3706 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3707 `err'.
3708 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3709 Declare.
3710 (eshell/diff): Remove unused var `err'.
3711 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3712 `killflag'.
3713 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3714 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3715 first use.
3716 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3717 Move declaration before first use.
3718 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3719 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3720 rely on cl-return.
3721
3722 2013-09-12 Glenn Morris <rgm@gnu.org>
3723
3724 * term/ns-win.el (global-map): Remove binding for ispell-next,
3725 deleted 1999-05-29. (Bug#15357)
3726
3727 2013-09-11 Glenn Morris <rgm@gnu.org>
3728
3729 * echistory.el (electric-command-history): Remove call to deleted func.
3730
3731 * play/landmark.el (landmark-mode): Fix typos.
3732
3733 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3734 Check cvs-sort-ignore-file is bound.
3735
3736 * savehist.el: No need for cl when compiling on Emacs.
3737
3738 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3739
3740 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3741 (bug#15338).
3742 (eshell-self-insert-command, eshell-send-invisible):
3743 Remove unused argument.
3744 (eshell-handle-control-codes): Remove unused var `orig'.
3745 Avoid delete-backward-char.
3746
3747 * files.el (set-auto-mode): Simplify a bit further.
3748
3749 2013-09-11 Glenn Morris <rgm@gnu.org>
3750
3751 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3752 (set-auto-mode): Don't regexp-quote elements.
3753 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3754 * progmodes/cc-mode.el (interpreter-mode-alist):
3755 * progmodes/ruby-mode.el (interpreter-mode-alist):
3756 Revert previous change.
3757
3758 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3759
3760 * play/snake.el (snake-mode):
3761 * play/mpuz.el (mpuz-mode):
3762 * play/landmark.el (lm-mode):
3763 * play/blackbox.el (blackbox-mode):
3764 * play/5x5.el (5x5-mode):
3765 * obsolete/options.el (Edit-options-mode):
3766 * net/quickurl.el (quickurl-list-mode):
3767 * net/newst-treeview.el (newsticker-treeview-mode):
3768 * mail/rmailsum.el (rmail-summary-mode):
3769 * mail/mspools.el (mspools-mode):
3770 * locate.el (locate-mode):
3771 * ibuffer.el (ibuffer-mode):
3772 * emulation/ws-mode.el (wordstar-mode):
3773 * emacs-lisp/debug.el (debugger-mode):
3774 * array.el (array-mode):
3775 * net/eudc.el (eudc-mode): Use define-derived-mode.
3776 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3777 Move initialization into declaration.
3778 (mairix-searches-mode): Use define-derived-mode.
3779 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3780 (eudc-edit-hotlist): Use dolist.
3781 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3782 (Man-mode): Use define-derived-mode.
3783 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3784 (Info-edit-mode): Use define-derived-mode.
3785 (Info-cease-edit): Use Info-mode.
3786 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3787 into declaration.
3788 (eshell-mode): Use define-derived-mode.
3789 * chistory.el (command-history-mode-map): Rename from
3790 command-history-map.
3791 (command-history-mode): Use define-derived-mode.
3792 (Command-history-setup): Remove function.
3793 * calc/calc.el (calc-trail-mode-map): New var.
3794 (calc-trail-mode): Use define-derived-mode.
3795 (calc-trail-buffer): Set calc-main-buffer manually.
3796 * bookmark.el (bookmark-insert-annotation): New function.
3797 (bookmark-edit-annotation): Use it.
3798 (bookmark-edit-annotation-mode): Make it a proper major mode.
3799 (bookmark-send-edited-annotation): Use derived-mode-p.
3800 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3801 closer to its ideal place. Use \' to match EOS.
3802
3803 * profiler.el (profiler-calltree-find): Use function-equal.
3804
3805 2013-09-10 Glenn Morris <rgm@gnu.org>
3806
3807 * files.el (interpreter-mode-alist): Convert to regexps.
3808 (set-auto-mode): Adapt for this. (Bug#15306)
3809 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3810 Comment out unused variable.
3811 * progmodes/cc-mode.el (interpreter-mode-alist):
3812 * progmodes/python.el (interpreter-mode-alist):
3813 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3814 * progmodes/sh-script.el (sh-set-shell):
3815 No longer use interpreter-mode-alist to get list of shells.
3816
3817 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3818
3819 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3820
3821 * simple.el: Use set-temporary-overlay-map for universal-argument.
3822 (universal-argument-map): Don't use default-bindings (bug#15317).
3823 Bind switch-frame explicitly. Replace universal-argument-minus with
3824 a conditional binding.
3825 (universal-argument-num-events, saved-overriding-map): Remove.
3826 (restore-overriding-map): Remove.
3827 (universal-argument--mode): Rename from save&set-overriding-map,
3828 and rewrite.
3829 (universal-argument, universal-argument-more, negative-argument)
3830 (digit-argument): Adjust accordingly.
3831 (universal-argument-minus): Remove.
3832 (universal-argument-other-key): Remove.
3833
3834 * subr.el (with-demoted-errors): Add `format' argument.
3835
3836 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3837
3838 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3839 `tramp-cleanup-connection'.
3840
3841 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3842 parameters KEEP-DEBUG and KEEP-PASSWORD.
3843
3844 * net/tramp.el (tramp-file-name-handler):
3845 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3846 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3847 (tramp-maybe-open-connection):
3848 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3849 Use `tramp-cleanup-connection'.
3850
3851 * net/tramp-sh.el (tramp-maybe-open-connection):
3852 Catch 'uname-changed inside the progress reporter.
3853
3854 2013-09-10 Glenn Morris <rgm@gnu.org>
3855
3856 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3857
3858 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3859 returns "alternate access method" in mode (eg "-rw-r--r--.").
3860
3861 2013-09-08 Glenn Morris <rgm@gnu.org>
3862
3863 * saveplace.el (load-save-place-alist-from-file):
3864 Demote errors. (Bug#15305)
3865
3866 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3867
3868 Improve compatibility with older Emacsen, and XEmacs.
3869
3870 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3871 only if it is bound. It isn't for XEmacs.
3872 (with-tramp-progress-reporter): Do not let-bind `result'.
3873 This yields to scoping errors in XEmacs.
3874 (tramp-handle-make-auto-save-file-name): New function, moved from
3875 tramp-sh.el.
3876
3877 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3878 for `make-auto-save-file-name'.
3879 (tramp-adb--gnu-switches-to-ash):
3880 Use `tramp-compat-replace-regexp-in-string'.
3881
3882 * net/tramp-cache.el (tramp-cache-print): Call
3883 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3884
3885 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3886 bound. It isn't for XEmacs.
3887
3888 * net/tramp-compat.el (tramp-compat-copy-file):
3889 Catch `wrong-number-of-arguments' error.
3890 (tramp-compat-replace-regexp-in-string): New defun.
3891
3892 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3893 for `make-auto-save-file-name'.
3894 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3895 `copy-file'.
3896 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3897 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3898 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3899
3900 * net/tramp-gw.el (tramp-gw-open-network-stream):
3901 Use `tramp-compat-replace-regexp-in-string'.
3902
3903 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3904 Call `tramp-handle-make-auto-save-file-name'.
3905 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3906 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3907 (tramp-sh-file-inotifywait-process-filter):
3908 Use `tramp-compat-replace-regexp-in-string'.
3909 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3910
3911 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3912 for `make-auto-save-file-name'.
3913 (tramp-smb-handle-copy-directory):
3914 Call `tramp-compat-replace-regexp-in-string'.
3915 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3916 (tramp-smb-handle-copy-file): Improve error message.
3917 (tramp-smb-handle-rename-file): Rename directly only in case
3918 `newname' does not exist yet. This is a restriction of smbclient.
3919 (tramp-smb-maybe-open-connection): Rerun the function only when
3920 `auth-sources' is non-nil.
3921
3922 2013-09-08 Kenichi Handa <handa@gnu.org>
3923
3924 * international/characters.el: Set category "^" (Combining) for
3925 more characters.
3926
3927 2013-09-07 Alan Mackenzie <acm@muc.de>
3928
3929 Correctly fontify Java class constructors.
3930 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3931 in Java Mode.
3932 (c-recognize-typeless-decls): Set the Java value to t.
3933 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3934 While handling a "(", add a check for, effectively, Java, and handle a
3935 "typeless" declaration there.
3936
3937 2013-09-07 Roland Winkler <winkler@gnu.org>
3938
3939 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3940 field subtitle for entry type book.
3941
3942 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3943
3944 * minibuffer.el: Make minibuffer-complete call completion-in-region
3945 rather than other way around.
3946 (completion--some, completion-pcm--find-all-completions):
3947 Don't delay signals when debugging.
3948 (minibuffer-completion-contents): Beware fields within the
3949 minibuffer contents.
3950 (completion-all-sorted-completions): Use defvar-local.
3951 (completion--do-completion, completion--cache-all-sorted-completions)
3952 (completion-all-sorted-completions, minibuffer-force-complete):
3953 Add args `beg' and `end'.
3954 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3955 (minibuffer-complete): Use completion-in-region.
3956 (completion-complete-and-exit): New fun, extracted from
3957 minibuffer-complete-and-exit.
3958 (minibuffer-complete-and-exit): Use it.
3959 (completion--complete-and-exit): Rename from
3960 minibuffer--complete-and-exit.
3961 (completion-in-region--single-word): New function, extracted from
3962 minibuffer-complete-word.
3963 (minibuffer-complete-word): Use it.
3964 (display-completion-list): Make `common-substring' argument obsolete.
3965 (completion--in-region): Call completion--in-region-1 instead of
3966 minibuffer-complete.
3967 (completion-help-at-point): Pass boundaries to
3968 minibuffer-completion-help as args rather than via an overlay.
3969 (completion-pcm--string->pattern): Use `any-delim'.
3970 (completion-pcm--optimize-pattern): New function.
3971 (completion-pcm--pattern->regex): Handle `any-delim'.
3972 * icomplete.el (icomplete-forward-completions)
3973 (icomplete-backward-completions, icomplete-completions):
3974 Adjust calls to completion-all-sorted-completions and
3975 completion--cache-all-sorted-completions.
3976 (icomplete-with-completion-tables): Default to t.
3977 * emacs-lisp/crm.el (crm--current-element): Rename from
3978 crm--select-current-element. Don't put an overlay but return the
3979 boundaries instead.
3980 (crm--completion-command): Take two new args to bind to the boundaries.
3981 (crm-completion-help): Adjust accordingly.
3982 (crm-complete): Use completion-in-region.
3983 (crm-complete-word): Use completion-in-region--single-word.
3984 (crm-complete-and-exit): Use completion-complete-and-exit.
3985
3986 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3987
3988 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3989 than dynamically.
3990
3991 2013-09-06 Juri Linkov <juri@jurta.org>
3992
3993 * info.el (Info-display-images-node): When image file doesn't exist
3994 display text version of the image if it's provided in the Info file.
3995 Otherwise, display the location of missing image from SRC attribute.
3996 Add help-echo text property from ALT attribute. (Bug#15279)
3997
3998 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3999
4000 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4001 (edit-abbrevs-mode): Use define-derived-mode.
4002
4003 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4004 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4005 that it's defined.
4006 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4007 Use define-derived-mode.
4008
4009 * epg.el (epg-start-encrypt): Minor CSE simplification.
4010
4011 2013-09-06 William Xu <william.xwl@gmail.com>
4012
4013 * arc-mode.el: Add support for 7za (bug#15264).
4014 (archive-7z-program): New var.
4015 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4016 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4017 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4018
4019 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4020
4021 Remove URL syntax.
4022
4023 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4024 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4025 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4026 (tramp-postfix-host-format, tramp-file-name-regexp)
4027 (tramp-completion-file-name-regexp)
4028 (tramp-completion-dissect-file-name)
4029 (tramp-handle-substitute-in-file-name): Remove 'url case.
4030 (tramp-file-name-regexp-url)
4031 (tramp-completion-file-name-regexp-url): Remove constants.
4032
4033 2013-09-06 Glenn Morris <rgm@gnu.org>
4034
4035 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4036
4037 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4038
4039 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4040 keywords" below "here-doc beginnings" (Bug#15270).
4041
4042 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4043
4044 * subr.el (pop): Use `car-safe'.
4045 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4046 to detect unused `pop' return value.
4047
4048 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4049 var `block-regexp'.
4050 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4051 (python-fill-string): Remove unused var `marker'.
4052 (python-skeleton-add-menu-items): Remove unused var `items'.
4053
4054 * international/mule-cmds.el: Require CL.
4055 (find-coding-systems-for-charsets): Avoid add-to-list.
4056 (sanitize-coding-system-list): New function, extracted from
4057 select-safe-coding-system-interactively.
4058 (select-safe-coding-system-interactively): Use it.
4059 (read-input-method-name): Accept symbols for `default'.
4060
4061 * emacs-lisp/advice.el (defadvice): Add indent rule.
4062
4063 2013-09-05 Daniel Hackney <dan@haxney.org>
4064
4065 * dired-x.el:
4066 * net/ange-ftp.el:
4067 * net/browse-url.el:
4068 * net/dbus.el:
4069 * net/eudc.el:
4070 * net/eudcb-ldap.el:
4071 * net/eww.el:
4072 * net/imap.el:
4073 * printing.el:
4074 * vc/ediff-diff.el:
4075 * vc/ediff-init.el:
4076 * vc/ediff-merg.el:
4077 * vc/ediff-mult.el:
4078 * vc/ediff-util.el:
4079 * vc/ediff-wind.el:
4080 * vc/ediff.el:
4081 * vc/emerge.el:
4082 * vc/pcvs.el:
4083 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4084 byte compiler. Remove some unused let-bound variables.
4085
4086 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4087
4088 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4089 a "ref-cell", since it gets better optimized (bug#14883).
4090
4091 2013-09-05 Glenn Morris <rgm@gnu.org>
4092
4093 * progmodes/cc-awk.el (c-forward-sws): Declare.
4094
4095 2013-09-04 Glenn Morris <rgm@gnu.org>
4096
4097 * generic-x.el [rul-generic-mode]: Require cc-mode.
4098 (c++-mode-syntax-table): Declare.
4099 (rul-generic-mode-syntax-table): Init in the defvar.
4100
4101 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4102
4103 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4104 (vc-do-command, vc-set-async-update):
4105 * vc/vc-mtn.el (vc-mtn-dir-status):
4106 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4107 (vc-hg-pull, vc-hg-merge-branch):
4108 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4109 (vc-git-merge-branch):
4110 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4111 (vc-cvs-dir-status-files):
4112 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4113 (vc-bzr-dir-status-files):
4114 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4115 * vc/vc-annotate.el: Use lexical-binding.
4116 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4117 (vc-sentinel-movepoint): Declare.
4118 (vc-annotate): Don't use `goto-line'.
4119 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4120 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4121 (vc-sentinel-movepoint): Declare.
4122 * vc/vc-svn.el: Use lexical-binding.
4123 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4124 * vc/vc-sccs.el:
4125 * vc/vc-rcs.el: Use lexical-binding.
4126
4127 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4128 `deleted'. Don't drop errors silently.
4129
4130 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4131
4132 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4133
4134 * vc/vc.el (vc-ignore): Rewrite.
4135 (vc-default-ignore): New function.
4136 (vc-default-ignore-completion-table): Use find-ignore-file.
4137
4138 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4139 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4140 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4141 Remove. Most code moved to vc.el.
4142
4143 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4144
4145 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4146 * net/tramp-smb.el (tramp-smb-get-file-entries):
4147 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4148 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4149
4150 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4151 Update call to it.
4152 (eww-change-select): Remove unused var `properties'.
4153 (eww-make-unique-file-name): Remove unused var `base'.
4154
4155 * finder.el (finder-compile-keywords): Don't mess with windows.
4156
4157 * calculator.el (calculator-funcall): Fix typo in last change.
4158
4159 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4160
4161 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4162 <pkg>-autoloads.el file stop us.
4163
4164 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4165 warnings, and factor out common code.
4166
4167 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4168
4169 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4170 two-character operators and whether the character preceding them
4171 changes their meaning (Bug#15208).
4172
4173 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4174
4175 Format code sent to Python shell for robustness.
4176 * progmodes/python.el (python-shell-buffer-substring):
4177 New function.
4178 (python-shell-send-region, python-shell-send-buffer): Use it.
4179
4180 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4181
4182 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4183 * net/tramp.el (tramp-user-error): ... here.
4184 (tramp-find-method, tramp-check-proper-host)
4185 (tramp-dissect-file-name, tramp-debug-message)
4186 (tramp-handle-shell-command):
4187 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4188 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4189
4190 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4191
4192 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4193
4194 * avoid.el (mouse-avoidance-point-position)
4195 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4196 returns nil.
4197
4198 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4199
4200 * progmodes/python.el (python-shell-completion-get-completions):
4201 Drop use of deleted `comint-last-prompt-overlay'.
4202 (python-nav-if-name-main): New command.
4203
4204 2013-09-01 Glenn Morris <rgm@gnu.org>
4205
4206 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4207 Avoid leading space in $wins. Otherwise the sed command used by
4208 eg compile-main ends up containing "/*.el". (Bug#15170)
4209
4210 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4211
4212 2013-08-30 Glenn Morris <rgm@gnu.org>
4213
4214 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4215 Fix is-this-a-directory logic. (Bug#15220)
4216
4217 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4218
4219 * textmodes/css-mode.el: Use SMIE.
4220 (css-smie-grammar): New var.
4221 (css-smie--forward-token, css-smie--backward-token)
4222 (css-smie-rules): New functions.
4223 (css-mode): Use them.
4224 (css-navigation-syntax-table): Remove var.
4225 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4226 (css-indent-calculate, css-indent-line): Remove functions.
4227
4228 Misc changes to reduce use of `(lambda...); and other cleanups.
4229 * cus-edit.el: Use lexical-binding.
4230 (customize-push-and-save, customize-apropos)
4231 (custom-buffer-create-internal): Use closures.
4232 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4233 * progmodes/ada-xref.el: Use setq.
4234 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4235 * dframe.el: Use lexical-binding.
4236 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4237 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4238 * descr-text.el: Use lexical-binding.
4239 (describe-text-widget, describe-text-sexp, describe-property-list):
4240 Use closures.
4241 * comint.el (comint-history-isearch-push-state): Use a closure.
4242 * calculator.el: Use lexical-binding.
4243 (calculator-number-to-string): Make it work with lexical-binding.
4244 (calculator-funcall): Same and use cl-letf.
4245
4246 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4247 (lisp--company-doc-string, lisp--company-location): New functions.
4248 (lisp-completion-at-point): Use them to improve Company support.
4249
4250 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4251 params of lambda expressions.
4252 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4253 (ruby-smie--opening-pipe-p): New function.
4254 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4255 symbols and matched |...| for formal params.
4256 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4257 from being treated as hanging. Handle "rescue".
4258
4259 2013-08-29 Glenn Morris <rgm@gnu.org>
4260
4261 * progmodes/cc-engine.el (c-pull-open-brace):
4262 Move definition before use.
4263
4264 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4265
4266 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4267 are immutable. Don't use `unsafe' any more.
4268 (cl--defsubst-expand): Don't substitute at the same time as keeping
4269 a residual unused let-binding. Don't use `unsafe' any more.
4270
4271 2013-08-29 Glenn Morris <rgm@gnu.org>
4272
4273 * calendar/cal-china.el (calendar-chinese-year-cache):
4274 Recenter on 2015.
4275
4276 * nxml/nxml-util.el (nxml-debug-clear-inside):
4277 Use cl-loop rather than loop.
4278
4279 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4280
4281 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4282
4283 2013-08-28 Glenn Morris <rgm@gnu.org>
4284
4285 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4286
4287 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4288
4289 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4290
4291 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4292
4293 * simple.el (repeat-complex-command--called-interactively-skip):
4294 New function.
4295 (repeat-complex-command): Use it (bug#14136).
4296
4297 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4298 (c-define-abbrev-table): Add `doc' argument.
4299 (c-mode-abbrev-table, c++-mode-abbrev-table)
4300 (objc-mode-abbrev-table, java-mode-abbrev-table)
4301 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4302 (awk-mode-abbrev-table): Use it.
4303 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4304 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4305 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4306 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4307 Move initialization into the declaration; and remove any
4308 autoload cookie.
4309
4310 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4311 and dynamic let binding.
4312
4313 * vc/smerge-mode.el: Remove redundant :group args.
4314
4315 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4316 to load-path.
4317
4318 2013-08-28 Juri Linkov <juri@jurta.org>
4319
4320 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4321 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4322 (isearch-other-meta-char): Handle an undefined shifted printing
4323 character by downshifting it. (Bug#15200)
4324
4325 2013-08-28 Juri Linkov <juri@jurta.org>
4326
4327 * isearch.el (isearch-search): Change regexp error message for
4328 non-regexp searches. (Bug#15166)
4329
4330 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4331
4332 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4333 for portability to hosts where /bin/sh has problems.
4334
4335 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4336
4337 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4338
4339 2013-08-27 Juri Linkov <juri@jurta.org>
4340
4341 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4342 in the keyboard macro. (Bug#15126)
4343
4344 2013-08-27 Juri Linkov <juri@jurta.org>
4345
4346 * isearch.el (isearch-quote-char): Comment out converting unibyte
4347 to multibyte, thus syncing with its `quoted-insert' counterpart.
4348 (Bug#15166)
4349
4350 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4351
4352 * window.el (display-buffer-use-some-window): Add missing
4353 argument in call of get-largest-window (Bug#15185).
4354 Reported by Stephen Leake.
4355
4356 2013-08-27 Glenn Morris <rgm@gnu.org>
4357
4358 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4359
4360 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4361
4362 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4363 from a matcher-function unless there's no more matches (bug#15161).
4364
4365 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4366
4367 * minibuffer.el: Revert change from 2013-08-20.
4368
4369 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4370 with text property `tramp-default', if appropriate.
4371 (tramp-check-proper-host): New defun.
4372 (tramp-dissect-file-name): Do not check hostname. Revert change
4373 of 2013-03-18.
4374 (tramp-backtrace): Make VEC-OR-PROC optional.
4375
4376 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4377 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4378 * net/tramp-sh.el (tramp-maybe-open-connection):
4379 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4380 Apply `tramp-check-proper-host'.
4381
4382 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4383
4384 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4385 lambda expression in order to have `describe-variable' display it.
4386
4387 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4388
4389 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4390 BUF can be optional. (Bug#15186)
4391
4392 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4393
4394 * progmodes/flymake.el (flymake-get-real-file-name-function):
4395 Fix broken customization. (Bug#15184)
4396
4397 2013-08-25 Alan Mackenzie <acm@muc.de>
4398
4399 Improve indentation of bracelists defined by macros (without "=").
4400
4401 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4402 expansion begins with "{", regard it as bracelist when it doesn't
4403 contain a ";".
4404
4405 Parse C++ inher-intro when there's a template split over 2 lines.
4406
4407 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4408 rigorously the search for "class" etc. followed by ":".
4409
4410 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4411 random languages a regexp which never matches rather than nil.
4412
4413 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4414
4415 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4416 (c-awk-regexp-one-line-possibly-open-char-list-re)
4417 (c-awk-one-line-possibly-open-regexp-re)
4418 (c-awk-one-line-non-syn-ws*-re): Remove.
4419 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4420 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4421 (c-awk-space*-unclosed-regexp-/-re): New constants.
4422 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4423 aren't regexp delimiters.
4424
4425 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4426 handling for a rare situation in AWK Mode involving unterminated
4427 strings/regexps.
4428
4429 2013-08-23 Glenn Morris <rgm@gnu.org>
4430
4431 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4432
4433 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4434
4435 * files.el (create-file-buffer): If the result would begin with
4436 spaces, prepend a "|" instead of removing them. (Bug#15162)
4437
4438 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4439
4440 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4441 text-properties (bug#15155).
4442
4443 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4444 exist any more.
4445 (calc-keypad-redraw): Remove unused var `pad'.
4446 (calc-keypad-press): Remove unused var `menu'.
4447
4448 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4449
4450 * window.el (display-buffer-pop-up-frame):
4451 Call pop-up-frame-function with BUFFER current so `make-frame' will
4452 use it as the new frame's buffer (Bug#15133).
4453
4454 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4455
4456 * calendar/timeclock.el: Minor cleanups.
4457 (timeclock-ask-before-exiting, timeclock-use-display-time):
4458 Use `symbol'.
4459 (timeclock-modeline-display): Define as alias before the
4460 actual definition.
4461 (timeclock-mode-line-display): Use define-minor-mode.
4462 (timeclock-day-list-template): Make it a function, add an argument.
4463 (timeclock-day-list-required, timeclock-day-list-length)
4464 (timeclock-day-list-debt, timeclock-day-list-span)
4465 (timeclock-day-list-break): Adjust calls accordingly.
4466
4467 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4468
4469 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4470 Use read--expression so that completion works again.
4471
4472 2013-08-21 Sam Steingold <sds@gnu.org>
4473
4474 Add rudimentary inferior shell interaction
4475 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4476 (sh-set-shell): Reset it.
4477 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4478 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4479
4480 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4481
4482 * align.el: Use lexical-binding.
4483 (align-region): Simplify accordingly.
4484
4485 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4486
4487 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4488
4489 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4490 `non-essential' up.
4491
4492 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4493
4494 * net/tramp.el:
4495 * net/tramp-adb.el:
4496 * net/tramp-cmds.el:
4497 * net/tramp-ftp.el:
4498 * net/tramp-gvfs.el:
4499 * net/tramp-gw.el:
4500 * net/tramp-sh.el: Don't wrap external variable declarations by
4501 `eval-when-compile'.
4502
4503 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4504
4505 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4506 now that Emacs supports ImageMagick animations.
4507
4508 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4509
4510 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4511 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4512
4513 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4514
4515 * window.el (mouse-autoselect-window-select): Do autoselect when
4516 mouse pointer is on margin.
4517
4518 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4519
4520 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4521
4522 2013-08-16 Glenn Morris <rgm@gnu.org>
4523
4524 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4525 Handle "Remote Directory" response of some clients. (Bug#15058)
4526
4527 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4528 Tweak warning. (Bug#14926)
4529
4530 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4531 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4532
4533 * image-mode.el (image-mode-map): Add menu items to reverse,
4534 increase, decrease, reset animation speed.
4535 (image--set-speed, image-increase-speed, image-decrease-speed)
4536 (image-reverse-speed, image-reset-speed): New functions.
4537 (image-mode-map): Add bindings for speed commands.
4538
4539 * image.el (image-animate-get-speed, image-animate-set-speed):
4540 New functions.
4541 (image-animate-timeout): Respect image :speed property.
4542
4543 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4544
4545 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4546 previous line (bug#15101).
4547 (debugger-eval-expression, debugger-record-expression):
4548 Use read--expression (bug#15102).
4549
4550 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4551
4552 Remove byte compiler warnings, visible when compiling with
4553 `byte-compile-force-lexical-warnings' set to t.
4554
4555 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4556 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4557 (tramp-handle-unhandled-file-name-directory)
4558 (tramp-handle-file-notify-add-watch, tramp-action-login)
4559 (tramp-action-succeed, tramp-action-permission-denied)
4560 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4561 arguments with "_".
4562
4563 * net/tramp-adb.el (tramp-adb-parse-device-names)
4564 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4565 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4566 (tramp-adb-handle-file-truename): Remove unused arguments.
4567
4568 * net/tramp-cache.el (tramp-flush-directory-property)
4569 (tramp-flush-connection-property, tramp-list-connections)
4570 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4571
4572 * net/tramp-compat.el (tramp-compat-make-temp-file):
4573 Rename FILENAME to F.
4574
4575 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4576 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4577 (tramp-zeroconf-parse-workstation-device-names)
4578 (tramp-zeroconf-parse-webdav-device-names)
4579 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4580
4581 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4582 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4583
4584 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4585 arguments.
4586 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4587 (tramp-sh-handle-insert-file-contents-literally)
4588 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4589 with "_".
4590 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4591 Remove unused variables.
4592
4593 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4594 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4595 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4596
4597 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4598 Make them a defconst.
4599 (tramp-uuencode-region): Remove unused variable.
4600
4601 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4602
4603 * frameset.el (frameset--prop-setter): New function.
4604 (frameset-prop): Add gv-setter declaration.
4605 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4606 parameter was already set in FILTERED. Doc fix.
4607 (frameset--record-minibuffer-relationships): Allow saving a
4608 minibufferless frame without its corresponding minibuffer frame.
4609 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4610 frame, if the frame id matches.
4611 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4612 frames before orphaned ones.
4613 (frameset-restore): Warn about orphaned windows, instead of error out.
4614
4615 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4616
4617 * window.el (window-make-atom): Don't overwrite parameter
4618 already present.
4619 (display-buffer-in-atom-window): Handle special case where we
4620 split an already atomic window.
4621 (window--major-non-side-window, display-buffer-in-side-window)
4622 (window--side-check): Ignore minibuffer window when walking
4623 window tree.
4624 (window-deletable-p): Return 'frame only if no other frame uses
4625 our minibuffer window.
4626 (record-window-buffer): Run buffer-list-update-hook.
4627 (split-window): Make sure window--check-frame won't destroy an
4628 existing atomic window in case the new window gets nested
4629 inside.
4630 (display-buffer-at-bottom): Ignore minibuffer window when
4631 walking window tree. Don't split a side window.
4632 (pop-to-buffer): Don't set-buffer here, the select-window call
4633 should do that.
4634 (mouse-autoselect-window-select): Autoselect only if we are in the
4635 text portion of the window.
4636
4637 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4638
4639 * net/shr.el (shr-parse-image-data): New function to grab both the
4640 data itself and the Content-Type.
4641 (shr-put-image): Use it.
4642
4643 * net/eww.el (eww-display-image): Ditto.
4644
4645 * image.el (image-content-type-suffixes): New variable.
4646
4647 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4648
4649 * progmodes/python.el (python-imenu--build-tree)
4650 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4651
4652 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4653
4654 * simple.el (backward-word): Mention the optional argument.
4655
4656 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4657
4658 * frameset.el (frameset--make): Rename constructor from make-frameset.
4659 (frameset-p, frameset-valid-p): Don't autoload.
4660 (frameset-valid-p): Use normal accessors.
4661
4662 2013-08-13 Glenn Morris <rgm@gnu.org>
4663
4664 * progmodes/compile.el (compile-command): Tweak example in doc.
4665 * obsolete/scribe.el (scribe-mode):
4666 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4667
4668 * mail/feedmail.el (feedmail-confirm-outgoing)
4669 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4670
4671 * cus-start.el (truncate-partial-width-windows): Fix type.
4672
4673 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4674
4675 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4676
4677 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4678
4679 * emacs-lisp/timer.el (timer--time-setter): New function.
4680 (timer--time): Use it as gv-setter.
4681
4682 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4683 setter is not a symbol.
4684
4685 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4686
4687 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4688 if sending fails. This makes debugging easier.
4689
4690 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4691
4692 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4693 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4694 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4695
4696 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4697
4698 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4699
4700 2013-08-12 Glenn Morris <rgm@gnu.org>
4701
4702 * format.el (format-annotate-function):
4703 Handle read-only text properties in the source. (Bug#14887)
4704
4705 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4706
4707 * net/eww.el (eww-display-html): Ignore coding system errors.
4708 One web site uses "utf-8lias" as the coding system.
4709
4710 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4711
4712 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4713
4714 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4715
4716 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4717 (tutorial--detailed-help): Remove unused local variables.
4718 (tutorial--save-tutorial-to): Use ignore-errors.
4719 (help-with-tutorial): Use looking-at-p.
4720
4721 * view.el (view-buffer-other-window, view-buffer-other-frame):
4722 Mark unused arguments.
4723
4724 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4725 (woman-select-symbol-fonts, woman, woman-find-file)
4726 (woman-insert-file-contents, woman-non-underline-faces):
4727 Use string-match-p.
4728 (woman1-unquote): Move declaration.
4729
4730 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4731 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4732 argument. Remove unused local variable.
4733 (xml-parse-elem-type): Use string-match-p.
4734 (xml-substitute-numeric-entities): Use ignore-errors.
4735
4736 * calculator.el (calculator): Mark unused argument.
4737 (calculator-paste, calculator-quit, calculator-integer-p):
4738 Use ignore-errors.
4739 (calculator-string-to-number, calculator-decimal, calculator-exp)
4740 (calculator-op-or-exp): Use string-match-p.
4741
4742 * dired.el (dired-buffer-more-recently-used-p): Declare.
4743 (dired-insert-set-properties, dired-insert-old-subdirs):
4744 Use ignore-errors.
4745
4746 * dired-aux.el (dired-compress): Use ignore-errors.
4747 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4748 (dired-do-async-shell-command, dired-do-shell-command)
4749 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4750 (dired-insert-subdir-validate): Use string-match-p.
4751 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4752 (dired-add-entry): Use string-match-p, looking-at-p.
4753 (dired-insert-subdir-newpos): Remove unused local variable.
4754
4755 * filenotify.el (file-notify-callback): Remove unused local variable.
4756
4757 * filesets.el (filesets-error): Mark unused argument.
4758 (filesets-which-command-p, filesets-filter-dir-names)
4759 (filesets-directory-files, filesets-get-external-viewer)
4760 (filesets-ingroup-get-data): Use string-match-p.
4761
4762 * find-file.el (ff-other-file-name, ff-other-file-name)
4763 (ff-find-the-other-file, ff-cc-hh-converter):
4764 Remove unused local variables.
4765 (ff-get-file-name): Use string-match-p.
4766 (ff-all-dirs-under): Use ignore-errors.
4767
4768 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4769 (follow-select-if-visible): Remove unused local variable.
4770
4771 * forms.el (read-file-filter): Move declaration.
4772 (forms--make-format, forms--make-parser, forms-insert-record):
4773 Quote function with #'.
4774 (forms--update): Use string-match-p. Quote function with #'.
4775
4776 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4777 (help-make-xrefs): Use looking-at-p.
4778 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4779
4780 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4781 (ibuffer-confirm-operation-on): Use string-match-p.
4782
4783 * msb.el (msb-item-handler, msb-dired-item-handler):
4784 Mark unused arguments.
4785
4786 * ses.el (ses-decode-cell-symbol)
4787 (ses-kill-override): Remove unused local variable.
4788 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4789 (ses-load): Use ignore-errors, looking-at-p.
4790 (ses-jump-safe): Use ignore-errors.
4791 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4792
4793 * tabify.el (untabify, tabify): Mark unused arguments.
4794
4795 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4796 Mark unused argument.
4797 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4798 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4799
4800 * emacs-lisp/timer.el (timer--time): Define setter with
4801 gv-define-setter to avoid deprecation warning.
4802
4803 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4804 (*record-cmpl-statistics-p*): Remove (was commented out).
4805 (cmpl-statistics-block): Remove (body was commented out).
4806 All callers changed.
4807 (add-completions-from-buffer, load-completions-from-file):
4808 Remove unused variables.
4809
4810 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4811
4812 * filecache.el (file-cache-delete-file-list):
4813 Print message only when told so.
4814 (file-cache-files-matching): Use #' in mapconcat argument.
4815
4816 * ffap.el (ffap-url-at-point): Fix reference to variable
4817 thing-at-point-default-mail-uri-scheme.
4818
4819 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4820
4821 * subr.el (define-error): New function.
4822 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4823 error-file-not-found and define with define-error.
4824 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4825 and define with define-error.
4826 * userlock.el (file-locked, file-supersession):
4827 * simple.el (mark-inactive):
4828 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4829 * progmodes/ada-mode.el (ada-mode-errors):
4830 * play/life.el (life-extinct):
4831 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4832 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4833 * nxml/rng-util.el (rng-error):
4834 * nxml/rng-uri.el (rng-uri-error):
4835 * nxml/rng-match.el (rng-compile-error):
4836 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4837 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4838 * nxml/nxml-rap.el (nxml-scan-error):
4839 * nxml/nxml-outln.el (nxml-outline-error):
4840 * net/soap-client.el (soap-error):
4841 * net/gnutls.el (gnutls-error):
4842 * net/ange-ftp.el (ftp-error):
4843 * mpc.el (mpc-proc-error):
4844 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4845 (json-number-format, json-string-escape, json-string-format)
4846 (json-key-format, json-object-format):
4847 * jka-compr.el (compression-error):
4848 * international/quail.el (quail-error):
4849 * international/kkc.el (kkc-error):
4850 * emacs-lisp/ert.el (ert-test-failed):
4851 * calc/calc.el (calc-error, inexact-result, math-overflow)
4852 (math-underflow):
4853 * bookmark.el (bookmark-error-no-filename):
4854 * epg.el (epg-error): Define with define-error.
4855
4856 * time.el (display-time-event-handler)
4857 (display-time-next-load-average): Don't call sit-for since it seems
4858 unnecessary (bug#15045).
4859
4860 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4861 Use #' instead of ' to quote functions.
4862 (checkdoc-output-mode): Use setq-local.
4863 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4864 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4865 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4866 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4867 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4868 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4869 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4870 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4871
4872 * ido.el (ido-completion-help): Fix up compiler warning.
4873
4874 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4875
4876 * frameset.el (frameset-p): Add autoload cookie.
4877 (frameset--jump-to-register): New function, based on code moved from
4878 register.el.
4879 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4880
4881 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4882 (frameset-restore, frameset-save, frameset-session-filter-alist):
4883 Remove declarations.
4884 (register-alist): Doc fix.
4885 (frameset-to-register): Move to frameset.el.
4886 (jump-to-register, describe-register-1): Remove frameset-specific code.
4887
4888 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4889
4890 * allout-widgets.el (allout-widgets-pre-command-business)
4891 (allout-widgets-post-command-business)
4892 (allout-widgets-after-change-handler)
4893 (allout-decorate-item-and-context, allout-set-boundary-marker)
4894 (allout-body-modification-handler)
4895 (allout-graphics-modification-handler): Mark ignored arguments.
4896 (allout-widgets-post-command-business)
4897 (allout-widgets-exposure-change-processor)
4898 (allout-widgets-exposure-undo-processor)
4899 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4900 (allout-parse-item-at-point, allout-decorate-item-guides)
4901 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4902 * allout.el (epa-passphrase-callback-function): Declare.
4903 (allout-overlay-insert-in-front-handler)
4904 (allout-overlay-interior-modification-handler)
4905 (allout-isearch-end-handler, allout-chart-siblings)
4906 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4907 (allout-yank-processing, allout-process-exposed)
4908 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4909 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4910 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4911 (lisp-indent-defform): Mark ignored arguments.
4912 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4913 (calculate-lisp-indent): Remove unused variables.
4914 * international/characters.el (indian-2-column, arabic-2-column)
4915 (tibetan): Mark ignored arguments.
4916 (use-cjk-char-width-table): Mark ignored arguments.
4917 Remove unused variables.
4918 * international/fontset.el (build-default-fontset-data)
4919 (x-compose-font-name, create-fontset-from-fontset-spec):
4920 Mark ignored arguments.
4921 (fontset-plain-name): Remove unused variables.
4922 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4923 (keyboard-coding-system): Mark ignored arguments.
4924 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4925 * help.el (resize-temp-buffer-window):
4926 * window.el (display-buffer-in-major-side-window)
4927 (display-buffer-in-side-window, display-buffer-in-previous-window):
4928 Remove unused variables.
4929 * isearch.el (isearch-forward-symbol):
4930 * version.el (emacs-bzr-version-bzr):
4931 * international/mule-cmds.el (current-language-environment):
4932 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4933 (x-handle-display):
4934 * term/pc-win.el (x-list-fonts, x-display-planes)
4935 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4936 (x-server-version, x-display-screens, x-display-mm-height)
4937 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4938 (x-selection-owner-p, x-own-selection-internal)
4939 (x-disown-selection-internal, x-get-selection-internal)
4940 (msdos-initialize-window-system):
4941 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4942 * term/x-win.el (x-handle-no-bitmap-icon):
4943 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4944 (vc-default-find-file-hook, vc-default-extra-menu):
4945 Mark ignored arguments.
4946
4947 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4948
4949 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4950 break-condition in the context of the debugged code (bug#12685).
4951
4952 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4953
4954 * comint.el:
4955 Do not use an overlay to highlight the last prompt. (Bug#14744)
4956 (comint-mode): Make comint-last-prompt buffer local.
4957 (comint-last-prompt): New variable.
4958 (comint-last-prompt-overlay): Remove. Superseded by
4959 comint-last-prompt.
4960 (comint-snapshot-last-prompt, comint-output-filter):
4961 Use comint-last-prompt.
4962
4963 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4964
4965 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4966 (frameset-save): Check validity of the resulting frameset.
4967
4968 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4969
4970 * ido.el (ido-record-command): Add doc string.
4971
4972 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4973
4974 * frameset.el (frameset): Do not disable creation of the default
4975 frameset-p predicate. Doc fix.
4976 (frameset-valid-p): New function, copied from the old predicate-p.
4977 Add additional checks.
4978 (frameset-restore): Check with frameset-valid-p.
4979 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4980 (frameset-name, frameset-description, frameset-properties)
4981 (frameset-states): Add docstring.
4982 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4983 (frameset-filter-alist): Doc fixes.
4984
4985 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4986
4987 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4988
4989 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4990
4991 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4992 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4993 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4994 (byte-compile-normal-call): Remove obsolescence check.
4995
4996 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4997
4998 * frameset.el (frameset-restore): Doc fix.
4999
5000 * register.el (frameset-frame-id, frameset-frame-with-id)
5001 (frameset-p, frameset-restore, frameset-save): Declare.
5002 (register-alist): Document framesets.
5003 (frameset-session-filter-alist): Declare.
5004 (frameset-to-register): New function.
5005 (jump-to-register): Implement jumping to framesets. Doc fix.
5006 (describe-register-1): Describe framesets.
5007
5008 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5009
5010 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5011
5012 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5013 Use lexical-binding.
5014
5015 * frameset.el (frameset): Use type vector, not list (incompatible
5016 change). Do not declare a new constructor, use the default one.
5017 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5018 `name' and `description', respectively, and add read-only slot
5019 `timestamp'. Doc fixes.
5020 (frameset-copy, frameset-persistent-filter-alist)
5021 (frameset-filter-alist, frameset-switch-to-gui-p)
5022 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5023 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5024 (frameset-filter-iconified, frameset-keep-original-display-p):
5025 Doc fixes.
5026 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5027 Rename from frameset-filter-(save|restore)-param. All callers changed.
5028 Doc fix.
5029 (frameset-p): Adapt to change to vector and be more thorough.
5030 Change arg name to OBJECT. Doc fix.
5031 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5032 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5033 All callers changed.
5034 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5035 All callers changed.
5036 (frameset--record-minibuffer-relationships): Rename from
5037 frameset--process-minibuffer-frames. All callers changed.
5038 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5039 Use new default constructor (again). Doc fix.
5040 (frameset--find-frame-if): Rename from `frameset--find-frame.
5041 All callers changed.
5042 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5043 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5044 Doc fix.
5045 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5046 PARAMETERS and WINDOW-STATE, respectively.
5047 (frameset-restore): Add new keyword argument PREDICATE.
5048 Reset frameset--target-display to nil. Doc fix.
5049
5050 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5051
5052 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5053 (bat-mode): Use it.
5054 (bat-mode-syntax-table): Mark \n as end-of-comment.
5055 (bat-font-lock-keywords): Remove comment rule.
5056
5057 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5058 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5059
5060 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5061 (byte-compile-callargs-warn): Use `push'.
5062 (byte-compile-arglist-warn): Ignore higher-order "calls".
5063 (byte-compile-file-form-autoload): Use `pcase'.
5064 (byte-compile-function-form): If quoting a symbol, check that it exists.
5065
5066 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5067
5068 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5069 and add a few popular commands found in batch files.
5070 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5071 (dos-mode): Doc fixes.
5072
5073 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5074
5075 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5076 (dos-mode): Use setq-local. Add space after "rem".
5077 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5078 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5079
5080 2013-08-07 Arni Magnusson <arnima@hafro.is>
5081
5082 * progmodes/dos.el: New file.
5083 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5084 dos-mode.
5085
5086 2013-08-06 Glenn Morris <rgm@gnu.org>
5087
5088 * calendar/calendar.el: Add new faces, and day-header-array.
5089 (calendar-weekday-header, calendar-weekend-header)
5090 (calendar-month-header): New faces.
5091 (calendar-day-header-construct): New function.
5092 (calendar-day-header-width): Also :set calendar-day-header-array.
5093 (calendar-american-month-header, calendar-european-month-header)
5094 (calendar-iso-month-header): Use calendar- faces.
5095 (calendar-generate-month):
5096 Use calendar-day-header-array for day headers; apply faces to them.
5097 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5098 (calendar-abbrev-construct): Add optional maxlen argument.
5099 (calendar-day-name-array): Doc fix.
5100 (calendar-day-name-array, calendar-abbrev-length)
5101 (calendar-day-abbrev-array):
5102 Also :set calendar-day-header-array, and maybe redraw.
5103 (calendar-day-header-array): New option. (Bug#15007)
5104 (calendar-font-lock-keywords): Set to nil and make obsolete.
5105 (calendar-day-name): Add option to use header array.
5106
5107 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5108
5109 * net/shr.el (shr-render-td): Remove debugging.
5110 (shr-render-td): Make width computation consistent by defaulting
5111 all zero-width columns to 10 characters. This may not be optimal,
5112 but it's at least consistent.
5113 (shr-make-table-1): Redo last change to fix the real problem in
5114 colspan handling.
5115
5116 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5117
5118 * files.el (cache-long-line-scans):
5119 Make obsolete alias to `cache-long-scans'.
5120
5121 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5122
5123 * frameset.el (frameset, frameset-filter-alist)
5124 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5125 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5126 (frameset-compute-pos): Rename from frameset--compute-pos,
5127 and add docstring.
5128 (frameset-move-onscreen): Use frameset-compute-pos.
5129 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5130
5131 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5132 Fix typos in docstrings.
5133
5134 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5135
5136 * frame.el (get-other-frame): Tiny cleanup.
5137
5138 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5139
5140 * vc/vc.el (vc-default-ignore-completion-table):
5141 Silence byte-compiler warning.
5142
5143 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5144 slot , which can indeed be nil.
5145 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5146 Move entry for `left' from persistent to live filter alist.
5147 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5148 Doc fixes.
5149 (frameset-filter-params): When restoring a frame, copy items added to
5150 `filtered', to avoid unwittingly modifying the original parameters.
5151 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5152 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5153
5154 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5155 to use looking-at-p instead of looking-at. (Bug#15028)
5156
5157 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5158
5159 Revert introduction of isearch-filter-predicates (bug#14714).
5160 Rely on add-function instead.
5161 * isearch.el (isearch-filter-predicates): Rename it back to
5162 isearch-filter-predicate.
5163 (isearch-message-prefix): Use advice-function-mapc and advice
5164 properties to get the isearch-message-prefix.
5165 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5166 instead of run-hook-with-args-until-failure.
5167 (isearch-filter-visible): Not obsolete any more.
5168 * loadup.el: Preload nadvice.
5169 * replace.el (perform-replace): Revert to funcall
5170 instead of run-hook-with-args-until-failure.
5171 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5172 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5173 dired-isearch-filenames-toggle; make it into a proper minor mode.
5174 Use add/remove-function.
5175 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5176 Call the minor-mode rather than add/remove-hook.
5177 (dired-isearch-filter-filenames):
5178 Remove isearch-message-prefix property.
5179 * info.el (Info--search-loop): New function, extracted from Info-search.
5180 Funcall isearch-filter-predicate instead of
5181 run-hook-with-args-until-failure isearch-filter-predicates.
5182 (Info-search): Use it.
5183 (Info-mode): Use isearch-filter-predicate instead of
5184 isearch-filter-predicates.
5185
5186 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5187
5188 Do not call to `selected-window' where it is assumed by default.
5189 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5190 `window-hscroll', `window-width', `window-height', `window-buffer',
5191 `window-frame', `window-start', `window-point', `next-window'
5192 and `window-display-table'.
5193 * abbrev.el (abbrev--default-expand):
5194 * bs.el (bs--show-with-configuration):
5195 * buff-menu.el (Buffer-menu-mouse-select):
5196 * calc/calc.el (calc):
5197 * calendar/calendar.el (calendar-generate-window):
5198 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5199 (diary-make-entry):
5200 * comint.el (send-invisible, comint-dynamic-complete-filename)
5201 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5202 * completion.el (complete):
5203 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5204 * disp-table.el (describe-current-display-table):
5205 * doc-view.el (doc-view-insert-image):
5206 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5207 * ehelp.el (with-electric-help):
5208 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5209 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5210 * emacs-lisp/helper.el (Helper-help-scroller):
5211 * emulation/cua-base.el (cua--post-command-handler-1):
5212 * eshell/esh-mode.el (eshell-output-filter):
5213 * ffap.el (ffap-gnus-wrapper):
5214 * help-macro.el (make-help-screen):
5215 * hilit-chg.el (highlight-compare-buffers):
5216 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5217 * hl-line.el (global-hl-line-highlight):
5218 * icomplete.el (icomplete-simple-completing-p):
5219 * isearch.el (isearch-done):
5220 * jit-lock.el (jit-lock-stealth-fontify):
5221 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5222 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5223 * mpc.el (mpc-tagbrowser, mpc):
5224 * net/rcirc.el (rcirc-any-buffer):
5225 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5226 * play/landmark.el (landmark-max-width, landmark-max-height):
5227 * play/zone.el (zone):
5228 * progmodes/compile.el (compilation-goto-locus):
5229 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5230 * progmodes/etags.el (find-tag-other-window):
5231 * progmodes/fortran.el (fortran-column-ruler):
5232 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5233 * progmodes/verilog-mode.el (verilog-point-text):
5234 * reposition.el (reposition-window):
5235 * rot13.el (toggle-rot13-mode):
5236 * server.el (server-switch-buffer):
5237 * shell.el (shell-dynamic-complete-command)
5238 (shell-dynamic-complete-environment-variable):
5239 * simple.el (insert-buffer, set-selective-display)
5240 (delete-completion-window):
5241 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5242 (speedbar-recenter):
5243 * startup.el (fancy-splash-head):
5244 * textmodes/ispell.el (ispell-command-loop):
5245 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5246 * tutorial.el (help-with-tutorial):
5247 * vc/add-log.el (add-change-log-entry):
5248 * vc/compare-w.el (compare-windows):
5249 * vc/ediff-help.el (ediff-indent-help-message):
5250 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5251 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5252 (ediff-setup-control-frame):
5253 * vc/emerge.el (emerge-position-region):
5254 * vc/pcvs-util.el (cvs-bury-buffer):
5255 * window.el (walk-windows, mouse-autoselect-window-select):
5256 * winner.el (winner-set-conf, winner-undo): Related users changed.
5257
5258 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5259
5260 * frameset.el (frameset--set-id): Doc fix.
5261 (frameset-frame-id, frameset-frame-id-equal-p)
5262 (frameset-locate-frame-id): New functions.
5263 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5264 (frameset-restore): Use them.
5265
5266 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5267
5268 Do not call to `selected-frame' where it is assumed by default.
5269 Affected functions are `raise-frame', `redraw-frame',
5270 `frame-first-window', `frame-terminal' and `delete-frame'.
5271 * calendar/appt.el (appt-disp-window):
5272 * epg.el (epg-wait-for-completion):
5273 * follow.el (follow-delete-other-windows-and-split)
5274 (follow-avoid-tail-recenter):
5275 * international/mule.el (set-terminal-coding-system):
5276 * mail/rmail.el (rmail-mail-return):
5277 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5278 * progmodes/f90.el (f90-add-imenu-menu):
5279 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5280 * server.el (server-switch-buffer):
5281 * simple.el (delete-completion-window):
5282 * talk.el (talk):
5283 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5284 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5285 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5286 * vc/ediff.el (ediff-documentation): Related users changed.
5287 * frame.el (selected-terminal): Remove the leftover.
5288
5289 2013-08-05 Glenn Morris <rgm@gnu.org>
5290
5291 * calendar/calendar.el (calendar-generate-month):
5292 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5293 (calendar-generate-month, calendar-font-lock-keywords):
5294 Fix for calendar-day-header-width > length of any day name.
5295
5296 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5297
5298 * desktop.el (desktop-clear): Use new name of sort predicate.
5299
5300 * frameset.el (frameset): Add docstring. Move :version property to its
5301 own `version' slot.
5302 (frameset-copy): Rename from copy-frameset.
5303 (frameset-p): Check more thoroughly.
5304 (frameset-prop): Do not check for :version, which is no longer a prop.
5305 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5306 Use new :never value instead of t.
5307 (frameset-filter-alist): Expand and clarify docstring.
5308 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5309 (frameset-filter-minibuffer, frameset-filter-save-param)
5310 (frameset-filter-restore-param, frameset-filter-iconified):
5311 Add pointer to docstring of frameset-filter-alist.
5312 (frameset-filter-params): Rename filter values to be more meaningful:
5313 :never instead of t, and reverse the meanings of :save and :restore.
5314 (frameset--process-minibuffer-frames): Clarify error message.
5315 (frameset-save): Avoid unnecessary and confusing call to framep.
5316 Use new BOA constructor for framesets.
5317 (frameset--reuse-list): Doc fix.
5318 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5319 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5320 (frameset-minibufferless-first-p): Doc fix.
5321 Rename from frameset-sort-frames-for-deletion.
5322 (frameset-restore): Doc fixes. Use new function names.
5323 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5324
5325 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5326
5327 * desktop.el (desktop-restore-forces-onscreen)
5328 (desktop-restore-reuses-frames): Document :keyword constant values.
5329 (desktop-filter-parameters-alist): Remove, now identical to
5330 frameset-filter-alist.
5331 (desktop--filter-tty*): Remove, moved to frameset.el.
5332 (desktop-save-frameset, desktop-restore-frameset):
5333 Do not pass :filters argument.
5334
5335 * frameset.el (frameset-live-filter-alist)
5336 (frameset-persistent-filter-alist): New variables.
5337 (frameset-filter-alist): Use them. Add autoload cookie.
5338 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5339 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5340 `frameset--id' (it's supposed to be internal to frameset.el).
5341 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5342 (frameset--initial-params): New function.
5343 (frameset--get-frame): Use it. Doc fix.
5344 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5345 Accept :all, not 'all.
5346 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5347 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5348 with fbound symbols. Fix frame id matching, and remove matching ids if
5349 the frame being restored is deleted. Obey :delete.
5350
5351 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5352
5353 * subr.el (macrop): New function.
5354 (text-clone--maintaining): New var.
5355 (text-clone--maintain): Rename from text-clone-maintain. Use it
5356 instead of inhibit-modification-hooks.
5357
5358 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5359 a proxy, so as handle autoloads and redefinitions of the target.
5360 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5361
5362 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5363 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5364 (pcase--mutually-exclusive-p): New function.
5365 (pcase--split-consp): Use it.
5366 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5367 mutually exclusive with the current predicate.
5368
5369 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5370 (edebug-macrop): Remove. Use `macrop' instead.
5371 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5372 (ad-macro-p):
5373 * eshell/esh-cmd.el (eshell-macrop):
5374 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5375
5376 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5377
5378 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5379 (advice-mapc): New function, using it.
5380 (advice-function-member-p): New function.
5381 (advice--normalize): Store the cdr in advice--saved-rewrite since
5382 that's the part that will be changed.
5383 (advice--symbol-function): New function.
5384 (advice-remove): Handle removal before the function is defined.
5385 Adjust to new advice--saved-rewrite.
5386 (advice-member-p): Use advice-function-member-p and
5387 advice--symbol-function.
5388
5389 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5390
5391 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5392 (frameset-filter-minibuffer): Doc fix.
5393 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5394 (frameset--set-id, frameset--process-minibuffer-frames)
5395 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5396 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5397
5398 * desktop.el (desktop-clear): Only delete frames when called
5399 interactively and desktop-restore-frames is non-nil. Doc fix.
5400 (desktop-read): Set desktop-saved-frameset to nil.
5401
5402 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5403
5404 * vc/vc.el (vc-ignore): Rewrite.
5405 (vc-default-ignore-completion-table):
5406 (vc--read-lines):
5407 (vc--add-line, vc--remove-regexp): New functions.
5408
5409 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5410 (vc-svn-ignore-completion-table): New function.
5411
5412 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5413 (vc-hg-ignore-completion-table):
5414 (vc-hg-find-ignore-file): New functions.
5415
5416 * vc/vc-git.el (vc-git-ignore): Rewrite.
5417 (vc-git-ignore-completion-table):
5418 (vc-git-find-ignore-file): New functions.
5419
5420 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5421
5422 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5423 (vc-bzr-ignore-completion-table):
5424 (vc-bzr-find-ignore-file): New functions.
5425
5426 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5427
5428 * frameset.el (frameset-prop): New function and setter.
5429 (frameset-save): Do not modify frame list passed by the caller.
5430
5431 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5432
5433 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5434
5435 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5436
5437 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5438 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5439
5440 * custom.el (custom-initialize-default, custom-initialize-set)
5441 (custom-initialize-reset, custom-initialize-changed): Affect the
5442 toplevel-default-value (bug#6275, bug#14586).
5443 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5444 for bug#6275.
5445
5446 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5447
5448 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5449 Add cl-def* expressions.
5450
5451 * frameset.el (frameset-filter-params): Fix order of arguments.
5452
5453 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5454
5455 Move code related to saving frames to frameset.el.
5456 * desktop.el: Require frameset.
5457 (desktop-restore-frames): Doc fix.
5458 (desktop-restore-reuses-frames): Rename from
5459 desktop-restoring-reuses-frames.
5460 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5461 (desktop-clear): Clear frames too.
5462 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5463 (desktop--filter-tty*, desktop-save, desktop-read):
5464 Use frameset functions.
5465 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5466 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5467 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5468 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5469 (desktop--process-minibuffer-frames, desktop-save-frames)
5470 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5471 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5472 (desktop--sort-states, desktop-restoring-frames-p)
5473 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5474 (desktop-restoring-frameset-p, desktop-restore-frameset)
5475 (desktop--check-dont-save, desktop-save-frameset): New functions.
5476 (desktop--app-id): New constant.
5477 (desktop-first-buffer, desktop-buffer-ok-count)
5478 (desktop-buffer-fail-count): Move before first use.
5479 * frameset.el: New file.
5480
5481 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5482
5483 * files.el: Use lexical-binding.
5484 (dir-locals-read-from-file): Remove unused `err' variable.
5485 (hack-dir-local-variables--warned-coding): New var.
5486 (hack-dir-local-variables): Use it to avoid repeated warnings.
5487 (make-backup-file-name--default-function): New function.
5488 (make-backup-file-name-function): Use it as default.
5489 (buffer-stale--default-function): New function.
5490 (buffer-stale-function): Use it as default.
5491 (revert-buffer-insert-file-contents--default-function): New function.
5492 (revert-buffer-insert-file-contents-function): Use it as default.
5493 (insert-directory): Avoid add-to-list.
5494
5495 * autorevert.el (auto-revert-handler): Simplify.
5496 Use buffer-stale--default-function.
5497
5498 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5499
5500 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5501
5502 * whitespace.el (whitespace-ensure-local-variables): New function.
5503 (whitespace-cleanup-region): Call it.
5504 (whitespace-turn-on): Call it.
5505
5506 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5507
5508 Complete file name handlers.
5509
5510 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5511 (tramp-handle-verify-visited-file-modtime)
5512 (tramp-handle-file-notify-rm-watch): New functions.
5513 (tramp-call-process): Do not bind `default-directory'.
5514
5515 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5516 Order alphabetically.
5517 [access-file, add-name-to-file, dired-call-process]:
5518 [dired-compress-file, file-acl, file-notify-rm-watch]:
5519 [file-ownership-preserved-p, file-selinux-context]:
5520 [make-directory-internal, make-symbolic-link, set-file-acl]:
5521 [set-file-selinux-context, set-visited-file-modtime]:
5522 [verify-visited-file-modtime]: Add handler.
5523 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5524
5525 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5526 [file-notify-add-watch, file-notify-rm-watch]:
5527 [set-file-times, set-visited-file-modtime]:
5528 [verify-visited-file-modtime]: Add handler.
5529 (with-tramp-gvfs-error-message)
5530 (tramp-gvfs-handle-set-visited-file-modtime)
5531 (tramp-gvfs-fuse-file-name): Remove.
5532 (tramp-gvfs-handle-file-notify-add-watch)
5533 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5534 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5535
5536 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5537 Order alphabetically.
5538 [file-notify-rm-watch ]: Use default Tramp handler.
5539 [executable-find]: Remove private handler.
5540 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5541 `default-directory'.
5542 (tramp-sh-handle-executable-find)
5543 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5544 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5545 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5546 Do not use `format' in `tramp-message'.
5547
5548 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5549 [file-notify-rm-watch, set-visited-file-modtime]:
5550 [verify-visited-file-modtime]: Add handler.
5551 (tramp-smb-call-winexe): Do not bind `default-directory'.
5552
5553 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5554
5555 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5556
5557 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5558
5559 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5560 use it.
5561 (log-view-diff-changeset): Same.
5562 (log-view-diff-common): Call backend command `previous-revision'
5563 to find out the previous revision, in both cases. Swap the
5564 variables `to' and `fr', so that `fr' usually refers to the
5565 earlier revision (Bug#14989).
5566
5567 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5568
5569 * ibuf-ext.el (ibuffer-filter-by-filename):
5570 Make it work with dired buffers too.
5571
5572 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5573
5574 * emacs-lisp/re-builder.el (reb-color-display-p):
5575 * files.el (save-buffers-kill-terminal):
5576 * net/browse-url.el (browse-url):
5577 * server.el (server-save-buffers-kill-terminal):
5578 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5579 Prefer nil to selected-frame for the first arg of frame-parameter.
5580
5581 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5582
5583 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5584
5585 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5586
5587 * minibuffer.el (completion--twq-all): Try and preserve each
5588 completion's case choice (bug#14907).
5589
5590 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5591
5592 * net/network-stream.el (open-network-stream): Mention the new
5593 :nogreeting parameter.
5594 (network-stream-open-starttls): Use the :nogreeting parameter
5595 (bug#14938).
5596
5597 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5598
5599 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5600 more natural than popping.
5601
5602 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5603 (shr-urlify): Highlight under mouse.
5604
5605 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5606
5607 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5608
5609 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5610
5611 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5612 buffer for output.
5613
5614 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5615 point-min==1. Fix search string. Fix parentheses missing.
5616
5617 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5618 assume point-min==1. Fix search string. Fix parentheses missing.
5619
5620 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5621
5622 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5623 buffer for output.
5624
5625 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5626
5627 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5628 initial frame is minibuffer-less. (Bug#14841)
5629
5630 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5631
5632 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5633 option.
5634
5635 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5636 (tramp-maybe-open-connection): Use it.
5637
5638 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5639
5640 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5641 minimal set of parameters passed when creating a frame, because
5642 the minibuffer status of a frame cannot be changed later.
5643
5644 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5645
5646 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5647 replace-regexp-in-string and inadvertent omissions in previous change.
5648 (todo-filter-items): Ensure only file names are comma-separated in
5649 name of filtered items buffer.
5650
5651 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5652
5653 * desktop.el: Optionally force offscreen frames back onscreen.
5654 (desktop-restoring-reuses-frames): New option.
5655 (desktop--compute-pos, desktop--move-onscreen): New functions.
5656 (desktop--make-frame): Use desktop--move-onscreen.
5657
5658 2013-07-27 Alan Mackenzie <acm@muc.de>
5659
5660 Fontify a Java generic method as a function.
5661 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5662 value to t.
5663
5664 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5665
5666 * calendar/todo-mode.el: Add command to rename todo files.
5667 (todo-rename-file): New command.
5668 (todo-key-bindings-t): Add key binding for it. Change the
5669 bindings of todo-filter-regexp-items(-multifile) to use `x'
5670 instead of `r', since the latter is better suited to the new
5671 renaming command.
5672
5673 2013-07-27 Alan Mackenzie <acm@muc.de>
5674
5675 Make Java try-with-resources statement parse properly.
5676 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5677 (c-block-stmt-1-2-key): New language constants/variables.
5678 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5679 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5680 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5681 with c-block-stmt-1-2-key.
5682
5683 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5684
5685 * desktop.el (desktop--make-frame): Apply most frame parameters after
5686 creating the frame to force (partially or totally) offscreen frames to
5687 be restored as such.
5688
5689 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5690
5691 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5692 (Bug#14948)
5693
5694 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5695
5696 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5697 `base' arg of backtrace-frame.
5698
5699 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5700
5701 * simple.el (list-processes): Doc fix.
5702
5703 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5704
5705 * desktop.el (desktop--select-frame):
5706 Try harder to reuse existing frames.
5707
5708 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5709
5710 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5711 (edebug-eval): Use backtrace-eval.
5712 (edebug--display, edebug--recursive-edit): Don't let-bind the
5713 edebug-outer-* vars that keep track of variables we locally let-bind.
5714 (edebug-outside-excursion): Don't restore outside values of locally
5715 let-bound vars.
5716 (edebug--display): Use user-error.
5717 (cl-lexical-debug, cl-debug-env): Remove.
5718
5719 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5720
5721 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5722 are restored to be sure that they are visible before deleting any
5723 remaining ones.
5724
5725 2013-07-26 Matthias Meulien <orontee@gmail.com>
5726
5727 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5728 vc-print-root-log. (Bug#14948)
5729
5730 2013-07-26 Richard Stallman <rms@gnu.org>
5731
5732 Add aliases for encrypting mail.
5733 * epa.el (epa-mail-aliases): New option.
5734 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5735 Bind inhibit-read-only so read-only text doesn't ruin everything.
5736 (epa-mail-default-recipients): New subroutine broken out.
5737 Handle epa-mail-aliases.
5738
5739 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5740
5741 Add support for lexical variables to the debugger's `e' command.
5742 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5743 vars, except for debugger-outer-match-data.
5744 (debugger-frame-number): Move check for "on a function call" from
5745 callers into it. Add `skip-base' argument.
5746 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5747 (debugger-env-macro): Only reset the state stored in non-variables,
5748 i.e. current-buffer and match-data.
5749 (debugger-eval-expression): Rewrite using backtrace-eval.
5750 * subr.el (internal--called-interactively-p--get-frame): Remove.
5751 (called-interactively-p):
5752 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5753 `base' arg of backtrace-frame instead.
5754
5755 2013-07-26 Glenn Morris <rgm@gnu.org>
5756
5757 * align.el (align-regexp): Doc fix. (Bug#14857)
5758 (align-region): Explicit error if subexpression missing/does not match.
5759
5760 * simple.el (global-visual-line-mode):
5761 Do not duplicate the mode lighter. (Bug#14858)
5762
5763 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5764
5765 * window.el (display-buffer): In display-buffer bind
5766 split-window-keep-point to t, bug#14829.
5767
5768 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5769
5770 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5771 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5772 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5773 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5774 Change accordingly.
5775 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5776 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5777
5778 2013-07-25 Glenn Morris <rgm@gnu.org>
5779
5780 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5781
5782 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5783
5784 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5785 parameter to modify-frame-parameters if the value has not changed;
5786 this is a workaround for bug#14949.
5787 (desktop--make-frame): On cl-delete-if call, check parameter name,
5788 not full parameter.
5789
5790 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5791
5792 * vc/vc.el (vc-ignore): New function.
5793
5794 * vc/vc-svn.el (vc-svn-ignore): New function.
5795
5796 * vc/vc-hg.el (vc-hg-ignore): New function.
5797
5798 * vc/vc-git.el (vc-git-ignore): New function.
5799
5800 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5801 (vc-dir-ignore): New function.
5802
5803 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5804 (cvs-append-to-ignore): Move here from pcvs.el.
5805
5806 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5807
5808 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5809
5810 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5811
5812 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5813 (desktop-restore-frames): Warn when deleting an existing frame failed.
5814
5815 2013-07-24 Glenn Morris <rgm@gnu.org>
5816
5817 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5818
5819 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5820
5821 * filenotify.el (file-notify-supported-p):
5822 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5823 Remove functions.
5824
5825 * autorevert.el (auto-revert-use-notify):
5826 (auto-revert-notify-add-watch):
5827 * net/tramp.el (tramp-file-name-for-operation):
5828 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5829 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5830 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5831 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5832 Remove `file-notify-supported-p' entry.
5833
5834 2013-07-24 Glenn Morris <rgm@gnu.org>
5835
5836 * printing.el: Replace all uses of deleted ps-windows-system,
5837 ps-lp-system, ps-flatten-list with lpr- versions.
5838
5839 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5840
5841 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5842 checked with memq (bug#14935).
5843
5844 * files.el (revert-buffer-function): Use a non-nil default.
5845 (revert-buffer-preserve-modes): Declare var to
5846 provide access to the `preserve-modes' argument.
5847 (revert-buffer): Let-bind it.
5848 (revert-buffer--default): New function, extracted from revert-buffer.
5849
5850 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5851
5852 * lpr.el: Signal print errors more prominently.
5853 (print-region-function): Don't default to nil.
5854 (lpr-print-region): New function, extracted from print-region-1.
5855 Check lpr's return value and signal an error in case of problem.
5856 (print-region-1): Use it.
5857 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5858 versions instead.
5859 (ps-printer-name): Default to nil.
5860 (ps-printer-name-option): Default to lpr-printer-switch.
5861 (ps-print-region-function): Don't default to nil.
5862 (ps-postscript-code-directory): Simplify default.
5863 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5864 (ps-string-list, ps-eval-switch, ps-flatten-list)
5865 (ps-flatten-list-1): Remove.
5866 (ps-multibyte-buffer): Avoid setq.
5867 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5868 (print-region-function, ps-print-region-function): Don't set them here.
5869
5870 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5871
5872 * ido.el (ido-fractionp):
5873 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5874 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5875 (ido-max-directory-size, ido-max-dir-file-cache)
5876 (ido-decorations): Doc fix.
5877
5878 * ansi-color.el: Fix old URL.
5879
5880 2013-07-23 Michael R. Mauger <michael@mauger.com>
5881
5882 * progmodes/sql.el: Version 3.3
5883 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5884 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5885 (sql-interactive-remove-continuation-prompt): Rewrite, use
5886 functions above. Fix continuation prompt and complete output line
5887 handling.
5888 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5889 redirected output buffer.
5890 (sql-mode): Restore deleted code (Bug#13591).
5891
5892 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5893
5894 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5895
5896 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5897
5898 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5899
5900 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5901 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5902 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5903
5904 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5905
5906 * desktop.el (desktop-clear): Simplify; remove useless checks
5907 against invalid buffer names.
5908 (desktop-list*): Use cl-list*.
5909 (desktop-buffer-info, desktop-create-buffer): Simplify.
5910
5911 2013-07-23 Leo Liu <sdl.web@gmail.com>
5912
5913 * bookmark.el (bookmark-make-record): Restore NAME as a default
5914 value. (Bug#14933)
5915
5916 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5917
5918 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5919 extracted from autoload--insert-text.
5920 (autoload--insert-text): Remove.
5921 (autoload--print-cookie-text): New function, extracted from
5922 autoload--insert-cookie-text.
5923 (autoload--insert-cookie-text): Remove.
5924 (autoload-generate-file-autoloads): Adjust calls accordingly.
5925
5926 * winner.el (winner-hook-installed-p): Remove.
5927 (winner-mode): Simplify accordingly.
5928
5929 * subr.el (add-to-list): Fix compiler-macro when `append' is
5930 not constant. Don't use `cl-member' for the base case.
5931
5932 * progmodes/subword.el: Fix boundary case (bug#13758).
5933 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5934 own group.
5935 (subword-backward-regexp): Make it a constant.
5936 (subword-forward-internal): Don't treat a trailing capital as the
5937 beginning of a word.
5938
5939 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5940
5941 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5942 global value of tabulated-list-revert-hook (bug#14930).
5943
5944 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5945
5946 * desktop.el: Require 'cl-lib.
5947 (desktop-before-saving-frames-functions): New hook.
5948 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5949 for frames being saved. Rename from desktop--save-minibuffer-frames.
5950 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5951 Do not save frames with non-nil `desktop-dont-save' parameter.
5952 Filter out deleted frames.
5953 (desktop--find-frame): Use cl-find-if.
5954 (desktop--select-frame): Use cl-(first|second|third) to access values
5955 of desktop-mini.
5956 (desktop--make-frame): Use cl-delete-if.
5957 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5958 (desktop-restore-frames): Use cl-(first|second|third) to access values
5959 of desktop-mini. Look for visible frame at the end, not while
5960 restoring frames.
5961
5962 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5963 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5964 Use string-match-p, looking-at-p (bug#14927).
5965
5966 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5967
5968 * desktop.el (desktop-saved-frame-states):
5969 Rename from desktop--saved-states; all users changed.
5970 (desktop-save-frames): Rename from desktop--save-frames.
5971 Do not save state to desktop file.
5972 (desktop-save): Save desktop-saved-frame-states to desktop file
5973 and reset to nil.
5974 (desktop-restoring-frames-p): New function.
5975 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5976 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5977 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5978
5979 * desktop.el: Correctly restore iconified frames.
5980 (desktop--filter-iconified-position): New function.
5981 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5982
5983 2013-07-20 Glenn Morris <rgm@gnu.org>
5984
5985 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5986 Let `message' do the formatting.
5987 (def-gdb-preempt-display-buffer): Add explicit format.
5988
5989 * image-dired.el (image-dired-track-original-file):
5990 Use with-current-buffer.
5991 (image-dired-track-thumbnail): Use with-current-buffer.
5992 Avoid changing point of wrong window.
5993
5994 * image-dired.el (image-dired-track-original-file):
5995 Avoid changing point of wrong window. (Bug#14909)
5996
5997 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5998
5999 * progmodes/gdb-mi.el (gdb-done-or-error):
6000 Guard against "%" in gdb output. (Bug#14127)
6001
6002 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6003
6004 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6005 (Bug#14826)
6006
6007 * international/mule.el (coding-system-iso-2022-flags): Fix last
6008 change.
6009
6010 2013-07-20 Kenichi Handa <handa@gnu.org>
6011
6012 * international/mule.el (coding-system-iso-2022-flags):
6013 Add `8-bit-level-4'. (Bug#8522)
6014
6015 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6016
6017 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6018 (bug#14815).
6019
6020 * net/eww.el (eww-process-text-input): Allow inputting when the
6021 point is at the start of the line, as the properties aren't
6022 front-sticky.
6023
6024 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6025 degenerate widths.
6026
6027 2013-07-19 Richard Stallman <rms@gnu.org>
6028
6029 * epa.el (epa-popup-info-window): Doc fix.
6030
6031 * subr.el (split-string): New arg TRIM.
6032
6033 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6034
6035 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6036 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6037
6038 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6039
6040 * filenotify.el (file-notify--library): Rename from
6041 `file-notify-support'. Do not autoload. Adapt all uses.
6042 (file-notify-supported-p): New defun.
6043
6044 * autorevert.el (auto-revert-use-notify):
6045 Use `file-notify-supported-p' instead of `file-notify-support'.
6046 Adapt docstring.
6047 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6048
6049 * net/tramp.el (tramp-file-name-for-operation):
6050 Add `file-notify-supported-p'.
6051
6052 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6053 New defun.
6054 (tramp-sh-file-name-handler-alist): Add it as handler for
6055 `file-notify-supported-p '.
6056
6057 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6058 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6059 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6060 Add `ignore' as handler for `file-notify-*' functions.
6061
6062 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6063
6064 * simple.el (line-move-partial, line-move): Don't start vscroll or
6065 scroll-up if the current line is not taller than the window.
6066 (Bug#14881)
6067
6068 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6069
6070 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6071 highlight question marks in the method names as strings.
6072 (ruby-block-beg-keywords): Inline.
6073 (ruby-font-lock-keyword-beg-re): Extract from
6074 `ruby-font-lock-keywords'.
6075
6076 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6077
6078 * frame.el (blink-cursor-blinks): New defcustom.
6079 (blink-cursor-blinks-done): New defvar.
6080 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6081 (blink-cursor-timer-function): Check if number of blinks has been
6082 done on X and NS.
6083 (blink-cursor-suspend, blink-cursor-check): New defuns.
6084
6085 2013-07-15 Glenn Morris <rgm@gnu.org>
6086
6087 * edmacro.el (edmacro-format-keys): Fix previous change.
6088
6089 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6090
6091 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6092 The hack didn't work outside English locales anyway.
6093
6094 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6095
6096 * simple.el (define-alternatives): Rename from alternatives-define,
6097 per RMS' suggestion.
6098
6099 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6100
6101 * desktop.el (desktop-restore-frames): Change default to t.
6102 (desktop-restore-in-current-display): Now offer more options.
6103 (desktop-restoring-reuses-frames): New customization option.
6104 (desktop--saved-states): Doc fix.
6105 (desktop-filter-parameters-alist): New variable, renamed and expanded
6106 from desktop--excluded-frame-parameters.
6107 (desktop--target-display): New variable.
6108 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6109 (desktop--filter-tty*, desktop--filter-*-color)
6110 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6111 (desktop--filter-save-desktop-parm)
6112 (desktop-restore-in-original-display-p): New functions.
6113 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6114 (desktop--save-minibuffer-frames): New function, inspired by a similar
6115 function from Martin Rudalics.
6116 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6117 (desktop--restore-in-this-display-p): Remove.
6118 (desktop--find-frame): Rename from desktop--find-frame-in-display
6119 and add predicate argument.
6120 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6121 (desktop--reuse-list): New variable.
6122 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6123 New functions.
6124 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6125
6126 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6127
6128 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6129
6130 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6131
6132 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6133 Highlight conversion methods on Kernel.
6134
6135 2013-07-13 Alan Mackenzie <acm@muc.de>
6136
6137 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6138 and comment it out. This out-commenting enables certain C++
6139 declarations to be parsed correctly.
6140
6141 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6142
6143 * international/mule.el (define-coding-system): Doc fix.
6144
6145 * simple.el (default-font-height): Don't call font-info if the
6146 frame's default font didn't change since the frame was created.
6147 (Bug#14838)
6148
6149 2013-07-13 Leo Liu <sdl.web@gmail.com>
6150
6151 * ido.el (ido-read-file-name): Guard against non-symbol value.
6152
6153 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6154
6155 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6156 in nested defuns.
6157
6158 2013-07-13 Leo Liu <sdl.web@gmail.com>
6159
6160 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6161 ido-set-matches call. (Bug#6852)
6162
6163 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6164
6165 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6166 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6167 Ruby 2.0.
6168 (ruby-font-lock-keywords): Distinguish calls to functions with
6169 module-like names from module references. Highlight character
6170 literals.
6171
6172 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6173
6174 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6175 (gdb-send): Handle continued commands. (Bug#14847)
6176
6177 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6178
6179 * desktop.el (desktop--v2s): Remove unused local variable.
6180 (desktop-save-buffer): Make defvar-local; adjust docstring.
6181 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6182 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6183
6184 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6185
6186 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6187
6188 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6189
6190 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6191 (Bug#14842)
6192
6193 2013-07-12 Glenn Morris <rgm@gnu.org>
6194
6195 * doc-view.el: Require cl-lib at runtime too.
6196 (doc-view-remove-if): Remove.
6197 (doc-view-search-next-match, doc-view-search-previous-match):
6198 Use cl-remove-if.
6199
6200 * edmacro.el: Require cl-lib at runtime too.
6201 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6202 (edmacro-mismatch, edmacro-subseq): Remove.
6203
6204 * shadowfile.el: Require cl-lib.
6205 (shadow-remove-if): Remove.
6206 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6207 Use cl-remove-if.
6208
6209 * wid-edit.el: Require cl-lib.
6210 (widget-choose): Use cl-remove-if.
6211 (widget-remove-if): Remove.
6212
6213 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6214 (ebrowse-delete-if-not): Remove.
6215 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6216 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6217 Use cl-delete-if-not.
6218
6219 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6220
6221 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6222 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6223
6224 2013-07-12 Leo Liu <sdl.web@gmail.com>
6225
6226 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6227
6228 2013-07-11 Glenn Morris <rgm@gnu.org>
6229
6230 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6231 (edebug-gensym-index, edebug-gensym):
6232 Remove reimplementation of cl-gensym.
6233 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6234
6235 * thumbs.el: Require cl-lib at run-time too.
6236 (thumbs-gensym-counter, thumbs-gensym):
6237 Remove reimplementation of cl-gensym.
6238 (thumbs-temp-file): Use cl-gensym.
6239
6240 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6241 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6242 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6243 (ert--union, ert--gensym-counter, ert--gensym-counter)
6244 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6245 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6246 (ert-make-test-unbound, ert--expand-should-1)
6247 (ert--expand-should, ert--should-error-handle-error)
6248 (should-error, ert--explain-equal-rec)
6249 (ert--plist-difference-explanation, ert-select-tests)
6250 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6251 Use cl-lib functions rather than reimplementations.
6252
6253 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6254
6255 * net/tramp.el (tramp-methods): Extend docstring.
6256 (tramp-connection-timeout): New defcustom.
6257 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6258 (with-tramp-progress-reporter): Simplify.
6259 (tramp-process-actions): Improve messages.
6260
6261 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6262 * net/tramp-sh.el (tramp-maybe-open-connection):
6263 Use `tramp-connection-timeout'.
6264 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6265 (Bug#14808)
6266
6267 2013-07-11 Leo Liu <sdl.web@gmail.com>
6268
6269 * ido.el (ido-read-file-name): Conform to the requirements of
6270 read-file-name. (Bug#11861)
6271 (ido-read-directory-name): Conform to the requirements of
6272 read-directory-name.
6273
6274 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6275
6276 * subr.el (delay-warning): New function.
6277
6278 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6279
6280 * simple.el (default-line-height): New function.
6281 (line-move-partial, line-move): Use it instead of computing the
6282 line height inline.
6283 (line-move-partial): Always compute ROWH. If the last line is
6284 partially-visible, but its text is completely visible, allow
6285 cursor to enter such a partially-visible line.
6286
6287 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6288
6289 Improve error messages. (Bug#14808)
6290
6291 * net/tramp.el (tramp-current-connection): New defvar, moved from
6292 tramp-sh.el.
6293 (tramp-message-show-progress-reporter-message): Remove, not
6294 needed anymore.
6295 (tramp-error-with-buffer): Show message in minibuffer.
6296 Discard input before waiting. Reset connection timestamp.
6297 (with-tramp-progress-reporter): Improve messages.
6298 (tramp-process-actions): Use progress reporter. Delete process in
6299 case of error. Improve messages.
6300
6301 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6302 Call `tramp-error-with-buffer' with vector and buffer.
6303 (tramp-current-connection): Remove.
6304 (tramp-maybe-open-connection): The car of
6305 `tramp-current-connection' are the first 3 slots of the vector.
6306
6307 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6308
6309 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6310 inside continued strings.
6311
6312 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6313
6314 Timestamp fixes for undo (Bug#14824).
6315 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6316
6317 2013-07-10 Leo Liu <sdl.web@gmail.com>
6318
6319 * files.el (require-final-newline): Allow safe local value.
6320 (Bug#14834)
6321
6322 2013-07-09 Leo Liu <sdl.web@gmail.com>
6323
6324 * ido.el (ido-read-directory-name): Handle fallback.
6325 (ido-read-file-name): Update DIR to ido-current-directory.
6326 (Bug#1516)
6327 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6328
6329 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6330
6331 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6332 "autoload". Remove "warn lower camel case" section, previously
6333 commented out. Highlight negation char. Do not highlight the
6334 target in singleton method definitions.
6335
6336 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6337
6338 * faces.el (tty-setup-hook): Declare the hook.
6339
6340 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6341 and detect when a guard/pred depends on local vars (bug#14773).
6342 (pcase--u1): Adjust caller.
6343
6344 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6345
6346 * simple.el (line-move-partial, line-move): Account for
6347 line-spacing.
6348 (line-move-partial): Avoid setting vscroll when the last
6349 partially-visible line in window is of default height.
6350
6351 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6352
6353 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6354 been used a while.
6355
6356 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6357
6358 * subr.el (read-quoted-char): Remove unused local variable `char'.
6359
6360 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6361
6362 * ediff.el (ediff-version): Version update.
6363 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6364 (ediff-merge-with-ancestor-command, ediff-directories-command)
6365 (ediff-directories3-command, ediff-merge-directories-command)
6366 (ediff-merge-directories-with-ancestor-command): New functions.
6367 All are command-line interfaces to ediff: to facilitate calling
6368 Emacs with the appropriate ediff functions invoked.
6369
6370 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6371 (viper-save-kill-buffer): Check if buffer is modified.
6372
6373 * viper.el (viper-version): Version update.
6374 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6375
6376 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6377
6378 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6379 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6380 (viper-intercept-ESC-key): Simplify.
6381 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6382 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6383 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6384 (viper-setup-ESC-to-escape): New functions.
6385 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6386 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6387
6388 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6389
6390 * simple.el (default-font-height, window-screen-lines):
6391 New functions.
6392 (line-move, line-move-partial): Use them instead of
6393 frame-char-height and window-text-height. This makes scrolling
6394 text smoother when the buffer's default face uses a font that is
6395 different from the frame's default font.
6396
6397 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6398
6399 * files.el (write-file): Do not display confirm dialog for NS,
6400 it does its own dialog, which can't be cancelled (Bug#14578).
6401
6402 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6403
6404 * simple.el (line-move-partial): Adjust the row returned by
6405 posn-at-point for the current window-vscroll. (Bug#14567)
6406
6407 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6408
6409 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6410 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6411 spaces.
6412
6413 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6414
6415 * window.el (window-state-put-stale-windows): New variable.
6416 (window--state-put-2): Save list of windows without matching buffer.
6417 (window-state-put): Remove "bufferless" windows if possible.
6418
6419 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6420
6421 * simple.el (alternatives-define): Remove leftover :group keyword.
6422 Tweak docstring.
6423
6424 2013-07-06 Leo Liu <sdl.web@gmail.com>
6425
6426 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6427 (ido-enable-virtual-buffers): New variable.
6428 (ido-buffer-internal, ido-toggle-virtual-buffers)
6429 (ido-make-buffer-list): Use it.
6430 (ido-exhibit): Support turning on and off virtual buffers
6431 automatically.
6432
6433 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6434
6435 * simple.el (alternatives-define): New macro.
6436
6437 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6438
6439 * subr.el (read-quoted-char): Use read-key.
6440 (sit-for): Let read-event decode tty input (bug#14782).
6441
6442 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6443
6444 * calendar/todo-mode.el: Add handling of file deletion, both by
6445 mode command and externally. Fix various related bugs.
6446 Clarify Commentary and improve some documentation strings and code.
6447 (todo-delete-file): New command.
6448 (todo-check-file): New function.
6449 (todo-show): Handle external deletion of the file we're trying to
6450 show (bug#14688). Replace called-interactively-p by an optional
6451 prefix argument to avoid problematic interaction with catch form
6452 when byte compiled (bug#14702).
6453 (todo-quit): Handle external deletion of the archive's todo file.
6454 Make sure the buffer that was visiting the archive file is still
6455 live before trying to bury it.
6456 (todo-category-completions): Handle external deletion of any
6457 category completion files.
6458 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6459 of todo files, in case of external deletion.
6460 (todo-add-file): Replace unnecessary setq by let-binding.
6461 (todo-find-archive): Check whether there are any archives.
6462 Replace unnecessary setq by let-binding.
6463 (todo-archive-done-item): Use find-file-noselect to get the
6464 archive buffer whether or not the archive already exists.
6465 Remove superfluous code. Use file size instead of buffer-file-name to
6466 check if the archive is new; if it is, update list of archives.
6467 (todo-default-todo-file): Allow nil to be a valid value for when
6468 there are no todo files.
6469 (todo-reevaluate-default-file-defcustom): Use corrected definition
6470 of todo-default-todo-file.
6471 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6472 (todo-delete-category, todo-show-categories-table)
6473 (todo-category-number): Clarify comment.
6474 (todo-filter-items): Clarify documentation string.
6475 (todo-show-current-file, todo-display-as-todo-file)
6476 (todo-reset-and-enable-done-separator): Tweak documentation string.
6477 (todo-done-separator): Make separator length window-width, since
6478 bug#2749 is now fixed.
6479
6480 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6481
6482 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6483 Support both "gvfs-monitor-dir" and "inotifywait".
6484 (tramp-sh-file-inotifywait-process-filter): Rename from
6485 `tramp-sh-file-notify-process-filter'.
6486 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6487 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6488
6489 2013-07-05 Leo Liu <sdl.web@gmail.com>
6490
6491 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6492
6493 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6494
6495 * frame.el (display-pixel-height, display-pixel-width)
6496 (display-mm-height, display-mm-width): Mention behavior on
6497 multi-monitor setups in docstrings.
6498 (w32-display-monitor-attributes-list): Declare function.
6499 (display-monitor-attributes-list): Use it.
6500
6501 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6502
6503 * filenotify.el: New package.
6504
6505 * autorevert.el (top): Require filenotify.el.
6506 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6507 instead.
6508 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6509 (auto-revert-notify-handler): Use `file-notify-*' functions.
6510
6511 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6512
6513 * net/tramp.el (tramp-file-name-for-operation):
6514 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6515
6516 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6517 for `file-notify-add-watch' and `file-notify-rm-watch'.
6518 (tramp-process-sentinel): Improve trace.
6519 (tramp-sh-handle-file-notify-add-watch)
6520 (tramp-sh-file-notify-process-filter)
6521 (tramp-sh-handle-file-notify-rm-watch)
6522 (tramp-get-remote-inotifywait): New defuns.
6523
6524 2013-07-03 Juri Linkov <juri@jurta.org>
6525
6526 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6527 call of `occur-read-primary-args' to interactive spec.
6528
6529 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6530 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6531
6532 2013-07-03 Matthias Meulien <orontee@gmail.com>
6533
6534 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6535 `Buffer-menu-multi-occur'. Add it to the menu.
6536 (Buffer-menu-mode): Document it in docstring.
6537 (Buffer-menu-multi-occur): New command. (Bug#14673)
6538
6539 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6540
6541 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6542 keywords and built-ins.
6543
6544 2013-07-03 Glenn Morris <rgm@gnu.org>
6545
6546 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6547
6548 Make info-xref checks case-sensitive by default
6549 * info.el (Info-find-node, Info-find-in-tag-table)
6550 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6551 Add option for exact case matching of nodes.
6552 * info-xref.el (info-xref): New custom group.
6553 (info-xref-case-fold): New option.
6554 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6555
6556 2013-07-03 Leo Liu <sdl.web@gmail.com>
6557
6558 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6559
6560 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6561
6562 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6563 middle of block statement initially, lower the depth. Remove
6564 FIXME comment, not longer valid. Remove middle of block statement
6565 detection, no need to do that anymore since we've been using
6566 `ruby-parse-region' here.
6567
6568 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6569
6570 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6571
6572 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6573
6574 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6575
6576 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6577
6578 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6579 (desktop-restore-in-current-display): New customization option.
6580 (desktop--excluded-frame-parameters): Add `font'.
6581 (desktop--save-frames): Rename from desktop--save-windows.
6582 (desktop--restore-in-this-display-p): New function.
6583 (desktop--make-full-frame): Remove unwanted width/height from
6584 full(width|height) frames.
6585 (desktop--restore-frames): Rename from desktop--restore-windows.
6586 Obey desktop-restore-current-display. Do not delete old frames or
6587 select a new frame unless we were able to restore at least one frame.
6588
6589 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6590
6591 * files.el (find-file-noselect): Simplify conditional expression.
6592
6593 * remember.el (remember-append-to-file):
6594 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6595
6596 Add `remember-notes' function to store random notes across Emacs
6597 restarts.
6598 * remember.el (remember-data-file): Add :set callback to affect
6599 notes buffer (if any).
6600 (remember-notes): New command.
6601 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6602 New defcustoms for the `remember-notes' function.
6603 (remember-notes-save-and-bury-buffer): New command.
6604 (remember-notes-mode-map): New variable.
6605 (remember-mode): New minor mode.
6606 (remember-notes--kill-buffer-query): New function.
6607 * startup.el (initial-buffer-choice): Add notes to custom type.
6608
6609 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6610
6611 * bindings.el (right-char, left-char): Don't call sit-for, this is
6612 no longer needed. Use arithmetic comparison only for numerical
6613 arguments.
6614
6615 * international/mule-cmds.el (select-safe-coding-system):
6616 Handle the case of FROM being a string correctly. (Bug#14755)
6617
6618 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6619
6620 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6621 progression on degenerate tables.
6622 (shr-rescale-image): ImageMagick animated images currently don't work.
6623
6624 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6625
6626 Some fixes and improvements for desktop frame restoration.
6627 It is still experimental and disabled by default.
6628 * desktop.el (desktop--save-windows): Put the selected frame at
6629 the head of the list.
6630 (desktop--make-full-frame): New function.
6631 (desktop--restore-windows): Try to re-select the frame that was
6632 selected upon saving. Do not abort if some frames fail to restore,
6633 just show an error message and continue. Set up maximized frames
6634 so they have default non-maximized dimensions.
6635
6636 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6637
6638 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6639 Don't start heredoc inside a string or comment.
6640
6641 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6642
6643 * bindings.el (visual-order-cursor-movement): New defcustom.
6644 (right-char, left-char): Provide visual-order cursor motion by
6645 calling move-point-visually. Update the doc strings.
6646
6647 2013-06-28 Kenichi Handa <handa@gnu.org>
6648
6649 * international/mule.el (define-coding-system): New coding system
6650 properties :inhibit-null-byte-detection,
6651 :inhibit-iso-escape-detection, and :prefer-utf-8.
6652 (set-buffer-file-coding-system): If :charset-list property of
6653 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6654 appropriate for setting.
6655
6656 * international/mule-cmds.el (select-safe-coding-system):
6657 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6658 multibyte characters, return utf-8 (or one of its siblings).
6659
6660 * international/mule-conf.el (prefer-utf-8): New coding system.
6661 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6662 files.
6663
6664 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6665
6666 * net/shr.el (shr-render-region): New function.
6667
6668 * net/eww.el: Autoload `eww-browse-url'.
6669
6670 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6671
6672 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6673 Adapt to `package-desc-version' being a list.
6674 Use `package--ac-desc-version' to retrieve version from a package
6675 archive element.
6676
6677 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6678
6679 New experimental feature to save&restore window and frame setup.
6680 * desktop.el (desktop-save-windows): New defcustom.
6681 (desktop--saved-states): New var.
6682 (desktop--excluded-frame-parameters): New defconst.
6683 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6684 (desktop--restore-windows, desktop--save-windows): New functions.
6685 (desktop-save): Call `desktop--save-windows'.
6686 (desktop-read): Call `desktop--restore-windows'.
6687
6688 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6689
6690 * net/shr.el (add-face-text-property): Remove compat definition.
6691
6692 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6693
6694 * info.el (Info-try-follow-nearest-node): Move search for footnote
6695 above search for node name to prevent missing a footnote (bug#14717).
6696
6697 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6698
6699 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6700
6701 2013-06-27 Leo Liu <sdl.web@gmail.com>
6702
6703 * net/eww.el (eww-read-bookmarks): Check file size.
6704
6705 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6706
6707 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6708 advice--pending if newdef is nil or an autoload (bug#13820).
6709 (advice-mapc): New function.
6710
6711 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6712
6713 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6714 probably.
6715 (eww-mode-map): Add a menu bar.
6716 (eww-add-bookmark): New command.
6717 (eww-bookmark-mode): New mode and commands.
6718 (eww-add-bookmark): Remove newlines from the title.
6719 (eww-bookmark-browse): Don't bug out if it's the only window.
6720
6721 2013-06-26 Glenn Morris <rgm@gnu.org>
6722
6723 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6724 (hfy-size): Handle ttys. (Bug#14668)
6725
6726 * info-xref.el: Update for Texinfo 5 change in *note format.
6727 (info-xref-node-re, info-xref-note-re): New constants.
6728 (info-xref-check-buffer): Use info-xref-note-re.
6729
6730 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6731
6732 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6733
6734 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6735 nil terminate the loop (bug#14718).
6736
6737 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6738
6739 * net/eww.el: Rework history traversal. When going forward/back,
6740 put these actions into the history, too, so that they can be
6741 replayed.
6742 (eww-render): Move the history reset to the correct buffer.
6743
6744 2013-06-25 Juri Linkov <juri@jurta.org>
6745
6746 * files-x.el (modify-dir-local-variable): Change the header comment
6747 in the file with directory local variables. (Bug#14692)
6748
6749 * files-x.el (read-file-local-variable-value): Add `default'.
6750 (Bug#14710)
6751
6752 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6753
6754 * net/eww.el (eww-make-unique-file-name): Create a unique file
6755 name before saving to entering `y' accidentally asynchronously.
6756
6757 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6758
6759 * net/eww.el (eww-download): New command and keystroke.
6760
6761 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6762
6763 * net/eww.el (eww-copy-page-url): Change name of command.
6764
6765 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6766 be more consistent with Info and dired.
6767
6768 * net/eww.el (eww-mode-map): Ditto.
6769
6770 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6771
6772 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6773 packages from archives.
6774 (package-archive-contents): Change format; include obsolete packages.
6775 (package-desc): Use `dir' to mark builtin packages.
6776 (package--from-builtin): Set the `dir' field to `builtin'.
6777 (generated-autoload-file, version-control): Declare.
6778 (package-compute-transaction): Change first arg and return value to be
6779 lists of package-descs. Adjust to new package-archive-contents format.
6780 (package--add-to-archive-contents): Adjust to new
6781 package-archive-contents format.
6782 (package-download-transaction): Arg is now a list of package-descs.
6783 (package-install): If `pkg' is a package name, pass it as
6784 a requirement, so it is subject to the usual (e.g. disabled) checks.
6785 (describe-package): Accept package-desc as well.
6786 (describe-package-1): Describe a specific package-desc. Add links to
6787 other package-descs for the same package name.
6788 (package-menu-describe-package): Pass the actual package-desc.
6789 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6790 works correctly.
6791 (package-desc-status): New function.
6792 (package-menu--refresh): New function, extracted
6793 from package-menu--generate.
6794 (package-menu--generate): Use it.
6795 (package-delete): Update package-alist.
6796 (package-menu-execute): Don't call package-initialize.
6797
6798 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6799 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6800 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6801 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6802 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6803 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6804
6805 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6806
6807 * window.el (window--state-get-1): Workaround for bug#14527.
6808 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6809
6810 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6811
6812 * net/eww.el (eww-back-url): Implement the history by stashing all
6813 the data into a list.
6814 (eww-forward-url): Allow going forward in the history, too.
6815
6816 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6817
6818 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6819 for values and use read--expression for expressions (bug#14710).
6820 (read-file-local-variable): Avoid setq.
6821 (read-file-local-variable-mode): Use minor-mode-list.
6822
6823 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6824
6825 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6826 for DOI URLs.
6827
6828 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6829
6830 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6831 Update imenu-support when dialect changes.
6832
6833 2013-06-25 Leo Liu <sdl.web@gmail.com>
6834
6835 * ido.el (ido-read-internal): Allow forward slash on windows.
6836
6837 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6838
6839 * net/eww.el (eww): Start of strings is \\`, not ^.
6840
6841 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6842
6843 * net/shr.el (shr-browse-url): Fix interactive spec.
6844
6845 * net/eww.el (eww): Add a trailing slash to domain names.
6846
6847 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6848
6849 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6850
6851 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6852
6853 * net/shr.el (shr-browse-url): Use an external browser if given a
6854 prefix.
6855
6856 * net/eww.el (eww-external-browser): Move to shr.
6857
6858 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6859
6860 * net/eww.el (eww): Work more correctly for file: URLs.
6861 (eww-detect-charset): Allow quoted charsets.
6862 (eww-yank-page-url): New command and keystroke.
6863
6864 2013-06-24 Daiki Ueno <ueno@gnu.org>
6865
6866 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6867 file name of gpg executable.
6868 (epg-context-program): New function.
6869 (epg-context-home-directory): New function.
6870 (epg-context-set-program): New function.
6871 (epg-context-set-home-directory): New function.
6872 (epg--start): Use `epg-context-program' instead of
6873 'epg-gpg-program'.
6874 (epg--list-keys-1): Likewise.
6875
6876 2013-06-24 Leo Liu <sdl.web@gmail.com>
6877
6878 * ido.el (ido-read-internal): Fix bug#14620.
6879
6880 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6881
6882 * faces.el (face-documentation): Simplify.
6883 (read-face-attribute, tty-find-type, x-resolve-font-name):
6884 Use `string-match-p'.
6885 (list-faces-display): Use `string-match-p'. Simplify.
6886 (face-spec-recalc): Check face to avoid face alias loops.
6887 (read-color): Use `string-match-p' and non-capturing parenthesis.
6888
6889 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6890
6891 * net/shr.el (shr-rescale-image): Use the new
6892 :max-width/:max-height functionality.
6893
6894 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6895
6896 * net/eww.el (eww-search-prefix): New variable.
6897 (eww): Use it.
6898 (eww-external-browser): New variable.
6899 (eww-mode-map): New keystroke.
6900 (eww-browse-with-external-browser): New command.
6901
6902 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6903
6904 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6905
6906 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6907 Don't skip aligning the next header field when padding is 0;
6908 otherwise, field width is not respected unless the title is as
6909 wide as the field.
6910
6911 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6912
6913 * emacs-lisp/package.el (package-el-version): Remove.
6914 (package-process-define-package): Fix inf-loop.
6915 (package-install): Allow symbols as arguments again.
6916
6917 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6918
6919 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6920 add some more keyword-like methods.
6921 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6922
6923 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6924
6925 * bs.el (bs-buffer-show-mark): Make defvar-local.
6926 (bs-mode): Use setq-local.
6927
6928 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6929 (emacs-lock--try-unlocking): Make defvar-local.
6930
6931 2013-06-22 Glenn Morris <rgm@gnu.org>
6932
6933 * play/cookie1.el (cookie-apropos): Minor simplification.
6934
6935 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6936
6937 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6938
6939 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6940 `regexp-opt', it breaks the build during dumping.
6941
6942 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6943
6944 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6945 Highlight keyword-like methods on Kernel and Module with
6946 font-lock-builtin-face.
6947 (auto-mode-alist): Consolidate different entries into one regexp
6948 and add more *file-s.
6949
6950 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6951
6952 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6953
6954 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6955 (diary-entry): Use it in the action of this button type instead of
6956 diary-goto-entry.
6957
6958 * calendar/todo-mode.el: New version.
6959 (todo-add-category): Append new category to end of file and give
6960 it the highest number, instead of putting it at the beginning and
6961 giving it 0. Incorporate noninteractive functionality.
6962 (todo-forward-category): Adapt to 1-based category numbering.
6963 Allow skipping over archived categories.
6964 (todo-backward-category): Derive from todo-forward-category.
6965 (todo-backward-item, todo-forward-item): Make noninteractive and
6966 delegate interactive part to new commands. Make sensitive to done items.
6967 (todo-categories): Make value an alist of category names and
6968 vectors of item counts.
6969 (todo-category-beg): Make a defconst.
6970 (todo-category-number): Use 1 instead of 0 as initial value.
6971 (todo-category-select): Make sensitive to overlays, optional item
6972 highlighting and done items.
6973 (todo-delete-item): Make sensitive to overlays and marked and done items.
6974 (todo-edit-item): Make sensitive to overlays and editing of
6975 date/time header optional. Add format checks.
6976 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6977 no-op if point is not on an item. Advertise using todo-edit-quit.
6978 (todo-edit-mode): Make sensitive to new format, font-locking, and
6979 multiple todo files.
6980 (todo-insert-item, todo-insert-item-here): Derive from
6981 todo-basic-insert-item and extend functionality.
6982 (todo-item-end, todo-item-start): Make sensitive to done items.
6983 (todo-item-string): Don't return text properties. Restore point.
6984 (todo-jump-to-category): Make sensitive to multiple todo files and
6985 todo archives. Use extended category completion.
6986 (todo-lower-item, todo-raise-item): Rename to *-priority and
6987 derive from todo-set-item-priority.
6988 (todo-mode): Derive from special-mode. Make sensitive to new
6989 format, font-locking and multiple todo files. Make read-only.
6990 (todo-mode-map): Don't suppress digit keys, so they can supply
6991 prefix arguments. Add many new key bindings.
6992 (todo-prefix): Insert as an overlay instead of file text.
6993 Change semantics from diary date expression to purely visual mark.
6994 (todo-print): Rename to todo-print-buffer. Make buffer display
6995 features printable. Remove option to restrict number of items
6996 printed. Add option to print to file.
6997 (todo-print-function): Rename to todo-print-buffer-function.
6998 (todo-quit): Extend to handle exiting new todo modes.
6999 (todo-remove-item): Make sensitive to overlays.
7000 (todo-save): Extend to buffers of filtered items.
7001 (todo-show): Make sensitive to done items, multiple todo files and
7002 new todo modes. Offer to convert legacy todo file before creating
7003 first new todo file.
7004 (todo-show-priorities): Rename to todo-top-priorities.
7005 Change semantics of value 0.
7006 (todo-top-priorities): Rename to todo-filter-top-priorities,
7007 derive from todo-filter-items and extend functionality.
7008 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7009 and extend functionality to other types of filtered items.
7010 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7011 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7012 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7013 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7014 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7015 (todo-edit-mode-hook, todo-entry-prefix-function)
7016 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7017 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7018 (todo-initials, todo-insert-threshold, todo-item-string-start)
7019 (todo-line-string, todo-menu, todo-mode-hook)
7020 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7021 (todo-print-priorities, todo-remove-separator)
7022 (todo-save-top-priorities-too, todo-string-count-lines)
7023 (todo-string-multiline-p, todo-time-string-format)
7024 (todo-tmp-buffer-name): Remove.
7025 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7026 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7027 (todo-edit-category-diary-inclusion)
7028 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7029 (todo-edit-file, todo-edit-item-date-day)
7030 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7031 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7032 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7033 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7034 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7035 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7036 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7037 (todo-filter-top-priorities-multifile, todo-find-archive)
7038 (todo-find-filtered-items-file, todo-go-to-source-item)
7039 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7040 (todo-jump-to-archive-category, todo-lower-category)
7041 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7042 (todo-move-category, todo-move-item, todo-next-button)
7043 (todo-next-item, todo-padded-string, todo-powerset)
7044 (todo-previous-button, todo-previous-item)
7045 (todo-print-buffer-to-file, todo-raise-category)
7046 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7047 (todo-set-category-number, todo-set-item-priority)
7048 (todo-set-top-priorities-in-category)
7049 (todo-set-top-priorities-in-file, todo-show-categories-table)
7050 (todo-sort-categories-alphabetically-or-numerically)
7051 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7052 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7053 (todo-toggle-item-header, todo-toggle-item-highlighting)
7054 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7055 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7056 (todo-unarchive-items, todo-unmark-category): New commands.
7057 (todo-absolute-file-name, todo-add-to-buffer-list)
7058 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7059 (todo-basic-insert-item, todo-category-completions)
7060 (todo-category-number, todo-category-string-matcher-1)
7061 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7062 (todo-check-format, todo-clear-matches)
7063 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7064 (todo-current-category, todo-date-string-matcher)
7065 (todo-define-insertion-command, todo-diary-expired-matcher)
7066 (todo-diary-goto-entry, todo-diary-item-p)
7067 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7068 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7069 (todo-done-item-section-p, todo-done-separator)
7070 (todo-done-string-matcher, todo-files, todo-filter-items)
7071 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7072 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7073 (todo-insert-category-line, todo-insert-item-from-calendar)
7074 (todo-insert-sort-button, todo-insert-with-overlays)
7075 (todo-insertion-command-name, todo-insertion-key-bindings)
7076 (todo-label-to-key, todo-longest-category-name-length)
7077 (todo-make-categories-list, todo-mode-external-set)
7078 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7079 (todo-modes-set-3, todo-multiple-filter-files)
7080 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7081 (todo-read-category, todo-read-date, todo-read-dayname)
7082 (todo-read-file-name, todo-read-time)
7083 (todo-reevaluate-category-completions-files-defcustom)
7084 (todo-reevaluate-default-file-defcustom)
7085 (todo-reevaluate-filelist-defcustoms)
7086 (todo-reevaluate-filter-files-defcustom)
7087 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7088 (todo-reset-done-separator, todo-reset-done-separator-string)
7089 (todo-reset-done-string, todo-reset-global-current-todo-file)
7090 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7091 (todo-reset-prefix, todo-set-categories)
7092 (todo-set-date-from-calendar, todo-set-show-current-file)
7093 (todo-set-top-priorities, todo-short-file-name)
7094 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7095 (todo-total-item-counts, todo-update-buffer-list)
7096 (todo-update-categories-display, todo-update-categories-sexp)
7097 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7098 New functions.
7099 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7100 New major modes.
7101 (todo-categories, todo-display, todo-edit, todo-faces)
7102 (todo-filtered): New defgroups.
7103 (todo-archived-only, todo-button, todo-category-string, todo-date)
7104 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7105 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7106 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7107 (todo-add-item-if-new-category, todo-always-add-time-string)
7108 (todo-categories-align, todo-categories-archived-label)
7109 (todo-categories-category-label, todo-categories-diary-label)
7110 (todo-categories-done-label, todo-categories-number-separator)
7111 (todo-categories-todo-label, todo-categories-totals-label)
7112 (todo-category-completions-files, todo-completion-ignore-case)
7113 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7114 (todo-done-separator-string, todo-done-string)
7115 (todo-files-function, todo-filter-done-items, todo-filter-files)
7116 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7117 (todo-initial-category, todo-initial-file, todo-item-mark)
7118 (todo-legacy-date-time-regexp, todo-mode-line-function)
7119 (todo-nondiary-marker, todo-number-prefix)
7120 (todo-print-buffer-function, todo-show-current-file)
7121 (todo-show-done-only, todo-show-first, todo-show-with-done)
7122 (todo-skip-archived-categories, todo-top-priorities-overrides)
7123 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7124 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7125 New defcustoms.
7126 (todo-category-done, todo-date-pattern, todo-date-string-start)
7127 (todo-diary-items-buffer, todo-done-string-start)
7128 (todo-filtered-items-buffer, todo-item-start)
7129 (todo-month-abbrev-array, todo-month-name-array)
7130 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7131 (todo-top-priorities-buffer): New defconsts.
7132 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7133 (todo-categories-with-marks, todo-category-string-face)
7134 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7135 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7136 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7137 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7138 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7139 (todo-font-lock-keywords, todo-global-current-todo-file)
7140 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7141 (todo-insertion-commands-args)
7142 (todo-insertion-commands-args-genlist)
7143 (todo-insertion-commands-names, todo-insertion-map)
7144 (todo-key-bindings-t, todo-key-bindings-t+a)
7145 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7146 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7147 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7148 (todo-visited): New variables.
7149
7150 2013-06-21 Glenn Morris <rgm@gnu.org>
7151
7152 * play/cookie1.el (cookie-apropos): Add optional display argument.
7153 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7154 (psychoanalyze-pinhead): Use cookie-doctor.
7155
7156 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7157
7158 * emacs-lisp/package.el (tar-get-file-descriptor)
7159 (tar--extract): Declare.
7160
7161 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7162
7163 Extend flymake's warning predicate to be a function (bug#14217).
7164 * progmodes/flymake.el (flymake-warning-predicate): New.
7165 (flymake-parse-line): Use it.
7166 (flymake-warning-re): Make obsolete alias to
7167 `flymake-warning-predicate'.
7168
7169 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7170
7171 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7172 (package-obsolete-list): Remove.
7173 (package-activate): Remove min-version argument. Add `force' argument.
7174 Adjust to new package-alist format.
7175 (package-mark-obsolete): Remove.
7176 (package-unpack): Force reload of the package's autoloads.
7177 (package-installed-p): Check builtins if the installed package is not
7178 recent enough.
7179 (package-initialize): Don't reset package-obsolete-list.
7180 Don't specify which package version to activate.
7181 (package-process-define-package, describe-package-1)
7182 (package-menu--generate): Adjust to new package-alist format.
7183
7184 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7185
7186 * allout-widgets.el (allout-widgets-mode-off)
7187 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7188 (allout-widgets-post-command-business)
7189 (allout-widgets-after-copy-or-kill-function)
7190 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7191 (allout-decorate-item-and-context)
7192 (allout-graphics-modification-handler): Fix typos in docstrings.
7193 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7194
7195 * cmuscheme.el (scheme-start-file): Doc fix.
7196 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7197 (scheme-input-filter): Use `string-match-p'.
7198
7199 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7200
7201 * dired-x.el: Use Dired consistently in docstrings.
7202
7203 * dired.el: Use Dired consistently in docstrings.
7204 (dired-readin, dired-mode): Use `setq-local'.
7205 (dired-switches-alist): Make defvar-local.
7206 (dired-buffers-for-dir): Use `zerop'.
7207 (dired-safe-switches-p, dired-switches-escape-p)
7208 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7209 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7210 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7211 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7212 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7213 (dired-toggle-marks, dired-mark-files-containing-regexp)
7214 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7215 (dired-flag-auto-save-files, dired-flag-backup-files):
7216 Use `looking-at-p'.
7217 (dired-mark-files-regexp, dired-build-subdir-alist):
7218 Use `string-match-p', `looking-at-p'.
7219
7220 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7221 (direct-print-region-helper): Use `string-match-p'.
7222
7223 2013-06-21 Leo Liu <sdl.web@gmail.com>
7224
7225 * comint.el (comint-redirect-results-list-from-process):
7226 Fix infinite loop.
7227
7228 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7229
7230 * net/eww.el (eww-update-header-line-format): Quote % characters.
7231
7232 2013-06-21 Glenn Morris <rgm@gnu.org>
7233
7234 * play/cookie1.el (cookie): New custom group.
7235 (cookie-file): New option.
7236 (cookie-check-file): New function.
7237 (cookie): Make it interactive. Make start and end messages optional.
7238 Interactively, display the result. Default to cookie-file.
7239 (cookie-insert): Default to cookie-file.
7240 (cookie-snarf): Make start and end messages optional.
7241 Default to cookie-file. Use with-temp-buffer.
7242 (cookie-read): Rename from read-cookie.
7243 Make start and end messages optional. Default to cookie-file.
7244 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7245 Do not autoload it.
7246 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7247 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7248
7249 2013-06-21 Leo Liu <sdl.web@gmail.com>
7250
7251 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7252
7253 2013-06-21 Glenn Morris <rgm@gnu.org>
7254
7255 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7256
7257 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7258 Daniel Hackney <dan@haxney.org>
7259
7260 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7261 Consolidate the single-file vs tarball code.
7262 (package-desc-suffix): New function.
7263 (package-desc-full-name): Don't bother inlining it.
7264 (package-load-descriptor): Return the new package-desc.
7265 (package-mark-obsolete): Remove unused arg `package'.
7266 (package-unpack): Make it work for single files as well.
7267 Make it update package-alist.
7268 (package--make-autoloads-and-stuff): Rename from
7269 package--make-autoloads-and-compile. Don't compile any more.
7270 (package--compile): New function.
7271 (package-generate-description-file): New function, extracted from
7272 package-unpack-single.
7273 (package-unpack-single): Remove.
7274 (package--with-work-buffer): Add indentation and debugging info.
7275 (package-download-single): Remove.
7276 (package-install-from-archive): Rename from package-download-tar, make
7277 it take a pkg-desc, and make it work for single files as well.
7278 (package-download-transaction): Simplify.
7279 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7280 external tar program.
7281 (package-install-from-buffer): Remove `pkg-desc' argument.
7282 Use package-tar-file-info for tar-mode buffers.
7283 (package-install-file): Simplify accordingly.
7284 (package-archive-base): Change to take a pkg-desc.
7285 * tar-mode.el (tar--check-descriptor): New function, extracted from
7286 tar-get-descriptor.
7287 (tar-get-descriptor): Use it.
7288 (tar-get-file-descriptor): New function.
7289 (tar--extract): New function, extracted from tar-extract.
7290 (tar--extract): Use it.
7291 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7292 case the summary uses non-ascii. Adjust to new calling convention of
7293 package-tar-file-info.
7294
7295 2013-06-21 Leo Liu <sdl.web@gmail.com>
7296
7297 * comint.el (comint-redirect-results-list-from-process):
7298 Fix random delay. (Bug#14681)
7299
7300 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7301
7302 * profiler.el (profiler-format-number): Use log, not log10.
7303
7304 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7305
7306 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7307
7308 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7309
7310 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7311 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7312 yet available.
7313 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7314 (AUTOGENEL): ... here.
7315 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7316 (cl--defsubst-expand): Use it.
7317
7318 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7319
7320 * subr.el (log10): Move here from C code, and declare as obsolete.
7321 All uses of (log10 X) replaced with (log X 10).
7322
7323 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7324
7325 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7326 Declare with `defvar-local'.
7327 (tabulated-list-use-header-line, tabulated-list-entries)
7328 (tabulated-list-padding, tabulated-list-printer)
7329 (tabulated-list-sort-key): Declare with `defvar-local'.
7330 (tabulated-list-init-header, tabulated-list-print-fake-header):
7331 Use `setq-local'.
7332
7333 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7334
7335 * arc-mode.el (archive-mode): Add `archive-write-file' to
7336 `write-contents-functions' also for remote files. (Bug#14652)
7337
7338 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7339
7340 * cus-edit.el (custom-commands): Fix typos.
7341 (custom-display): Fix tooltip text.
7342 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7343 Fix typos in docstrings.
7344 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7345 (custom-unlispify-menu-entry, custom-magic-value-create)
7346 (custom-add-see-also, custom-group-value-create): Use ?\s.
7347 (custom-guess-type, customize-apropos, editable-field)
7348 (custom-face-value-create): Use `string-match-p'.
7349 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7350
7351 * custom.el (custom-load-symbol): Use `string-match-p'.
7352
7353 * ansi-color.el: Convert to lexical binding.
7354 (ansi-colors): Fix URL.
7355 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7356 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7357 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7358
7359 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7360
7361 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7362
7363 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7364
7365 2013-06-19 Tom Tromey <tromey@redhat.com>
7366
7367 * net/eww.el (eww-top-url): Remove.
7368 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7369 (eww-render): Set new variables. Don't set eww-top-url.
7370 (eww-handle-link): Handle "prev", "home", and "contents".
7371 Downcase the rel text.
7372 (eww-top-url): Choose best top URL.
7373
7374 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7375
7376 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7377 relying in widget.el. Using widget.el leads to too many
7378 user interface inconsistencies.
7379 (eww-self-insert): Implement entering commands in text fields.
7380 (eww-process-text-input): New function to make text input field editing
7381 work.
7382 (eww-submit): Rewrite to use the new-style form methods.
7383 (eww-select-display): Display the correct selected item.
7384 (eww-change-select): Implement changing the select value.
7385 (eww-toggle-checkbox): Implement radio/checkboxes.
7386 (eww-update-field): Fix compilation error.
7387 (eww-tag-textarea): Implement <textarea>.
7388
7389 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7390 we don't shadow mode-specific bindings.
7391
7392 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7393 nothing to push.
7394
7395 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7396
7397 2013-06-19 Glenn Morris <rgm@gnu.org>
7398
7399 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7400
7401 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7402
7403 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7404 not needed.
7405
7406 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7407
7408 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7409
7410 * net/browse-url.el (browse-url-browser-function):
7411 `eww-browse-url' has the right calling signature, `eww' does not.
7412
7413 2013-06-19 Glenn Morris <rgm@gnu.org>
7414
7415 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7416 Only eval autoloaded macros.
7417 (byte-compile-autoload): Only give the macro warning for macros.
7418
7419 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7420 (ps-underlined-faces): Declare.
7421
7422 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7423 (speedbar-add-supported-extension): Declare.
7424
7425 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7426 Don't include a date stamp in the header of the generated file;
7427 it leads to needless differences between output files.
7428
7429 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7430
7431 * net/secrets.el (secrets-struct-secret-content-type):
7432 Replace check of introspection data by a test call of "CreateItem".
7433 Some servers do not offer introspection.
7434
7435 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7436
7437 * electric.el (electric-pair-mode): Improve interaction with
7438 electric-layout-mode.
7439 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7440 (electric-pair-syntax): Use text-mode-syntax-table in comments
7441 and strings.
7442 (electric-pair--insert): New function.
7443 (electric-pair-post-self-insert-function): Use it and
7444 electric--after-char-pos.
7445
7446 2013-06-19 Leo Liu <sdl.web@gmail.com>
7447
7448 * progmodes/octave.el (octave-help): Fix regexp.
7449
7450 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7451
7452 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7453 (shr-table-horizontal-line): Allow nil as a value, and change the
7454 default.
7455 (shr-insert-table-ruler): Respect the nil value.
7456
7457 2013-06-18 Tom Tromey <tromey@barimba>
7458
7459 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7460 New defvars.
7461 (eww-open-file): New defun.
7462 (eww-render): Initialize new variables.
7463 (eww-display-html): Handle "link" and "a".
7464 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7465 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7466 (eww-back-url): Rename from eww-previous-url.
7467 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7468 New defuns.
7469
7470 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7471
7472 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7473 Distinguish ternary operator tokens from slash symbol and slash
7474 char literal.
7475
7476 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7477
7478 Convert symbol prettification into minor mode and global minor mode.
7479
7480 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7481 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7482 (prettify-symbols--keywords): Rename from
7483 `prog-prettify-symbols-alist' and make a local defvar.
7484 (prettify-symbols--compose-symbol): Rename from
7485 `prog--prettify-font-lock-compose-symbol'.
7486 (prettify-symbols--make-keywords): Rename from
7487 `prog-prettify-font-lock-symbols-keywords' and simplify.
7488 (prog-prettify-install): Remove.
7489 (prettify-symbols-mode): New minor mode, based on
7490 `prog-prettify-install'.
7491 (turn-on-prettify-symbols-mode): New function.
7492 (global-prettify-symbols-mode): New globalized minor mode.
7493
7494 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7495 * progmodes/cfengine.el (cfengine3-mode):
7496 * progmodes/perl-mode.el (perl-mode): Don't call
7497 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7498
7499 2013-06-18 Juri Linkov <juri@jurta.org>
7500
7501 * files-x.el (modify-file-local-variable-message): New function.
7502 (modify-file-local-variable)
7503 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7504 and call `modify-file-local-variable-message' when it's non-nil.
7505 (add-file-local-variable, delete-file-local-variable)
7506 (add-file-local-variable-prop-line)
7507 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7508 and use it. (Bug#9820)
7509
7510 2013-06-18 Juri Linkov <juri@jurta.org>
7511
7512 * emulation/vi.el (vi-shell-op):
7513 * emulation/vip.el (vip-execute-com, ex-command):
7514 * emulation/viper-cmd.el (viper-exec-bang):
7515 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7516 the call of `shell-command-on-region'. (Bug#14637)
7517
7518 * simple.el (shell-command-on-region): Doc fix.
7519
7520 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7521
7522 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7523 (bug#14633).
7524
7525 2013-06-18 Glenn Morris <rgm@gnu.org>
7526
7527 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7528
7529 * newcomment.el (comment-search-forward, comment-search-backward):
7530 Doc fix. (Bug#14376)
7531
7532 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7533
7534 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7535 (buffer-face-mode-invoke): Doc fix.
7536
7537 2013-06-18 Matthias Meulien <orontee@gmail.com>
7538
7539 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7540 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7541
7542 2013-06-18 Glenn Morris <rgm@gnu.org>
7543
7544 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7545 Replace obsolete function generic-make-keywords with its expansion.
7546
7547 * progmodes/python.el (ffap-alist): Declare.
7548
7549 * textmodes/reftex.el (bibtex-mode-map): Declare.
7550
7551 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7552
7553 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7554 (package-unpack, package-unpack-single): Return the pkg-dir.
7555 (package-download-transaction): Use it to update package-alist.
7556
7557 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7558
7559 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7560 possible choice.
7561
7562 2013-06-17 Juri Linkov <juri@jurta.org>
7563
7564 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7565
7566 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7567
7568 * emacs-lisp/package.el (package-load-descriptor):
7569 Remove `with-syntax-table' call, `read' doesn't need it.
7570 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7571
7572 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7573
7574 * startup.el (command-line): Expand package name returned by
7575 `package--description-file' (bug#14639).
7576
7577 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7578
7579 * emacs-lisp/package.el (package-load-descriptor): Do not call
7580 `emacs-lisp-mode', just use its syntax table.
7581
7582 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7583
7584 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7585 `font-lock-extra-managed-props' if any prettifying keyword is added.
7586 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7587 (prog-mode): Use `setq-local'.
7588
7589 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7590
7591 * international/characters.el (standard-case-table): Set syntax of ?»
7592 and ?« to punctuation.
7593
7594 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7595
7596 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7597 Save relevant match data before calling `syntax-ppss' (bug#14595).
7598
7599 2013-06-15 Juri Linkov <juri@jurta.org>
7600
7601 * files-x.el (modify-file-local-variable-prop-line): Add local
7602 variables to the end of the existing comment on the first line.
7603 Use `file-auto-mode-skip' to skip interpreter magic line,
7604 and also skip XML declaration.
7605
7606 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7607
7608 * startup.el (package--builtin-versions): New var.
7609 (package-subdirectory-regexp): Remove.
7610 (package--description-file): Hard code its value instead.
7611
7612 * emacs-lisp/package.el: Don't activate packages older than builtin.
7613 (package-obsolete-list): Rename from package-obsolete-alist, and make
7614 it into a simple list of package-desc.
7615 (package-strip-version): Remove.
7616 (package-built-in-p): Use package--builtin-versions.
7617 (package-mark-obsolete): Simplify.
7618 (package-process-define-package): Mark it obsolete if older than the
7619 builtin version.
7620 (package-handle-response): Use line-end-position.
7621 (package-read-archive-contents, package--download-one-archive):
7622 Simplify.
7623 (package--add-to-archive-contents): Skip if older than the builtin or
7624 installed version.
7625 (package-menu-describe-package): Fix last change.
7626 (package-list-unversioned): New var.
7627 (package-menu--generate): Use it.
7628
7629 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7630 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7631 (autoload-builtin-package-versions): New variable.
7632 (autoload-generate-file-autoloads): Use them.
7633 Remove the list of autoloaded functions/macros from the
7634 (autoload...) comments.
7635
7636 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7637
7638 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7639
7640 * simple.el (line-move-partial): Don't jump to the next screen
7641 line as soon as it becomes visible. Instead, continue enlarging
7642 the vscroll until the portion of a tall screen line that's left on
7643 display is about the height of the frame's default font.
7644 (Bug#14567)
7645
7646 2013-06-15 Glenn Morris <rgm@gnu.org>
7647
7648 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7649 compilation-error-regexp-alist void, or local while let-bound.
7650
7651 * progmodes/make-mode.el (makefile-mode-syntax-table):
7652 Treat "=" as punctuation. (Bug#14614)
7653
7654 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7655
7656 * help-fns.el (describe-variable):
7657 Add extra line for permanent-local variables.
7658
7659 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7660
7661 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7662 Add export, import, library. (Bug#9164)
7663 (library): Set indent function.
7664
7665 2013-06-14 Glenn Morris <rgm@gnu.org>
7666
7667 * term/xterm.el (xterm--query):
7668 Stop after first matching handler. (Bug#14615)
7669
7670 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7671
7672 Add support for dired in saveplace.
7673 * dired.el (dired-initial-position-hook): New variable.
7674 (dired-initial-position): Call hook to place cursor position.
7675 * saveplace.el (save-place-to-alist): Add dired position.
7676 (save-place-dired-hook): New function.
7677
7678 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7679
7680 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7681 through a symbol rather than letrec.
7682
7683 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7684 (package-desc): Add `dir' field.
7685 (package-desc-full-name): New function.
7686 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7687 (package-maybe-load-descriptor): Remove.
7688 (package-load-all-descriptors): Just call package-load-descriptor.
7689 (package--disabled-p): New function.
7690 (package-desc-vers, package-desc-doc): Remove aliases.
7691 (package--dir): Remove function.
7692 (package-activate): Check if a package is disabled.
7693 (package-process-define-package): New function, extracted from
7694 define-package.
7695 (define-package): Turn into a place holder.
7696 (package-unpack-single, package-tar-file-info):
7697 Use package--description-file.
7698 (package-compute-transaction): Use package--disabled-p.
7699 (package-download-transaction): Don't call
7700 package-maybe-load-descriptor since they're all loaded anyway.
7701 (package-install): Change argument to be a pkg-desc.
7702 (package-delete): Use a single pkg-desc argument.
7703 (describe-package-1): Use package-desc-dir instead of package--dir.
7704 Use package-desc property instead of package-symbol.
7705 (package-install-button-action): Adjust accordingly.
7706 (package--push): Rewrite.
7707 (package-menu--print-info): Adjust accordingly. Change the ID format
7708 to be a pkg-desc.
7709 (package-menu-describe-package, package-menu-get-status)
7710 (package-menu--find-upgrades, package-menu-mark-upgrades)
7711 (package-menu-execute, package-menu--name-predicate):
7712 Adjust accordingly.
7713 * startup.el (package--description-file): New function.
7714 (command-line): Use it.
7715 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7716 Use package-desc-version.
7717
7718 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7719 (byte-compile-preprocess): Use it.
7720 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7721 can't quite recognize.
7722 (byte-compile-add-to-list): Remove.
7723 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7724 (cconv-closure-convert): Add assertion.
7725
7726 * emacs-lisp/map-ynp.el: Use lexical-binding.
7727 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7728 Factor out some repeated code.
7729
7730 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7731
7732 * subr.el (with-eval-after-load): New macro.
7733 (eval-after-load): Allow form to be a function.
7734 take advantage of lexical-binding.
7735 (do-after-load-evaluation): Use dolist and adjust to new format.
7736 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7737
7738 2013-06-13 Juri Linkov <juri@jurta.org>
7739
7740 * replace.el (perform-replace): Display "symbol " and other search
7741 modes from `isearch-message-prefix' in the *Help* buffer.
7742
7743 * isearch.el (isearch-query-replace): Add " symbol" and other
7744 possible search modes from `isearch-message-prefix' to the prompt.
7745 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7746 when reading a regexp to collect.
7747
7748 2013-06-13 Juri Linkov <juri@jurta.org>
7749
7750 * isearch.el (word-search-regexp): Match whitespace if the search
7751 string begins or ends in whitespace. The LAX arg is applied to
7752 both ends of the search string. Use `regexp-quote' and explicit
7753 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7754 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7755 boundaries are replaced with symbol boundaries, and characters
7756 between symbols match non-word non-symbol syntax. (Bug#14602)
7757
7758 2013-06-13 Juri Linkov <juri@jurta.org>
7759
7760 * isearch.el (isearch-del-char): Don't exceed the length of
7761 `isearch-string' by the prefix arg. (Bug#14563)
7762
7763 2013-06-13 Juri Linkov <juri@jurta.org>
7764
7765 * isearch.el (isearch-yank-word, isearch-yank-line)
7766 (isearch-char-by-name, isearch-quote-char)
7767 (isearch-printing-char, isearch-process-search-char):
7768 Add optional count prefix arg. (Bug#14563)
7769
7770 * international/isearch-x.el
7771 (isearch-process-search-multibyte-characters):
7772 Add optional count prefix arg.
7773
7774 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7775
7776 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7777 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7778 lexical-binding.
7779
7780 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7781
7782 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7783
7784 2013-06-13 Glenn Morris <rgm@gnu.org>
7785
7786 * startup.el (tty-handle-args):
7787 Don't just discard "--" and anything after. (Bug#14608)
7788
7789 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7790
7791 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7792
7793 Implement changes in Secret Service API. Make it backward compatible.
7794 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7795 (secrets-create-item): Use it. Prefix properties with interface.
7796
7797 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7798
7799 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7800 (term-emulate-terminal): Respect term-suppress-hard-newline.
7801
7802 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7803
7804 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7805 Only remove a `thumb-file' overlay. (Bug#14548)
7806
7807 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7808
7809 * mail/reporter.el (reporter-submit-bug-report):
7810 Handle missing package-name. (Bug#14600)
7811
7812 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7813
7814 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7815 (reftex-citation-prompt, reftex-default-bibliography)
7816 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7817 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7818 (reftex-bib-sort-author, reftex-bib-sort-year)
7819 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7820 (reftex-extract-bib-entries-from-thebibliography)
7821 (reftex-get-bibkey-default, reftex-get-bib-names)
7822 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7823 (reftex-format-bib-entry, reftex-parse-bibitem)
7824 (reftex-format-bibitem, reftex-do-citation)
7825 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7826 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7827 (reftex-insert-bib-matches, reftex-format-citation)
7828 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7829 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7830 existing comments into docstrings.
7831
7832 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7833
7834 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7835
7836 2013-06-12 Andreas Schwab <schwab@suse.de>
7837
7838 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7839 for auto-save files.
7840
7841 2013-06-12 Glenn Morris <rgm@gnu.org>
7842
7843 * ido.el (ido-delete-ignored-files): Remove.
7844 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7845 Go back to calling ido-ignore-item-p directly.
7846
7847 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7848
7849 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7850
7851 * ido.el (ido-delete-ignored-files): New function,
7852 split from ido-make-file-list-1.
7853 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7854 (ido-make-file-list-1): Use ido-delete-ignored-files.
7855
7856 2013-06-12 Leo Liu <sdl.web@gmail.com>
7857
7858 * progmodes/octave.el (inferior-octave-startup)
7859 (inferior-octave-completion-table)
7860 (inferior-octave-track-window-width-change)
7861 (octave-eldoc-function-signatures, octave-help)
7862 (octave-find-definition): Use single quoted strings.
7863 (inferior-octave-startup-args): Change default value.
7864 (inferior-octave-startup): Do not hard code "-i" and
7865 "--no-line-editing".
7866 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7867 (inferior-octave-directory-tracker): Use it.
7868 (octave-goto-function-definition): Robustify.
7869 (octave-help): Support highlighting operators in 'See also'.
7870 (octave-find-definition): Find subfunctions only in Octave mode.
7871
7872 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7873
7874 * help-fns.el (help-fns--compiler-macro): If the handler function is
7875 named, then put a link to it.
7876 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7877 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7878 (cl-typep): Use it.
7879 (cl-eval-when): Simplify debug spec.
7880 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7881 compiler-macro function instead of setting `compiler-macro-file'.
7882
7883 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7884
7885 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7886 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7887
7888 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7889 Daniel Hackney <dan@haxney.org>
7890
7891 First part of Daniel Hackney's patch to package.el.
7892 * emacs-lisp/package.el: Use defstruct.
7893 (package-desc): New, main struct.
7894 (package--bi-desc, package--ac-desc): New structs, used to describe the
7895 format in external files.
7896 (package-desc-vers): Replace with package-desc-version accessor.
7897 (package-desc-doc): Replace with package-desc-summary accessor.
7898 (package-activate-1): Remove `package' arg since the pkg-vec now
7899 includes the name.
7900 (define-package): Use package-desc-from-define.
7901 (package-unpack-single): Change file-name arg to be a symbol.
7902 (package--add-to-archive-contents): Use package-desc-create and new
7903 accessor functions to package--ac-desc.
7904 (package-buffer-info, package-tar-file-info): Return a package-desc.
7905 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7906 arg to be a package-desc.
7907 (package-install-file): Adjust accordingly. Use \' to match EOS.
7908 (package--from-builtin): New function.
7909 (describe-package-1, package-menu--generate): Use it.
7910 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7911 (package-generate-autoloads): Idem and return the name of the file.
7912 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7913 Change pkg-info arg to be a package-desc.
7914 Use package-make-ac-desc.
7915 (package-upload-file): Use \' to match EOS.
7916 * finder.el (finder-compile-keywords): Use package-make-builtin.
7917
7918 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7919
7920 * vc/vc.el (vc-deduce-fileset): Change error message.
7921 (vc-read-backend): New function.
7922 (vc-next-action): Use it.
7923
7924 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7925
7926 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7927 (prolog-font-lock-keywords): Use regexp-opt instead.
7928 Don't manually highlight strings.
7929 (prolog-mode-variables): Simplify comment-start-skip.
7930 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7931
7932 * emacs-lisp/generic.el (generic--normalise-comments)
7933 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7934 (generic-mode-set-comments): Use them.
7935 (generic-bracket-support): Use setq-local.
7936 (generic-make-keywords-list): Declare obsolete.
7937
7938 2013-06-11 Glenn Morris <rgm@gnu.org>
7939
7940 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7941 Prettify after setting font-lock-defaults. (Bug#14574)
7942
7943 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7944
7945 * replace.el (query-replace, occur-read-regexp-defaults-function)
7946 (replace-search):
7947 * subr.el (declare-function, number-sequence, local-set-key)
7948 (substitute-key-definition, locate-user-emacs-file)
7949 (with-silent-modifications, split-string, eval-after-load):
7950 Fix typos, remove unneeded backslashes and reflow some docstrings.
7951
7952 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7953
7954 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7955 default for Elisp files.
7956
7957 2013-06-11 Glenn Morris <rgm@gnu.org>
7958
7959 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7960 although define-derived-mode was doing this anyway. (Bug#14583)
7961
7962 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7963
7964 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7965 Fix make-variable-buffer-local call to refer to the correct variable.
7966
7967 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7968
7969 * eshell/em-term.el (eshell-visual-commands)
7970 (eshell-visual-subcommands, eshell-visual-options):
7971 Add summary line to docstrings. Add cross-references.
7972
7973 2013-06-10 Glenn Morris <rgm@gnu.org>
7974
7975 * epa.el (epa-read-file-name): New function. (Bug#14510)
7976 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7977
7978 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7979
7980 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7981 output redirection to be ignored with visual commands.
7982
7983 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7984
7985 * eshell/em-term.el (eshell-visual-command-p): New function.
7986 (eshell-term-initialize): Move long lambda to separate function
7987 eshell-visual-command-p.
7988 * eshell/em-dirs.el (eshell-dirs-initialise):
7989 * eshell/em-script.el (eshell-script-initialize):
7990 Add missing #' to lambda.
7991
7992 2013-06-08 Leo Liu <sdl.web@gmail.com>
7993
7994 * progmodes/octave.el (octave-add-log-current-defun): New function.
7995 (octave-mode): Set add-log-current-defun-function.
7996 (octave-goto-function-definition): Do not move point if not found.
7997 (octave-find-definition): Enhance to try subfunctions first.
7998
7999 2013-06-08 Glenn Morris <rgm@gnu.org>
8000
8001 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8002 (byte-compile-backward-char, byte-compile-backward-word):
8003 Improve previous change, to handle non-explicit nil.
8004
8005 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8006
8007 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8008 (smie--opener/closer-at-point): New function.
8009 (smie--matching-block-data): Use it. Don't match from right after an
8010 opener or right before a closer. Obey smie-blink-matching-inners.
8011 Don't signal a mismatch for repeated inners like "switch..case..case".
8012
8013 2013-06-07 Leo Liu <sdl.web@gmail.com>
8014
8015 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8016 to t. (Bug#14303)
8017 (octave-function-header-regexp): Fix. (Bug#14570)
8018 (octave-help-mode-finish-hook, octave-help-mode-finish):
8019 Remove. Just use temp-buffer-show-hook.
8020
8021 * newcomment.el (comment-search-backward): Revert last change.
8022 (Bug#14434)
8023
8024 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8025
8026 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8027
8028 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8029 through xargs, to avoid failure due to MS-Windows limitations on
8030 command-line length.
8031
8032 2013-06-06 Glenn Morris <rgm@gnu.org>
8033
8034 * font-lock.el (lisp-font-lock-keywords-2):
8035 Treat user-error like error.
8036
8037 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8038 (byte-compile-backward-char, byte-compile-backward-word):
8039 Handle explicit nil arguments. (Bug#14565)
8040
8041 2013-06-05 Alan Mackenzie <acm@muc.de>
8042
8043 * isearch.el (isearch-allow-prefix): New user option.
8044 (isearch-other-meta-char): Don't exit isearch when a prefix
8045 argument is typed whilst `isearch-allow-prefix' is non-nil.
8046 (Bug#9706)
8047
8048 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8049
8050 * autorevert.el (auto-revert-notify-handler): Use memq.
8051 Hide assertion failure.
8052
8053 * skeleton.el: Use cl-lib.
8054 (skeleton-further-elements): Use defvar-local.
8055 (skeleton-insert): Use cl-progv.
8056
8057 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8058
8059 * progmodes/prog-mode.el (prog-prettify-symbols)
8060 (prog-prettify-install): Update docstrings.
8061
8062 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8063
8064 * simple.el: Move all the prog-mode code to prog-mode.el.
8065 * progmodes/prog-mode.el: New file.
8066 * loadup.el: Add prog-mode.el.
8067
8068 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8069
8070 * simple.el (prog-prettify-symbols): Add version.
8071 (prog-prettify-install): Add convenience function to prettify symbols.
8072
8073 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8074 (perl--augmented-font-lock-keywords-1)
8075 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8076 variables and use it.
8077
8078 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8079 (cfengine3-mode): Remove unneeded variable and use it.
8080
8081 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8082 (lisp--augmented-font-lock-keywords-1)
8083 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8084 Remove unneeded variables and use it.
8085
8086 2013-06-05 João Távora <joaotavora@gmail.com>
8087
8088 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8089 to point when opening the connection. (Bug#14380)
8090
8091 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8092
8093 * subr.el (load-history-regexp, load-history-filename-element)
8094 (eval-after-load, after-load-functions, do-after-load-evaluation)
8095 (eval-next-after-load, display-delayed-warnings)
8096 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8097 definition of save-match-data.
8098 (overriding-local-map): Remove accidental obsolescence declaration.
8099
8100 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8101
8102 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8103
8104 Generalize symbol prettify support to prog-mode and implement it
8105 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8106 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8107 (prog--prettify-font-lock-compose-symbol)
8108 (prog-prettify-font-lock-symbols-keywords): New variables and
8109 functions to support symbol prettification.
8110 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8111 (lisp--augmented-font-lock-keywords-1)
8112 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8113 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8114 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8115 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8116 Implement prettify of -> => :: strings.
8117 * progmodes/perl-mode.el (perl-prettify-symbols)
8118 (perl--font-lock-compose-symbol)
8119 (perl--font-lock-symbols-keywords): Move to prog-mode.
8120 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8121 (perl-font-lock-keywords-1)
8122 (perl-font-lock-keywords-2): Remove explicit prettify support.
8123 (perl--augmented-font-lock-keywords)
8124 (perl--augmented-font-lock-keywords-1)
8125 (perl--augmented-font-lock-keywords-2, perl-mode):
8126 Implement prettify support.
8127
8128 2013-06-05 Leo Liu <sdl.web@gmail.com>
8129
8130 Re-implement smie matching block highlight using
8131 show-paren-data-function. (Bug#14395)
8132 * emacs-lisp/smie.el (smie-matching-block-highlight)
8133 (smie--highlight-matching-block-overlay)
8134 (smie--highlight-matching-block-lastpos)
8135 (smie-highlight-matching-block)
8136 (smie-highlight-matching-block-mode): Remove.
8137 (smie--matching-block-data-cache): New variable.
8138 (smie--matching-block-data): New function.
8139 (smie-setup): Use smie--matching-block-data for
8140 show-paren-data-function.
8141
8142 * progmodes/octave.el (octave-mode-menu): Fix.
8143 (octave-find-definition): Skip garbage lines.
8144
8145 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8146
8147 Fix compilation error with simultaneous dynamic+lexical scoping.
8148 Add warning when a defvar appears after the first let-binding.
8149 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8150 (byte-compile-close-variables): Initialize it.
8151 (byte-compile--declare-var): New function.
8152 (byte-compile-file-form-defvar)
8153 (byte-compile-file-form-define-abbrev-table)
8154 (byte-compile-file-form-custom-declare-variable): Use it.
8155 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8156 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8157 (byte-compile-bind): Handle dynamic bindings that shadow
8158 lexical bindings.
8159 (byte-compile-unbind): Make arg non-optional.
8160 (byte-compile-let): Simplify.
8161 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8162 (cconv--analyse-function, cconv-analyse-form): Populate it.
8163 Protect byte-compile-bound-variables to limit the scope of defvars.
8164 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8165 Remove unneeded rule for `declare'.
8166
8167 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8168 so as to avoid depending on cl-adjoin at run-time.
8169 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8170
8171 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8172 (macroexp--warn-and-return): Use it.
8173
8174 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8175
8176 * lisp/subr.el: Convert to lexical binding.
8177 (overriding-local-map): Make obsolete.
8178 (add-to-list): Doc fix. Add compiler macro.
8179 (read-key): Swap values of local maps.
8180
8181 2013-06-05 Leo Liu <sdl.web@gmail.com>
8182
8183 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8184
8185 2013-06-04 Leo Liu <sdl.web@gmail.com>
8186
8187 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8188 (compilation-auto-jump): Suppress the "Mark set" message to give
8189 way to exit message.
8190
8191 2013-06-04 Alan Mackenzie <acm@muc.de>
8192
8193 Remove faulty optimisation from indentation calculation.
8194 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8195 search limit based on 2000 characters back from indent-point.
8196
8197 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8198
8199 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8200
8201 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8202
8203 * emacs-lisp/lisp.el: Use lexical-binding.
8204 (lisp--local-variables-1, lisp--local-variables): New functions.
8205 (lisp--local-variables-completion-table): New var.
8206 (lisp-completion-at-point): Use it complete let-bound vars.
8207
8208 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8209 eagerly (bug#14422).
8210
8211 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8212
8213 * autorevert.el (auto-revert-notify-enabled)
8214 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8215 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8216 (auto-revert-notify-handler): Handle also gfilenotify.
8217
8218 * subr.el (file-notify-handle-event): New defun. Replacing ...
8219 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8220 Remove.
8221
8222 2013-06-03 Juri Linkov <juri@jurta.org>
8223
8224 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8225 `M-s h .'. (Bug#14427)
8226
8227 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8228 command `hi-lock-face-symbol-at-point'.
8229 (hi-lock-face-symbol-at-point): New command.
8230 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8231 (hi-lock-menu): Add `highlight-symbol-at-point'.
8232 (hi-lock-mode): Doc fix.
8233
8234 * isearch.el (isearch-forward-symbol-at-point): New command.
8235 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8236 (isearch-highlight-regexp): Add a regexp which matches
8237 words/symbols for word/symbol mode.
8238
8239 * subr.el (find-tag-default-bounds): New function with the body
8240 mostly moved from `find-tag-default'.
8241 (find-tag-default): Move most code to `find-tag-default-bounds',
8242 call it and apply `buffer-substring-no-properties' afterwards.
8243
8244 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8245
8246 * eshell/em-term.el (eshell-term-initialize):
8247 Use `cl-intersection' rather than `intersection'.
8248
8249 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8250
8251 * vc/log-view.el: Doc fix.
8252 (log-view-mode-map): Copy keymap from `special-mode-map'.
8253
8254 2013-06-02 Eric Ludlam <zappo@gnu.org>
8255
8256 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8257 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8258 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8259 (eieio-unbound, eieio-default-superclass)
8260 (eieio--define-field-accessors, method-static, method-before)
8261 (method-primary, method-after, method-num-lists)
8262 (method-generic-before, method-generic-primary)
8263 (method-generic-after, method-num-slots)
8264 (eieio-specialized-key-to-generic-key)
8265 (eieio--check-type, class-v, class-p)
8266 (eieio-class-name, define-obsolete-function-alias)
8267 (eieio-class-parents-fast, eieio-class-children-fast)
8268 (same-class-fast-p, class-constructor, generic-p)
8269 (generic-primary-only-p, generic-primary-only-one-p)
8270 (class-option-assoc, class-option, eieio-object-p)
8271 (class-abstract-p, class-method-invocation-order)
8272 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8273 (eieio-class-un-autoload, eieio-defclass)
8274 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8275 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8276 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8277 (eieio-defgeneric-reset-generic-form)
8278 (eieio-defgeneric-form-primary-only)
8279 (eieio-defgeneric-reset-generic-form-primary-only)
8280 (eieio-defgeneric-form-primary-only-one)
8281 (eieio-defgeneric-reset-generic-form-primary-only-one)
8282 (eieio-unbind-method-implementations)
8283 (eieio--defmethod, eieio--typep)
8284 (eieio-perform-slot-validation, eieio-validate-slot-value)
8285 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8286 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8287 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8288 (eieio-slot-name-index, eieio-class-slot-name-index)
8289 (eieio-set-defaults, eieio-initarg-to-attribute)
8290 (eieio-attribute-to-initarg, eieio-c3-candidate)
8291 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8292 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8293 (eieio-class-precedence-list, eieio-generic-call-methodname)
8294 (eieio-generic-call-arglst, eieio-generic-call-key)
8295 (eieio-generic-call-next-method-list)
8296 (eieio-pre-method-execution-functions, eieio-generic-call)
8297 (eieio-generic-call-primary-only, eieiomt-method-list)
8298 (eieiomt-optimizing-obarray, eieiomt-install)
8299 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8300 (eieio-generic-form, eieio-defmethod, make-obsolete)
8301 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8302 (defclass): Remove `eval-and-compile' from macro.
8303 (call-next-method, shared-initialize): Instead of using
8304 `scoped-class' variable, use new eieio--scoped-class, and
8305 eieio--with-scoped-class.
8306 (initialize-instance): Rename local variable 'scoped-class' to
8307 'this-class' to remove ambiguitity from old global.
8308
8309 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8310 eieio.el.
8311 (eieio--scoped-class-stack): New variable.
8312 (eieio--scoped-class): New fcn.
8313 (eieio--with-scoped-class): New scoping macro.
8314 (eieio-defclass): Use pushnew instead of add-to-list.
8315 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8316 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8317 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8318 `scoped-class' variable, use new eieio--scoped-class, and
8319 eieio--with-scoped-class.
8320
8321 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8322
8323 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8324
8325 * eshell/esh-ext.el (eshell-external-command): Pass args to
8326 `eshell-find-interpreter'.
8327 (eshell-find-interpreter): Add new second parameter ARGS.
8328
8329 * eshell/em-script.el (eshell-script-initialize): Add second arg
8330 to the function added as MATCH to `eshell-interpreter-alist'.
8331
8332 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8333 the function added as MATCH to `eshell-interpreter-alist'.
8334
8335 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8336 (eshell-visual-options): New defcustom.
8337 (eshell-escape-control-x): Adapt docstring.
8338 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8339 `eshell-visual-options' in addition to `eshell-visual-commands'.
8340 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8341
8342 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8343
8344 * progmodes/python.el (python-indent-block-enders): Add break,
8345 continue and raise keywords.
8346
8347 2013-06-01 Glenn Morris <rgm@gnu.org>
8348
8349 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8350
8351 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8352 * progmodes/cc-cmds.el (delete-forward-p):
8353 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8354 * progmodes/cc-engine.el (buffer-syntactic-context):
8355 * progmodes/cc-fonts.el (face-property-instance):
8356 * progmodes/cc-mode.el (set-keymap-parents):
8357 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8358 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8359 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8360 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8361 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8362
8363 * progmodes/cc-vars.el (other): Emacs has this widget since
8364 at least 21.1, so don't (re)define it.
8365
8366 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8367 Replace the obsolete alias pcomplete-arg-quote-list.
8368
8369 2013-06-01 Leo Liu <sdl.web@gmail.com>
8370
8371 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8372 punctuation syntax.
8373 (inferior-octave-minimal-columns)
8374 (inferior-octave-last-column-width): New variables.
8375 (inferior-octave-track-window-width-change): New function.
8376 (inferior-octave-mode): Adjust column width so that Octave output,
8377 for example from 'ls', can fit into the window nicely.
8378
8379 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8380
8381 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8382 Highlight expansions inside regexp literals.
8383
8384 2013-05-31 Glenn Morris <rgm@gnu.org>
8385
8386 * obsolete/sym-comp.el (symbol-complete):
8387 Replace obsolete completion-annotate-function.
8388
8389 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8390
8391 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8392
8393 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8394 New function, checks if point is inside a literal that allows
8395 expression expansion.
8396 (ruby-syntax-propertize-expansion): Use it.
8397 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8398 around the body.
8399
8400 2013-05-30 Juri Linkov <juri@jurta.org>
8401
8402 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8403 to "\M-si".
8404 (isearch-invisible): New variable.
8405 (isearch-forward): Doc fix.
8406 (isearch-mode): Set `isearch-invisible'
8407 to the value of `search-invisible'.
8408 (isearch-toggle-case-fold): Doc fix.
8409 (isearch-toggle-invisible): New command.
8410 (isearch-query-replace): Let-bind `search-invisible'
8411 to the value of `isearch-invisible'.
8412 (isearch-search): Use `isearch-invisible' instead of
8413 `search-invisible'. Let-bind `search-invisible'
8414 to the value of `isearch-invisible'. (Bug#11378)
8415
8416 2013-05-30 Juri Linkov <juri@jurta.org>
8417
8418 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8419 call when `query-flag' is nil and `search-invisible' is non-nil.
8420 (Bug#11746)
8421
8422 2013-05-30 Glenn Morris <rgm@gnu.org>
8423
8424 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8425
8426 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8427 (cc-require): Suppress spurious "noruntime" warnings.
8428 (cc-require-when-compile): Use fboundp, for sake of compiler.
8429
8430 * progmodes/cc-mode.el: Move load of cc-vars before that of
8431 cc-langs (which in turn loads cc-vars), to quieten compiler.
8432
8433 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8434
8435 * paren.el: Simplify the code.
8436 (show-paren-mode): Always start the timer.
8437 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8438 (show-paren--overlay, show-paren--overlay-1): Rename from
8439 show-paren-overlay and show-paren-overlay-1, and initialize to an
8440 overlay rather than to nil.
8441 (show-paren-function): Misc cleanup and simplifications.
8442
8443 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8444
8445 * paren.el (show-paren-data-function): New hook.
8446 (show-paren--default): New function, extracted from show-paren-function.
8447 (show-paren-function): Use show-paren-data-function.
8448
8449 2013-05-30 Glenn Morris <rgm@gnu.org>
8450
8451 * ielm.el (ielm-map, ielm-complete-symbol):
8452 Use completion-at-point rather than obsolete functions.
8453 (inferior-emacs-lisp-mode): Doc fix.
8454 Set completion-at-point-functions, rather than
8455 comint-dynamic-complete-functions.
8456
8457 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8458 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8459 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8460
8461 * image.el (image-animated-p): Tweak definition.
8462
8463 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8464 (rlogin-process-connection-type): Tweak default. Add set-after.
8465 (rlogin-host): Doc fix.
8466 (rlogin): Tweak prompt.
8467 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8468
8469 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8470 * progmodes/tcl.el (inferior-tcl-mode-map):
8471 Use completion-at-point rather than obsolete alias.
8472
8473 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8474
8475 * minibuffer.el (read-file-name-completion-ignore-case):
8476 Move before completion--in-region, for eager macro expansion.
8477
8478 2013-05-29 Juri Linkov <juri@jurta.org>
8479
8480 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8481 for total count of matching lines. Add `global-matches' for total
8482 count of matches. Rename `matches' to `lines' for count of
8483 matching lines. Add `matches' for count of matches.
8484 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8485 to `prev-line' for line number of prev match endpt.
8486 Increment `matches' for every match. Print the number of
8487 matching lines in the header.
8488 (occur-context-lines): Rename `lines' to `curr-line'.
8489 Rename `prev-lines' to `prev-line'. (Bug#14017)
8490
8491 2013-05-29 Juri Linkov <juri@jurta.org>
8492
8493 * replace.el (perform-replace): Add `skip-read-only-count',
8494 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8495 Increment them for corresponding conditions and report the number
8496 of skipped occurrences in the final message. (Bug#11746)
8497 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8498 (replace-string, replace-regexp): Doc fix.
8499
8500 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8501
8502 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8503
8504 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8505 prog-mode-map (bug#14504).
8506
8507 2013-05-29 Leo Liu <sdl.web@gmail.com>
8508
8509 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8510 (octave-help): Small simplification.
8511
8512 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8513 off the highlight first.
8514
8515 2013-05-29 Glenn Morris <rgm@gnu.org>
8516
8517 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8518 Handle idlwave-last-system-routine-info-cons-cell being nil.
8519
8520 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8521 (idlwave-write-paths): Simplify via with-temp-buffer.
8522
8523 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8524 * emulation/cua-rect.el: Also load cua-base at run time.
8525
8526 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8527 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8528 (cperl-imenu-on-info): Require imenu.
8529
8530 2013-05-28 Alan Mackenzie <acm@muc.de>
8531
8532 Handle "capitalised keywords" correctly.
8533 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8534
8535 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8536
8537 * eshell/em-unix.el: Add -r option to cp.
8538
8539 2013-05-28 Glenn Morris <rgm@gnu.org>
8540
8541 * vc/vc-arch.el (vc-exec-after): Declare.
8542 (vc-switches): Autoload.
8543 * vc/vc-bzr.el: No need to require vc when compiling.
8544 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8545 (vc-resynch-buffer, vc-dir-refresh): Declare.
8546 (vc-setup-buffer, vc-switches): Autoload.
8547 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8548 (vc-resynch-buffer): Declare.
8549 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8550 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8551 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8552 (grep-read-regexp, grep-read-files, grep-expand-template)
8553 (vc-dir-refresh): Declare.
8554 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8555 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8556 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8557 * vc/vc-mtn.el (vc-exec-after): Declare.
8558 (vc-switches): Autoload.
8559 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8560 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8561 (vc-file-tree-walk): Declare.
8562 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8563 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8564 (vc-tag-precondition, vc-rename-master): Autoload.
8565 * vc/vc-svn.el (vc-exec-after): Declare.
8566 (vc-switches, vc-setup-buffer): Autoload.
8567 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8568 Autoload.
8569 (vc-resynch-buffer): Declare.
8570
8571 * obsolete/fast-lock.el (byte-compile-warnings):
8572 Don't warn about obsolete features in this obsolete file.
8573
8574 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8575 Move definition before use.
8576
8577 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8578 (dun-unix-verbs): Remove dun-zippy.
8579 (dun-zippy): Remove function.
8580
8581 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8582
8583 2013-05-27 Juri Linkov <juri@jurta.org>
8584
8585 * replace.el (replace-search): New function with code moved out
8586 from `perform-replace'.
8587 (replace-highlight, replace-dehighlight): Move function definitions
8588 up closer to `replace-search'. (Bug#11746)
8589
8590 2013-05-27 Juri Linkov <juri@jurta.org>
8591
8592 * replace.el (perform-replace): Ignore invisible matches.
8593 In addition to checking `query-replace-skip-read-only', also
8594 filter out matches by calling `run-hook-with-args-until-failure'
8595 on `isearch-filter-predicates', and also check `search-invisible'
8596 for t or call `isearch-range-invisible'.
8597 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8598
8599 2013-05-27 Juri Linkov <juri@jurta.org>
8600
8601 * isearch.el (isearch-filter-predicates): Rename from
8602 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8603 (isearch-message-prefix): Display text from the property
8604 `isearch-message-prefix' of the currently active filters.
8605 (isearch-search): Don't compare `isearch-filter-predicate' with
8606 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8607 on `isearch-filter-predicates'. Also check `search-invisible' for t
8608 or call `isearch-range-invisible'.
8609 (isearch-filter-visible): Make obsolete.
8610 (isearch-lazy-highlight-search):
8611 Call `run-hook-with-args-until-failure' on
8612 `isearch-filter-predicates' and use `isearch-range-invisible'.
8613
8614 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8615 `isearch-filter-predicates' instead of `funcall'ing
8616 `isearch-filter-predicate'.
8617 (Info-mode): Set `Info-isearch-filter' to
8618 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8619
8620 * dired-aux.el (dired-isearch-filter-predicate-orig):
8621 Remove variable.
8622 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8623 (dired-isearch-filenames-end): Add and remove
8624 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8625 instead of changing the value of `isearch-filter-predicate'.
8626 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8627 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8628 Put property `isearch-message-prefix' to "filename " on
8629 `dired-isearch-filter-filenames'.
8630
8631 * wdired.el (wdired-change-to-wdired-mode):
8632 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8633 locally instead of changing `isearch-filter-predicate'.
8634 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8635
8636 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8637
8638 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8639 return the commit hash (Bug#14459). Also set the
8640 `vc-git-detached' property.
8641 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8642 (vc-git-mode-line-string): Use the same help-echo format whether
8643 in detached mode or not, because we know the actual revision now.
8644 When in detached mode, shorten the revision to 7 chars.
8645
8646 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8647
8648 * emacs-lisp/easy-mmode.el (define-minor-mode):
8649 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8650 mode hook and provide a docstring.
8651
8652 2013-05-27 Alan Mackenzie <acm@muc.de>
8653
8654 Remove spurious syntax-table text properties inserted by C-y.
8655 * progmodes/cc-mode.el (c-after-change): Also clear hard
8656 syntax-table property with value nil.
8657
8658 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8659
8660 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8661 when reading the events; the buffer layout shall not be changed.
8662
8663 2013-05-27 Leo Liu <sdl.web@gmail.com>
8664
8665 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8666 New variable.
8667 (inferior-octave-directory-tracker): Automatically re-sync
8668 default-directory.
8669 (octave-help): Improve handling of 'See also'.
8670
8671 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8672
8673 * doc-view.el: Minor naming convention tweaks.
8674 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8675
8676 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8677 even if there's no `display' property yet (bug#14435).
8678
8679 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8680
8681 * subr.el (unmsys--file-name): Rename from reveal-filename.
8682
8683 * Makefile.in (custom-deps, finder-data, autoloads)
8684 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8685 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8686 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8687
8688 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8689
8690 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8691 error-completion on the first 2 args of condition-case (bug#14446).
8692 Don't burp at EOB.
8693
8694 2013-05-25 Leo Liu <sdl.web@gmail.com>
8695
8696 * comint.el (comint-previous-matching-input): Do not flood the
8697 *Messages* buffer with trivial messages.
8698
8699 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8700
8701 * progmodes/flymake.el (flymake-nop): Don't return a string.
8702 (flymake-set-at): Fix typo.
8703
8704 * simple.el (read--expression): New function, extracted from
8705 eval-expression. Set completion-at-point-functions (bug#14465).
8706 (eval-expression, eval-minibuffer): Use it.
8707
8708 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8709
8710 * progmodes/flymake.el (flymake-save-buffer-in-file)
8711 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8712 (flymake-selected-frame, flymake-log, flymake-ins-after)
8713 (flymake-set-at, flymake-get-buildfile-from-cache)
8714 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8715 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8716 Refine the doc string.
8717 (flymake-get-file-name-mode-and-masks): Reformat.
8718 (flymake-get-real-file-name-function): Fix a minor bug.
8719
8720 2013-05-24 Juri Linkov <juri@jurta.org>
8721
8722 * progmodes/grep.el (grep-mode-font-lock-keywords):
8723 Support =linenumber= format used by git-grep for lines with
8724 function names. (Bug#13549)
8725
8726 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8727
8728 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8729 0 after a semi-colon; it works better for smie-auto-fill.
8730 (octave--indent-new-comment-line): New function.
8731 (octave-indent-new-comment-line): Use it (indirectly).
8732 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8733 modify comment-line-break-function.
8734
8735 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8736 (smie-setup): Use add-function to set it.
8737
8738 2013-05-24 Sam Steingold <sds@gnu.org>
8739
8740 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8741 argument (before the `interactive' argument).
8742
8743 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8744
8745 * image-mode.el (image-mode-winprops): Add winprops to
8746 image-mode-winprops-alist before running
8747 image-mode-new-window-functions.
8748 * doc-view.el (doc-view-new-window-function): Don't delay
8749 doc-view-goto-page via timers (bug#14435).
8750
8751 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8752
8753 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8754 (doc-view-desktop-save-buffer): New function.
8755 (doc-view-restore-desktop-buffer): New function.
8756 (desktop-buffer-mode-handlers):
8757 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8758 handler.
8759 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8760 `desktop-save-buffer' function.
8761
8762 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8763
8764 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8765 (tramp-gvfs-file-name-handler): Raise a user error when
8766 `tramp-gvfs-enabled' is nil.
8767 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8768 Do not raise a user error when loading package. (Bug#14447)
8769
8770 * net/xesam.el: Move to obsolete/.
8771
8772 2013-05-24 Glenn Morris <rgm@gnu.org>
8773
8774 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8775
8776 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8777
8778 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8779 (Info-find-node, Man-getpage-in-background): Declare.
8780
8781 * mail/unrmail.el (unrmail):
8782 Replace obsolete detect-coding-with-priority.
8783
8784 * net/socks.el (socks-split-string): Use this rather than split-string.
8785 (socks-nslookup-host): Update for above change.
8786 (dynamic-choice, s5-dynamic-choice-match)
8787 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8788 Comment out unused code.
8789
8790 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8791 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8792 (gud-tooltip-echo-area): Make obsolete.
8793 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8794
8795 * progmodes/js.el (js--optimize-arglist): Declare.
8796
8797 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8798
8799 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8800 (ediff-window-C): Declare.
8801
8802 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8803 Tweak requires to silence compiler.
8804
8805 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8806 (he-search-string, he-tried-table, he-expand-list)
8807 (he-init-string, he-string-member, he-substitute-string)
8808 (he-reset-string): Declare.
8809
8810 * obsolete/options.el (list-options): Use custom-variable-p,
8811 rather than obsolete alias.
8812
8813 2013-05-23 Sam Steingold <sds@gnu.org>
8814
8815 * simple.el (shell-command-on-region): Pass the `replace' argument
8816 down to `call-process-region' to comply with the doc as reported on
8817 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8818
8819 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8820
8821 * emacs-lisp/smie.el (smie-indent-forward-token)
8822 (smie-indent-backward-token): Handle string tokens (bug#14381).
8823
8824 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8825
8826 * ielm.el (ielm-menu): New menu.
8827 (inferior-emacs-lisp-mode): Set comment-start.
8828
8829 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8830
8831 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8832 Fix deactivate action.
8833
8834 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8835 Add cleveref macros.
8836
8837 * lisp/textmodes/reftex-parse.el
8838 (reftex-locate-bibliography-files): Accept options for
8839 bibliography commands.
8840 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8841 Add addbibresource. Basic Biblatex support.
8842
8843 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8844
8845 * net/tramp-gvfs.el (top):
8846 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8847 when loading package. (Bug#14447)
8848
8849 2013-05-23 Glenn Morris <rgm@gnu.org>
8850
8851 * progmodes/js.el: No need to load comint when compiling.
8852 (ring-insert, comint-send-string, comint-send-input)
8853 (comint-last-input-end, ido-chop): Declare.
8854
8855 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8856 * vc/ediff-mult.el: Adjust requires.
8857 (ediff-directories-internal, ediff-directory-revisions-internal)
8858 (ediff-patch-file-internal): Declare.
8859 * vc/ediff-ptch.el: Adjust requires.
8860 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8861 (ediff-find-file): Autoload.
8862 * vc/ediff-util.el: No need to load ediff when compiling.
8863 (ediff-regions-internal): Declare.
8864 * vc/ediff-wind.el: Adjust requires.
8865 (ediff-compute-toolbar-width): Define when compiling.
8866 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8867 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8868 (dired-get-filename, dired-get-marked-files)
8869 (ediff-last-dir-patch, ediff-patch-default-directory)
8870 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8871 (ediff-patch-buffer-internal): Declare.
8872
8873 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8874 (ispell-process, ispell-buffer-local-words, lm-summary)
8875 (lm-section-start, lm-section-end): Declare.
8876 (checkdoc-ispell-init): Simplify.
8877
8878 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8879 (he-string-member, he-reset-string, he-substitute-string): Declare.
8880
8881 * eshell/em-ls.el: Adjust requires.
8882 (eshell-glob-regexp): Declare.
8883 * eshell/em-tramp.el: Adjust requires.
8884 (eshell-parse-command): Autoload.
8885 * eshell/em-xtra.el: Adjust requires.
8886 (eshell-parse-command): Autoload.
8887 * eshell/esh-ext.el: Adjust requires.
8888 (eshell-parse-command, eshell-close-handles): Autoload.
8889 * eshell/esh-io.el: Adjust requires.
8890 (eshell-output-filter): Autoload.
8891 * eshell/esh-util.el: No need to load tramp when compiling.
8892 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8893 Declare.
8894 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8895 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8896 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8897 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8898 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8899 * eshell/esh-opt.el, eshell/esh-proc.el:
8900 * eshell/esh-var.el: Adjust requires.
8901 * eshell/eshell.el: Do not require esh-util twice.
8902 (eshell-add-input-to-history): Declare.
8903 (eshell-command): Check history module is active before using it.
8904
8905 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8906
8907 2013-05-22 Leo Liu <sdl.web@gmail.com>
8908
8909 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8910
8911 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8912
8913 * autorevert.el (auto-revert-notify-add-watch)
8914 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8915 it indicates changes in file modification time.
8916
8917 2013-05-22 Glenn Morris <rgm@gnu.org>
8918
8919 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8920 Always delete the autoloaded function from the noruntime and
8921 unresolved functions lists.
8922
8923 * allout.el: No need to load epa, epg, overlay when compiling.
8924 (epg-context-set-passphrase-callback, epg-list-keys)
8925 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8926 (epg-key-user-id-list): Declare.
8927
8928 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8929 (viper-set-parsing-style-toggling-macro)
8930 (viper-set-emacs-state-searchstyle-macros):
8931 Use called-interactively-p on Emacs.
8932 (viper-looking-back): Make it an obsolete alias. Update callers.
8933 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8934 Use looking-back rather than viper-looking-back.
8935 (viper-tmp-insert-at-eob, viper-enlarge-region)
8936 (viper-read-string-with-history, viper-register-to-point)
8937 (viper-append-to-register, viper-change-state-to-vi)
8938 (viper-backward-char-carefully, viper-forward-char-carefully)
8939 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8940 (viper-change-state-to-emacs): Declare.
8941 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8942 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8943 * emulation/viper-mous.el: Do not load viper-cmd.
8944 (viper-backward-char-carefully, viper-forward-char-carefully)
8945 (viper-forward-word, viper-adjust-window): Declare.
8946
8947 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8948
8949 * progmodes/idlw-help.el (idlwave-help-fontify):
8950 Use called-interactively-p.
8951
8952 * term/w32console.el (w32-get-console-codepage)
8953 (w32-get-console-output-codepage): Declare.
8954
8955 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8956 Remove unnecessary declarations.
8957 (dframe-message): Doc fix.
8958
8959 * info.el (dframe-select-attached-frame, dframe-current-frame):
8960 Declare.
8961
8962 * speedbar.el (speedbar-message): Make it an obsolete alias.
8963 Update all callers.
8964 (speedbar-with-attached-buffer)
8965 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8966 (speedbar-with-writable): Use backquote.
8967 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8968 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8969 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8970 rather than speedbar- aliases.
8971 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8972 (speedbar-make-specialized-keymap, speedbar-insert-button)
8973 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8974 (speedbar-do-function-pointer): Declare.
8975 (rmail-speedbar-button, rmail-speedbar-find-file)
8976 (rmail-speedbar-move-message):
8977 Use dframe-with-attached-buffer rather than speedbar- alias.
8978 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8979 (dframe-message, speedbar-make-specialized-keymap)
8980 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8981 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8982 (speedbar-insert-button, dframe-select-attached-frame)
8983 (dframe-maybee-jump-to-attached-frame)
8984 (speedbar-change-initial-expansion-list)
8985 (speedbar-previously-used-expansion-list-name): Declare.
8986 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8987 Use dframe-message, dframe-with-attached-buffer rather than
8988 speedbar- aliases.
8989 (gud-sentinel): Silence compiler.
8990 * progmodes/vhdl-mode.el (speedbar-refresh)
8991 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8992 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8993 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8994 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8995 (speedbar-file-lists, speedbar-make-tag-line)
8996 (speedbar-line-directory, speedbar-goto-this-file)
8997 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8998 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8999 (speedbar-make-button, speedbar-reset-scanners)
9000 (speedbar-files-item-info, speedbar-line-text)
9001 (speedbar-find-file-in-frame, speedbar-set-timer)
9002 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9003 (speedbar-with-writable): Do not (re)define it.
9004 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9005 rather than speedbar- alias.
9006
9007 2013-05-21 Leo Liu <sdl.web@gmail.com>
9008
9009 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9010 menu items.
9011 (octave-mode): Tweak fill-nobreak-predicate.
9012 (inferior-octave-startup): Check process to avoid infinite loop.
9013 (inferior-octave): Pop to buffer first to show abornmal process
9014 exit information.
9015
9016 2013-05-21 Glenn Morris <rgm@gnu.org>
9017
9018 * printing.el (pr-menu-bar): Define when compiling.
9019
9020 2013-05-21 Leo Liu <sdl.web@gmail.com>
9021
9022 * progmodes/octave.el (octave-auto-fill): Remove.
9023 (octave-indent-new-comment-line): Improve.
9024 (octave-mode): Use auto fill mode through
9025 comment-line-break-function and fill-nobreak-predicate.
9026 (octave-goto-function-definition): Support DEFUN_DLD.
9027 (octave-beginning-of-defun): Small tweak.
9028 (octave-help): Show parent directory.
9029
9030 2013-05-21 Glenn Morris <rgm@gnu.org>
9031
9032 * files.el (dired-unmark):
9033 * progmodes/gud.el (gdb-input): Update declarations.
9034
9035 * calculator.el (electric, ehelp): No need to load when compiling.
9036 (Electric-command-loop, electric-describe-mode): Declare.
9037
9038 * doc-view.el (doc-view-current-converter-processes): Move before use.
9039
9040 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9041 Move MODE-set-explicitly definition before use.
9042
9043 * international/mule-diag.el (mule-diag):
9044 Don't use obsolete window-system-version.
9045
9046 * mail/feedmail.el (smtpmail): No need to load when compiling.
9047 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9048
9049 * mail/mail-utils.el (rfc822): No need to load when compiling.
9050 (rfc822-addresses): Autoload it.
9051 (mail-strip-quoted-names): Trivial simplification.
9052
9053 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9054 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9055
9056 * net/snmp-mode.el (tempo): Don't duplicate requires.
9057
9058 * progmodes/prolog.el (info): No need to load when compiling.
9059 (comint): Require before shell requires it.
9060 (Info-goto-node): Autoload it.
9061 (Info-follow-nearest-node): Declare.
9062 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9063
9064 * textmodes/artist.el (picture-mode-exit): Declare.
9065
9066 * textmodes/reftex-parse.el (reftex-parse-from-file):
9067 Trivial rewrite so the compiler can parse it better.
9068
9069 2013-05-20 Leo Liu <sdl.web@gmail.com>
9070
9071 * progmodes/octave.el (octave-help-mode-map)
9072 (octave-help-mode-finish-hook): New variables.
9073 (octave-help-mode, octave-help-mode-finish): New functions.
9074 (octave-help): Use octave-help-mode.
9075
9076 2013-05-20 Glenn Morris <rgm@gnu.org>
9077
9078 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9079
9080 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9081
9082 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9083 start at point, so that expansion starting right after opening
9084 slash in a regexp is recognized.
9085 (ruby-syntax-before-regexp-re): New defvar, extracted from
9086 ruby-syntax-propertize-function. Since the value of this regexp
9087 is looked up at runtime now, we should be able to turn
9088 `ruby-syntax-methods-before-regexp' into a defcustom later.
9089 (ruby-syntax-propertize-function): Split regexp matching into two
9090 parts, for opening and closing slashes. That allows us to skip
9091 over string interpolations and support multiline regexps.
9092 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9093 for them, which calls `ruby-syntax-propertize-expansion'.
9094 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9095 call to `ruby-syntax-propertize-function'.
9096 (ruby-syntax-propertize-expansion): Extracted from
9097 `ruby-syntax-propertize-expansions'. Handles one expansion.
9098 (ruby-syntax-propertize-percent-literal): Leave point right after
9099 the percent symbol, so that the expression expansion rule can
9100 propertize the contents.
9101 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9102 heredoc openers.
9103 (ruby-syntax-propertize-expansions): Remove.
9104
9105 2013-05-18 Juri Linkov <juri@jurta.org>
9106
9107 * man.el (Man-default-man-entry): Remove `-' from the end
9108 of the default value. (Bug#14400)
9109
9110 2013-05-18 Glenn Morris <rgm@gnu.org>
9111
9112 * comint.el (comint-password-prompt-regexp):
9113 Allow "password for XXX" where XXX contains colons (eg https://...).
9114
9115 2013-05-18 Leo Liu <sdl.web@gmail.com>
9116
9117 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9118 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9119 (octave-source-directories): Don't check process.
9120 (octave-source-directories, octave-find-definition): Doc fix.
9121
9122 2013-05-18 Glenn Morris <rgm@gnu.org>
9123
9124 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9125 Remove backspace/delete bindings. (Bug#14392)
9126
9127 * cus-dep.el (custom-make-dependencies): Sort the output.
9128 (custom-versions-load-alist): Convert comment to doc.
9129
9130 2013-05-17 Leo Liu <sdl.web@gmail.com>
9131
9132 * newcomment.el (comment-search-backward): Stricter in finding
9133 comment start. (Bug#14303)
9134
9135 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9136 (octave-comment-start-skip): Properly anchored.
9137
9138 2013-05-17 Leo Liu <sdl.web@gmail.com>
9139
9140 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9141 Clean up when turned off. (Bug#14395)
9142 (smie--highlight-matching-block-overlay): No longer buffer-local.
9143 (smie-highlight-matching-block): Adjust.
9144
9145 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9146
9147 Doc string fix for "nanoseconds" (Bug#14406).
9148 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9149 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9150
9151 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9152
9153 * calc/calc-units.el (math-extract-units): Preserve powers
9154 of units.
9155
9156 2013-05-17 Leo Liu <sdl.web@gmail.com>
9157
9158 * subr.el (delete-consecutive-dups): New function.
9159 * ido.el (ido-set-matches-1): Use it.
9160 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9161 * ido.el (ido-remove-consecutive-dups): Remove.
9162
9163 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9164
9165 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9166 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9167 regexp-opt's `words'.
9168
9169 2013-05-16 Leo Liu <sdl.web@gmail.com>
9170
9171 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9172 (smie--highlight-matching-block-overlay)
9173 (smie--highlight-matching-block-lastpos)
9174 (smie--highlight-matching-block-timer): New variables.
9175 (smie-highlight-matching-block): New function.
9176 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9177 (smie-setup): Conditionally enable smie-blink-matching-open.
9178
9179 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9180
9181 Sync with upstream verilog-mode r840.
9182 * progmodes/verilog-mode.el (verilog-mode-version)
9183 (verilog-mode-release-date): Update.
9184 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9185 (verilog-sig-tieoff): Fix string error on
9186 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9187 (verilog-read-decls): Fix parameters confusing
9188 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9189
9190 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9191
9192 * subr.el (reveal-filename): New function.
9193
9194 * loadup.el: Compute Emacs executable versions on MS-Windows,
9195 where executables have the .exe extension. Add a hard link
9196 emacs-XX.YY.ZZ.exe on MS-Windows.
9197
9198 * Makefile.in (XARGS_LIMIT): New variable.
9199 (custom-deps, finder-data, autoloads)
9200 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9201 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9202 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9203 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9204
9205 2013-05-16 Leo Liu <sdl.web@gmail.com>
9206
9207 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9208 (octave-mode-menu, octave-mode-map): Remove its uses.
9209
9210 2013-05-16 Reto Zimmermann <reto@gnu.org>
9211
9212 Sync with upstream vhdl mode v3.34.2.
9213 * progmodes/vhdl-mode.el: Use `push' throughout.
9214 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9215 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9216 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9217 (vhdl-actual-generic-name): New option to derive actual generic name.
9218 (vhdl-port-paste-signals): Replace formal by actual generics.
9219 (vhdl-beautify): New name for old group vhdl-align. Update users.
9220 (vhdl-beautify-options): New option.
9221 (vhdl-last-input-event): New compat alias. Use throughout.
9222 (vhdl-goto-line): Replace user level function `goto-line'.
9223 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9224 vhdl-fix-statement-buffer.
9225 (vhdl-create-mode-menu): Add some entries.
9226 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9227 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9228 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9229 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9230 to force statements on one line.
9231 (vhdl-remove-trailing-spaces-region):
9232 New, split from vhdl-remove-trailing-spaces.
9233 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9234 Respect vhdl-beautify-options.
9235 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9236 (vhdl-update-sensitivity-list): Not add with index if exists without.
9237 Not include array index with signal. Ignore keywords in comments.
9238 (vhdl-get-visible-signals): Regexp tweaks.
9239 (vhdl-template-component-inst): Handle empty library.
9240 (vhdl-template-type): Add template for 'enum' type.
9241 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9242 Use vhdl-replace-string.
9243 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9244 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9245 (vhdl-speedbar-initialize): Update for above name change.
9246 (vhdl-compose-wire-components): Fix in handling of constants.
9247 (vhdl-error-regexp-emacs-alist): New variable.
9248 (vhdl-error-regexp-add-emacs): New function;
9249 adds support for new compile.el (Emacs 22+)
9250 (vhdl-generate-makefile-1): Change target order for single lib. units.
9251 Allow use of absolute file names.
9252
9253 2013-05-16 Leo Liu <sdl.web@gmail.com>
9254
9255 * simple.el (prog-indent-sexp): Indent enclosing defun.
9256
9257 2013-05-15 Glenn Morris <rgm@gnu.org>
9258
9259 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9260 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9261 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9262 (whitespace-highlight): Move to whitespace group.
9263
9264 * comint.el (comint-source):
9265 * pcmpl-linux.el (pcmpl-linux):
9266 * shell.el (shell-faces):
9267 * eshell/esh-opt.el (eshell-opt):
9268 * international/ccl.el (ccl): Remove empty custom groups.
9269
9270 * completion.el (dynamic-completion-mode):
9271 * jit-lock.el (jit-lock-debug-mode):
9272 * minibuffer.el (completion-in-region-mode):
9273 * type-break.el (type-break-mode-line-message-mode)
9274 (type-break-query-mode):
9275 * emulation/tpu-edt.el (tpu-edt-mode):
9276 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9277 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9278 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9279
9280 * term/xterm.el (xterm): Change parent group to terminals.
9281
9282 * master.el (master): Remove empty custom group.
9283 (master-mode): Remove unused :group argument.
9284 * textmodes/refill.el (refill): Remove empty custom group.
9285 (refill-mode): Remove unused :group argument.
9286
9287 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9288
9289 * cus-dep.el: Provide a feature.
9290 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9291 Don't mistakenly ignore files whose basenames match a basename
9292 from preloaded-file-list (eg cedet/ede/simple.el).
9293 Add a fallback method for getting :group.
9294
9295 2013-05-15 Juri Linkov <juri@jurta.org>
9296
9297 * isearch.el (isearch-char-by-name): Rename from
9298 `isearch-insert-char-by-name'. Doc fix.
9299 (isearch-forward): Mention `isearch-char-by-name' in
9300 the docstring. (Bug#13348)
9301
9302 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9303 `exit-minibuffer' instead of
9304 `isearch-nonincremental-exit-minibuffer'.
9305 (isearch-edit-string): Remove mention of
9306 `isearch-nonincremental-exit-minibuffer' from docstring.
9307 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9308 (isearch-forward-exit-minibuffer)
9309 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9310
9311 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9312
9313 * loadup.el: Just use unversioned DOC.
9314
9315 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9316 literals as extending to EOB.
9317 (nxml-last-fontify-end): Remove unused variable.
9318 (nxml-after-change1): Use with-silent-modifications.
9319 (nxml-extend-after-change-region): Simplify.
9320 (nxml-extend-after-change-region1): Remove function.
9321 (nxml-after-change1): Don't adjust for dependent regions.
9322 (nxml-fontify-matcher): Simplify.
9323 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9324 (xmltok-add-dependent): Remove function.
9325 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9326 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9327 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9328 unclosed <[[, <?, comment, and other literals as extending to EOB.
9329 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9330 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9331 Remove functions.
9332 (rng-do-some-validation-1): Don't mark dependent regions.
9333 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9334 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9335 (nxml-clear-dependent-regions): Remove functions.
9336 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9337 (nxml-ensure-scan-up-to-date):
9338 Don't clear&mark dependent regions.
9339
9340 2013-05-15 Leo Liu <sdl.web@gmail.com>
9341
9342 * progmodes/octave.el (octave-goto-function-definition):
9343 Improve and fix callers.
9344
9345 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9346
9347 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9348 the setter (bug#14387).
9349
9350 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9351 surrounding group (bug#14402).
9352
9353 2013-05-14 Juri Linkov <juri@jurta.org>
9354
9355 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9356 (Bug#14390)
9357
9358 2013-05-14 Glenn Morris <rgm@gnu.org>
9359
9360 * progmodes/f90.el (f90-imenu-generic-expression):
9361 Fix typo in 2013-05-08 change. (Bug#14402)
9362
9363 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9364
9365 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9366 Remove signals for which replies are never received.
9367
9368 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9369
9370 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9371 (gdb-handler-alist, gdb-handler-number): Remove variables.
9372 (gdb-handler-list): New variable.
9373 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9374 (gdb-pending-handler-p, gdb-handle-reply)
9375 (gdb-remove-all-pending-triggers): New functions.
9376 (gdb-discard-unordered-replies): New defcustom.
9377 (gdb-handler): New defstruct.
9378 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9379 instead of gdb-pending-triggers. Update docstring.
9380 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9381 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9382 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9383 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9384 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9385 (gdb-frame-handler): Pending triggers are now automatically managed.
9386 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9387 Remove argument.
9388 (gdb-input): Automatically handles pending triggers. Update docstring.
9389 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9390 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9391 Update comments.
9392 (gdb-done-or-error): Now use gdb-handle-reply.
9393
9394 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9395
9396 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9397 gdb-debug-log.
9398
9399 2013-05-14 Glenn Morris <rgm@gnu.org>
9400
9401 * subr.el (user-emacs-directory-warning): New option.
9402 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9403
9404 2013-05-14 Leo Liu <sdl.web@gmail.com>
9405
9406 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9407 during redisplay.
9408 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9409 (octave-font-lock-texinfo-comment): Fix invalid search bound
9410 error: wrong side of point.
9411
9412 2013-05-14 Glenn Morris <rgm@gnu.org>
9413
9414 * progmodes/flymake.el (flymake-xml-program): New option.
9415 (flymake-xml-init): Use it.
9416
9417 * term/xterm.el: Provide a feature.
9418
9419 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9420
9421 2013-05-13 Glenn Morris <rgm@gnu.org>
9422
9423 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9424 Add compat aliases as a hack workaround. (Bug#14384)
9425
9426 2013-05-13 Leo Liu <sdl.web@gmail.com>
9427
9428 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9429 ###, and %!.
9430 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9431 C-M-q.
9432 (octave-comment-start-skip): Include %!.
9433 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9434
9435 2013-05-12 Leo Liu <sdl.web@gmail.com>
9436
9437 * progmodes/octave.el (inferior-octave-startup): Store the value
9438 of __octave_srcdir__ for octave-source-directories.
9439 (inferior-octave-check-process): New function refactored out of
9440 inferior-octave-send-list-and-digest.
9441 (octave-source-directories)
9442 (octave-find-definition-filename-function): New variables.
9443 (octave-source-directories)
9444 (octave-find-definition-default-filename): New functions.
9445 (octave-find-definition): Improve to find functions implemented in C++.
9446
9447 2013-05-12 Glenn Morris <rgm@gnu.org>
9448
9449 * calendar/diary-lib.el (diary-outlook-format-1):
9450 Don't include dayname in the output. (Bug#14349)
9451
9452 2013-05-11 Glenn Morris <rgm@gnu.org>
9453
9454 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9455
9456 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9457 Treat cc-provide like provide.
9458
9459 2013-05-11 Kevin Ryde <user42@zip.com.au>
9460
9461 * cus-dep.el (custom-make-dependencies):
9462 Use generated-autoload-load-name for the sake of files such
9463 such cedet/semantic/bovine/c.el, where the base file name
9464 is not in load-path. (Bug#5277)
9465
9466 2013-05-11 Glenn Morris <rgm@gnu.org>
9467
9468 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9469 Provide features.
9470
9471 2013-05-11 Leo Liu <sdl.web@gmail.com>
9472
9473 * progmodes/octave.el (octave-indent-comment): Improve.
9474 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9475 (octave-eldoc-function-signatures, octave-eldoc-function):
9476 New functions.
9477 (octave-mode, inferior-octave-mode): Add eldoc support.
9478
9479 2013-05-11 Richard Stallman <rms@gnu.org>
9480
9481 * epa.el (epa-decrypt-file): Take output file name as argument
9482 and read it using `interactive'.
9483
9484 2013-05-11 Leo Liu <sdl.web@gmail.com>
9485
9486 * progmodes/octave.el (octave-beginning-of-line)
9487 (octave-end-of-line): Check before using up-list because it jumps
9488 out of more syntactic contructs since moving to smie.
9489 (octave-indent-comment): New function.
9490 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9491 (octave-begin-keywords, octave-end-keywords)
9492 (octave-reserved-words, octave-smie-bnf-table)
9493 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9494
9495 2013-05-11 Glenn Morris <rgm@gnu.org>
9496
9497 * faces.el (internal-face-x-get-resource):
9498 * frame.el (ns-display-monitor-attributes-list):
9499 * calc/calc-aent.el (math-to-radians-2):
9500 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9501 Fix declarations.
9502
9503 * calc/calc-menu.el: Make it loadable in isolation.
9504
9505 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9506 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9507 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9508 (eudc-bbdb-query-internal): Require 'bbdb.
9509
9510 * lpr.el (lpr-headers-switches):
9511 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9512
9513 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9514
9515 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9516
9517 * term.el (term-set-escape-char): Make it idempotent.
9518
9519 2013-05-10 Leo Liu <sdl.web@gmail.com>
9520
9521 * progmodes/octave.el (inferior-octave-completion-table):
9522 No longer a function and all uses changed. Use cache to speed up
9523 completion due to bug#11906.
9524 (octave-beginning-of-defun): Re-write to be more general.
9525
9526 2013-05-10 Glenn Morris <rgm@gnu.org>
9527
9528 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9529
9530 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9531
9532 * comint.el (comint-redirect-send-command-to-process): Use :around
9533 rather than :override for comint-redirect-filter.
9534 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9535 Call it instead of comint-redirect-original-filter-function (which
9536 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9537
9538 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9539
9540 * frame.el (display-monitor-attributes-list): Add NS case.
9541 (ns-display-monitor-attributes-list): Declare.
9542
9543 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9544
9545 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9546
9547 2013-05-09 Glenn Morris <rgm@gnu.org>
9548
9549 * international/fontset.el (vertical-centering-font-regexp):
9550 Set standard-value.
9551
9552 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9553
9554 * bookmark.el (bookmark-search-delay):
9555 * cus-start.el (vertical-centering-font-regexp):
9556 * ps-mule.el (ps-mule-font-info-database-default):
9557 * ps-print.el (ps-default-fg, ps-default-bg):
9558 * type-break.el (type-break-good-break-interval):
9559 * whitespace.el (whitespace-indentation-regexp)
9560 (whitespace-space-after-tab-regexp):
9561 * emacs-lisp/testcover.el (testcover-1value-functions)
9562 (testcover-noreturn-functions, testcover-progn-functions)
9563 (testcover-prog1-functions):
9564 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9565 * eshell/em-glob.el (eshell-glob-translate-alist):
9566 * play/tetris.el (tetris-tty-colors):
9567 * progmodes/cpp.el (cpp-face-default-list):
9568 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9569 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9570 (idlwave-help-browser-generic-args):
9571 * progmodes/make-mode.el (makefile-special-targets-list):
9572 * progmodes/python.el (python-shell-virtualenv-path):
9573 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9574 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9575 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9576 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9577 * textmodes/reftex-vars.el (reftex-format-label-function):
9578 * textmodes/remember.el (remember-diary-file): Fix custom types.
9579
9580 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9581 Add :version.
9582
9583 2013-05-09 Leo Liu <sdl.web@gmail.com>
9584
9585 * progmodes/octave.el (inferior-octave-completion-at-point):
9586 Restore file completion. (Bug#14300)
9587 (inferior-octave-startup): Fix incorrect highlighting for the
9588 first prompt.
9589
9590 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9591
9592 * progmodes/ruby-mode.el: First cut at SMIE support.
9593 (ruby-use-smie): New var.
9594 (ruby-smie-grammar): New constant.
9595 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9596 (ruby-smie--forward-token, ruby-smie--backward-token)
9597 (ruby-smie-rules): New functions.
9598 (ruby-mode-variables): Setup SMIE if applicable.
9599
9600 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9601
9602 * simple.el (line-move-visual): Signal beginning/end of buffer
9603 only if vertical-motion moved less than it was requested. Avoids
9604 silly incorrect error messages when there are display strings with
9605 multiple newlines at EOL.
9606
9607 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9608
9609 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9610 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9611 (prolog-char-quote-workaround):
9612 * progmodes/cperl-mode.el (cperl-under-as-char):
9613 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9614 Mark as obsolete.
9615 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9616 their declaration.
9617 (vhdl-mode-syntax-table-init): Remove.
9618
9619 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9620 last change.
9621
9622 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9623 syntax for "_".
9624 (ld-script-font-lock-keywords):
9625 Change regexps to use things like \_< and \_>.
9626
9627 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9628 Change all regexps to use things like \_< and \_>.
9629
9630 * progmodes/autoconf.el (autoconf-definition-regexp)
9631 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9632 Handle a _ with symbol syntax.
9633 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9634
9635 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9636 Consolidate declaration.
9637 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9638 the declaration.
9639 (ada-create-syntax-table): Remove.
9640 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9641 already has the right syntax nowadays.
9642 (ada-goto-next-word): Don't change the syntax of "_".
9643
9644 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9645 with-wrapper-hook.
9646
9647 2013-05-08 Sam Steingold <sds@gnu.org>
9648
9649 * thingatpt.el (thing-at-point): Accept optional second argument
9650 NO-PROPERTIES to strip the text properties from the return value.
9651 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9652 to `thing-at-point' instead of stripping the properties ourselves.
9653 Also, when `thing-at-point' fails to find a url, prepend "http://"
9654 to the filename at point on the assumption that the user is
9655 pointing at something like gnu.org/gnu.
9656
9657 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9658
9659 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9660 * faces.el (crm-separator):
9661 Silence byte-compiler.
9662
9663 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9664 (tool-bar-map): Remove unneeded defvars.
9665
9666 2013-05-08 Leo Liu <sdl.web@gmail.com>
9667
9668 Re-work a fix for bug#10994 based on Le Wang's patch.
9669 * ido.el (ido-remove-consecutive-dups): New helper.
9670 (ido-completing-read): Use it.
9671 (ido-chop): Revert fix for bug#10994.
9672
9673 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9674
9675 * cus-edit.el (custom-save-variables):
9676 Pretty-print long values. (Bug#14187)
9677
9678 2013-05-08 Glenn Morris <rgm@gnu.org>
9679
9680 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9681 (m4-mode-syntax-table): Init in the defvar.
9682 (m4-mode-abbrev-table): Let define-derived-mode define it.
9683
9684 2013-05-08 Tom Tromey <tromey@redhat.com>
9685
9686 * progmodes/m4-mode.el (m4-mode-syntax-table):
9687 Do not treat "_" as word constituent. (Bug#14167)
9688
9689 2013-05-07 Glenn Morris <rgm@gnu.org>
9690
9691 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9692 Remove explicit eshell-isearch-cancel-map.
9693
9694 * progmodes/f90.el (f90-smart-end-names): New option.
9695 (f90-smart-end): Doc fix.
9696 (f90-end-block-optional-name): New constant.
9697 (f90-block-match): Respect f90-smart-end-names.
9698
9699 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9700
9701 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9702 about implicit semi-colons (bug#14218).
9703
9704 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9705
9706 * frame.el (display-monitor-attributes-list)
9707 (frame-monitor-attributes): New functions.
9708
9709 2013-05-06 Leo Liu <sdl.web@gmail.com>
9710
9711 * progmodes/octave.el (octave-syntax-propertize-function): Change
9712 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9713 (octave-font-lock-keywords): Use octave-operator-regexp.
9714 (octave-completion-at-point): Rename from
9715 octave-completion-at-point-function.
9716 (inferior-octave-directory-tracker): Robustify.
9717 (octave-text-functions): Remove and fix its uses. No such things
9718 any more.
9719
9720 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9721
9722 * emacs-lisp/trace.el (trace--display-buffer): New function.
9723 (trace-make-advice): Use it.
9724
9725 2013-05-06 Juri Linkov <juri@jurta.org>
9726
9727 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9728 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9729 Doc fix.
9730 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9731 in the help string. (Bug#12985)
9732
9733 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9734
9735 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9736
9737 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9738
9739 * progmodes/perl-mode.el: Add support for here documents.
9740 (perl-syntax-propertize-function): Match here-doc markers.
9741 (perl-syntax-propertize-special-constructs): Find their end.
9742 (perl-imenu-generic-expression): Use [:alnum:].
9743
9744 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9745 (advice--add-function): Refresh the advice if already present
9746 (bug#14317).
9747
9748 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9749
9750 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9751
9752 2013-05-06 Glenn Morris <rgm@gnu.org>
9753
9754 * w32-fns.el (w32-charset-info-alist): Declare.
9755
9756 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9757 of its defcustom properties.
9758 (eshell-cmpl-initialize): No need to load pcomplete.
9759
9760 * generic-x.el: No need to require comint when compiling.
9761
9762 * net/eudc-export.el: Make it loadable without bbdb.
9763 (top-level): Use require rather than load-library.
9764 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9765 (eudc-batch-export-records-to-bbdb)
9766 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9767 Require bbdb.
9768
9769 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9770
9771 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9772 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9773 some tweaks, instead.
9774
9775 2013-05-05 Leo Liu <sdl.web@gmail.com>
9776
9777 * progmodes/octave.el (octave-font-lock-keywords)
9778 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9779 (inferior-octave-send-list-and-digest): Improve error message.
9780 (octave-mode, inferior-octave-mode): Use setq-local.
9781 (octave-help): Set info-lookup-mode.
9782
9783 2013-05-05 Richard Stallman <rms@gnu.org>
9784
9785 * vc/compare-w.el (compare-windows-whitespace):
9786 Treat no-break space as whitespace.
9787
9788 * mail/rmailsum.el (rmail-summary-rmail-update):
9789 Detect empty summary and don't change selected message.
9790 (rmail-summary-goto-msg): Likewise.
9791
9792 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9793 Doc fixes, rename args.
9794
9795 2013-05-05 Alan Mackenzie <acm@muc.de>
9796
9797 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9798
9799 2013-05-05 Juri Linkov <juri@jurta.org>
9800
9801 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9802 to not add the length of the summary segment to the return value.
9803 (Bug#14125)
9804
9805 2013-05-05 Leo Liu <sdl.web@gmail.com>
9806
9807 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9808 (inferior-octave-output-filter): Remove.
9809 (octave-send-region, inferior-octave-startup): Fix callers.
9810 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9811 (octave-binary-file-extensions): New user variable.
9812 (octave-find-definition): Confirm if opening binary files.
9813 (octave-help-file): Use octave-find-definition to get the binary
9814 confirmation.
9815 (octave-help): Adjust for octave-help-file change.
9816
9817 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9818
9819 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9820 Merge the two entries that handle function definitions.
9821 (pascal--syntax-propertize): New const.
9822 (pascal-mode): Use it. Use setq-local.
9823
9824 2013-05-04 Glenn Morris <rgm@gnu.org>
9825
9826 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9827 (diary-from-outlook): Respect diary-from-outlook-function.
9828
9829 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9830
9831 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9832 Move the declaration from C.
9833 (read-minibuffer, eval-minibuffer): Move from C.
9834 (completion-setup-function): Avoid minibuffer-completion-contents.
9835
9836 2013-05-03 Leo Liu <sdl.web@gmail.com>
9837
9838 * progmodes/octave.el (octave-font-lock-keywords): Do not
9839 dehighlight 'end' in comments or strings.
9840 (octave-completing-read, octave-goto-function-definition):
9841 New helpers.
9842 (octave-help-buffer): New user variable.
9843 (octave-help-file, octave-help-function): New button types.
9844 (octave-help): New command and bind it to C-h ;.
9845 (octave-find-definition): New command and bind it to M-.
9846 (user-error): Alias to error if not defined.
9847
9848 2013-05-02 Leo Liu <sdl.web@gmail.com>
9849
9850 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9851 for \. (bug#14332)
9852 (octave-font-lock-keywords): Include [ and {.
9853
9854 2013-05-02 Leo Liu <sdl.web@gmail.com>
9855
9856 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9857 (inferior-octave): Remove calling comint-mode and return the buffer.
9858 (inferior-octave-startup): Cosmetic changes.
9859
9860 2013-05-02 Leo Liu <sdl.web@gmail.com>
9861
9862 * progmodes/octave.el (octave-syntax-propertize-function):
9863 Include the case when ' is at line beginning. (Bug#14336)
9864
9865 2013-05-02 Glenn Morris <rgm@gnu.org>
9866
9867 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9868 * desktop.el (vc-dir-mode): Just autoload it here.
9869
9870 2013-05-02 Alan Mackenzie <acm@muc.de>
9871
9872 Eliminate variable c-standard-font-lock-fontify-region-function.
9873 * progmodes/cc-mode.el
9874 (c-standard-font-lock-fontify-region-function): Remove.
9875 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9876
9877 2013-05-01 Leo Liu <sdl.web@gmail.com>
9878
9879 * progmodes/octave.el: Compatible with older emacs-24 releases.
9880 (inferior-octave-has-built-in-variables): Remove. Built-in
9881 variables were removed from Octave in 2007.
9882 (inferior-octave-startup): Fix uses.
9883 (comint-line-beginning-position): Remove compatibility code for
9884 emacs 21.
9885
9886 2013-05-01 Juri Linkov <juri@jurta.org>
9887
9888 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9889
9890 2013-05-01 Juri Linkov <juri@jurta.org>
9891
9892 * comint.el (comint-previous-matching-input): Don't print message
9893 "History item: %d" when `isearch-mode' is active.
9894 (comint-history-isearch-message): Print message "History item: %d"
9895 when `comint-input-ring-index' is not empty and this function is
9896 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9897
9898 2013-05-01 Leo Liu <sdl.web@gmail.com>
9899
9900 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9901 definitions. Use completion-at-point to insert keywords.
9902 (octave-abbrev-start): Remove.
9903 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9904
9905 2013-04-30 Leo Liu <sdl.web@gmail.com>
9906
9907 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9908 change.
9909
9910 2013-04-30 Alan Mackenzie <acm@muc.de>
9911
9912 Handle arbitrarily long C++ member initialisation lists.
9913 * progmodes/cc-engine.el (c-back-over-member-initializers):
9914 new function.
9915 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9916 (most) member init lists.
9917
9918 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9919
9920 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9921 variable.
9922
9923 2013-04-30 Leo Liu <sdl.web@gmail.com>
9924
9925 * progmodes/octave.el (octave-variables): Remove. No builtin
9926 variables any more. All converted to functions.
9927 (octave-font-lock-keywords, octave-completion-at-point-function):
9928 Fix uses.
9929 (octave-font-lock-texinfo-comment): New user variable.
9930 (octave-texinfo-font-lock-keywords): New variable for texinfo
9931 comment block.
9932 (octave-function-comment-block): New face.
9933 (octave-font-lock-texinfo-comment): New function.
9934 (octave-mode): Font lock texinfo comment block.
9935
9936 2013-04-29 Leo Liu <sdl.web@gmail.com>
9937
9938 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9939 indexing expression.
9940 (octave-continuation-string): Do not use \.
9941 (inferior-octave-complete-impossible): Remove.
9942 (inferior-octave-completion-table)
9943 (inferior-octave-completion-at-point): Remove its uses.
9944 (inferior-octave-startup): completion_matches was introduced to
9945 Octave in 1996 so safe to assume it.
9946 (octave-function-file-comment): Improve to follow how Octave does it.
9947 (octave-update-function-file-comment): Tweak.
9948
9949 2013-04-29 Leo Liu <sdl.web@gmail.com>
9950
9951 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9952 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9953 (octave-function-file-comment): Fix typo.
9954 (octave-sync-function-file-names): Use read-char-choice.
9955
9956 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9957
9958 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9959 to t for the less important warnings.
9960
9961 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9962
9963 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9964
9965 2013-04-27 Glenn Morris <rgm@gnu.org>
9966
9967 * vc/log-view.el (log-view-current-entry):
9968 Treat "---" separator lines as part of the following rev. (Bug#14169)
9969
9970 2013-04-27 Juri Linkov <juri@jurta.org>
9971
9972 * subr.el (read-number): Doc fix about using it by interactive
9973 code letter `n'. (Bug#14254)
9974
9975 2013-04-27 Juri Linkov <juri@jurta.org>
9976
9977 * desktop.el (desktop-auto-save-timeout): New option.
9978 (desktop-file-checksum): New variable.
9979 (desktop-save): Add optional arg `auto-save' and don't auto-save
9980 if nothing changed.
9981 (desktop-auto-save-timer): New variable.
9982 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9983 (after-init-hook): Call `desktop-auto-save-set-timer'.
9984 Suggested by Reuben Thomas <rrt@sc3d.org> in
9985 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9986
9987 2013-04-27 Leo Liu <sdl.web@gmail.com>
9988
9989 * progmodes/octave.el (octave-function-file-p)
9990 (octave-skip-comment-forward, octave-function-file-comment)
9991 (octave-update-function-file-comment): New functions.
9992 (octave-mode-map): Bind C-c ; to
9993 octave-update-function-file-comment.
9994 (octave-mode-menu): Add octave-update-function-file-comment.
9995 (octave-mode, inferior-octave-mode): Fix doc-string.
9996 (octave-insert-defun): Conform to Octave's coding convention.
9997 (Bug#14285)
9998
9999 * files.el (basic-save-buffer): Don't let errors in
10000 before-save-hook prevent saving buffer.
10001
10002 2013-04-20 Roland Winkler <winkler@gnu.org>
10003
10004 * faces.el (read-face-name): Use completing-read if arg multiple
10005 is nil.
10006
10007 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10008
10009 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10010 displayed, move point to after the totals line.
10011 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10012 for the details.
10013
10014 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10015
10016 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10017 Add current dir to the load-path.
10018 (package-generate-autoloads): Don't rely on
10019 autoload-ensure-default-file.
10020
10021 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10022
10023 * textmodes/remember.el (remember-store-in-files): Document that
10024 the file name format is passed to `format-time-string'.
10025
10026 2013-04-26 Leo Liu <sdl.web@gmail.com>
10027
10028 * progmodes/octave.el (octave-sync-function-file-names): New function.
10029 (octave-mode): Use it in before-save-hook.
10030
10031 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10032
10033 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10034 (bug#14274).
10035
10036 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10037 \n and comment, even if it's not an implicit ; (bug#14218).
10038
10039 2013-04-26 Glenn Morris <rgm@gnu.org>
10040
10041 * subr.el (read-number): Once more use `read' rather than
10042 `string-to-number', to trap non-numeric input. (Bug#14254)
10043
10044 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10045
10046 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10047 Use `syntax-multiline' text property consistently instead of
10048 `font-lock-multiline'. (Bug#14237)
10049
10050 2013-04-26 Glenn Morris <rgm@gnu.org>
10051
10052 * emacs-lisp/shadow.el (list-load-path-shadows):
10053 No longer necessary to check for duplicate simple.el, since
10054 2012-07-07 change to init_lread to not include installation lisp
10055 directories in load-path when running uninstalled. (Bug#14270)
10056
10057 2013-04-26 Leo Liu <sdl.web@gmail.com>
10058
10059 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10060 (octave-mode, inferior-octave-mode): Use setq-local.
10061 (octave-not-in-string-or-comment-p): Rename to
10062 octave-in-string-or-comment-p.
10063 (octave-in-comment-p, octave-in-string-p)
10064 (octave-in-string-or-comment-p): Replace defsubst with defun.
10065
10066 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10067
10068 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10069
10070 2013-04-25 Bastien Guerry <bzg@gnu.org>
10071
10072 * textmodes/remember.el (remember-data-directory)
10073 (remember-directory-file-name-format): Fix custom types.
10074
10075 2013-04-25 Leo Liu <sdl.web@gmail.com>
10076
10077 * progmodes/octave.el (octave-completion-at-point-function):
10078 Make use of inferior octave process.
10079 (octave-initialize-completions): Remove.
10080 (inferior-octave-completion-table): New function.
10081 (inferior-octave-completion-at-point): Use it.
10082 (octave-completion-alist): Remove.
10083
10084 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10085
10086 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10087 (opascal-mode-syntax-table): New var.
10088 (opascal-literal-kind, opascal-is-literal-end)
10089 (opascal-literal-token-at): Rewrite.
10090 (opascal--literal-start-re, opascal-font-lock-keywords)
10091 (opascal--syntax-propertize): New constants.
10092 (opascal-font-lock-defaults): Adjust.
10093 (opascal-mode): Use them. Set comment-<foo> variables as well.
10094 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10095 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10096 (delphi-other-face, opascal-other-face): Remove face variables.
10097 (opascal-save-state): Remove macro.
10098 (opascal-fontifying-progress-step): Remove constant.
10099 (opascal--ignore-changes): Remove var.
10100 (opascal-set-token-property, opascal-parse-next-literal)
10101 (opascal-is-stable-literal, opascal-complete-literal)
10102 (opascal-is-literal-start, opascal-face-of)
10103 (opascal-parse-region, opascal-parse-region-until-stable)
10104 (opascal-fontify-region, opascal-after-change)
10105 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10106 (opascal-debug-parse-region, opascal-debug-parse-window)
10107 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10108 (opascal-debug-fontify-buffer): Remove.
10109 (opascal-debug-mode-map): Adjust accordingly.
10110
10111 2013-04-25 Leo Liu <sdl.web@gmail.com>
10112
10113 Merge octave-mod.el and octave-inf.el into octave.el with some
10114 cleanups.
10115 * progmodes/octave.el: New file renamed from octave-mod.el.
10116 * progmodes/octave-inf.el: Merged into octave.el.
10117 * progmodes/octave-mod.el: Renamed to octave.el.
10118
10119 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10120
10121 * textmodes/reftex-vars.el
10122 (reftex-label-ignored-macros-and-environments): New defcustom.
10123
10124 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10125
10126 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10127
10128 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10129 (smie-indent-keyword): Improve the check to ensure that the next
10130 comment is really on the same line.
10131 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10132
10133 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10134 semi-colons if the line is not otherwise empty (bug#14218).
10135
10136 2013-04-25 Glenn Morris <rgm@gnu.org>
10137
10138 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10139
10140 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10141
10142 * progmodes/opascal.el (opascal-set-token-property): Rename from
10143 opascal-set-text-properties and only set `token' (bug#14134).
10144 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10145 (opascal-literal-text-properties): Remove.
10146 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10147 Adjust callers.
10148
10149 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10150
10151 * textmodes/remember.el (remember-handler-functions): Add an
10152 option for a new handler `remember-store-in-files'.
10153 (remember-data-directory, remember-directory-file-name-format):
10154 New options.
10155 (remember-store-in-files): New function to store remember notes
10156 as separate files within a directory.
10157
10158 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10159
10160 * progmodes/compile.el (compilation-next-error-function):
10161 Pass "formats" to compilation-find-file (bug#11777).
10162
10163 2013-04-24 Glenn Morris <rgm@gnu.org>
10164
10165 * vc/vc-bzr.el (vc-bzr-print-log):
10166 * vc/vc-hg.el (vc-hg-print-log):
10167 * vc/vc-svn.el (vc-svn-print-log):
10168 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10169
10170 * vc/vc-bzr.el (vc-bzr-print-log):
10171 * vc/vc-cvs.el (vc-cvs-print-log):
10172 * vc/vc-git.el (vc-git-print-log):
10173 * vc/vc-hg.el (vc-hg-print-log):
10174 * vc/vc-mtn.el (vc-mtn-print-log):
10175 * vc/vc-rcs.el (vc-rcs-print-log):
10176 * vc/vc-sccs.el (vc-sccs-print-log):
10177 * vc/vc-svn.el (vc-svn-print-log):
10178 * vc/vc.el (vc-print-log-internal): Doc fixes.
10179
10180 2013-04-23 Glenn Morris <rgm@gnu.org>
10181
10182 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10183 Remove venerable code attempting to avoid substitute-command-keys.
10184
10185 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10186
10187 * textmodes/reftex-vars.el (reftex-label-regexps):
10188 Call `reftex-compile-variables' after changes to this variable.
10189
10190 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10191
10192 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10193 Use lexical-binding.
10194 (jit-lock-force-redisplay): Use markers, check buffer's continued
10195 existence and beware narrowed buffers.
10196 (jit-lock-fontify-now): Adjust call accordingly.
10197
10198 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10199
10200 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10201 to avoid misleading the user.
10202
10203 2013-04-22 Leo Liu <sdl.web@gmail.com>
10204
10205 * info-look.el: Prefer latex2e.info. (Bug#14240)
10206
10207 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10208
10209 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10210
10211 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10212 * net/tramp.el (tramp-call-process): ... here.
10213 (tramp-set-completion-function, tramp-parse-putty):
10214 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10215 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10216 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10217 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10218 (tramp-call-local-coding-command): Use `tramp-call-process'
10219 instead of `tramp-compat-call-process'.
10220
10221 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10222 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10223 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10224 (tramp-find-inline-compress): Improve traces.
10225 (tramp-maybe-send-script): Check for Perl binary.
10226 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10227
10228 2013-04-22 Daiki Ueno <ueno@gnu.org>
10229
10230 * epg.el (epg-context-pinentry-mode): New function.
10231 (epg-context-set-pinentry-mode): New function.
10232 (epg--start): Pass --pinentry-mode option to gpg command.
10233
10234 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10235
10236 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10237 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10238 `completion-at-point'. (Bug#13774)
10239
10240 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10241 default key binding for `describe-distribution' has been moved to
10242 `C-h C-o'. (Bug#13970)
10243
10244 2013-04-21 Glenn Morris <rgm@gnu.org>
10245
10246 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10247 Add doc strings.
10248 (vc-print-log): Clarify interactive prompt.
10249
10250 2013-04-20 Glenn Morris <rgm@gnu.org>
10251
10252 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10253 No longer include timestamp etc information.
10254
10255 2013-04-20 Roland Winkler <winkler@gnu.org>
10256
10257 * faces.el (read-face-name): Bug fix, return just one face if arg
10258 multiple is nil. (Bug#14209)
10259
10260 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10261
10262 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10263 (remove-function): Autoload.
10264
10265 * comint.el (comint-redirect-original-filter-function): Remove.
10266 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10267 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10268 (vc-cvs-annotate-command):
10269 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10270 * progmodes/prolog.el (prolog-consult-compile):
10271 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10272 Use add/remove-function instead.
10273 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10274 (gud-tooltip-process-output, gud-tooltip-tips):
10275 Use add/remove-function instead.
10276 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10277 (scheme-interaction-mode, exit-scheme-interaction-mode):
10278 Use add/remove-function instead.
10279
10280 * vc/vc-dispatcher.el: Use lexical-binding.
10281 (vc--process-sentinel): Rename from vc-process-sentinel.
10282 Change last arg to be the code to run. Don't use vc-previous-sentinel
10283 and vc-sentinel-commands any more.
10284 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10285 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10286
10287 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10288
10289 * progmodes/sh-script.el (sh-imenu-generic-expression):
10290 Handle function names with a single character. (Bug#14111)
10291
10292 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10293
10294 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10295 for subroutines defined in an eval (bug#14182).
10296
10297 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10298
10299 * bookmark.el (bookmark-completing-read): Improve handling of empty
10300 string (bug#14176).
10301
10302 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10303
10304 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10305
10306 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10307
10308 New faster Imenu implementation (bug#14058).
10309 * progmodes/python.el:
10310 (python-imenu-prev-index-position):
10311 (python-imenu-format-item-label-function)
10312 (python-imenu-format-parent-item-label-function)
10313 (python-imenu-format-parent-item-jump-label-function):
10314 New vars.
10315 (python-imenu-format-item-label)
10316 (python-imenu-format-parent-item-label)
10317 (python-imenu-format-parent-item-jump-label)
10318 (python-imenu--put-parent, python-imenu--build-tree)
10319 (python-imenu-create-index, python-imenu-create-flat-index)
10320 (python-util-popn): New functions.
10321 (python-mode): Set imenu-create-index-function to
10322 python-imenu-create-index.
10323
10324 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10325
10326 * winner.el (winner-active-region): Use region-active-p, activate-mark
10327 and deactivate-mark (bug#14225).
10328
10329 * simple.el (deactivate-mark): Don't inline it.
10330
10331 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10332
10333 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10334
10335 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10336
10337 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10338 file extensions from the archive-mode entry in order to prefer
10339 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10340
10341 2013-04-18 Leo Liu <sdl.web@gmail.com>
10342
10343 * bindings.el (help-event-list): Add ?\?.
10344
10345 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10346
10347 * subr.el (with-wrapper-hook): Declare obsolete.
10348 * simple.el (filter-buffer-substring-function): New hook.
10349 (filter-buffer-substring): Use it.
10350 (filter-buffer-substring-functions): Mark obsolete.
10351 * minibuffer.el (completion-in-region-function): New hook.
10352 (completion-in-region): Use it.
10353 (completion-in-region-functions): Mark obsolete.
10354 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10355 * abbrev.el (abbrev-expand-function): New hook.
10356 (expand-abbrev): Use it.
10357 (abbrev-expand-functions): Mark obsolete.
10358 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10359 and :filter-return.
10360
10361 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10362
10363 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10364 and do not care about match data.
10365
10366 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10367
10368 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10369 completion tables when completing error conditions and
10370 `declare' arguments.
10371 (lisp-complete-symbol, field-complete): Mark as obsolete.
10372 (check-parens): Unmatched parens are user errors.
10373 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10374
10375 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10376
10377 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10378 command changed buffer (ie. `flyspell-pre-buffer' is not current
10379 buffer), which prevents making decisions based on invalid value of
10380 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10381 cause an error when `flyspell-pre-point' was nil after switching
10382 buffers.
10383 (flyspell-post-command-hook): No longer needs to change buffers when
10384 checking pre-word. While at it remove unnecessary progn.
10385
10386 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10387
10388 * textmodes/ispell.el (ispell-add-per-file-word-list):
10389 Fix `flyspell-correct-word-before-point' error when accepting
10390 words and `coment-padding' is an integer by using
10391 `comment-normalize-vars' (Bug #14214).
10392
10393 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10394
10395 New defun movement commands.
10396 * progmodes/python.el (python-nav--syntactically)
10397 (python-nav--forward-defun, python-nav-backward-defun)
10398 (python-nav-forward-defun): New functions.
10399
10400 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10401
10402 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10403 (python-syntax-context): Use named compiler-macro for backwards
10404 compatibility with Emacs 24.x.
10405
10406 2013-04-17 Leo Liu <sdl.web@gmail.com>
10407
10408 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10409 octave-hide-process-buffer.
10410
10411 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10412
10413 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10414 (bug#14216).
10415
10416 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10417
10418 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10419 Fix adjustment of offset when receiving incomplete responses from GDB
10420 (bug#14129).
10421
10422 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10423
10424 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10425 python-mode-abbrev-table.
10426 (python-skeleton-define): Adjust accordingly.
10427 (python-mode-abbrev-table): New table that inherits from it so that
10428 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10429
10430 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10431 (abbrev-symbol): Use it.
10432 (abbrev--before-point): Use it since we already handle inheritance.
10433
10434 2013-04-16 Leo Liu <sdl.web@gmail.com>
10435
10436 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10437 binding to info-lookup-symbol.
10438
10439 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10440
10441 * minibuffer.el (completion--twq-all):
10442 * term/ns-win.el (ns-initialize-window-system):
10443 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10444
10445 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10446
10447 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10448 global bindings.
10449
10450 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10451
10452 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10453
10454 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10455 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10456 to nil.
10457 (ruby-end-of-defun): Remove the unused arg, change the docstring
10458 to reflect that this function is only used as the value of
10459 `end-of-defun-function'.
10460 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10461 to reflect an earlier change that beginning/end-of-defun functions
10462 jump between methods in a class definition, as well as top-level
10463 functions.
10464
10465 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10466
10467 * minibuffer.el (minibuffer-complete): Don't just scroll
10468 a *Completions* that's been iconified.
10469 (minibuffer-force-complete): Make sure repetitions do cycle when going
10470 through completion-in-region -> minibuffer-complete.
10471
10472 2013-04-15 Alan Mackenzie <acm@muc.de>
10473
10474 Correct the placement of c-cpp-delimiters when there're #s not at
10475 col 0.
10476
10477 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10478 place a submatch around the #.
10479 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10480 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10481 on the #, not BOL.
10482
10483 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10484
10485 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10486 (advice--member-p): New arg `name'.
10487 (advice--add-function, advice-member-p): Use it (bug#14202).
10488
10489 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10490
10491 Reformulate java imenu-generic-expression.
10492 The old expression contained ill formed regexps.
10493
10494 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10495 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10496 (cc-imenu-java-method-arg-regexp): New defconsts.
10497 (cc-imenu-java-build-type-args-regex): New defun.
10498 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10499 handling of spaces in the regexp.
10500
10501 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10502
10503 * textmodes/ispell.el (ispell-command-loop): Remove
10504 flyspell highlight of a word when ispell accepts it (bug #14178).
10505
10506 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10507
10508 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10509 uses code from the previous `ange-ftp-run-real-handler'.
10510 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10511 only in case that function exist. This is needed for proper
10512 unloading of Tramp.
10513
10514 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10515
10516 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10517
10518 * textmodes/reftex.el (reftex-compile-variables): Use it.
10519
10520 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10521
10522 * files.el (normal-mode): Only use default major-mode if no other mode
10523 was specified.
10524
10525 * emacs-lisp/trace.el (trace-values): New function.
10526
10527 * files.el: Allow : in local variables (bug#14089).
10528 (hack-local-variable-regexp): New var.
10529 (hack-local-variables-prop-line, hack-local-variables): Use it.
10530
10531 2013-04-13 Roland Winkler <winkler@gnu.org>
10532
10533 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10534 data before it gets modified by bibtex-beginning-of-entry.
10535
10536 2013-04-13 Roland Winkler <winkler@gnu.org>
10537
10538 * textmodes/bibtex.el (bibtex-url): Doc fix.
10539
10540 2013-04-13 Roland Winkler <winkler@gnu.org>
10541
10542 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10543 does not visit a BibTeX file, exclude it from the list of buffers
10544 returned by bibtex-initialize.
10545
10546 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10547
10548 * window.el (split-window): Remove interactive form, since as a
10549 command this function is a special case of split-window-below.
10550 Correct doc string.
10551
10552 2013-04-12 Roland Winkler <winkler@gnu.org>
10553
10554 * faces.el (read-face-name): Do not override value of arg default.
10555 Allow single faces and strings as default values. Remove those
10556 elements from return value that are not faces.
10557 (describe-face): Simplify.
10558 (face-at-point): New optional args thing and multiple so that this
10559 function can provide the same functionality previously provided by
10560 read-face-name.
10561 (make-face-bold, make-face-unbold, make-face-italic)
10562 (make-face-unitalic, make-face-bold-italic, invert-face)
10563 (modify-face, read-face-and-attribute): Use face-at-point.
10564
10565 * cus-edit.el (customize-face, customize-face-other-window)
10566 * cus-theme.el (custom-theme-add-face)
10567 * face-remap.el (buffer-face-set)
10568 * facemenu.el (facemenu-set-face): Use face-at-point.
10569
10570 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10571
10572 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10573
10574 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10575
10576 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10577 off leading { and trailing } from field values.
10578
10579 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10580
10581 * emacs-lisp/timer.el (timer--check): New function.
10582 (timer--time, timer-set-function, timer-event-handler): Use it.
10583 (timer-set-idle-time): Simplify.
10584 (timer--activate): CSE.
10585 (timer-event-handler): Give more info in error message.
10586 (internal-timer-start-idle): New function, moved from C.
10587
10588 * mpc.el (mpc-proc): Add `restart' argument.
10589 (mpc-proc-cmd): Use it.
10590 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10591 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10592 less often.
10593
10594 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10595
10596 * progmodes/sh-script.el: Implement `sh-mode' own
10597 `add-log-current-defun-function' (bug#14112).
10598 (sh-current-defun-name): New function.
10599 (sh-mode): Use the function.
10600
10601 2013-04-09 Bastien Guerry <bzg@gnu.org>
10602
10603 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10604
10605 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10606
10607 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10608
10609 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10610 timer (bug#14156).
10611
10612 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10613
10614 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10615 declaration.
10616
10617 2013-04-07 Leo Liu <sdl.web@gmail.com>
10618
10619 * pcmpl-x.el: New file.
10620
10621 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10622
10623 Do not set x-display-name until X connection is established.
10624 This is needed to prevent from weird situation described at
10625 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10626 * frame.el (make-frame): Set x-display-name after call to
10627 window system initialization function, not before.
10628 * term/x-win.el (x-initialize-window-system): Add optional
10629 display argument and use it.
10630 * term/w32-win.el (w32-initialize-window-system):
10631 * term/ns-win.el (ns-initialize-window-system):
10632 * term/pc-win.el (msdos-initialize-window-system):
10633 Add compatible optional display argument.
10634
10635 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10636
10637 * files.el (normal-backup-enable-predicate): On MS-Windows and
10638 MS-DOS compare truenames of temporary-file-directory and of the
10639 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10640 don't fail comparison by compare-strings. Also, compare file
10641 names case-insensitively on MS-Windows and MS-DOS.
10642
10643 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10644
10645 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10646 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10647
10648 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10649
10650 * whitespace.el (whitespace-color-on, whitespace-color-off):
10651 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10652
10653 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10654
10655 * ispell.el (ispell-set-spellchecker-params):
10656 Really set `ispell-args' for all equivs.
10657
10658 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10659
10660 * ido.el (ido-completions): Use extra elements of ido-decorations
10661 (bug#14143).
10662 (ido-decorations): Update docstring.
10663
10664 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10665
10666 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10667 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10668 nil during initialization, in order not to miss changes since the
10669 file was opened. (Bug#14140)
10670
10671 2013-04-05 Leo Liu <sdl.web@gmail.com>
10672
10673 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10674
10675 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10676
10677 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10678
10679 2013-04-04 Glenn Morris <rgm@gnu.org>
10680
10681 * electric.el (electric-pair-inhibit-predicate): Add :version.
10682
10683 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10684
10685 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10686 when a package is required several times (bug#14082).
10687
10688 2013-04-04 Roland Winkler <winkler@gnu.org>
10689
10690 * faces.el (read-face-name): Behave as promised by the docstring.
10691 Assume that arg default is a list of faces.
10692 (describe-face): Call read-face-name with list of default faces.
10693
10694 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10695
10696 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10697 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10698 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10699 the header.
10700 (bookmark-exit-hook-internal): Save even if list is empty.
10701
10702 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10703
10704 * emacs-lisp/package.el (package-pinned-packages): New var.
10705 (package--add-to-archive-contents): Obey it (bug#14118).
10706
10707 2013-04-03 Alan Mackenzie <acm@muc.de>
10708
10709 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10710 Also adapt to the new values of element 7 of a parse state.
10711
10712 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10713 parameter `not-in-delimiter'. Handle being inside comment opener.
10714 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10715 character in case we're typing a '*' after a '/'.
10716 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10717 instead by passing the parameter to c-state-pp-to-literal.
10718
10719 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10720 for elt. 7 of a parse state.
10721
10722 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10723
10724 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10725 * international/latin1-disp.el, international/mule-util.el:
10726 * language/cyril-util.el, language/european.el, language/ind-util.el:
10727 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10728 * language/tibetan.el, language/viet-util.el:
10729 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10730
10731 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10732
10733 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10734 (electric-pair-post-self-insert-function): Use it.
10735 (electric-pair-default-inhibit): New function, extracted from
10736 electric-pair-post-self-insert-function.
10737
10738 2013-03-31 Roland Winkler <winkler@gnu.org>
10739
10740 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10741
10742 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10743
10744 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10745
10746 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10747
10748 Un-indent after "pass" and "return" statements (Bug#13888)
10749 * progmodes/python.el (python-indent-block-enders): New var.
10750 (python-indent-calculate-indentation): Use it.
10751
10752 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10753
10754 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10755 defun. Defining it as defalias could introduce too eager
10756 byte-compiler optimization. (Bug#14030)
10757
10758 2013-03-30 Chong Yidong <cyd@gnu.org>
10759
10760 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10761
10762 2013-03-30 Leo Liu <sdl.web@gmail.com>
10763
10764 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10765 (kmacro-execute-from-register): Pass the keyboard macro to
10766 kmacro-call-macro or repeating won't work correctly.
10767
10768 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10769
10770 * progmodes/subword.el: Back to using `forward-symbol'.
10771
10772 * subr.el (forward-whitespace, forward-symbol)
10773 (forward-same-syntax): Move from thingatpt.el.
10774
10775 2013-03-29 Leo Liu <sdl.web@gmail.com>
10776
10777 * kmacro.el (kmacro-to-register): New command.
10778 (kmacro-execute-from-register): New function.
10779 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10780
10781 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10782
10783 * mpc.el: Use defvar-local and setq-local.
10784 (mpc--proc-connect): Connection failures are not bugs.
10785 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10786 (mpc-volume-map): Bind to the up-events.
10787
10788 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10789
10790 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10791 instead of `forward-symbol'.
10792
10793 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10794
10795 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10796 (edebug--recursive-edit): Use it.
10797 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10798 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10799
10800 2013-03-28 Leo Liu <sdl.web@gmail.com>
10801
10802 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10803
10804 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10805
10806 * facemenu.el (list-colors-callback): New defvar.
10807 (list-colors-redisplay): New function.
10808 (list-colors-display): Install list-colors-redisplay as the
10809 revert-buffer-function. (Bug#14063)
10810
10811 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10812
10813 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10814 and suffixes don't overlap (bug#14061).
10815
10816 * case-table.el: Use lexical-binding.
10817 (case-table-get-table): New function.
10818 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10819
10820 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10821
10822 * progmodes/subword.el: Add `superword-mode' to do word motion
10823 over symbol_words (parallels and leverages `subword-mode' which
10824 does word motion inside MixedCaseWords).
10825
10826 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10827
10828 * eshell/em-unix.el: Move su and sudo to...
10829 * eshell/em-tramp.el: ...Eshell tramp module.
10830
10831 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10832
10833 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10834 Change return value to be a sexp. Delay `get-buffer' to after
10835 restoring the desktop (bug#13951).
10836
10837 2013-03-26 Leo Liu <sdl.web@gmail.com>
10838
10839 * register.el: Move semantic tag handling back to
10840 cedet/semantic/senator.el. (Bug#14052)
10841
10842 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10843
10844 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10845 into the prompt either (bug#13963).
10846
10847 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10848
10849 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10850 part of "(error-foo)".
10851
10852 2013-03-24 Juri Linkov <juri@jurta.org>
10853
10854 * replace.el (list-matching-lines-prefix-face): New defcustom.
10855 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10856 `occur-engine' if `face-differs-from-default-p' returns t.
10857 (occur-engine): Add `,' inside backquote construct to evaluate
10858 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10859 Pass `prefix-face' to the functions `occur-context-lines' and
10860 `occur-engine-add-prefix'.
10861 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10862 `prefix-face' and propertize the prefix with `prefix-face'.
10863 (Bug#14017)
10864
10865 2013-03-24 Leo Liu <sdl.web@gmail.com>
10866
10867 * nxml/rng-valid.el (rng-validate-while-idle)
10868 (rng-validate-quick-while-idle): Guard against deleted buffer.
10869 (Bug#13999)
10870
10871 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10872 is the last entry in kill-buffer-hook.
10873
10874 * files.el (kill-buffer-hook): Doc fix.
10875
10876 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10877
10878 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10879 Make it safe-local.
10880
10881 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10882
10883 2013-03-23 Leo Liu <sdl.web@gmail.com>
10884
10885 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10886 Remove.
10887
10888 * nxml/rng-valid.el (rng-validate-mode)
10889 (rng-after-change-function, rng-do-some-validation):
10890 * nxml/rng-maint.el (rng-validate-buffer):
10891 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10892 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10893 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10894 (nxml-extend-after-change-region): Use with-silent-modifications.
10895
10896 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10897 timer-idle-list.
10898
10899 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10900 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10901 timer-idle-list. (Bug#13999)
10902
10903 2013-03-23 Juri Linkov <juri@jurta.org>
10904
10905 * info.el (info-index-match): New face.
10906 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10907 main pattern and add text properties with the new face to matches
10908 in index entries relative to the beginning of the index entry.
10909 (Bug#14015)
10910
10911 2013-03-21 Eric Ludlam <zappo@gnu.org>
10912
10913 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10914 Inhibit read only while inserting objects.
10915
10916 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10917
10918 * progmodes/cfengine.el: Update docs to mention
10919 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10920 symbol motion. Remove "_" from the word syntax.
10921
10922 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10923
10924 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10925 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10926
10927 2013-03-20 Juri Linkov <juri@jurta.org>
10928
10929 * info.el (Info-next-reference-or-link)
10930 (Info-prev-reference-or-link): New functions.
10931 (Info-next-reference, Info-prev-reference): Use them.
10932 (Info-try-follow-nearest-node): Handle footnote navigation.
10933 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10934
10935 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10936
10937 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10938 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10939
10940 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10941
10942 Suppress unnecessary non-ASCII chatter during build process.
10943 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10944 (batch-skkdic-convert): Suppress most of the chatter.
10945 It's not needed so much now that machines are faster,
10946 and its non-ASCII component was confusing; see Dmitry Gutov in
10947 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10948
10949 2013-03-20 Leo Liu <sdl.web@gmail.com>
10950
10951 * ido.el (ido-chop): Fix bug#10994.
10952
10953 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10954
10955 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10956 Remove vars.
10957 (whitespace-color-on, whitespace-color-off):
10958 Use `font-lock-fontify-buffer' (Bug#13817).
10959
10960 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10961
10962 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10963 remapping in mode-line.
10964 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10965
10966 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10967
10968 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10969 value for `whitespace-line' face (Bug#13875).
10970 (whitespace-font-lock-keywords): Change description.
10971 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10972 the constructed keywords instead.
10973 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10974
10975 2013-03-19 Leo Liu <sdl.web@gmail.com>
10976
10977 * progmodes/compile.el (compilation-display-error): New command.
10978 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10979 C-o. (Bug#13992)
10980
10981 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10982
10983 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10984
10985 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10986
10987 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10988
10989 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10990
10991 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10992
10993 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10994 * net/tramp-gvfs.el (top):
10995 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10996 (tramp-handle-shell-command): Use it.
10997 (tramp-dissect-file-name): Raise an error when hostname is a
10998 method name, and neither method nor user is specified.
10999
11000 * net/trampver.el: Update release number.
11001
11002 2013-03-18 Leo Liu <sdl.web@gmail.com>
11003
11004 Make sure eldoc can be turned off properly.
11005 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11006 eldoc-mode.
11007 (eldoc-display-message-p): Revert last change.
11008 (eldoc-display-message-no-interference-p)
11009 (eldoc-print-current-symbol-info): Tweak.
11010
11011 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11012
11013 * doc-view.el (doc-view-new-window-function): Check the new window
11014 overlay's display property instead the char property of the
11015 buffer's first char. Use `with-selected-window' instead of
11016 `save-window-excursion' with `select-window'.
11017 (doc-view-document->bitmap): Check the current doc-view overlay's
11018 display property instead the char property of the buffer's first char.
11019
11020 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11021
11022 Automate the build of ja-dic.el (Bug#13984).
11023 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11024 from the input, rather than assume that it's been done for us by the
11025 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11026 the current date into a ja-dic.el comment, as that complicates
11027 regression testing.
11028
11029 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11030
11031 * whitespace.el: Fix double evaluation.
11032 (whitespace-space, whitespace-hspace, whitespace-tab)
11033 (whitespace-newline, whitespace-trailing, whitespace-line)
11034 (whitespace-space-before-tab, whitespace-indentation)
11035 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11036 obsolete defvars.
11037 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11038 (whitespace-color-on): Use a single font-lock-add-keywords call.
11039 Fix double-evaluation of face variables.
11040
11041 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11042
11043 * net/tramp-adb.el (tramp-adb-parse-device-names):
11044 Use `start-process' instead of `call-process'. Otherwise, the
11045 function might be blocked under MS Windows. (Bug#13299)
11046
11047 2013-03-17 Leo Liu <sdl.web@gmail.com>
11048
11049 Extend eldoc to display info in the mode-line. (Bug#13978)
11050 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11051 (eldoc-mode-line-string): New variable.
11052 (eldoc-minibuffer-message): New function.
11053 (eldoc-message-function): New variable.
11054 (eldoc-message): Use it.
11055 (eldoc-display-message-p)
11056 (eldoc-display-message-no-interference-p):
11057 Support eldoc-post-insert-mode.
11058
11059 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11060 (eval-expression): Run it.
11061
11062 2013-03-17 Roland Winkler <winkler@gnu.org>
11063
11064 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11065 strings in the list of return values.
11066
11067 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11068
11069 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11070 radix before checking for HMS forms.
11071
11072 2013-03-16 Leo Liu <sdl.web@gmail.com>
11073
11074 * progmodes/scheme.el: Add indentation and font-locking for λ.
11075 (Bug#13975)
11076
11077 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11078
11079 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11080 token before point (bug#13942).
11081
11082 2013-03-16 Leo Liu <sdl.web@gmail.com>
11083
11084 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11085
11086 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11087
11088 * startup.el (command-line-normalize-file-name): Fix handling of
11089 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11090 <xfq.free@gmail.com> in
11091 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11092
11093 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11094
11095 Sync with Tramp 2.2.7.
11096
11097 * net/trampver.el: Update release number.
11098
11099 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11100
11101 * doc-view.el: Fix bug#13887.
11102 (doc-view-insert-image): Don't modify overlay associated to
11103 non-live windows, and implement horizontal centering of image in
11104 case it's smaller than the window.
11105 (doc-view-new-window-function): Force redisplay of new windows on
11106 doc-view buffers.
11107
11108 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11109
11110 * saveplace.el (save-place-alist-to-file): Don't sort
11111 `save-place-alist', just pretty-print it (bug#13882).
11112
11113 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11114
11115 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11116 Check whether `default-file-name-coding-system' is bound.
11117 It isn't in XEmacs.
11118
11119 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11120
11121 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11122 backquotes for `obsolete' (bug#13929).
11123
11124 * international/mule.el (find-auto-coding): Include file name in
11125 obsolescence warning (bug#13922).
11126
11127 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11128
11129 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11130 for CFEngine 3-specific indentation.
11131 (cfengine3-indent-line): Use it. Fix up category regex.
11132 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11133
11134 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11135
11136 * type-break.el (type-break-file-name):
11137 * textmodes/remember.el (remember-data-file):
11138 * strokes.el (strokes-file):
11139 * shadowfile.el (shadow-initialize):
11140 * saveplace.el (save-place-file):
11141 * ps-bdf.el (bdf-cache-file):
11142 * progmodes/idlwave.el (idlwave-config-directory):
11143 * net/quickurl.el (quickurl-url-file):
11144 * international/kkc.el (kkc-init-file-name):
11145 * ido.el (ido-save-directory-list-file):
11146 * emulation/viper.el (viper-custom-file-name):
11147 * emulation/vip.el (vip-startup-file):
11148 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11149 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11150
11151 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11152
11153 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11154 * language/thai-word.el: Switch to UTF-8.
11155
11156 See ChangeLog.16 for earlier changes.
11157
11158 ;; Local Variables:
11159 ;; coding: utf-8
11160 ;; End:
11161
11162 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11163
11164 This file is part of GNU Emacs.
11165
11166 GNU Emacs is free software: you can redistribute it and/or modify
11167 it under the terms of the GNU General Public License as published by
11168 the Free Software Foundation, either version 3 of the License, or
11169 (at your option) any later version.
11170
11171 GNU Emacs is distributed in the hope that it will be useful,
11172 but WITHOUT ANY WARRANTY; without even the implied warranty of
11173 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11174 GNU General Public License for more details.
11175
11176 You should have received a copy of the GNU General Public License
11177 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.