* lisp/progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2
3 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
4 Also match after beginning of line.
5 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
6 files. Thanks to Russell Sim. (Bug#15378)
7
8 2013-12-13 Juri Linkov <juri@jurta.org>
9
10 * comint.el (comint-mode-map): Replace `delete-char' with
11 `delete-forward-char'. (Bug#16109)
12
13 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
14
15 * progmodes/python.el (python-indent-calculate-indentation): Fix
16 de-denters cornercase. (Bug#15731)
17
18 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
19
20 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
21 (advice--make): Pay attention to `depth'.
22 (advice--make-1): Don't autoload commands eagerly.
23 * emacs-lisp/elp.el (elp-instrument-function):
24 * emacs-lisp/trace.el (trace-function-internal):
25 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
26
27 * iswitchb.el (iswitchb-mode): Don't belittle ido.
28
29 2013-12-12 Eli Zaretskii <eliz@gnu.org>
30
31 * term/w32-win.el (w32-handle-dropped-file):
32 * startup.el (normal-top-level):
33 * net/browse-url.el (browse-url-file-url):
34 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
35 decode file names using 'utf-8' rather than
36 file-name-coding-system.
37
38 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
39
40 * progmodes/python.el (python-indent-context)
41 (python-indent-calculate-indentation): Fix auto-identation
42 behavior for comment blocks. (Bug#15916)
43
44 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
45
46 * progmodes/python.el (python-indent-calculate-indentation):
47 When determining indentation, don't treat "return", "pass", etc., as
48 operators when they are just string constituents. (Bug#15812)
49
50 2013-12-12 Juri Linkov <juri@jurta.org>
51
52 * uniquify.el (uniquify-buffer-name-style): Change default to
53 `post-forward-angle-brackets'.
54
55 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
56 `uniquify'. Change default to `post-forward-angle-brackets'.
57
58 2013-12-11 Glenn Morris <rgm@gnu.org>
59
60 * emacs-lisp/package.el (finder-list-matches):
61 Autoload rather than falsely declaring.
62
63 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
64
65 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
66 (eww-mode-map): Use them.
67
68 2013-12-11 Martin Rudalics <rudalics@gmx.at>
69
70 * window.el (display-buffer-in-side-window): Fix doc-string
71 (Bug#16115).
72
73 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
74
75 * vc/vc-git.el: Silence byte-compiler warnings.
76 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
77 (log-edit-set-header): Declare.
78
79 2013-12-11 Eli Zaretskii <eliz@gnu.org>
80
81 * Makefile.in (custom-deps, finder-data): Run output file names
82 through unmsys--file-name. (Bug#16099)
83
84 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
85
86 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
87 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
88
89 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
90 instead of deleting the selection "by hand" (bug#16098).
91 Rely on insert-for-yank to yank rectangles.
92 (cua-highlight-region-shift-only): Mark obsolete.
93 (cua-mode): Don't enable/disable transient-mark-mode,
94 shift-select-mode (cua-mode works both with and without them), and
95 pc-selection-mode (obsolete).
96 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
97 (cua--deactivate-rectangle): Deactivate it.
98
99 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
100 (delete-selection-helper): Make sure yank starts at the top of the
101 deleted region.
102 (minibuffer-keyboard-quit): Use region-active-p.
103
104 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
105
106 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
107 to `delete' (bug#16109).
108
109 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
110
111 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
112 info manual and show keybindings and set `:group' keyword.
113
114 2013-12-11 Juri Linkov <juri@jurta.org>
115
116 * delsel.el (delete-active-region): Let-bind `this-command'
117 to prevent `kill-region' from changing its original value.
118 (delete-selection-helper): Handle `overwrite-mode' for the type
119 `kill' exactly the same way as for the type `t'.
120 (insert-char, quoted-insert, reindent-then-newline-and-indent):
121 Support more commands. (Bug#13312)
122
123 2013-12-11 Juri Linkov <juri@jurta.org>
124
125 * bindings.el: Map kp keys to non-kp keys systematically
126 with basic modifiers control, meta and shift. (Bug#14397)
127
128 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
129
130 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
131 "Close browser" menu items. Fix wrong function of "List
132 bookmarks".
133
134 2013-12-11 Juri Linkov <juri@jurta.org>
135
136 * misearch.el (multi-isearch-buffers): Set the value of
137 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
138 arg of isearch-forward to t.
139 (multi-isearch-buffers-regexp): Set the value of
140 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
141 arg of isearch-forward-regexp to t.
142 (multi-isearch-files): Set the value of
143 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
144 arg of isearch-forward to t.
145 (multi-isearch-files-regexp): Set the value of
146 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
147 arg of isearch-forward-regexp to t. (Bug#16035)
148
149 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
150 arg of isearch-forward to t.
151 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
152 arg of isearch-forward-regexp to t.
153 (dired-isearch-filter-filenames): Remove unnecessary check for
154 `dired-isearch-filenames'.
155
156 * comint.el (comint-history-isearch-backward):
157 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
158 (comint-history-isearch-backward-regexp):
159 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
160
161 2013-12-10 Eli Zaretskii <eliz@gnu.org>
162
163 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
164 unmsys--file-name. (Bug#16099)
165
166 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
167
168 * emacs-lisp/package.el (package-keyword-button-action):
169 Remove finder.el require dependency.
170
171 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
172
173 * emacs-lisp/package.el: Require finder.el.
174 (describe-package-1): Add keyword buttons.
175 (package-make-button): New convenience function.
176 (package-keyword-button-action): Keyword button action using
177 `finder-list-matches'
178
179 2013-12-09 Eli Zaretskii <eliz@gnu.org>
180
181 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
182 last commit.
183
184 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
185
186 * autorevert.el (auto-revert-notify-add-watch): Do not handle
187 symlinked files.
188
189 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
190
191 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
192 after the end of a percent literal.
193
194 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
195
196 * progmodes/ruby-mode.el (ruby-forward-string): Document.
197 Handle caret-delimited strings (Bug#16079).
198
199 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
200
201 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
202 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
203 `ruby-parse-partial' (Bug#16078).
204
205 2013-12-09 Leo Liu <sdl.web@gmail.com>
206
207 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
208
209 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
210
211 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
212 (js-switch-indent-offset): New option.
213 (js--proper-indentation): Use it. And handle the case when
214 "default" is actually a key in an object literal.
215 (js--same-line): New function.
216 (js--multi-line-declaration-indentation): Use it.
217 (js--indent-in-array-comp, js--array-comp-indentation):
218 New functions.
219 (js--proper-indentation): Use them, to handle array comprehension
220 continuations.
221
222 2013-12-08 Leo Liu <sdl.web@gmail.com>
223
224 * progmodes/flymake.el (flymake-highlight-line): Re-write.
225 (flymake-make-overlay): Remove arg MOUSE-FACE.
226 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
227
228 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
229
230 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
231 New function.
232 (redisplay-highlight-region-function): Use it.
233
234 * emulation/cua-base.el (cua--explicit-region-start)
235 (cua--last-region-shifted): Remove.
236 (cua--deactivate): Use deactivate-mark.
237 (cua--pre-command-handler-1): Don't handle shift-selection.
238 (cua--post-command-handler-1): Don't change transient-mark-mode.
239 (cua--select-keymaps): Use region-active-p rather than
240 cua--explicit-region-start or cua--last-region-shifted.
241 (cua-mode): Enable shift-select-mode.
242
243 2013-12-08 Leo Liu <sdl.web@gmail.com>
244
245 * progmodes/flymake.el (flymake-popup-current-error-menu):
246 Rename from flymake-display-err-menu-for-current-line. Reimplement.
247 (flymake-posn-at-point-as-event, flymake-popup-menu)
248 (flymake-make-emacs-menu): Remove. (Bug#16077)
249
250 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
251
252 * rect.el (rectangle-mark-mode): Activate mark even if
253 transient-mark-mode is off (bug#16066).
254 (rectangle--highlight-for-redisplay): Fix boundary condition when point
255 is > mark and at bolp.
256
257 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
258 (region-extract-function): Use it.
259 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
260 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
261 Delete functions.
262 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
263 kill-ring-save, kill-region, delete-char, delete-forward-char.
264 Ignore self-insert-iso.
265
266 * emulation/cua-gmrk.el (cua--init-global-mark):
267 Ignore `self-insert-iso'.
268
269 * emulation/cua-base.el (cua--prefix-copy-handler)
270 (cua--prefix-cut-handler): Rely on region-extract-function rather than
271 checking cua--rectangle.
272 (cua-delete-region): Use region-extract-function.
273 (cua-replace-region): Delete function.
274 (cua-copy-region, cua-cut-region): Obey region-extract-function.
275 (cua--pre-command-handler-1): Don't do the delete-selection thing.
276 (cua--self-insert-char-p): Ignore `self-insert-iso'.
277 (cua--init-keymaps): Don't remap delete-selection commands.
278 (cua-mode): Use delete-selection-mode instead of rolling our own
279 (bug#16085).
280
281 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
282 Obey region-extract-function.
283
284 Make registers and delete-selection-mode work on rectangles.
285 * register.el (describe-register-1): Don't modify the register's value.
286 (copy-to-register): Obey region-extract-function.
287 * delsel.el (delete-active-region): Obey region-extract-function.
288
289 2013-12-08 Leo Liu <sdl.web@gmail.com>
290
291 * progmodes/flymake.el (flymake, flymake-error-bitmap)
292 (flymake-warning-bitmap, flymake-fringe-indicator-position)
293 (flymake-compilation-prevents-syntax-check)
294 (flymake-start-syntax-check-on-newline)
295 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
296 (flymake-start-syntax-check-on-find-file, flymake-log-level)
297 (flymake-xml-program, flymake-master-file-dirs)
298 (flymake-master-file-count-limit)
299 (flymake-allowed-file-name-masks): Relocate.
300 (flymake-makehash, flymake-float-time)
301 (flymake-replace-regexp-in-string, flymake-split-string)
302 (flymake-get-temp-dir): Remove.
303 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
304 (flymake-current-row, flymake-selected-frame)
305 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
306 related functions. (Bug#16077)
307
308 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
309
310 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
311
312 2013-12-07 Tassilo Horn <tsdh@gnu.org>
313
314 * help-fns.el (describe-function-1): Use new advice-* functions
315 rather than old ad-* functions. Fix function type description and
316 source links for advised functions and subrs.
317
318 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
319
320 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
321
322 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
323
324 * progmodes/compile.el (compilation-start):
325 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
326
327 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
328 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
329
330 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
331
332 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
333 Touch up the last change.
334
335 2013-12-06 Leo Liu <sdl.web@gmail.com>
336
337 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
338 (inferior-octave-startup): Always use "octave> " for prompt.
339 (octave-goto-function-definition)
340 (octave-sync-function-file-names)
341 (octave-find-definition-default-filename): Remove redundant backquotes.
342
343 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
344
345 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
346 syntax for `?'.
347 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
348 where appropriate already.
349 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
350 end of method names (Bug#15874).
351
352 2013-12-06 Juri Linkov <juri@jurta.org>
353
354 * isearch.el (isearch--saved-overriding-local-map):
355 New internal variable.
356 (isearch-mode): Set it to the initial value of
357 `overriding-terminal-local-map'.
358 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
359 with `isearch--saved-overriding-local-map'. (Bug#16035)
360
361 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
362
363 * progmodes/octave.el (inferior-octave-completion-table):
364 Turn back into function, use `completion-table-with-cache'
365 (Bug#11906). Update all references.
366
367 * minibuffer.el (completion-table-with-cache): New function.
368
369 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
370
371 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
372
373 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
374
375 * net/eww.el (eww-current-source): New variable to store page
376 source.
377 (eww-display-html, eww-mode, eww-save-history)
378 (eww-restore-history): Use it.
379 (eww-view-source): New command to view page source.
380 Opportunistically uses `html-mode' to highlight the buffer.
381 (eww-mode-map): Install it.
382
383 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
384
385 * net/dbus.el (dbus-unregister-service)
386 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
387 Fix docstring.
388 (dbus-unregister-service): Skip :serial entries in
389 `dbus-registered-objects-table'.
390 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
391
392 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
393
394 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
395 around keywords with extra `split-string' argument.
396
397 2013-12-04 Martin Rudalics <rudalics@gmx.at>
398
399 * windmove.el (windmove-other-window-loc): Handle navigation
400 between windows (excluding the minibuffer window - Bug#16017).
401
402 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
403
404 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
405 in D-Bus type syntax.
406 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
407 preserve unibyte strings. (Bug#16048)
408
409 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
410
411 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
412 Call force-mode-line-update is the proper buffer (bug#16042).
413
414 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
415
416 * vc/log-edit.el (log-edit-add-new-comment): Rename to
417 `log-edit-remember-comment', make argument optional. Adjust all
418 callers.
419 (log-edit-mode): Add `log-edit-remember-comment' to
420 `kill-buffer-hook' locally.
421 (log-edit-kill-buffer): Don't remember comment explicitly since
422 the buffer is killed anyway.
423
424 2013-12-04 Juri Linkov <juri@jurta.org>
425
426 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
427 add-hook and remove-hook for multi-buffer search. (Bug#16035)
428
429 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
430
431 * notifications.el (notifications-close-notification): Call the
432 D-Bus method with ID being a `:uint32'. (Bug#16030)
433
434 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
435
436 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
437
438 2013-12-03 Juri Linkov <juri@jurta.org>
439
440 * progmodes/compile.el (compilation-start): Rename window alist
441 entry `no-display-ok' to `allow-no-window'.
442
443 * simple.el (shell-command): Add window alist entry
444 `allow-no-window' to `display-buffer'.
445 (async-shell-command): Doc fix.
446
447 * window.el (display-buffer-no-window): New action function.
448 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
449
450 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
451
452 * vc/log-edit.el (log-edit-set-header): Extract from
453 `log-edit-toggle-header'.
454 (log-edit-extract-headers): Separate the summary, when extracted
455 from header, from the rest of the message with an empty line.
456
457 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
458 line, if present, to the Summary header.
459
460 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
461
462 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
463 in current-buffer (bug#16029).
464
465 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
466
467 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
468 (debugger-mode-map): Bind it.
469 (debugger--backtrace-base): New function.
470 (debugger-eval-expression): Use it.
471 (debugger-frame-number): Skip local vars when present.
472 (debugger--locals-visible-p, debugger--insert-locals)
473 (debugger--show-locals, debugger--hide-locals): New functions.
474
475 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
476
477 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
478 "LC_ALL".
479 (tramp-get-remote-locale): New defun.
480 (tramp-open-connection-setup-interactive-shell): Use it.
481
482 2013-12-02 Leo Liu <sdl.web@gmail.com>
483
484 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
485
486 * progmodes/sh-script.el (sh-shell-process):
487 * progmodes/octave.el (inferior-octave-process-live-p):
488 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
489 (gdb-inferior-io-sentinel):
490 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
491
492 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
493
494 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
495 `save-selected-window' to `log-edit-hide-buf'. This makes
496 `log-edit-show-files' idempotent.
497 (log-edit-show-files): Mark the new window as dedicated.
498
499 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
500
501 * vc/log-edit.el (log-edit-mode-map): Add binding for
502 `log-edit-kill-biffer'.
503 (log-edit-hide-buf): Add a FIXME comment.
504 (log-edit-add-new-comment): New function, extracted from
505 `log-edit-done'.
506 (log-edit-done, log-edit-add-to-changelog): Use it.
507 (log-edit-kill-buffer): New command.
508
509 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
510
511 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
512 instead of killing the buffer.
513
514 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
515
516 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
517
518 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
519
520 * net/eww.el (eww-form-checkbox-selected-symbol)
521 (eww-form-checkbox-symbol): New customizable variable.
522 (eww-form-checkbox, eww-toggle-checkbox):
523 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
524
525 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
526 (shr--get-media-pref, shr--extract-best-source): New function.
527 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
528 no :src tag was specified.
529
530 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
531 (eww-render): Handle `eww-use-external-browser-for-content-type'.
532 Use \\` to match beginning of string instead of ^.
533 (eww-browse-with-external-browser): Provide optional URL parameter.
534 (eww-render): Set `eww-current-title' back to "".
535
536 * net/shr.el (shr-tag-video): Display content for video if no
537 poster is available.
538 (shr-tag-audio): Add support for <audio> tag.
539
540 * net/eww.el (eww-text-input-types): : New const.
541 (eww-process-text-input): Treat input types in
542 `eww-text-input-types' as text.
543
544 * net/shr.el (shr-tag-table): Fix comment typo.
545
546 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
547
548 * net/eww.el (eww-follow-link): New command to avoid reloading
549 pages when we follow #target links (bug#15243).
550 (eww-quit): Special mode buffers shouldn't query before exiting.
551
552 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
553
554 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
555 forms.
556
557 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
558
559 * net/eww.el (eww-restore-history): Update the window title after
560 moving in the history.
561 (eww-current-dom): New variable used to save the current DOM.
562
563 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
564
565 * vc/log-edit.el (log-edit-mode-map): Add binding for
566 `log-edit-beginning-of-line'.
567 (log-edit-setup-add-author): New user option.
568 (log-edit-beginning-of-line): New command.
569 (log-edit): Move major mode call above the contents setup so that
570 the local variable values are already applied.
571 (log-edit): Only insert "Author: " when
572 `log-edit-setup-add-author' is non-nil.
573 (log-edit): When SETUP is non-nil, position point after ": "
574 instead of point-min.
575
576 2013-12-01 Glenn Morris <rgm@gnu.org>
577
578 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
579
580 2013-11-30 Eli Zaretskii <eliz@gnu.org>
581
582 * startup.el (fancy-splash-frame): On MS-Windows, trigger
583 redisplay to make sure the initial frame gets a chance to become
584 visible. (Bug#16014)
585
586 2013-11-30 Martin Rudalics <rudalics@gmx.at>
587
588 Support resizing frames and windows pixelwise.
589 * cus-start.el (frame-resize-pixelwise)
590 (window-resize-pixelwise): New entries.
591 * emacs-lisp/debug.el (debug): Use window-total-height instead
592 of window-total-size.
593 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
594 * help.el (describe-bindings-internal): Call help-buffer
595 (temp-buffer-max-width): New option.
596 (resize-temp-buffer-window, help-window-setup)
597 (with-help-window): Rewrite.
598 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
599 dragging dividers.
600 * window.el (frame-char-size, window-min-pixel-height)
601 (window-safe-min-pixel-height, window-safe-min-pixel-width)
602 (window-min-pixel-width, window-safe-min-pixel-size)
603 (window-combination-p, window-safe-min-size)
604 (window-resizable-p, window--size-to-pixel)
605 (window--pixel-to-size, window--resize-apply-p): New functions.
606 (window-safe-min-height): Fix doc-string.
607 (window-size, window-min-size, window--min-size-1)
608 (window-sizable, window-sizable-p, window--min-delta-1)
609 (window-min-delta, window--max-delta-1, window-max-delta)
610 (window--resizable, window--resizable-p, window-resizable)
611 (window-full-height-p, window-full-width-p, window-at-side-p)
612 (window--in-direction-2, window-in-direction)
613 (window--resize-reset-1, window--resize-mini-window)
614 (window-resize, window-resize-no-error)
615 (window--resize-child-windows-normal)
616 (window--resize-child-windows, window--resize-siblings)
617 (window--resize-this-window, window--resize-root-window)
618 (window--resize-root-window-vertically)
619 (adjust-window-trailing-edge, enlarge-window, shrink-window)
620 (maximize-window, minimize-window, delete-window)
621 (quit-restore-window, window-split-min-size, split-window)
622 (balance-windows-2, balance-windows)
623 (balance-windows-area-adjust, balance-windows-area)
624 (window--state-get-1, window-state-get, window--state-put-1)
625 (window--state-put-2, window-state-put)
626 (display-buffer-record-window, window--display-buffer):
627 Make functions handle pixelwise sizing of windows.
628 (display-buffer--action-function-custom-type)
629 (display-buffer-fallback-action):
630 Add display-buffer-in-previous-window.
631 (display-buffer-use-some-window): Resize window to height it had
632 before.
633 (fit-window-to-buffer-horizontally): New option.
634 (fit-frame-to-buffer): Describe new values.
635 (fit-frame-to-buffer-bottom-margin): Replace with
636 fit-frame-to-buffer-margins.
637 (window--sanitize-margin): New function.
638 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
639 using window-text-pixel-size.
640
641 2013-11-30 Glenn Morris <rgm@gnu.org>
642
643 * emacs-lisp/bytecomp.el (byte-compile-form):
644 Make the `interactive-only' warning like the `obsolete' one.
645 * comint.el (comint-run):
646 * files.el (insert-file-literally, insert-file):
647 * replace.el (replace-string, replace-regexp):
648 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
649 (goto-line, insert-buffer, next-line, previous-line):
650 Tweak `interactive-only' spec.
651
652 Stop keeping (most) generated cedet grammar files in the repository.
653 * Makefile.in (semantic): New.
654 (compile-main): Depend on semantic.
655
656 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
657
658 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
659 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
660
661 * uniquify.el (uniquify-buffer-name-style): Change default.
662
663 * loadup.el: Preload "uniquify".
664
665 * time.el (display-time-update): Update all mode lines (bug#15999).
666
667 * electric.el (electric-indent-mode): Enable by default.
668 * loadup.el: Preload "electric".
669
670 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
671
672 * emacs-lisp/helpers.el (string-empty-p): New function.
673 (string-blank-p): New function.
674
675 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
676
677 * imenu.el (imenu--index-alist): Add missing dot to the docstring
678 (Bug#14029).
679
680 2013-11-29 Andreas Politz <politza@fh-trier.de>
681 * imenu.el (imenu--subalist-p): Don't error on non-conses and
682 allow non-lambda lists as functions.
683 (imenu--in-alist): Don't recurse into non-subalists.
684 (imenu): Don't pass function itself as an argument (Bug#14029).
685
686 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
687
688 * progmodes/python.el (python-mode-map): Remove binding for ":".
689 (python-indent-electric-colon): Remove command.
690 (python-indent-post-self-insert-function): Integrate the previous code
691 of python-indent-electric-colon. Make it conditional on
692 electric-indent-mode.
693 (python-mode): Add ?: to electric-indent-chars.
694 Move python-indent-post-self-insert-function to the end of
695 post-self-insert-hook.
696
697 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
698
699 * doc-view.el (doc-view-goto-page): Update mode-line.
700
701 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
702
703 2013-11-27 Glenn Morris <rgm@gnu.org>
704
705 * international/charprop.el, international/uni-bidi.el:
706 * international/uni-category.el, international/uni-combining.el:
707 * international/uni-comment.el, international/uni-decimal.el:
708 * international/uni-decomposition.el, international/uni-digit.el:
709 * international/uni-lowercase.el, international/uni-mirrored.el:
710 * international/uni-name.el, international/uni-numeric.el:
711 * international/uni-old-name.el, international/uni-titlecase.el:
712 * international/uni-uppercase.el:
713 Remove generated files from VCS repository.
714
715 2013-11-27 Eli Zaretskii <eliz@gnu.org>
716
717 * filenotify.el (file-notify-add-watch): Don't special-case
718 w32notify when computing the directory to watch.
719
720 2013-11-27 Glenn Morris <rgm@gnu.org>
721
722 Make bootstrap without generated uni-*.el files possible again.
723 * loadup.el: Update command-line-args checking for unidata-gen.
724 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
725 * composite.el, international/characters.el:
726 Handle unicode tables being undefined.
727
728 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
729 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
730 (compile-main): Depend on leim rule.
731 (leim): New rule.
732 * loadup.el: Move leim-list.el to leim/ subdirectory.
733 * startup.el (normal-top-level): No more leim directory.
734 * international/ja-dic-cnv.el (skkdic-convert):
735 Disable version-control and autoloads in output files.
736 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
737 Disable version-control and autoloads in output files.
738 * leim/quail: Move here from ../leim.
739 * leim/quail/hangul.el (hangul-input-method-activate):
740 Add autoload cookie.
741 (generated-autoload-load-name): Set file-local value.
742 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
743 (generated-autoload-load-name): Set file-local value.
744
745 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
746
747 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
748 (eww-add-bookmark): ask confirmation when add to bookmarks
749 (eww-quit): ask confirmation before quitting eww
750
751 2013-11-26 Eli Zaretskii <eliz@gnu.org>
752
753 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
754 reading output from Diff on MS-Windows and MS-DOS.
755
756 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
757
758 * emacs-lisp/helpers.el (string-reverse): New function.
759
760 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
761
762 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
763 names on MS Windows, like "/[::1]:".
764
765 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
766 SWITCHES.
767
768 2013-11-26 Glenn Morris <rgm@gnu.org>
769
770 * progmodes/python.el (python-indent-guess-indent-offset):
771 Avoid corner-case error. (Bug#15975)
772
773 Preload leim-list.el. (Bug#4789)
774 * loadup.el: Load leim-list.el when found.
775 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
776
777 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
778
779 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
780
781 * emacs-lisp/helpers.el (string-join): New function.
782
783 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
784
785 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
786 Mark as obsolete and replace it with a symbol property.
787 (byte-compile-form): Use new 'interactive-only property.
788 * comint.el, files.el, replace.el, simple.el:
789 Apply new 'interactive-only properly.
790
791 2013-11-25 Martin Rudalics <rudalics@gmx.at>
792
793 * window.el (display-buffer-at-bottom): Make sure that
794 split-window-sensibly creates the new window on bottom
795 (Bug#15961).
796
797 2013-11-23 David Kastrup <dak@gnu.org>
798
799 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
800 on the conflict markers when available.
801 (smerge--get-marker): New function.
802 (smerge-end-re, smerge-base-re): Add subgroup.
803
804 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
805
806 * frame.el (handle-focus-in, handle-focus-out): Add missing
807 interactive spec.
808
809 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
810
811 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
812 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
813
814 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
815
816 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
817 (gomoku--last-pos): New var.
818 (gomoku--intangible-chars): New const.
819 (gomoku--intangible): New function.
820 (gomoku-mode): Use it. Derive from special-mode.
821 (gomoku-move-up): Adjust line count.
822 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
823 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
824 Simplify accordingly.
825
826 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
827 Remove blink-cursor code.
828 (blink-cursor-timer-function, blink-cursor-suspend):
829 Don't special-case GUIs.
830 (blink-cursor-mode): Use focus-in/out-hook.
831
832 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
833
834 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
835 work when annotation is invisible (Bug#13886).
836
837 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
838
839 * json.el (json-alist-p): Only return non-nil if the alist has
840 simple keys (Bug#13518).
841
842 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
843
844 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
845 when control-statement is the first statement in a buffer (Bug#15956).
846
847 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
848
849 * imenu.el (imenu-generic-skip-comments-and-strings):
850 New option (Bug#15560).
851 (imenu--generic-function): Use it.
852
853 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
854
855 * minibuffer.el (completion--in-region-1): Scroll the correct
856 window. (Bug#13898)
857
858 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
859
860 * emacs-lisp/helpers.el: Add some string helpers.
861 (string-trim-left): Removes leading whitespace.
862 (string-trim-right): Removes trailing whitespace.
863 (string-trim): Removes leading and trailing whitespace.
864
865 * subr.el (string-suffix-p): New function.
866
867 2013-11-23 Glenn Morris <rgm@gnu.org>
868
869 * progmodes/python.el (python-shell-send-file):
870 Add option to delete file when done. (Bug#15647)
871 (python-shell-send-string, python-shell-send-region): Use it.
872
873 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
874
875 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
876 to set buffer-read-only to t, never to nil. (Bug#15938)
877
878 * textmodes/tex-mode.el (latex-noindent-environments):
879 Add safe-local-variable property. (Bug#15936)
880
881 2013-11-23 Glenn Morris <rgm@gnu.org>
882
883 * textmodes/enriched.el (enriched-mode): Doc fix.
884 * emacs-lisp/authors.el (authors-renamed-files-alist):
885 Add enriched.doc -> enriched.txt.
886
887 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
888
889 2013-11-22 Leo Liu <sdl.web@gmail.com>
890
891 * progmodes/octave.el (inferior-octave-startup): Spit out error
892 message.
893
894 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
895
896 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
897 Improve docstring.
898 Add :version.
899 (ruby-encoding-magic-comment-style): Add :version.
900
901 2013-11-22 Leo Liu <sdl.web@gmail.com>
902
903 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
904 (Bug#15076)
905 (octave-help-mode): Adapt to change to help-mode-finish to use
906 derived-mode-p on 2013-09-17.
907 (inferior-octave-prompt): Also match octave-gui.
908 (octave-kill-process): Don't ask twice. (Bug#10564)
909
910 2013-11-22 Leo Liu <sdl.web@gmail.com>
911
912 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
913 (inferior-octave-startup, inferior-octave-check-process)
914 (inferior-octave-track-window-width-change)
915 (octave-completion-at-point, octave-eldoc-function): Use it.
916 (octave-kill-process): Provide confirmation. (Bug#10564)
917
918 2013-11-21 Leo Liu <sdl.web@gmail.com>
919
920 * progmodes/octave.el (octave-mode, inferior-octave-mode):
921 Fix obsolete variable comment-use-global-state.
922
923 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
924
925 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
926 Add `octave-source-file'.
927 (octave-source-file): New function. (Bug#15935)
928
929 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
930
931 * net/eww.el (eww-local-regex): New variable.
932 (eww): Use it to detect localhost and similar.
933
934 2013-11-21 Leo Liu <sdl.web@gmail.com>
935
936 Add completion for command `ag'.
937 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
938 (pcomplete/ag): New function.
939 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
940
941 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
942
943 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
944 (bug#14646).
945 (make-obsolete): Remove interactive spec.
946
947 2013-11-21 Glenn Morris <rgm@gnu.org>
948
949 * startup.el (command-line-1): Use path-separator with -L.
950
951 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
952
953 * emacs-lisp/package.el (describe-package-1): Add package archive
954 to shown fields.
955
956 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
957
958 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
959 Change default to "# encoding: %s" to differentiate it from the
960 default Ruby encoding comment template.
961
962 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
963
964 * ses.el (ses-mode): Doc fix. (Bug#14748)
965
966 2013-11-20 Leo Liu <sdl.web@gmail.com>
967
968 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
969
970 2013-11-19 Dan Nicolaescu <dann@gnu.org>
971
972 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
973 when rebase or bisect are in progress.
974
975 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
976
977 * filenotify.el (file-notify-add-watch): Doc fix.
978
979 2013-11-19 Leo Liu <sdl.web@gmail.com>
980
981 * obsolete/rcompile.el: Mark obsolete.
982
983 * progmodes/compile.el (compilation-start)
984 (compilation-goto-locus, compilation-find-file):
985 Pass no-display-ok and handle nil value from display-buffer.
986 (Bug#13594)
987
988 * window.el (display-buffer-alist, display-buffer): Document the
989 new parameter no-display-ok. Return either a window or nil
990 but never a non-window value.
991
992 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
993
994 * electric.el (electric-indent-mode-map): Remove.
995 (electric-indent-mode): Change the global-map instead (bug#15915).
996
997 * textmodes/text-mode.el (paragraph-indent-minor-mode):
998 Use add-function.
999
1000 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1001
1002 * emacs-lisp/nadvice.el (remove-function): Align with
1003 add-function's behavior.
1004
1005 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1006 (gdb--string-regexp): New constant.
1007 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1008 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1009 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1010 submatch 1.
1011 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1012 Adjust use accordingly.
1013 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1014
1015 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1016
1017 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1018 interpolation curlies (Bug#15914).
1019
1020 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1021
1022 * calc/calc.el (calc-context-sensitive-enter): New variable.
1023 (calc-enter): Use `calc-context-sensitive-enter'.
1024
1025 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1026
1027 * progmodes/cfengine.el: Version bump.
1028 (cfengine-cf-promises): New defcustom to locate cf-promises.
1029 (cfengine3-vartypes): Add new "data" type.
1030 (cfengine3--current-word): New function to get current name-like
1031 word or its bounds.
1032 (cfengine3--current-function): New function to look up a CFEngine
1033 function's definition.
1034 (cfengine3-format-function-docstring): New function.
1035 (cfengine3-make-syntax-cache): New function.
1036 (cfengine3-documentation-function): New function: ElDoc glue.
1037 (cfengine3-completion-function): New function: completion glue.
1038 (cfengine3-mode): Set `compile-command',
1039 `eldoc-documentation-function', and add to
1040 `completion-at-point-functions'.
1041
1042 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1043
1044 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1045 `tramp-current-connection'.
1046
1047 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1048
1049 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1050 nil/self/true/false with "end of symbol".
1051
1052 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1053
1054 * subr.el (version-regexp-alist): Fix a typo.
1055
1056 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1057
1058 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1059 "en_US.utf8" and "LC_CTYPE" to "".
1060 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1061 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1062
1063 2013-11-15 Leo Liu <sdl.web@gmail.com>
1064
1065 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1066
1067 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1068
1069 * progmodes/gud.el (ctl-x-map):
1070 Remove C-x SPC binding. (Bug#12342)
1071 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1072
1073 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1074
1075 * subr.el (version-regexp-alist):
1076 Recognize hg, svn and darcs versions as snapshot versions.
1077
1078 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1079 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1080 (ruby--encoding-comment-required-p): Extract from
1081 `ruby-mode-set-encoding'.
1082 (ruby-mode-set-encoding): Add the ability to always insert an
1083 utf-8 encoding comment. Fix and simplify coding comment update
1084 logic.
1085
1086 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1087
1088 * net/tramp-gvfs.el (top): Run init code only when
1089 `tramp-gvfs-enabled' is not nil.
1090 (tramp-gvfs-enabled): Check also :system bus.
1091
1092 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1093
1094 Sync with upstream verilog-mode revision 78e66ba.
1095 * progmodes/verilog-mode.el (verilog-end-of-defun)
1096 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1097 (verilog-get-end-of-defun): Remove unused argument.
1098 (verilog-comment-depth): Remove unused local `e'.
1099 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1100 Don't pass arg to verilog-get-end-of-defun.
1101
1102 2013-11-14 Glenn Morris <rgm@gnu.org>
1103
1104 * obsolete/assoc.el (aget): Prefix dynamic variable.
1105
1106 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1107
1108 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1109
1110 * widget.el, hfy-cmap.el: Remove bogus package version number.
1111
1112 2013-11-13 Glenn Morris <rgm@gnu.org>
1113
1114 * replace.el (replace-eval-replacement):
1115 Try to give more helpful error message. (Bug#15836)
1116
1117 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1118 (archive-7z-update): Avoid custom type mismatches.
1119
1120 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1121
1122 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1123
1124 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1125 address can be empty.
1126
1127 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1128 Accept nil SWITCHES.
1129 (tramp-gvfs-handle-write-region): Implement APPEND.
1130
1131 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1132
1133 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1134 binary "|" operator and closing block args delimiter.
1135 Remove FIXME comment referring to Ruby 1.8-only syntax.
1136 (ruby-smie--implicit-semi-p): Not after "|" operator.
1137 (ruby-smie--closing-pipe-p): New function.
1138 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1139 (ruby-smie-rules): Indent after "|".
1140
1141 2013-11-12 Glenn Morris <rgm@gnu.org>
1142
1143 * ps-print.el (ps-face-attribute-list):
1144 Handle anonymous faces. (Bug#15827)
1145
1146 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1147
1148 * window.el (display-buffer-other-frame): Fix doc-string.
1149 (Bug#15868)
1150
1151 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1152
1153 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1154
1155 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1156
1157 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1158 (tramp-sh-handle-file-local-copy): Don't write a message when
1159 saving temporary files.
1160
1161 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1162 both directories are remote.
1163 (tramp-smb-handle-directory-files): Do not return double entries.
1164 Do not expand full file names.
1165 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1166 (tramp-smb-handle-write-region): Implement APPEND.
1167 (tramp-smb-get-stat-capability): Fix a stupid bug.
1168
1169 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1170
1171 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1172
1173 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1174
1175 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1176 throwing error over malformed let/let* (bug#15814).
1177
1178 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1179
1180 * iswitchb.el (iswitchb-mode): Mark obsolete.
1181
1182 2013-11-11 Glenn Morris <rgm@gnu.org>
1183
1184 * international/uni-bidi.el, international/uni-category.el:
1185 * international/uni-name.el, international/uni-numeric.el:
1186 Regenerate for Unicode 6.3.0.
1187
1188 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1189
1190 * net/tramp.el (tramp-methods):
1191 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1192 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1193
1194 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1195
1196 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1197 Force highlighting text after Summary keyword in doc face for rpm.
1198
1199 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1200
1201 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1202 available and the word has no wildcards, append one to the grep pattern.
1203 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1204 (ispell-complete-word): Call `ispell-lookup-words' with the value
1205 independent of `ispell-look-p'.
1206
1207 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1208
1209 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1210 Not after "||".
1211 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1212 their parent.
1213
1214 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1215
1216 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1217 (ruby-font-lock-keywords): Use backquote.
1218
1219 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1220
1221 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1222 (ruby-smie--backward-token): Only consider full-string matches.
1223
1224 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1225
1226 * faces.el (describe-face): Add distant-foreground.
1227
1228 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1229
1230 * progmodes/ruby-mode.el: Improve encoding comment handling.
1231 (ruby-encoding-magic-comment-style): New option.
1232 (ruby-custom-encoding-magic-comment-template): New option.
1233 (ruby--insert-coding-comment, ruby--detect-encoding):
1234 New functions extracted from `ruby-mode-set-encoding'.
1235 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1236 to control the style of the auto-inserted encoding comment.
1237
1238 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1239
1240 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1241 Use `smie-backward-sexp' with token argument.
1242
1243 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1244
1245 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1246 Remove instrumentation code.
1247
1248 2013-11-08 Glenn Morris <rgm@gnu.org>
1249
1250 * progmodes/autoconf.el (autoconf-mode):
1251 Tweak comment-start-skip. (Bug#15822)
1252
1253 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1254
1255 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1256 at bobp (bug#15826).
1257 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1258
1259 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1260
1261 * man.el (Man-start-calling): New macro, extracted from
1262 Man-getpage-in-background.
1263 (Man-getpage-in-background): Use it.
1264 (Man-update-manpage): New command.
1265 (Man-mode-map): Bind it.
1266
1267 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1268
1269 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1270 of "and", "or", "&&" and "||".
1271 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1272 argument. Prohibit opening curly brace because it could only be a
1273 block opener in that position.
1274 (ruby-smie--forward-token, ruby-smie--backward-token):
1275 Separate "|" from "&" or "*" going after it. That can happen in block
1276 arguments.
1277 (ruby-smie--indent-to-stmt): New function, seeks the end of
1278 previous statement or beginning of buffer.
1279 (ruby-smie-rules): Use it.
1280 (ruby-smie-rules): Check if there's a ":" before a curly block
1281 opener candidate; if there is, it's a hash.
1282
1283 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1284
1285 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1286 (cl--block-wrapper): Fix last accidental change.
1287
1288 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1289
1290 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1291 Instrument, in order to hunt failure on hydra.
1292
1293 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1294
1295 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1296 malformed bindings form (bug#15814).
1297
1298 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1299
1300 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1301 "." compared to " @ ". This incidentally fixes some indentation
1302 examples with "do".
1303 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1304 (ruby-smie-grammar): New tokens: "and" and "or".
1305 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1306 Exclude "and" and "or". Remove "do" in order to work around token
1307 priorities.
1308 (ruby-smie-rules): Add all infix tokens. Handle the case of
1309 beginning-of-buffer.
1310
1311 2013-11-06 Glenn Morris <rgm@gnu.org>
1312
1313 * Makefile.in (setwins_almost, setwins_for_subdirs):
1314 Avoid accidental matches.
1315
1316 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1317
1318 * menu-bar.el (popup-menu): Use key-binding.
1319
1320 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1321
1322 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1323 menus, support also the menus produced by minor modes.
1324 (Bug#15817)
1325
1326 2013-11-06 Leo Liu <sdl.web@gmail.com>
1327
1328 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1329 DISTANCE to bound the search. All uses changed. (Bug#15808)
1330
1331 2013-11-06 Glenn Morris <rgm@gnu.org>
1332
1333 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1334 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1335 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1336
1337 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1338
1339 * electric.el (electric-indent-just-newline): New command.
1340 (electric-indent-mode-map): New keymap.
1341 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1342 Re-add :group which weren't redundant.
1343
1344 * electric.el (electric-indent-local-mode): New minor mode.
1345 (electric-indent-functions-without-reindent): New var.
1346 (electric-indent-post-self-insert-function): Use it.
1347 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1348
1349 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1350
1351 * international/quail.el (quail-help): Be more explicit about the
1352 meaning of the labels shown on the keys. (Bug#15800)
1353
1354 * startup.el (normal-top-level): Load the subdirs.el files before
1355 setting the locale environment. (Bug#15805)
1356
1357 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1358
1359 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1360 via arguments so as to get the right ones (bug#15418).
1361
1362 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1363
1364 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1365
1366 Fix problems found while writing a test suite.
1367
1368 * net/tramp-compat.el (tramp-compat-load): New defun.
1369 * net/tramp.el (tramp-handle-load): Use it.
1370
1371 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1372 "(numberp ok-if-already-exists)" correctly.
1373
1374 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1375
1376 * international/characters.el (glyphless-char-display-control):
1377 Add usage note.
1378
1379 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1380
1381 * progmodes/python.el (python-mode):
1382 * progmodes/scheme.el (scheme-mode):
1383 * progmodes/prolog.el (prolog-mode):
1384 * progmodes/ruby-mode.el (ruby-mode):
1385 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1386 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1387
1388 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1389
1390 * rect.el (rectangle--highlight-for-redisplay):
1391 * emacs-lisp/smie.el (smie--next-indent-change):
1392 Use buffer-chars-modified-tick.
1393
1394 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1395
1396 * electric.el (electric-indent-post-self-insert-function):
1397 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1398
1399 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1400
1401 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1402
1403 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1404
1405 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1406 (bug#15786).
1407
1408 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1409
1410 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1411
1412 * progmodes/python.el: Fix up last change.
1413 (python-shell--save-temp-file): New function.
1414 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1415 `string' comes from the current buffer.
1416 (python-shell-send-string-no-output): Remove `msg' arg.
1417 (python--use-fake-loc): New var.
1418 (python-shell-buffer-substring): Obey it. Try to compensate for the
1419 extra coding line added by python-shell--save-temp-file.
1420 (python-shell-send-region): Use python-shell--save-temp-file and
1421 python-shell-send-file directly. Add `nomain' argument.
1422 (python-shell-send-buffer): Use python-shell-send-region.
1423 (python-electric-pair-string-delimiter): New function.
1424 (python-mode): Use it.
1425
1426 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1427
1428 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1429 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1430 environment and decoding all of the default-directory's to here
1431 from command-line.
1432 (command-line): Decode also argv[0].
1433
1434 * loadup.el: Error out if default-directory is a multibyte string
1435 when we are dumping.
1436
1437 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1438
1439 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1440
1441 * emacs-lisp/package.el (package-menu-mode)
1442 (package-menu--print-info, package-menu--archive-predicate):
1443 Add Archive column to package list.
1444
1445 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1446
1447 Fix problems found while writing a test suite.
1448
1449 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1450 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1451 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1452 to nil when running original file name handler. Otherwise,
1453 there are problems with constructs like "$$FOO".
1454
1455 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1456 for `localname'.
1457
1458 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1459
1460 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1461
1462 * subr.el (version<, version<=, version=):
1463 Update docstrings with information for snapshot versions.
1464
1465 * helpers.el: New library for misc helper functions.
1466 (hash-table-keys): New function returning a list of hash keys.
1467 (hash-table-values): New function returning a list of hash values.
1468
1469 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1470
1471 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1472 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1473
1474 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1475
1476 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1477 checking whether point is after a 1-letter word.
1478
1479 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1480
1481 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1482 Don't infloop when expanding region over `multiline' syntax-type that
1483 begins a line (bug#15778).
1484
1485 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1486
1487 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1488 Make it into a proper minor mode.
1489 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1490 (rectangle-mark-mode-map): New keymap.
1491 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1492
1493 2013-11-04 Glenn Morris <rgm@gnu.org>
1494
1495 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1496
1497 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1498
1499 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1500 (ruby-smie-rules): Use smie-rule-parent instead.
1501
1502 * emacs-lisp/smie.el (smie-rule-parent): Always call
1503 smie-indent-virtual rather than only for hanging tokens.
1504 (smie--next-indent-change): New helper command.
1505
1506 2013-11-03 Glenn Morris <rgm@gnu.org>
1507
1508 * Makefile.in (abs_srcdir): Remove.
1509 (emacs): Unset EMACSLOADPATH.
1510
1511 2013-11-02 Glenn Morris <rgm@gnu.org>
1512
1513 * Makefile.in (EMACS): Use a relative filename.
1514 (abs_top_builddir): Remove.
1515 (custom-deps, finder-data, autoloads): Use --chdir.
1516
1517 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1518
1519 Use relative filenames in TAGS files.
1520 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1521 (lisptagsfiles4, TAGS): Use relative file names.
1522 (TAGS-LISP): Remove.
1523 (maintainer-clean): No more TAGS-LISP file.
1524
1525 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1526 (lisptagsfiles4): Use absolute filenames again.
1527 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1528 Remove all *loaddefs files, not just the first. Remove esh-groups.
1529 (maintainer-clean): Delete TAGS, TAGS-LISP.
1530
1531 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1532
1533 * emacs-lisp/package.el (package-version-join):
1534 Recognize snapshot versions.
1535
1536 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1537
1538 * subr.el (version-regexp-alist): Add support for snapshot versions.
1539
1540 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1541
1542 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1543 New function, replacement for `smie-rule-parent' for when we want to
1544 skip over our direct parent if it's an assignment token..
1545 (ruby-smie-rules): Use it.
1546
1547 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1548
1549 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1550 unconditionally. Remove now unnecessary forward declarations.
1551 Remove XEmacs-specific setup.
1552 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1553 (ruby-font-lock-syntactic-keywords)
1554 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1555 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1556 (ruby-here-doc-end-syntax): Remove.
1557 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1558 defined as function.
1559
1560 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1561
1562 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1563
1564 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1565
1566 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1567 table and abbrev table, `define-derived-mode' does that for us
1568 anyway.
1569
1570 2013-11-01 Glenn Morris <rgm@gnu.org>
1571
1572 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1573 files is atomic for some time, so no parallel compilation issues).
1574
1575 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1576
1577 * faces.el (face-x-resources): Add :distant-foreground.
1578 (region): Use :distant-foreground for gtk and ns.
1579
1580 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1581
1582 Allow multiple bibliographies when BibLaTeX is used rather than
1583 BibTeX.
1584 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1585 (reftex-locate-bibliography-files): Us it.
1586
1587 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1588
1589 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1590 allow comments in pbm files.
1591
1592 * term/w32-win.el (dynamic-library-alist): Support newer versions
1593 of libjpeg starting with v7: look only for the DLL from the
1594 version against which Emacs was built.
1595 Support versions of libpng beyond 1.4.x.
1596 Support libtiff v4.x.
1597
1598 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1599
1600 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1601 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1602 Add property :safe.
1603 (ruby-deep-arglist): Add property :type.
1604
1605 2013-10-31 Glenn Morris <rgm@gnu.org>
1606
1607 * Makefile.in (custom-deps, finder-data): No need to setq the target
1608 variables, we are in the right directory and the defaults work fine.
1609
1610 2013-10-30 Glenn Morris <rgm@gnu.org>
1611
1612 * Makefile.in (autoloads): Do not use abs_lisp.
1613
1614 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1615 `newline' does not respect `standard-output', so use `princ'.
1616
1617 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1618
1619 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1620 * buff-menu.el (Buffer-menu--unmark): New function.
1621 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1622
1623 2013-10-30 Glenn Morris <rgm@gnu.org>
1624
1625 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1626
1627 * emacs-lisp/package.el (lm-homepage): Declare.
1628
1629 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1630 Fix doc typos.
1631
1632 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1633
1634 * Makefile.in (finder-data, autoloads, update-subdirs)
1635 (compile-main, compile-clean, compile-always, bootstrap-clean):
1636 Check return value of cd.
1637 (compile-calc): Remove.
1638
1639 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1640
1641 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1642
1643 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1644 (byte-compile-and-folded): New function.
1645 (=, <, >, <=, >=): Use it.
1646
1647 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1648 (path-separator, null-device, buffer-file-coding-system)
1649 (lpr-headers-switches): Check system-type before modifying them.
1650 (find-buffer-file-type-coding-system): Mark obsolete.
1651 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1652 find-file-not-found-set-buffer-file-coding-system.
1653 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1654 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1655 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1656 (w32-direct-print-region-helper, w32-direct-print-region-function)
1657 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1658 * startup.el (normal-top-level-add-subdirs-to-load-path):
1659 * ps-print.el (ps-print-region-function):
1660 * lpr.el (print-region-function): Use new name.
1661
1662 * subr.el (custom-declare-variable-early): Remove function.
1663 (custom-declare-variable-list): Remove var.
1664 (error, user-error): Remove `while' loop.
1665 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1666 (user-emacs-directory-warning, locate-user-emacs-file):
1667 Move to files.el.
1668 * simple.el (read-quoted-char-radix, read-quoted-char):
1669 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1670 Move from subr.el.
1671 * custom.el (custom-declare-variable-list): Don't process
1672 custom-declare-variable-list.
1673
1674 * progmodes/python.el (python-shell-get-buffer): New function.
1675 (python-shell-get-process): Use it.
1676 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1677 Python which encoding was used. Don't split-string since we only care
1678 about the first line. Return the temp-file, if applicable.
1679 (python-shell-send-region): Tell compile.el how to turn locations in
1680 the temp-file into locations in the source buffer.
1681
1682 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1683
1684 * subr.el (undefined): Add missing behavior from the C code for
1685 unbound keys.
1686
1687 * rect.el: Use lexical-binding. Add new rectangular region support.
1688 (rectangle-mark): New command.
1689 (rectangle--region): New var.
1690 (deactivate-mark-hook): Reset rectangle--region.
1691 (rectangle--extract-region, rectangle--insert-for-yank)
1692 (rectangle--highlight-for-redisplay)
1693 (rectangle--unhighlight-for-redisplay): New functions.
1694 (region-extract-function, redisplay-unhighlight-region-function)
1695 (redisplay-highlight-region-function): Use them to handle
1696 rectangular region.
1697 * simple.el (region-extract-function): New var.
1698 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1699 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1700 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1701 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1702 (redisplay-unhighlight-region-function)
1703 (redisplay-highlight-region-function): New vars.
1704 (redisplay--update-region-highlight): New function.
1705 (pre-redisplay-function): Use it.
1706 (exchange-point-and-mark): Don't deactivate the mark before
1707 reactivate-it anyway.
1708 * comint.el (comint-kill-region): Remove yank-handler argument.
1709 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1710 (delete-char): Remove property, since it's now part of their
1711 default behavior.
1712 (self-insert-iso): Remove property since this command doesn't exist.
1713
1714 * emacs-lisp/package.el (package--download-one-archive)
1715 (describe-package-1): Don't query the user about final newline.
1716
1717 2013-10-29 Daniel Colascione <dancol@dancol.org>
1718
1719 * net/tramp.el (tramp-methods): Document new functionality.
1720 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1721 tramp-hostname-checker if method provides one instead of scanning
1722 argument list for "%h" to decide hostname acceptability.
1723
1724 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1725
1726 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1727 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1728 Handle COPY-CONTENTS. (Bug#15737)
1729
1730 2013-10-28 Daiki Ueno <ueno@gnu.org>
1731
1732 * epa-file.el
1733 (epa-file-cache-passphrase-for-symmetric-encryption):
1734 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1735
1736 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1737
1738 * image.el (defimage):
1739 (image-load-path): Doc fixes.
1740
1741 2013-10-27 Alan Mackenzie <acm@muc.de>
1742
1743 Indent statements in macros following "##" correctly.
1744 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1745 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1746
1747 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1748
1749 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1750
1751 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1752
1753 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1754 after `=' is probably a new expression.
1755
1756 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1757
1758 * man.el (man-imenu-title): New option.
1759 (Man-mode-map): Add menu. (Bug#15722)
1760 (Man-mode): Add imenu to menu.
1761
1762 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1763
1764 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1765 specific in what the first arg can be: a non-keyword word,
1766 string/regexp/percent literal opener, opening paren, or unary
1767 operator followed directly by word.
1768
1769 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1770
1771 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1772 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1773 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1774 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1775 Remove vars, they do not apply any more.
1776 (prolog-mode-abbrev-table): Remove redundant declaration.
1777 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1778 (prolog-use-smie): Remove.
1779 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1780 supported by prolog-electric-if-then-else-flag.
1781 (prolog-mode-variables, prolog-menu): Use setq-local.
1782 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1783 Remove binding to `Backspace' since this key doesn't exist anyway.
1784 Remove bindings for electric self-inserting keys.
1785 (prog-mode): Assume it's defined.
1786 (prolog-post-self-insert): New function.
1787 (prolog-mode): Use it.
1788 (prolog-indent-line, prolog-indent-level)
1789 (prolog-find-indent-of-matching-paren)
1790 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1791 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1792 (prolog-goto-next-paren, prolog-in-string-or-comment)
1793 (prolog-tokenize, prolog-inside-mline-comment)
1794 (prolog-find-start-of-mline-comment): Remove functions.
1795 (prolog-find-unmatched-paren, prolog-clause-end)
1796 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1797 (prolog-electric--if-then-else): Rename from
1798 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1799 (prolog-tokenize-searchkey): Remove const.
1800 (prolog-clause-info): Use forward-sexp.
1801 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1802 (prolog-electric-if-then-else): Remove commands.
1803 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1804 for use in post-self-insert-hook.
1805 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1806 for use in post-self-insert-hook.
1807 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1808 for use in post-self-insert-hook.
1809 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1810 adapt it for use in post-self-insert-hook.
1811
1812 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1813
1814 * emacs-lisp/ert.el (ert-run-tests-interactively):
1815 Use `completing-read'. (Bug#9756)
1816
1817 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1818
1819 * simple.el (line-move): Call line-move-1 instead of
1820 line-move-visual when the current window hscroll is zero, but
1821 temporary-goal-column indicates we will need to hscroll as result
1822 of the movement. (Bug#15712)
1823
1824 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1825
1826 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1827 capitalization. Use :visible instead of :active.
1828 Fix `ruby-indent-exp' reference. Add menu items for the generic
1829 commands that are used with SMIE.
1830 (ruby-do-end-to-brace): Insert space after `{'.
1831
1832 2013-10-25 John Anthony <john@jo.hnanthony.com>
1833
1834 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1835
1836 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1837
1838 2013-10-25 Glenn Morris <rgm@gnu.org>
1839
1840 * vc/vc.el (vc-print-log): Don't use a working revision unless
1841 one was explicitly specified. (Bug#15322)
1842
1843 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1844
1845 * subr.el (add-to-list): Preserve return value in compiler-macro
1846 (bug#15692).
1847
1848 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1849
1850 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1851 result. Ask user to retry using '-all' flag. (Bug#15701)
1852
1853 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1854
1855 * emacs-lisp/smie.el: New smie-config system.
1856 (smie-config): New defcustom.
1857 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1858 (smie-config-guess, smie-config-save): New commands.
1859 (smie-config--mode-local, smie-config--buffer-local)
1860 (smie-config--trace, smie-config--modefuns): New vars.
1861 (smie-config--advice, smie-config--mode-hook)
1862 (smie-config--setter, smie-config-local, smie-config--get-trace)
1863 (smie-config--guess-value, smie-config--guess): New functions.
1864 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1865 text properties. Treat "string fence" syntax like string syntax.
1866
1867 * progmodes/sh-script.el (sh-use-smie): Change default.
1868 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1869 (sh-var-value): Simplify by CSE.
1870 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1871 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1872 is used.
1873 (sh-guess-basic-offset): Use cl-incf.
1874 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1875
1876 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1877
1878 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1879 (bug#15699).
1880
1881 2013-10-24 Glenn Morris <rgm@gnu.org>
1882
1883 * Makefile.in (abs_top_srcdir): Remove.
1884 (update-subdirs): Use relative path to update-subdirs.
1885
1886 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1887
1888 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1889 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1890 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1891 Call unmsys--file-name before expand-file-name, not after it.
1892
1893 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1894
1895 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1896 (ert-test-skipped): New error.
1897 (ert-skip, ert-stats-skipped): New defuns.
1898 (ert--skip-unless): New macro.
1899 (ert-test-skipped): New struct.
1900 (ert--run-test-debugger, ert-test-result-type-p)
1901 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1902 (ert--stats-set-test-and-result, ert-char-for-test-result)
1903 (ert-string-for-test-result, ert-run-tests-batch)
1904 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1905 Handle skipped tests. (Bug#9803)
1906
1907 2013-10-24 Glenn Morris <rgm@gnu.org>
1908
1909 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1910
1911 * Makefile.in (abs_top_srcdir): New, set by configure.
1912 (update-subdirs): Correct build-aux location.
1913
1914 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1915
1916 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1917 value, whether we could auto-deduce `backend', or not.
1918
1919 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1920 with parameters" example. Simplify the "is it block or is it
1921 hash" check, but also make it more thorough.
1922
1923 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1924
1925 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1926
1927 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1928
1929 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1930 { if it is hanging.
1931
1932 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1933 :before ";".
1934
1935 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1936
1937 * progmodes/compile.el (compilation-directory-matcher)
1938 (compilation-page-delimiter):
1939 Support GNU Make-4.0 directory quoting. (Bug#15678)
1940
1941 2013-10-23 Leo Liu <sdl.web@gmail.com>
1942
1943 * ido.el (ido-tidy): Handle read-only text.
1944
1945 2013-10-23 Glenn Morris <rgm@gnu.org>
1946
1947 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1948 (emacs, compile, compile-always):
1949 Quote entities that might contain whitespace.
1950 (custom-deps, finder-data, autoloads): Use abs_lisp.
1951 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1952 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1953 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1954
1955 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1956
1957 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1958 Use `following-char'.
1959
1960 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1961
1962 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1963 * progmodes/ruby-mode.el (ruby-smie-rules):
1964 Remove corresponding workaround. Fix indentation rule of ";" so it
1965 also applies when ";" is the parent.
1966
1967 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1968
1969 * frame.el (display-screens, display-pixel-height)
1970 (display-pixel-width, display-mm-width, display-backing-store)
1971 (display-save-under, display-planes, display-color-cells)
1972 (display-visual-class, display-monitor-attributes-list):
1973 Mention the optional ‘display’ argument in doc strings.
1974
1975 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1976
1977 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1978 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1979
1980 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1981
1982 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1983 TODO. Add "." after " @ ".
1984 (ruby-smie--at-dot-call): New function. Checks if point at method
1985 call with explicit target.
1986 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1987 to the method name tokens when it precedes them.
1988 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1989 (ruby-smie-rules): Add rule for indentation before and after "."
1990 token.
1991
1992 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1993
1994 * textmodes/remember.el (remember-diary-extract-entries):
1995 Avoid add-to-list.
1996
1997 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1998 an instruction.
1999
2000 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2001
2002 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2003 (ruby-smie--implicit-semi-p): Add new operator chars.
2004
2005 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2006 `smie-down-list'.
2007 (ruby-smie--args-separator-p): Check that there's no newline
2008 between method call and its arguments.
2009
2010 2013-10-20 Alan Mackenzie <acm@muc.de>
2011
2012 Allow comma separated lists after Java "implements".
2013
2014 * progmodes/cc-engine.el (c-backward-over-enum-header):
2015 Parse commas.
2016 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2017 from a "disallowed" list in enum fontification.
2018
2019 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2020
2021 * startup.el (default-frame-background-mode): Remove unused defvar.
2022
2023 * progmodes/verilog-mode.el (verilog-mode): Don't set
2024 comment-indent-function globally.
2025
2026 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2027
2028 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2029 Move Info menu item creation to ns-win.el.
2030
2031 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2032 in menu bar.
2033
2034 * menu-bar.el: Move GNUStep specific menus...
2035
2036 * term/ns-win.el (ns-initialize-window-system): ... to here.
2037
2038 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2039
2040 * simple.el (newline): Only run post-self-insert-hook when
2041 called interactively.
2042
2043 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2044
2045 * icomplete.el (icomplete-with-completion-tables): Add :version.
2046
2047 2013-10-19 Alan Mackenzie <acm@muc.de>
2048
2049 Fix fontification bugs with constructors and const.
2050
2051 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2052 CASE 2) Remove the check for the absence of a suffix construct
2053 after a function declaration with only types (no identifiers) in
2054 the parentheses. Also, accept a function declaration with just a
2055 type inside the parentheses, if this type can be positively
2056 recognised as such, or if a prefix keyword like "explicit" nails
2057 down the construct as a declaration.
2058
2059 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2060
2061 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2062 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2063 the problem whereby selecting a menu item that leads to a
2064 minibuffer prompt moves the cursor out of the minibuffer window,
2065 making it hard to type at the prompt. Suggested by Stefan Monnier
2066 <monnier@iro.umontreal.ca>.
2067
2068 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2069
2070 * menu-bar.el: Don't make Services menu.
2071
2072 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2073
2074 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2075 (ffap-alist): Use ffap-c++-mode for c++-mode.
2076 (ffap-c++-path): New variable.
2077 (ffap-c++-mode): New function.
2078
2079 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2080
2081 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2082
2083 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2084
2085 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2086 introduced on 2013-09-08, which results in an infinite loop
2087 requesting a password.
2088
2089 2013-10-18 Glenn Morris <rgm@gnu.org>
2090
2091 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2092
2093 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2094
2095 Sync with upstream verilog-mode revision 1a6ecec7.
2096 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2097 (verilog-mode-release-date): Remove.
2098 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2099 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2100 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2101 (verilog-auto-tieoff-ignore-regexp)
2102 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2103 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2104 (verilog-signals-with, verilog-dir-cache-preserving)
2105 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2106 Doc fixes.
2107 (verilog-case-fold): New option, to control case folding in
2108 regexp searches, bug597.
2109 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2110 (verilog-string-match-fold, verilog-in-paren-count)
2111 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2112 (verilog-at-close-struct-p): New functions.
2113 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2114 (verilog-forward-sexp, verilog-set-auto-endcomments):
2115 (verilog-leap-to-case-head): Handle "unique0" case.
2116 (verilog-in-constraint-re): New constant.
2117 (verilog-keywords, verilog-type-font-keywords):
2118 Add some SystemVerilog 1800-2012 keywords.
2119 (verilog-label-be): Remove unimplemented argument, bug669.
2120 (verilog-batch-execute-func): When batch expanding clear
2121 create-lockfiles to prevent spurious user locks when a file ends
2122 up not changing.
2123 (verilog-calculate-indent, verilog-calc-1)
2124 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2125 (verilog-do-indent): Fix indentation of nested constraints
2126 and structures.
2127 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2128 (verilog-auto-inst-param): Use verilog-string-match-fold.
2129 (verilog-read-inst-module-matcher):
2130 Fix AUTOINST on gate primitives with #1.
2131 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2132 Reads all user-defined typed variables.
2133 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2134 (verilog-signals-matching-regexp)
2135 (verilog-signals-not-matching-regexp, verilog-auto):
2136 Respect verilog-case-fold.
2137 (verilog-diff-report): Fix line count.
2138 (verilog-auto-assign-modport): Remove unused local `modi'.
2139 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2140 better handle multidimensional arrays.
2141 Fix packed array ports misadding bit index in AUTOINST, bug637.
2142 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2143 to not double-declare existing outputs and inputs, respectively.
2144 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2145 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2146 (verilog-sk-uvm-component): New skeleton.
2147 (verilog-submit-bug-report): Add verilog-case-fold,
2148 remove verilog-mode-release-date.
2149
2150 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2151
2152 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2153 as before.
2154
2155 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2156
2157 * textmodes/remember.el (remember): set buffer-offer-save in
2158 remember buffers (bug#13566).
2159
2160 2013-10-18 Daniel Colascione <dancol@dancol.org>
2161
2162 When evaluating forms in ielm, direct standard output to ielm
2163 buffer. Add new ielm-return-for-effect command. Remove trailing
2164 whitespace throughout.
2165
2166 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2167 (ielm-return-for-effect): New command.
2168 (ielm-send-input): Accept optional `for-effect' parameter.
2169 (ielm-eval-input): Accept optional `for-effect' parameter.
2170 Bind `standard-output' to stream we create using
2171 `ielm-standard-output-impl'. Suppress printing result when
2172 `for-effect'.
2173 (ielm-standard-output-impl): New function.
2174 (inferior-emacs-lisp-mode): Explain new features in documentation.
2175
2176 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2177
2178 Code cleanup.
2179
2180 * net/tramp.el (tramp-debug-message): Do not check for connection
2181 buffer.
2182 (tramp-message): Use "vector" connection property.
2183
2184 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2185 (tramp-equal-remote, tramp-eshell-directory-change)
2186 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2187 (tramp-adb-handle-rename-file)
2188 * net/tramp-cmds.el (tramp-list-remote-buffers)
2189 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2190 * net/tramp-compat.el (tramp-compat-process-running-p)
2191 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2192 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2193 (tramp-gvfs-handle-rename-file)
2194 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2195 (tramp-set-file-uid-gid)
2196 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2197 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2198 of `file-remote-p'.
2199
2200 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2201 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2202 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2203 (tramp-gw-open-network-stream): Suppress unrelated traces.
2204
2205 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2206 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2207 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2208 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2209 connection property.
2210
2211 * net/tramp-cache.el (top): Suppress traces when reading
2212 persistency file.
2213
2214 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2215 Refactor common code. Improve debug message.
2216 (tramp-maybe-open-connection)
2217 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2218 connection buffer too early.
2219
2220 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2221 from `tramp-smb-actions-with-acl'.
2222 (tramp-smb-actions-set-acl): New defconst.
2223 (tramp-smb-handle-copy-directory)
2224 (tramp-smb-action-get-acl): New defun, renamed from
2225 `tramp-smb-action-with-acl'.
2226 (tramp-smb-action-set-acl): New defun.
2227 (tramp-smb-handle-set-file-acl): Rewrite.
2228
2229 2013-10-17 Glenn Morris <rgm@gnu.org>
2230
2231 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2232
2233 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2234
2235 * skeleton.el (skeleton-newline): Remove.
2236 (skeleton-internal-1): Use (insert "\n") instead.
2237
2238 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2239 let-bindings.
2240
2241 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2242 forward-sexp-function while we redo its job (bug#15613).
2243
2244 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2245
2246 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2247 represented by lists.
2248
2249 2013-10-16 Glenn Morris <rgm@gnu.org>
2250
2251 * tmm.el (tmm--history): New dynamic variable.
2252 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2253
2254 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2255
2256 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2257 (tramp-smb-errors): Add error messages.
2258 (tramp-smb-actions-with-acl): New defconst.
2259 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2260 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2261 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2262 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2263 (tramp-smb-get-stat-capability): Fix tests.
2264
2265 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2266
2267 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2268 (bug#15580).
2269
2270 2013-10-16 Glenn Morris <rgm@gnu.org>
2271
2272 * ansi-color.el (ansi-color-drop-regexp):
2273 Add 1J, 1K, 2K. (Bug#15617)
2274
2275 * files.el (hack-local-variables--warned-lexical): New.
2276 (hack-local-variables):
2277 Warn about misplaced lexical-binding. (Bug#15616)
2278
2279 * net/eww.el (eww-render): Always set eww-current-url,
2280 and update header line. (Bug#15622)
2281 (eww-display-html): ... Rather than just doing it here.
2282
2283 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2284
2285 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2286 menu navigations commands.
2287
2288 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2289
2290 * progmodes/subword.el (subword-capitalize): Be careful when
2291 the search for [[:alpha:]] fails (bug#15580).
2292
2293 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2294
2295 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2296 to commands that scroll the menu.
2297
2298 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2299
2300 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2301 Handle methods ending with `?' and `!'.
2302
2303 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2304
2305 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2306 `japanese-cp932' to `cp932' to fix the problem where saving a
2307 source file written in Shift_JIS twice would end up having
2308 `coding: japanese-cp932' which Ruby could not recognize.
2309 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2310 in `ruby-encoding-map'.
2311 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2312 doesn't need to be explicitly declared in magic comment.
2313 (ruby-encoding-map): Add type declaration for better customize UI.
2314
2315 2013-10-13 Glenn Morris <rgm@gnu.org>
2316
2317 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2318 Occur buffers are read-only. http://bugs.debian.org/720775
2319
2320 * emacs-lisp/authors.el (authors-fixed-entries):
2321 Comment out old alpha stuff.
2322
2323 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2324
2325 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2326 to `after-save-hook' instead of `before-save-hook'.
2327 (ruby-mode-set-encoding): Use the value of coding system used to
2328 write the file. Call `basic-save-buffer-1' after modifying the
2329 buffer.
2330
2331 2013-10-13 Alan Mackenzie <acm@muc.de>
2332
2333 Fix indentation/fontification of Java enum with
2334 "implements"/generic.
2335
2336 * progmodes/cc-engine.el (c-backward-over-enum-header):
2337 Extracted from the three other places and enhanced to handle generics.
2338 (c-inside-bracelist-p): Uses new function above.
2339 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2340 function above.
2341 (c-font-lock-enum-tail): Uses new function above.
2342
2343 2013-10-13 Kenichi Handa <handa@gnu.org>
2344
2345 * international/mule-cmds.el (select-safe-coding-system): Remove a
2346 superfluous condition in chekcing whether a coding system is safe
2347 or not.
2348
2349 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2350
2351 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2352
2353 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2354
2355 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2356
2357 2013-10-13 Glenn Morris <rgm@gnu.org>
2358
2359 * menu-bar.el (menu-bar-update-buffers):
2360 Unify Buffers menu prompt string. (Bug#15576)
2361
2362 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2363
2364 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2365 Add some entries.
2366 (authors-fixed-entries): Use accented form of name.
2367
2368 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2369
2370 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2371 method calls (bug#15594).
2372 (ruby-smie--args-separator-p): New function.
2373 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2374 recognize paren-free method calls.
2375
2376 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2377 internals of universal-argument.
2378
2379 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2380
2381 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2382 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2383 dropped menu on second mouse click on the menu bar.
2384
2385 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2386
2387 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2388 (explicit-shell-file-name): Declare.
2389 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2390 (sh-completion-at-point-function): New function.
2391 (sh-mode): Use it.
2392 (sh-smie--keyword-p): Remove unused argument.
2393 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2394 vars.
2395 (sh-set-shell): Always setup SMIE, even if we use the
2396 old indentation code.
2397
2398 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2399
2400 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2401 cases of ? and =.
2402 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2403 predicate would return nil are almost non-existent.
2404 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2405
2406 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2407 cache also after commands that modify the buffer but don't move
2408 point.
2409
2410 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2411
2412 * env.el (substitute-env-in-file-name): New function.
2413 (substitute-env-vars): Extend the meaning of the optional arg.
2414
2415 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2416
2417 * term/w32-win.el (dynamic-library-alist): Define separate lists
2418 of GIF DLLs for versions before and after 5.0.0 of giflib.
2419 (Bug#15531)
2420
2421 2013-10-10 João Távora <joaotavora@gmail.com>
2422
2423 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2424 not locked, use last revision and current source as
2425 defaults. (Bug#15569)
2426
2427 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2428
2429 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2430 menu-bar is hidden.
2431
2432 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2433
2434 * window.el (pop-to-buffer-same-window): Fix doc-string.
2435 (Bug#15492)
2436
2437 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2438
2439 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2440
2441 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2442
2443 * calendar/icalendar.el (icalendar-import-file):
2444 Fix interactive spec. (Bug#15482)
2445
2446 2013-10-10 Glenn Morris <rgm@gnu.org>
2447
2448 * desktop.el (desktop-save): Default to saving in .emacs.d,
2449 since PWD is no longer in desktop-path by default. (Bug#15319)
2450
2451 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2452 now that text mode has a menu with the same entry.
2453 (menu-bar-text-mode-auto-fill): Remove now unused func.
2454 * textmodes/text-mode.el (text-mode-map):
2455 Use auto-fill help text from menu-bar.el.
2456
2457 2013-10-10 John Anthony <john@jo.hnanthony.com>
2458
2459 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2460
2461 2013-10-09 Juri Linkov <juri@jurta.org>
2462
2463 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2464 instead of this-command-keys. Add universal-argument-more and
2465 universal-argument-minus to the list of prefix commands. (Bug#15568)
2466
2467 2013-10-09 Glenn Morris <rgm@gnu.org>
2468
2469 * vc/vc-svn.el (vc-svn-create-repo):
2470 Expand paths in file://... url. (Bug#15446)
2471
2472 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2473 Add some entries.
2474 (authors): Remove unused local variables.
2475
2476 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2477
2478 * profiler.el: Create a more coherent calltree from partial backtraces.
2479 (profiler-format): Hide the tail with `invisible' so that C-s can still
2480 find the hidden elements.
2481 (profiler-calltree-depth): Don't recurse so enthusiastically.
2482 (profiler-function-equal): New hash-table-test.
2483 (profiler-calltree-build-unified): New function.
2484 (profiler-calltree-build): Use it.
2485 (profiler-report-make-name-part): Indent the calltree less.
2486 (profiler-report-mode): Add visibility specs for profiler-format.
2487 (profiler-report-expand-entry, profiler-report-toggle-entry):
2488 Expand the whole subtree when provided with a prefix arg.
2489
2490 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2491
2492 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2493 iuwu-mod token.
2494 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2495 hanging iuwu-mod token.
2496 (ruby-smie--forward-token): Do not include a dot after a token in
2497 that token.
2498 (ruby-smie--backward-token): Likewise.
2499
2500 2013-10-08 Juri Linkov <juri@jurta.org>
2501
2502 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2503 to isearch-other-control-char.
2504 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2505 and isearch-post-command-hook to post-command-hook.
2506 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2507 and isearch-post-command-hook from post-command-hook.
2508 (isearch-unread-key-sequence)
2509 (isearch-reread-key-sequence-naturally)
2510 (isearch-lookup-scroll-key, isearch-other-control-char)
2511 (isearch-other-meta-char): Remove functions.
2512 (isearch-pre-command-hook, isearch-post-command-hook):
2513 New functions based on isearch-other-meta-char rewritten
2514 relying on the new behavior of overriding-terminal-local-map
2515 that does not replace the local keymaps any more. (Bug#15200)
2516
2517 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2518
2519 Support menus on text-mode terminals.
2520 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2521 functionality.
2522
2523 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2524
2525 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2526 Move here from mouse.el.
2527 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2528 and arrow keys.
2529 (tty-menu-navigation-map): New map for TTY menu navigation.
2530
2531 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2532
2533 * frame.el (display-mouse-p): Report text-mode mouse as available
2534 on w32.
2535 (display-popup-menus-p): Report availability if mouse is
2536 available; don't condition on window-system.
2537
2538 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2539 (tty-menu-selected-face): New faces.
2540
2541 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2542
2543 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2544 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2545 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2546 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2547 New constants.
2548 (lisp-mode-variables): New `elisp' argument.
2549 (emacs-lisp-mode): Use it.
2550 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2551 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2552
2553 * indent.el: Use lexical-binding.
2554 (indent-region): Add progress reporter.
2555 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2556 last step.
2557 (indent--next-tab-stop): New function to implement this behavior.
2558 (tab-to-tab-stop, move-to-tab-stop): Use it.
2559
2560 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2561
2562 * indent.el (indent-rigidly--current-indentation): New function.
2563 (indent-rigidly-map): New var.
2564 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2565
2566 2013-10-08 Bastien Guerry <bzg@gnu.org>
2567
2568 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2569
2570 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2571
2572 * progmodes/perl-mode.el: Use lexical-binding.
2573 Remove redundant :group args.
2574 (perl-nochange): Change default to be closer to other major modes's
2575 standard behavior.
2576 (perl-indent-line): Don't consider text on current line as a
2577 valid beginning of function from which to indent.
2578
2579 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2580 with more than one argument (bug#15538).
2581
2582 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2583
2584 * vc/pcvs.el: Use lexical-binding.
2585 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2586 environment of `eval'.
2587 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2588 than a list of expressions. Adjust callers.
2589 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2590
2591 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2592
2593 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2594 case of the dot in a chained method call being on the following line.
2595
2596 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2597
2598 * electric.el (electric-indent-inhibit): New var.
2599 (electric-indent-post-self-insert-function): Use it.
2600 * progmodes/python.el (python-mode): Set it.
2601
2602 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2603 open braces.
2604
2605 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2606
2607 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2608 (css-mode): Use electric-indent-chars.
2609
2610 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2611 (font-lock-beg, font-lock-end): Move before first use.
2612 (nxml-mode): Use syntax-propertize-function.
2613 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2614 (nxml-extend-after-change-region): Remove.
2615 * nxml/xmltok.el: Use lexical-binding.
2616 (xmltok-save): Use `declare'.
2617 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2618 * nxml/nxml-util.el: Use lexical-binding.
2619 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2620 Use `declare'.
2621 * nxml/nxml-ns.el: Use lexical-binding.
2622 (nxml-ns-save): Use `declare'.
2623 (nxml-ns-prefixes-for): Avoid add-to-list.
2624 * nxml/rng-match.el: Use lexical-binding.
2625 (rng--ipattern): Use cl-defstruct.
2626 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2627 (rng-cons-group-after, rng-subst-group-after)
2628 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2629 Use closures instead of `(lambda...).
2630
2631 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2632
2633 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2634 of BEG and END.
2635
2636 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2637 Use `tramp-handle-insert-file-contents'.
2638 (tramp-gvfs-handle-insert-file-contents): Remove function.
2639
2640 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2641 Use `save-restriction' in order to keep markers.
2642
2643 * net/trampver.el: Update release number.
2644
2645 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2646
2647 * progmodes/compile.el (compilation-parse-errors):
2648 Use compilation--put-prop.
2649 (compilation--ensure-parse): Check compilation-multiline.
2650
2651 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2652
2653 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2654 lexical-binding.
2655
2656 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2657
2658 * progmodes/ruby-mode.el: Fix recently added tests.
2659 (ruby-smie-grammar): Add - and +.
2660 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2661 (ruby-smie--backward-id): New functions.
2662 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2663 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2664 any more.
2665
2666 2013-10-07 Leo Liu <sdl.web@gmail.com>
2667
2668 * register.el (register-preview-delay)
2669 (register-preview-functions): New variables.
2670 (register-read-with-preview, register-preview)
2671 (register-describe-oneline): New functions.
2672 (point-to-register, window-configuration-to-register)
2673 (frame-configuration-to-register, jump-to-register)
2674 (number-to-register, view-register, insert-register)
2675 (copy-to-register, append-to-register, prepend-to-register)
2676 (copy-rectangle-to-register): Use register-read-with-preview to
2677 read register. (Bug#15525)
2678
2679 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2680
2681 * net/network-stream.el (network-stream-open-starttls): Don't add
2682 --insecure if it's already present, because that gnutls-cli
2683 rejects getting that parameter twice.
2684
2685 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2686
2687 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2688 keyword, too.
2689
2690 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2691
2692 * newcomment.el (comment-use-global-state): Change default value
2693 to t, mark obsolete (Bug#15251).
2694 (comment-beginning): In addition to `comment-to-syntax', check the
2695 value of `comment-use-global-state'.
2696
2697 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2698
2699 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2700 (ruby-comment-column): Follow the global default, by default.
2701 (ruby-smie-grammar): Add assignment syntax.
2702 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2703 open-paren, a comma, or a \.
2704 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2705 and line continuations.
2706 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2707 followed by implicit semi-colons. Add rule for string concatenation
2708 and for indentation at BOB.
2709 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2710
2711 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2712 calling next-sexp, since next-token may have skipped chars which
2713 next-sexp doesn't know should be skipped!
2714
2715 2013-10-05 Leo Liu <sdl.web@gmail.com>
2716
2717 * progmodes/octave.el (octave-send-region):
2718 Call compilation-forget-errors.
2719
2720 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2721
2722 * vc/vc-svn.el (vc-svn-find-admin-dir):
2723 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2724 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2725 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2726 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2727
2728 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2729
2730 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2731
2732 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2733
2734 * subr.el (read-passwd): Hide chars even when called within a context
2735 where after-change-functions is disabled (bug#15501).
2736 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2737 until we removed ourself from overriding-terminal-local-map.
2738
2739 2013-10-04 Leo Liu <sdl.web@gmail.com>
2740
2741 * progmodes/octave.el (inferior-octave-mode):
2742 Call compilation-forget-errors.
2743
2744 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2745
2746 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2747
2748 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2749
2750 * net/secrets.el (secrets-create-collection): Add optional
2751 argument ALIAS. Use proper Label keyword. Append ALIAS as
2752 dbus-call-method argument. (Bug#15516)
2753
2754 2013-10-04 Leo Liu <sdl.web@gmail.com>
2755
2756 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2757 (inferior-octave-compilation-font-lock-keywords): New variables.
2758 (compilation-error-regexp-alist)
2759 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2760 (inferior-octave-mode): Use compilation-shell-minor-mode.
2761
2762 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2763
2764 * minibuffer.el (completion--replace): Be careful that `end' might be
2765 a marker.
2766
2767 2013-10-03 Daiki Ueno <ueno@gnu.org>
2768
2769 Add support for package signature checking.
2770 * emacs-lisp/package.el (url-http-file-exists-p)
2771 (epg-make-context, epg-context-set-home-directory)
2772 (epg-verify-string, epg-context-result-for)
2773 (epg-signature-status, epg-signature-to-string)
2774 (epg-check-configuration, epg-configuration)
2775 (epg-import-keys-from-file): Declare.
2776 (package-check-signature): New user option.
2777 (package-unsigned-archives): New user option.
2778 (package-desc): Add `signed' field.
2779 (package-load-descriptor): Set `signed' field if .signed file exists.
2780 (package--archive-file-exists-p): New function.
2781 (package--check-signature): New function.
2782 (package-install-from-archive): Check package signature.
2783 (package--download-one-archive): Check archive signature.
2784 (package-delete): Remove .signed file.
2785 (package-import-keyring): New command.
2786 (package-refresh-contents): Import default keyring.
2787 (package-desc-status): Add "unsigned" status.
2788 (describe-package-1, package-menu--print-info)
2789 (package-menu-mark-delete, package-menu--find-upgrades)
2790 (package-menu--status-predicate): Support "unsigned" status.
2791
2792 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2793
2794 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2795 the new compilation scheme using the new byte-codes.
2796
2797 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2798 (byte-pophandler): New byte codes.
2799 (byte-goto-ops): Adjust accordingly.
2800 (byte-compile--use-old-handlers): New var.
2801 (byte-compile-catch): Use new byte codes depending on
2802 byte-compile--use-old-handlers.
2803 (byte-compile-condition-case--old): Rename from
2804 byte-compile-condition-case.
2805 (byte-compile-condition-case--new): New function.
2806 (byte-compile-condition-case): New function that dispatches depending
2807 on byte-compile--use-old-handlers.
2808 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2809 when we can.
2810
2811 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2812 Optimize under `condition-case' and `catch' if
2813 byte-compile--use-old-handlers is nil.
2814 (disassemble-offset): Handle new bytecodes.
2815
2816 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2817
2818 * subr.el (error): Use `declare'.
2819 (decode-char, encode-char): Use advertised-calling-convention instead
2820 of the docstring to discourage use of the `restriction' arg.
2821
2822 2013-10-03 Daiki Ueno <ueno@gnu.org>
2823
2824 * epg.el (epg-verify-file): Add a comment saying that it does not
2825 notify verification error as a return value nor a signal.
2826 (epg-verify-string): Ditto.
2827
2828 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2829
2830 * progmodes/compile.el (compilation-start): Try globbing the arg to
2831 `cd' (bug#15417).
2832
2833 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2834
2835 Sync with Tramp 2.2.8.
2836
2837 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2838 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2839 * net/trampver.el: Update release number.
2840
2841 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2842
2843 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2844 and default-process-coding-system for darwin only.
2845
2846 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2847
2848 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2849
2850 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2851
2852 * vc/vc-git.el (vc-git-grep): Disable pager.
2853
2854 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2855
2856 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2857 Use :url instead of :homepage, as per
2858 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2859
2860 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2861 non-nil, use `syntax-ppss' (Bug#15251).
2862
2863 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2864
2865 * progmodes/octave.el (inferior-octave-startup-file):
2866 Prefer ~/.emacs.d/init_octave.m.
2867
2868 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2869
2870 * emacs-lisp/package.el (package-desc-from-define):
2871 Accept additional arguments as plist, convert them to an alist and store
2872 them in the `extras' slot.
2873 (package-generate-description-file): Convert extras alist back to
2874 plist and append to the `define-package' form arguments.
2875 (package--alist-to-plist): New function.
2876 (package--ac-desc): Add `extras' slot.
2877 (package--add-to-archive-contents): Check if the archive-contents
2878 vector is long enough, and if it is, pass its `extras' slot value
2879 to `package-desc-create'.
2880 (package-buffer-info): Call `lm-homepage', pass the returned value
2881 to `package-desc-from-define'.
2882 (describe-package-1): Render the homepage button (Bug#13291).
2883
2884 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2885 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2886
2887 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2888
2889 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2890 and default-process-coding-system to utf-8-unix (Bug#15402).
2891
2892 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2893
2894 * subr.el (looking-back): Do not recommend using looking-back.
2895
2896 2013-09-28 Alan Mackenzie <acm@muc.de>
2897
2898 Fix indentation/fontification of Java enum with "implements".
2899
2900 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2901 regexp which matches "implements", etc., in Java.
2902 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2903 specifier clauses coming after "enum".
2904 * progmodes/cc-fonts.el (c-font-lock-declarations)
2905 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2906 after "enum".
2907
2908 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2909
2910 * faces.el (region): Change ns_selection_color to
2911 ns_selection_fg_color, add ns_selection_bg_color.
2912
2913 2013-09-28 Leo Liu <sdl.web@gmail.com>
2914
2915 * progmodes/octave.el (inferior-octave-completion-table)
2916 (inferior-octave-completion-at-point): Minor tweaks.
2917
2918 * textmodes/ispell.el (ispell-lookup-words): Rename from
2919 lookup-words. (Bug#15460)
2920 (lookup-words): Obsolete.
2921 (ispell-complete-word, ispell-command-loop): All uses changed.
2922
2923 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2924
2925 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2926 (octave-mode-menu): Add octave-send-buffer.
2927 (octave-send-buffer): New function.
2928
2929 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2930
2931 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2932 octave-lookfor.
2933 (octave-mode-menu): Add octave-lookfor.
2934 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2935 octave-lookfor.
2936 (octave-lookfor): New function.
2937
2938 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2939
2940 * emacs-lisp/cl-macs.el:
2941 (cl--loop-destr-temps): Remove.
2942 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2943 its convention.
2944 (cl--loop-set-iterator-function): New function.
2945 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2946 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2947 Bind `it' with `let' instead of substituting it with `cl-subst'.
2948 (cl--unused-var-p): New function.
2949 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2950 Eliminate some unused variable warnings (bug#15326).
2951
2952 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2953
2954 * doc-view.el (doc-view-scale-reset): Rename from
2955 `doc-view-reset-zoom-level'.
2956 (doc-view-scale-adjust): New command.
2957 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2958 `doc-view-scale-adjust'.
2959
2960 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2961
2962 * doc-view.el (doc-view-reset-zoom-level): New command.
2963 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2964 zoom commands (bug#15466).
2965
2966 2013-09-26 Kenichi Handa <handa@gnu.org>
2967
2968 * international/quail.el (quail-help): Make it not a command.
2969
2970 2013-09-26 Leo Liu <sdl.web@gmail.com>
2971
2972 * minibuffer.el (completion-all-sorted-completions): Make args
2973 optional as they are.
2974
2975 2013-09-25 Daniel Colascione <dancol@dancol.org>
2976
2977 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2978 specs are and that they're not evaluated.
2979
2980 2013-09-24 Sam Steingold <sds@gnu.org>
2981
2982 * midnight.el (clean-buffer-list-kill-regexps)
2983 (clean-buffer-list-kill-buffer-names): Update for the new Man
2984 buffer naming which includes the object name.
2985
2986 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2987
2988 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2989 (eshell-parse-command, eshell-parse-pipeline): Use it since
2990 eshell-separate-commands requires a dynamic scoped var.
2991 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2992
2993 2013-09-23 Leo Liu <sdl.web@gmail.com>
2994
2995 * autoinsert.el (auto-insert-alist): Make the value of
2996 lexical-binding match its file setting.
2997
2998 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2999
3000 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3001
3002 * autoarg.el (autoarg-kp-digit-argument):
3003 * electric.el (Electric-command-loop):
3004 * kmacro.el (kmacro-step-edit-insert):
3005 Do not set universal-argument-num-events.
3006
3007 2013-09-22 Leo Liu <sdl.web@gmail.com>
3008
3009 * files.el (interpreter-mode-alist): Add octave.
3010
3011 2013-09-21 Alan Mackenzie <acm@muc.de>
3012
3013 C++: fontify identifier in declaration following "public:" correctly.
3014 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3015 to match "public", etc.
3016 (c-decl-prefix-re): Add ":" into the C++ value.
3017 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3018 bit. Add a check for a ":" preceded by "public", etc.
3019
3020 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3021
3022 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3023 recognized by GDB 7.5 and later.
3024
3025 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3026
3027 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3028
3029 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3030
3031 * subr.el (internal--call-interactively): New const.
3032 (called-interactively-p): Use it (bug#3984).
3033
3034 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3035
3036 * vc/pcvs.el (cvs-mode-ignore):
3037 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3038 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3039
3040 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3041
3042 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3043 (eshell-ls-orig-insert-directory): Remove.
3044 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3045 (eshell-ls-use-in-dired): Use advice-add/remove.
3046 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3047 Add `orig-fun' arg for use in :around advice.
3048 Make it check (redundantly) eshell-ls-use-in-dired.
3049
3050 2013-09-19 Glenn Morris <rgm@gnu.org>
3051
3052 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3053
3054 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3055
3056 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3057
3058 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3059
3060 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3061 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3062 (tramp-get-remote-python): New defuns.
3063 (tramp-get-remote-uid-with-perl)
3064 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3065 contributed by yary <not.com@gmail.com> (tiny change).
3066 (tramp-get-remote-uid-with-python)
3067 (tramp-get-remote-gid-with-python): New defuns. Python code
3068 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3069 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3070
3071 2013-09-19 Glenn Morris <rgm@gnu.org>
3072
3073 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3074
3075 * eshell/em-unix.el (eshell-remove-entries):
3076 Rename argument to avoid name-clash with global `top-level'.
3077
3078 * eshell/esh-proc.el (eshell-kill-process-function):
3079 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3080 (eshell-reset-after-proc): Remove unused arg `proc'.
3081
3082 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3083 (directory-files-and-attributes): Mark unused arg.
3084
3085 * eshell/em-unix.el (eshell-remove-entries):
3086 Remove unused arg `path'. Update callers.
3087
3088 * eshell/em-hist.el (eshell-hist-parse-arguments):
3089 Remove unused arg `silent'. Update callers.
3090
3091 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3092 Fix (f)boundp mix-up.
3093
3094 * eshell/em-smart.el (eshell-smart-scroll-window)
3095 (eshell-disable-after-change):
3096 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3097
3098 2013-09-18 Alan Mackenzie <acm@muc.de>
3099
3100 Fix fontification of type when followed by "const".
3101 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3102 "known" types from fontification.
3103
3104 2013-09-18 Glenn Morris <rgm@gnu.org>
3105
3106 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3107 (chart-face-list): Drop Emacsen without display-color-p.
3108
3109 * net/eww.el (libxml-parse-html-region): Declare.
3110 (eww-display-html): Explicit error if no libxml2 support.
3111
3112 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3113
3114 * image.el (image-type-from-buffer, image-multi-frame-p):
3115 Remove --without-x warning/error.
3116
3117 * mouse.el (mouse-yank-primary):
3118 * term.el (term-mouse-paste):
3119 Reorder to silence --without-x compilation.
3120
3121 * mpc.el (doc-view-mode): Silence --without-x compilation.
3122
3123 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3124 Silence --without-x compilation.
3125
3126 * progmodes/gud.el (gud-find-file, gud-mode):
3127 Silence --without-x compilation.
3128 (tooltip-mode): Declare.
3129
3130 * wdired.el (dired-backup-overwrite): Remove declaration.
3131 (wdired-mode-map): Add doc string.
3132
3133 * custom.el (x-get-resource): Declare.
3134
3135 * eshell/em-glob.el (ange-cache):
3136 * eshell/em-unix.el (ange-cache): Declare.
3137
3138 * faces.el (x-display-list, x-open-connection, x-get-resource):
3139 Declare.
3140
3141 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3142 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3143 Declare.
3144
3145 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3146
3147 * net/gnutls.el (gnutls-log-level): Declare.
3148
3149 * net/shr.el (image-size, image-animate): Declare.
3150
3151 * simple.el (font-info): Declare.
3152
3153 * subr.el (x-popup-dialog): Declare.
3154
3155 * term/common-win.el (x-select-enable-primary)
3156 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3157 Declare.
3158
3159 * term/ns-win.el (x-handle-args): Declare.
3160
3161 * term/x-win.el (x-select-enable-clipboard): Declare.
3162
3163 * term/w32-win.el (create-default-fontset): Declare.
3164
3165 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3166 Declare.
3167
3168 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3169 (fit-frame-to-buffer): Explicit error if --without-x.
3170 (mouse-autoselect-window-select): Silence compiler.
3171
3172 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3173
3174 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3175 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3176 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3177 * eshell/esh-util.el (eshell-sublist):
3178 Remove unused local variables.
3179
3180 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3181
3182 * textmodes/two-column.el: Make 2C-split work for --without-x.
3183 (scroll-bar-columns): Autoload.
3184 (top-level): Require fringe when compiling.
3185
3186 2013-09-18 Leo Liu <sdl.web@gmail.com>
3187
3188 * subr.el (add-hook): Robustify to handle closure as well.
3189
3190 2013-09-17 Glenn Morris <rgm@gnu.org>
3191
3192 * simple.el (messages-buffer-mode-map): Unbind "g".
3193
3194 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3195
3196 * help-mode.el (help-mode-finish): Use derived-mode-p.
3197 Remove obsolete highlighting.
3198
3199 * play/life.el (life-mode): Use define-derived-mode. Derive from
3200 special-mode.
3201 (life): Let-bind inhibit-read-only.
3202 (life-setup): Avoid `setq'. Use `life-mode'.
3203
3204 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3205 which should not be needed any more.
3206 (package-menu-refresh, package-menu-describe-package): Use user-error.
3207
3208 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3209 (eshell-post-rewrite-command-hook): Make obsolete.
3210 (eshell-parse-command): Simplify.
3211 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3212 (eshell--cmd): Declare.
3213 (eshell-parse-pipeline): Remove unused var `final-p'.
3214 Pass a dynvar to eshell-post-rewrite-command-hook.
3215 Implement the new eshell-post-rewrite-command-function.
3216 (eshell-invoke-directly): Remove unused arg `input'.
3217 * eshell/esh-io.el (eshell-io-initialize):
3218 Use eshell-post-rewrite-command-function (bug#15399).
3219 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3220 adjust to new calling convention.
3221 (eshell-create-handles): Rename args to avoid clashing with dynvar
3222 `standard-output'.
3223
3224 2013-09-17 Glenn Morris <rgm@gnu.org>
3225
3226 * simple.el (messages-buffer-mode): New major mode.
3227 (messages-buffer): New function.
3228 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3229 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3230 (ert-run-test): Use `messages-buffer' function.
3231 (ert--force-message-log-buffer-truncation): Ignore read-only.
3232 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3233 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3234
3235 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3236
3237 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3238
3239 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3240
3241 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3242
3243 * icomplete.el (icomplete-in-buffer): New var.
3244 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3245 vars and replace them with functions.
3246 (icomplete-minibuffer-setup): Adjust accordingly.
3247 (icomplete--completion-table, icomplete--completion-predicate)
3248 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3249 New functions.
3250 (icomplete-forward-completions, icomplete-backward-completions)
3251 (icomplete-simple-completing-p, icomplete-exhibit)
3252 (icomplete-completions): Use them.
3253 (icomplete--in-region-buffer): New var.
3254 (icomplete--in-region-setup): New function.
3255 (icomplete-mode): Use it.
3256
3257 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3258 (bug#15379).
3259 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3260 return args and options.
3261 (eshell-eval-using-options): Use the new return value of
3262 eshell--do-opts to set the options's vars in their scope.
3263 (eshell--set-option): Rename from eshell-set-option.
3264 Add arg `opt-vals'.
3265 (eshell--process-option): Rename from eshell-process-option.
3266 Add arg `opt-vals'.
3267 (eshell--process-args): Use an `opt-vals' alist to store the options's
3268 values during their processing and return them additionally to the
3269 remaining args.
3270
3271 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3272
3273 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3274 continuation character an operator, as far as indentation is
3275 concerned (Bug#15369).
3276
3277 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3278
3279 * window.el (window--state-put-2): Don't process buffer state
3280 when buffer doesn't exist any more (Bug#15382).
3281
3282 2013-09-15 Glenn Morris <rgm@gnu.org>
3283
3284 * eshell/em-unix.el (eshell/rm):
3285 Make -f ignore missing files. (Bug#15373)
3286
3287 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3288 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3289 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3290
3291 2013-09-14 Glenn Morris <rgm@gnu.org>
3292
3293 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3294
3295 2013-09-13 Glenn Morris <rgm@gnu.org>
3296
3297 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3298 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3299
3300 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3301
3302 * frame.el (x-focus-frame): Mark as declared in frame.c.
3303
3304 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3305
3306 * ls-lisp.el: Use advice-add.
3307 (original-insert-directory): Remove.
3308 (ls-lisp--insert-directory): Rename from insert-directory; add
3309 `orig-fun' argument.
3310 (insert-directory): Advise.
3311
3312 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3313
3314 * term.el (term-emulate-terminal): Decode the command string
3315 before passing it to term-command-hook. (Bug#15337)
3316
3317 2013-09-13 Glenn Morris <rgm@gnu.org>
3318
3319 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3320
3321 * eshell/esh-ext.el (eshell-search-path): Declare.
3322
3323 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3324 Otherwise an error occurs if eshell-dirs module not loaded.
3325
3326 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3327
3328 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3329
3330 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3331 `tramp-check-proper-host'. Check for a valid method name.
3332
3333 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3334 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3335 * net/tramp-sh.el (tramp-maybe-open-connection):
3336 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3337
3338 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3339 also for hash values.
3340
3341 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3342
3343 * term/ns-win.el (parameters): Don't declare as dynamic.
3344 (before-make-frame-hook): Don't add ineffective function.
3345
3346 * eshell/*.el: Use lexical-binding (bug#15231).
3347
3348 2013-09-12 Kenichi Handa <handa@gnu.org>
3349
3350 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3351
3352 2013-09-12 Glenn Morris <rgm@gnu.org>
3353
3354 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3355 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3356
3357 * subr.el (do-after-load-evaluation): Also give compiler warnings
3358 when obsolete files are used (except by obsolete files).
3359
3360 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3361 in the status output, assume `filename' is the first. (Bug#15322)
3362
3363 * vc/vc.el (vc-deduce-fileset): Doc fix.
3364
3365 * calc/calc-help.el (Info-goto-node):
3366 * progmodes/cperl-mode.el (Info-find-node):
3367 * vc/ediff.el (Info-goto-node): Update declarations.
3368
3369 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3370
3371 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3372 (vc-bzr-pull): Require vc-dispatcher.
3373 * vc/vc-git.el (vc-compilation-mode): Declare.
3374 (vc-git-pull): Require vc-dispatcher.
3375
3376 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3377
3378 * progmodes/octave.el (help-button-action): Declare.
3379
3380 * shell.el (shell-directory-tracker): Output error as a message
3381 rather than just returning it as a string.
3382 (shell-process-pushd): Remove useless use of message.
3383
3384 * dframe.el (dframe-timer-fn):
3385 * files.el (dir-locals-read-from-file):
3386 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3387 (mpc-format):
3388 * reveal.el (reveal-post-command):
3389 * saveplace.el (load-save-place-alist-from-file):
3390 * shell.el (shell-resync-dirs):
3391 * w32-common-fns.el (x-get-selection-value):
3392 * emacs-lisp/copyright.el (copyright-find-copyright):
3393 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3394 * emulation/tpu-edt.el (tpu-copy-keyfile):
3395 * play/bubbles.el (bubbles--mark-neighbourhood):
3396 * progmodes/executable.el
3397 (executable-make-buffer-file-executable-if-script-p):
3398 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3399
3400 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3401
3402 Cleanup Eshell to rely less on dynamic scoping.
3403 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3404 last-value, and ext-command here. Bind `args' closer to `body'.
3405 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3406 (eshell--args): Declare new dynamic var.
3407 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3408 last-value, and ext-command. Pass `args' to `body'.
3409 (eshell-process-args): Bind eshell--args.
3410 (eshell-set-option): Use eshell--args.
3411 * eshell/eshell.el (eshell): Use derived-mode-p.
3412 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3413 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3414 (eshell-glob-function): Declare.
3415 * eshell/esh-util.el: Require cl-lib.
3416 (eshell-read-hosts-file): Avoid add-to-list.
3417 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3418 `err'.
3419 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3420 Declare.
3421 (eshell/diff): Remove unused var `err'.
3422 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3423 `killflag'.
3424 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3425 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3426 first use.
3427 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3428 Move declaration before first use.
3429 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3430 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3431 rely on cl-return.
3432
3433 2013-09-12 Glenn Morris <rgm@gnu.org>
3434
3435 * term/ns-win.el (global-map): Remove binding for ispell-next,
3436 deleted 1999-05-29. (Bug#15357)
3437
3438 2013-09-11 Glenn Morris <rgm@gnu.org>
3439
3440 * echistory.el (electric-command-history): Remove call to deleted func.
3441
3442 * play/landmark.el (landmark-mode): Fix typos.
3443
3444 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3445 Check cvs-sort-ignore-file is bound.
3446
3447 * savehist.el: No need for cl when compiling on Emacs.
3448
3449 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3450
3451 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3452 (bug#15338).
3453 (eshell-self-insert-command, eshell-send-invisible):
3454 Remove unused argument.
3455 (eshell-handle-control-codes): Remove unused var `orig'.
3456 Avoid delete-backward-char.
3457
3458 * files.el (set-auto-mode): Simplify a bit further.
3459
3460 2013-09-11 Glenn Morris <rgm@gnu.org>
3461
3462 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3463 (set-auto-mode): Don't regexp-quote elements.
3464 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3465 * progmodes/cc-mode.el (interpreter-mode-alist):
3466 * progmodes/ruby-mode.el (interpreter-mode-alist):
3467 Revert previous change.
3468
3469 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3470
3471 * play/snake.el (snake-mode):
3472 * play/mpuz.el (mpuz-mode):
3473 * play/landmark.el (lm-mode):
3474 * play/blackbox.el (blackbox-mode):
3475 * play/5x5.el (5x5-mode):
3476 * obsolete/options.el (Edit-options-mode):
3477 * net/quickurl.el (quickurl-list-mode):
3478 * net/newst-treeview.el (newsticker-treeview-mode):
3479 * mail/rmailsum.el (rmail-summary-mode):
3480 * mail/mspools.el (mspools-mode):
3481 * locate.el (locate-mode):
3482 * ibuffer.el (ibuffer-mode):
3483 * emulation/ws-mode.el (wordstar-mode):
3484 * emacs-lisp/debug.el (debugger-mode):
3485 * array.el (array-mode):
3486 * net/eudc.el (eudc-mode): Use define-derived-mode.
3487 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3488 Move initialization into declaration.
3489 (mairix-searches-mode): Use define-derived-mode.
3490 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3491 (eudc-edit-hotlist): Use dolist.
3492 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3493 (Man-mode): Use define-derived-mode.
3494 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3495 (Info-edit-mode): Use define-derived-mode.
3496 (Info-cease-edit): Use Info-mode.
3497 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3498 into declaration.
3499 (eshell-mode): Use define-derived-mode.
3500 * chistory.el (command-history-mode-map): Rename from
3501 command-history-map.
3502 (command-history-mode): Use define-derived-mode.
3503 (Command-history-setup): Remove function.
3504 * calc/calc.el (calc-trail-mode-map): New var.
3505 (calc-trail-mode): Use define-derived-mode.
3506 (calc-trail-buffer): Set calc-main-buffer manually.
3507 * bookmark.el (bookmark-insert-annotation): New function.
3508 (bookmark-edit-annotation): Use it.
3509 (bookmark-edit-annotation-mode): Make it a proper major mode.
3510 (bookmark-send-edited-annotation): Use derived-mode-p.
3511 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3512 closer to its ideal place. Use \' to match EOS.
3513
3514 * profiler.el (profiler-calltree-find): Use function-equal.
3515
3516 2013-09-10 Glenn Morris <rgm@gnu.org>
3517
3518 * files.el (interpreter-mode-alist): Convert to regexps.
3519 (set-auto-mode): Adapt for this. (Bug#15306)
3520 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3521 Comment out unused variable.
3522 * progmodes/cc-mode.el (interpreter-mode-alist):
3523 * progmodes/python.el (interpreter-mode-alist):
3524 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3525 * progmodes/sh-script.el (sh-set-shell):
3526 No longer use interpreter-mode-alist to get list of shells.
3527
3528 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3529
3530 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3531
3532 * simple.el: Use set-temporary-overlay-map for universal-argument.
3533 (universal-argument-map): Don't use default-bindings (bug#15317).
3534 Bind switch-frame explicitly. Replace universal-argument-minus with
3535 a conditional binding.
3536 (universal-argument-num-events, saved-overriding-map): Remove.
3537 (restore-overriding-map): Remove.
3538 (universal-argument--mode): Rename from save&set-overriding-map,
3539 and rewrite.
3540 (universal-argument, universal-argument-more, negative-argument)
3541 (digit-argument): Adjust accordingly.
3542 (universal-argument-minus): Remove.
3543 (universal-argument-other-key): Remove.
3544
3545 * subr.el (with-demoted-errors): Add `format' argument.
3546
3547 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3548
3549 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3550 `tramp-cleanup-connection'.
3551
3552 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3553 parameters KEEP-DEBUG and KEEP-PASSWORD.
3554
3555 * net/tramp.el (tramp-file-name-handler):
3556 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3557 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3558 (tramp-maybe-open-connection):
3559 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3560 Use `tramp-cleanup-connection'.
3561
3562 * net/tramp-sh.el (tramp-maybe-open-connection):
3563 Catch 'uname-changed inside the progress reporter.
3564
3565 2013-09-10 Glenn Morris <rgm@gnu.org>
3566
3567 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3568
3569 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3570 returns "alternate access method" in mode (eg "-rw-r--r--.").
3571
3572 2013-09-08 Glenn Morris <rgm@gnu.org>
3573
3574 * saveplace.el (load-save-place-alist-from-file):
3575 Demote errors. (Bug#15305)
3576
3577 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3578
3579 Improve compatibility with older Emacsen, and XEmacs.
3580
3581 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3582 only if it is bound. It isn't for XEmacs.
3583 (with-tramp-progress-reporter): Do not let-bind `result'.
3584 This yields to scoping errors in XEmacs.
3585 (tramp-handle-make-auto-save-file-name): New function, moved from
3586 tramp-sh.el.
3587
3588 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3589 for `make-auto-save-file-name'.
3590 (tramp-adb--gnu-switches-to-ash):
3591 Use `tramp-compat-replace-regexp-in-string'.
3592
3593 * net/tramp-cache.el (tramp-cache-print): Call
3594 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3595
3596 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3597 bound. It isn't for XEmacs.
3598
3599 * net/tramp-compat.el (tramp-compat-copy-file):
3600 Catch `wrong-number-of-arguments' error.
3601 (tramp-compat-replace-regexp-in-string): New defun.
3602
3603 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3604 for `make-auto-save-file-name'.
3605 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3606 `copy-file'.
3607 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3608 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3609 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3610
3611 * net/tramp-gw.el (tramp-gw-open-network-stream):
3612 Use `tramp-compat-replace-regexp-in-string'.
3613
3614 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3615 Call `tramp-handle-make-auto-save-file-name'.
3616 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3617 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3618 (tramp-sh-file-inotifywait-process-filter):
3619 Use `tramp-compat-replace-regexp-in-string'.
3620 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3621
3622 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3623 for `make-auto-save-file-name'.
3624 (tramp-smb-handle-copy-directory):
3625 Call `tramp-compat-replace-regexp-in-string'.
3626 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3627 (tramp-smb-handle-copy-file): Improve error message.
3628 (tramp-smb-handle-rename-file): Rename directly only in case
3629 `newname' does not exist yet. This is a restriction of smbclient.
3630 (tramp-smb-maybe-open-connection): Rerun the function only when
3631 `auth-sources' is non-nil.
3632
3633 2013-09-08 Kenichi Handa <handa@gnu.org>
3634
3635 * international/characters.el: Set category "^" (Combining) for
3636 more characters.
3637
3638 2013-09-07 Alan Mackenzie <acm@muc.de>
3639
3640 Correctly fontify Java class constructors.
3641 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3642 in Java Mode.
3643 (c-recognize-typeless-decls): Set the Java value to t.
3644 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3645 While handling a "(", add a check for, effectively, Java, and handle a
3646 "typeless" declaration there.
3647
3648 2013-09-07 Roland Winkler <winkler@gnu.org>
3649
3650 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3651 field subtitle for entry type book.
3652
3653 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3654
3655 * minibuffer.el: Make minibuffer-complete call completion-in-region
3656 rather than other way around.
3657 (completion--some, completion-pcm--find-all-completions):
3658 Don't delay signals when debugging.
3659 (minibuffer-completion-contents): Beware fields within the
3660 minibuffer contents.
3661 (completion-all-sorted-completions): Use defvar-local.
3662 (completion--do-completion, completion--cache-all-sorted-completions)
3663 (completion-all-sorted-completions, minibuffer-force-complete):
3664 Add args `beg' and `end'.
3665 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3666 (minibuffer-complete): Use completion-in-region.
3667 (completion-complete-and-exit): New fun, extracted from
3668 minibuffer-complete-and-exit.
3669 (minibuffer-complete-and-exit): Use it.
3670 (completion--complete-and-exit): Rename from
3671 minibuffer--complete-and-exit.
3672 (completion-in-region--single-word): New function, extracted from
3673 minibuffer-complete-word.
3674 (minibuffer-complete-word): Use it.
3675 (display-completion-list): Make `common-substring' argument obsolete.
3676 (completion--in-region): Call completion--in-region-1 instead of
3677 minibuffer-complete.
3678 (completion-help-at-point): Pass boundaries to
3679 minibuffer-completion-help as args rather than via an overlay.
3680 (completion-pcm--string->pattern): Use `any-delim'.
3681 (completion-pcm--optimize-pattern): New function.
3682 (completion-pcm--pattern->regex): Handle `any-delim'.
3683 * icomplete.el (icomplete-forward-completions)
3684 (icomplete-backward-completions, icomplete-completions):
3685 Adjust calls to completion-all-sorted-completions and
3686 completion--cache-all-sorted-completions.
3687 (icomplete-with-completion-tables): Default to t.
3688 * emacs-lisp/crm.el (crm--current-element): Rename from
3689 crm--select-current-element. Don't put an overlay but return the
3690 boundaries instead.
3691 (crm--completion-command): Take two new args to bind to the boundaries.
3692 (crm-completion-help): Adjust accordingly.
3693 (crm-complete): Use completion-in-region.
3694 (crm-complete-word): Use completion-in-region--single-word.
3695 (crm-complete-and-exit): Use completion-complete-and-exit.
3696
3697 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3698
3699 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3700 than dynamically.
3701
3702 2013-09-06 Juri Linkov <juri@jurta.org>
3703
3704 * info.el (Info-display-images-node): When image file doesn't exist
3705 display text version of the image if it's provided in the Info file.
3706 Otherwise, display the location of missing image from SRC attribute.
3707 Add help-echo text property from ALT attribute. (Bug#15279)
3708
3709 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3710
3711 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3712 (edit-abbrevs-mode): Use define-derived-mode.
3713
3714 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3715 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3716 that it's defined.
3717 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3718 Use define-derived-mode.
3719
3720 * epg.el (epg-start-encrypt): Minor CSE simplification.
3721
3722 2013-09-06 William Xu <william.xwl@gmail.com>
3723
3724 * arc-mode.el: Add support for 7za (bug#15264).
3725 (archive-7z-program): New var.
3726 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3727 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3728 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3729
3730 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3731
3732 Remove URL syntax.
3733
3734 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3735 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3736 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3737 (tramp-postfix-host-format, tramp-file-name-regexp)
3738 (tramp-completion-file-name-regexp)
3739 (tramp-completion-dissect-file-name)
3740 (tramp-handle-substitute-in-file-name): Remove 'url case.
3741 (tramp-file-name-regexp-url)
3742 (tramp-completion-file-name-regexp-url): Remove constants.
3743
3744 2013-09-06 Glenn Morris <rgm@gnu.org>
3745
3746 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3747
3748 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3749
3750 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3751 keywords" below "here-doc beginnings" (Bug#15270).
3752
3753 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3754
3755 * subr.el (pop): Use `car-safe'.
3756 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3757 to detect unused `pop' return value.
3758
3759 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3760 var `block-regexp'.
3761 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3762 (python-fill-string): Remove unused var `marker'.
3763 (python-skeleton-add-menu-items): Remove unused var `items'.
3764
3765 * international/mule-cmds.el: Require CL.
3766 (find-coding-systems-for-charsets): Avoid add-to-list.
3767 (sanitize-coding-system-list): New function, extracted from
3768 select-safe-coding-system-interactively.
3769 (select-safe-coding-system-interactively): Use it.
3770 (read-input-method-name): Accept symbols for `default'.
3771
3772 * emacs-lisp/advice.el (defadvice): Add indent rule.
3773
3774 2013-09-05 Daniel Hackney <dan@haxney.org>
3775
3776 * dired-x.el:
3777 * net/ange-ftp.el:
3778 * net/browse-url.el:
3779 * net/dbus.el:
3780 * net/eudc.el:
3781 * net/eudcb-ldap.el:
3782 * net/eww.el:
3783 * net/imap.el:
3784 * printing.el:
3785 * vc/ediff-diff.el:
3786 * vc/ediff-init.el:
3787 * vc/ediff-merg.el:
3788 * vc/ediff-mult.el:
3789 * vc/ediff-util.el:
3790 * vc/ediff-wind.el:
3791 * vc/ediff.el:
3792 * vc/emerge.el:
3793 * vc/pcvs.el:
3794 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3795 byte compiler. Remove some unused let-bound variables.
3796
3797 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3798
3799 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3800 a "ref-cell", since it gets better optimized (bug#14883).
3801
3802 2013-09-05 Glenn Morris <rgm@gnu.org>
3803
3804 * progmodes/cc-awk.el (c-forward-sws): Declare.
3805
3806 2013-09-04 Glenn Morris <rgm@gnu.org>
3807
3808 * generic-x.el [rul-generic-mode]: Require cc-mode.
3809 (c++-mode-syntax-table): Declare.
3810 (rul-generic-mode-syntax-table): Init in the defvar.
3811
3812 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3813
3814 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3815 (vc-do-command, vc-set-async-update):
3816 * vc/vc-mtn.el (vc-mtn-dir-status):
3817 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3818 (vc-hg-pull, vc-hg-merge-branch):
3819 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3820 (vc-git-merge-branch):
3821 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3822 (vc-cvs-dir-status-files):
3823 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3824 (vc-bzr-dir-status-files):
3825 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3826 * vc/vc-annotate.el: Use lexical-binding.
3827 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3828 (vc-sentinel-movepoint): Declare.
3829 (vc-annotate): Don't use `goto-line'.
3830 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3831 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3832 (vc-sentinel-movepoint): Declare.
3833 * vc/vc-svn.el: Use lexical-binding.
3834 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3835 * vc/vc-sccs.el:
3836 * vc/vc-rcs.el: Use lexical-binding.
3837
3838 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3839 `deleted'. Don't drop errors silently.
3840
3841 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3842
3843 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3844
3845 * vc/vc.el (vc-ignore): Rewrite.
3846 (vc-default-ignore): New function.
3847 (vc-default-ignore-completion-table): Use find-ignore-file.
3848
3849 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3850 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3851 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3852 Remove. Most code moved to vc.el.
3853
3854 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3855
3856 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3857 * net/tramp-smb.el (tramp-smb-get-file-entries):
3858 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3859 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3860
3861 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3862 Update call to it.
3863 (eww-change-select): Remove unused var `properties'.
3864 (eww-make-unique-file-name): Remove unused var `base'.
3865
3866 * finder.el (finder-compile-keywords): Don't mess with windows.
3867
3868 * calculator.el (calculator-funcall): Fix typo in last change.
3869
3870 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3871
3872 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3873 <pkg>-autoloads.el file stop us.
3874
3875 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3876 warnings, and factor out common code.
3877
3878 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3879
3880 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3881 two-character operators and whether the character preceding them
3882 changes their meaning (Bug#15208).
3883
3884 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3885
3886 Format code sent to Python shell for robustness.
3887 * progmodes/python.el (python-shell-buffer-substring):
3888 New function.
3889 (python-shell-send-region, python-shell-send-buffer): Use it.
3890
3891 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3892
3893 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3894 * net/tramp.el (tramp-user-error): ... here.
3895 (tramp-find-method, tramp-check-proper-host)
3896 (tramp-dissect-file-name, tramp-debug-message)
3897 (tramp-handle-shell-command):
3898 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3899 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3900
3901 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3902
3903 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3904
3905 * avoid.el (mouse-avoidance-point-position)
3906 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3907 returns nil.
3908
3909 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3910
3911 * progmodes/python.el (python-shell-completion-get-completions):
3912 Drop use of deleted `comint-last-prompt-overlay'.
3913 (python-nav-if-name-main): New command.
3914
3915 2013-09-01 Glenn Morris <rgm@gnu.org>
3916
3917 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3918 Avoid leading space in $wins. Otherwise the sed command used by
3919 eg compile-main ends up containing "/*.el". (Bug#15170)
3920
3921 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3922
3923 2013-08-30 Glenn Morris <rgm@gnu.org>
3924
3925 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3926 Fix is-this-a-directory logic. (Bug#15220)
3927
3928 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3929
3930 * textmodes/css-mode.el: Use SMIE.
3931 (css-smie-grammar): New var.
3932 (css-smie--forward-token, css-smie--backward-token)
3933 (css-smie-rules): New functions.
3934 (css-mode): Use them.
3935 (css-navigation-syntax-table): Remove var.
3936 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3937 (css-indent-calculate, css-indent-line): Remove functions.
3938
3939 Misc changes to reduce use of `(lambda...); and other cleanups.
3940 * cus-edit.el: Use lexical-binding.
3941 (customize-push-and-save, customize-apropos)
3942 (custom-buffer-create-internal): Use closures.
3943 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3944 * progmodes/ada-xref.el: Use setq.
3945 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3946 * dframe.el: Use lexical-binding.
3947 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3948 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3949 * descr-text.el: Use lexical-binding.
3950 (describe-text-widget, describe-text-sexp, describe-property-list):
3951 Use closures.
3952 * comint.el (comint-history-isearch-push-state): Use a closure.
3953 * calculator.el: Use lexical-binding.
3954 (calculator-number-to-string): Make it work with lexical-binding.
3955 (calculator-funcall): Same and use cl-letf.
3956
3957 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3958 (lisp--company-doc-string, lisp--company-location): New functions.
3959 (lisp-completion-at-point): Use them to improve Company support.
3960
3961 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3962 params of lambda expressions.
3963 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3964 (ruby-smie--opening-pipe-p): New function.
3965 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3966 symbols and matched |...| for formal params.
3967 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3968 from being treated as hanging. Handle "rescue".
3969
3970 2013-08-29 Glenn Morris <rgm@gnu.org>
3971
3972 * progmodes/cc-engine.el (c-pull-open-brace):
3973 Move definition before use.
3974
3975 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3976
3977 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3978 are immutable. Don't use `unsafe' any more.
3979 (cl--defsubst-expand): Don't substitute at the same time as keeping
3980 a residual unused let-binding. Don't use `unsafe' any more.
3981
3982 2013-08-29 Glenn Morris <rgm@gnu.org>
3983
3984 * calendar/cal-china.el (calendar-chinese-year-cache):
3985 Recenter on 2015.
3986
3987 * nxml/nxml-util.el (nxml-debug-clear-inside):
3988 Use cl-loop rather than loop.
3989
3990 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3991
3992 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3993
3994 2013-08-28 Glenn Morris <rgm@gnu.org>
3995
3996 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3997
3998 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3999
4000 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4001
4002 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4003
4004 * simple.el (repeat-complex-command--called-interactively-skip):
4005 New function.
4006 (repeat-complex-command): Use it (bug#14136).
4007
4008 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4009 (c-define-abbrev-table): Add `doc' argument.
4010 (c-mode-abbrev-table, c++-mode-abbrev-table)
4011 (objc-mode-abbrev-table, java-mode-abbrev-table)
4012 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4013 (awk-mode-abbrev-table): Use it.
4014 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4015 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4016 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4017 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4018 Move initialization into the declaration; and remove any
4019 autoload cookie.
4020
4021 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4022 and dynamic let binding.
4023
4024 * vc/smerge-mode.el: Remove redundant :group args.
4025
4026 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4027 to load-path.
4028
4029 2013-08-28 Juri Linkov <juri@jurta.org>
4030
4031 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4032 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4033 (isearch-other-meta-char): Handle an undefined shifted printing
4034 character by downshifting it. (Bug#15200)
4035
4036 2013-08-28 Juri Linkov <juri@jurta.org>
4037
4038 * isearch.el (isearch-search): Change regexp error message for
4039 non-regexp searches. (Bug#15166)
4040
4041 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4042
4043 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4044 for portability to hosts where /bin/sh has problems.
4045
4046 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4047
4048 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4049
4050 2013-08-27 Juri Linkov <juri@jurta.org>
4051
4052 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4053 in the keyboard macro. (Bug#15126)
4054
4055 2013-08-27 Juri Linkov <juri@jurta.org>
4056
4057 * isearch.el (isearch-quote-char): Comment out converting unibyte
4058 to multibyte, thus syncing with its `quoted-insert' counterpart.
4059 (Bug#15166)
4060
4061 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4062
4063 * window.el (display-buffer-use-some-window): Add missing
4064 argument in call of get-largest-window (Bug#15185).
4065 Reported by Stephen Leake.
4066
4067 2013-08-27 Glenn Morris <rgm@gnu.org>
4068
4069 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4070
4071 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4072
4073 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4074 from a matcher-function unless there's no more matches (bug#15161).
4075
4076 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4077
4078 * minibuffer.el: Revert change from 2013-08-20.
4079
4080 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4081 with text property `tramp-default', if appropriate.
4082 (tramp-check-proper-host): New defun.
4083 (tramp-dissect-file-name): Do not check hostname. Revert change
4084 of 2013-03-18.
4085 (tramp-backtrace): Make VEC-OR-PROC optional.
4086
4087 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4088 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4089 * net/tramp-sh.el (tramp-maybe-open-connection):
4090 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4091 Apply `tramp-check-proper-host'.
4092
4093 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4094
4095 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4096 lambda expression in order to have `describe-variable' display it.
4097
4098 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4099
4100 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4101 BUF can be optional. (Bug#15186)
4102
4103 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4104
4105 * progmodes/flymake.el (flymake-get-real-file-name-function):
4106 Fix broken customization. (Bug#15184)
4107
4108 2013-08-25 Alan Mackenzie <acm@muc.de>
4109
4110 Improve indentation of bracelists defined by macros (without "=").
4111
4112 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4113 expansion begins with "{", regard it as bracelist when it doesn't
4114 contain a ";".
4115
4116 Parse C++ inher-intro when there's a template split over 2 lines.
4117
4118 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4119 rigorously the search for "class" etc. followed by ":".
4120
4121 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4122 random languages a regexp which never matches rather than nil.
4123
4124 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4125
4126 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4127 (c-awk-regexp-one-line-possibly-open-char-list-re)
4128 (c-awk-one-line-possibly-open-regexp-re)
4129 (c-awk-one-line-non-syn-ws*-re): Remove.
4130 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4131 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4132 (c-awk-space*-unclosed-regexp-/-re): New constants.
4133 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4134 aren't regexp delimiters.
4135
4136 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4137 handling for a rare situation in AWK Mode involving unterminated
4138 strings/regexps.
4139
4140 2013-08-23 Glenn Morris <rgm@gnu.org>
4141
4142 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4143
4144 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4145
4146 * files.el (create-file-buffer): If the result would begin with
4147 spaces, prepend a "|" instead of removing them. (Bug#15162)
4148
4149 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4150
4151 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4152 text-properties (bug#15155).
4153
4154 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4155 exist any more.
4156 (calc-keypad-redraw): Remove unused var `pad'.
4157 (calc-keypad-press): Remove unused var `menu'.
4158
4159 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4160
4161 * window.el (display-buffer-pop-up-frame):
4162 Call pop-up-frame-function with BUFFER current so `make-frame' will
4163 use it as the new frame's buffer (Bug#15133).
4164
4165 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4166
4167 * calendar/timeclock.el: Minor cleanups.
4168 (timeclock-ask-before-exiting, timeclock-use-display-time):
4169 Use `symbol'.
4170 (timeclock-modeline-display): Define as alias before the
4171 actual definition.
4172 (timeclock-mode-line-display): Use define-minor-mode.
4173 (timeclock-day-list-template): Make it a function, add an argument.
4174 (timeclock-day-list-required, timeclock-day-list-length)
4175 (timeclock-day-list-debt, timeclock-day-list-span)
4176 (timeclock-day-list-break): Adjust calls accordingly.
4177
4178 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4179
4180 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4181 Use read--expression so that completion works again.
4182
4183 2013-08-21 Sam Steingold <sds@gnu.org>
4184
4185 Add rudimentary inferior shell interaction
4186 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4187 (sh-set-shell): Reset it.
4188 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4189 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4190
4191 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4192
4193 * align.el: Use lexical-binding.
4194 (align-region): Simplify accordingly.
4195
4196 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4197
4198 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4199
4200 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4201 `non-essential' up.
4202
4203 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4204
4205 * net/tramp.el:
4206 * net/tramp-adb.el:
4207 * net/tramp-cmds.el:
4208 * net/tramp-ftp.el:
4209 * net/tramp-gvfs.el:
4210 * net/tramp-gw.el:
4211 * net/tramp-sh.el: Don't wrap external variable declarations by
4212 `eval-when-compile'.
4213
4214 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4215
4216 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4217 now that Emacs supports ImageMagick animations.
4218
4219 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4220
4221 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4222 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4223
4224 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4225
4226 * window.el (mouse-autoselect-window-select): Do autoselect when
4227 mouse pointer is on margin.
4228
4229 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4230
4231 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4232
4233 2013-08-16 Glenn Morris <rgm@gnu.org>
4234
4235 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4236 Handle "Remote Directory" response of some clients. (Bug#15058)
4237
4238 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4239 Tweak warning. (Bug#14926)
4240
4241 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4242 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4243
4244 * image-mode.el (image-mode-map): Add menu items to reverse,
4245 increase, decrease, reset animation speed.
4246 (image--set-speed, image-increase-speed, image-decrease-speed)
4247 (image-reverse-speed, image-reset-speed): New functions.
4248 (image-mode-map): Add bindings for speed commands.
4249
4250 * image.el (image-animate-get-speed, image-animate-set-speed):
4251 New functions.
4252 (image-animate-timeout): Respect image :speed property.
4253
4254 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4255
4256 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4257 previous line (bug#15101).
4258 (debugger-eval-expression, debugger-record-expression):
4259 Use read--expression (bug#15102).
4260
4261 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4262
4263 Remove byte compiler warnings, visible when compiling with
4264 `byte-compile-force-lexical-warnings' set to t.
4265
4266 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4267 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4268 (tramp-handle-unhandled-file-name-directory)
4269 (tramp-handle-file-notify-add-watch, tramp-action-login)
4270 (tramp-action-succeed, tramp-action-permission-denied)
4271 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4272 arguments with "_".
4273
4274 * net/tramp-adb.el (tramp-adb-parse-device-names)
4275 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4276 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4277 (tramp-adb-handle-file-truename): Remove unused arguments.
4278
4279 * net/tramp-cache.el (tramp-flush-directory-property)
4280 (tramp-flush-connection-property, tramp-list-connections)
4281 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4282
4283 * net/tramp-compat.el (tramp-compat-make-temp-file):
4284 Rename FILENAME to F.
4285
4286 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4287 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4288 (tramp-zeroconf-parse-workstation-device-names)
4289 (tramp-zeroconf-parse-webdav-device-names)
4290 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4291
4292 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4293 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4294
4295 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4296 arguments.
4297 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4298 (tramp-sh-handle-insert-file-contents-literally)
4299 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4300 with "_".
4301 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4302 Remove unused variables.
4303
4304 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4305 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4306 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4307
4308 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4309 Make them a defconst.
4310 (tramp-uuencode-region): Remove unused variable.
4311
4312 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4313
4314 * frameset.el (frameset--prop-setter): New function.
4315 (frameset-prop): Add gv-setter declaration.
4316 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4317 parameter was already set in FILTERED. Doc fix.
4318 (frameset--record-minibuffer-relationships): Allow saving a
4319 minibufferless frame without its corresponding minibuffer frame.
4320 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4321 frame, if the frame id matches.
4322 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4323 frames before orphaned ones.
4324 (frameset-restore): Warn about orphaned windows, instead of error out.
4325
4326 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4327
4328 * window.el (window-make-atom): Don't overwrite parameter
4329 already present.
4330 (display-buffer-in-atom-window): Handle special case where we
4331 split an already atomic window.
4332 (window--major-non-side-window, display-buffer-in-side-window)
4333 (window--side-check): Ignore minibuffer window when walking
4334 window tree.
4335 (window-deletable-p): Return 'frame only if no other frame uses
4336 our minibuffer window.
4337 (record-window-buffer): Run buffer-list-update-hook.
4338 (split-window): Make sure window--check-frame won't destroy an
4339 existing atomic window in case the new window gets nested
4340 inside.
4341 (display-buffer-at-bottom): Ignore minibuffer window when
4342 walking window tree. Don't split a side window.
4343 (pop-to-buffer): Don't set-buffer here, the select-window call
4344 should do that.
4345 (mouse-autoselect-window-select): Autoselect only if we are in the
4346 text portion of the window.
4347
4348 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4349
4350 * net/shr.el (shr-parse-image-data): New function to grab both the
4351 data itself and the Content-Type.
4352 (shr-put-image): Use it.
4353
4354 * net/eww.el (eww-display-image): Ditto.
4355
4356 * image.el (image-content-type-suffixes): New variable.
4357
4358 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4359
4360 * progmodes/python.el (python-imenu--build-tree)
4361 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4362
4363 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4364
4365 * simple.el (backward-word): Mention the optional argument.
4366
4367 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4368
4369 * frameset.el (frameset--make): Rename constructor from make-frameset.
4370 (frameset-p, frameset-valid-p): Don't autoload.
4371 (frameset-valid-p): Use normal accessors.
4372
4373 2013-08-13 Glenn Morris <rgm@gnu.org>
4374
4375 * progmodes/compile.el (compile-command): Tweak example in doc.
4376 * obsolete/scribe.el (scribe-mode):
4377 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4378
4379 * mail/feedmail.el (feedmail-confirm-outgoing)
4380 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4381
4382 * cus-start.el (truncate-partial-width-windows): Fix type.
4383
4384 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4385
4386 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4387
4388 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4389
4390 * emacs-lisp/timer.el (timer--time-setter): New function.
4391 (timer--time): Use it as gv-setter.
4392
4393 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4394 setter is not a symbol.
4395
4396 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4397
4398 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4399 if sending fails. This makes debugging easier.
4400
4401 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4402
4403 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4404 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4405 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4406
4407 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4408
4409 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4410
4411 2013-08-12 Glenn Morris <rgm@gnu.org>
4412
4413 * format.el (format-annotate-function):
4414 Handle read-only text properties in the source. (Bug#14887)
4415
4416 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4417
4418 * net/eww.el (eww-display-html): Ignore coding system errors.
4419 One web site uses "utf-8lias" as the coding system.
4420
4421 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4422
4423 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4424
4425 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4426
4427 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4428 (tutorial--detailed-help): Remove unused local variables.
4429 (tutorial--save-tutorial-to): Use ignore-errors.
4430 (help-with-tutorial): Use looking-at-p.
4431
4432 * view.el (view-buffer-other-window, view-buffer-other-frame):
4433 Mark unused arguments.
4434
4435 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4436 (woman-select-symbol-fonts, woman, woman-find-file)
4437 (woman-insert-file-contents, woman-non-underline-faces):
4438 Use string-match-p.
4439 (woman1-unquote): Move declaration.
4440
4441 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4442 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4443 argument. Remove unused local variable.
4444 (xml-parse-elem-type): Use string-match-p.
4445 (xml-substitute-numeric-entities): Use ignore-errors.
4446
4447 * calculator.el (calculator): Mark unused argument.
4448 (calculator-paste, calculator-quit, calculator-integer-p):
4449 Use ignore-errors.
4450 (calculator-string-to-number, calculator-decimal, calculator-exp)
4451 (calculator-op-or-exp): Use string-match-p.
4452
4453 * dired.el (dired-buffer-more-recently-used-p): Declare.
4454 (dired-insert-set-properties, dired-insert-old-subdirs):
4455 Use ignore-errors.
4456
4457 * dired-aux.el (dired-compress): Use ignore-errors.
4458 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4459 (dired-do-async-shell-command, dired-do-shell-command)
4460 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4461 (dired-insert-subdir-validate): Use string-match-p.
4462 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4463 (dired-add-entry): Use string-match-p, looking-at-p.
4464 (dired-insert-subdir-newpos): Remove unused local variable.
4465
4466 * filenotify.el (file-notify-callback): Remove unused local variable.
4467
4468 * filesets.el (filesets-error): Mark unused argument.
4469 (filesets-which-command-p, filesets-filter-dir-names)
4470 (filesets-directory-files, filesets-get-external-viewer)
4471 (filesets-ingroup-get-data): Use string-match-p.
4472
4473 * find-file.el (ff-other-file-name, ff-other-file-name)
4474 (ff-find-the-other-file, ff-cc-hh-converter):
4475 Remove unused local variables.
4476 (ff-get-file-name): Use string-match-p.
4477 (ff-all-dirs-under): Use ignore-errors.
4478
4479 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4480 (follow-select-if-visible): Remove unused local variable.
4481
4482 * forms.el (read-file-filter): Move declaration.
4483 (forms--make-format, forms--make-parser, forms-insert-record):
4484 Quote function with #'.
4485 (forms--update): Use string-match-p. Quote function with #'.
4486
4487 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4488 (help-make-xrefs): Use looking-at-p.
4489 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4490
4491 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4492 (ibuffer-confirm-operation-on): Use string-match-p.
4493
4494 * msb.el (msb-item-handler, msb-dired-item-handler):
4495 Mark unused arguments.
4496
4497 * ses.el (ses-decode-cell-symbol)
4498 (ses-kill-override): Remove unused local variable.
4499 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4500 (ses-load): Use ignore-errors, looking-at-p.
4501 (ses-jump-safe): Use ignore-errors.
4502 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4503
4504 * tabify.el (untabify, tabify): Mark unused arguments.
4505
4506 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4507 Mark unused argument.
4508 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4509 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4510
4511 * emacs-lisp/timer.el (timer--time): Define setter with
4512 gv-define-setter to avoid deprecation warning.
4513
4514 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4515 (*record-cmpl-statistics-p*): Remove (was commented out).
4516 (cmpl-statistics-block): Remove (body was commented out).
4517 All callers changed.
4518 (add-completions-from-buffer, load-completions-from-file):
4519 Remove unused variables.
4520
4521 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4522
4523 * filecache.el (file-cache-delete-file-list):
4524 Print message only when told so.
4525 (file-cache-files-matching): Use #' in mapconcat argument.
4526
4527 * ffap.el (ffap-url-at-point): Fix reference to variable
4528 thing-at-point-default-mail-uri-scheme.
4529
4530 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4531
4532 * subr.el (define-error): New function.
4533 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4534 error-file-not-found and define with define-error.
4535 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4536 and define with define-error.
4537 * userlock.el (file-locked, file-supersession):
4538 * simple.el (mark-inactive):
4539 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4540 * progmodes/ada-mode.el (ada-mode-errors):
4541 * play/life.el (life-extinct):
4542 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4543 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4544 * nxml/rng-util.el (rng-error):
4545 * nxml/rng-uri.el (rng-uri-error):
4546 * nxml/rng-match.el (rng-compile-error):
4547 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4548 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4549 * nxml/nxml-rap.el (nxml-scan-error):
4550 * nxml/nxml-outln.el (nxml-outline-error):
4551 * net/soap-client.el (soap-error):
4552 * net/gnutls.el (gnutls-error):
4553 * net/ange-ftp.el (ftp-error):
4554 * mpc.el (mpc-proc-error):
4555 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4556 (json-number-format, json-string-escape, json-string-format)
4557 (json-key-format, json-object-format):
4558 * jka-compr.el (compression-error):
4559 * international/quail.el (quail-error):
4560 * international/kkc.el (kkc-error):
4561 * emacs-lisp/ert.el (ert-test-failed):
4562 * calc/calc.el (calc-error, inexact-result, math-overflow)
4563 (math-underflow):
4564 * bookmark.el (bookmark-error-no-filename):
4565 * epg.el (epg-error): Define with define-error.
4566
4567 * time.el (display-time-event-handler)
4568 (display-time-next-load-average): Don't call sit-for since it seems
4569 unnecessary (bug#15045).
4570
4571 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4572 Use #' instead of ' to quote functions.
4573 (checkdoc-output-mode): Use setq-local.
4574 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4575 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4576 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4577 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4578 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4579 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4580 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4581 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4582
4583 * ido.el (ido-completion-help): Fix up compiler warning.
4584
4585 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4586
4587 * frameset.el (frameset-p): Add autoload cookie.
4588 (frameset--jump-to-register): New function, based on code moved from
4589 register.el.
4590 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4591
4592 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4593 (frameset-restore, frameset-save, frameset-session-filter-alist):
4594 Remove declarations.
4595 (register-alist): Doc fix.
4596 (frameset-to-register): Move to frameset.el.
4597 (jump-to-register, describe-register-1): Remove frameset-specific code.
4598
4599 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4600
4601 * allout-widgets.el (allout-widgets-pre-command-business)
4602 (allout-widgets-post-command-business)
4603 (allout-widgets-after-change-handler)
4604 (allout-decorate-item-and-context, allout-set-boundary-marker)
4605 (allout-body-modification-handler)
4606 (allout-graphics-modification-handler): Mark ignored arguments.
4607 (allout-widgets-post-command-business)
4608 (allout-widgets-exposure-change-processor)
4609 (allout-widgets-exposure-undo-processor)
4610 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4611 (allout-parse-item-at-point, allout-decorate-item-guides)
4612 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4613 * allout.el (epa-passphrase-callback-function): Declare.
4614 (allout-overlay-insert-in-front-handler)
4615 (allout-overlay-interior-modification-handler)
4616 (allout-isearch-end-handler, allout-chart-siblings)
4617 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4618 (allout-yank-processing, allout-process-exposed)
4619 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4620 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4621 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4622 (lisp-indent-defform): Mark ignored arguments.
4623 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4624 (calculate-lisp-indent): Remove unused variables.
4625 * international/characters.el (indian-2-column, arabic-2-column)
4626 (tibetan): Mark ignored arguments.
4627 (use-cjk-char-width-table): Mark ignored arguments.
4628 Remove unused variables.
4629 * international/fontset.el (build-default-fontset-data)
4630 (x-compose-font-name, create-fontset-from-fontset-spec):
4631 Mark ignored arguments.
4632 (fontset-plain-name): Remove unused variables.
4633 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4634 (keyboard-coding-system): Mark ignored arguments.
4635 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4636 * help.el (resize-temp-buffer-window):
4637 * window.el (display-buffer-in-major-side-window)
4638 (display-buffer-in-side-window, display-buffer-in-previous-window):
4639 Remove unused variables.
4640 * isearch.el (isearch-forward-symbol):
4641 * version.el (emacs-bzr-version-bzr):
4642 * international/mule-cmds.el (current-language-environment):
4643 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4644 (x-handle-display):
4645 * term/pc-win.el (x-list-fonts, x-display-planes)
4646 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4647 (x-server-version, x-display-screens, x-display-mm-height)
4648 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4649 (x-selection-owner-p, x-own-selection-internal)
4650 (x-disown-selection-internal, x-get-selection-internal)
4651 (msdos-initialize-window-system):
4652 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4653 * term/x-win.el (x-handle-no-bitmap-icon):
4654 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4655 (vc-default-find-file-hook, vc-default-extra-menu):
4656 Mark ignored arguments.
4657
4658 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4659
4660 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4661 break-condition in the context of the debugged code (bug#12685).
4662
4663 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4664
4665 * comint.el:
4666 Do not use an overlay to highlight the last prompt. (Bug#14744)
4667 (comint-mode): Make comint-last-prompt buffer local.
4668 (comint-last-prompt): New variable.
4669 (comint-last-prompt-overlay): Remove. Superseded by
4670 comint-last-prompt.
4671 (comint-snapshot-last-prompt, comint-output-filter):
4672 Use comint-last-prompt.
4673
4674 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4675
4676 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4677 (frameset-save): Check validity of the resulting frameset.
4678
4679 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4680
4681 * ido.el (ido-record-command): Add doc string.
4682
4683 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4684
4685 * frameset.el (frameset): Do not disable creation of the default
4686 frameset-p predicate. Doc fix.
4687 (frameset-valid-p): New function, copied from the old predicate-p.
4688 Add additional checks.
4689 (frameset-restore): Check with frameset-valid-p.
4690 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4691 (frameset-name, frameset-description, frameset-properties)
4692 (frameset-states): Add docstring.
4693 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4694 (frameset-filter-alist): Doc fixes.
4695
4696 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4697
4698 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4699
4700 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4701
4702 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4703 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4704 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4705 (byte-compile-normal-call): Remove obsolescence check.
4706
4707 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4708
4709 * frameset.el (frameset-restore): Doc fix.
4710
4711 * register.el (frameset-frame-id, frameset-frame-with-id)
4712 (frameset-p, frameset-restore, frameset-save): Declare.
4713 (register-alist): Document framesets.
4714 (frameset-session-filter-alist): Declare.
4715 (frameset-to-register): New function.
4716 (jump-to-register): Implement jumping to framesets. Doc fix.
4717 (describe-register-1): Describe framesets.
4718
4719 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4720
4721 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4722
4723 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4724 Use lexical-binding.
4725
4726 * frameset.el (frameset): Use type vector, not list (incompatible
4727 change). Do not declare a new constructor, use the default one.
4728 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4729 `name' and `description', respectively, and add read-only slot
4730 `timestamp'. Doc fixes.
4731 (frameset-copy, frameset-persistent-filter-alist)
4732 (frameset-filter-alist, frameset-switch-to-gui-p)
4733 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4734 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4735 (frameset-filter-iconified, frameset-keep-original-display-p):
4736 Doc fixes.
4737 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4738 Rename from frameset-filter-(save|restore)-param. All callers changed.
4739 Doc fix.
4740 (frameset-p): Adapt to change to vector and be more thorough.
4741 Change arg name to OBJECT. Doc fix.
4742 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4743 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4744 All callers changed.
4745 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4746 All callers changed.
4747 (frameset--record-minibuffer-relationships): Rename from
4748 frameset--process-minibuffer-frames. All callers changed.
4749 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4750 Use new default constructor (again). Doc fix.
4751 (frameset--find-frame-if): Rename from `frameset--find-frame.
4752 All callers changed.
4753 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4754 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4755 Doc fix.
4756 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4757 PARAMETERS and WINDOW-STATE, respectively.
4758 (frameset-restore): Add new keyword argument PREDICATE.
4759 Reset frameset--target-display to nil. Doc fix.
4760
4761 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4762
4763 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4764 (bat-mode): Use it.
4765 (bat-mode-syntax-table): Mark \n as end-of-comment.
4766 (bat-font-lock-keywords): Remove comment rule.
4767
4768 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4769 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4770
4771 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4772 (byte-compile-callargs-warn): Use `push'.
4773 (byte-compile-arglist-warn): Ignore higher-order "calls".
4774 (byte-compile-file-form-autoload): Use `pcase'.
4775 (byte-compile-function-form): If quoting a symbol, check that it exists.
4776
4777 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4778
4779 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4780 and add a few popular commands found in batch files.
4781 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4782 (dos-mode): Doc fixes.
4783
4784 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4785
4786 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4787 (dos-mode): Use setq-local. Add space after "rem".
4788 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4789 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4790
4791 2013-08-07 Arni Magnusson <arnima@hafro.is>
4792
4793 * progmodes/dos.el: New file.
4794 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4795 dos-mode.
4796
4797 2013-08-06 Glenn Morris <rgm@gnu.org>
4798
4799 * calendar/calendar.el: Add new faces, and day-header-array.
4800 (calendar-weekday-header, calendar-weekend-header)
4801 (calendar-month-header): New faces.
4802 (calendar-day-header-construct): New function.
4803 (calendar-day-header-width): Also :set calendar-day-header-array.
4804 (calendar-american-month-header, calendar-european-month-header)
4805 (calendar-iso-month-header): Use calendar- faces.
4806 (calendar-generate-month):
4807 Use calendar-day-header-array for day headers; apply faces to them.
4808 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4809 (calendar-abbrev-construct): Add optional maxlen argument.
4810 (calendar-day-name-array): Doc fix.
4811 (calendar-day-name-array, calendar-abbrev-length)
4812 (calendar-day-abbrev-array):
4813 Also :set calendar-day-header-array, and maybe redraw.
4814 (calendar-day-header-array): New option. (Bug#15007)
4815 (calendar-font-lock-keywords): Set to nil and make obsolete.
4816 (calendar-day-name): Add option to use header array.
4817
4818 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4819
4820 * net/shr.el (shr-render-td): Remove debugging.
4821 (shr-render-td): Make width computation consistent by defaulting
4822 all zero-width columns to 10 characters. This may not be optimal,
4823 but it's at least consistent.
4824 (shr-make-table-1): Redo last change to fix the real problem in
4825 colspan handling.
4826
4827 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4828
4829 * files.el (cache-long-line-scans):
4830 Make obsolete alias to `cache-long-scans'.
4831
4832 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4833
4834 * frameset.el (frameset, frameset-filter-alist)
4835 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4836 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4837 (frameset-compute-pos): Rename from frameset--compute-pos,
4838 and add docstring.
4839 (frameset-move-onscreen): Use frameset-compute-pos.
4840 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4841
4842 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4843 Fix typos in docstrings.
4844
4845 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4846
4847 * frame.el (get-other-frame): Tiny cleanup.
4848
4849 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4850
4851 * vc/vc.el (vc-default-ignore-completion-table):
4852 Silence byte-compiler warning.
4853
4854 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4855 slot , which can indeed be nil.
4856 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4857 Move entry for `left' from persistent to live filter alist.
4858 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4859 Doc fixes.
4860 (frameset-filter-params): When restoring a frame, copy items added to
4861 `filtered', to avoid unwittingly modifying the original parameters.
4862 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4863 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4864
4865 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4866 to use looking-at-p instead of looking-at. (Bug#15028)
4867
4868 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4869
4870 Revert introduction of isearch-filter-predicates (bug#14714).
4871 Rely on add-function instead.
4872 * isearch.el (isearch-filter-predicates): Rename it back to
4873 isearch-filter-predicate.
4874 (isearch-message-prefix): Use advice-function-mapc and advice
4875 properties to get the isearch-message-prefix.
4876 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4877 instead of run-hook-with-args-until-failure.
4878 (isearch-filter-visible): Not obsolete any more.
4879 * loadup.el: Preload nadvice.
4880 * replace.el (perform-replace): Revert to funcall
4881 instead of run-hook-with-args-until-failure.
4882 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4883 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4884 dired-isearch-filenames-toggle; make it into a proper minor mode.
4885 Use add/remove-function.
4886 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4887 Call the minor-mode rather than add/remove-hook.
4888 (dired-isearch-filter-filenames):
4889 Remove isearch-message-prefix property.
4890 * info.el (Info--search-loop): New function, extracted from Info-search.
4891 Funcall isearch-filter-predicate instead of
4892 run-hook-with-args-until-failure isearch-filter-predicates.
4893 (Info-search): Use it.
4894 (Info-mode): Use isearch-filter-predicate instead of
4895 isearch-filter-predicates.
4896
4897 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4898
4899 Do not call to `selected-window' where it is assumed by default.
4900 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4901 `window-hscroll', `window-width', `window-height', `window-buffer',
4902 `window-frame', `window-start', `window-point', `next-window'
4903 and `window-display-table'.
4904 * abbrev.el (abbrev--default-expand):
4905 * bs.el (bs--show-with-configuration):
4906 * buff-menu.el (Buffer-menu-mouse-select):
4907 * calc/calc.el (calc):
4908 * calendar/calendar.el (calendar-generate-window):
4909 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4910 (diary-make-entry):
4911 * comint.el (send-invisible, comint-dynamic-complete-filename)
4912 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4913 * completion.el (complete):
4914 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4915 * disp-table.el (describe-current-display-table):
4916 * doc-view.el (doc-view-insert-image):
4917 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4918 * ehelp.el (with-electric-help):
4919 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4920 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4921 * emacs-lisp/helper.el (Helper-help-scroller):
4922 * emulation/cua-base.el (cua--post-command-handler-1):
4923 * eshell/esh-mode.el (eshell-output-filter):
4924 * ffap.el (ffap-gnus-wrapper):
4925 * help-macro.el (make-help-screen):
4926 * hilit-chg.el (highlight-compare-buffers):
4927 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4928 * hl-line.el (global-hl-line-highlight):
4929 * icomplete.el (icomplete-simple-completing-p):
4930 * isearch.el (isearch-done):
4931 * jit-lock.el (jit-lock-stealth-fontify):
4932 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4933 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4934 * mpc.el (mpc-tagbrowser, mpc):
4935 * net/rcirc.el (rcirc-any-buffer):
4936 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4937 * play/landmark.el (landmark-max-width, landmark-max-height):
4938 * play/zone.el (zone):
4939 * progmodes/compile.el (compilation-goto-locus):
4940 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4941 * progmodes/etags.el (find-tag-other-window):
4942 * progmodes/fortran.el (fortran-column-ruler):
4943 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4944 * progmodes/verilog-mode.el (verilog-point-text):
4945 * reposition.el (reposition-window):
4946 * rot13.el (toggle-rot13-mode):
4947 * server.el (server-switch-buffer):
4948 * shell.el (shell-dynamic-complete-command)
4949 (shell-dynamic-complete-environment-variable):
4950 * simple.el (insert-buffer, set-selective-display)
4951 (delete-completion-window):
4952 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4953 (speedbar-recenter):
4954 * startup.el (fancy-splash-head):
4955 * textmodes/ispell.el (ispell-command-loop):
4956 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4957 * tutorial.el (help-with-tutorial):
4958 * vc/add-log.el (add-change-log-entry):
4959 * vc/compare-w.el (compare-windows):
4960 * vc/ediff-help.el (ediff-indent-help-message):
4961 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4962 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4963 (ediff-setup-control-frame):
4964 * vc/emerge.el (emerge-position-region):
4965 * vc/pcvs-util.el (cvs-bury-buffer):
4966 * window.el (walk-windows, mouse-autoselect-window-select):
4967 * winner.el (winner-set-conf, winner-undo): Related users changed.
4968
4969 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4970
4971 * frameset.el (frameset--set-id): Doc fix.
4972 (frameset-frame-id, frameset-frame-id-equal-p)
4973 (frameset-locate-frame-id): New functions.
4974 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4975 (frameset-restore): Use them.
4976
4977 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4978
4979 Do not call to `selected-frame' where it is assumed by default.
4980 Affected functions are `raise-frame', `redraw-frame',
4981 `frame-first-window', `frame-terminal' and `delete-frame'.
4982 * calendar/appt.el (appt-disp-window):
4983 * epg.el (epg-wait-for-completion):
4984 * follow.el (follow-delete-other-windows-and-split)
4985 (follow-avoid-tail-recenter):
4986 * international/mule.el (set-terminal-coding-system):
4987 * mail/rmail.el (rmail-mail-return):
4988 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4989 * progmodes/f90.el (f90-add-imenu-menu):
4990 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4991 * server.el (server-switch-buffer):
4992 * simple.el (delete-completion-window):
4993 * talk.el (talk):
4994 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4995 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4996 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4997 * vc/ediff.el (ediff-documentation): Related users changed.
4998 * frame.el (selected-terminal): Remove the leftover.
4999
5000 2013-08-05 Glenn Morris <rgm@gnu.org>
5001
5002 * calendar/calendar.el (calendar-generate-month):
5003 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5004 (calendar-generate-month, calendar-font-lock-keywords):
5005 Fix for calendar-day-header-width > length of any day name.
5006
5007 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5008
5009 * desktop.el (desktop-clear): Use new name of sort predicate.
5010
5011 * frameset.el (frameset): Add docstring. Move :version property to its
5012 own `version' slot.
5013 (frameset-copy): Rename from copy-frameset.
5014 (frameset-p): Check more thoroughly.
5015 (frameset-prop): Do not check for :version, which is no longer a prop.
5016 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5017 Use new :never value instead of t.
5018 (frameset-filter-alist): Expand and clarify docstring.
5019 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5020 (frameset-filter-minibuffer, frameset-filter-save-param)
5021 (frameset-filter-restore-param, frameset-filter-iconified):
5022 Add pointer to docstring of frameset-filter-alist.
5023 (frameset-filter-params): Rename filter values to be more meaningful:
5024 :never instead of t, and reverse the meanings of :save and :restore.
5025 (frameset--process-minibuffer-frames): Clarify error message.
5026 (frameset-save): Avoid unnecessary and confusing call to framep.
5027 Use new BOA constructor for framesets.
5028 (frameset--reuse-list): Doc fix.
5029 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5030 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5031 (frameset-minibufferless-first-p): Doc fix.
5032 Rename from frameset-sort-frames-for-deletion.
5033 (frameset-restore): Doc fixes. Use new function names.
5034 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5035
5036 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5037
5038 * desktop.el (desktop-restore-forces-onscreen)
5039 (desktop-restore-reuses-frames): Document :keyword constant values.
5040 (desktop-filter-parameters-alist): Remove, now identical to
5041 frameset-filter-alist.
5042 (desktop--filter-tty*): Remove, moved to frameset.el.
5043 (desktop-save-frameset, desktop-restore-frameset):
5044 Do not pass :filters argument.
5045
5046 * frameset.el (frameset-live-filter-alist)
5047 (frameset-persistent-filter-alist): New variables.
5048 (frameset-filter-alist): Use them. Add autoload cookie.
5049 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5050 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5051 `frameset--id' (it's supposed to be internal to frameset.el).
5052 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5053 (frameset--initial-params): New function.
5054 (frameset--get-frame): Use it. Doc fix.
5055 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5056 Accept :all, not 'all.
5057 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5058 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5059 with fbound symbols. Fix frame id matching, and remove matching ids if
5060 the frame being restored is deleted. Obey :delete.
5061
5062 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5063
5064 * subr.el (macrop): New function.
5065 (text-clone--maintaining): New var.
5066 (text-clone--maintain): Rename from text-clone-maintain. Use it
5067 instead of inhibit-modification-hooks.
5068
5069 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5070 a proxy, so as handle autoloads and redefinitions of the target.
5071 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5072
5073 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5074 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5075 (pcase--mutually-exclusive-p): New function.
5076 (pcase--split-consp): Use it.
5077 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5078 mutually exclusive with the current predicate.
5079
5080 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5081 (edebug-macrop): Remove. Use `macrop' instead.
5082 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5083 (ad-macro-p):
5084 * eshell/esh-cmd.el (eshell-macrop):
5085 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5086
5087 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5088
5089 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5090 (advice-mapc): New function, using it.
5091 (advice-function-member-p): New function.
5092 (advice--normalize): Store the cdr in advice--saved-rewrite since
5093 that's the part that will be changed.
5094 (advice--symbol-function): New function.
5095 (advice-remove): Handle removal before the function is defined.
5096 Adjust to new advice--saved-rewrite.
5097 (advice-member-p): Use advice-function-member-p and
5098 advice--symbol-function.
5099
5100 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5101
5102 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5103 (frameset-filter-minibuffer): Doc fix.
5104 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5105 (frameset--set-id, frameset--process-minibuffer-frames)
5106 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5107 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5108
5109 * desktop.el (desktop-clear): Only delete frames when called
5110 interactively and desktop-restore-frames is non-nil. Doc fix.
5111 (desktop-read): Set desktop-saved-frameset to nil.
5112
5113 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5114
5115 * vc/vc.el (vc-ignore): Rewrite.
5116 (vc-default-ignore-completion-table):
5117 (vc--read-lines):
5118 (vc--add-line, vc--remove-regexp): New functions.
5119
5120 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5121 (vc-svn-ignore-completion-table): New function.
5122
5123 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5124 (vc-hg-ignore-completion-table):
5125 (vc-hg-find-ignore-file): New functions.
5126
5127 * vc/vc-git.el (vc-git-ignore): Rewrite.
5128 (vc-git-ignore-completion-table):
5129 (vc-git-find-ignore-file): New functions.
5130
5131 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5132
5133 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5134 (vc-bzr-ignore-completion-table):
5135 (vc-bzr-find-ignore-file): New functions.
5136
5137 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5138
5139 * frameset.el (frameset-prop): New function and setter.
5140 (frameset-save): Do not modify frame list passed by the caller.
5141
5142 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5143
5144 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5145
5146 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5147
5148 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5149 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5150
5151 * custom.el (custom-initialize-default, custom-initialize-set)
5152 (custom-initialize-reset, custom-initialize-changed): Affect the
5153 toplevel-default-value (bug#6275, bug#14586).
5154 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5155 for bug#6275.
5156
5157 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5158
5159 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5160 Add cl-def* expressions.
5161
5162 * frameset.el (frameset-filter-params): Fix order of arguments.
5163
5164 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5165
5166 Move code related to saving frames to frameset.el.
5167 * desktop.el: Require frameset.
5168 (desktop-restore-frames): Doc fix.
5169 (desktop-restore-reuses-frames): Rename from
5170 desktop-restoring-reuses-frames.
5171 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5172 (desktop-clear): Clear frames too.
5173 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5174 (desktop--filter-tty*, desktop-save, desktop-read):
5175 Use frameset functions.
5176 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5177 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5178 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5179 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5180 (desktop--process-minibuffer-frames, desktop-save-frames)
5181 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5182 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5183 (desktop--sort-states, desktop-restoring-frames-p)
5184 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5185 (desktop-restoring-frameset-p, desktop-restore-frameset)
5186 (desktop--check-dont-save, desktop-save-frameset): New functions.
5187 (desktop--app-id): New constant.
5188 (desktop-first-buffer, desktop-buffer-ok-count)
5189 (desktop-buffer-fail-count): Move before first use.
5190 * frameset.el: New file.
5191
5192 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5193
5194 * files.el: Use lexical-binding.
5195 (dir-locals-read-from-file): Remove unused `err' variable.
5196 (hack-dir-local-variables--warned-coding): New var.
5197 (hack-dir-local-variables): Use it to avoid repeated warnings.
5198 (make-backup-file-name--default-function): New function.
5199 (make-backup-file-name-function): Use it as default.
5200 (buffer-stale--default-function): New function.
5201 (buffer-stale-function): Use it as default.
5202 (revert-buffer-insert-file-contents--default-function): New function.
5203 (revert-buffer-insert-file-contents-function): Use it as default.
5204 (insert-directory): Avoid add-to-list.
5205
5206 * autorevert.el (auto-revert-handler): Simplify.
5207 Use buffer-stale--default-function.
5208
5209 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5210
5211 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5212
5213 * whitespace.el (whitespace-ensure-local-variables): New function.
5214 (whitespace-cleanup-region): Call it.
5215 (whitespace-turn-on): Call it.
5216
5217 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5218
5219 Complete file name handlers.
5220
5221 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5222 (tramp-handle-verify-visited-file-modtime)
5223 (tramp-handle-file-notify-rm-watch): New functions.
5224 (tramp-call-process): Do not bind `default-directory'.
5225
5226 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5227 Order alphabetically.
5228 [access-file, add-name-to-file, dired-call-process]:
5229 [dired-compress-file, file-acl, file-notify-rm-watch]:
5230 [file-ownership-preserved-p, file-selinux-context]:
5231 [make-directory-internal, make-symbolic-link, set-file-acl]:
5232 [set-file-selinux-context, set-visited-file-modtime]:
5233 [verify-visited-file-modtime]: Add handler.
5234 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5235
5236 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5237 [file-notify-add-watch, file-notify-rm-watch]:
5238 [set-file-times, set-visited-file-modtime]:
5239 [verify-visited-file-modtime]: Add handler.
5240 (with-tramp-gvfs-error-message)
5241 (tramp-gvfs-handle-set-visited-file-modtime)
5242 (tramp-gvfs-fuse-file-name): Remove.
5243 (tramp-gvfs-handle-file-notify-add-watch)
5244 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5245 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5246
5247 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5248 Order alphabetically.
5249 [file-notify-rm-watch ]: Use default Tramp handler.
5250 [executable-find]: Remove private handler.
5251 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5252 `default-directory'.
5253 (tramp-sh-handle-executable-find)
5254 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5255 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5256 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5257 Do not use `format' in `tramp-message'.
5258
5259 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5260 [file-notify-rm-watch, set-visited-file-modtime]:
5261 [verify-visited-file-modtime]: Add handler.
5262 (tramp-smb-call-winexe): Do not bind `default-directory'.
5263
5264 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5265
5266 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5267
5268 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5269
5270 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5271 use it.
5272 (log-view-diff-changeset): Same.
5273 (log-view-diff-common): Call backend command `previous-revision'
5274 to find out the previous revision, in both cases. Swap the
5275 variables `to' and `fr', so that `fr' usually refers to the
5276 earlier revision (Bug#14989).
5277
5278 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5279
5280 * ibuf-ext.el (ibuffer-filter-by-filename):
5281 Make it work with dired buffers too.
5282
5283 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5284
5285 * emacs-lisp/re-builder.el (reb-color-display-p):
5286 * files.el (save-buffers-kill-terminal):
5287 * net/browse-url.el (browse-url):
5288 * server.el (server-save-buffers-kill-terminal):
5289 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5290 Prefer nil to selected-frame for the first arg of frame-parameter.
5291
5292 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5293
5294 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5295
5296 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5297
5298 * minibuffer.el (completion--twq-all): Try and preserve each
5299 completion's case choice (bug#14907).
5300
5301 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5302
5303 * net/network-stream.el (open-network-stream): Mention the new
5304 :nogreeting parameter.
5305 (network-stream-open-starttls): Use the :nogreeting parameter
5306 (bug#14938).
5307
5308 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5309
5310 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5311 more natural than popping.
5312
5313 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5314 (shr-urlify): Highlight under mouse.
5315
5316 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5317
5318 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5319
5320 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5321
5322 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5323 buffer for output.
5324
5325 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5326 point-min==1. Fix search string. Fix parentheses missing.
5327
5328 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5329 assume point-min==1. Fix search string. Fix parentheses missing.
5330
5331 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5332
5333 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5334 buffer for output.
5335
5336 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5337
5338 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5339 initial frame is minibuffer-less. (Bug#14841)
5340
5341 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5342
5343 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5344 option.
5345
5346 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5347 (tramp-maybe-open-connection): Use it.
5348
5349 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5350
5351 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5352 minimal set of parameters passed when creating a frame, because
5353 the minibuffer status of a frame cannot be changed later.
5354
5355 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5356
5357 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5358 replace-regexp-in-string and inadvertent omissions in previous change.
5359 (todo-filter-items): Ensure only file names are comma-separated in
5360 name of filtered items buffer.
5361
5362 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5363
5364 * desktop.el: Optionally force offscreen frames back onscreen.
5365 (desktop-restoring-reuses-frames): New option.
5366 (desktop--compute-pos, desktop--move-onscreen): New functions.
5367 (desktop--make-frame): Use desktop--move-onscreen.
5368
5369 2013-07-27 Alan Mackenzie <acm@muc.de>
5370
5371 Fontify a Java generic method as a function.
5372 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5373 value to t.
5374
5375 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5376
5377 * calendar/todo-mode.el: Add command to rename todo files.
5378 (todo-rename-file): New command.
5379 (todo-key-bindings-t): Add key binding for it. Change the
5380 bindings of todo-filter-regexp-items(-multifile) to use `x'
5381 instead of `r', since the latter is better suited to the new
5382 renaming command.
5383
5384 2013-07-27 Alan Mackenzie <acm@muc.de>
5385
5386 Make Java try-with-resources statement parse properly.
5387 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5388 (c-block-stmt-1-2-key): New language constants/variables.
5389 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5390 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5391 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5392 with c-block-stmt-1-2-key.
5393
5394 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5395
5396 * desktop.el (desktop--make-frame): Apply most frame parameters after
5397 creating the frame to force (partially or totally) offscreen frames to
5398 be restored as such.
5399
5400 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5401
5402 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5403 (Bug#14948)
5404
5405 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5406
5407 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5408 `base' arg of backtrace-frame.
5409
5410 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5411
5412 * simple.el (list-processes): Doc fix.
5413
5414 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5415
5416 * desktop.el (desktop--select-frame):
5417 Try harder to reuse existing frames.
5418
5419 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5420
5421 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5422 (edebug-eval): Use backtrace-eval.
5423 (edebug--display, edebug--recursive-edit): Don't let-bind the
5424 edebug-outer-* vars that keep track of variables we locally let-bind.
5425 (edebug-outside-excursion): Don't restore outside values of locally
5426 let-bound vars.
5427 (edebug--display): Use user-error.
5428 (cl-lexical-debug, cl-debug-env): Remove.
5429
5430 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5431
5432 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5433 are restored to be sure that they are visible before deleting any
5434 remaining ones.
5435
5436 2013-07-26 Matthias Meulien <orontee@gmail.com>
5437
5438 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5439 vc-print-root-log. (Bug#14948)
5440
5441 2013-07-26 Richard Stallman <rms@gnu.org>
5442
5443 Add aliases for encrypting mail.
5444 * epa.el (epa-mail-aliases): New option.
5445 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5446 Bind inhibit-read-only so read-only text doesn't ruin everything.
5447 (epa-mail-default-recipients): New subroutine broken out.
5448 Handle epa-mail-aliases.
5449
5450 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5451
5452 Add support for lexical variables to the debugger's `e' command.
5453 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5454 vars, except for debugger-outer-match-data.
5455 (debugger-frame-number): Move check for "on a function call" from
5456 callers into it. Add `skip-base' argument.
5457 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5458 (debugger-env-macro): Only reset the state stored in non-variables,
5459 i.e. current-buffer and match-data.
5460 (debugger-eval-expression): Rewrite using backtrace-eval.
5461 * subr.el (internal--called-interactively-p--get-frame): Remove.
5462 (called-interactively-p):
5463 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5464 `base' arg of backtrace-frame instead.
5465
5466 2013-07-26 Glenn Morris <rgm@gnu.org>
5467
5468 * align.el (align-regexp): Doc fix. (Bug#14857)
5469 (align-region): Explicit error if subexpression missing/does not match.
5470
5471 * simple.el (global-visual-line-mode):
5472 Do not duplicate the mode lighter. (Bug#14858)
5473
5474 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5475
5476 * window.el (display-buffer): In display-buffer bind
5477 split-window-keep-point to t, bug#14829.
5478
5479 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5480
5481 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5482 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5483 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5484 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5485 Change accordingly.
5486 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5487 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5488
5489 2013-07-25 Glenn Morris <rgm@gnu.org>
5490
5491 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5492
5493 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5494
5495 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5496 parameter to modify-frame-parameters if the value has not changed;
5497 this is a workaround for bug#14949.
5498 (desktop--make-frame): On cl-delete-if call, check parameter name,
5499 not full parameter.
5500
5501 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5502
5503 * vc/vc.el (vc-ignore): New function.
5504
5505 * vc/vc-svn.el (vc-svn-ignore): New function.
5506
5507 * vc/vc-hg.el (vc-hg-ignore): New function.
5508
5509 * vc/vc-git.el (vc-git-ignore): New function.
5510
5511 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5512 (vc-dir-ignore): New function.
5513
5514 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5515 (cvs-append-to-ignore): Move here from pcvs.el.
5516
5517 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5518
5519 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5520
5521 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5522
5523 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5524 (desktop-restore-frames): Warn when deleting an existing frame failed.
5525
5526 2013-07-24 Glenn Morris <rgm@gnu.org>
5527
5528 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5529
5530 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5531
5532 * filenotify.el (file-notify-supported-p):
5533 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5534 Remove functions.
5535
5536 * autorevert.el (auto-revert-use-notify):
5537 (auto-revert-notify-add-watch):
5538 * net/tramp.el (tramp-file-name-for-operation):
5539 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5540 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5541 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5542 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5543 Remove `file-notify-supported-p' entry.
5544
5545 2013-07-24 Glenn Morris <rgm@gnu.org>
5546
5547 * printing.el: Replace all uses of deleted ps-windows-system,
5548 ps-lp-system, ps-flatten-list with lpr- versions.
5549
5550 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5551
5552 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5553 checked with memq (bug#14935).
5554
5555 * files.el (revert-buffer-function): Use a non-nil default.
5556 (revert-buffer-preserve-modes): Declare var to
5557 provide access to the `preserve-modes' argument.
5558 (revert-buffer): Let-bind it.
5559 (revert-buffer--default): New function, extracted from revert-buffer.
5560
5561 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5562
5563 * lpr.el: Signal print errors more prominently.
5564 (print-region-function): Don't default to nil.
5565 (lpr-print-region): New function, extracted from print-region-1.
5566 Check lpr's return value and signal an error in case of problem.
5567 (print-region-1): Use it.
5568 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5569 versions instead.
5570 (ps-printer-name): Default to nil.
5571 (ps-printer-name-option): Default to lpr-printer-switch.
5572 (ps-print-region-function): Don't default to nil.
5573 (ps-postscript-code-directory): Simplify default.
5574 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5575 (ps-string-list, ps-eval-switch, ps-flatten-list)
5576 (ps-flatten-list-1): Remove.
5577 (ps-multibyte-buffer): Avoid setq.
5578 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5579 (print-region-function, ps-print-region-function): Don't set them here.
5580
5581 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5582
5583 * ido.el (ido-fractionp):
5584 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5585 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5586 (ido-max-directory-size, ido-max-dir-file-cache)
5587 (ido-decorations): Doc fix.
5588
5589 * ansi-color.el: Fix old URL.
5590
5591 2013-07-23 Michael R. Mauger <michael@mauger.com>
5592
5593 * progmodes/sql.el: Version 3.3
5594 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5595 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5596 (sql-interactive-remove-continuation-prompt): Rewrite, use
5597 functions above. Fix continuation prompt and complete output line
5598 handling.
5599 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5600 redirected output buffer.
5601 (sql-mode): Restore deleted code (Bug#13591).
5602
5603 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5604
5605 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5606
5607 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5608
5609 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5610
5611 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5612 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5613 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5614
5615 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5616
5617 * desktop.el (desktop-clear): Simplify; remove useless checks
5618 against invalid buffer names.
5619 (desktop-list*): Use cl-list*.
5620 (desktop-buffer-info, desktop-create-buffer): Simplify.
5621
5622 2013-07-23 Leo Liu <sdl.web@gmail.com>
5623
5624 * bookmark.el (bookmark-make-record): Restore NAME as a default
5625 value. (Bug#14933)
5626
5627 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5628
5629 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5630 extracted from autoload--insert-text.
5631 (autoload--insert-text): Remove.
5632 (autoload--print-cookie-text): New function, extracted from
5633 autoload--insert-cookie-text.
5634 (autoload--insert-cookie-text): Remove.
5635 (autoload-generate-file-autoloads): Adjust calls accordingly.
5636
5637 * winner.el (winner-hook-installed-p): Remove.
5638 (winner-mode): Simplify accordingly.
5639
5640 * subr.el (add-to-list): Fix compiler-macro when `append' is
5641 not constant. Don't use `cl-member' for the base case.
5642
5643 * progmodes/subword.el: Fix boundary case (bug#13758).
5644 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5645 own group.
5646 (subword-backward-regexp): Make it a constant.
5647 (subword-forward-internal): Don't treat a trailing capital as the
5648 beginning of a word.
5649
5650 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5651
5652 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5653 global value of tabulated-list-revert-hook (bug#14930).
5654
5655 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5656
5657 * desktop.el: Require 'cl-lib.
5658 (desktop-before-saving-frames-functions): New hook.
5659 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5660 for frames being saved. Rename from desktop--save-minibuffer-frames.
5661 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5662 Do not save frames with non-nil `desktop-dont-save' parameter.
5663 Filter out deleted frames.
5664 (desktop--find-frame): Use cl-find-if.
5665 (desktop--select-frame): Use cl-(first|second|third) to access values
5666 of desktop-mini.
5667 (desktop--make-frame): Use cl-delete-if.
5668 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5669 (desktop-restore-frames): Use cl-(first|second|third) to access values
5670 of desktop-mini. Look for visible frame at the end, not while
5671 restoring frames.
5672
5673 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5674 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5675 Use string-match-p, looking-at-p (bug#14927).
5676
5677 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5678
5679 * desktop.el (desktop-saved-frame-states):
5680 Rename from desktop--saved-states; all users changed.
5681 (desktop-save-frames): Rename from desktop--save-frames.
5682 Do not save state to desktop file.
5683 (desktop-save): Save desktop-saved-frame-states to desktop file
5684 and reset to nil.
5685 (desktop-restoring-frames-p): New function.
5686 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5687 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5688 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5689
5690 * desktop.el: Correctly restore iconified frames.
5691 (desktop--filter-iconified-position): New function.
5692 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5693
5694 2013-07-20 Glenn Morris <rgm@gnu.org>
5695
5696 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5697 Let `message' do the formatting.
5698 (def-gdb-preempt-display-buffer): Add explicit format.
5699
5700 * image-dired.el (image-dired-track-original-file):
5701 Use with-current-buffer.
5702 (image-dired-track-thumbnail): Use with-current-buffer.
5703 Avoid changing point of wrong window.
5704
5705 * image-dired.el (image-dired-track-original-file):
5706 Avoid changing point of wrong window. (Bug#14909)
5707
5708 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5709
5710 * progmodes/gdb-mi.el (gdb-done-or-error):
5711 Guard against "%" in gdb output. (Bug#14127)
5712
5713 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5714
5715 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5716 (Bug#14826)
5717
5718 * international/mule.el (coding-system-iso-2022-flags): Fix last
5719 change.
5720
5721 2013-07-20 Kenichi Handa <handa@gnu.org>
5722
5723 * international/mule.el (coding-system-iso-2022-flags):
5724 Add `8-bit-level-4'. (Bug#8522)
5725
5726 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5727
5728 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5729 (bug#14815).
5730
5731 * net/eww.el (eww-process-text-input): Allow inputting when the
5732 point is at the start of the line, as the properties aren't
5733 front-sticky.
5734
5735 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5736 degenerate widths.
5737
5738 2013-07-19 Richard Stallman <rms@gnu.org>
5739
5740 * epa.el (epa-popup-info-window): Doc fix.
5741
5742 * subr.el (split-string): New arg TRIM.
5743
5744 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5745
5746 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5747 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5748
5749 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5750
5751 * filenotify.el (file-notify--library): Rename from
5752 `file-notify-support'. Do not autoload. Adapt all uses.
5753 (file-notify-supported-p): New defun.
5754
5755 * autorevert.el (auto-revert-use-notify):
5756 Use `file-notify-supported-p' instead of `file-notify-support'.
5757 Adapt docstring.
5758 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5759
5760 * net/tramp.el (tramp-file-name-for-operation):
5761 Add `file-notify-supported-p'.
5762
5763 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5764 New defun.
5765 (tramp-sh-file-name-handler-alist): Add it as handler for
5766 `file-notify-supported-p '.
5767
5768 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5769 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5770 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5771 Add `ignore' as handler for `file-notify-*' functions.
5772
5773 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5774
5775 * simple.el (line-move-partial, line-move): Don't start vscroll or
5776 scroll-up if the current line is not taller than the window.
5777 (Bug#14881)
5778
5779 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5780
5781 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5782 highlight question marks in the method names as strings.
5783 (ruby-block-beg-keywords): Inline.
5784 (ruby-font-lock-keyword-beg-re): Extract from
5785 `ruby-font-lock-keywords'.
5786
5787 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5788
5789 * frame.el (blink-cursor-blinks): New defcustom.
5790 (blink-cursor-blinks-done): New defvar.
5791 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5792 (blink-cursor-timer-function): Check if number of blinks has been
5793 done on X and NS.
5794 (blink-cursor-suspend, blink-cursor-check): New defuns.
5795
5796 2013-07-15 Glenn Morris <rgm@gnu.org>
5797
5798 * edmacro.el (edmacro-format-keys): Fix previous change.
5799
5800 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5801
5802 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5803 The hack didn't work outside English locales anyway.
5804
5805 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5806
5807 * simple.el (define-alternatives): Rename from alternatives-define,
5808 per RMS' suggestion.
5809
5810 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5811
5812 * desktop.el (desktop-restore-frames): Change default to t.
5813 (desktop-restore-in-current-display): Now offer more options.
5814 (desktop-restoring-reuses-frames): New customization option.
5815 (desktop--saved-states): Doc fix.
5816 (desktop-filter-parameters-alist): New variable, renamed and expanded
5817 from desktop--excluded-frame-parameters.
5818 (desktop--target-display): New variable.
5819 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5820 (desktop--filter-tty*, desktop--filter-*-color)
5821 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5822 (desktop--filter-save-desktop-parm)
5823 (desktop-restore-in-original-display-p): New functions.
5824 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5825 (desktop--save-minibuffer-frames): New function, inspired by a similar
5826 function from Martin Rudalics.
5827 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5828 (desktop--restore-in-this-display-p): Remove.
5829 (desktop--find-frame): Rename from desktop--find-frame-in-display
5830 and add predicate argument.
5831 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5832 (desktop--reuse-list): New variable.
5833 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5834 New functions.
5835 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5836
5837 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5838
5839 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5840
5841 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5842
5843 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5844 Highlight conversion methods on Kernel.
5845
5846 2013-07-13 Alan Mackenzie <acm@muc.de>
5847
5848 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5849 and comment it out. This out-commenting enables certain C++
5850 declarations to be parsed correctly.
5851
5852 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5853
5854 * international/mule.el (define-coding-system): Doc fix.
5855
5856 * simple.el (default-font-height): Don't call font-info if the
5857 frame's default font didn't change since the frame was created.
5858 (Bug#14838)
5859
5860 2013-07-13 Leo Liu <sdl.web@gmail.com>
5861
5862 * ido.el (ido-read-file-name): Guard against non-symbol value.
5863
5864 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5865
5866 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5867 in nested defuns.
5868
5869 2013-07-13 Leo Liu <sdl.web@gmail.com>
5870
5871 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5872 ido-set-matches call. (Bug#6852)
5873
5874 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5875
5876 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5877 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5878 Ruby 2.0.
5879 (ruby-font-lock-keywords): Distinguish calls to functions with
5880 module-like names from module references. Highlight character
5881 literals.
5882
5883 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5884
5885 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5886 (gdb-send): Handle continued commands. (Bug#14847)
5887
5888 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5889
5890 * desktop.el (desktop--v2s): Remove unused local variable.
5891 (desktop-save-buffer): Make defvar-local; adjust docstring.
5892 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5893 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5894
5895 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5896
5897 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5898
5899 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5900
5901 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5902 (Bug#14842)
5903
5904 2013-07-12 Glenn Morris <rgm@gnu.org>
5905
5906 * doc-view.el: Require cl-lib at runtime too.
5907 (doc-view-remove-if): Remove.
5908 (doc-view-search-next-match, doc-view-search-previous-match):
5909 Use cl-remove-if.
5910
5911 * edmacro.el: Require cl-lib at runtime too.
5912 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5913 (edmacro-mismatch, edmacro-subseq): Remove.
5914
5915 * shadowfile.el: Require cl-lib.
5916 (shadow-remove-if): Remove.
5917 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5918 Use cl-remove-if.
5919
5920 * wid-edit.el: Require cl-lib.
5921 (widget-choose): Use cl-remove-if.
5922 (widget-remove-if): Remove.
5923
5924 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5925 (ebrowse-delete-if-not): Remove.
5926 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5927 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5928 Use cl-delete-if-not.
5929
5930 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5931
5932 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5933 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5934
5935 2013-07-12 Leo Liu <sdl.web@gmail.com>
5936
5937 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5938
5939 2013-07-11 Glenn Morris <rgm@gnu.org>
5940
5941 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5942 (edebug-gensym-index, edebug-gensym):
5943 Remove reimplementation of cl-gensym.
5944 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5945
5946 * thumbs.el: Require cl-lib at run-time too.
5947 (thumbs-gensym-counter, thumbs-gensym):
5948 Remove reimplementation of cl-gensym.
5949 (thumbs-temp-file): Use cl-gensym.
5950
5951 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5952 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5953 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5954 (ert--union, ert--gensym-counter, ert--gensym-counter)
5955 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5956 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5957 (ert-make-test-unbound, ert--expand-should-1)
5958 (ert--expand-should, ert--should-error-handle-error)
5959 (should-error, ert--explain-equal-rec)
5960 (ert--plist-difference-explanation, ert-select-tests)
5961 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5962 Use cl-lib functions rather than reimplementations.
5963
5964 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5965
5966 * net/tramp.el (tramp-methods): Extend docstring.
5967 (tramp-connection-timeout): New defcustom.
5968 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5969 (with-tramp-progress-reporter): Simplify.
5970 (tramp-process-actions): Improve messages.
5971
5972 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5973 * net/tramp-sh.el (tramp-maybe-open-connection):
5974 Use `tramp-connection-timeout'.
5975 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5976 (Bug#14808)
5977
5978 2013-07-11 Leo Liu <sdl.web@gmail.com>
5979
5980 * ido.el (ido-read-file-name): Conform to the requirements of
5981 read-file-name. (Bug#11861)
5982 (ido-read-directory-name): Conform to the requirements of
5983 read-directory-name.
5984
5985 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5986
5987 * subr.el (delay-warning): New function.
5988
5989 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5990
5991 * simple.el (default-line-height): New function.
5992 (line-move-partial, line-move): Use it instead of computing the
5993 line height inline.
5994 (line-move-partial): Always compute ROWH. If the last line is
5995 partially-visible, but its text is completely visible, allow
5996 cursor to enter such a partially-visible line.
5997
5998 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5999
6000 Improve error messages. (Bug#14808)
6001
6002 * net/tramp.el (tramp-current-connection): New defvar, moved from
6003 tramp-sh.el.
6004 (tramp-message-show-progress-reporter-message): Remove, not
6005 needed anymore.
6006 (tramp-error-with-buffer): Show message in minibuffer.
6007 Discard input before waiting. Reset connection timestamp.
6008 (with-tramp-progress-reporter): Improve messages.
6009 (tramp-process-actions): Use progress reporter. Delete process in
6010 case of error. Improve messages.
6011
6012 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6013 Call `tramp-error-with-buffer' with vector and buffer.
6014 (tramp-current-connection): Remove.
6015 (tramp-maybe-open-connection): The car of
6016 `tramp-current-connection' are the first 3 slots of the vector.
6017
6018 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6019
6020 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6021 inside continued strings.
6022
6023 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6024
6025 Timestamp fixes for undo (Bug#14824).
6026 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6027
6028 2013-07-10 Leo Liu <sdl.web@gmail.com>
6029
6030 * files.el (require-final-newline): Allow safe local value.
6031 (Bug#14834)
6032
6033 2013-07-09 Leo Liu <sdl.web@gmail.com>
6034
6035 * ido.el (ido-read-directory-name): Handle fallback.
6036 (ido-read-file-name): Update DIR to ido-current-directory.
6037 (Bug#1516)
6038 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6039
6040 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6041
6042 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6043 "autoload". Remove "warn lower camel case" section, previously
6044 commented out. Highlight negation char. Do not highlight the
6045 target in singleton method definitions.
6046
6047 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6048
6049 * faces.el (tty-setup-hook): Declare the hook.
6050
6051 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6052 and detect when a guard/pred depends on local vars (bug#14773).
6053 (pcase--u1): Adjust caller.
6054
6055 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6056
6057 * simple.el (line-move-partial, line-move): Account for
6058 line-spacing.
6059 (line-move-partial): Avoid setting vscroll when the last
6060 partially-visible line in window is of default height.
6061
6062 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6063
6064 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6065 been used a while.
6066
6067 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6068
6069 * subr.el (read-quoted-char): Remove unused local variable `char'.
6070
6071 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6072
6073 * ediff.el (ediff-version): Version update.
6074 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6075 (ediff-merge-with-ancestor-command, ediff-directories-command)
6076 (ediff-directories3-command, ediff-merge-directories-command)
6077 (ediff-merge-directories-with-ancestor-command): New functions.
6078 All are command-line interfaces to ediff: to facilitate calling
6079 Emacs with the appropriate ediff functions invoked.
6080
6081 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6082 (viper-save-kill-buffer): Check if buffer is modified.
6083
6084 * viper.el (viper-version): Version update.
6085 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6086
6087 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6088
6089 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6090 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6091 (viper-intercept-ESC-key): Simplify.
6092 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6093 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6094 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6095 (viper-setup-ESC-to-escape): New functions.
6096 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6097 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6098
6099 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6100
6101 * simple.el (default-font-height, window-screen-lines):
6102 New functions.
6103 (line-move, line-move-partial): Use them instead of
6104 frame-char-height and window-text-height. This makes scrolling
6105 text smoother when the buffer's default face uses a font that is
6106 different from the frame's default font.
6107
6108 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6109
6110 * files.el (write-file): Do not display confirm dialog for NS,
6111 it does its own dialog, which can't be cancelled (Bug#14578).
6112
6113 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6114
6115 * simple.el (line-move-partial): Adjust the row returned by
6116 posn-at-point for the current window-vscroll. (Bug#14567)
6117
6118 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6119
6120 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6121 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6122 spaces.
6123
6124 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6125
6126 * window.el (window-state-put-stale-windows): New variable.
6127 (window--state-put-2): Save list of windows without matching buffer.
6128 (window-state-put): Remove "bufferless" windows if possible.
6129
6130 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6131
6132 * simple.el (alternatives-define): Remove leftover :group keyword.
6133 Tweak docstring.
6134
6135 2013-07-06 Leo Liu <sdl.web@gmail.com>
6136
6137 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6138 (ido-enable-virtual-buffers): New variable.
6139 (ido-buffer-internal, ido-toggle-virtual-buffers)
6140 (ido-make-buffer-list): Use it.
6141 (ido-exhibit): Support turning on and off virtual buffers
6142 automatically.
6143
6144 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6145
6146 * simple.el (alternatives-define): New macro.
6147
6148 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6149
6150 * subr.el (read-quoted-char): Use read-key.
6151 (sit-for): Let read-event decode tty input (bug#14782).
6152
6153 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6154
6155 * calendar/todo-mode.el: Add handling of file deletion, both by
6156 mode command and externally. Fix various related bugs.
6157 Clarify Commentary and improve some documentation strings and code.
6158 (todo-delete-file): New command.
6159 (todo-check-file): New function.
6160 (todo-show): Handle external deletion of the file we're trying to
6161 show (bug#14688). Replace called-interactively-p by an optional
6162 prefix argument to avoid problematic interaction with catch form
6163 when byte compiled (bug#14702).
6164 (todo-quit): Handle external deletion of the archive's todo file.
6165 Make sure the buffer that was visiting the archive file is still
6166 live before trying to bury it.
6167 (todo-category-completions): Handle external deletion of any
6168 category completion files.
6169 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6170 of todo files, in case of external deletion.
6171 (todo-add-file): Replace unnecessary setq by let-binding.
6172 (todo-find-archive): Check whether there are any archives.
6173 Replace unnecessary setq by let-binding.
6174 (todo-archive-done-item): Use find-file-noselect to get the
6175 archive buffer whether or not the archive already exists.
6176 Remove superfluous code. Use file size instead of buffer-file-name to
6177 check if the archive is new; if it is, update list of archives.
6178 (todo-default-todo-file): Allow nil to be a valid value for when
6179 there are no todo files.
6180 (todo-reevaluate-default-file-defcustom): Use corrected definition
6181 of todo-default-todo-file.
6182 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6183 (todo-delete-category, todo-show-categories-table)
6184 (todo-category-number): Clarify comment.
6185 (todo-filter-items): Clarify documentation string.
6186 (todo-show-current-file, todo-display-as-todo-file)
6187 (todo-reset-and-enable-done-separator): Tweak documentation string.
6188 (todo-done-separator): Make separator length window-width, since
6189 bug#2749 is now fixed.
6190
6191 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6192
6193 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6194 Support both "gvfs-monitor-dir" and "inotifywait".
6195 (tramp-sh-file-inotifywait-process-filter): Rename from
6196 `tramp-sh-file-notify-process-filter'.
6197 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6198 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6199
6200 2013-07-05 Leo Liu <sdl.web@gmail.com>
6201
6202 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6203
6204 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6205
6206 * frame.el (display-pixel-height, display-pixel-width)
6207 (display-mm-height, display-mm-width): Mention behavior on
6208 multi-monitor setups in docstrings.
6209 (w32-display-monitor-attributes-list): Declare function.
6210 (display-monitor-attributes-list): Use it.
6211
6212 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6213
6214 * filenotify.el: New package.
6215
6216 * autorevert.el (top): Require filenotify.el.
6217 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6218 instead.
6219 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6220 (auto-revert-notify-handler): Use `file-notify-*' functions.
6221
6222 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6223
6224 * net/tramp.el (tramp-file-name-for-operation):
6225 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6226
6227 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6228 for `file-notify-add-watch' and `file-notify-rm-watch'.
6229 (tramp-process-sentinel): Improve trace.
6230 (tramp-sh-handle-file-notify-add-watch)
6231 (tramp-sh-file-notify-process-filter)
6232 (tramp-sh-handle-file-notify-rm-watch)
6233 (tramp-get-remote-inotifywait): New defuns.
6234
6235 2013-07-03 Juri Linkov <juri@jurta.org>
6236
6237 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6238 call of `occur-read-primary-args' to interactive spec.
6239
6240 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6241 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6242
6243 2013-07-03 Matthias Meulien <orontee@gmail.com>
6244
6245 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6246 `Buffer-menu-multi-occur'. Add it to the menu.
6247 (Buffer-menu-mode): Document it in docstring.
6248 (Buffer-menu-multi-occur): New command. (Bug#14673)
6249
6250 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6251
6252 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6253 keywords and built-ins.
6254
6255 2013-07-03 Glenn Morris <rgm@gnu.org>
6256
6257 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6258
6259 Make info-xref checks case-sensitive by default
6260 * info.el (Info-find-node, Info-find-in-tag-table)
6261 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6262 Add option for exact case matching of nodes.
6263 * info-xref.el (info-xref): New custom group.
6264 (info-xref-case-fold): New option.
6265 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6266
6267 2013-07-03 Leo Liu <sdl.web@gmail.com>
6268
6269 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6270
6271 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6272
6273 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6274 middle of block statement initially, lower the depth. Remove
6275 FIXME comment, not longer valid. Remove middle of block statement
6276 detection, no need to do that anymore since we've been using
6277 `ruby-parse-region' here.
6278
6279 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6280
6281 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6282
6283 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6284
6285 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6286
6287 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6288
6289 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6290 (desktop-restore-in-current-display): New customization option.
6291 (desktop--excluded-frame-parameters): Add `font'.
6292 (desktop--save-frames): Rename from desktop--save-windows.
6293 (desktop--restore-in-this-display-p): New function.
6294 (desktop--make-full-frame): Remove unwanted width/height from
6295 full(width|height) frames.
6296 (desktop--restore-frames): Rename from desktop--restore-windows.
6297 Obey desktop-restore-current-display. Do not delete old frames or
6298 select a new frame unless we were able to restore at least one frame.
6299
6300 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6301
6302 * files.el (find-file-noselect): Simplify conditional expression.
6303
6304 * remember.el (remember-append-to-file):
6305 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6306
6307 Add `remember-notes' function to store random notes across Emacs
6308 restarts.
6309 * remember.el (remember-data-file): Add :set callback to affect
6310 notes buffer (if any).
6311 (remember-notes): New command.
6312 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6313 New defcustoms for the `remember-notes' function.
6314 (remember-notes-save-and-bury-buffer): New command.
6315 (remember-notes-mode-map): New variable.
6316 (remember-mode): New minor mode.
6317 (remember-notes--kill-buffer-query): New function.
6318 * startup.el (initial-buffer-choice): Add notes to custom type.
6319
6320 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6321
6322 * bindings.el (right-char, left-char): Don't call sit-for, this is
6323 no longer needed. Use arithmetic comparison only for numerical
6324 arguments.
6325
6326 * international/mule-cmds.el (select-safe-coding-system):
6327 Handle the case of FROM being a string correctly. (Bug#14755)
6328
6329 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6330
6331 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6332 progression on degenerate tables.
6333 (shr-rescale-image): ImageMagick animated images currently don't work.
6334
6335 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6336
6337 Some fixes and improvements for desktop frame restoration.
6338 It is still experimental and disabled by default.
6339 * desktop.el (desktop--save-windows): Put the selected frame at
6340 the head of the list.
6341 (desktop--make-full-frame): New function.
6342 (desktop--restore-windows): Try to re-select the frame that was
6343 selected upon saving. Do not abort if some frames fail to restore,
6344 just show an error message and continue. Set up maximized frames
6345 so they have default non-maximized dimensions.
6346
6347 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6348
6349 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6350 Don't start heredoc inside a string or comment.
6351
6352 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6353
6354 * bindings.el (visual-order-cursor-movement): New defcustom.
6355 (right-char, left-char): Provide visual-order cursor motion by
6356 calling move-point-visually. Update the doc strings.
6357
6358 2013-06-28 Kenichi Handa <handa@gnu.org>
6359
6360 * international/mule.el (define-coding-system): New coding system
6361 properties :inhibit-null-byte-detection,
6362 :inhibit-iso-escape-detection, and :prefer-utf-8.
6363 (set-buffer-file-coding-system): If :charset-list property of
6364 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6365 appropriate for setting.
6366
6367 * international/mule-cmds.el (select-safe-coding-system):
6368 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6369 multibyte characters, return utf-8 (or one of its siblings).
6370
6371 * international/mule-conf.el (prefer-utf-8): New coding system.
6372 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6373 files.
6374
6375 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6376
6377 * net/shr.el (shr-render-region): New function.
6378
6379 * net/eww.el: Autoload `eww-browse-url'.
6380
6381 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6382
6383 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6384 Adapt to `package-desc-version' being a list.
6385 Use `package--ac-desc-version' to retrieve version from a package
6386 archive element.
6387
6388 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6389
6390 New experimental feature to save&restore window and frame setup.
6391 * desktop.el (desktop-save-windows): New defcustom.
6392 (desktop--saved-states): New var.
6393 (desktop--excluded-frame-parameters): New defconst.
6394 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6395 (desktop--restore-windows, desktop--save-windows): New functions.
6396 (desktop-save): Call `desktop--save-windows'.
6397 (desktop-read): Call `desktop--restore-windows'.
6398
6399 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6400
6401 * net/shr.el (add-face-text-property): Remove compat definition.
6402
6403 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6404
6405 * info.el (Info-try-follow-nearest-node): Move search for footnote
6406 above search for node name to prevent missing a footnote (bug#14717).
6407
6408 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6409
6410 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6411
6412 2013-06-27 Leo Liu <sdl.web@gmail.com>
6413
6414 * net/eww.el (eww-read-bookmarks): Check file size.
6415
6416 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6417
6418 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6419 advice--pending if newdef is nil or an autoload (bug#13820).
6420 (advice-mapc): New function.
6421
6422 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6423
6424 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6425 probably.
6426 (eww-mode-map): Add a menu bar.
6427 (eww-add-bookmark): New command.
6428 (eww-bookmark-mode): New mode and commands.
6429 (eww-add-bookmark): Remove newlines from the title.
6430 (eww-bookmark-browse): Don't bug out if it's the only window.
6431
6432 2013-06-26 Glenn Morris <rgm@gnu.org>
6433
6434 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6435 (hfy-size): Handle ttys. (Bug#14668)
6436
6437 * info-xref.el: Update for Texinfo 5 change in *note format.
6438 (info-xref-node-re, info-xref-note-re): New constants.
6439 (info-xref-check-buffer): Use info-xref-note-re.
6440
6441 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6442
6443 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6444
6445 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6446 nil terminate the loop (bug#14718).
6447
6448 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6449
6450 * net/eww.el: Rework history traversal. When going forward/back,
6451 put these actions into the history, too, so that they can be
6452 replayed.
6453 (eww-render): Move the history reset to the correct buffer.
6454
6455 2013-06-25 Juri Linkov <juri@jurta.org>
6456
6457 * files-x.el (modify-dir-local-variable): Change the header comment
6458 in the file with directory local variables. (Bug#14692)
6459
6460 * files-x.el (read-file-local-variable-value): Add `default'.
6461 (Bug#14710)
6462
6463 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6464
6465 * net/eww.el (eww-make-unique-file-name): Create a unique file
6466 name before saving to entering `y' accidentally asynchronously.
6467
6468 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6469
6470 * net/eww.el (eww-download): New command and keystroke.
6471
6472 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6473
6474 * net/eww.el (eww-copy-page-url): Change name of command.
6475
6476 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6477 be more consistent with Info and dired.
6478
6479 * net/eww.el (eww-mode-map): Ditto.
6480
6481 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6482
6483 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6484 packages from archives.
6485 (package-archive-contents): Change format; include obsolete packages.
6486 (package-desc): Use `dir' to mark builtin packages.
6487 (package--from-builtin): Set the `dir' field to `builtin'.
6488 (generated-autoload-file, version-control): Declare.
6489 (package-compute-transaction): Change first arg and return value to be
6490 lists of package-descs. Adjust to new package-archive-contents format.
6491 (package--add-to-archive-contents): Adjust to new
6492 package-archive-contents format.
6493 (package-download-transaction): Arg is now a list of package-descs.
6494 (package-install): If `pkg' is a package name, pass it as
6495 a requirement, so it is subject to the usual (e.g. disabled) checks.
6496 (describe-package): Accept package-desc as well.
6497 (describe-package-1): Describe a specific package-desc. Add links to
6498 other package-descs for the same package name.
6499 (package-menu-describe-package): Pass the actual package-desc.
6500 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6501 works correctly.
6502 (package-desc-status): New function.
6503 (package-menu--refresh): New function, extracted
6504 from package-menu--generate.
6505 (package-menu--generate): Use it.
6506 (package-delete): Update package-alist.
6507 (package-menu-execute): Don't call package-initialize.
6508
6509 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6510 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6511 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6512 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6513 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6514 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6515
6516 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6517
6518 * window.el (window--state-get-1): Workaround for bug#14527.
6519 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6520
6521 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6522
6523 * net/eww.el (eww-back-url): Implement the history by stashing all
6524 the data into a list.
6525 (eww-forward-url): Allow going forward in the history, too.
6526
6527 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6528
6529 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6530 for values and use read--expression for expressions (bug#14710).
6531 (read-file-local-variable): Avoid setq.
6532 (read-file-local-variable-mode): Use minor-mode-list.
6533
6534 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6535
6536 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6537 for DOI URLs.
6538
6539 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6540
6541 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6542 Update imenu-support when dialect changes.
6543
6544 2013-06-25 Leo Liu <sdl.web@gmail.com>
6545
6546 * ido.el (ido-read-internal): Allow forward slash on windows.
6547
6548 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6549
6550 * net/eww.el (eww): Start of strings is \\`, not ^.
6551
6552 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6553
6554 * net/shr.el (shr-browse-url): Fix interactive spec.
6555
6556 * net/eww.el (eww): Add a trailing slash to domain names.
6557
6558 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6559
6560 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6561
6562 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6563
6564 * net/shr.el (shr-browse-url): Use an external browser if given a
6565 prefix.
6566
6567 * net/eww.el (eww-external-browser): Move to shr.
6568
6569 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6570
6571 * net/eww.el (eww): Work more correctly for file: URLs.
6572 (eww-detect-charset): Allow quoted charsets.
6573 (eww-yank-page-url): New command and keystroke.
6574
6575 2013-06-24 Daiki Ueno <ueno@gnu.org>
6576
6577 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6578 file name of gpg executable.
6579 (epg-context-program): New function.
6580 (epg-context-home-directory): New function.
6581 (epg-context-set-program): New function.
6582 (epg-context-set-home-directory): New function.
6583 (epg--start): Use `epg-context-program' instead of
6584 'epg-gpg-program'.
6585 (epg--list-keys-1): Likewise.
6586
6587 2013-06-24 Leo Liu <sdl.web@gmail.com>
6588
6589 * ido.el (ido-read-internal): Fix bug#14620.
6590
6591 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6592
6593 * faces.el (face-documentation): Simplify.
6594 (read-face-attribute, tty-find-type, x-resolve-font-name):
6595 Use `string-match-p'.
6596 (list-faces-display): Use `string-match-p'. Simplify.
6597 (face-spec-recalc): Check face to avoid face alias loops.
6598 (read-color): Use `string-match-p' and non-capturing parenthesis.
6599
6600 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6601
6602 * net/shr.el (shr-rescale-image): Use the new
6603 :max-width/:max-height functionality.
6604
6605 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6606
6607 * net/eww.el (eww-search-prefix): New variable.
6608 (eww): Use it.
6609 (eww-external-browser): New variable.
6610 (eww-mode-map): New keystroke.
6611 (eww-browse-with-external-browser): New command.
6612
6613 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6614
6615 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6616
6617 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6618 Don't skip aligning the next header field when padding is 0;
6619 otherwise, field width is not respected unless the title is as
6620 wide as the field.
6621
6622 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6623
6624 * emacs-lisp/package.el (package-el-version): Remove.
6625 (package-process-define-package): Fix inf-loop.
6626 (package-install): Allow symbols as arguments again.
6627
6628 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6629
6630 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6631 add some more keyword-like methods.
6632 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6633
6634 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6635
6636 * bs.el (bs-buffer-show-mark): Make defvar-local.
6637 (bs-mode): Use setq-local.
6638
6639 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6640 (emacs-lock--try-unlocking): Make defvar-local.
6641
6642 2013-06-22 Glenn Morris <rgm@gnu.org>
6643
6644 * play/cookie1.el (cookie-apropos): Minor simplification.
6645
6646 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6647
6648 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6649
6650 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6651 `regexp-opt', it breaks the build during dumping.
6652
6653 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6654
6655 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6656 Highlight keyword-like methods on Kernel and Module with
6657 font-lock-builtin-face.
6658 (auto-mode-alist): Consolidate different entries into one regexp
6659 and add more *file-s.
6660
6661 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6662
6663 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6664
6665 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6666 (diary-entry): Use it in the action of this button type instead of
6667 diary-goto-entry.
6668
6669 * calendar/todo-mode.el: New version.
6670 (todo-add-category): Append new category to end of file and give
6671 it the highest number, instead of putting it at the beginning and
6672 giving it 0. Incorporate noninteractive functionality.
6673 (todo-forward-category): Adapt to 1-based category numbering.
6674 Allow skipping over archived categories.
6675 (todo-backward-category): Derive from todo-forward-category.
6676 (todo-backward-item, todo-forward-item): Make noninteractive and
6677 delegate interactive part to new commands. Make sensitive to done items.
6678 (todo-categories): Make value an alist of category names and
6679 vectors of item counts.
6680 (todo-category-beg): Make a defconst.
6681 (todo-category-number): Use 1 instead of 0 as initial value.
6682 (todo-category-select): Make sensitive to overlays, optional item
6683 highlighting and done items.
6684 (todo-delete-item): Make sensitive to overlays and marked and done items.
6685 (todo-edit-item): Make sensitive to overlays and editing of
6686 date/time header optional. Add format checks.
6687 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6688 no-op if point is not on an item. Advertise using todo-edit-quit.
6689 (todo-edit-mode): Make sensitive to new format, font-locking, and
6690 multiple todo files.
6691 (todo-insert-item, todo-insert-item-here): Derive from
6692 todo-basic-insert-item and extend functionality.
6693 (todo-item-end, todo-item-start): Make sensitive to done items.
6694 (todo-item-string): Don't return text properties. Restore point.
6695 (todo-jump-to-category): Make sensitive to multiple todo files and
6696 todo archives. Use extended category completion.
6697 (todo-lower-item, todo-raise-item): Rename to *-priority and
6698 derive from todo-set-item-priority.
6699 (todo-mode): Derive from special-mode. Make sensitive to new
6700 format, font-locking and multiple todo files. Make read-only.
6701 (todo-mode-map): Don't suppress digit keys, so they can supply
6702 prefix arguments. Add many new key bindings.
6703 (todo-prefix): Insert as an overlay instead of file text.
6704 Change semantics from diary date expression to purely visual mark.
6705 (todo-print): Rename to todo-print-buffer. Make buffer display
6706 features printable. Remove option to restrict number of items
6707 printed. Add option to print to file.
6708 (todo-print-function): Rename to todo-print-buffer-function.
6709 (todo-quit): Extend to handle exiting new todo modes.
6710 (todo-remove-item): Make sensitive to overlays.
6711 (todo-save): Extend to buffers of filtered items.
6712 (todo-show): Make sensitive to done items, multiple todo files and
6713 new todo modes. Offer to convert legacy todo file before creating
6714 first new todo file.
6715 (todo-show-priorities): Rename to todo-top-priorities.
6716 Change semantics of value 0.
6717 (todo-top-priorities): Rename to todo-filter-top-priorities,
6718 derive from todo-filter-items and extend functionality.
6719 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6720 and extend functionality to other types of filtered items.
6721 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6722 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6723 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6724 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6725 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6726 (todo-edit-mode-hook, todo-entry-prefix-function)
6727 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6728 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6729 (todo-initials, todo-insert-threshold, todo-item-string-start)
6730 (todo-line-string, todo-menu, todo-mode-hook)
6731 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6732 (todo-print-priorities, todo-remove-separator)
6733 (todo-save-top-priorities-too, todo-string-count-lines)
6734 (todo-string-multiline-p, todo-time-string-format)
6735 (todo-tmp-buffer-name): Remove.
6736 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6737 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6738 (todo-edit-category-diary-inclusion)
6739 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6740 (todo-edit-file, todo-edit-item-date-day)
6741 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6742 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6743 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6744 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6745 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6746 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6747 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6748 (todo-filter-top-priorities-multifile, todo-find-archive)
6749 (todo-find-filtered-items-file, todo-go-to-source-item)
6750 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6751 (todo-jump-to-archive-category, todo-lower-category)
6752 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6753 (todo-move-category, todo-move-item, todo-next-button)
6754 (todo-next-item, todo-padded-string, todo-powerset)
6755 (todo-previous-button, todo-previous-item)
6756 (todo-print-buffer-to-file, todo-raise-category)
6757 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6758 (todo-set-category-number, todo-set-item-priority)
6759 (todo-set-top-priorities-in-category)
6760 (todo-set-top-priorities-in-file, todo-show-categories-table)
6761 (todo-sort-categories-alphabetically-or-numerically)
6762 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6763 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6764 (todo-toggle-item-header, todo-toggle-item-highlighting)
6765 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6766 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6767 (todo-unarchive-items, todo-unmark-category): New commands.
6768 (todo-absolute-file-name, todo-add-to-buffer-list)
6769 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6770 (todo-basic-insert-item, todo-category-completions)
6771 (todo-category-number, todo-category-string-matcher-1)
6772 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6773 (todo-check-format, todo-clear-matches)
6774 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6775 (todo-current-category, todo-date-string-matcher)
6776 (todo-define-insertion-command, todo-diary-expired-matcher)
6777 (todo-diary-goto-entry, todo-diary-item-p)
6778 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6779 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6780 (todo-done-item-section-p, todo-done-separator)
6781 (todo-done-string-matcher, todo-files, todo-filter-items)
6782 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6783 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6784 (todo-insert-category-line, todo-insert-item-from-calendar)
6785 (todo-insert-sort-button, todo-insert-with-overlays)
6786 (todo-insertion-command-name, todo-insertion-key-bindings)
6787 (todo-label-to-key, todo-longest-category-name-length)
6788 (todo-make-categories-list, todo-mode-external-set)
6789 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6790 (todo-modes-set-3, todo-multiple-filter-files)
6791 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6792 (todo-read-category, todo-read-date, todo-read-dayname)
6793 (todo-read-file-name, todo-read-time)
6794 (todo-reevaluate-category-completions-files-defcustom)
6795 (todo-reevaluate-default-file-defcustom)
6796 (todo-reevaluate-filelist-defcustoms)
6797 (todo-reevaluate-filter-files-defcustom)
6798 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6799 (todo-reset-done-separator, todo-reset-done-separator-string)
6800 (todo-reset-done-string, todo-reset-global-current-todo-file)
6801 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6802 (todo-reset-prefix, todo-set-categories)
6803 (todo-set-date-from-calendar, todo-set-show-current-file)
6804 (todo-set-top-priorities, todo-short-file-name)
6805 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6806 (todo-total-item-counts, todo-update-buffer-list)
6807 (todo-update-categories-display, todo-update-categories-sexp)
6808 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6809 New functions.
6810 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6811 New major modes.
6812 (todo-categories, todo-display, todo-edit, todo-faces)
6813 (todo-filtered): New defgroups.
6814 (todo-archived-only, todo-button, todo-category-string, todo-date)
6815 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6816 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6817 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6818 (todo-add-item-if-new-category, todo-always-add-time-string)
6819 (todo-categories-align, todo-categories-archived-label)
6820 (todo-categories-category-label, todo-categories-diary-label)
6821 (todo-categories-done-label, todo-categories-number-separator)
6822 (todo-categories-todo-label, todo-categories-totals-label)
6823 (todo-category-completions-files, todo-completion-ignore-case)
6824 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6825 (todo-done-separator-string, todo-done-string)
6826 (todo-files-function, todo-filter-done-items, todo-filter-files)
6827 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6828 (todo-initial-category, todo-initial-file, todo-item-mark)
6829 (todo-legacy-date-time-regexp, todo-mode-line-function)
6830 (todo-nondiary-marker, todo-number-prefix)
6831 (todo-print-buffer-function, todo-show-current-file)
6832 (todo-show-done-only, todo-show-first, todo-show-with-done)
6833 (todo-skip-archived-categories, todo-top-priorities-overrides)
6834 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6835 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6836 New defcustoms.
6837 (todo-category-done, todo-date-pattern, todo-date-string-start)
6838 (todo-diary-items-buffer, todo-done-string-start)
6839 (todo-filtered-items-buffer, todo-item-start)
6840 (todo-month-abbrev-array, todo-month-name-array)
6841 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6842 (todo-top-priorities-buffer): New defconsts.
6843 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6844 (todo-categories-with-marks, todo-category-string-face)
6845 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6846 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6847 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6848 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6849 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6850 (todo-font-lock-keywords, todo-global-current-todo-file)
6851 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6852 (todo-insertion-commands-args)
6853 (todo-insertion-commands-args-genlist)
6854 (todo-insertion-commands-names, todo-insertion-map)
6855 (todo-key-bindings-t, todo-key-bindings-t+a)
6856 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6857 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6858 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6859 (todo-visited): New variables.
6860
6861 2013-06-21 Glenn Morris <rgm@gnu.org>
6862
6863 * play/cookie1.el (cookie-apropos): Add optional display argument.
6864 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6865 (psychoanalyze-pinhead): Use cookie-doctor.
6866
6867 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6868
6869 * emacs-lisp/package.el (tar-get-file-descriptor)
6870 (tar--extract): Declare.
6871
6872 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6873
6874 Extend flymake's warning predicate to be a function (bug#14217).
6875 * progmodes/flymake.el (flymake-warning-predicate): New.
6876 (flymake-parse-line): Use it.
6877 (flymake-warning-re): Make obsolete alias to
6878 `flymake-warning-predicate'.
6879
6880 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6881
6882 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6883 (package-obsolete-list): Remove.
6884 (package-activate): Remove min-version argument. Add `force' argument.
6885 Adjust to new package-alist format.
6886 (package-mark-obsolete): Remove.
6887 (package-unpack): Force reload of the package's autoloads.
6888 (package-installed-p): Check builtins if the installed package is not
6889 recent enough.
6890 (package-initialize): Don't reset package-obsolete-list.
6891 Don't specify which package version to activate.
6892 (package-process-define-package, describe-package-1)
6893 (package-menu--generate): Adjust to new package-alist format.
6894
6895 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6896
6897 * allout-widgets.el (allout-widgets-mode-off)
6898 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6899 (allout-widgets-post-command-business)
6900 (allout-widgets-after-copy-or-kill-function)
6901 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6902 (allout-decorate-item-and-context)
6903 (allout-graphics-modification-handler): Fix typos in docstrings.
6904 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6905
6906 * cmuscheme.el (scheme-start-file): Doc fix.
6907 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6908 (scheme-input-filter): Use `string-match-p'.
6909
6910 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6911
6912 * dired-x.el: Use Dired consistently in docstrings.
6913
6914 * dired.el: Use Dired consistently in docstrings.
6915 (dired-readin, dired-mode): Use `setq-local'.
6916 (dired-switches-alist): Make defvar-local.
6917 (dired-buffers-for-dir): Use `zerop'.
6918 (dired-safe-switches-p, dired-switches-escape-p)
6919 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6920 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6921 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6922 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6923 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6924 (dired-toggle-marks, dired-mark-files-containing-regexp)
6925 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6926 (dired-flag-auto-save-files, dired-flag-backup-files):
6927 Use `looking-at-p'.
6928 (dired-mark-files-regexp, dired-build-subdir-alist):
6929 Use `string-match-p', `looking-at-p'.
6930
6931 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6932 (direct-print-region-helper): Use `string-match-p'.
6933
6934 2013-06-21 Leo Liu <sdl.web@gmail.com>
6935
6936 * comint.el (comint-redirect-results-list-from-process):
6937 Fix infinite loop.
6938
6939 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6940
6941 * net/eww.el (eww-update-header-line-format): Quote % characters.
6942
6943 2013-06-21 Glenn Morris <rgm@gnu.org>
6944
6945 * play/cookie1.el (cookie): New custom group.
6946 (cookie-file): New option.
6947 (cookie-check-file): New function.
6948 (cookie): Make it interactive. Make start and end messages optional.
6949 Interactively, display the result. Default to cookie-file.
6950 (cookie-insert): Default to cookie-file.
6951 (cookie-snarf): Make start and end messages optional.
6952 Default to cookie-file. Use with-temp-buffer.
6953 (cookie-read): Rename from read-cookie.
6954 Make start and end messages optional. Default to cookie-file.
6955 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6956 Do not autoload it.
6957 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6958 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6959
6960 2013-06-21 Leo Liu <sdl.web@gmail.com>
6961
6962 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6963
6964 2013-06-21 Glenn Morris <rgm@gnu.org>
6965
6966 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6967
6968 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6969 Daniel Hackney <dan@haxney.org>
6970
6971 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6972 Consolidate the single-file vs tarball code.
6973 (package-desc-suffix): New function.
6974 (package-desc-full-name): Don't bother inlining it.
6975 (package-load-descriptor): Return the new package-desc.
6976 (package-mark-obsolete): Remove unused arg `package'.
6977 (package-unpack): Make it work for single files as well.
6978 Make it update package-alist.
6979 (package--make-autoloads-and-stuff): Rename from
6980 package--make-autoloads-and-compile. Don't compile any more.
6981 (package--compile): New function.
6982 (package-generate-description-file): New function, extracted from
6983 package-unpack-single.
6984 (package-unpack-single): Remove.
6985 (package--with-work-buffer): Add indentation and debugging info.
6986 (package-download-single): Remove.
6987 (package-install-from-archive): Rename from package-download-tar, make
6988 it take a pkg-desc, and make it work for single files as well.
6989 (package-download-transaction): Simplify.
6990 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6991 external tar program.
6992 (package-install-from-buffer): Remove `pkg-desc' argument.
6993 Use package-tar-file-info for tar-mode buffers.
6994 (package-install-file): Simplify accordingly.
6995 (package-archive-base): Change to take a pkg-desc.
6996 * tar-mode.el (tar--check-descriptor): New function, extracted from
6997 tar-get-descriptor.
6998 (tar-get-descriptor): Use it.
6999 (tar-get-file-descriptor): New function.
7000 (tar--extract): New function, extracted from tar-extract.
7001 (tar--extract): Use it.
7002 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7003 case the summary uses non-ascii. Adjust to new calling convention of
7004 package-tar-file-info.
7005
7006 2013-06-21 Leo Liu <sdl.web@gmail.com>
7007
7008 * comint.el (comint-redirect-results-list-from-process):
7009 Fix random delay. (Bug#14681)
7010
7011 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7012
7013 * profiler.el (profiler-format-number): Use log, not log10.
7014
7015 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7016
7017 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7018
7019 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7020
7021 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7022 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7023 yet available.
7024 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7025 (AUTOGENEL): ... here.
7026 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7027 (cl--defsubst-expand): Use it.
7028
7029 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7030
7031 * subr.el (log10): Move here from C code, and declare as obsolete.
7032 All uses of (log10 X) replaced with (log X 10).
7033
7034 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7035
7036 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7037 Declare with `defvar-local'.
7038 (tabulated-list-use-header-line, tabulated-list-entries)
7039 (tabulated-list-padding, tabulated-list-printer)
7040 (tabulated-list-sort-key): Declare with `defvar-local'.
7041 (tabulated-list-init-header, tabulated-list-print-fake-header):
7042 Use `setq-local'.
7043
7044 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7045
7046 * arc-mode.el (archive-mode): Add `archive-write-file' to
7047 `write-contents-functions' also for remote files. (Bug#14652)
7048
7049 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7050
7051 * cus-edit.el (custom-commands): Fix typos.
7052 (custom-display): Fix tooltip text.
7053 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7054 Fix typos in docstrings.
7055 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7056 (custom-unlispify-menu-entry, custom-magic-value-create)
7057 (custom-add-see-also, custom-group-value-create): Use ?\s.
7058 (custom-guess-type, customize-apropos, editable-field)
7059 (custom-face-value-create): Use `string-match-p'.
7060 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7061
7062 * custom.el (custom-load-symbol): Use `string-match-p'.
7063
7064 * ansi-color.el: Convert to lexical binding.
7065 (ansi-colors): Fix URL.
7066 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7067 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7068 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7069
7070 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7071
7072 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7073
7074 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7075
7076 2013-06-19 Tom Tromey <tromey@redhat.com>
7077
7078 * net/eww.el (eww-top-url): Remove.
7079 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7080 (eww-render): Set new variables. Don't set eww-top-url.
7081 (eww-handle-link): Handle "prev", "home", and "contents".
7082 Downcase the rel text.
7083 (eww-top-url): Choose best top URL.
7084
7085 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7086
7087 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7088 relying in widget.el. Using widget.el leads to too many
7089 user interface inconsistencies.
7090 (eww-self-insert): Implement entering commands in text fields.
7091 (eww-process-text-input): New function to make text input field editing
7092 work.
7093 (eww-submit): Rewrite to use the new-style form methods.
7094 (eww-select-display): Display the correct selected item.
7095 (eww-change-select): Implement changing the select value.
7096 (eww-toggle-checkbox): Implement radio/checkboxes.
7097 (eww-update-field): Fix compilation error.
7098 (eww-tag-textarea): Implement <textarea>.
7099
7100 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7101 we don't shadow mode-specific bindings.
7102
7103 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7104 nothing to push.
7105
7106 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7107
7108 2013-06-19 Glenn Morris <rgm@gnu.org>
7109
7110 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7111
7112 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7113
7114 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7115 not needed.
7116
7117 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7118
7119 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7120
7121 * net/browse-url.el (browse-url-browser-function):
7122 `eww-browse-url' has the right calling signature, `eww' does not.
7123
7124 2013-06-19 Glenn Morris <rgm@gnu.org>
7125
7126 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7127 Only eval autoloaded macros.
7128 (byte-compile-autoload): Only give the macro warning for macros.
7129
7130 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7131 (ps-underlined-faces): Declare.
7132
7133 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7134 (speedbar-add-supported-extension): Declare.
7135
7136 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7137 Don't include a date stamp in the header of the generated file;
7138 it leads to needless differences between output files.
7139
7140 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7141
7142 * net/secrets.el (secrets-struct-secret-content-type):
7143 Replace check of introspection data by a test call of "CreateItem".
7144 Some servers do not offer introspection.
7145
7146 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7147
7148 * electric.el (electric-pair-mode): Improve interaction with
7149 electric-layout-mode.
7150 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7151 (electric-pair-syntax): Use text-mode-syntax-table in comments
7152 and strings.
7153 (electric-pair--insert): New function.
7154 (electric-pair-post-self-insert-function): Use it and
7155 electric--after-char-pos.
7156
7157 2013-06-19 Leo Liu <sdl.web@gmail.com>
7158
7159 * progmodes/octave.el (octave-help): Fix regexp.
7160
7161 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7162
7163 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7164 (shr-table-horizontal-line): Allow nil as a value, and change the
7165 default.
7166 (shr-insert-table-ruler): Respect the nil value.
7167
7168 2013-06-18 Tom Tromey <tromey@barimba>
7169
7170 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7171 New defvars.
7172 (eww-open-file): New defun.
7173 (eww-render): Initialize new variables.
7174 (eww-display-html): Handle "link" and "a".
7175 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7176 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7177 (eww-back-url): Rename from eww-previous-url.
7178 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7179 New defuns.
7180
7181 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7182
7183 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7184 Distinguish ternary operator tokens from slash symbol and slash
7185 char literal.
7186
7187 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7188
7189 Convert symbol prettification into minor mode and global minor mode.
7190
7191 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7192 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7193 (prettify-symbols--keywords): Rename from
7194 `prog-prettify-symbols-alist' and make a local defvar.
7195 (prettify-symbols--compose-symbol): Rename from
7196 `prog--prettify-font-lock-compose-symbol'.
7197 (prettify-symbols--make-keywords): Rename from
7198 `prog-prettify-font-lock-symbols-keywords' and simplify.
7199 (prog-prettify-install): Remove.
7200 (prettify-symbols-mode): New minor mode, based on
7201 `prog-prettify-install'.
7202 (turn-on-prettify-symbols-mode): New function.
7203 (global-prettify-symbols-mode): New globalized minor mode.
7204
7205 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7206 * progmodes/cfengine.el (cfengine3-mode):
7207 * progmodes/perl-mode.el (perl-mode): Don't call
7208 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7209
7210 2013-06-18 Juri Linkov <juri@jurta.org>
7211
7212 * files-x.el (modify-file-local-variable-message): New function.
7213 (modify-file-local-variable)
7214 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7215 and call `modify-file-local-variable-message' when it's non-nil.
7216 (add-file-local-variable, delete-file-local-variable)
7217 (add-file-local-variable-prop-line)
7218 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7219 and use it. (Bug#9820)
7220
7221 2013-06-18 Juri Linkov <juri@jurta.org>
7222
7223 * emulation/vi.el (vi-shell-op):
7224 * emulation/vip.el (vip-execute-com, ex-command):
7225 * emulation/viper-cmd.el (viper-exec-bang):
7226 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7227 the call of `shell-command-on-region'. (Bug#14637)
7228
7229 * simple.el (shell-command-on-region): Doc fix.
7230
7231 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7232
7233 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7234 (bug#14633).
7235
7236 2013-06-18 Glenn Morris <rgm@gnu.org>
7237
7238 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7239
7240 * newcomment.el (comment-search-forward, comment-search-backward):
7241 Doc fix. (Bug#14376)
7242
7243 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7244
7245 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7246 (buffer-face-mode-invoke): Doc fix.
7247
7248 2013-06-18 Matthias Meulien <orontee@gmail.com>
7249
7250 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7251 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7252
7253 2013-06-18 Glenn Morris <rgm@gnu.org>
7254
7255 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7256 Replace obsolete function generic-make-keywords with its expansion.
7257
7258 * progmodes/python.el (ffap-alist): Declare.
7259
7260 * textmodes/reftex.el (bibtex-mode-map): Declare.
7261
7262 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7263
7264 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7265 (package-unpack, package-unpack-single): Return the pkg-dir.
7266 (package-download-transaction): Use it to update package-alist.
7267
7268 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7269
7270 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7271 possible choice.
7272
7273 2013-06-17 Juri Linkov <juri@jurta.org>
7274
7275 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7276
7277 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7278
7279 * emacs-lisp/package.el (package-load-descriptor):
7280 Remove `with-syntax-table' call, `read' doesn't need it.
7281 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7282
7283 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7284
7285 * startup.el (command-line): Expand package name returned by
7286 `package--description-file' (bug#14639).
7287
7288 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7289
7290 * emacs-lisp/package.el (package-load-descriptor): Do not call
7291 `emacs-lisp-mode', just use its syntax table.
7292
7293 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7294
7295 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7296 `font-lock-extra-managed-props' if any prettifying keyword is added.
7297 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7298 (prog-mode): Use `setq-local'.
7299
7300 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7301
7302 * international/characters.el (standard-case-table): Set syntax of ?»
7303 and ?« to punctuation.
7304
7305 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7306
7307 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7308 Save relevant match data before calling `syntax-ppss' (bug#14595).
7309
7310 2013-06-15 Juri Linkov <juri@jurta.org>
7311
7312 * files-x.el (modify-file-local-variable-prop-line): Add local
7313 variables to the end of the existing comment on the first line.
7314 Use `file-auto-mode-skip' to skip interpreter magic line,
7315 and also skip XML declaration.
7316
7317 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7318
7319 * startup.el (package--builtin-versions): New var.
7320 (package-subdirectory-regexp): Remove.
7321 (package--description-file): Hard code its value instead.
7322
7323 * emacs-lisp/package.el: Don't activate packages older than builtin.
7324 (package-obsolete-list): Rename from package-obsolete-alist, and make
7325 it into a simple list of package-desc.
7326 (package-strip-version): Remove.
7327 (package-built-in-p): Use package--builtin-versions.
7328 (package-mark-obsolete): Simplify.
7329 (package-process-define-package): Mark it obsolete if older than the
7330 builtin version.
7331 (package-handle-response): Use line-end-position.
7332 (package-read-archive-contents, package--download-one-archive):
7333 Simplify.
7334 (package--add-to-archive-contents): Skip if older than the builtin or
7335 installed version.
7336 (package-menu-describe-package): Fix last change.
7337 (package-list-unversioned): New var.
7338 (package-menu--generate): Use it.
7339
7340 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7341 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7342 (autoload-builtin-package-versions): New variable.
7343 (autoload-generate-file-autoloads): Use them.
7344 Remove the list of autoloaded functions/macros from the
7345 (autoload...) comments.
7346
7347 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7348
7349 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7350
7351 * simple.el (line-move-partial): Don't jump to the next screen
7352 line as soon as it becomes visible. Instead, continue enlarging
7353 the vscroll until the portion of a tall screen line that's left on
7354 display is about the height of the frame's default font.
7355 (Bug#14567)
7356
7357 2013-06-15 Glenn Morris <rgm@gnu.org>
7358
7359 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7360 compilation-error-regexp-alist void, or local while let-bound.
7361
7362 * progmodes/make-mode.el (makefile-mode-syntax-table):
7363 Treat "=" as punctuation. (Bug#14614)
7364
7365 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7366
7367 * help-fns.el (describe-variable):
7368 Add extra line for permanent-local variables.
7369
7370 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7371
7372 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7373 Add export, import, library. (Bug#9164)
7374 (library): Set indent function.
7375
7376 2013-06-14 Glenn Morris <rgm@gnu.org>
7377
7378 * term/xterm.el (xterm--query):
7379 Stop after first matching handler. (Bug#14615)
7380
7381 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7382
7383 Add support for dired in saveplace.
7384 * dired.el (dired-initial-position-hook): New variable.
7385 (dired-initial-position): Call hook to place cursor position.
7386 * saveplace.el (save-place-to-alist): Add dired position.
7387 (save-place-dired-hook): New function.
7388
7389 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7390
7391 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7392 through a symbol rather than letrec.
7393
7394 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7395 (package-desc): Add `dir' field.
7396 (package-desc-full-name): New function.
7397 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7398 (package-maybe-load-descriptor): Remove.
7399 (package-load-all-descriptors): Just call package-load-descriptor.
7400 (package--disabled-p): New function.
7401 (package-desc-vers, package-desc-doc): Remove aliases.
7402 (package--dir): Remove function.
7403 (package-activate): Check if a package is disabled.
7404 (package-process-define-package): New function, extracted from
7405 define-package.
7406 (define-package): Turn into a place holder.
7407 (package-unpack-single, package-tar-file-info):
7408 Use package--description-file.
7409 (package-compute-transaction): Use package--disabled-p.
7410 (package-download-transaction): Don't call
7411 package-maybe-load-descriptor since they're all loaded anyway.
7412 (package-install): Change argument to be a pkg-desc.
7413 (package-delete): Use a single pkg-desc argument.
7414 (describe-package-1): Use package-desc-dir instead of package--dir.
7415 Use package-desc property instead of package-symbol.
7416 (package-install-button-action): Adjust accordingly.
7417 (package--push): Rewrite.
7418 (package-menu--print-info): Adjust accordingly. Change the ID format
7419 to be a pkg-desc.
7420 (package-menu-describe-package, package-menu-get-status)
7421 (package-menu--find-upgrades, package-menu-mark-upgrades)
7422 (package-menu-execute, package-menu--name-predicate):
7423 Adjust accordingly.
7424 * startup.el (package--description-file): New function.
7425 (command-line): Use it.
7426 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7427 Use package-desc-version.
7428
7429 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7430 (byte-compile-preprocess): Use it.
7431 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7432 can't quite recognize.
7433 (byte-compile-add-to-list): Remove.
7434 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7435 (cconv-closure-convert): Add assertion.
7436
7437 * emacs-lisp/map-ynp.el: Use lexical-binding.
7438 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7439 Factor out some repeated code.
7440
7441 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7442
7443 * subr.el (with-eval-after-load): New macro.
7444 (eval-after-load): Allow form to be a function.
7445 take advantage of lexical-binding.
7446 (do-after-load-evaluation): Use dolist and adjust to new format.
7447 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7448
7449 2013-06-13 Juri Linkov <juri@jurta.org>
7450
7451 * replace.el (perform-replace): Display "symbol " and other search
7452 modes from `isearch-message-prefix' in the *Help* buffer.
7453
7454 * isearch.el (isearch-query-replace): Add " symbol" and other
7455 possible search modes from `isearch-message-prefix' to the prompt.
7456 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7457 when reading a regexp to collect.
7458
7459 2013-06-13 Juri Linkov <juri@jurta.org>
7460
7461 * isearch.el (word-search-regexp): Match whitespace if the search
7462 string begins or ends in whitespace. The LAX arg is applied to
7463 both ends of the search string. Use `regexp-quote' and explicit
7464 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7465 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7466 boundaries are replaced with symbol boundaries, and characters
7467 between symbols match non-word non-symbol syntax. (Bug#14602)
7468
7469 2013-06-13 Juri Linkov <juri@jurta.org>
7470
7471 * isearch.el (isearch-del-char): Don't exceed the length of
7472 `isearch-string' by the prefix arg. (Bug#14563)
7473
7474 2013-06-13 Juri Linkov <juri@jurta.org>
7475
7476 * isearch.el (isearch-yank-word, isearch-yank-line)
7477 (isearch-char-by-name, isearch-quote-char)
7478 (isearch-printing-char, isearch-process-search-char):
7479 Add optional count prefix arg. (Bug#14563)
7480
7481 * international/isearch-x.el
7482 (isearch-process-search-multibyte-characters):
7483 Add optional count prefix arg.
7484
7485 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7486
7487 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7488 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7489 lexical-binding.
7490
7491 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7492
7493 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7494
7495 2013-06-13 Glenn Morris <rgm@gnu.org>
7496
7497 * startup.el (tty-handle-args):
7498 Don't just discard "--" and anything after. (Bug#14608)
7499
7500 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7501
7502 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7503
7504 Implement changes in Secret Service API. Make it backward compatible.
7505 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7506 (secrets-create-item): Use it. Prefix properties with interface.
7507
7508 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7509
7510 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7511 (term-emulate-terminal): Respect term-suppress-hard-newline.
7512
7513 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7514
7515 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7516 Only remove a `thumb-file' overlay. (Bug#14548)
7517
7518 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7519
7520 * mail/reporter.el (reporter-submit-bug-report):
7521 Handle missing package-name. (Bug#14600)
7522
7523 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7524
7525 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7526 (reftex-citation-prompt, reftex-default-bibliography)
7527 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7528 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7529 (reftex-bib-sort-author, reftex-bib-sort-year)
7530 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7531 (reftex-extract-bib-entries-from-thebibliography)
7532 (reftex-get-bibkey-default, reftex-get-bib-names)
7533 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7534 (reftex-format-bib-entry, reftex-parse-bibitem)
7535 (reftex-format-bibitem, reftex-do-citation)
7536 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7537 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7538 (reftex-insert-bib-matches, reftex-format-citation)
7539 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7540 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7541 existing comments into docstrings.
7542
7543 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7544
7545 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7546
7547 2013-06-12 Andreas Schwab <schwab@suse.de>
7548
7549 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7550 for auto-save files.
7551
7552 2013-06-12 Glenn Morris <rgm@gnu.org>
7553
7554 * ido.el (ido-delete-ignored-files): Remove.
7555 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7556 Go back to calling ido-ignore-item-p directly.
7557
7558 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7559
7560 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7561
7562 * ido.el (ido-delete-ignored-files): New function,
7563 split from ido-make-file-list-1.
7564 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7565 (ido-make-file-list-1): Use ido-delete-ignored-files.
7566
7567 2013-06-12 Leo Liu <sdl.web@gmail.com>
7568
7569 * progmodes/octave.el (inferior-octave-startup)
7570 (inferior-octave-completion-table)
7571 (inferior-octave-track-window-width-change)
7572 (octave-eldoc-function-signatures, octave-help)
7573 (octave-find-definition): Use single quoted strings.
7574 (inferior-octave-startup-args): Change default value.
7575 (inferior-octave-startup): Do not hard code "-i" and
7576 "--no-line-editing".
7577 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7578 (inferior-octave-directory-tracker): Use it.
7579 (octave-goto-function-definition): Robustify.
7580 (octave-help): Support highlighting operators in 'See also'.
7581 (octave-find-definition): Find subfunctions only in Octave mode.
7582
7583 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7584
7585 * help-fns.el (help-fns--compiler-macro): If the handler function is
7586 named, then put a link to it.
7587 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7588 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7589 (cl-typep): Use it.
7590 (cl-eval-when): Simplify debug spec.
7591 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7592 compiler-macro function instead of setting `compiler-macro-file'.
7593
7594 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7595
7596 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7597 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7598
7599 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7600 Daniel Hackney <dan@haxney.org>
7601
7602 First part of Daniel Hackney's patch to package.el.
7603 * emacs-lisp/package.el: Use defstruct.
7604 (package-desc): New, main struct.
7605 (package--bi-desc, package--ac-desc): New structs, used to describe the
7606 format in external files.
7607 (package-desc-vers): Replace with package-desc-version accessor.
7608 (package-desc-doc): Replace with package-desc-summary accessor.
7609 (package-activate-1): Remove `package' arg since the pkg-vec now
7610 includes the name.
7611 (define-package): Use package-desc-from-define.
7612 (package-unpack-single): Change file-name arg to be a symbol.
7613 (package--add-to-archive-contents): Use package-desc-create and new
7614 accessor functions to package--ac-desc.
7615 (package-buffer-info, package-tar-file-info): Return a package-desc.
7616 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7617 arg to be a package-desc.
7618 (package-install-file): Adjust accordingly. Use \' to match EOS.
7619 (package--from-builtin): New function.
7620 (describe-package-1, package-menu--generate): Use it.
7621 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7622 (package-generate-autoloads): Idem and return the name of the file.
7623 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7624 Change pkg-info arg to be a package-desc.
7625 Use package-make-ac-desc.
7626 (package-upload-file): Use \' to match EOS.
7627 * finder.el (finder-compile-keywords): Use package-make-builtin.
7628
7629 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7630
7631 * vc/vc.el (vc-deduce-fileset): Change error message.
7632 (vc-read-backend): New function.
7633 (vc-next-action): Use it.
7634
7635 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7636
7637 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7638 (prolog-font-lock-keywords): Use regexp-opt instead.
7639 Don't manually highlight strings.
7640 (prolog-mode-variables): Simplify comment-start-skip.
7641 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7642
7643 * emacs-lisp/generic.el (generic--normalise-comments)
7644 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7645 (generic-mode-set-comments): Use them.
7646 (generic-bracket-support): Use setq-local.
7647 (generic-make-keywords-list): Declare obsolete.
7648
7649 2013-06-11 Glenn Morris <rgm@gnu.org>
7650
7651 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7652 Prettify after setting font-lock-defaults. (Bug#14574)
7653
7654 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7655
7656 * replace.el (query-replace, occur-read-regexp-defaults-function)
7657 (replace-search):
7658 * subr.el (declare-function, number-sequence, local-set-key)
7659 (substitute-key-definition, locate-user-emacs-file)
7660 (with-silent-modifications, split-string, eval-after-load):
7661 Fix typos, remove unneeded backslashes and reflow some docstrings.
7662
7663 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7664
7665 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7666 default for Elisp files.
7667
7668 2013-06-11 Glenn Morris <rgm@gnu.org>
7669
7670 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7671 although define-derived-mode was doing this anyway. (Bug#14583)
7672
7673 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7674
7675 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7676 Fix make-variable-buffer-local call to refer to the correct variable.
7677
7678 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7679
7680 * eshell/em-term.el (eshell-visual-commands)
7681 (eshell-visual-subcommands, eshell-visual-options):
7682 Add summary line to docstrings. Add cross-references.
7683
7684 2013-06-10 Glenn Morris <rgm@gnu.org>
7685
7686 * epa.el (epa-read-file-name): New function. (Bug#14510)
7687 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7688
7689 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7690
7691 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7692 output redirection to be ignored with visual commands.
7693
7694 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7695
7696 * eshell/em-term.el (eshell-visual-command-p): New function.
7697 (eshell-term-initialize): Move long lambda to separate function
7698 eshell-visual-command-p.
7699 * eshell/em-dirs.el (eshell-dirs-initialise):
7700 * eshell/em-script.el (eshell-script-initialize):
7701 Add missing #' to lambda.
7702
7703 2013-06-08 Leo Liu <sdl.web@gmail.com>
7704
7705 * progmodes/octave.el (octave-add-log-current-defun): New function.
7706 (octave-mode): Set add-log-current-defun-function.
7707 (octave-goto-function-definition): Do not move point if not found.
7708 (octave-find-definition): Enhance to try subfunctions first.
7709
7710 2013-06-08 Glenn Morris <rgm@gnu.org>
7711
7712 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7713 (byte-compile-backward-char, byte-compile-backward-word):
7714 Improve previous change, to handle non-explicit nil.
7715
7716 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7717
7718 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7719 (smie--opener/closer-at-point): New function.
7720 (smie--matching-block-data): Use it. Don't match from right after an
7721 opener or right before a closer. Obey smie-blink-matching-inners.
7722 Don't signal a mismatch for repeated inners like "switch..case..case".
7723
7724 2013-06-07 Leo Liu <sdl.web@gmail.com>
7725
7726 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7727 to t. (Bug#14303)
7728 (octave-function-header-regexp): Fix. (Bug#14570)
7729 (octave-help-mode-finish-hook, octave-help-mode-finish):
7730 Remove. Just use temp-buffer-show-hook.
7731
7732 * newcomment.el (comment-search-backward): Revert last change.
7733 (Bug#14434)
7734
7735 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7736
7737 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7738
7739 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7740 through xargs, to avoid failure due to MS-Windows limitations on
7741 command-line length.
7742
7743 2013-06-06 Glenn Morris <rgm@gnu.org>
7744
7745 * font-lock.el (lisp-font-lock-keywords-2):
7746 Treat user-error like error.
7747
7748 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7749 (byte-compile-backward-char, byte-compile-backward-word):
7750 Handle explicit nil arguments. (Bug#14565)
7751
7752 2013-06-05 Alan Mackenzie <acm@muc.de>
7753
7754 * isearch.el (isearch-allow-prefix): New user option.
7755 (isearch-other-meta-char): Don't exit isearch when a prefix
7756 argument is typed whilst `isearch-allow-prefix' is non-nil.
7757 (Bug#9706)
7758
7759 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7760
7761 * autorevert.el (auto-revert-notify-handler): Use memq.
7762 Hide assertion failure.
7763
7764 * skeleton.el: Use cl-lib.
7765 (skeleton-further-elements): Use defvar-local.
7766 (skeleton-insert): Use cl-progv.
7767
7768 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7769
7770 * progmodes/prog-mode.el (prog-prettify-symbols)
7771 (prog-prettify-install): Update docstrings.
7772
7773 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7774
7775 * simple.el: Move all the prog-mode code to prog-mode.el.
7776 * progmodes/prog-mode.el: New file.
7777 * loadup.el: Add prog-mode.el.
7778
7779 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7780
7781 * simple.el (prog-prettify-symbols): Add version.
7782 (prog-prettify-install): Add convenience function to prettify symbols.
7783
7784 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7785 (perl--augmented-font-lock-keywords-1)
7786 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7787 variables and use it.
7788
7789 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7790 (cfengine3-mode): Remove unneeded variable and use it.
7791
7792 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7793 (lisp--augmented-font-lock-keywords-1)
7794 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7795 Remove unneeded variables and use it.
7796
7797 2013-06-05 João Távora <joaotavora@gmail.com>
7798
7799 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7800 to point when opening the connection. (Bug#14380)
7801
7802 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7803
7804 * subr.el (load-history-regexp, load-history-filename-element)
7805 (eval-after-load, after-load-functions, do-after-load-evaluation)
7806 (eval-next-after-load, display-delayed-warnings)
7807 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7808 definition of save-match-data.
7809 (overriding-local-map): Remove accidental obsolescence declaration.
7810
7811 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7812
7813 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7814
7815 Generalize symbol prettify support to prog-mode and implement it
7816 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7817 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7818 (prog--prettify-font-lock-compose-symbol)
7819 (prog-prettify-font-lock-symbols-keywords): New variables and
7820 functions to support symbol prettification.
7821 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7822 (lisp--augmented-font-lock-keywords-1)
7823 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7824 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7825 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7826 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7827 Implement prettify of -> => :: strings.
7828 * progmodes/perl-mode.el (perl-prettify-symbols)
7829 (perl--font-lock-compose-symbol)
7830 (perl--font-lock-symbols-keywords): Move to prog-mode.
7831 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7832 (perl-font-lock-keywords-1)
7833 (perl-font-lock-keywords-2): Remove explicit prettify support.
7834 (perl--augmented-font-lock-keywords)
7835 (perl--augmented-font-lock-keywords-1)
7836 (perl--augmented-font-lock-keywords-2, perl-mode):
7837 Implement prettify support.
7838
7839 2013-06-05 Leo Liu <sdl.web@gmail.com>
7840
7841 Re-implement smie matching block highlight using
7842 show-paren-data-function. (Bug#14395)
7843 * emacs-lisp/smie.el (smie-matching-block-highlight)
7844 (smie--highlight-matching-block-overlay)
7845 (smie--highlight-matching-block-lastpos)
7846 (smie-highlight-matching-block)
7847 (smie-highlight-matching-block-mode): Remove.
7848 (smie--matching-block-data-cache): New variable.
7849 (smie--matching-block-data): New function.
7850 (smie-setup): Use smie--matching-block-data for
7851 show-paren-data-function.
7852
7853 * progmodes/octave.el (octave-mode-menu): Fix.
7854 (octave-find-definition): Skip garbage lines.
7855
7856 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7857
7858 Fix compilation error with simultaneous dynamic+lexical scoping.
7859 Add warning when a defvar appears after the first let-binding.
7860 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7861 (byte-compile-close-variables): Initialize it.
7862 (byte-compile--declare-var): New function.
7863 (byte-compile-file-form-defvar)
7864 (byte-compile-file-form-define-abbrev-table)
7865 (byte-compile-file-form-custom-declare-variable): Use it.
7866 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7867 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7868 (byte-compile-bind): Handle dynamic bindings that shadow
7869 lexical bindings.
7870 (byte-compile-unbind): Make arg non-optional.
7871 (byte-compile-let): Simplify.
7872 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7873 (cconv--analyse-function, cconv-analyse-form): Populate it.
7874 Protect byte-compile-bound-variables to limit the scope of defvars.
7875 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7876 Remove unneeded rule for `declare'.
7877
7878 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7879 so as to avoid depending on cl-adjoin at run-time.
7880 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7881
7882 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7883 (macroexp--warn-and-return): Use it.
7884
7885 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7886
7887 * lisp/subr.el: Convert to lexical binding.
7888 (overriding-local-map): Make obsolete.
7889 (add-to-list): Doc fix. Add compiler macro.
7890 (read-key): Swap values of local maps.
7891
7892 2013-06-05 Leo Liu <sdl.web@gmail.com>
7893
7894 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7895
7896 2013-06-04 Leo Liu <sdl.web@gmail.com>
7897
7898 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7899 (compilation-auto-jump): Suppress the "Mark set" message to give
7900 way to exit message.
7901
7902 2013-06-04 Alan Mackenzie <acm@muc.de>
7903
7904 Remove faulty optimisation from indentation calculation.
7905 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7906 search limit based on 2000 characters back from indent-point.
7907
7908 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7909
7910 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7911
7912 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7913
7914 * emacs-lisp/lisp.el: Use lexical-binding.
7915 (lisp--local-variables-1, lisp--local-variables): New functions.
7916 (lisp--local-variables-completion-table): New var.
7917 (lisp-completion-at-point): Use it complete let-bound vars.
7918
7919 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7920 eagerly (bug#14422).
7921
7922 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7923
7924 * autorevert.el (auto-revert-notify-enabled)
7925 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7926 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7927 (auto-revert-notify-handler): Handle also gfilenotify.
7928
7929 * subr.el (file-notify-handle-event): New defun. Replacing ...
7930 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7931 Remove.
7932
7933 2013-06-03 Juri Linkov <juri@jurta.org>
7934
7935 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7936 `M-s h .'. (Bug#14427)
7937
7938 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7939 command `hi-lock-face-symbol-at-point'.
7940 (hi-lock-face-symbol-at-point): New command.
7941 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7942 (hi-lock-menu): Add `highlight-symbol-at-point'.
7943 (hi-lock-mode): Doc fix.
7944
7945 * isearch.el (isearch-forward-symbol-at-point): New command.
7946 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7947 (isearch-highlight-regexp): Add a regexp which matches
7948 words/symbols for word/symbol mode.
7949
7950 * subr.el (find-tag-default-bounds): New function with the body
7951 mostly moved from `find-tag-default'.
7952 (find-tag-default): Move most code to `find-tag-default-bounds',
7953 call it and apply `buffer-substring-no-properties' afterwards.
7954
7955 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7956
7957 * eshell/em-term.el (eshell-term-initialize):
7958 Use `cl-intersection' rather than `intersection'.
7959
7960 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7961
7962 * vc/log-view.el: Doc fix.
7963 (log-view-mode-map): Copy keymap from `special-mode-map'.
7964
7965 2013-06-02 Eric Ludlam <zappo@gnu.org>
7966
7967 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7968 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7969 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7970 (eieio-unbound, eieio-default-superclass)
7971 (eieio--define-field-accessors, method-static, method-before)
7972 (method-primary, method-after, method-num-lists)
7973 (method-generic-before, method-generic-primary)
7974 (method-generic-after, method-num-slots)
7975 (eieio-specialized-key-to-generic-key)
7976 (eieio--check-type, class-v, class-p)
7977 (eieio-class-name, define-obsolete-function-alias)
7978 (eieio-class-parents-fast, eieio-class-children-fast)
7979 (same-class-fast-p, class-constructor, generic-p)
7980 (generic-primary-only-p, generic-primary-only-one-p)
7981 (class-option-assoc, class-option, eieio-object-p)
7982 (class-abstract-p, class-method-invocation-order)
7983 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7984 (eieio-class-un-autoload, eieio-defclass)
7985 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7986 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7987 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7988 (eieio-defgeneric-reset-generic-form)
7989 (eieio-defgeneric-form-primary-only)
7990 (eieio-defgeneric-reset-generic-form-primary-only)
7991 (eieio-defgeneric-form-primary-only-one)
7992 (eieio-defgeneric-reset-generic-form-primary-only-one)
7993 (eieio-unbind-method-implementations)
7994 (eieio--defmethod, eieio--typep)
7995 (eieio-perform-slot-validation, eieio-validate-slot-value)
7996 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7997 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7998 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7999 (eieio-slot-name-index, eieio-class-slot-name-index)
8000 (eieio-set-defaults, eieio-initarg-to-attribute)
8001 (eieio-attribute-to-initarg, eieio-c3-candidate)
8002 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8003 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8004 (eieio-class-precedence-list, eieio-generic-call-methodname)
8005 (eieio-generic-call-arglst, eieio-generic-call-key)
8006 (eieio-generic-call-next-method-list)
8007 (eieio-pre-method-execution-functions, eieio-generic-call)
8008 (eieio-generic-call-primary-only, eieiomt-method-list)
8009 (eieiomt-optimizing-obarray, eieiomt-install)
8010 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8011 (eieio-generic-form, eieio-defmethod, make-obsolete)
8012 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8013 (defclass): Remove `eval-and-compile' from macro.
8014 (call-next-method, shared-initialize): Instead of using
8015 `scoped-class' variable, use new eieio--scoped-class, and
8016 eieio--with-scoped-class.
8017 (initialize-instance): Rename local variable 'scoped-class' to
8018 'this-class' to remove ambiguitity from old global.
8019
8020 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8021 eieio.el.
8022 (eieio--scoped-class-stack): New variable.
8023 (eieio--scoped-class): New fcn.
8024 (eieio--with-scoped-class): New scoping macro.
8025 (eieio-defclass): Use pushnew instead of add-to-list.
8026 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8027 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8028 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8029 `scoped-class' variable, use new eieio--scoped-class, and
8030 eieio--with-scoped-class.
8031
8032 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8033
8034 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8035
8036 * eshell/esh-ext.el (eshell-external-command): Pass args to
8037 `eshell-find-interpreter'.
8038 (eshell-find-interpreter): Add new second parameter ARGS.
8039
8040 * eshell/em-script.el (eshell-script-initialize): Add second arg
8041 to the function added as MATCH to `eshell-interpreter-alist'.
8042
8043 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8044 the function added as MATCH to `eshell-interpreter-alist'.
8045
8046 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8047 (eshell-visual-options): New defcustom.
8048 (eshell-escape-control-x): Adapt docstring.
8049 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8050 `eshell-visual-options' in addition to `eshell-visual-commands'.
8051 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8052
8053 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8054
8055 * progmodes/python.el (python-indent-block-enders): Add break,
8056 continue and raise keywords.
8057
8058 2013-06-01 Glenn Morris <rgm@gnu.org>
8059
8060 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8061
8062 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8063 * progmodes/cc-cmds.el (delete-forward-p):
8064 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8065 * progmodes/cc-engine.el (buffer-syntactic-context):
8066 * progmodes/cc-fonts.el (face-property-instance):
8067 * progmodes/cc-mode.el (set-keymap-parents):
8068 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8069 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8070 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8071 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8072 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8073
8074 * progmodes/cc-vars.el (other): Emacs has this widget since
8075 at least 21.1, so don't (re)define it.
8076
8077 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8078 Replace the obsolete alias pcomplete-arg-quote-list.
8079
8080 2013-06-01 Leo Liu <sdl.web@gmail.com>
8081
8082 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8083 punctuation syntax.
8084 (inferior-octave-minimal-columns)
8085 (inferior-octave-last-column-width): New variables.
8086 (inferior-octave-track-window-width-change): New function.
8087 (inferior-octave-mode): Adjust column width so that Octave output,
8088 for example from 'ls', can fit into the window nicely.
8089
8090 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8091
8092 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8093 Highlight expansions inside regexp literals.
8094
8095 2013-05-31 Glenn Morris <rgm@gnu.org>
8096
8097 * obsolete/sym-comp.el (symbol-complete):
8098 Replace obsolete completion-annotate-function.
8099
8100 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8101
8102 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8103
8104 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8105 New function, checks if point is inside a literal that allows
8106 expression expansion.
8107 (ruby-syntax-propertize-expansion): Use it.
8108 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8109 around the body.
8110
8111 2013-05-30 Juri Linkov <juri@jurta.org>
8112
8113 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8114 to "\M-si".
8115 (isearch-invisible): New variable.
8116 (isearch-forward): Doc fix.
8117 (isearch-mode): Set `isearch-invisible'
8118 to the value of `search-invisible'.
8119 (isearch-toggle-case-fold): Doc fix.
8120 (isearch-toggle-invisible): New command.
8121 (isearch-query-replace): Let-bind `search-invisible'
8122 to the value of `isearch-invisible'.
8123 (isearch-search): Use `isearch-invisible' instead of
8124 `search-invisible'. Let-bind `search-invisible'
8125 to the value of `isearch-invisible'. (Bug#11378)
8126
8127 2013-05-30 Juri Linkov <juri@jurta.org>
8128
8129 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8130 call when `query-flag' is nil and `search-invisible' is non-nil.
8131 (Bug#11746)
8132
8133 2013-05-30 Glenn Morris <rgm@gnu.org>
8134
8135 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8136
8137 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8138 (cc-require): Suppress spurious "noruntime" warnings.
8139 (cc-require-when-compile): Use fboundp, for sake of compiler.
8140
8141 * progmodes/cc-mode.el: Move load of cc-vars before that of
8142 cc-langs (which in turn loads cc-vars), to quieten compiler.
8143
8144 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8145
8146 * paren.el: Simplify the code.
8147 (show-paren-mode): Always start the timer.
8148 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8149 (show-paren--overlay, show-paren--overlay-1): Rename from
8150 show-paren-overlay and show-paren-overlay-1, and initialize to an
8151 overlay rather than to nil.
8152 (show-paren-function): Misc cleanup and simplifications.
8153
8154 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8155
8156 * paren.el (show-paren-data-function): New hook.
8157 (show-paren--default): New function, extracted from show-paren-function.
8158 (show-paren-function): Use show-paren-data-function.
8159
8160 2013-05-30 Glenn Morris <rgm@gnu.org>
8161
8162 * ielm.el (ielm-map, ielm-complete-symbol):
8163 Use completion-at-point rather than obsolete functions.
8164 (inferior-emacs-lisp-mode): Doc fix.
8165 Set completion-at-point-functions, rather than
8166 comint-dynamic-complete-functions.
8167
8168 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8169 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8170 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8171
8172 * image.el (image-animated-p): Tweak definition.
8173
8174 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8175 (rlogin-process-connection-type): Tweak default. Add set-after.
8176 (rlogin-host): Doc fix.
8177 (rlogin): Tweak prompt.
8178 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8179
8180 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8181 * progmodes/tcl.el (inferior-tcl-mode-map):
8182 Use completion-at-point rather than obsolete alias.
8183
8184 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8185
8186 * minibuffer.el (read-file-name-completion-ignore-case):
8187 Move before completion--in-region, for eager macro expansion.
8188
8189 2013-05-29 Juri Linkov <juri@jurta.org>
8190
8191 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8192 for total count of matching lines. Add `global-matches' for total
8193 count of matches. Rename `matches' to `lines' for count of
8194 matching lines. Add `matches' for count of matches.
8195 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8196 to `prev-line' for line number of prev match endpt.
8197 Increment `matches' for every match. Print the number of
8198 matching lines in the header.
8199 (occur-context-lines): Rename `lines' to `curr-line'.
8200 Rename `prev-lines' to `prev-line'. (Bug#14017)
8201
8202 2013-05-29 Juri Linkov <juri@jurta.org>
8203
8204 * replace.el (perform-replace): Add `skip-read-only-count',
8205 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8206 Increment them for corresponding conditions and report the number
8207 of skipped occurrences in the final message. (Bug#11746)
8208 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8209 (replace-string, replace-regexp): Doc fix.
8210
8211 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8212
8213 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8214
8215 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8216 prog-mode-map (bug#14504).
8217
8218 2013-05-29 Leo Liu <sdl.web@gmail.com>
8219
8220 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8221 (octave-help): Small simplification.
8222
8223 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8224 off the highlight first.
8225
8226 2013-05-29 Glenn Morris <rgm@gnu.org>
8227
8228 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8229 Handle idlwave-last-system-routine-info-cons-cell being nil.
8230
8231 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8232 (idlwave-write-paths): Simplify via with-temp-buffer.
8233
8234 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8235 * emulation/cua-rect.el: Also load cua-base at run time.
8236
8237 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8238 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8239 (cperl-imenu-on-info): Require imenu.
8240
8241 2013-05-28 Alan Mackenzie <acm@muc.de>
8242
8243 Handle "capitalised keywords" correctly.
8244 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8245
8246 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8247
8248 * eshell/em-unix.el: Add -r option to cp.
8249
8250 2013-05-28 Glenn Morris <rgm@gnu.org>
8251
8252 * vc/vc-arch.el (vc-exec-after): Declare.
8253 (vc-switches): Autoload.
8254 * vc/vc-bzr.el: No need to require vc when compiling.
8255 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8256 (vc-resynch-buffer, vc-dir-refresh): Declare.
8257 (vc-setup-buffer, vc-switches): Autoload.
8258 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8259 (vc-resynch-buffer): Declare.
8260 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8261 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8262 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8263 (grep-read-regexp, grep-read-files, grep-expand-template)
8264 (vc-dir-refresh): Declare.
8265 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8266 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8267 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8268 * vc/vc-mtn.el (vc-exec-after): Declare.
8269 (vc-switches): Autoload.
8270 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8271 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8272 (vc-file-tree-walk): Declare.
8273 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8274 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8275 (vc-tag-precondition, vc-rename-master): Autoload.
8276 * vc/vc-svn.el (vc-exec-after): Declare.
8277 (vc-switches, vc-setup-buffer): Autoload.
8278 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8279 Autoload.
8280 (vc-resynch-buffer): Declare.
8281
8282 * obsolete/fast-lock.el (byte-compile-warnings):
8283 Don't warn about obsolete features in this obsolete file.
8284
8285 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8286 Move definition before use.
8287
8288 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8289 (dun-unix-verbs): Remove dun-zippy.
8290 (dun-zippy): Remove function.
8291
8292 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8293
8294 2013-05-27 Juri Linkov <juri@jurta.org>
8295
8296 * replace.el (replace-search): New function with code moved out
8297 from `perform-replace'.
8298 (replace-highlight, replace-dehighlight): Move function definitions
8299 up closer to `replace-search'. (Bug#11746)
8300
8301 2013-05-27 Juri Linkov <juri@jurta.org>
8302
8303 * replace.el (perform-replace): Ignore invisible matches.
8304 In addition to checking `query-replace-skip-read-only', also
8305 filter out matches by calling `run-hook-with-args-until-failure'
8306 on `isearch-filter-predicates', and also check `search-invisible'
8307 for t or call `isearch-range-invisible'.
8308 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8309
8310 2013-05-27 Juri Linkov <juri@jurta.org>
8311
8312 * isearch.el (isearch-filter-predicates): Rename from
8313 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8314 (isearch-message-prefix): Display text from the property
8315 `isearch-message-prefix' of the currently active filters.
8316 (isearch-search): Don't compare `isearch-filter-predicate' with
8317 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8318 on `isearch-filter-predicates'. Also check `search-invisible' for t
8319 or call `isearch-range-invisible'.
8320 (isearch-filter-visible): Make obsolete.
8321 (isearch-lazy-highlight-search):
8322 Call `run-hook-with-args-until-failure' on
8323 `isearch-filter-predicates' and use `isearch-range-invisible'.
8324
8325 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8326 `isearch-filter-predicates' instead of `funcall'ing
8327 `isearch-filter-predicate'.
8328 (Info-mode): Set `Info-isearch-filter' to
8329 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8330
8331 * dired-aux.el (dired-isearch-filter-predicate-orig):
8332 Remove variable.
8333 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8334 (dired-isearch-filenames-end): Add and remove
8335 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8336 instead of changing the value of `isearch-filter-predicate'.
8337 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8338 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8339 Put property `isearch-message-prefix' to "filename " on
8340 `dired-isearch-filter-filenames'.
8341
8342 * wdired.el (wdired-change-to-wdired-mode):
8343 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8344 locally instead of changing `isearch-filter-predicate'.
8345 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8346
8347 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8348
8349 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8350 return the commit hash (Bug#14459). Also set the
8351 `vc-git-detached' property.
8352 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8353 (vc-git-mode-line-string): Use the same help-echo format whether
8354 in detached mode or not, because we know the actual revision now.
8355 When in detached mode, shorten the revision to 7 chars.
8356
8357 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8358
8359 * emacs-lisp/easy-mmode.el (define-minor-mode):
8360 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8361 mode hook and provide a docstring.
8362
8363 2013-05-27 Alan Mackenzie <acm@muc.de>
8364
8365 Remove spurious syntax-table text properties inserted by C-y.
8366 * progmodes/cc-mode.el (c-after-change): Also clear hard
8367 syntax-table property with value nil.
8368
8369 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8370
8371 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8372 when reading the events; the buffer layout shall not be changed.
8373
8374 2013-05-27 Leo Liu <sdl.web@gmail.com>
8375
8376 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8377 New variable.
8378 (inferior-octave-directory-tracker): Automatically re-sync
8379 default-directory.
8380 (octave-help): Improve handling of 'See also'.
8381
8382 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8383
8384 * doc-view.el: Minor naming convention tweaks.
8385 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8386
8387 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8388 even if there's no `display' property yet (bug#14435).
8389
8390 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8391
8392 * subr.el (unmsys--file-name): Rename from reveal-filename.
8393
8394 * Makefile.in (custom-deps, finder-data, autoloads)
8395 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8396 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8397 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8398
8399 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8400
8401 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8402 error-completion on the first 2 args of condition-case (bug#14446).
8403 Don't burp at EOB.
8404
8405 2013-05-25 Leo Liu <sdl.web@gmail.com>
8406
8407 * comint.el (comint-previous-matching-input): Do not flood the
8408 *Messages* buffer with trivial messages.
8409
8410 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8411
8412 * progmodes/flymake.el (flymake-nop): Don't return a string.
8413 (flymake-set-at): Fix typo.
8414
8415 * simple.el (read--expression): New function, extracted from
8416 eval-expression. Set completion-at-point-functions (bug#14465).
8417 (eval-expression, eval-minibuffer): Use it.
8418
8419 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8420
8421 * progmodes/flymake.el (flymake-save-buffer-in-file)
8422 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8423 (flymake-selected-frame, flymake-log, flymake-ins-after)
8424 (flymake-set-at, flymake-get-buildfile-from-cache)
8425 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8426 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8427 Refine the doc string.
8428 (flymake-get-file-name-mode-and-masks): Reformat.
8429 (flymake-get-real-file-name-function): Fix a minor bug.
8430
8431 2013-05-24 Juri Linkov <juri@jurta.org>
8432
8433 * progmodes/grep.el (grep-mode-font-lock-keywords):
8434 Support =linenumber= format used by git-grep for lines with
8435 function names. (Bug#13549)
8436
8437 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8438
8439 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8440 0 after a semi-colon; it works better for smie-auto-fill.
8441 (octave--indent-new-comment-line): New function.
8442 (octave-indent-new-comment-line): Use it (indirectly).
8443 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8444 modify comment-line-break-function.
8445
8446 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8447 (smie-setup): Use add-function to set it.
8448
8449 2013-05-24 Sam Steingold <sds@gnu.org>
8450
8451 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8452 argument (before the `interactive' argument).
8453
8454 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8455
8456 * image-mode.el (image-mode-winprops): Add winprops to
8457 image-mode-winprops-alist before running
8458 image-mode-new-window-functions.
8459 * doc-view.el (doc-view-new-window-function): Don't delay
8460 doc-view-goto-page via timers (bug#14435).
8461
8462 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8463
8464 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8465 (doc-view-desktop-save-buffer): New function.
8466 (doc-view-restore-desktop-buffer): New function.
8467 (desktop-buffer-mode-handlers):
8468 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8469 handler.
8470 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8471 `desktop-save-buffer' function.
8472
8473 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8474
8475 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8476 (tramp-gvfs-file-name-handler): Raise a user error when
8477 `tramp-gvfs-enabled' is nil.
8478 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8479 Do not raise a user error when loading package. (Bug#14447)
8480
8481 * net/xesam.el: Move to obsolete/.
8482
8483 2013-05-24 Glenn Morris <rgm@gnu.org>
8484
8485 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8486
8487 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8488
8489 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8490 (Info-find-node, Man-getpage-in-background): Declare.
8491
8492 * mail/unrmail.el (unrmail):
8493 Replace obsolete detect-coding-with-priority.
8494
8495 * net/socks.el (socks-split-string): Use this rather than split-string.
8496 (socks-nslookup-host): Update for above change.
8497 (dynamic-choice, s5-dynamic-choice-match)
8498 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8499 Comment out unused code.
8500
8501 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8502 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8503 (gud-tooltip-echo-area): Make obsolete.
8504 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8505
8506 * progmodes/js.el (js--optimize-arglist): Declare.
8507
8508 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8509
8510 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8511 (ediff-window-C): Declare.
8512
8513 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8514 Tweak requires to silence compiler.
8515
8516 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8517 (he-search-string, he-tried-table, he-expand-list)
8518 (he-init-string, he-string-member, he-substitute-string)
8519 (he-reset-string): Declare.
8520
8521 * obsolete/options.el (list-options): Use custom-variable-p,
8522 rather than obsolete alias.
8523
8524 2013-05-23 Sam Steingold <sds@gnu.org>
8525
8526 * simple.el (shell-command-on-region): Pass the `replace' argument
8527 down to `call-process-region' to comply with the doc as reported on
8528 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8529
8530 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8531
8532 * emacs-lisp/smie.el (smie-indent-forward-token)
8533 (smie-indent-backward-token): Handle string tokens (bug#14381).
8534
8535 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8536
8537 * ielm.el (ielm-menu): New menu.
8538 (inferior-emacs-lisp-mode): Set comment-start.
8539
8540 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8541
8542 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8543 Fix deactivate action.
8544
8545 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8546 Add cleveref macros.
8547
8548 * lisp/textmodes/reftex-parse.el
8549 (reftex-locate-bibliography-files): Accept options for
8550 bibliography commands.
8551 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8552 Add addbibresource. Basic Biblatex support.
8553
8554 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8555
8556 * net/tramp-gvfs.el (top):
8557 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8558 when loading package. (Bug#14447)
8559
8560 2013-05-23 Glenn Morris <rgm@gnu.org>
8561
8562 * progmodes/js.el: No need to load comint when compiling.
8563 (ring-insert, comint-send-string, comint-send-input)
8564 (comint-last-input-end, ido-chop): Declare.
8565
8566 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8567 * vc/ediff-mult.el: Adjust requires.
8568 (ediff-directories-internal, ediff-directory-revisions-internal)
8569 (ediff-patch-file-internal): Declare.
8570 * vc/ediff-ptch.el: Adjust requires.
8571 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8572 (ediff-find-file): Autoload.
8573 * vc/ediff-util.el: No need to load ediff when compiling.
8574 (ediff-regions-internal): Declare.
8575 * vc/ediff-wind.el: Adjust requires.
8576 (ediff-compute-toolbar-width): Define when compiling.
8577 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8578 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8579 (dired-get-filename, dired-get-marked-files)
8580 (ediff-last-dir-patch, ediff-patch-default-directory)
8581 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8582 (ediff-patch-buffer-internal): Declare.
8583
8584 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8585 (ispell-process, ispell-buffer-local-words, lm-summary)
8586 (lm-section-start, lm-section-end): Declare.
8587 (checkdoc-ispell-init): Simplify.
8588
8589 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8590 (he-string-member, he-reset-string, he-substitute-string): Declare.
8591
8592 * eshell/em-ls.el: Adjust requires.
8593 (eshell-glob-regexp): Declare.
8594 * eshell/em-tramp.el: Adjust requires.
8595 (eshell-parse-command): Autoload.
8596 * eshell/em-xtra.el: Adjust requires.
8597 (eshell-parse-command): Autoload.
8598 * eshell/esh-ext.el: Adjust requires.
8599 (eshell-parse-command, eshell-close-handles): Autoload.
8600 * eshell/esh-io.el: Adjust requires.
8601 (eshell-output-filter): Autoload.
8602 * eshell/esh-util.el: No need to load tramp when compiling.
8603 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8604 Declare.
8605 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8606 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8607 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8608 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8609 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8610 * eshell/esh-opt.el, eshell/esh-proc.el:
8611 * eshell/esh-var.el: Adjust requires.
8612 * eshell/eshell.el: Do not require esh-util twice.
8613 (eshell-add-input-to-history): Declare.
8614 (eshell-command): Check history module is active before using it.
8615
8616 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8617
8618 2013-05-22 Leo Liu <sdl.web@gmail.com>
8619
8620 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8621
8622 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8623
8624 * autorevert.el (auto-revert-notify-add-watch)
8625 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8626 it indicates changes in file modification time.
8627
8628 2013-05-22 Glenn Morris <rgm@gnu.org>
8629
8630 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8631 Always delete the autoloaded function from the noruntime and
8632 unresolved functions lists.
8633
8634 * allout.el: No need to load epa, epg, overlay when compiling.
8635 (epg-context-set-passphrase-callback, epg-list-keys)
8636 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8637 (epg-key-user-id-list): Declare.
8638
8639 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8640 (viper-set-parsing-style-toggling-macro)
8641 (viper-set-emacs-state-searchstyle-macros):
8642 Use called-interactively-p on Emacs.
8643 (viper-looking-back): Make it an obsolete alias. Update callers.
8644 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8645 Use looking-back rather than viper-looking-back.
8646 (viper-tmp-insert-at-eob, viper-enlarge-region)
8647 (viper-read-string-with-history, viper-register-to-point)
8648 (viper-append-to-register, viper-change-state-to-vi)
8649 (viper-backward-char-carefully, viper-forward-char-carefully)
8650 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8651 (viper-change-state-to-emacs): Declare.
8652 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8653 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8654 * emulation/viper-mous.el: Do not load viper-cmd.
8655 (viper-backward-char-carefully, viper-forward-char-carefully)
8656 (viper-forward-word, viper-adjust-window): Declare.
8657
8658 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8659
8660 * progmodes/idlw-help.el (idlwave-help-fontify):
8661 Use called-interactively-p.
8662
8663 * term/w32console.el (w32-get-console-codepage)
8664 (w32-get-console-output-codepage): Declare.
8665
8666 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8667 Remove unnecessary declarations.
8668 (dframe-message): Doc fix.
8669
8670 * info.el (dframe-select-attached-frame, dframe-current-frame):
8671 Declare.
8672
8673 * speedbar.el (speedbar-message): Make it an obsolete alias.
8674 Update all callers.
8675 (speedbar-with-attached-buffer)
8676 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8677 (speedbar-with-writable): Use backquote.
8678 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8679 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8680 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8681 rather than speedbar- aliases.
8682 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8683 (speedbar-make-specialized-keymap, speedbar-insert-button)
8684 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8685 (speedbar-do-function-pointer): Declare.
8686 (rmail-speedbar-button, rmail-speedbar-find-file)
8687 (rmail-speedbar-move-message):
8688 Use dframe-with-attached-buffer rather than speedbar- alias.
8689 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8690 (dframe-message, speedbar-make-specialized-keymap)
8691 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8692 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8693 (speedbar-insert-button, dframe-select-attached-frame)
8694 (dframe-maybee-jump-to-attached-frame)
8695 (speedbar-change-initial-expansion-list)
8696 (speedbar-previously-used-expansion-list-name): Declare.
8697 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8698 Use dframe-message, dframe-with-attached-buffer rather than
8699 speedbar- aliases.
8700 (gud-sentinel): Silence compiler.
8701 * progmodes/vhdl-mode.el (speedbar-refresh)
8702 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8703 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8704 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8705 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8706 (speedbar-file-lists, speedbar-make-tag-line)
8707 (speedbar-line-directory, speedbar-goto-this-file)
8708 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8709 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8710 (speedbar-make-button, speedbar-reset-scanners)
8711 (speedbar-files-item-info, speedbar-line-text)
8712 (speedbar-find-file-in-frame, speedbar-set-timer)
8713 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8714 (speedbar-with-writable): Do not (re)define it.
8715 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8716 rather than speedbar- alias.
8717
8718 2013-05-21 Leo Liu <sdl.web@gmail.com>
8719
8720 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8721 menu items.
8722 (octave-mode): Tweak fill-nobreak-predicate.
8723 (inferior-octave-startup): Check process to avoid infinite loop.
8724 (inferior-octave): Pop to buffer first to show abornmal process
8725 exit information.
8726
8727 2013-05-21 Glenn Morris <rgm@gnu.org>
8728
8729 * printing.el (pr-menu-bar): Define when compiling.
8730
8731 2013-05-21 Leo Liu <sdl.web@gmail.com>
8732
8733 * progmodes/octave.el (octave-auto-fill): Remove.
8734 (octave-indent-new-comment-line): Improve.
8735 (octave-mode): Use auto fill mode through
8736 comment-line-break-function and fill-nobreak-predicate.
8737 (octave-goto-function-definition): Support DEFUN_DLD.
8738 (octave-beginning-of-defun): Small tweak.
8739 (octave-help): Show parent directory.
8740
8741 2013-05-21 Glenn Morris <rgm@gnu.org>
8742
8743 * files.el (dired-unmark):
8744 * progmodes/gud.el (gdb-input): Update declarations.
8745
8746 * calculator.el (electric, ehelp): No need to load when compiling.
8747 (Electric-command-loop, electric-describe-mode): Declare.
8748
8749 * doc-view.el (doc-view-current-converter-processes): Move before use.
8750
8751 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8752 Move MODE-set-explicitly definition before use.
8753
8754 * international/mule-diag.el (mule-diag):
8755 Don't use obsolete window-system-version.
8756
8757 * mail/feedmail.el (smtpmail): No need to load when compiling.
8758 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8759
8760 * mail/mail-utils.el (rfc822): No need to load when compiling.
8761 (rfc822-addresses): Autoload it.
8762 (mail-strip-quoted-names): Trivial simplification.
8763
8764 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8765 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8766
8767 * net/snmp-mode.el (tempo): Don't duplicate requires.
8768
8769 * progmodes/prolog.el (info): No need to load when compiling.
8770 (comint): Require before shell requires it.
8771 (Info-goto-node): Autoload it.
8772 (Info-follow-nearest-node): Declare.
8773 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8774
8775 * textmodes/artist.el (picture-mode-exit): Declare.
8776
8777 * textmodes/reftex-parse.el (reftex-parse-from-file):
8778 Trivial rewrite so the compiler can parse it better.
8779
8780 2013-05-20 Leo Liu <sdl.web@gmail.com>
8781
8782 * progmodes/octave.el (octave-help-mode-map)
8783 (octave-help-mode-finish-hook): New variables.
8784 (octave-help-mode, octave-help-mode-finish): New functions.
8785 (octave-help): Use octave-help-mode.
8786
8787 2013-05-20 Glenn Morris <rgm@gnu.org>
8788
8789 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8790
8791 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8792
8793 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8794 start at point, so that expansion starting right after opening
8795 slash in a regexp is recognized.
8796 (ruby-syntax-before-regexp-re): New defvar, extracted from
8797 ruby-syntax-propertize-function. Since the value of this regexp
8798 is looked up at runtime now, we should be able to turn
8799 `ruby-syntax-methods-before-regexp' into a defcustom later.
8800 (ruby-syntax-propertize-function): Split regexp matching into two
8801 parts, for opening and closing slashes. That allows us to skip
8802 over string interpolations and support multiline regexps.
8803 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8804 for them, which calls `ruby-syntax-propertize-expansion'.
8805 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8806 call to `ruby-syntax-propertize-function'.
8807 (ruby-syntax-propertize-expansion): Extracted from
8808 `ruby-syntax-propertize-expansions'. Handles one expansion.
8809 (ruby-syntax-propertize-percent-literal): Leave point right after
8810 the percent symbol, so that the expression expansion rule can
8811 propertize the contents.
8812 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8813 heredoc openers.
8814 (ruby-syntax-propertize-expansions): Remove.
8815
8816 2013-05-18 Juri Linkov <juri@jurta.org>
8817
8818 * man.el (Man-default-man-entry): Remove `-' from the end
8819 of the default value. (Bug#14400)
8820
8821 2013-05-18 Glenn Morris <rgm@gnu.org>
8822
8823 * comint.el (comint-password-prompt-regexp):
8824 Allow "password for XXX" where XXX contains colons (eg https://...).
8825
8826 2013-05-18 Leo Liu <sdl.web@gmail.com>
8827
8828 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8829 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8830 (octave-source-directories): Don't check process.
8831 (octave-source-directories, octave-find-definition): Doc fix.
8832
8833 2013-05-18 Glenn Morris <rgm@gnu.org>
8834
8835 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8836 Remove backspace/delete bindings. (Bug#14392)
8837
8838 * cus-dep.el (custom-make-dependencies): Sort the output.
8839 (custom-versions-load-alist): Convert comment to doc.
8840
8841 2013-05-17 Leo Liu <sdl.web@gmail.com>
8842
8843 * newcomment.el (comment-search-backward): Stricter in finding
8844 comment start. (Bug#14303)
8845
8846 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8847 (octave-comment-start-skip): Properly anchored.
8848
8849 2013-05-17 Leo Liu <sdl.web@gmail.com>
8850
8851 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8852 Clean up when turned off. (Bug#14395)
8853 (smie--highlight-matching-block-overlay): No longer buffer-local.
8854 (smie-highlight-matching-block): Adjust.
8855
8856 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8857
8858 Doc string fix for "nanoseconds" (Bug#14406).
8859 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8860 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8861
8862 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8863
8864 * calc/calc-units.el (math-extract-units): Preserve powers
8865 of units.
8866
8867 2013-05-17 Leo Liu <sdl.web@gmail.com>
8868
8869 * subr.el (delete-consecutive-dups): New function.
8870 * ido.el (ido-set-matches-1): Use it.
8871 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8872 * ido.el (ido-remove-consecutive-dups): Remove.
8873
8874 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8875
8876 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8877 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8878 regexp-opt's `words'.
8879
8880 2013-05-16 Leo Liu <sdl.web@gmail.com>
8881
8882 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8883 (smie--highlight-matching-block-overlay)
8884 (smie--highlight-matching-block-lastpos)
8885 (smie--highlight-matching-block-timer): New variables.
8886 (smie-highlight-matching-block): New function.
8887 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8888 (smie-setup): Conditionally enable smie-blink-matching-open.
8889
8890 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8891
8892 Sync with upstream verilog-mode r840.
8893 * progmodes/verilog-mode.el (verilog-mode-version)
8894 (verilog-mode-release-date): Update.
8895 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8896 (verilog-sig-tieoff): Fix string error on
8897 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8898 (verilog-read-decls): Fix parameters confusing
8899 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8900
8901 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8902
8903 * subr.el (reveal-filename): New function.
8904
8905 * loadup.el: Compute Emacs executable versions on MS-Windows,
8906 where executables have the .exe extension. Add a hard link
8907 emacs-XX.YY.ZZ.exe on MS-Windows.
8908
8909 * Makefile.in (XARGS_LIMIT): New variable.
8910 (custom-deps, finder-data, autoloads)
8911 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8912 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8913 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8914 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8915
8916 2013-05-16 Leo Liu <sdl.web@gmail.com>
8917
8918 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8919 (octave-mode-menu, octave-mode-map): Remove its uses.
8920
8921 2013-05-16 Reto Zimmermann <reto@gnu.org>
8922
8923 Sync with upstream vhdl mode v3.34.2.
8924 * progmodes/vhdl-mode.el: Use `push' throughout.
8925 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8926 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8927 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8928 (vhdl-actual-generic-name): New option to derive actual generic name.
8929 (vhdl-port-paste-signals): Replace formal by actual generics.
8930 (vhdl-beautify): New name for old group vhdl-align. Update users.
8931 (vhdl-beautify-options): New option.
8932 (vhdl-last-input-event): New compat alias. Use throughout.
8933 (vhdl-goto-line): Replace user level function `goto-line'.
8934 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8935 vhdl-fix-statement-buffer.
8936 (vhdl-create-mode-menu): Add some entries.
8937 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8938 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8939 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8940 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8941 to force statements on one line.
8942 (vhdl-remove-trailing-spaces-region):
8943 New, split from vhdl-remove-trailing-spaces.
8944 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8945 Respect vhdl-beautify-options.
8946 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8947 (vhdl-update-sensitivity-list): Not add with index if exists without.
8948 Not include array index with signal. Ignore keywords in comments.
8949 (vhdl-get-visible-signals): Regexp tweaks.
8950 (vhdl-template-component-inst): Handle empty library.
8951 (vhdl-template-type): Add template for 'enum' type.
8952 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8953 Use vhdl-replace-string.
8954 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8955 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8956 (vhdl-speedbar-initialize): Update for above name change.
8957 (vhdl-compose-wire-components): Fix in handling of constants.
8958 (vhdl-error-regexp-emacs-alist): New variable.
8959 (vhdl-error-regexp-add-emacs): New function;
8960 adds support for new compile.el (Emacs 22+)
8961 (vhdl-generate-makefile-1): Change target order for single lib. units.
8962 Allow use of absolute file names.
8963
8964 2013-05-16 Leo Liu <sdl.web@gmail.com>
8965
8966 * simple.el (prog-indent-sexp): Indent enclosing defun.
8967
8968 2013-05-15 Glenn Morris <rgm@gnu.org>
8969
8970 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8971 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8972 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8973 (whitespace-highlight): Move to whitespace group.
8974
8975 * comint.el (comint-source):
8976 * pcmpl-linux.el (pcmpl-linux):
8977 * shell.el (shell-faces):
8978 * eshell/esh-opt.el (eshell-opt):
8979 * international/ccl.el (ccl): Remove empty custom groups.
8980
8981 * completion.el (dynamic-completion-mode):
8982 * jit-lock.el (jit-lock-debug-mode):
8983 * minibuffer.el (completion-in-region-mode):
8984 * type-break.el (type-break-mode-line-message-mode)
8985 (type-break-query-mode):
8986 * emulation/tpu-edt.el (tpu-edt-mode):
8987 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8988 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8989 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8990
8991 * term/xterm.el (xterm): Change parent group to terminals.
8992
8993 * master.el (master): Remove empty custom group.
8994 (master-mode): Remove unused :group argument.
8995 * textmodes/refill.el (refill): Remove empty custom group.
8996 (refill-mode): Remove unused :group argument.
8997
8998 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8999
9000 * cus-dep.el: Provide a feature.
9001 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9002 Don't mistakenly ignore files whose basenames match a basename
9003 from preloaded-file-list (eg cedet/ede/simple.el).
9004 Add a fallback method for getting :group.
9005
9006 2013-05-15 Juri Linkov <juri@jurta.org>
9007
9008 * isearch.el (isearch-char-by-name): Rename from
9009 `isearch-insert-char-by-name'. Doc fix.
9010 (isearch-forward): Mention `isearch-char-by-name' in
9011 the docstring. (Bug#13348)
9012
9013 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9014 `exit-minibuffer' instead of
9015 `isearch-nonincremental-exit-minibuffer'.
9016 (isearch-edit-string): Remove mention of
9017 `isearch-nonincremental-exit-minibuffer' from docstring.
9018 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9019 (isearch-forward-exit-minibuffer)
9020 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9021
9022 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9023
9024 * loadup.el: Just use unversioned DOC.
9025
9026 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9027 literals as extending to EOB.
9028 (nxml-last-fontify-end): Remove unused variable.
9029 (nxml-after-change1): Use with-silent-modifications.
9030 (nxml-extend-after-change-region): Simplify.
9031 (nxml-extend-after-change-region1): Remove function.
9032 (nxml-after-change1): Don't adjust for dependent regions.
9033 (nxml-fontify-matcher): Simplify.
9034 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9035 (xmltok-add-dependent): Remove function.
9036 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9037 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9038 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9039 unclosed <[[, <?, comment, and other literals as extending to EOB.
9040 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9041 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9042 Remove functions.
9043 (rng-do-some-validation-1): Don't mark dependent regions.
9044 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9045 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9046 (nxml-clear-dependent-regions): Remove functions.
9047 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9048 (nxml-ensure-scan-up-to-date):
9049 Don't clear&mark dependent regions.
9050
9051 2013-05-15 Leo Liu <sdl.web@gmail.com>
9052
9053 * progmodes/octave.el (octave-goto-function-definition):
9054 Improve and fix callers.
9055
9056 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9057
9058 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9059 the setter (bug#14387).
9060
9061 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9062 surrounding group (bug#14402).
9063
9064 2013-05-14 Juri Linkov <juri@jurta.org>
9065
9066 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9067 (Bug#14390)
9068
9069 2013-05-14 Glenn Morris <rgm@gnu.org>
9070
9071 * progmodes/f90.el (f90-imenu-generic-expression):
9072 Fix typo in 2013-05-08 change. (Bug#14402)
9073
9074 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9075
9076 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9077 Remove signals for which replies are never received.
9078
9079 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9080
9081 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9082 (gdb-handler-alist, gdb-handler-number): Remove variables.
9083 (gdb-handler-list): New variable.
9084 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9085 (gdb-pending-handler-p, gdb-handle-reply)
9086 (gdb-remove-all-pending-triggers): New functions.
9087 (gdb-discard-unordered-replies): New defcustom.
9088 (gdb-handler): New defstruct.
9089 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9090 instead of gdb-pending-triggers. Update docstring.
9091 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9092 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9093 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9094 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9095 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9096 (gdb-frame-handler): Pending triggers are now automatically managed.
9097 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9098 Remove argument.
9099 (gdb-input): Automatically handles pending triggers. Update docstring.
9100 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9101 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9102 Update comments.
9103 (gdb-done-or-error): Now use gdb-handle-reply.
9104
9105 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9106
9107 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9108 gdb-debug-log.
9109
9110 2013-05-14 Glenn Morris <rgm@gnu.org>
9111
9112 * subr.el (user-emacs-directory-warning): New option.
9113 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9114
9115 2013-05-14 Leo Liu <sdl.web@gmail.com>
9116
9117 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9118 during redisplay.
9119 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9120 (octave-font-lock-texinfo-comment): Fix invalid search bound
9121 error: wrong side of point.
9122
9123 2013-05-14 Glenn Morris <rgm@gnu.org>
9124
9125 * progmodes/flymake.el (flymake-xml-program): New option.
9126 (flymake-xml-init): Use it.
9127
9128 * term/xterm.el: Provide a feature.
9129
9130 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9131
9132 2013-05-13 Glenn Morris <rgm@gnu.org>
9133
9134 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9135 Add compat aliases as a hack workaround. (Bug#14384)
9136
9137 2013-05-13 Leo Liu <sdl.web@gmail.com>
9138
9139 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9140 ###, and %!.
9141 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9142 C-M-q.
9143 (octave-comment-start-skip): Include %!.
9144 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9145
9146 2013-05-12 Leo Liu <sdl.web@gmail.com>
9147
9148 * progmodes/octave.el (inferior-octave-startup): Store the value
9149 of __octave_srcdir__ for octave-source-directories.
9150 (inferior-octave-check-process): New function refactored out of
9151 inferior-octave-send-list-and-digest.
9152 (octave-source-directories)
9153 (octave-find-definition-filename-function): New variables.
9154 (octave-source-directories)
9155 (octave-find-definition-default-filename): New functions.
9156 (octave-find-definition): Improve to find functions implemented in C++.
9157
9158 2013-05-12 Glenn Morris <rgm@gnu.org>
9159
9160 * calendar/diary-lib.el (diary-outlook-format-1):
9161 Don't include dayname in the output. (Bug#14349)
9162
9163 2013-05-11 Glenn Morris <rgm@gnu.org>
9164
9165 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9166
9167 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9168 Treat cc-provide like provide.
9169
9170 2013-05-11 Kevin Ryde <user42@zip.com.au>
9171
9172 * cus-dep.el (custom-make-dependencies):
9173 Use generated-autoload-load-name for the sake of files such
9174 such cedet/semantic/bovine/c.el, where the base file name
9175 is not in load-path. (Bug#5277)
9176
9177 2013-05-11 Glenn Morris <rgm@gnu.org>
9178
9179 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9180 Provide features.
9181
9182 2013-05-11 Leo Liu <sdl.web@gmail.com>
9183
9184 * progmodes/octave.el (octave-indent-comment): Improve.
9185 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9186 (octave-eldoc-function-signatures, octave-eldoc-function):
9187 New functions.
9188 (octave-mode, inferior-octave-mode): Add eldoc support.
9189
9190 2013-05-11 Richard Stallman <rms@gnu.org>
9191
9192 * epa.el (epa-decrypt-file): Take output file name as argument
9193 and read it using `interactive'.
9194
9195 2013-05-11 Leo Liu <sdl.web@gmail.com>
9196
9197 * progmodes/octave.el (octave-beginning-of-line)
9198 (octave-end-of-line): Check before using up-list because it jumps
9199 out of more syntactic contructs since moving to smie.
9200 (octave-indent-comment): New function.
9201 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9202 (octave-begin-keywords, octave-end-keywords)
9203 (octave-reserved-words, octave-smie-bnf-table)
9204 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9205
9206 2013-05-11 Glenn Morris <rgm@gnu.org>
9207
9208 * faces.el (internal-face-x-get-resource):
9209 * frame.el (ns-display-monitor-attributes-list):
9210 * calc/calc-aent.el (math-to-radians-2):
9211 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9212 Fix declarations.
9213
9214 * calc/calc-menu.el: Make it loadable in isolation.
9215
9216 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9217 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9218 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9219 (eudc-bbdb-query-internal): Require 'bbdb.
9220
9221 * lpr.el (lpr-headers-switches):
9222 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9223
9224 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9225
9226 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9227
9228 * term.el (term-set-escape-char): Make it idempotent.
9229
9230 2013-05-10 Leo Liu <sdl.web@gmail.com>
9231
9232 * progmodes/octave.el (inferior-octave-completion-table):
9233 No longer a function and all uses changed. Use cache to speed up
9234 completion due to bug#11906.
9235 (octave-beginning-of-defun): Re-write to be more general.
9236
9237 2013-05-10 Glenn Morris <rgm@gnu.org>
9238
9239 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9240
9241 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9242
9243 * comint.el (comint-redirect-send-command-to-process): Use :around
9244 rather than :override for comint-redirect-filter.
9245 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9246 Call it instead of comint-redirect-original-filter-function (which
9247 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9248
9249 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9250
9251 * frame.el (display-monitor-attributes-list): Add NS case.
9252 (ns-display-monitor-attributes-list): Declare.
9253
9254 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9255
9256 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9257
9258 2013-05-09 Glenn Morris <rgm@gnu.org>
9259
9260 * international/fontset.el (vertical-centering-font-regexp):
9261 Set standard-value.
9262
9263 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9264
9265 * bookmark.el (bookmark-search-delay):
9266 * cus-start.el (vertical-centering-font-regexp):
9267 * ps-mule.el (ps-mule-font-info-database-default):
9268 * ps-print.el (ps-default-fg, ps-default-bg):
9269 * type-break.el (type-break-good-break-interval):
9270 * whitespace.el (whitespace-indentation-regexp)
9271 (whitespace-space-after-tab-regexp):
9272 * emacs-lisp/testcover.el (testcover-1value-functions)
9273 (testcover-noreturn-functions, testcover-progn-functions)
9274 (testcover-prog1-functions):
9275 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9276 * eshell/em-glob.el (eshell-glob-translate-alist):
9277 * play/tetris.el (tetris-tty-colors):
9278 * progmodes/cpp.el (cpp-face-default-list):
9279 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9280 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9281 (idlwave-help-browser-generic-args):
9282 * progmodes/make-mode.el (makefile-special-targets-list):
9283 * progmodes/python.el (python-shell-virtualenv-path):
9284 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9285 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9286 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9287 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9288 * textmodes/reftex-vars.el (reftex-format-label-function):
9289 * textmodes/remember.el (remember-diary-file): Fix custom types.
9290
9291 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9292 Add :version.
9293
9294 2013-05-09 Leo Liu <sdl.web@gmail.com>
9295
9296 * progmodes/octave.el (inferior-octave-completion-at-point):
9297 Restore file completion. (Bug#14300)
9298 (inferior-octave-startup): Fix incorrect highlighting for the
9299 first prompt.
9300
9301 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9302
9303 * progmodes/ruby-mode.el: First cut at SMIE support.
9304 (ruby-use-smie): New var.
9305 (ruby-smie-grammar): New constant.
9306 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9307 (ruby-smie--forward-token, ruby-smie--backward-token)
9308 (ruby-smie-rules): New functions.
9309 (ruby-mode-variables): Setup SMIE if applicable.
9310
9311 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9312
9313 * simple.el (line-move-visual): Signal beginning/end of buffer
9314 only if vertical-motion moved less than it was requested. Avoids
9315 silly incorrect error messages when there are display strings with
9316 multiple newlines at EOL.
9317
9318 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9319
9320 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9321 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9322 (prolog-char-quote-workaround):
9323 * progmodes/cperl-mode.el (cperl-under-as-char):
9324 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9325 Mark as obsolete.
9326 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9327 their declaration.
9328 (vhdl-mode-syntax-table-init): Remove.
9329
9330 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9331 last change.
9332
9333 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9334 syntax for "_".
9335 (ld-script-font-lock-keywords):
9336 Change regexps to use things like \_< and \_>.
9337
9338 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9339 Change all regexps to use things like \_< and \_>.
9340
9341 * progmodes/autoconf.el (autoconf-definition-regexp)
9342 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9343 Handle a _ with symbol syntax.
9344 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9345
9346 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9347 Consolidate declaration.
9348 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9349 the declaration.
9350 (ada-create-syntax-table): Remove.
9351 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9352 already has the right syntax nowadays.
9353 (ada-goto-next-word): Don't change the syntax of "_".
9354
9355 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9356 with-wrapper-hook.
9357
9358 2013-05-08 Sam Steingold <sds@gnu.org>
9359
9360 * thingatpt.el (thing-at-point): Accept optional second argument
9361 NO-PROPERTIES to strip the text properties from the return value.
9362 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9363 to `thing-at-point' instead of stripping the properties ourselves.
9364 Also, when `thing-at-point' fails to find a url, prepend "http://"
9365 to the filename at point on the assumption that the user is
9366 pointing at something like gnu.org/gnu.
9367
9368 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9369
9370 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9371 * faces.el (crm-separator):
9372 Silence byte-compiler.
9373
9374 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9375 (tool-bar-map): Remove unneeded defvars.
9376
9377 2013-05-08 Leo Liu <sdl.web@gmail.com>
9378
9379 Re-work a fix for bug#10994 based on Le Wang's patch.
9380 * ido.el (ido-remove-consecutive-dups): New helper.
9381 (ido-completing-read): Use it.
9382 (ido-chop): Revert fix for bug#10994.
9383
9384 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9385
9386 * cus-edit.el (custom-save-variables):
9387 Pretty-print long values. (Bug#14187)
9388
9389 2013-05-08 Glenn Morris <rgm@gnu.org>
9390
9391 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9392 (m4-mode-syntax-table): Init in the defvar.
9393 (m4-mode-abbrev-table): Let define-derived-mode define it.
9394
9395 2013-05-08 Tom Tromey <tromey@redhat.com>
9396
9397 * progmodes/m4-mode.el (m4-mode-syntax-table):
9398 Do not treat "_" as word constituent. (Bug#14167)
9399
9400 2013-05-07 Glenn Morris <rgm@gnu.org>
9401
9402 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9403 Remove explicit eshell-isearch-cancel-map.
9404
9405 * progmodes/f90.el (f90-smart-end-names): New option.
9406 (f90-smart-end): Doc fix.
9407 (f90-end-block-optional-name): New constant.
9408 (f90-block-match): Respect f90-smart-end-names.
9409
9410 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9411
9412 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9413 about implicit semi-colons (bug#14218).
9414
9415 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9416
9417 * frame.el (display-monitor-attributes-list)
9418 (frame-monitor-attributes): New functions.
9419
9420 2013-05-06 Leo Liu <sdl.web@gmail.com>
9421
9422 * progmodes/octave.el (octave-syntax-propertize-function): Change
9423 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9424 (octave-font-lock-keywords): Use octave-operator-regexp.
9425 (octave-completion-at-point): Rename from
9426 octave-completion-at-point-function.
9427 (inferior-octave-directory-tracker): Robustify.
9428 (octave-text-functions): Remove and fix its uses. No such things
9429 any more.
9430
9431 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9432
9433 * emacs-lisp/trace.el (trace--display-buffer): New function.
9434 (trace-make-advice): Use it.
9435
9436 2013-05-06 Juri Linkov <juri@jurta.org>
9437
9438 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9439 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9440 Doc fix.
9441 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9442 in the help string. (Bug#12985)
9443
9444 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9445
9446 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9447
9448 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9449
9450 * progmodes/perl-mode.el: Add support for here documents.
9451 (perl-syntax-propertize-function): Match here-doc markers.
9452 (perl-syntax-propertize-special-constructs): Find their end.
9453 (perl-imenu-generic-expression): Use [:alnum:].
9454
9455 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9456 (advice--add-function): Refresh the advice if already present
9457 (bug#14317).
9458
9459 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9460
9461 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9462
9463 2013-05-06 Glenn Morris <rgm@gnu.org>
9464
9465 * w32-fns.el (w32-charset-info-alist): Declare.
9466
9467 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9468 of its defcustom properties.
9469 (eshell-cmpl-initialize): No need to load pcomplete.
9470
9471 * generic-x.el: No need to require comint when compiling.
9472
9473 * net/eudc-export.el: Make it loadable without bbdb.
9474 (top-level): Use require rather than load-library.
9475 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9476 (eudc-batch-export-records-to-bbdb)
9477 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9478 Require bbdb.
9479
9480 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9481
9482 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9483 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9484 some tweaks, instead.
9485
9486 2013-05-05 Leo Liu <sdl.web@gmail.com>
9487
9488 * progmodes/octave.el (octave-font-lock-keywords)
9489 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9490 (inferior-octave-send-list-and-digest): Improve error message.
9491 (octave-mode, inferior-octave-mode): Use setq-local.
9492 (octave-help): Set info-lookup-mode.
9493
9494 2013-05-05 Richard Stallman <rms@gnu.org>
9495
9496 * vc/compare-w.el (compare-windows-whitespace):
9497 Treat no-break space as whitespace.
9498
9499 * mail/rmailsum.el (rmail-summary-rmail-update):
9500 Detect empty summary and don't change selected message.
9501 (rmail-summary-goto-msg): Likewise.
9502
9503 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9504 Doc fixes, rename args.
9505
9506 2013-05-05 Alan Mackenzie <acm@muc.de>
9507
9508 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9509
9510 2013-05-05 Juri Linkov <juri@jurta.org>
9511
9512 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9513 to not add the length of the summary segment to the return value.
9514 (Bug#14125)
9515
9516 2013-05-05 Leo Liu <sdl.web@gmail.com>
9517
9518 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9519 (inferior-octave-output-filter): Remove.
9520 (octave-send-region, inferior-octave-startup): Fix callers.
9521 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9522 (octave-binary-file-extensions): New user variable.
9523 (octave-find-definition): Confirm if opening binary files.
9524 (octave-help-file): Use octave-find-definition to get the binary
9525 confirmation.
9526 (octave-help): Adjust for octave-help-file change.
9527
9528 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9529
9530 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9531 Merge the two entries that handle function definitions.
9532 (pascal--syntax-propertize): New const.
9533 (pascal-mode): Use it. Use setq-local.
9534
9535 2013-05-04 Glenn Morris <rgm@gnu.org>
9536
9537 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9538 (diary-from-outlook): Respect diary-from-outlook-function.
9539
9540 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9541
9542 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9543 Move the declaration from C.
9544 (read-minibuffer, eval-minibuffer): Move from C.
9545 (completion-setup-function): Avoid minibuffer-completion-contents.
9546
9547 2013-05-03 Leo Liu <sdl.web@gmail.com>
9548
9549 * progmodes/octave.el (octave-font-lock-keywords): Do not
9550 dehighlight 'end' in comments or strings.
9551 (octave-completing-read, octave-goto-function-definition):
9552 New helpers.
9553 (octave-help-buffer): New user variable.
9554 (octave-help-file, octave-help-function): New button types.
9555 (octave-help): New command and bind it to C-h ;.
9556 (octave-find-definition): New command and bind it to M-.
9557 (user-error): Alias to error if not defined.
9558
9559 2013-05-02 Leo Liu <sdl.web@gmail.com>
9560
9561 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9562 for \. (bug#14332)
9563 (octave-font-lock-keywords): Include [ and {.
9564
9565 2013-05-02 Leo Liu <sdl.web@gmail.com>
9566
9567 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9568 (inferior-octave): Remove calling comint-mode and return the buffer.
9569 (inferior-octave-startup): Cosmetic changes.
9570
9571 2013-05-02 Leo Liu <sdl.web@gmail.com>
9572
9573 * progmodes/octave.el (octave-syntax-propertize-function):
9574 Include the case when ' is at line beginning. (Bug#14336)
9575
9576 2013-05-02 Glenn Morris <rgm@gnu.org>
9577
9578 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9579 * desktop.el (vc-dir-mode): Just autoload it here.
9580
9581 2013-05-02 Alan Mackenzie <acm@muc.de>
9582
9583 Eliminate variable c-standard-font-lock-fontify-region-function.
9584 * progmodes/cc-mode.el
9585 (c-standard-font-lock-fontify-region-function): Remove.
9586 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9587
9588 2013-05-01 Leo Liu <sdl.web@gmail.com>
9589
9590 * progmodes/octave.el: Compatible with older emacs-24 releases.
9591 (inferior-octave-has-built-in-variables): Remove. Built-in
9592 variables were removed from Octave in 2007.
9593 (inferior-octave-startup): Fix uses.
9594 (comint-line-beginning-position): Remove compatibility code for
9595 emacs 21.
9596
9597 2013-05-01 Juri Linkov <juri@jurta.org>
9598
9599 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9600
9601 2013-05-01 Juri Linkov <juri@jurta.org>
9602
9603 * comint.el (comint-previous-matching-input): Don't print message
9604 "History item: %d" when `isearch-mode' is active.
9605 (comint-history-isearch-message): Print message "History item: %d"
9606 when `comint-input-ring-index' is not empty and this function is
9607 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9608
9609 2013-05-01 Leo Liu <sdl.web@gmail.com>
9610
9611 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9612 definitions. Use completion-at-point to insert keywords.
9613 (octave-abbrev-start): Remove.
9614 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9615
9616 2013-04-30 Leo Liu <sdl.web@gmail.com>
9617
9618 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9619 change.
9620
9621 2013-04-30 Alan Mackenzie <acm@muc.de>
9622
9623 Handle arbitrarily long C++ member initialisation lists.
9624 * progmodes/cc-engine.el (c-back-over-member-initializers):
9625 new function.
9626 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9627 (most) member init lists.
9628
9629 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9630
9631 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9632 variable.
9633
9634 2013-04-30 Leo Liu <sdl.web@gmail.com>
9635
9636 * progmodes/octave.el (octave-variables): Remove. No builtin
9637 variables any more. All converted to functions.
9638 (octave-font-lock-keywords, octave-completion-at-point-function):
9639 Fix uses.
9640 (octave-font-lock-texinfo-comment): New user variable.
9641 (octave-texinfo-font-lock-keywords): New variable for texinfo
9642 comment block.
9643 (octave-function-comment-block): New face.
9644 (octave-font-lock-texinfo-comment): New function.
9645 (octave-mode): Font lock texinfo comment block.
9646
9647 2013-04-29 Leo Liu <sdl.web@gmail.com>
9648
9649 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9650 indexing expression.
9651 (octave-continuation-string): Do not use \.
9652 (inferior-octave-complete-impossible): Remove.
9653 (inferior-octave-completion-table)
9654 (inferior-octave-completion-at-point): Remove its uses.
9655 (inferior-octave-startup): completion_matches was introduced to
9656 Octave in 1996 so safe to assume it.
9657 (octave-function-file-comment): Improve to follow how Octave does it.
9658 (octave-update-function-file-comment): Tweak.
9659
9660 2013-04-29 Leo Liu <sdl.web@gmail.com>
9661
9662 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9663 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9664 (octave-function-file-comment): Fix typo.
9665 (octave-sync-function-file-names): Use read-char-choice.
9666
9667 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9668
9669 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9670 to t for the less important warnings.
9671
9672 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9673
9674 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9675
9676 2013-04-27 Glenn Morris <rgm@gnu.org>
9677
9678 * vc/log-view.el (log-view-current-entry):
9679 Treat "---" separator lines as part of the following rev. (Bug#14169)
9680
9681 2013-04-27 Juri Linkov <juri@jurta.org>
9682
9683 * subr.el (read-number): Doc fix about using it by interactive
9684 code letter `n'. (Bug#14254)
9685
9686 2013-04-27 Juri Linkov <juri@jurta.org>
9687
9688 * desktop.el (desktop-auto-save-timeout): New option.
9689 (desktop-file-checksum): New variable.
9690 (desktop-save): Add optional arg `auto-save' and don't auto-save
9691 if nothing changed.
9692 (desktop-auto-save-timer): New variable.
9693 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9694 (after-init-hook): Call `desktop-auto-save-set-timer'.
9695 Suggested by Reuben Thomas <rrt@sc3d.org> in
9696 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9697
9698 2013-04-27 Leo Liu <sdl.web@gmail.com>
9699
9700 * progmodes/octave.el (octave-function-file-p)
9701 (octave-skip-comment-forward, octave-function-file-comment)
9702 (octave-update-function-file-comment): New functions.
9703 (octave-mode-map): Bind C-c ; to
9704 octave-update-function-file-comment.
9705 (octave-mode-menu): Add octave-update-function-file-comment.
9706 (octave-mode, inferior-octave-mode): Fix doc-string.
9707 (octave-insert-defun): Conform to Octave's coding convention.
9708 (Bug#14285)
9709
9710 * files.el (basic-save-buffer): Don't let errors in
9711 before-save-hook prevent saving buffer.
9712
9713 2013-04-20 Roland Winkler <winkler@gnu.org>
9714
9715 * faces.el (read-face-name): Use completing-read if arg multiple
9716 is nil.
9717
9718 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9719
9720 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9721 displayed, move point to after the totals line.
9722 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9723 for the details.
9724
9725 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9726
9727 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9728 Add current dir to the load-path.
9729 (package-generate-autoloads): Don't rely on
9730 autoload-ensure-default-file.
9731
9732 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9733
9734 * textmodes/remember.el (remember-store-in-files): Document that
9735 the file name format is passed to `format-time-string'.
9736
9737 2013-04-26 Leo Liu <sdl.web@gmail.com>
9738
9739 * progmodes/octave.el (octave-sync-function-file-names): New function.
9740 (octave-mode): Use it in before-save-hook.
9741
9742 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9743
9744 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9745 (bug#14274).
9746
9747 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9748 \n and comment, even if it's not an implicit ; (bug#14218).
9749
9750 2013-04-26 Glenn Morris <rgm@gnu.org>
9751
9752 * subr.el (read-number): Once more use `read' rather than
9753 `string-to-number', to trap non-numeric input. (Bug#14254)
9754
9755 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9756
9757 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9758 Use `syntax-multiline' text property consistently instead of
9759 `font-lock-multiline'. (Bug#14237)
9760
9761 2013-04-26 Glenn Morris <rgm@gnu.org>
9762
9763 * emacs-lisp/shadow.el (list-load-path-shadows):
9764 No longer necessary to check for duplicate simple.el, since
9765 2012-07-07 change to init_lread to not include installation lisp
9766 directories in load-path when running uninstalled. (Bug#14270)
9767
9768 2013-04-26 Leo Liu <sdl.web@gmail.com>
9769
9770 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9771 (octave-mode, inferior-octave-mode): Use setq-local.
9772 (octave-not-in-string-or-comment-p): Rename to
9773 octave-in-string-or-comment-p.
9774 (octave-in-comment-p, octave-in-string-p)
9775 (octave-in-string-or-comment-p): Replace defsubst with defun.
9776
9777 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9778
9779 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9780
9781 2013-04-25 Bastien Guerry <bzg@gnu.org>
9782
9783 * textmodes/remember.el (remember-data-directory)
9784 (remember-directory-file-name-format): Fix custom types.
9785
9786 2013-04-25 Leo Liu <sdl.web@gmail.com>
9787
9788 * progmodes/octave.el (octave-completion-at-point-function):
9789 Make use of inferior octave process.
9790 (octave-initialize-completions): Remove.
9791 (inferior-octave-completion-table): New function.
9792 (inferior-octave-completion-at-point): Use it.
9793 (octave-completion-alist): Remove.
9794
9795 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9796
9797 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9798 (opascal-mode-syntax-table): New var.
9799 (opascal-literal-kind, opascal-is-literal-end)
9800 (opascal-literal-token-at): Rewrite.
9801 (opascal--literal-start-re, opascal-font-lock-keywords)
9802 (opascal--syntax-propertize): New constants.
9803 (opascal-font-lock-defaults): Adjust.
9804 (opascal-mode): Use them. Set comment-<foo> variables as well.
9805 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9806 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9807 (delphi-other-face, opascal-other-face): Remove face variables.
9808 (opascal-save-state): Remove macro.
9809 (opascal-fontifying-progress-step): Remove constant.
9810 (opascal--ignore-changes): Remove var.
9811 (opascal-set-token-property, opascal-parse-next-literal)
9812 (opascal-is-stable-literal, opascal-complete-literal)
9813 (opascal-is-literal-start, opascal-face-of)
9814 (opascal-parse-region, opascal-parse-region-until-stable)
9815 (opascal-fontify-region, opascal-after-change)
9816 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9817 (opascal-debug-parse-region, opascal-debug-parse-window)
9818 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9819 (opascal-debug-fontify-buffer): Remove.
9820 (opascal-debug-mode-map): Adjust accordingly.
9821
9822 2013-04-25 Leo Liu <sdl.web@gmail.com>
9823
9824 Merge octave-mod.el and octave-inf.el into octave.el with some
9825 cleanups.
9826 * progmodes/octave.el: New file renamed from octave-mod.el.
9827 * progmodes/octave-inf.el: Merged into octave.el.
9828 * progmodes/octave-mod.el: Renamed to octave.el.
9829
9830 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9831
9832 * textmodes/reftex-vars.el
9833 (reftex-label-ignored-macros-and-environments): New defcustom.
9834
9835 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9836
9837 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9838
9839 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9840 (smie-indent-keyword): Improve the check to ensure that the next
9841 comment is really on the same line.
9842 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9843
9844 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9845 semi-colons if the line is not otherwise empty (bug#14218).
9846
9847 2013-04-25 Glenn Morris <rgm@gnu.org>
9848
9849 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9850
9851 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9852
9853 * progmodes/opascal.el (opascal-set-token-property): Rename from
9854 opascal-set-text-properties and only set `token' (bug#14134).
9855 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9856 (opascal-literal-text-properties): Remove.
9857 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9858 Adjust callers.
9859
9860 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9861
9862 * textmodes/remember.el (remember-handler-functions): Add an
9863 option for a new handler `remember-store-in-files'.
9864 (remember-data-directory, remember-directory-file-name-format):
9865 New options.
9866 (remember-store-in-files): New function to store remember notes
9867 as separate files within a directory.
9868
9869 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9870
9871 * progmodes/compile.el (compilation-next-error-function):
9872 Pass "formats" to compilation-find-file (bug#11777).
9873
9874 2013-04-24 Glenn Morris <rgm@gnu.org>
9875
9876 * vc/vc-bzr.el (vc-bzr-print-log):
9877 * vc/vc-hg.el (vc-hg-print-log):
9878 * vc/vc-svn.el (vc-svn-print-log):
9879 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9880
9881 * vc/vc-bzr.el (vc-bzr-print-log):
9882 * vc/vc-cvs.el (vc-cvs-print-log):
9883 * vc/vc-git.el (vc-git-print-log):
9884 * vc/vc-hg.el (vc-hg-print-log):
9885 * vc/vc-mtn.el (vc-mtn-print-log):
9886 * vc/vc-rcs.el (vc-rcs-print-log):
9887 * vc/vc-sccs.el (vc-sccs-print-log):
9888 * vc/vc-svn.el (vc-svn-print-log):
9889 * vc/vc.el (vc-print-log-internal): Doc fixes.
9890
9891 2013-04-23 Glenn Morris <rgm@gnu.org>
9892
9893 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9894 Remove venerable code attempting to avoid substitute-command-keys.
9895
9896 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9897
9898 * textmodes/reftex-vars.el (reftex-label-regexps):
9899 Call `reftex-compile-variables' after changes to this variable.
9900
9901 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9902
9903 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9904 Use lexical-binding.
9905 (jit-lock-force-redisplay): Use markers, check buffer's continued
9906 existence and beware narrowed buffers.
9907 (jit-lock-fontify-now): Adjust call accordingly.
9908
9909 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9910
9911 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9912 to avoid misleading the user.
9913
9914 2013-04-22 Leo Liu <sdl.web@gmail.com>
9915
9916 * info-look.el: Prefer latex2e.info. (Bug#14240)
9917
9918 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9919
9920 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9921
9922 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9923 * net/tramp.el (tramp-call-process): ... here.
9924 (tramp-set-completion-function, tramp-parse-putty):
9925 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9926 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9927 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9928 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9929 (tramp-call-local-coding-command): Use `tramp-call-process'
9930 instead of `tramp-compat-call-process'.
9931
9932 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9933 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9934 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9935 (tramp-find-inline-compress): Improve traces.
9936 (tramp-maybe-send-script): Check for Perl binary.
9937 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9938
9939 2013-04-22 Daiki Ueno <ueno@gnu.org>
9940
9941 * epg.el (epg-context-pinentry-mode): New function.
9942 (epg-context-set-pinentry-mode): New function.
9943 (epg--start): Pass --pinentry-mode option to gpg command.
9944
9945 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9946
9947 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9948 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9949 `completion-at-point'. (Bug#13774)
9950
9951 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9952 default key binding for `describe-distribution' has been moved to
9953 `C-h C-o'. (Bug#13970)
9954
9955 2013-04-21 Glenn Morris <rgm@gnu.org>
9956
9957 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9958 Add doc strings.
9959 (vc-print-log): Clarify interactive prompt.
9960
9961 2013-04-20 Glenn Morris <rgm@gnu.org>
9962
9963 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9964 No longer include timestamp etc information.
9965
9966 2013-04-20 Roland Winkler <winkler@gnu.org>
9967
9968 * faces.el (read-face-name): Bug fix, return just one face if arg
9969 multiple is nil. (Bug#14209)
9970
9971 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9972
9973 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9974 (remove-function): Autoload.
9975
9976 * comint.el (comint-redirect-original-filter-function): Remove.
9977 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9978 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9979 (vc-cvs-annotate-command):
9980 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9981 * progmodes/prolog.el (prolog-consult-compile):
9982 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9983 Use add/remove-function instead.
9984 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9985 (gud-tooltip-process-output, gud-tooltip-tips):
9986 Use add/remove-function instead.
9987 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9988 (scheme-interaction-mode, exit-scheme-interaction-mode):
9989 Use add/remove-function instead.
9990
9991 * vc/vc-dispatcher.el: Use lexical-binding.
9992 (vc--process-sentinel): Rename from vc-process-sentinel.
9993 Change last arg to be the code to run. Don't use vc-previous-sentinel
9994 and vc-sentinel-commands any more.
9995 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9996 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9997
9998 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9999
10000 * progmodes/sh-script.el (sh-imenu-generic-expression):
10001 Handle function names with a single character. (Bug#14111)
10002
10003 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10004
10005 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10006 for subroutines defined in an eval (bug#14182).
10007
10008 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10009
10010 * bookmark.el (bookmark-completing-read): Improve handling of empty
10011 string (bug#14176).
10012
10013 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10014
10015 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10016
10017 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10018
10019 New faster Imenu implementation (bug#14058).
10020 * progmodes/python.el:
10021 (python-imenu-prev-index-position):
10022 (python-imenu-format-item-label-function)
10023 (python-imenu-format-parent-item-label-function)
10024 (python-imenu-format-parent-item-jump-label-function):
10025 New vars.
10026 (python-imenu-format-item-label)
10027 (python-imenu-format-parent-item-label)
10028 (python-imenu-format-parent-item-jump-label)
10029 (python-imenu--put-parent, python-imenu--build-tree)
10030 (python-imenu-create-index, python-imenu-create-flat-index)
10031 (python-util-popn): New functions.
10032 (python-mode): Set imenu-create-index-function to
10033 python-imenu-create-index.
10034
10035 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10036
10037 * winner.el (winner-active-region): Use region-active-p, activate-mark
10038 and deactivate-mark (bug#14225).
10039
10040 * simple.el (deactivate-mark): Don't inline it.
10041
10042 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10043
10044 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10045
10046 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10047
10048 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10049 file extensions from the archive-mode entry in order to prefer
10050 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10051
10052 2013-04-18 Leo Liu <sdl.web@gmail.com>
10053
10054 * bindings.el (help-event-list): Add ?\?.
10055
10056 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10057
10058 * subr.el (with-wrapper-hook): Declare obsolete.
10059 * simple.el (filter-buffer-substring-function): New hook.
10060 (filter-buffer-substring): Use it.
10061 (filter-buffer-substring-functions): Mark obsolete.
10062 * minibuffer.el (completion-in-region-function): New hook.
10063 (completion-in-region): Use it.
10064 (completion-in-region-functions): Mark obsolete.
10065 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10066 * abbrev.el (abbrev-expand-function): New hook.
10067 (expand-abbrev): Use it.
10068 (abbrev-expand-functions): Mark obsolete.
10069 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10070 and :filter-return.
10071
10072 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10073
10074 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10075 and do not care about match data.
10076
10077 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10078
10079 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10080 completion tables when completing error conditions and
10081 `declare' arguments.
10082 (lisp-complete-symbol, field-complete): Mark as obsolete.
10083 (check-parens): Unmatched parens are user errors.
10084 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10085
10086 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10087
10088 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10089 command changed buffer (ie. `flyspell-pre-buffer' is not current
10090 buffer), which prevents making decisions based on invalid value of
10091 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10092 cause an error when `flyspell-pre-point' was nil after switching
10093 buffers.
10094 (flyspell-post-command-hook): No longer needs to change buffers when
10095 checking pre-word. While at it remove unnecessary progn.
10096
10097 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10098
10099 * textmodes/ispell.el (ispell-add-per-file-word-list):
10100 Fix `flyspell-correct-word-before-point' error when accepting
10101 words and `coment-padding' is an integer by using
10102 `comment-normalize-vars' (Bug #14214).
10103
10104 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10105
10106 New defun movement commands.
10107 * progmodes/python.el (python-nav--syntactically)
10108 (python-nav--forward-defun, python-nav-backward-defun)
10109 (python-nav-forward-defun): New functions.
10110
10111 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10112
10113 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10114 (python-syntax-context): Use named compiler-macro for backwards
10115 compatibility with Emacs 24.x.
10116
10117 2013-04-17 Leo Liu <sdl.web@gmail.com>
10118
10119 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10120 octave-hide-process-buffer.
10121
10122 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10123
10124 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10125 (bug#14216).
10126
10127 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10128
10129 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10130 Fix adjustment of offset when receiving incomplete responses from GDB
10131 (bug#14129).
10132
10133 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10134
10135 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10136 python-mode-abbrev-table.
10137 (python-skeleton-define): Adjust accordingly.
10138 (python-mode-abbrev-table): New table that inherits from it so that
10139 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10140
10141 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10142 (abbrev-symbol): Use it.
10143 (abbrev--before-point): Use it since we already handle inheritance.
10144
10145 2013-04-16 Leo Liu <sdl.web@gmail.com>
10146
10147 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10148 binding to info-lookup-symbol.
10149
10150 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10151
10152 * minibuffer.el (completion--twq-all):
10153 * term/ns-win.el (ns-initialize-window-system):
10154 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10155
10156 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10157
10158 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10159 global bindings.
10160
10161 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10162
10163 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10164
10165 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10166 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10167 to nil.
10168 (ruby-end-of-defun): Remove the unused arg, change the docstring
10169 to reflect that this function is only used as the value of
10170 `end-of-defun-function'.
10171 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10172 to reflect an earlier change that beginning/end-of-defun functions
10173 jump between methods in a class definition, as well as top-level
10174 functions.
10175
10176 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10177
10178 * minibuffer.el (minibuffer-complete): Don't just scroll
10179 a *Completions* that's been iconified.
10180 (minibuffer-force-complete): Make sure repetitions do cycle when going
10181 through completion-in-region -> minibuffer-complete.
10182
10183 2013-04-15 Alan Mackenzie <acm@muc.de>
10184
10185 Correct the placement of c-cpp-delimiters when there're #s not at
10186 col 0.
10187
10188 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10189 place a submatch around the #.
10190 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10191 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10192 on the #, not BOL.
10193
10194 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10195
10196 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10197 (advice--member-p): New arg `name'.
10198 (advice--add-function, advice-member-p): Use it (bug#14202).
10199
10200 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10201
10202 Reformulate java imenu-generic-expression.
10203 The old expression contained ill formed regexps.
10204
10205 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10206 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10207 (cc-imenu-java-method-arg-regexp): New defconsts.
10208 (cc-imenu-java-build-type-args-regex): New defun.
10209 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10210 handling of spaces in the regexp.
10211
10212 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10213
10214 * textmodes/ispell.el (ispell-command-loop): Remove
10215 flyspell highlight of a word when ispell accepts it (bug #14178).
10216
10217 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10218
10219 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10220 uses code from the previous `ange-ftp-run-real-handler'.
10221 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10222 only in case that function exist. This is needed for proper
10223 unloading of Tramp.
10224
10225 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10226
10227 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10228
10229 * textmodes/reftex.el (reftex-compile-variables): Use it.
10230
10231 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10232
10233 * files.el (normal-mode): Only use default major-mode if no other mode
10234 was specified.
10235
10236 * emacs-lisp/trace.el (trace-values): New function.
10237
10238 * files.el: Allow : in local variables (bug#14089).
10239 (hack-local-variable-regexp): New var.
10240 (hack-local-variables-prop-line, hack-local-variables): Use it.
10241
10242 2013-04-13 Roland Winkler <winkler@gnu.org>
10243
10244 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10245 data before it gets modified by bibtex-beginning-of-entry.
10246
10247 2013-04-13 Roland Winkler <winkler@gnu.org>
10248
10249 * textmodes/bibtex.el (bibtex-url): Doc fix.
10250
10251 2013-04-13 Roland Winkler <winkler@gnu.org>
10252
10253 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10254 does not visit a BibTeX file, exclude it from the list of buffers
10255 returned by bibtex-initialize.
10256
10257 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10258
10259 * window.el (split-window): Remove interactive form, since as a
10260 command this function is a special case of split-window-below.
10261 Correct doc string.
10262
10263 2013-04-12 Roland Winkler <winkler@gnu.org>
10264
10265 * faces.el (read-face-name): Do not override value of arg default.
10266 Allow single faces and strings as default values. Remove those
10267 elements from return value that are not faces.
10268 (describe-face): Simplify.
10269 (face-at-point): New optional args thing and multiple so that this
10270 function can provide the same functionality previously provided by
10271 read-face-name.
10272 (make-face-bold, make-face-unbold, make-face-italic)
10273 (make-face-unitalic, make-face-bold-italic, invert-face)
10274 (modify-face, read-face-and-attribute): Use face-at-point.
10275
10276 * cus-edit.el (customize-face, customize-face-other-window)
10277 * cus-theme.el (custom-theme-add-face)
10278 * face-remap.el (buffer-face-set)
10279 * facemenu.el (facemenu-set-face): Use face-at-point.
10280
10281 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10282
10283 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10284
10285 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10286
10287 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10288 off leading { and trailing } from field values.
10289
10290 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10291
10292 * emacs-lisp/timer.el (timer--check): New function.
10293 (timer--time, timer-set-function, timer-event-handler): Use it.
10294 (timer-set-idle-time): Simplify.
10295 (timer--activate): CSE.
10296 (timer-event-handler): Give more info in error message.
10297 (internal-timer-start-idle): New function, moved from C.
10298
10299 * mpc.el (mpc-proc): Add `restart' argument.
10300 (mpc-proc-cmd): Use it.
10301 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10302 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10303 less often.
10304
10305 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10306
10307 * progmodes/sh-script.el: Implement `sh-mode' own
10308 `add-log-current-defun-function' (bug#14112).
10309 (sh-current-defun-name): New function.
10310 (sh-mode): Use the function.
10311
10312 2013-04-09 Bastien Guerry <bzg@gnu.org>
10313
10314 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10315
10316 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10317
10318 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10319
10320 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10321 timer (bug#14156).
10322
10323 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10324
10325 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10326 declaration.
10327
10328 2013-04-07 Leo Liu <sdl.web@gmail.com>
10329
10330 * pcmpl-x.el: New file.
10331
10332 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10333
10334 Do not set x-display-name until X connection is established.
10335 This is needed to prevent from weird situation described at
10336 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10337 * frame.el (make-frame): Set x-display-name after call to
10338 window system initialization function, not before.
10339 * term/x-win.el (x-initialize-window-system): Add optional
10340 display argument and use it.
10341 * term/w32-win.el (w32-initialize-window-system):
10342 * term/ns-win.el (ns-initialize-window-system):
10343 * term/pc-win.el (msdos-initialize-window-system):
10344 Add compatible optional display argument.
10345
10346 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10347
10348 * files.el (normal-backup-enable-predicate): On MS-Windows and
10349 MS-DOS compare truenames of temporary-file-directory and of the
10350 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10351 don't fail comparison by compare-strings. Also, compare file
10352 names case-insensitively on MS-Windows and MS-DOS.
10353
10354 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10355
10356 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10357 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10358
10359 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10360
10361 * whitespace.el (whitespace-color-on, whitespace-color-off):
10362 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10363
10364 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10365
10366 * ispell.el (ispell-set-spellchecker-params):
10367 Really set `ispell-args' for all equivs.
10368
10369 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10370
10371 * ido.el (ido-completions): Use extra elements of ido-decorations
10372 (bug#14143).
10373 (ido-decorations): Update docstring.
10374
10375 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10376
10377 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10378 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10379 nil during initialization, in order not to miss changes since the
10380 file was opened. (Bug#14140)
10381
10382 2013-04-05 Leo Liu <sdl.web@gmail.com>
10383
10384 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10385
10386 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10387
10388 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10389
10390 2013-04-04 Glenn Morris <rgm@gnu.org>
10391
10392 * electric.el (electric-pair-inhibit-predicate): Add :version.
10393
10394 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10395
10396 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10397 when a package is required several times (bug#14082).
10398
10399 2013-04-04 Roland Winkler <winkler@gnu.org>
10400
10401 * faces.el (read-face-name): Behave as promised by the docstring.
10402 Assume that arg default is a list of faces.
10403 (describe-face): Call read-face-name with list of default faces.
10404
10405 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10406
10407 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10408 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10409 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10410 the header.
10411 (bookmark-exit-hook-internal): Save even if list is empty.
10412
10413 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10414
10415 * emacs-lisp/package.el (package-pinned-packages): New var.
10416 (package--add-to-archive-contents): Obey it (bug#14118).
10417
10418 2013-04-03 Alan Mackenzie <acm@muc.de>
10419
10420 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10421 Also adapt to the new values of element 7 of a parse state.
10422
10423 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10424 parameter `not-in-delimiter'. Handle being inside comment opener.
10425 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10426 character in case we're typing a '*' after a '/'.
10427 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10428 instead by passing the parameter to c-state-pp-to-literal.
10429
10430 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10431 for elt. 7 of a parse state.
10432
10433 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10434
10435 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10436 * international/latin1-disp.el, international/mule-util.el:
10437 * language/cyril-util.el, language/european.el, language/ind-util.el:
10438 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10439 * language/tibetan.el, language/viet-util.el:
10440 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10441
10442 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10443
10444 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10445 (electric-pair-post-self-insert-function): Use it.
10446 (electric-pair-default-inhibit): New function, extracted from
10447 electric-pair-post-self-insert-function.
10448
10449 2013-03-31 Roland Winkler <winkler@gnu.org>
10450
10451 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10452
10453 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10454
10455 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10456
10457 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10458
10459 Un-indent after "pass" and "return" statements (Bug#13888)
10460 * progmodes/python.el (python-indent-block-enders): New var.
10461 (python-indent-calculate-indentation): Use it.
10462
10463 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10464
10465 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10466 defun. Defining it as defalias could introduce too eager
10467 byte-compiler optimization. (Bug#14030)
10468
10469 2013-03-30 Chong Yidong <cyd@gnu.org>
10470
10471 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10472
10473 2013-03-30 Leo Liu <sdl.web@gmail.com>
10474
10475 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10476 (kmacro-execute-from-register): Pass the keyboard macro to
10477 kmacro-call-macro or repeating won't work correctly.
10478
10479 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10480
10481 * progmodes/subword.el: Back to using `forward-symbol'.
10482
10483 * subr.el (forward-whitespace, forward-symbol)
10484 (forward-same-syntax): Move from thingatpt.el.
10485
10486 2013-03-29 Leo Liu <sdl.web@gmail.com>
10487
10488 * kmacro.el (kmacro-to-register): New command.
10489 (kmacro-execute-from-register): New function.
10490 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10491
10492 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10493
10494 * mpc.el: Use defvar-local and setq-local.
10495 (mpc--proc-connect): Connection failures are not bugs.
10496 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10497 (mpc-volume-map): Bind to the up-events.
10498
10499 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10500
10501 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10502 instead of `forward-symbol'.
10503
10504 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10505
10506 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10507 (edebug--recursive-edit): Use it.
10508 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10509 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10510
10511 2013-03-28 Leo Liu <sdl.web@gmail.com>
10512
10513 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10514
10515 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10516
10517 * facemenu.el (list-colors-callback): New defvar.
10518 (list-colors-redisplay): New function.
10519 (list-colors-display): Install list-colors-redisplay as the
10520 revert-buffer-function. (Bug#14063)
10521
10522 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10523
10524 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10525 and suffixes don't overlap (bug#14061).
10526
10527 * case-table.el: Use lexical-binding.
10528 (case-table-get-table): New function.
10529 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10530
10531 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10532
10533 * progmodes/subword.el: Add `superword-mode' to do word motion
10534 over symbol_words (parallels and leverages `subword-mode' which
10535 does word motion inside MixedCaseWords).
10536
10537 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10538
10539 * eshell/em-unix.el: Move su and sudo to...
10540 * eshell/em-tramp.el: ...Eshell tramp module.
10541
10542 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10543
10544 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10545 Change return value to be a sexp. Delay `get-buffer' to after
10546 restoring the desktop (bug#13951).
10547
10548 2013-03-26 Leo Liu <sdl.web@gmail.com>
10549
10550 * register.el: Move semantic tag handling back to
10551 cedet/semantic/senator.el. (Bug#14052)
10552
10553 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10554
10555 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10556 into the prompt either (bug#13963).
10557
10558 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10559
10560 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10561 part of "(error-foo)".
10562
10563 2013-03-24 Juri Linkov <juri@jurta.org>
10564
10565 * replace.el (list-matching-lines-prefix-face): New defcustom.
10566 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10567 `occur-engine' if `face-differs-from-default-p' returns t.
10568 (occur-engine): Add `,' inside backquote construct to evaluate
10569 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10570 Pass `prefix-face' to the functions `occur-context-lines' and
10571 `occur-engine-add-prefix'.
10572 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10573 `prefix-face' and propertize the prefix with `prefix-face'.
10574 (Bug#14017)
10575
10576 2013-03-24 Leo Liu <sdl.web@gmail.com>
10577
10578 * nxml/rng-valid.el (rng-validate-while-idle)
10579 (rng-validate-quick-while-idle): Guard against deleted buffer.
10580 (Bug#13999)
10581
10582 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10583 is the last entry in kill-buffer-hook.
10584
10585 * files.el (kill-buffer-hook): Doc fix.
10586
10587 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10588
10589 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10590 Make it safe-local.
10591
10592 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10593
10594 2013-03-23 Leo Liu <sdl.web@gmail.com>
10595
10596 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10597 Remove.
10598
10599 * nxml/rng-valid.el (rng-validate-mode)
10600 (rng-after-change-function, rng-do-some-validation):
10601 * nxml/rng-maint.el (rng-validate-buffer):
10602 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10603 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10604 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10605 (nxml-extend-after-change-region): Use with-silent-modifications.
10606
10607 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10608 timer-idle-list.
10609
10610 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10611 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10612 timer-idle-list. (Bug#13999)
10613
10614 2013-03-23 Juri Linkov <juri@jurta.org>
10615
10616 * info.el (info-index-match): New face.
10617 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10618 main pattern and add text properties with the new face to matches
10619 in index entries relative to the beginning of the index entry.
10620 (Bug#14015)
10621
10622 2013-03-21 Eric Ludlam <zappo@gnu.org>
10623
10624 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10625 Inhibit read only while inserting objects.
10626
10627 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10628
10629 * progmodes/cfengine.el: Update docs to mention
10630 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10631 symbol motion. Remove "_" from the word syntax.
10632
10633 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10634
10635 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10636 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10637
10638 2013-03-20 Juri Linkov <juri@jurta.org>
10639
10640 * info.el (Info-next-reference-or-link)
10641 (Info-prev-reference-or-link): New functions.
10642 (Info-next-reference, Info-prev-reference): Use them.
10643 (Info-try-follow-nearest-node): Handle footnote navigation.
10644 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10645
10646 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10647
10648 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10649 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10650
10651 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10652
10653 Suppress unnecessary non-ASCII chatter during build process.
10654 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10655 (batch-skkdic-convert): Suppress most of the chatter.
10656 It's not needed so much now that machines are faster,
10657 and its non-ASCII component was confusing; see Dmitry Gutov in
10658 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10659
10660 2013-03-20 Leo Liu <sdl.web@gmail.com>
10661
10662 * ido.el (ido-chop): Fix bug#10994.
10663
10664 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10665
10666 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10667 Remove vars.
10668 (whitespace-color-on, whitespace-color-off):
10669 Use `font-lock-fontify-buffer' (Bug#13817).
10670
10671 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10672
10673 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10674 remapping in mode-line.
10675 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10676
10677 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10678
10679 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10680 value for `whitespace-line' face (Bug#13875).
10681 (whitespace-font-lock-keywords): Change description.
10682 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10683 the constructed keywords instead.
10684 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10685
10686 2013-03-19 Leo Liu <sdl.web@gmail.com>
10687
10688 * progmodes/compile.el (compilation-display-error): New command.
10689 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10690 C-o. (Bug#13992)
10691
10692 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10693
10694 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10695
10696 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10697
10698 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10699
10700 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10701
10702 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10703
10704 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10705 * net/tramp-gvfs.el (top):
10706 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10707 (tramp-handle-shell-command): Use it.
10708 (tramp-dissect-file-name): Raise an error when hostname is a
10709 method name, and neither method nor user is specified.
10710
10711 * net/trampver.el: Update release number.
10712
10713 2013-03-18 Leo Liu <sdl.web@gmail.com>
10714
10715 Make sure eldoc can be turned off properly.
10716 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10717 eldoc-mode.
10718 (eldoc-display-message-p): Revert last change.
10719 (eldoc-display-message-no-interference-p)
10720 (eldoc-print-current-symbol-info): Tweak.
10721
10722 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10723
10724 * doc-view.el (doc-view-new-window-function): Check the new window
10725 overlay's display property instead the char property of the
10726 buffer's first char. Use `with-selected-window' instead of
10727 `save-window-excursion' with `select-window'.
10728 (doc-view-document->bitmap): Check the current doc-view overlay's
10729 display property instead the char property of the buffer's first char.
10730
10731 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10732
10733 Automate the build of ja-dic.el (Bug#13984).
10734 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10735 from the input, rather than assume that it's been done for us by the
10736 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10737 the current date into a ja-dic.el comment, as that complicates
10738 regression testing.
10739
10740 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10741
10742 * whitespace.el: Fix double evaluation.
10743 (whitespace-space, whitespace-hspace, whitespace-tab)
10744 (whitespace-newline, whitespace-trailing, whitespace-line)
10745 (whitespace-space-before-tab, whitespace-indentation)
10746 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10747 obsolete defvars.
10748 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10749 (whitespace-color-on): Use a single font-lock-add-keywords call.
10750 Fix double-evaluation of face variables.
10751
10752 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10753
10754 * net/tramp-adb.el (tramp-adb-parse-device-names):
10755 Use `start-process' instead of `call-process'. Otherwise, the
10756 function might be blocked under MS Windows. (Bug#13299)
10757
10758 2013-03-17 Leo Liu <sdl.web@gmail.com>
10759
10760 Extend eldoc to display info in the mode-line. (Bug#13978)
10761 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10762 (eldoc-mode-line-string): New variable.
10763 (eldoc-minibuffer-message): New function.
10764 (eldoc-message-function): New variable.
10765 (eldoc-message): Use it.
10766 (eldoc-display-message-p)
10767 (eldoc-display-message-no-interference-p):
10768 Support eldoc-post-insert-mode.
10769
10770 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10771 (eval-expression): Run it.
10772
10773 2013-03-17 Roland Winkler <winkler@gnu.org>
10774
10775 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10776 strings in the list of return values.
10777
10778 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10779
10780 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10781 radix before checking for HMS forms.
10782
10783 2013-03-16 Leo Liu <sdl.web@gmail.com>
10784
10785 * progmodes/scheme.el: Add indentation and font-locking for λ.
10786 (Bug#13975)
10787
10788 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10789
10790 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10791 token before point (bug#13942).
10792
10793 2013-03-16 Leo Liu <sdl.web@gmail.com>
10794
10795 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10796
10797 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10798
10799 * startup.el (command-line-normalize-file-name): Fix handling of
10800 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10801 <xfq.free@gmail.com> in
10802 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10803
10804 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10805
10806 Sync with Tramp 2.2.7.
10807
10808 * net/trampver.el: Update release number.
10809
10810 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10811
10812 * doc-view.el: Fix bug#13887.
10813 (doc-view-insert-image): Don't modify overlay associated to
10814 non-live windows, and implement horizontal centering of image in
10815 case it's smaller than the window.
10816 (doc-view-new-window-function): Force redisplay of new windows on
10817 doc-view buffers.
10818
10819 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10820
10821 * saveplace.el (save-place-alist-to-file): Don't sort
10822 `save-place-alist', just pretty-print it (bug#13882).
10823
10824 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10825
10826 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10827 Check whether `default-file-name-coding-system' is bound.
10828 It isn't in XEmacs.
10829
10830 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10831
10832 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10833 backquotes for `obsolete' (bug#13929).
10834
10835 * international/mule.el (find-auto-coding): Include file name in
10836 obsolescence warning (bug#13922).
10837
10838 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10839
10840 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10841 for CFEngine 3-specific indentation.
10842 (cfengine3-indent-line): Use it. Fix up category regex.
10843 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10844
10845 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10846
10847 * type-break.el (type-break-file-name):
10848 * textmodes/remember.el (remember-data-file):
10849 * strokes.el (strokes-file):
10850 * shadowfile.el (shadow-initialize):
10851 * saveplace.el (save-place-file):
10852 * ps-bdf.el (bdf-cache-file):
10853 * progmodes/idlwave.el (idlwave-config-directory):
10854 * net/quickurl.el (quickurl-url-file):
10855 * international/kkc.el (kkc-init-file-name):
10856 * ido.el (ido-save-directory-list-file):
10857 * emulation/viper.el (viper-custom-file-name):
10858 * emulation/vip.el (vip-startup-file):
10859 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10860 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10861
10862 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10863
10864 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10865 * language/thai-word.el: Switch to UTF-8.
10866
10867 See ChangeLog.16 for earlier changes.
10868
10869 ;; Local Variables:
10870 ;; coding: utf-8
10871 ;; End:
10872
10873 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10874
10875 This file is part of GNU Emacs.
10876
10877 GNU Emacs is free software: you can redistribute it and/or modify
10878 it under the terms of the GNU General Public License as published by
10879 the Free Software Foundation, either version 3 of the License, or
10880 (at your option) any later version.
10881
10882 GNU Emacs is distributed in the hope that it will be useful,
10883 but WITHOUT ANY WARRANTY; without even the implied warranty of
10884 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10885 GNU General Public License for more details.
10886
10887 You should have received a copy of the GNU General Public License
10888 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.