eww: exit and close actions
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2
3 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
4 (eww-mode-map): Use them.
5
6 2013-12-11 Martin Rudalics <rudalics@gmx.at>
7
8 * window.el (display-buffer-in-side-window): Fix doc-string
9 (Bug#16115).
10
11 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
12
13 * vc/vc-git.el: Silence byte-compiler warnings.
14 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
15 (log-edit-set-header): Declare.
16
17 2013-12-11 Eli Zaretskii <eliz@gnu.org>
18
19 * Makefile.in (custom-deps, finder-data): Run output file names
20 through unmsys--file-name. (Bug#16099)
21
22 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
23
24 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
25 comment-start-skip, since it fails when that uses submatch 1 (bug#16041).
26
27 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
28 instead of deleting the selection "by hand" (bug#16098).
29 Rely on insert-for-yank to yank rectangles.
30 (cua-highlight-region-shift-only): Mark obsolete.
31 (cua-mode): Don't enable/disable transient-mark-mode,
32 shift-select-mode (cua-mode works both with and without them), and
33 pc-selection-mode (obsolete).
34 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
35 (cua--deactivate-rectangle): Deactivate it.
36
37 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
38 (delete-selection-helper): Make sure yank starts at the top of the
39 deleted region.
40 (minibuffer-keyboard-quit): Use region-active-p.
41
42 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
43
44 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
45 to `delete' (bug#16109).
46
47 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
48
49 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
50 info manual and show keybindings and set `:group' keyword.
51
52 2013-12-11 Juri Linkov <juri@jurta.org>
53
54 * delsel.el (delete-active-region): Let-bind `this-command'
55 to prevent `kill-region' from changing its original value.
56 (delete-selection-helper): Handle `overwrite-mode' for the type
57 `kill' exactly the same way as for the type `t'.
58 (insert-char, quoted-insert, reindent-then-newline-and-indent):
59 Support more commands. (Bug#13312)
60
61 2013-12-11 Juri Linkov <juri@jurta.org>
62
63 * bindings.el: Map kp keys to non-kp keys systematically
64 with basic modifiers control, meta and shift. (Bug#14397)
65
66 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
67
68 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
69 "Close browser" menu items. Fix wrong function of "List
70 bookmarks".
71
72 2013-12-11 Juri Linkov <juri@jurta.org>
73
74 * misearch.el (multi-isearch-buffers): Set the value of
75 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
76 arg of isearch-forward to t.
77 (multi-isearch-buffers-regexp): Set the value of
78 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
79 arg of isearch-forward-regexp to t.
80 (multi-isearch-files): Set the value of
81 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
82 arg of isearch-forward to t.
83 (multi-isearch-files-regexp): Set the value of
84 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
85 arg of isearch-forward-regexp to t. (Bug#16035)
86
87 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
88 arg of isearch-forward to t.
89 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
90 arg of isearch-forward-regexp to t.
91 (dired-isearch-filter-filenames): Remove unnecessary check for
92 `dired-isearch-filenames'.
93
94 * comint.el (comint-history-isearch-backward):
95 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
96 (comint-history-isearch-backward-regexp):
97 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
98
99 2013-12-10 Eli Zaretskii <eliz@gnu.org>
100
101 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
102 unmsys--file-name. (Bug#16099)
103
104 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
105
106 * emacs-lisp/package.el (package-keyword-button-action): Remove
107 finder.el require dependency.
108
109 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
110
111 * emacs-lisp/package.el: Require finder.el.
112 (describe-package-1): Add keyword buttons.
113 (package-make-button): New convenience function.
114 (package-keyword-button-action): Keyword button action using
115 `finder-list-matches'
116
117 2013-12-09 Eli Zaretskii <eliz@gnu.org>
118
119 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
120 last commit.
121
122 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
123
124 * autorevert.el (auto-revert-notify-add-watch): Do not handle
125 symlinked files.
126
127 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
128
129 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
130 after the end of a percent literal.
131
132 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
133
134 * progmodes/ruby-mode.el (ruby-forward-string): Document. Handle
135 caret-delimited strings (Bug#16079).
136
137 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
138
139 * progmodes/ruby-mode.el (ruby-accurate-end-of-block): When
140 `ruby-use-smie' is t, use `smie-forward-sexp' instead of
141 `ruby-parse-partial' (Bug#16078).
142
143 2013-12-09 Leo Liu <sdl.web@gmail.com>
144
145 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
146
147 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
148
149 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
150 (js-switch-indent-offset): New option.
151 (js--proper-indentation): Use it. And handle the case when
152 "default" is actually a key in an object literal.
153 (js--same-line): New function.
154 (js--multi-line-declaration-indentation): Use it.
155 (js--indent-in-array-comp, js--array-comp-indentation): New
156 functions.
157 (js--proper-indentation): Use them, to handle array comprehension
158 continuations.
159
160 2013-12-08 Leo Liu <sdl.web@gmail.com>
161
162 * progmodes/flymake.el (flymake-highlight-line): Re-write.
163 (flymake-make-overlay): Remove arg MOUSE-FACE.
164 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
165
166 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
167
168 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
169 New function.
170 (redisplay-highlight-region-function): Use it.
171
172 * emulation/cua-base.el (cua--explicit-region-start)
173 (cua--last-region-shifted): Remove.
174 (cua--deactivate): Use deactivate-mark.
175 (cua--pre-command-handler-1): Don't handle shift-selection.
176 (cua--post-command-handler-1): Don't change transient-mark-mode.
177 (cua--select-keymaps): Use region-active-p rather than
178 cua--explicit-region-start or cua--last-region-shifted.
179 (cua-mode): Enable shift-select-mode.
180
181 2013-12-08 Leo Liu <sdl.web@gmail.com>
182
183 * progmodes/flymake.el (flymake-popup-current-error-menu):
184 Rename from flymake-display-err-menu-for-current-line. Reimplement.
185 (flymake-posn-at-point-as-event, flymake-popup-menu)
186 (flymake-make-emacs-menu): Remove. (Bug#16077)
187
188 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
189
190 * rect.el (rectangle-mark-mode): Activate mark even if
191 transient-mark-mode is off (bug#16066).
192 (rectangle--highlight-for-redisplay): Fix boundary condition when point
193 is > mark and at bolp.
194
195 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
196 (region-extract-function): Use it.
197 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
198 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
199 Delete functions.
200 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
201 kill-ring-save, kill-region, delete-char, delete-forward-char.
202 Ignore self-insert-iso.
203
204 * emulation/cua-gmrk.el (cua--init-global-mark):
205 Ignore `self-insert-iso'.
206
207 * emulation/cua-base.el (cua--prefix-copy-handler)
208 (cua--prefix-cut-handler): Rely on region-extract-function rather than
209 checking cua--rectangle.
210 (cua-delete-region): Use region-extract-function.
211 (cua-replace-region): Delete function.
212 (cua-copy-region, cua-cut-region): Obey region-extract-function.
213 (cua--pre-command-handler-1): Don't do the delete-selection thing.
214 (cua--self-insert-char-p): Ignore `self-insert-iso'.
215 (cua--init-keymaps): Don't remap delete-selection commands.
216 (cua-mode): Use delete-selection-mode instead of rolling our own
217 (bug#16085).
218
219 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
220 Obey region-extract-function.
221
222 Make registers and delete-selection-mode work on rectangles.
223 * register.el (describe-register-1): Don't modify the register's value.
224 (copy-to-register): Obey region-extract-function.
225 * delsel.el (delete-active-region): Obey region-extract-function.
226
227 2013-12-08 Leo Liu <sdl.web@gmail.com>
228
229 * progmodes/flymake.el (flymake, flymake-error-bitmap)
230 (flymake-warning-bitmap, flymake-fringe-indicator-position)
231 (flymake-compilation-prevents-syntax-check)
232 (flymake-start-syntax-check-on-newline)
233 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
234 (flymake-start-syntax-check-on-find-file, flymake-log-level)
235 (flymake-xml-program, flymake-master-file-dirs)
236 (flymake-master-file-count-limit)
237 (flymake-allowed-file-name-masks): Relocate.
238 (flymake-makehash, flymake-float-time)
239 (flymake-replace-regexp-in-string, flymake-split-string)
240 (flymake-get-temp-dir): Remove.
241 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
242 (flymake-current-row, flymake-selected-frame)
243 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
244 related functions. (Bug#16077)
245
246 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
247
248 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
249
250 2013-12-07 Tassilo Horn <tsdh@gnu.org>
251
252 * help-fns.el (describe-function-1): Use new advice-* functions
253 rather than old ad-* functions. Fix function type description and
254 source links for advised functions and subrs.
255
256 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
257
258 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
259
260 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
261
262 * progmodes/compile.el (compilation-start):
263 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
264
265 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
266 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
267
268 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
269
270 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
271 Touch up the last change.
272
273 2013-12-06 Leo Liu <sdl.web@gmail.com>
274
275 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
276 (inferior-octave-startup): Always use "octave> " for prompt.
277 (octave-goto-function-definition)
278 (octave-sync-function-file-names)
279 (octave-find-definition-default-filename): Remove redundant backquotes.
280
281 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
282
283 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
284 syntax for `?'.
285 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
286 where appropriate already.
287 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
288 end of method names (Bug#15874).
289
290 2013-12-06 Juri Linkov <juri@jurta.org>
291
292 * isearch.el (isearch--saved-overriding-local-map):
293 New internal variable.
294 (isearch-mode): Set it to the initial value of
295 `overriding-terminal-local-map'.
296 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
297 with `isearch--saved-overriding-local-map'. (Bug#16035)
298
299 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
300
301 * progmodes/octave.el (inferior-octave-completion-table):
302 Turn back into function, use `completion-table-with-cache'
303 (Bug#11906). Update all references.
304
305 * minibuffer.el (completion-table-with-cache): New function.
306
307 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
308
309 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
310
311 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
312
313 * net/eww.el (eww-current-source): New variable to store page
314 source.
315 (eww-display-html, eww-mode, eww-save-history)
316 (eww-restore-history): Use it.
317 (eww-view-source): New command to view page source.
318 Opportunistically uses `html-mode' to highlight the buffer.
319 (eww-mode-map): Install it.
320
321 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
322
323 * net/dbus.el (dbus-unregister-service)
324 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
325 Fix docstring.
326 (dbus-unregister-service): Skip :serial entries in
327 `dbus-registered-objects-table'.
328 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
329
330 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
331
332 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
333 around keywords with extra `split-string' argument.
334
335 2013-12-04 Martin Rudalics <rudalics@gmx.at>
336
337 * windmove.el (windmove-other-window-loc): Handle navigation
338 between windows (excluding the minibuffer window - Bug#16017).
339
340 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
341
342 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
343 in D-Bus type syntax.
344 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
345 preserve unibyte strings. (Bug#16048)
346
347 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
348
349 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
350 Call force-mode-line-update is the proper buffer (bug#16042).
351
352 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
353
354 * vc/log-edit.el (log-edit-add-new-comment): Rename to
355 `log-edit-remember-comment', make argument optional. Adjust all
356 callers.
357 (log-edit-mode): Add `log-edit-remember-comment' to
358 `kill-buffer-hook' locally.
359 (log-edit-kill-buffer): Don't remember comment explicitly since
360 the buffer is killed anyway.
361
362 2013-12-04 Juri Linkov <juri@jurta.org>
363
364 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
365 add-hook and remove-hook for multi-buffer search. (Bug#16035)
366
367 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
368
369 * notifications.el (notifications-close-notification): Call the
370 D-Bus method with ID being a `:uint32'. (Bug#16030)
371
372 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
373
374 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
375
376 2013-12-03 Juri Linkov <juri@jurta.org>
377
378 * progmodes/compile.el (compilation-start): Rename window alist
379 entry `no-display-ok' to `allow-no-window'.
380
381 * simple.el (shell-command): Add window alist entry
382 `allow-no-window' to `display-buffer'.
383 (async-shell-command): Doc fix.
384
385 * window.el (display-buffer-no-window): New action function.
386 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
387
388 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
389
390 * vc/log-edit.el (log-edit-set-header): Extract from
391 `log-edit-toggle-header'.
392 (log-edit-extract-headers): Separate the summary, when extracted
393 from header, from the rest of the message with an empty line.
394
395 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
396 line, if present, to the Summary header.
397
398 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
399
400 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
401 in current-buffer (bug#16029).
402
403 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
404
405 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
406 (debugger-mode-map): Bind it.
407 (debugger--backtrace-base): New function.
408 (debugger-eval-expression): Use it.
409 (debugger-frame-number): Skip local vars when present.
410 (debugger--locals-visible-p, debugger--insert-locals)
411 (debugger--show-locals, debugger--hide-locals): New functions.
412
413 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
414
415 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
416 "LC_ALL".
417 (tramp-get-remote-locale): New defun.
418 (tramp-open-connection-setup-interactive-shell): Use it.
419
420 2013-12-02 Leo Liu <sdl.web@gmail.com>
421
422 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
423
424 * progmodes/sh-script.el (sh-shell-process):
425 * progmodes/octave.el (inferior-octave-process-live-p):
426 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
427 (gdb-inferior-io-sentinel):
428 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
429
430 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
431
432 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
433 `save-selected-window' to `log-edit-hide-buf'. This makes
434 `log-edit-show-files' idempotent.
435 (log-edit-show-files): Mark the new window as dedicated.
436
437 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
438
439 * vc/log-edit.el (log-edit-mode-map): Add binding for
440 `log-edit-kill-biffer'.
441 (log-edit-hide-buf): Add a FIXME comment.
442 (log-edit-add-new-comment): New function, extracted from
443 `log-edit-done'.
444 (log-edit-done, log-edit-add-to-changelog): Use it.
445 (log-edit-kill-buffer): New command.
446
447 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
448
449 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
450 instead of killing the buffer.
451
452 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
453
454 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
455
456 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
457
458 * net/eww.el (eww-form-checkbox-selected-symbol)
459 (eww-form-checkbox-symbol): New customizable variable.
460 (eww-form-checkbox, eww-toggle-checkbox):
461 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
462
463 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
464 (shr--get-media-pref, shr--extract-best-source): New function.
465 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
466 no :src tag was specified.
467
468 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
469 (eww-render): Handle `eww-use-external-browser-for-content-type'.
470 Use \\` to match beginning of string instead of ^.
471 (eww-browse-with-external-browser): Provide optional URL parameter.
472 (eww-render): Set `eww-current-title' back to "".
473
474 * net/shr.el (shr-tag-video): Display content for video if no
475 poster is available.
476 (shr-tag-audio): Add support for <audio> tag.
477
478 * net/eww.el (eww-text-input-types): : New const.
479 (eww-process-text-input): Treat input types in
480 `eww-text-input-types' as text.
481
482 * net/shr.el (shr-tag-table): Fix comment typo.
483
484 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
485
486 * net/eww.el (eww-follow-link): New command to avoid reloading
487 pages when we follow #target links (bug#15243).
488 (eww-quit): Special mode buffers shouldn't query before exiting.
489
490 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
491
492 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
493 forms.
494
495 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
496
497 * net/eww.el (eww-restore-history): Update the window title after
498 moving in the history.
499 (eww-current-dom): New variable used to save the current DOM.
500
501 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
502
503 * vc/log-edit.el (log-edit-mode-map): Add binding for
504 `log-edit-beginning-of-line'.
505 (log-edit-setup-add-author): New user option.
506 (log-edit-beginning-of-line): New command.
507 (log-edit): Move major mode call above the contents setup so that
508 the local variable values are already applied.
509 (log-edit): Only insert "Author: " when
510 `log-edit-setup-add-author' is non-nil.
511 (log-edit): When SETUP is non-nil, position point after ": "
512 instead of point-min.
513
514 2013-12-01 Glenn Morris <rgm@gnu.org>
515
516 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
517
518 2013-11-30 Eli Zaretskii <eliz@gnu.org>
519
520 * startup.el (fancy-splash-frame): On MS-Windows, trigger
521 redisplay to make sure the initial frame gets a chance to become
522 visible. (Bug#16014)
523
524 2013-11-30 Martin Rudalics <rudalics@gmx.at>
525
526 Support resizing frames and windows pixelwise.
527 * cus-start.el (frame-resize-pixelwise)
528 (window-resize-pixelwise): New entries.
529 * emacs-lisp/debug.el (debug): Use window-total-height instead
530 of window-total-size.
531 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
532 * help.el (describe-bindings-internal): Call help-buffer
533 (temp-buffer-max-width): New option.
534 (resize-temp-buffer-window, help-window-setup)
535 (with-help-window): Rewrite.
536 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
537 dragging dividers.
538 * window.el (frame-char-size, window-min-pixel-height)
539 (window-safe-min-pixel-height, window-safe-min-pixel-width)
540 (window-min-pixel-width, window-safe-min-pixel-size)
541 (window-combination-p, window-safe-min-size)
542 (window-resizable-p, window--size-to-pixel)
543 (window--pixel-to-size, window--resize-apply-p): New functions.
544 (window-safe-min-height): Fix doc-string.
545 (window-size, window-min-size, window--min-size-1)
546 (window-sizable, window-sizable-p, window--min-delta-1)
547 (window-min-delta, window--max-delta-1, window-max-delta)
548 (window--resizable, window--resizable-p, window-resizable)
549 (window-full-height-p, window-full-width-p, window-at-side-p)
550 (window--in-direction-2, window-in-direction)
551 (window--resize-reset-1, window--resize-mini-window)
552 (window-resize, window-resize-no-error)
553 (window--resize-child-windows-normal)
554 (window--resize-child-windows, window--resize-siblings)
555 (window--resize-this-window, window--resize-root-window)
556 (window--resize-root-window-vertically)
557 (adjust-window-trailing-edge, enlarge-window, shrink-window)
558 (maximize-window, minimize-window, delete-window)
559 (quit-restore-window, window-split-min-size, split-window)
560 (balance-windows-2, balance-windows)
561 (balance-windows-area-adjust, balance-windows-area)
562 (window--state-get-1, window-state-get, window--state-put-1)
563 (window--state-put-2, window-state-put)
564 (display-buffer-record-window, window--display-buffer):
565 Make functions handle pixelwise sizing of windows.
566 (display-buffer--action-function-custom-type)
567 (display-buffer-fallback-action):
568 Add display-buffer-in-previous-window.
569 (display-buffer-use-some-window): Resize window to height it had
570 before.
571 (fit-window-to-buffer-horizontally): New option.
572 (fit-frame-to-buffer): Describe new values.
573 (fit-frame-to-buffer-bottom-margin): Replace with
574 fit-frame-to-buffer-margins.
575 (window--sanitize-margin): New function.
576 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
577 using window-text-pixel-size.
578
579 2013-11-30 Glenn Morris <rgm@gnu.org>
580
581 * emacs-lisp/bytecomp.el (byte-compile-form):
582 Make the `interactive-only' warning like the `obsolete' one.
583 * comint.el (comint-run):
584 * files.el (insert-file-literally, insert-file):
585 * replace.el (replace-string, replace-regexp):
586 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
587 (goto-line, insert-buffer, next-line, previous-line):
588 Tweak `interactive-only' spec.
589
590 Stop keeping (most) generated cedet grammar files in the repository.
591 * Makefile.in (semantic): New.
592 (compile-main): Depend on semantic.
593
594 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
595
596 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
597 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
598
599 * uniquify.el (uniquify-buffer-name-style): Change default.
600
601 * loadup.el: Preload "uniquify".
602
603 * time.el (display-time-update): Update all mode lines (bug#15999).
604
605 * electric.el (electric-indent-mode): Enable by default.
606 * loadup.el: Preload "electric".
607
608 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
609
610 * emacs-lisp/helpers.el (string-empty-p): New function.
611 (string-blank-p): New function.
612
613 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
614
615 * imenu.el (imenu--index-alist): Add missing dot to the docstring
616 (Bug#14029).
617
618 2013-11-29 Andreas Politz <politza@fh-trier.de>
619 * imenu.el (imenu--subalist-p): Don't error on non-conses and
620 allow non-lambda lists as functions.
621 (imenu--in-alist): Don't recurse into non-subalists.
622 (imenu): Don't pass function itself as an argument (Bug#14029).
623
624 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
625
626 * progmodes/python.el (python-mode-map): Remove binding for ":".
627 (python-indent-electric-colon): Remove command.
628 (python-indent-post-self-insert-function): Integrate the previous code
629 of python-indent-electric-colon. Make it conditional on
630 electric-indent-mode.
631 (python-mode): Add ?: to electric-indent-chars.
632 Move python-indent-post-self-insert-function to the end of
633 post-self-insert-hook.
634
635 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
636
637 * doc-view.el (doc-view-goto-page): Update mode-line.
638
639 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
640
641 2013-11-27 Glenn Morris <rgm@gnu.org>
642
643 * international/charprop.el, international/uni-bidi.el:
644 * international/uni-category.el, international/uni-combining.el:
645 * international/uni-comment.el, international/uni-decimal.el:
646 * international/uni-decomposition.el, international/uni-digit.el:
647 * international/uni-lowercase.el, international/uni-mirrored.el:
648 * international/uni-name.el, international/uni-numeric.el:
649 * international/uni-old-name.el, international/uni-titlecase.el:
650 * international/uni-uppercase.el:
651 Remove generated files from VCS repository.
652
653 2013-11-27 Eli Zaretskii <eliz@gnu.org>
654
655 * filenotify.el (file-notify-add-watch): Don't special-case
656 w32notify when computing the directory to watch.
657
658 2013-11-27 Glenn Morris <rgm@gnu.org>
659
660 Make bootstrap without generated uni-*.el files possible again.
661 * loadup.el: Update command-line-args checking for unidata-gen.
662 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
663 * composite.el, international/characters.el:
664 Handle unicode tables being undefined.
665
666 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
667 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
668 (compile-main): Depend on leim rule.
669 (leim): New rule.
670 * loadup.el: Move leim-list.el to leim/ subdirectory.
671 * startup.el (normal-top-level): No more leim directory.
672 * international/ja-dic-cnv.el (skkdic-convert):
673 Disable version-control and autoloads in output files.
674 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
675 Disable version-control and autoloads in output files.
676 * leim/quail: Move here from ../leim.
677 * leim/quail/hangul.el (hangul-input-method-activate):
678 Add autoload cookie.
679 (generated-autoload-load-name): Set file-local value.
680 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
681 (generated-autoload-load-name): Set file-local value.
682
683 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
684
685 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
686 (eww-add-bookmark): ask confirmation when add to bookmarks
687 (eww-quit): ask confirmation before quitting eww
688
689 2013-11-26 Eli Zaretskii <eliz@gnu.org>
690
691 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
692 reading output from Diff on MS-Windows and MS-DOS.
693
694 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
695
696 * emacs-lisp/helpers.el (string-reverse): New function.
697
698 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
699
700 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
701 names on MS Windows, like "/[::1]:".
702
703 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
704 SWITCHES.
705
706 2013-11-26 Glenn Morris <rgm@gnu.org>
707
708 * progmodes/python.el (python-indent-guess-indent-offset):
709 Avoid corner-case error. (Bug#15975)
710
711 Preload leim-list.el. (Bug#4789)
712 * loadup.el: Load leim-list.el when found.
713 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
714
715 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
716
717 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
718
719 * emacs-lisp/helpers.el (string-join): New function.
720
721 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
722
723 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
724 Mark as obsolete and replace it with a symbol property.
725 (byte-compile-form): Use new 'interactive-only property.
726 * comint.el, files.el, replace.el, simple.el:
727 Apply new 'interactive-only properly.
728
729 2013-11-25 Martin Rudalics <rudalics@gmx.at>
730
731 * window.el (display-buffer-at-bottom): Make sure that
732 split-window-sensibly creates the new window on bottom
733 (Bug#15961).
734
735 2013-11-23 David Kastrup <dak@gnu.org>
736
737 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
738 on the conflict markers when available.
739 (smerge--get-marker): New function.
740 (smerge-end-re, smerge-base-re): Add subgroup.
741
742 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
743
744 * frame.el (handle-focus-in, handle-focus-out): Add missing
745 interactive spec.
746
747 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
748
749 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
750 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
751
752 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
753
754 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
755 (gomoku--last-pos): New var.
756 (gomoku--intangible-chars): New const.
757 (gomoku--intangible): New function.
758 (gomoku-mode): Use it. Derive from special-mode.
759 (gomoku-move-up): Adjust line count.
760 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
761 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
762 Simplify accordingly.
763
764 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
765 Remove blink-cursor code.
766 (blink-cursor-timer-function, blink-cursor-suspend):
767 Don't special-case GUIs.
768 (blink-cursor-mode): Use focus-in/out-hook.
769
770 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
771
772 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
773 work when annotation is invisible (Bug#13886).
774
775 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
776
777 * json.el (json-alist-p): Only return non-nil if the alist has
778 simple keys (Bug#13518).
779
780 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
781
782 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
783 when control-statement is the first statement in a buffer (Bug#15956).
784
785 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
786
787 * imenu.el (imenu-generic-skip-comments-and-strings):
788 New option (Bug#15560).
789 (imenu--generic-function): Use it.
790
791 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
792
793 * minibuffer.el (completion--in-region-1): Scroll the correct
794 window. (Bug#13898)
795
796 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
797
798 * emacs-lisp/helpers.el: Add some string helpers.
799 (string-trim-left): Removes leading whitespace.
800 (string-trim-right): Removes trailing whitespace.
801 (string-trim): Removes leading and trailing whitespace.
802
803 * subr.el (string-suffix-p): New function.
804
805 2013-11-23 Glenn Morris <rgm@gnu.org>
806
807 * progmodes/python.el (python-shell-send-file):
808 Add option to delete file when done. (Bug#15647)
809 (python-shell-send-string, python-shell-send-region): Use it.
810
811 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
812
813 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
814 to set buffer-read-only to t, never to nil. (Bug#15938)
815
816 * textmodes/tex-mode.el (latex-noindent-environments):
817 Add safe-local-variable property. (Bug#15936)
818
819 2013-11-23 Glenn Morris <rgm@gnu.org>
820
821 * textmodes/enriched.el (enriched-mode): Doc fix.
822 * emacs-lisp/authors.el (authors-renamed-files-alist):
823 Add enriched.doc -> enriched.txt.
824
825 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
826
827 2013-11-22 Leo Liu <sdl.web@gmail.com>
828
829 * progmodes/octave.el (inferior-octave-startup): Spit out error
830 message.
831
832 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
833
834 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
835 Improve docstring.
836 Add :version.
837 (ruby-encoding-magic-comment-style): Add :version.
838
839 2013-11-22 Leo Liu <sdl.web@gmail.com>
840
841 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
842 (Bug#15076)
843 (octave-help-mode): Adapt to change to help-mode-finish to use
844 derived-mode-p on 2013-09-17.
845 (inferior-octave-prompt): Also match octave-gui.
846 (octave-kill-process): Don't ask twice. (Bug#10564)
847
848 2013-11-22 Leo Liu <sdl.web@gmail.com>
849
850 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
851 (inferior-octave-startup, inferior-octave-check-process)
852 (inferior-octave-track-window-width-change)
853 (octave-completion-at-point, octave-eldoc-function): Use it.
854 (octave-kill-process): Provide confirmation. (Bug#10564)
855
856 2013-11-21 Leo Liu <sdl.web@gmail.com>
857
858 * progmodes/octave.el (octave-mode, inferior-octave-mode):
859 Fix obsolete variable comment-use-global-state.
860
861 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
862
863 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
864 Add `octave-source-file'.
865 (octave-source-file): New function. (Bug#15935)
866
867 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
868
869 * net/eww.el (eww-local-regex): New variable.
870 (eww): Use it to detect localhost and similar.
871
872 2013-11-21 Leo Liu <sdl.web@gmail.com>
873
874 Add completion for command `ag'.
875 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
876 (pcomplete/ag): New function.
877 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
878
879 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
880
881 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
882 (bug#14646).
883 (make-obsolete): Remove interactive spec.
884
885 2013-11-21 Glenn Morris <rgm@gnu.org>
886
887 * startup.el (command-line-1): Use path-separator with -L.
888
889 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
890
891 * emacs-lisp/package.el (describe-package-1): Add package archive
892 to shown fields.
893
894 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
895
896 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
897 Change default to "# encoding: %s" to differentiate it from the
898 default Ruby encoding comment template.
899
900 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
901
902 * ses.el (ses-mode): Doc fix. (Bug#14748)
903
904 2013-11-20 Leo Liu <sdl.web@gmail.com>
905
906 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
907
908 2013-11-19 Dan Nicolaescu <dann@gnu.org>
909
910 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
911 when rebase or bisect are in progress.
912
913 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
914
915 * filenotify.el (file-notify-add-watch): Doc fix.
916
917 2013-11-19 Leo Liu <sdl.web@gmail.com>
918
919 * obsolete/rcompile.el: Mark obsolete.
920
921 * progmodes/compile.el (compilation-start)
922 (compilation-goto-locus, compilation-find-file):
923 Pass no-display-ok and handle nil value from display-buffer.
924 (Bug#13594)
925
926 * window.el (display-buffer-alist, display-buffer): Document the
927 new parameter no-display-ok. Return either a window or nil
928 but never a non-window value.
929
930 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
931
932 * electric.el (electric-indent-mode-map): Remove.
933 (electric-indent-mode): Change the global-map instead (bug#15915).
934
935 * textmodes/text-mode.el (paragraph-indent-minor-mode):
936 Use add-function.
937
938 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
939
940 * emacs-lisp/nadvice.el (remove-function): Align with
941 add-function's behavior.
942
943 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
944 (gdb--string-regexp): New constant.
945 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
946 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
947 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
948 submatch 1.
949 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
950 Adjust use accordingly.
951 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
952
953 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
954
955 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
956 interpolation curlies (Bug#15914).
957
958 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
959
960 * calc/calc.el (calc-context-sensitive-enter): New variable.
961 (calc-enter): Use `calc-context-sensitive-enter'.
962
963 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
964
965 * progmodes/cfengine.el: Version bump.
966 (cfengine-cf-promises): New defcustom to locate cf-promises.
967 (cfengine3-vartypes): Add new "data" type.
968 (cfengine3--current-word): New function to get current name-like
969 word or its bounds.
970 (cfengine3--current-function): New function to look up a CFEngine
971 function's definition.
972 (cfengine3-format-function-docstring): New function.
973 (cfengine3-make-syntax-cache): New function.
974 (cfengine3-documentation-function): New function: ElDoc glue.
975 (cfengine3-completion-function): New function: completion glue.
976 (cfengine3-mode): Set `compile-command',
977 `eldoc-documentation-function', and add to
978 `completion-at-point-functions'.
979
980 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
981
982 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
983 `tramp-current-connection'.
984
985 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
986
987 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
988 nil/self/true/false with "end of symbol".
989
990 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
991
992 * subr.el (version-regexp-alist): Fix a typo.
993
994 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
995
996 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
997 "en_US.utf8" and "LC_CTYPE" to "".
998 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
999 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1000
1001 2013-11-15 Leo Liu <sdl.web@gmail.com>
1002
1003 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1004
1005 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1006
1007 * progmodes/gud.el (ctl-x-map):
1008 Remove C-x SPC binding. (Bug#12342)
1009 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1010
1011 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1012
1013 * subr.el (version-regexp-alist):
1014 Recognize hg, svn and darcs versions as snapshot versions.
1015
1016 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1017 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1018 (ruby--encoding-comment-required-p): Extract from
1019 `ruby-mode-set-encoding'.
1020 (ruby-mode-set-encoding): Add the ability to always insert an
1021 utf-8 encoding comment. Fix and simplify coding comment update
1022 logic.
1023
1024 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1025
1026 * net/tramp-gvfs.el (top): Run init code only when
1027 `tramp-gvfs-enabled' is not nil.
1028 (tramp-gvfs-enabled): Check also :system bus.
1029
1030 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1031
1032 Sync with upstream verilog-mode revision 78e66ba.
1033 * progmodes/verilog-mode.el (verilog-end-of-defun)
1034 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1035 (verilog-get-end-of-defun): Remove unused argument.
1036 (verilog-comment-depth): Remove unused local `e'.
1037 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1038 Don't pass arg to verilog-get-end-of-defun.
1039
1040 2013-11-14 Glenn Morris <rgm@gnu.org>
1041
1042 * obsolete/assoc.el (aget): Prefix dynamic variable.
1043
1044 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1045
1046 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1047
1048 * widget.el, hfy-cmap.el: Remove bogus package version number.
1049
1050 2013-11-13 Glenn Morris <rgm@gnu.org>
1051
1052 * replace.el (replace-eval-replacement):
1053 Try to give more helpful error message. (Bug#15836)
1054
1055 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1056 (archive-7z-update): Avoid custom type mismatches.
1057
1058 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1059
1060 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1061
1062 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1063 address can be empty.
1064
1065 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1066 Accept nil SWITCHES.
1067 (tramp-gvfs-handle-write-region): Implement APPEND.
1068
1069 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1070
1071 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1072 binary "|" operator and closing block args delimiter.
1073 Remove FIXME comment referring to Ruby 1.8-only syntax.
1074 (ruby-smie--implicit-semi-p): Not after "|" operator.
1075 (ruby-smie--closing-pipe-p): New function.
1076 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1077 (ruby-smie-rules): Indent after "|".
1078
1079 2013-11-12 Glenn Morris <rgm@gnu.org>
1080
1081 * ps-print.el (ps-face-attribute-list):
1082 Handle anonymous faces. (Bug#15827)
1083
1084 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1085
1086 * window.el (display-buffer-other-frame): Fix doc-string.
1087 (Bug#15868)
1088
1089 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1090
1091 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1092
1093 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1094
1095 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1096 (tramp-sh-handle-file-local-copy): Don't write a message when
1097 saving temporary files.
1098
1099 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1100 both directories are remote.
1101 (tramp-smb-handle-directory-files): Do not return double entries.
1102 Do not expand full file names.
1103 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1104 (tramp-smb-handle-write-region): Implement APPEND.
1105 (tramp-smb-get-stat-capability): Fix a stupid bug.
1106
1107 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1108
1109 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1110
1111 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1112
1113 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1114 throwing error over malformed let/let* (bug#15814).
1115
1116 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1117
1118 * iswitchb.el (iswitchb-mode): Mark obsolete.
1119
1120 2013-11-11 Glenn Morris <rgm@gnu.org>
1121
1122 * international/uni-bidi.el, international/uni-category.el:
1123 * international/uni-name.el, international/uni-numeric.el:
1124 Regenerate for Unicode 6.3.0.
1125
1126 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1127
1128 * net/tramp.el (tramp-methods):
1129 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1130 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1131
1132 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1133
1134 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1135 Force highlighting text after Summary keyword in doc face for rpm.
1136
1137 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1138
1139 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1140 available and the word has no wildcards, append one to the grep pattern.
1141 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1142 (ispell-complete-word): Call `ispell-lookup-words' with the value
1143 independent of `ispell-look-p'.
1144
1145 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1146
1147 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1148 Not after "||".
1149 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1150 their parent.
1151
1152 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1153
1154 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1155 (ruby-font-lock-keywords): Use backquote.
1156
1157 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1158
1159 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1160 (ruby-smie--backward-token): Only consider full-string matches.
1161
1162 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1163
1164 * faces.el (describe-face): Add distant-foreground.
1165
1166 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1167
1168 * progmodes/ruby-mode.el: Improve encoding comment handling.
1169 (ruby-encoding-magic-comment-style): New option.
1170 (ruby-custom-encoding-magic-comment-template): New option.
1171 (ruby--insert-coding-comment, ruby--detect-encoding):
1172 New functions extracted from `ruby-mode-set-encoding'.
1173 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1174 to control the style of the auto-inserted encoding comment.
1175
1176 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1177
1178 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1179 Use `smie-backward-sexp' with token argument.
1180
1181 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1182
1183 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1184 Remove instrumentation code.
1185
1186 2013-11-08 Glenn Morris <rgm@gnu.org>
1187
1188 * progmodes/autoconf.el (autoconf-mode):
1189 Tweak comment-start-skip. (Bug#15822)
1190
1191 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1192
1193 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1194 at bobp (bug#15826).
1195 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1196
1197 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1198
1199 * man.el (Man-start-calling): New macro, extracted from
1200 Man-getpage-in-background.
1201 (Man-getpage-in-background): Use it.
1202 (Man-update-manpage): New command.
1203 (Man-mode-map): Bind it.
1204
1205 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1206
1207 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1208 of "and", "or", "&&" and "||".
1209 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1210 argument. Prohibit opening curly brace because it could only be a
1211 block opener in that position.
1212 (ruby-smie--forward-token, ruby-smie--backward-token):
1213 Separate "|" from "&" or "*" going after it. That can happen in block
1214 arguments.
1215 (ruby-smie--indent-to-stmt): New function, seeks the end of
1216 previous statement or beginning of buffer.
1217 (ruby-smie-rules): Use it.
1218 (ruby-smie-rules): Check if there's a ":" before a curly block
1219 opener candidate; if there is, it's a hash.
1220
1221 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1222
1223 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1224 (cl--block-wrapper): Fix last accidental change.
1225
1226 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1227
1228 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1229 Instrument, in order to hunt failure on hydra.
1230
1231 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1232
1233 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1234 malformed bindings form (bug#15814).
1235
1236 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1237
1238 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1239 "." compared to " @ ". This incidentally fixes some indentation
1240 examples with "do".
1241 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1242 (ruby-smie-grammar): New tokens: "and" and "or".
1243 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1244 Exclude "and" and "or". Remove "do" in order to work around token
1245 priorities.
1246 (ruby-smie-rules): Add all infix tokens. Handle the case of
1247 beginning-of-buffer.
1248
1249 2013-11-06 Glenn Morris <rgm@gnu.org>
1250
1251 * Makefile.in (setwins_almost, setwins_for_subdirs):
1252 Avoid accidental matches.
1253
1254 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1255
1256 * menu-bar.el (popup-menu): Use key-binding.
1257
1258 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1259
1260 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1261 menus, support also the menus produced by minor modes.
1262 (Bug#15817)
1263
1264 2013-11-06 Leo Liu <sdl.web@gmail.com>
1265
1266 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1267 DISTANCE to bound the search. All uses changed. (Bug#15808)
1268
1269 2013-11-06 Glenn Morris <rgm@gnu.org>
1270
1271 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1272 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1273 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1274
1275 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1276
1277 * electric.el (electric-indent-just-newline): New command.
1278 (electric-indent-mode-map): New keymap.
1279 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1280 Re-add :group which weren't redundant.
1281
1282 * electric.el (electric-indent-local-mode): New minor mode.
1283 (electric-indent-functions-without-reindent): New var.
1284 (electric-indent-post-self-insert-function): Use it.
1285 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1286
1287 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1288
1289 * international/quail.el (quail-help): Be more explicit about the
1290 meaning of the labels shown on the keys. (Bug#15800)
1291
1292 * startup.el (normal-top-level): Load the subdirs.el files before
1293 setting the locale environment. (Bug#15805)
1294
1295 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1296
1297 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1298 via arguments so as to get the right ones (bug#15418).
1299
1300 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1301
1302 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1303
1304 Fix problems found while writing a test suite.
1305
1306 * net/tramp-compat.el (tramp-compat-load): New defun.
1307 * net/tramp.el (tramp-handle-load): Use it.
1308
1309 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1310 "(numberp ok-if-already-exists)" correctly.
1311
1312 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1313
1314 * international/characters.el (glyphless-char-display-control):
1315 Add usage note.
1316
1317 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1318
1319 * progmodes/python.el (python-mode):
1320 * progmodes/scheme.el (scheme-mode):
1321 * progmodes/prolog.el (prolog-mode):
1322 * progmodes/ruby-mode.el (ruby-mode):
1323 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1324 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1325
1326 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1327
1328 * rect.el (rectangle--highlight-for-redisplay):
1329 * emacs-lisp/smie.el (smie--next-indent-change):
1330 Use buffer-chars-modified-tick.
1331
1332 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1333
1334 * electric.el (electric-indent-post-self-insert-function):
1335 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1336
1337 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1338
1339 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1340
1341 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1342
1343 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1344 (bug#15786).
1345
1346 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1347
1348 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1349
1350 * progmodes/python.el: Fix up last change.
1351 (python-shell--save-temp-file): New function.
1352 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1353 `string' comes from the current buffer.
1354 (python-shell-send-string-no-output): Remove `msg' arg.
1355 (python--use-fake-loc): New var.
1356 (python-shell-buffer-substring): Obey it. Try to compensate for the
1357 extra coding line added by python-shell--save-temp-file.
1358 (python-shell-send-region): Use python-shell--save-temp-file and
1359 python-shell-send-file directly. Add `nomain' argument.
1360 (python-shell-send-buffer): Use python-shell-send-region.
1361 (python-electric-pair-string-delimiter): New function.
1362 (python-mode): Use it.
1363
1364 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1365
1366 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1367 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1368 environment and decoding all of the default-directory's to here
1369 from command-line.
1370 (command-line): Decode also argv[0].
1371
1372 * loadup.el: Error out if default-directory is a multibyte string
1373 when we are dumping.
1374
1375 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1376
1377 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1378
1379 * emacs-lisp/package.el (package-menu-mode)
1380 (package-menu--print-info, package-menu--archive-predicate):
1381 Add Archive column to package list.
1382
1383 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1384
1385 Fix problems found while writing a test suite.
1386
1387 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1388 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1389 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1390 to nil when running original file name handler. Otherwise,
1391 there are problems with constructs like "$$FOO".
1392
1393 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1394 for `localname'.
1395
1396 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1397
1398 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1399
1400 * subr.el (version<, version<=, version=):
1401 Update docstrings with information for snapshot versions.
1402
1403 * helpers.el: New library for misc helper functions.
1404 (hash-table-keys): New function returning a list of hash keys.
1405 (hash-table-values): New function returning a list of hash values.
1406
1407 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1408
1409 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1410 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1411
1412 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1413
1414 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1415 checking whether point is after a 1-letter word.
1416
1417 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1418
1419 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1420 Don't infloop when expanding region over `multiline' syntax-type that
1421 begins a line (bug#15778).
1422
1423 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1424
1425 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1426 Make it into a proper minor mode.
1427 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1428 (rectangle-mark-mode-map): New keymap.
1429 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1430
1431 2013-11-04 Glenn Morris <rgm@gnu.org>
1432
1433 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1434
1435 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1436
1437 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1438 (ruby-smie-rules): Use smie-rule-parent instead.
1439
1440 * emacs-lisp/smie.el (smie-rule-parent): Always call
1441 smie-indent-virtual rather than only for hanging tokens.
1442 (smie--next-indent-change): New helper command.
1443
1444 2013-11-03 Glenn Morris <rgm@gnu.org>
1445
1446 * Makefile.in (abs_srcdir): Remove.
1447 (emacs): Unset EMACSLOADPATH.
1448
1449 2013-11-02 Glenn Morris <rgm@gnu.org>
1450
1451 * Makefile.in (EMACS): Use a relative filename.
1452 (abs_top_builddir): Remove.
1453 (custom-deps, finder-data, autoloads): Use --chdir.
1454
1455 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1456
1457 Use relative filenames in TAGS files.
1458 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1459 (lisptagsfiles4, TAGS): Use relative file names.
1460 (TAGS-LISP): Remove.
1461 (maintainer-clean): No more TAGS-LISP file.
1462
1463 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1464 (lisptagsfiles4): Use absolute filenames again.
1465 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1466 Remove all *loaddefs files, not just the first. Remove esh-groups.
1467 (maintainer-clean): Delete TAGS, TAGS-LISP.
1468
1469 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1470
1471 * emacs-lisp/package.el (package-version-join):
1472 Recognize snapshot versions.
1473
1474 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1475
1476 * subr.el (version-regexp-alist): Add support for snapshot versions.
1477
1478 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1479
1480 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1481 New function, replacement for `smie-rule-parent' for when we want to
1482 skip over our direct parent if it's an assignment token..
1483 (ruby-smie-rules): Use it.
1484
1485 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1486
1487 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1488 unconditionally. Remove now unnecessary forward declarations.
1489 Remove XEmacs-specific setup.
1490 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1491 (ruby-font-lock-syntactic-keywords)
1492 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1493 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1494 (ruby-here-doc-end-syntax): Remove.
1495 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1496 defined as function.
1497
1498 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1499
1500 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1501
1502 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1503
1504 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1505 table and abbrev table, `define-derived-mode' does that for us
1506 anyway.
1507
1508 2013-11-01 Glenn Morris <rgm@gnu.org>
1509
1510 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1511 files is atomic for some time, so no parallel compilation issues).
1512
1513 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1514
1515 * faces.el (face-x-resources): Add :distant-foreground.
1516 (region): Use :distant-foreground for gtk and ns.
1517
1518 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1519
1520 Allow multiple bibliographies when BibLaTeX is used rather than
1521 BibTeX.
1522 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1523 (reftex-locate-bibliography-files): Us it.
1524
1525 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1526
1527 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1528 allow comments in pbm files.
1529
1530 * term/w32-win.el (dynamic-library-alist): Support newer versions
1531 of libjpeg starting with v7: look only for the DLL from the
1532 version against which Emacs was built.
1533 Support versions of libpng beyond 1.4.x.
1534 Support libtiff v4.x.
1535
1536 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1537
1538 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1539 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1540 Add property :safe.
1541 (ruby-deep-arglist): Add property :type.
1542
1543 2013-10-31 Glenn Morris <rgm@gnu.org>
1544
1545 * Makefile.in (custom-deps, finder-data): No need to setq the target
1546 variables, we are in the right directory and the defaults work fine.
1547
1548 2013-10-30 Glenn Morris <rgm@gnu.org>
1549
1550 * Makefile.in (autoloads): Do not use abs_lisp.
1551
1552 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1553 `newline' does not respect `standard-output', so use `princ'.
1554
1555 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1556
1557 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1558 * buff-menu.el (Buffer-menu--unmark): New function.
1559 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1560
1561 2013-10-30 Glenn Morris <rgm@gnu.org>
1562
1563 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1564
1565 * emacs-lisp/package.el (lm-homepage): Declare.
1566
1567 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1568 Fix doc typos.
1569
1570 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1571
1572 * Makefile.in (finder-data, autoloads, update-subdirs)
1573 (compile-main, compile-clean, compile-always, bootstrap-clean):
1574 Check return value of cd.
1575 (compile-calc): Remove.
1576
1577 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1578
1579 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1580
1581 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1582 (byte-compile-and-folded): New function.
1583 (=, <, >, <=, >=): Use it.
1584
1585 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1586 (path-separator, null-device, buffer-file-coding-system)
1587 (lpr-headers-switches): Check system-type before modifying them.
1588 (find-buffer-file-type-coding-system): Mark obsolete.
1589 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1590 find-file-not-found-set-buffer-file-coding-system.
1591 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1592 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1593 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1594 (w32-direct-print-region-helper, w32-direct-print-region-function)
1595 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1596 * startup.el (normal-top-level-add-subdirs-to-load-path):
1597 * ps-print.el (ps-print-region-function):
1598 * lpr.el (print-region-function): Use new name.
1599
1600 * subr.el (custom-declare-variable-early): Remove function.
1601 (custom-declare-variable-list): Remove var.
1602 (error, user-error): Remove `while' loop.
1603 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1604 (user-emacs-directory-warning, locate-user-emacs-file):
1605 Move to files.el.
1606 * simple.el (read-quoted-char-radix, read-quoted-char):
1607 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1608 Move from subr.el.
1609 * custom.el (custom-declare-variable-list): Don't process
1610 custom-declare-variable-list.
1611
1612 * progmodes/python.el (python-shell-get-buffer): New function.
1613 (python-shell-get-process): Use it.
1614 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1615 Python which encoding was used. Don't split-string since we only care
1616 about the first line. Return the temp-file, if applicable.
1617 (python-shell-send-region): Tell compile.el how to turn locations in
1618 the temp-file into locations in the source buffer.
1619
1620 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1621
1622 * subr.el (undefined): Add missing behavior from the C code for
1623 unbound keys.
1624
1625 * rect.el: Use lexical-binding. Add new rectangular region support.
1626 (rectangle-mark): New command.
1627 (rectangle--region): New var.
1628 (deactivate-mark-hook): Reset rectangle--region.
1629 (rectangle--extract-region, rectangle--insert-for-yank)
1630 (rectangle--highlight-for-redisplay)
1631 (rectangle--unhighlight-for-redisplay): New functions.
1632 (region-extract-function, redisplay-unhighlight-region-function)
1633 (redisplay-highlight-region-function): Use them to handle
1634 rectangular region.
1635 * simple.el (region-extract-function): New var.
1636 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1637 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1638 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1639 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1640 (redisplay-unhighlight-region-function)
1641 (redisplay-highlight-region-function): New vars.
1642 (redisplay--update-region-highlight): New function.
1643 (pre-redisplay-function): Use it.
1644 (exchange-point-and-mark): Don't deactivate the mark before
1645 reactivate-it anyway.
1646 * comint.el (comint-kill-region): Remove yank-handler argument.
1647 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1648 (delete-char): Remove property, since it's now part of their
1649 default behavior.
1650 (self-insert-iso): Remove property since this command doesn't exist.
1651
1652 * emacs-lisp/package.el (package--download-one-archive)
1653 (describe-package-1): Don't query the user about final newline.
1654
1655 2013-10-29 Daniel Colascione <dancol@dancol.org>
1656
1657 * net/tramp.el (tramp-methods): Document new functionality.
1658 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1659 tramp-hostname-checker if method provides one instead of scanning
1660 argument list for "%h" to decide hostname acceptability.
1661
1662 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1663
1664 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1665 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1666 Handle COPY-CONTENTS. (Bug#15737)
1667
1668 2013-10-28 Daiki Ueno <ueno@gnu.org>
1669
1670 * epa-file.el
1671 (epa-file-cache-passphrase-for-symmetric-encryption):
1672 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1673
1674 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1675
1676 * image.el (defimage):
1677 (image-load-path): Doc fixes.
1678
1679 2013-10-27 Alan Mackenzie <acm@muc.de>
1680
1681 Indent statements in macros following "##" correctly.
1682 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1683 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1684
1685 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1686
1687 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1688
1689 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1690
1691 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1692 after `=' is probably a new expression.
1693
1694 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1695
1696 * man.el (man-imenu-title): New option.
1697 (Man-mode-map): Add menu. (Bug#15722)
1698 (Man-mode): Add imenu to menu.
1699
1700 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1701
1702 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1703 specific in what the first arg can be: a non-keyword word,
1704 string/regexp/percent literal opener, opening paren, or unary
1705 operator followed directly by word.
1706
1707 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1708
1709 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1710 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1711 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1712 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1713 Remove vars, they do not apply any more.
1714 (prolog-mode-abbrev-table): Remove redundant declaration.
1715 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1716 (prolog-use-smie): Remove.
1717 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1718 supported by prolog-electric-if-then-else-flag.
1719 (prolog-mode-variables, prolog-menu): Use setq-local.
1720 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1721 Remove binding to `Backspace' since this key doesn't exist anyway.
1722 Remove bindings for electric self-inserting keys.
1723 (prog-mode): Assume it's defined.
1724 (prolog-post-self-insert): New function.
1725 (prolog-mode): Use it.
1726 (prolog-indent-line, prolog-indent-level)
1727 (prolog-find-indent-of-matching-paren)
1728 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1729 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1730 (prolog-goto-next-paren, prolog-in-string-or-comment)
1731 (prolog-tokenize, prolog-inside-mline-comment)
1732 (prolog-find-start-of-mline-comment): Remove functions.
1733 (prolog-find-unmatched-paren, prolog-clause-end)
1734 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1735 (prolog-electric--if-then-else): Rename from
1736 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1737 (prolog-tokenize-searchkey): Remove const.
1738 (prolog-clause-info): Use forward-sexp.
1739 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1740 (prolog-electric-if-then-else): Remove commands.
1741 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1742 for use in post-self-insert-hook.
1743 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1744 for use in post-self-insert-hook.
1745 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1746 for use in post-self-insert-hook.
1747 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1748 adapt it for use in post-self-insert-hook.
1749
1750 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1751
1752 * emacs-lisp/ert.el (ert-run-tests-interactively):
1753 Use `completing-read'. (Bug#9756)
1754
1755 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1756
1757 * simple.el (line-move): Call line-move-1 instead of
1758 line-move-visual when the current window hscroll is zero, but
1759 temporary-goal-column indicates we will need to hscroll as result
1760 of the movement. (Bug#15712)
1761
1762 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1763
1764 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1765 capitalization. Use :visible instead of :active.
1766 Fix `ruby-indent-exp' reference. Add menu items for the generic
1767 commands that are used with SMIE.
1768 (ruby-do-end-to-brace): Insert space after `{'.
1769
1770 2013-10-25 John Anthony <john@jo.hnanthony.com>
1771
1772 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1773
1774 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1775
1776 2013-10-25 Glenn Morris <rgm@gnu.org>
1777
1778 * vc/vc.el (vc-print-log): Don't use a working revision unless
1779 one was explicitly specified. (Bug#15322)
1780
1781 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1782
1783 * subr.el (add-to-list): Preserve return value in compiler-macro
1784 (bug#15692).
1785
1786 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1787
1788 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1789 result. Ask user to retry using '-all' flag. (Bug#15701)
1790
1791 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1792
1793 * emacs-lisp/smie.el: New smie-config system.
1794 (smie-config): New defcustom.
1795 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1796 (smie-config-guess, smie-config-save): New commands.
1797 (smie-config--mode-local, smie-config--buffer-local)
1798 (smie-config--trace, smie-config--modefuns): New vars.
1799 (smie-config--advice, smie-config--mode-hook)
1800 (smie-config--setter, smie-config-local, smie-config--get-trace)
1801 (smie-config--guess-value, smie-config--guess): New functions.
1802 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1803 text properties. Treat "string fence" syntax like string syntax.
1804
1805 * progmodes/sh-script.el (sh-use-smie): Change default.
1806 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1807 (sh-var-value): Simplify by CSE.
1808 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1809 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1810 is used.
1811 (sh-guess-basic-offset): Use cl-incf.
1812 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1813
1814 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1815
1816 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1817 (bug#15699).
1818
1819 2013-10-24 Glenn Morris <rgm@gnu.org>
1820
1821 * Makefile.in (abs_top_srcdir): Remove.
1822 (update-subdirs): Use relative path to update-subdirs.
1823
1824 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1825
1826 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1827 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1828 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1829 Call unmsys--file-name before expand-file-name, not after it.
1830
1831 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1832
1833 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1834 (ert-test-skipped): New error.
1835 (ert-skip, ert-stats-skipped): New defuns.
1836 (ert--skip-unless): New macro.
1837 (ert-test-skipped): New struct.
1838 (ert--run-test-debugger, ert-test-result-type-p)
1839 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1840 (ert--stats-set-test-and-result, ert-char-for-test-result)
1841 (ert-string-for-test-result, ert-run-tests-batch)
1842 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1843 Handle skipped tests. (Bug#9803)
1844
1845 2013-10-24 Glenn Morris <rgm@gnu.org>
1846
1847 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1848
1849 * Makefile.in (abs_top_srcdir): New, set by configure.
1850 (update-subdirs): Correct build-aux location.
1851
1852 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1853
1854 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1855 value, whether we could auto-deduce `backend', or not.
1856
1857 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1858 with parameters" example. Simplify the "is it block or is it
1859 hash" check, but also make it more thorough.
1860
1861 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1862
1863 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1864
1865 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1866
1867 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1868 { if it is hanging.
1869
1870 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1871 :before ";".
1872
1873 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1874
1875 * progmodes/compile.el (compilation-directory-matcher)
1876 (compilation-page-delimiter):
1877 Support GNU Make-4.0 directory quoting. (Bug#15678)
1878
1879 2013-10-23 Leo Liu <sdl.web@gmail.com>
1880
1881 * ido.el (ido-tidy): Handle read-only text.
1882
1883 2013-10-23 Glenn Morris <rgm@gnu.org>
1884
1885 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1886 (emacs, compile, compile-always):
1887 Quote entities that might contain whitespace.
1888 (custom-deps, finder-data, autoloads): Use abs_lisp.
1889 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1890 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1891 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1892
1893 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1894
1895 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1896 Use `following-char'.
1897
1898 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1899
1900 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1901 * progmodes/ruby-mode.el (ruby-smie-rules):
1902 Remove corresponding workaround. Fix indentation rule of ";" so it
1903 also applies when ";" is the parent.
1904
1905 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1906
1907 * frame.el (display-screens, display-pixel-height)
1908 (display-pixel-width, display-mm-width, display-backing-store)
1909 (display-save-under, display-planes, display-color-cells)
1910 (display-visual-class, display-monitor-attributes-list):
1911 Mention the optional ‘display’ argument in doc strings.
1912
1913 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1914
1915 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1916 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1917
1918 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1919
1920 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1921 TODO. Add "." after " @ ".
1922 (ruby-smie--at-dot-call): New function. Checks if point at method
1923 call with explicit target.
1924 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1925 to the method name tokens when it precedes them.
1926 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1927 (ruby-smie-rules): Add rule for indentation before and after "."
1928 token.
1929
1930 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1931
1932 * textmodes/remember.el (remember-diary-extract-entries):
1933 Avoid add-to-list.
1934
1935 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1936 an instruction.
1937
1938 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1939
1940 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1941 (ruby-smie--implicit-semi-p): Add new operator chars.
1942
1943 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1944 `smie-down-list'.
1945 (ruby-smie--args-separator-p): Check that there's no newline
1946 between method call and its arguments.
1947
1948 2013-10-20 Alan Mackenzie <acm@muc.de>
1949
1950 Allow comma separated lists after Java "implements".
1951
1952 * progmodes/cc-engine.el (c-backward-over-enum-header):
1953 Parse commas.
1954 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1955 from a "disallowed" list in enum fontification.
1956
1957 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1958
1959 * startup.el (default-frame-background-mode): Remove unused defvar.
1960
1961 * progmodes/verilog-mode.el (verilog-mode): Don't set
1962 comment-indent-function globally.
1963
1964 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1965
1966 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1967 Move Info menu item creation to ns-win.el.
1968
1969 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1970 in menu bar.
1971
1972 * menu-bar.el: Move GNUStep specific menus...
1973
1974 * term/ns-win.el (ns-initialize-window-system): ... to here.
1975
1976 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1977
1978 * simple.el (newline): Only run post-self-insert-hook when
1979 called interactively.
1980
1981 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1982
1983 * icomplete.el (icomplete-with-completion-tables): Add :version.
1984
1985 2013-10-19 Alan Mackenzie <acm@muc.de>
1986
1987 Fix fontification bugs with constructors and const.
1988
1989 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1990 CASE 2) Remove the check for the absence of a suffix construct
1991 after a function declaration with only types (no identifiers) in
1992 the parentheses. Also, accept a function declaration with just a
1993 type inside the parentheses, if this type can be positively
1994 recognised as such, or if a prefix keyword like "explicit" nails
1995 down the construct as a declaration.
1996
1997 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1998
1999 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2000 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2001 the problem whereby selecting a menu item that leads to a
2002 minibuffer prompt moves the cursor out of the minibuffer window,
2003 making it hard to type at the prompt. Suggested by Stefan Monnier
2004 <monnier@iro.umontreal.ca>.
2005
2006 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2007
2008 * menu-bar.el: Don't make Services menu.
2009
2010 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2011
2012 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2013 (ffap-alist): Use ffap-c++-mode for c++-mode.
2014 (ffap-c++-path): New variable.
2015 (ffap-c++-mode): New function.
2016
2017 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2018
2019 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2020
2021 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2022
2023 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2024 introduced on 2013-09-08, which results in an infinite loop
2025 requesting a password.
2026
2027 2013-10-18 Glenn Morris <rgm@gnu.org>
2028
2029 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2030
2031 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2032
2033 Sync with upstream verilog-mode revision 1a6ecec7.
2034 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2035 (verilog-mode-release-date): Remove.
2036 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2037 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2038 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2039 (verilog-auto-tieoff-ignore-regexp)
2040 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2041 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2042 (verilog-signals-with, verilog-dir-cache-preserving)
2043 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2044 Doc fixes.
2045 (verilog-case-fold): New option, to control case folding in
2046 regexp searches, bug597.
2047 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2048 (verilog-string-match-fold, verilog-in-paren-count)
2049 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2050 (verilog-at-close-struct-p): New functions.
2051 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2052 (verilog-forward-sexp, verilog-set-auto-endcomments):
2053 (verilog-leap-to-case-head): Handle "unique0" case.
2054 (verilog-in-constraint-re): New constant.
2055 (verilog-keywords, verilog-type-font-keywords):
2056 Add some SystemVerilog 1800-2012 keywords.
2057 (verilog-label-be): Remove unimplemented argument, bug669.
2058 (verilog-batch-execute-func): When batch expanding clear
2059 create-lockfiles to prevent spurious user locks when a file ends
2060 up not changing.
2061 (verilog-calculate-indent, verilog-calc-1)
2062 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2063 (verilog-do-indent): Fix indentation of nested constraints
2064 and structures.
2065 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2066 (verilog-auto-inst-param): Use verilog-string-match-fold.
2067 (verilog-read-inst-module-matcher):
2068 Fix AUTOINST on gate primitives with #1.
2069 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2070 Reads all user-defined typed variables.
2071 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2072 (verilog-signals-matching-regexp)
2073 (verilog-signals-not-matching-regexp, verilog-auto):
2074 Respect verilog-case-fold.
2075 (verilog-diff-report): Fix line count.
2076 (verilog-auto-assign-modport): Remove unused local `modi'.
2077 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2078 better handle multidimensional arrays.
2079 Fix packed array ports misadding bit index in AUTOINST, bug637.
2080 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2081 to not double-declare existing outputs and inputs, respectively.
2082 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2083 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2084 (verilog-sk-uvm-component): New skeleton.
2085 (verilog-submit-bug-report): Add verilog-case-fold,
2086 remove verilog-mode-release-date.
2087
2088 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2089
2090 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2091 as before.
2092
2093 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2094
2095 * textmodes/remember.el (remember): set buffer-offer-save in
2096 remember buffers (bug#13566).
2097
2098 2013-10-18 Daniel Colascione <dancol@dancol.org>
2099
2100 When evaluating forms in ielm, direct standard output to ielm
2101 buffer. Add new ielm-return-for-effect command. Remove trailing
2102 whitespace throughout.
2103
2104 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2105 (ielm-return-for-effect): New command.
2106 (ielm-send-input): Accept optional `for-effect' parameter.
2107 (ielm-eval-input): Accept optional `for-effect' parameter.
2108 Bind `standard-output' to stream we create using
2109 `ielm-standard-output-impl'. Suppress printing result when
2110 `for-effect'.
2111 (ielm-standard-output-impl): New function.
2112 (inferior-emacs-lisp-mode): Explain new features in documentation.
2113
2114 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2115
2116 Code cleanup.
2117
2118 * net/tramp.el (tramp-debug-message): Do not check for connection
2119 buffer.
2120 (tramp-message): Use "vector" connection property.
2121
2122 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2123 (tramp-equal-remote, tramp-eshell-directory-change)
2124 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2125 (tramp-adb-handle-rename-file)
2126 * net/tramp-cmds.el (tramp-list-remote-buffers)
2127 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2128 * net/tramp-compat.el (tramp-compat-process-running-p)
2129 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2130 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2131 (tramp-gvfs-handle-rename-file)
2132 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2133 (tramp-set-file-uid-gid)
2134 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2135 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2136 of `file-remote-p'.
2137
2138 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2139 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2140 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2141 (tramp-gw-open-network-stream): Suppress unrelated traces.
2142
2143 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2144 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2145 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2146 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2147 connection property.
2148
2149 * net/tramp-cache.el (top): Suppress traces when reading
2150 persistency file.
2151
2152 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2153 Refactor common code. Improve debug message.
2154 (tramp-maybe-open-connection)
2155 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2156 connection buffer too early.
2157
2158 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2159 from `tramp-smb-actions-with-acl'.
2160 (tramp-smb-actions-set-acl): New defconst.
2161 (tramp-smb-handle-copy-directory)
2162 (tramp-smb-action-get-acl): New defun, renamed from
2163 `tramp-smb-action-with-acl'.
2164 (tramp-smb-action-set-acl): New defun.
2165 (tramp-smb-handle-set-file-acl): Rewrite.
2166
2167 2013-10-17 Glenn Morris <rgm@gnu.org>
2168
2169 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2170
2171 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2172
2173 * skeleton.el (skeleton-newline): Remove.
2174 (skeleton-internal-1): Use (insert "\n") instead.
2175
2176 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2177 let-bindings.
2178
2179 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2180 forward-sexp-function while we redo its job (bug#15613).
2181
2182 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2183
2184 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2185 represented by lists.
2186
2187 2013-10-16 Glenn Morris <rgm@gnu.org>
2188
2189 * tmm.el (tmm--history): New dynamic variable.
2190 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2191
2192 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2193
2194 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2195 (tramp-smb-errors): Add error messages.
2196 (tramp-smb-actions-with-acl): New defconst.
2197 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2198 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2199 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2200 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2201 (tramp-smb-get-stat-capability): Fix tests.
2202
2203 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2204
2205 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2206 (bug#15580).
2207
2208 2013-10-16 Glenn Morris <rgm@gnu.org>
2209
2210 * ansi-color.el (ansi-color-drop-regexp):
2211 Add 1J, 1K, 2K. (Bug#15617)
2212
2213 * files.el (hack-local-variables--warned-lexical): New.
2214 (hack-local-variables):
2215 Warn about misplaced lexical-binding. (Bug#15616)
2216
2217 * net/eww.el (eww-render): Always set eww-current-url,
2218 and update header line. (Bug#15622)
2219 (eww-display-html): ... Rather than just doing it here.
2220
2221 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2222
2223 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2224 menu navigations commands.
2225
2226 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2227
2228 * progmodes/subword.el (subword-capitalize): Be careful when
2229 the search for [[:alpha:]] fails (bug#15580).
2230
2231 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2232
2233 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2234 to commands that scroll the menu.
2235
2236 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2237
2238 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2239 Handle methods ending with `?' and `!'.
2240
2241 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2242
2243 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2244 `japanese-cp932' to `cp932' to fix the problem where saving a
2245 source file written in Shift_JIS twice would end up having
2246 `coding: japanese-cp932' which Ruby could not recognize.
2247 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2248 in `ruby-encoding-map'.
2249 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2250 doesn't need to be explicitly declared in magic comment.
2251 (ruby-encoding-map): Add type declaration for better customize UI.
2252
2253 2013-10-13 Glenn Morris <rgm@gnu.org>
2254
2255 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2256 Occur buffers are read-only. http://bugs.debian.org/720775
2257
2258 * emacs-lisp/authors.el (authors-fixed-entries):
2259 Comment out old alpha stuff.
2260
2261 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2262
2263 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2264 to `after-save-hook' instead of `before-save-hook'.
2265 (ruby-mode-set-encoding): Use the value of coding system used to
2266 write the file. Call `basic-save-buffer-1' after modifying the
2267 buffer.
2268
2269 2013-10-13 Alan Mackenzie <acm@muc.de>
2270
2271 Fix indentation/fontification of Java enum with
2272 "implements"/generic.
2273
2274 * progmodes/cc-engine.el (c-backward-over-enum-header):
2275 Extracted from the three other places and enhanced to handle generics.
2276 (c-inside-bracelist-p): Uses new function above.
2277 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2278 function above.
2279 (c-font-lock-enum-tail): Uses new function above.
2280
2281 2013-10-13 Kenichi Handa <handa@gnu.org>
2282
2283 * international/mule-cmds.el (select-safe-coding-system): Remove a
2284 superfluous condition in chekcing whether a coding system is safe
2285 or not.
2286
2287 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2288
2289 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2290
2291 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2292
2293 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2294
2295 2013-10-13 Glenn Morris <rgm@gnu.org>
2296
2297 * menu-bar.el (menu-bar-update-buffers):
2298 Unify Buffers menu prompt string. (Bug#15576)
2299
2300 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2301
2302 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2303 Add some entries.
2304 (authors-fixed-entries): Use accented form of name.
2305
2306 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2307
2308 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2309 method calls (bug#15594).
2310 (ruby-smie--args-separator-p): New function.
2311 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2312 recognize paren-free method calls.
2313
2314 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2315 internals of universal-argument.
2316
2317 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2318
2319 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2320 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2321 dropped menu on second mouse click on the menu bar.
2322
2323 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2324
2325 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2326 (explicit-shell-file-name): Declare.
2327 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2328 (sh-completion-at-point-function): New function.
2329 (sh-mode): Use it.
2330 (sh-smie--keyword-p): Remove unused argument.
2331 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2332 vars.
2333 (sh-set-shell): Always setup SMIE, even if we use the
2334 old indentation code.
2335
2336 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2337
2338 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2339 cases of ? and =.
2340 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2341 predicate would return nil are almost non-existent.
2342 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2343
2344 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2345 cache also after commands that modify the buffer but don't move
2346 point.
2347
2348 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2349
2350 * env.el (substitute-env-in-file-name): New function.
2351 (substitute-env-vars): Extend the meaning of the optional arg.
2352
2353 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2354
2355 * term/w32-win.el (dynamic-library-alist): Define separate lists
2356 of GIF DLLs for versions before and after 5.0.0 of giflib.
2357 (Bug#15531)
2358
2359 2013-10-10 João Távora <joaotavora@gmail.com>
2360
2361 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2362 not locked, use last revision and current source as
2363 defaults. (Bug#15569)
2364
2365 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2366
2367 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2368 menu-bar is hidden.
2369
2370 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2371
2372 * window.el (pop-to-buffer-same-window): Fix doc-string.
2373 (Bug#15492)
2374
2375 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2376
2377 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2378
2379 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2380
2381 * calendar/icalendar.el (icalendar-import-file):
2382 Fix interactive spec. (Bug#15482)
2383
2384 2013-10-10 Glenn Morris <rgm@gnu.org>
2385
2386 * desktop.el (desktop-save): Default to saving in .emacs.d,
2387 since PWD is no longer in desktop-path by default. (Bug#15319)
2388
2389 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2390 now that text mode has a menu with the same entry.
2391 (menu-bar-text-mode-auto-fill): Remove now unused func.
2392 * textmodes/text-mode.el (text-mode-map):
2393 Use auto-fill help text from menu-bar.el.
2394
2395 2013-10-10 John Anthony <john@jo.hnanthony.com>
2396
2397 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2398
2399 2013-10-09 Juri Linkov <juri@jurta.org>
2400
2401 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2402 instead of this-command-keys. Add universal-argument-more and
2403 universal-argument-minus to the list of prefix commands. (Bug#15568)
2404
2405 2013-10-09 Glenn Morris <rgm@gnu.org>
2406
2407 * vc/vc-svn.el (vc-svn-create-repo):
2408 Expand paths in file://... url. (Bug#15446)
2409
2410 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2411 Add some entries.
2412 (authors): Remove unused local variables.
2413
2414 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2415
2416 * profiler.el: Create a more coherent calltree from partial backtraces.
2417 (profiler-format): Hide the tail with `invisible' so that C-s can still
2418 find the hidden elements.
2419 (profiler-calltree-depth): Don't recurse so enthusiastically.
2420 (profiler-function-equal): New hash-table-test.
2421 (profiler-calltree-build-unified): New function.
2422 (profiler-calltree-build): Use it.
2423 (profiler-report-make-name-part): Indent the calltree less.
2424 (profiler-report-mode): Add visibility specs for profiler-format.
2425 (profiler-report-expand-entry, profiler-report-toggle-entry):
2426 Expand the whole subtree when provided with a prefix arg.
2427
2428 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2429
2430 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2431 iuwu-mod token.
2432 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2433 hanging iuwu-mod token.
2434 (ruby-smie--forward-token): Do not include a dot after a token in
2435 that token.
2436 (ruby-smie--backward-token): Likewise.
2437
2438 2013-10-08 Juri Linkov <juri@jurta.org>
2439
2440 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2441 to isearch-other-control-char.
2442 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2443 and isearch-post-command-hook to post-command-hook.
2444 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2445 and isearch-post-command-hook from post-command-hook.
2446 (isearch-unread-key-sequence)
2447 (isearch-reread-key-sequence-naturally)
2448 (isearch-lookup-scroll-key, isearch-other-control-char)
2449 (isearch-other-meta-char): Remove functions.
2450 (isearch-pre-command-hook, isearch-post-command-hook):
2451 New functions based on isearch-other-meta-char rewritten
2452 relying on the new behavior of overriding-terminal-local-map
2453 that does not replace the local keymaps any more. (Bug#15200)
2454
2455 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2456
2457 Support menus on text-mode terminals.
2458 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2459 functionality.
2460
2461 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2462
2463 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2464 Move here from mouse.el.
2465 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2466 and arrow keys.
2467 (tty-menu-navigation-map): New map for TTY menu navigation.
2468
2469 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2470
2471 * frame.el (display-mouse-p): Report text-mode mouse as available
2472 on w32.
2473 (display-popup-menus-p): Report availability if mouse is
2474 available; don't condition on window-system.
2475
2476 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2477 (tty-menu-selected-face): New faces.
2478
2479 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2480
2481 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2482 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2483 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2484 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2485 New constants.
2486 (lisp-mode-variables): New `elisp' argument.
2487 (emacs-lisp-mode): Use it.
2488 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2489 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2490
2491 * indent.el: Use lexical-binding.
2492 (indent-region): Add progress reporter.
2493 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2494 last step.
2495 (indent--next-tab-stop): New function to implement this behavior.
2496 (tab-to-tab-stop, move-to-tab-stop): Use it.
2497
2498 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2499
2500 * indent.el (indent-rigidly--current-indentation): New function.
2501 (indent-rigidly-map): New var.
2502 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2503
2504 2013-10-08 Bastien Guerry <bzg@gnu.org>
2505
2506 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2507
2508 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2509
2510 * progmodes/perl-mode.el: Use lexical-binding.
2511 Remove redundant :group args.
2512 (perl-nochange): Change default to be closer to other major modes's
2513 standard behavior.
2514 (perl-indent-line): Don't consider text on current line as a
2515 valid beginning of function from which to indent.
2516
2517 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2518 with more than one argument (bug#15538).
2519
2520 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2521
2522 * vc/pcvs.el: Use lexical-binding.
2523 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2524 environment of `eval'.
2525 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2526 than a list of expressions. Adjust callers.
2527 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2528
2529 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2530
2531 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2532 case of the dot in a chained method call being on the following line.
2533
2534 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2535
2536 * electric.el (electric-indent-inhibit): New var.
2537 (electric-indent-post-self-insert-function): Use it.
2538 * progmodes/python.el (python-mode): Set it.
2539
2540 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2541 open braces.
2542
2543 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2544
2545 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2546 (css-mode): Use electric-indent-chars.
2547
2548 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2549 (font-lock-beg, font-lock-end): Move before first use.
2550 (nxml-mode): Use syntax-propertize-function.
2551 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2552 (nxml-extend-after-change-region): Remove.
2553 * nxml/xmltok.el: Use lexical-binding.
2554 (xmltok-save): Use `declare'.
2555 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2556 * nxml/nxml-util.el: Use lexical-binding.
2557 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2558 Use `declare'.
2559 * nxml/nxml-ns.el: Use lexical-binding.
2560 (nxml-ns-save): Use `declare'.
2561 (nxml-ns-prefixes-for): Avoid add-to-list.
2562 * nxml/rng-match.el: Use lexical-binding.
2563 (rng--ipattern): Use cl-defstruct.
2564 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2565 (rng-cons-group-after, rng-subst-group-after)
2566 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2567 Use closures instead of `(lambda...).
2568
2569 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2570
2571 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2572 of BEG and END.
2573
2574 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2575 Use `tramp-handle-insert-file-contents'.
2576 (tramp-gvfs-handle-insert-file-contents): Remove function.
2577
2578 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2579 Use `save-restriction' in order to keep markers.
2580
2581 * net/trampver.el: Update release number.
2582
2583 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2584
2585 * progmodes/compile.el (compilation-parse-errors):
2586 Use compilation--put-prop.
2587 (compilation--ensure-parse): Check compilation-multiline.
2588
2589 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2590
2591 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2592 lexical-binding.
2593
2594 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2595
2596 * progmodes/ruby-mode.el: Fix recently added tests.
2597 (ruby-smie-grammar): Add - and +.
2598 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2599 (ruby-smie--backward-id): New functions.
2600 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2601 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2602 any more.
2603
2604 2013-10-07 Leo Liu <sdl.web@gmail.com>
2605
2606 * register.el (register-preview-delay)
2607 (register-preview-functions): New variables.
2608 (register-read-with-preview, register-preview)
2609 (register-describe-oneline): New functions.
2610 (point-to-register, window-configuration-to-register)
2611 (frame-configuration-to-register, jump-to-register)
2612 (number-to-register, view-register, insert-register)
2613 (copy-to-register, append-to-register, prepend-to-register)
2614 (copy-rectangle-to-register): Use register-read-with-preview to
2615 read register. (Bug#15525)
2616
2617 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2618
2619 * net/network-stream.el (network-stream-open-starttls): Don't add
2620 --insecure if it's already present, because that gnutls-cli
2621 rejects getting that parameter twice.
2622
2623 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2624
2625 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2626 keyword, too.
2627
2628 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2629
2630 * newcomment.el (comment-use-global-state): Change default value
2631 to t, mark obsolete (Bug#15251).
2632 (comment-beginning): In addition to `comment-to-syntax', check the
2633 value of `comment-use-global-state'.
2634
2635 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2636
2637 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2638 (ruby-comment-column): Follow the global default, by default.
2639 (ruby-smie-grammar): Add assignment syntax.
2640 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2641 open-paren, a comma, or a \.
2642 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2643 and line continuations.
2644 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2645 followed by implicit semi-colons. Add rule for string concatenation
2646 and for indentation at BOB.
2647 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2648
2649 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2650 calling next-sexp, since next-token may have skipped chars which
2651 next-sexp doesn't know should be skipped!
2652
2653 2013-10-05 Leo Liu <sdl.web@gmail.com>
2654
2655 * progmodes/octave.el (octave-send-region):
2656 Call compilation-forget-errors.
2657
2658 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2659
2660 * vc/vc-svn.el (vc-svn-find-admin-dir):
2661 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2662 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2663 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2664 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2665
2666 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2667
2668 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2669
2670 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2671
2672 * subr.el (read-passwd): Hide chars even when called within a context
2673 where after-change-functions is disabled (bug#15501).
2674 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2675 until we removed ourself from overriding-terminal-local-map.
2676
2677 2013-10-04 Leo Liu <sdl.web@gmail.com>
2678
2679 * progmodes/octave.el (inferior-octave-mode):
2680 Call compilation-forget-errors.
2681
2682 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2683
2684 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2685
2686 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2687
2688 * net/secrets.el (secrets-create-collection): Add optional
2689 argument ALIAS. Use proper Label keyword. Append ALIAS as
2690 dbus-call-method argument. (Bug#15516)
2691
2692 2013-10-04 Leo Liu <sdl.web@gmail.com>
2693
2694 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2695 (inferior-octave-compilation-font-lock-keywords): New variables.
2696 (compilation-error-regexp-alist)
2697 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2698 (inferior-octave-mode): Use compilation-shell-minor-mode.
2699
2700 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2701
2702 * minibuffer.el (completion--replace): Be careful that `end' might be
2703 a marker.
2704
2705 2013-10-03 Daiki Ueno <ueno@gnu.org>
2706
2707 Add support for package signature checking.
2708 * emacs-lisp/package.el (url-http-file-exists-p)
2709 (epg-make-context, epg-context-set-home-directory)
2710 (epg-verify-string, epg-context-result-for)
2711 (epg-signature-status, epg-signature-to-string)
2712 (epg-check-configuration, epg-configuration)
2713 (epg-import-keys-from-file): Declare.
2714 (package-check-signature): New user option.
2715 (package-unsigned-archives): New user option.
2716 (package-desc): Add `signed' field.
2717 (package-load-descriptor): Set `signed' field if .signed file exists.
2718 (package--archive-file-exists-p): New function.
2719 (package--check-signature): New function.
2720 (package-install-from-archive): Check package signature.
2721 (package--download-one-archive): Check archive signature.
2722 (package-delete): Remove .signed file.
2723 (package-import-keyring): New command.
2724 (package-refresh-contents): Import default keyring.
2725 (package-desc-status): Add "unsigned" status.
2726 (describe-package-1, package-menu--print-info)
2727 (package-menu-mark-delete, package-menu--find-upgrades)
2728 (package-menu--status-predicate): Support "unsigned" status.
2729
2730 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2731
2732 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2733 the new compilation scheme using the new byte-codes.
2734
2735 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2736 (byte-pophandler): New byte codes.
2737 (byte-goto-ops): Adjust accordingly.
2738 (byte-compile--use-old-handlers): New var.
2739 (byte-compile-catch): Use new byte codes depending on
2740 byte-compile--use-old-handlers.
2741 (byte-compile-condition-case--old): Rename from
2742 byte-compile-condition-case.
2743 (byte-compile-condition-case--new): New function.
2744 (byte-compile-condition-case): New function that dispatches depending
2745 on byte-compile--use-old-handlers.
2746 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2747 when we can.
2748
2749 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2750 Optimize under `condition-case' and `catch' if
2751 byte-compile--use-old-handlers is nil.
2752 (disassemble-offset): Handle new bytecodes.
2753
2754 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2755
2756 * subr.el (error): Use `declare'.
2757 (decode-char, encode-char): Use advertised-calling-convention instead
2758 of the docstring to discourage use of the `restriction' arg.
2759
2760 2013-10-03 Daiki Ueno <ueno@gnu.org>
2761
2762 * epg.el (epg-verify-file): Add a comment saying that it does not
2763 notify verification error as a return value nor a signal.
2764 (epg-verify-string): Ditto.
2765
2766 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2767
2768 * progmodes/compile.el (compilation-start): Try globbing the arg to
2769 `cd' (bug#15417).
2770
2771 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2772
2773 Sync with Tramp 2.2.8.
2774
2775 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2776 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2777 * net/trampver.el: Update release number.
2778
2779 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2780
2781 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2782 and default-process-coding-system for darwin only.
2783
2784 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2785
2786 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2787
2788 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2789
2790 * vc/vc-git.el (vc-git-grep): Disable pager.
2791
2792 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2793
2794 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2795 Use :url instead of :homepage, as per
2796 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2797
2798 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2799 non-nil, use `syntax-ppss' (Bug#15251).
2800
2801 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2802
2803 * progmodes/octave.el (inferior-octave-startup-file):
2804 Prefer ~/.emacs.d/init_octave.m.
2805
2806 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2807
2808 * emacs-lisp/package.el (package-desc-from-define):
2809 Accept additional arguments as plist, convert them to an alist and store
2810 them in the `extras' slot.
2811 (package-generate-description-file): Convert extras alist back to
2812 plist and append to the `define-package' form arguments.
2813 (package--alist-to-plist): New function.
2814 (package--ac-desc): Add `extras' slot.
2815 (package--add-to-archive-contents): Check if the archive-contents
2816 vector is long enough, and if it is, pass its `extras' slot value
2817 to `package-desc-create'.
2818 (package-buffer-info): Call `lm-homepage', pass the returned value
2819 to `package-desc-from-define'.
2820 (describe-package-1): Render the homepage button (Bug#13291).
2821
2822 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2823 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2824
2825 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2826
2827 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2828 and default-process-coding-system to utf-8-unix (Bug#15402).
2829
2830 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2831
2832 * subr.el (looking-back): Do not recommend using looking-back.
2833
2834 2013-09-28 Alan Mackenzie <acm@muc.de>
2835
2836 Fix indentation/fontification of Java enum with "implements".
2837
2838 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2839 regexp which matches "implements", etc., in Java.
2840 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2841 specifier clauses coming after "enum".
2842 * progmodes/cc-fonts.el (c-font-lock-declarations)
2843 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2844 after "enum".
2845
2846 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2847
2848 * faces.el (region): Change ns_selection_color to
2849 ns_selection_fg_color, add ns_selection_bg_color.
2850
2851 2013-09-28 Leo Liu <sdl.web@gmail.com>
2852
2853 * progmodes/octave.el (inferior-octave-completion-table)
2854 (inferior-octave-completion-at-point): Minor tweaks.
2855
2856 * textmodes/ispell.el (ispell-lookup-words): Rename from
2857 lookup-words. (Bug#15460)
2858 (lookup-words): Obsolete.
2859 (ispell-complete-word, ispell-command-loop): All uses changed.
2860
2861 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2862
2863 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2864 (octave-mode-menu): Add octave-send-buffer.
2865 (octave-send-buffer): New function.
2866
2867 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2868
2869 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2870 octave-lookfor.
2871 (octave-mode-menu): Add octave-lookfor.
2872 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2873 octave-lookfor.
2874 (octave-lookfor): New function.
2875
2876 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2877
2878 * emacs-lisp/cl-macs.el:
2879 (cl--loop-destr-temps): Remove.
2880 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2881 its convention.
2882 (cl--loop-set-iterator-function): New function.
2883 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2884 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2885 Bind `it' with `let' instead of substituting it with `cl-subst'.
2886 (cl--unused-var-p): New function.
2887 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2888 Eliminate some unused variable warnings (bug#15326).
2889
2890 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2891
2892 * doc-view.el (doc-view-scale-reset): Rename from
2893 `doc-view-reset-zoom-level'.
2894 (doc-view-scale-adjust): New command.
2895 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2896 `doc-view-scale-adjust'.
2897
2898 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2899
2900 * doc-view.el (doc-view-reset-zoom-level): New command.
2901 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2902 zoom commands (bug#15466).
2903
2904 2013-09-26 Kenichi Handa <handa@gnu.org>
2905
2906 * international/quail.el (quail-help): Make it not a command.
2907
2908 2013-09-26 Leo Liu <sdl.web@gmail.com>
2909
2910 * minibuffer.el (completion-all-sorted-completions): Make args
2911 optional as they are.
2912
2913 2013-09-25 Daniel Colascione <dancol@dancol.org>
2914
2915 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2916 specs are and that they're not evaluated.
2917
2918 2013-09-24 Sam Steingold <sds@gnu.org>
2919
2920 * midnight.el (clean-buffer-list-kill-regexps)
2921 (clean-buffer-list-kill-buffer-names): Update for the new Man
2922 buffer naming which includes the object name.
2923
2924 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2925
2926 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2927 (eshell-parse-command, eshell-parse-pipeline): Use it since
2928 eshell-separate-commands requires a dynamic scoped var.
2929 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2930
2931 2013-09-23 Leo Liu <sdl.web@gmail.com>
2932
2933 * autoinsert.el (auto-insert-alist): Make the value of
2934 lexical-binding match its file setting.
2935
2936 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2937
2938 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2939
2940 * autoarg.el (autoarg-kp-digit-argument):
2941 * electric.el (Electric-command-loop):
2942 * kmacro.el (kmacro-step-edit-insert):
2943 Do not set universal-argument-num-events.
2944
2945 2013-09-22 Leo Liu <sdl.web@gmail.com>
2946
2947 * files.el (interpreter-mode-alist): Add octave.
2948
2949 2013-09-21 Alan Mackenzie <acm@muc.de>
2950
2951 C++: fontify identifier in declaration following "public:" correctly.
2952 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2953 to match "public", etc.
2954 (c-decl-prefix-re): Add ":" into the C++ value.
2955 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2956 bit. Add a check for a ":" preceded by "public", etc.
2957
2958 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2959
2960 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2961 recognized by GDB 7.5 and later.
2962
2963 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2964
2965 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2966
2967 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2968
2969 * subr.el (internal--call-interactively): New const.
2970 (called-interactively-p): Use it (bug#3984).
2971
2972 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2973
2974 * vc/pcvs.el (cvs-mode-ignore):
2975 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2976 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2977
2978 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2979
2980 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2981 (eshell-ls-orig-insert-directory): Remove.
2982 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2983 (eshell-ls-use-in-dired): Use advice-add/remove.
2984 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2985 Add `orig-fun' arg for use in :around advice.
2986 Make it check (redundantly) eshell-ls-use-in-dired.
2987
2988 2013-09-19 Glenn Morris <rgm@gnu.org>
2989
2990 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2991
2992 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2993
2994 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2995
2996 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2997
2998 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2999 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3000 (tramp-get-remote-python): New defuns.
3001 (tramp-get-remote-uid-with-perl)
3002 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3003 contributed by yary <not.com@gmail.com> (tiny change).
3004 (tramp-get-remote-uid-with-python)
3005 (tramp-get-remote-gid-with-python): New defuns. Python code
3006 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3007 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3008
3009 2013-09-19 Glenn Morris <rgm@gnu.org>
3010
3011 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3012
3013 * eshell/em-unix.el (eshell-remove-entries):
3014 Rename argument to avoid name-clash with global `top-level'.
3015
3016 * eshell/esh-proc.el (eshell-kill-process-function):
3017 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3018 (eshell-reset-after-proc): Remove unused arg `proc'.
3019
3020 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3021 (directory-files-and-attributes): Mark unused arg.
3022
3023 * eshell/em-unix.el (eshell-remove-entries):
3024 Remove unused arg `path'. Update callers.
3025
3026 * eshell/em-hist.el (eshell-hist-parse-arguments):
3027 Remove unused arg `silent'. Update callers.
3028
3029 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3030 Fix (f)boundp mix-up.
3031
3032 * eshell/em-smart.el (eshell-smart-scroll-window)
3033 (eshell-disable-after-change):
3034 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3035
3036 2013-09-18 Alan Mackenzie <acm@muc.de>
3037
3038 Fix fontification of type when followed by "const".
3039 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3040 "known" types from fontification.
3041
3042 2013-09-18 Glenn Morris <rgm@gnu.org>
3043
3044 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3045 (chart-face-list): Drop Emacsen without display-color-p.
3046
3047 * net/eww.el (libxml-parse-html-region): Declare.
3048 (eww-display-html): Explicit error if no libxml2 support.
3049
3050 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3051
3052 * image.el (image-type-from-buffer, image-multi-frame-p):
3053 Remove --without-x warning/error.
3054
3055 * mouse.el (mouse-yank-primary):
3056 * term.el (term-mouse-paste):
3057 Reorder to silence --without-x compilation.
3058
3059 * mpc.el (doc-view-mode): Silence --without-x compilation.
3060
3061 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3062 Silence --without-x compilation.
3063
3064 * progmodes/gud.el (gud-find-file, gud-mode):
3065 Silence --without-x compilation.
3066 (tooltip-mode): Declare.
3067
3068 * wdired.el (dired-backup-overwrite): Remove declaration.
3069 (wdired-mode-map): Add doc string.
3070
3071 * custom.el (x-get-resource): Declare.
3072
3073 * eshell/em-glob.el (ange-cache):
3074 * eshell/em-unix.el (ange-cache): Declare.
3075
3076 * faces.el (x-display-list, x-open-connection, x-get-resource):
3077 Declare.
3078
3079 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3080 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3081 Declare.
3082
3083 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3084
3085 * net/gnutls.el (gnutls-log-level): Declare.
3086
3087 * net/shr.el (image-size, image-animate): Declare.
3088
3089 * simple.el (font-info): Declare.
3090
3091 * subr.el (x-popup-dialog): Declare.
3092
3093 * term/common-win.el (x-select-enable-primary)
3094 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3095 Declare.
3096
3097 * term/ns-win.el (x-handle-args): Declare.
3098
3099 * term/x-win.el (x-select-enable-clipboard): Declare.
3100
3101 * term/w32-win.el (create-default-fontset): Declare.
3102
3103 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3104 Declare.
3105
3106 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3107 (fit-frame-to-buffer): Explicit error if --without-x.
3108 (mouse-autoselect-window-select): Silence compiler.
3109
3110 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3111
3112 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3113 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3114 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3115 * eshell/esh-util.el (eshell-sublist):
3116 Remove unused local variables.
3117
3118 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3119
3120 * textmodes/two-column.el: Make 2C-split work for --without-x.
3121 (scroll-bar-columns): Autoload.
3122 (top-level): Require fringe when compiling.
3123
3124 2013-09-18 Leo Liu <sdl.web@gmail.com>
3125
3126 * subr.el (add-hook): Robustify to handle closure as well.
3127
3128 2013-09-17 Glenn Morris <rgm@gnu.org>
3129
3130 * simple.el (messages-buffer-mode-map): Unbind "g".
3131
3132 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3133
3134 * help-mode.el (help-mode-finish): Use derived-mode-p.
3135 Remove obsolete highlighting.
3136
3137 * play/life.el (life-mode): Use define-derived-mode. Derive from
3138 special-mode.
3139 (life): Let-bind inhibit-read-only.
3140 (life-setup): Avoid `setq'. Use `life-mode'.
3141
3142 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3143 which should not be needed any more.
3144 (package-menu-refresh, package-menu-describe-package): Use user-error.
3145
3146 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3147 (eshell-post-rewrite-command-hook): Make obsolete.
3148 (eshell-parse-command): Simplify.
3149 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3150 (eshell--cmd): Declare.
3151 (eshell-parse-pipeline): Remove unused var `final-p'.
3152 Pass a dynvar to eshell-post-rewrite-command-hook.
3153 Implement the new eshell-post-rewrite-command-function.
3154 (eshell-invoke-directly): Remove unused arg `input'.
3155 * eshell/esh-io.el (eshell-io-initialize):
3156 Use eshell-post-rewrite-command-function (bug#15399).
3157 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3158 adjust to new calling convention.
3159 (eshell-create-handles): Rename args to avoid clashing with dynvar
3160 `standard-output'.
3161
3162 2013-09-17 Glenn Morris <rgm@gnu.org>
3163
3164 * simple.el (messages-buffer-mode): New major mode.
3165 (messages-buffer): New function.
3166 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3167 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3168 (ert-run-test): Use `messages-buffer' function.
3169 (ert--force-message-log-buffer-truncation): Ignore read-only.
3170 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3171 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3172
3173 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3174
3175 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3176
3177 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3178
3179 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3180
3181 * icomplete.el (icomplete-in-buffer): New var.
3182 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3183 vars and replace them with functions.
3184 (icomplete-minibuffer-setup): Adjust accordingly.
3185 (icomplete--completion-table, icomplete--completion-predicate)
3186 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3187 New functions.
3188 (icomplete-forward-completions, icomplete-backward-completions)
3189 (icomplete-simple-completing-p, icomplete-exhibit)
3190 (icomplete-completions): Use them.
3191 (icomplete--in-region-buffer): New var.
3192 (icomplete--in-region-setup): New function.
3193 (icomplete-mode): Use it.
3194
3195 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3196 (bug#15379).
3197 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3198 return args and options.
3199 (eshell-eval-using-options): Use the new return value of
3200 eshell--do-opts to set the options's vars in their scope.
3201 (eshell--set-option): Rename from eshell-set-option.
3202 Add arg `opt-vals'.
3203 (eshell--process-option): Rename from eshell-process-option.
3204 Add arg `opt-vals'.
3205 (eshell--process-args): Use an `opt-vals' alist to store the options's
3206 values during their processing and return them additionally to the
3207 remaining args.
3208
3209 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3210
3211 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3212 continuation character an operator, as far as indentation is
3213 concerned (Bug#15369).
3214
3215 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3216
3217 * window.el (window--state-put-2): Don't process buffer state
3218 when buffer doesn't exist any more (Bug#15382).
3219
3220 2013-09-15 Glenn Morris <rgm@gnu.org>
3221
3222 * eshell/em-unix.el (eshell/rm):
3223 Make -f ignore missing files. (Bug#15373)
3224
3225 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3226 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3227 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3228
3229 2013-09-14 Glenn Morris <rgm@gnu.org>
3230
3231 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3232
3233 2013-09-13 Glenn Morris <rgm@gnu.org>
3234
3235 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3236 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3237
3238 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3239
3240 * frame.el (x-focus-frame): Mark as declared in frame.c.
3241
3242 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3243
3244 * ls-lisp.el: Use advice-add.
3245 (original-insert-directory): Remove.
3246 (ls-lisp--insert-directory): Rename from insert-directory; add
3247 `orig-fun' argument.
3248 (insert-directory): Advise.
3249
3250 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3251
3252 * term.el (term-emulate-terminal): Decode the command string
3253 before passing it to term-command-hook. (Bug#15337)
3254
3255 2013-09-13 Glenn Morris <rgm@gnu.org>
3256
3257 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3258
3259 * eshell/esh-ext.el (eshell-search-path): Declare.
3260
3261 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3262 Otherwise an error occurs if eshell-dirs module not loaded.
3263
3264 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3265
3266 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3267
3268 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3269 `tramp-check-proper-host'. Check for a valid method name.
3270
3271 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3272 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3273 * net/tramp-sh.el (tramp-maybe-open-connection):
3274 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3275
3276 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3277 also for hash values.
3278
3279 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3280
3281 * term/ns-win.el (parameters): Don't declare as dynamic.
3282 (before-make-frame-hook): Don't add ineffective function.
3283
3284 * eshell/*.el: Use lexical-binding (bug#15231).
3285
3286 2013-09-12 Kenichi Handa <handa@gnu.org>
3287
3288 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3289
3290 2013-09-12 Glenn Morris <rgm@gnu.org>
3291
3292 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3293 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3294
3295 * subr.el (do-after-load-evaluation): Also give compiler warnings
3296 when obsolete files are used (except by obsolete files).
3297
3298 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3299 in the status output, assume `filename' is the first. (Bug#15322)
3300
3301 * vc/vc.el (vc-deduce-fileset): Doc fix.
3302
3303 * calc/calc-help.el (Info-goto-node):
3304 * progmodes/cperl-mode.el (Info-find-node):
3305 * vc/ediff.el (Info-goto-node): Update declarations.
3306
3307 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3308
3309 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3310 (vc-bzr-pull): Require vc-dispatcher.
3311 * vc/vc-git.el (vc-compilation-mode): Declare.
3312 (vc-git-pull): Require vc-dispatcher.
3313
3314 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3315
3316 * progmodes/octave.el (help-button-action): Declare.
3317
3318 * shell.el (shell-directory-tracker): Output error as a message
3319 rather than just returning it as a string.
3320 (shell-process-pushd): Remove useless use of message.
3321
3322 * dframe.el (dframe-timer-fn):
3323 * files.el (dir-locals-read-from-file):
3324 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3325 (mpc-format):
3326 * reveal.el (reveal-post-command):
3327 * saveplace.el (load-save-place-alist-from-file):
3328 * shell.el (shell-resync-dirs):
3329 * w32-common-fns.el (x-get-selection-value):
3330 * emacs-lisp/copyright.el (copyright-find-copyright):
3331 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3332 * emulation/tpu-edt.el (tpu-copy-keyfile):
3333 * play/bubbles.el (bubbles--mark-neighbourhood):
3334 * progmodes/executable.el
3335 (executable-make-buffer-file-executable-if-script-p):
3336 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3337
3338 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3339
3340 Cleanup Eshell to rely less on dynamic scoping.
3341 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3342 last-value, and ext-command here. Bind `args' closer to `body'.
3343 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3344 (eshell--args): Declare new dynamic var.
3345 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3346 last-value, and ext-command. Pass `args' to `body'.
3347 (eshell-process-args): Bind eshell--args.
3348 (eshell-set-option): Use eshell--args.
3349 * eshell/eshell.el (eshell): Use derived-mode-p.
3350 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3351 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3352 (eshell-glob-function): Declare.
3353 * eshell/esh-util.el: Require cl-lib.
3354 (eshell-read-hosts-file): Avoid add-to-list.
3355 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3356 `err'.
3357 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3358 Declare.
3359 (eshell/diff): Remove unused var `err'.
3360 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3361 `killflag'.
3362 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3363 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3364 first use.
3365 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3366 Move declaration before first use.
3367 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3368 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3369 rely on cl-return.
3370
3371 2013-09-12 Glenn Morris <rgm@gnu.org>
3372
3373 * term/ns-win.el (global-map): Remove binding for ispell-next,
3374 deleted 1999-05-29. (Bug#15357)
3375
3376 2013-09-11 Glenn Morris <rgm@gnu.org>
3377
3378 * echistory.el (electric-command-history): Remove call to deleted func.
3379
3380 * play/landmark.el (landmark-mode): Fix typos.
3381
3382 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3383 Check cvs-sort-ignore-file is bound.
3384
3385 * savehist.el: No need for cl when compiling on Emacs.
3386
3387 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3388
3389 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3390 (bug#15338).
3391 (eshell-self-insert-command, eshell-send-invisible):
3392 Remove unused argument.
3393 (eshell-handle-control-codes): Remove unused var `orig'.
3394 Avoid delete-backward-char.
3395
3396 * files.el (set-auto-mode): Simplify a bit further.
3397
3398 2013-09-11 Glenn Morris <rgm@gnu.org>
3399
3400 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3401 (set-auto-mode): Don't regexp-quote elements.
3402 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3403 * progmodes/cc-mode.el (interpreter-mode-alist):
3404 * progmodes/ruby-mode.el (interpreter-mode-alist):
3405 Revert previous change.
3406
3407 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3408
3409 * play/snake.el (snake-mode):
3410 * play/mpuz.el (mpuz-mode):
3411 * play/landmark.el (lm-mode):
3412 * play/blackbox.el (blackbox-mode):
3413 * play/5x5.el (5x5-mode):
3414 * obsolete/options.el (Edit-options-mode):
3415 * net/quickurl.el (quickurl-list-mode):
3416 * net/newst-treeview.el (newsticker-treeview-mode):
3417 * mail/rmailsum.el (rmail-summary-mode):
3418 * mail/mspools.el (mspools-mode):
3419 * locate.el (locate-mode):
3420 * ibuffer.el (ibuffer-mode):
3421 * emulation/ws-mode.el (wordstar-mode):
3422 * emacs-lisp/debug.el (debugger-mode):
3423 * array.el (array-mode):
3424 * net/eudc.el (eudc-mode): Use define-derived-mode.
3425 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3426 Move initialization into declaration.
3427 (mairix-searches-mode): Use define-derived-mode.
3428 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3429 (eudc-edit-hotlist): Use dolist.
3430 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3431 (Man-mode): Use define-derived-mode.
3432 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3433 (Info-edit-mode): Use define-derived-mode.
3434 (Info-cease-edit): Use Info-mode.
3435 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3436 into declaration.
3437 (eshell-mode): Use define-derived-mode.
3438 * chistory.el (command-history-mode-map): Rename from
3439 command-history-map.
3440 (command-history-mode): Use define-derived-mode.
3441 (Command-history-setup): Remove function.
3442 * calc/calc.el (calc-trail-mode-map): New var.
3443 (calc-trail-mode): Use define-derived-mode.
3444 (calc-trail-buffer): Set calc-main-buffer manually.
3445 * bookmark.el (bookmark-insert-annotation): New function.
3446 (bookmark-edit-annotation): Use it.
3447 (bookmark-edit-annotation-mode): Make it a proper major mode.
3448 (bookmark-send-edited-annotation): Use derived-mode-p.
3449 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3450 closer to its ideal place. Use \' to match EOS.
3451
3452 * profiler.el (profiler-calltree-find): Use function-equal.
3453
3454 2013-09-10 Glenn Morris <rgm@gnu.org>
3455
3456 * files.el (interpreter-mode-alist): Convert to regexps.
3457 (set-auto-mode): Adapt for this. (Bug#15306)
3458 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3459 Comment out unused variable.
3460 * progmodes/cc-mode.el (interpreter-mode-alist):
3461 * progmodes/python.el (interpreter-mode-alist):
3462 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3463 * progmodes/sh-script.el (sh-set-shell):
3464 No longer use interpreter-mode-alist to get list of shells.
3465
3466 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3467
3468 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3469
3470 * simple.el: Use set-temporary-overlay-map for universal-argument.
3471 (universal-argument-map): Don't use default-bindings (bug#15317).
3472 Bind switch-frame explicitly. Replace universal-argument-minus with
3473 a conditional binding.
3474 (universal-argument-num-events, saved-overriding-map): Remove.
3475 (restore-overriding-map): Remove.
3476 (universal-argument--mode): Rename from save&set-overriding-map,
3477 and rewrite.
3478 (universal-argument, universal-argument-more, negative-argument)
3479 (digit-argument): Adjust accordingly.
3480 (universal-argument-minus): Remove.
3481 (universal-argument-other-key): Remove.
3482
3483 * subr.el (with-demoted-errors): Add `format' argument.
3484
3485 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3486
3487 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3488 `tramp-cleanup-connection'.
3489
3490 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3491 parameters KEEP-DEBUG and KEEP-PASSWORD.
3492
3493 * net/tramp.el (tramp-file-name-handler):
3494 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3495 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3496 (tramp-maybe-open-connection):
3497 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3498 Use `tramp-cleanup-connection'.
3499
3500 * net/tramp-sh.el (tramp-maybe-open-connection):
3501 Catch 'uname-changed inside the progress reporter.
3502
3503 2013-09-10 Glenn Morris <rgm@gnu.org>
3504
3505 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3506
3507 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3508 returns "alternate access method" in mode (eg "-rw-r--r--.").
3509
3510 2013-09-08 Glenn Morris <rgm@gnu.org>
3511
3512 * saveplace.el (load-save-place-alist-from-file):
3513 Demote errors. (Bug#15305)
3514
3515 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3516
3517 Improve compatibility with older Emacsen, and XEmacs.
3518
3519 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3520 only if it is bound. It isn't for XEmacs.
3521 (with-tramp-progress-reporter): Do not let-bind `result'.
3522 This yields to scoping errors in XEmacs.
3523 (tramp-handle-make-auto-save-file-name): New function, moved from
3524 tramp-sh.el.
3525
3526 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3527 for `make-auto-save-file-name'.
3528 (tramp-adb--gnu-switches-to-ash):
3529 Use `tramp-compat-replace-regexp-in-string'.
3530
3531 * net/tramp-cache.el (tramp-cache-print): Call
3532 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3533
3534 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3535 bound. It isn't for XEmacs.
3536
3537 * net/tramp-compat.el (tramp-compat-copy-file):
3538 Catch `wrong-number-of-arguments' error.
3539 (tramp-compat-replace-regexp-in-string): New defun.
3540
3541 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3542 for `make-auto-save-file-name'.
3543 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3544 `copy-file'.
3545 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3546 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3547 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3548
3549 * net/tramp-gw.el (tramp-gw-open-network-stream):
3550 Use `tramp-compat-replace-regexp-in-string'.
3551
3552 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3553 Call `tramp-handle-make-auto-save-file-name'.
3554 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3555 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3556 (tramp-sh-file-inotifywait-process-filter):
3557 Use `tramp-compat-replace-regexp-in-string'.
3558 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3559
3560 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3561 for `make-auto-save-file-name'.
3562 (tramp-smb-handle-copy-directory):
3563 Call `tramp-compat-replace-regexp-in-string'.
3564 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3565 (tramp-smb-handle-copy-file): Improve error message.
3566 (tramp-smb-handle-rename-file): Rename directly only in case
3567 `newname' does not exist yet. This is a restriction of smbclient.
3568 (tramp-smb-maybe-open-connection): Rerun the function only when
3569 `auth-sources' is non-nil.
3570
3571 2013-09-08 Kenichi Handa <handa@gnu.org>
3572
3573 * international/characters.el: Set category "^" (Combining) for
3574 more characters.
3575
3576 2013-09-07 Alan Mackenzie <acm@muc.de>
3577
3578 Correctly fontify Java class constructors.
3579 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3580 in Java Mode.
3581 (c-recognize-typeless-decls): Set the Java value to t.
3582 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3583 While handling a "(", add a check for, effectively, Java, and handle a
3584 "typeless" declaration there.
3585
3586 2013-09-07 Roland Winkler <winkler@gnu.org>
3587
3588 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3589 field subtitle for entry type book.
3590
3591 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3592
3593 * minibuffer.el: Make minibuffer-complete call completion-in-region
3594 rather than other way around.
3595 (completion--some, completion-pcm--find-all-completions):
3596 Don't delay signals when debugging.
3597 (minibuffer-completion-contents): Beware fields within the
3598 minibuffer contents.
3599 (completion-all-sorted-completions): Use defvar-local.
3600 (completion--do-completion, completion--cache-all-sorted-completions)
3601 (completion-all-sorted-completions, minibuffer-force-complete):
3602 Add args `beg' and `end'.
3603 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3604 (minibuffer-complete): Use completion-in-region.
3605 (completion-complete-and-exit): New fun, extracted from
3606 minibuffer-complete-and-exit.
3607 (minibuffer-complete-and-exit): Use it.
3608 (completion--complete-and-exit): Rename from
3609 minibuffer--complete-and-exit.
3610 (completion-in-region--single-word): New function, extracted from
3611 minibuffer-complete-word.
3612 (minibuffer-complete-word): Use it.
3613 (display-completion-list): Make `common-substring' argument obsolete.
3614 (completion--in-region): Call completion--in-region-1 instead of
3615 minibuffer-complete.
3616 (completion-help-at-point): Pass boundaries to
3617 minibuffer-completion-help as args rather than via an overlay.
3618 (completion-pcm--string->pattern): Use `any-delim'.
3619 (completion-pcm--optimize-pattern): New function.
3620 (completion-pcm--pattern->regex): Handle `any-delim'.
3621 * icomplete.el (icomplete-forward-completions)
3622 (icomplete-backward-completions, icomplete-completions):
3623 Adjust calls to completion-all-sorted-completions and
3624 completion--cache-all-sorted-completions.
3625 (icomplete-with-completion-tables): Default to t.
3626 * emacs-lisp/crm.el (crm--current-element): Rename from
3627 crm--select-current-element. Don't put an overlay but return the
3628 boundaries instead.
3629 (crm--completion-command): Take two new args to bind to the boundaries.
3630 (crm-completion-help): Adjust accordingly.
3631 (crm-complete): Use completion-in-region.
3632 (crm-complete-word): Use completion-in-region--single-word.
3633 (crm-complete-and-exit): Use completion-complete-and-exit.
3634
3635 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3636
3637 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3638 than dynamically.
3639
3640 2013-09-06 Juri Linkov <juri@jurta.org>
3641
3642 * info.el (Info-display-images-node): When image file doesn't exist
3643 display text version of the image if it's provided in the Info file.
3644 Otherwise, display the location of missing image from SRC attribute.
3645 Add help-echo text property from ALT attribute. (Bug#15279)
3646
3647 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3648
3649 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3650 (edit-abbrevs-mode): Use define-derived-mode.
3651
3652 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3653 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3654 that it's defined.
3655 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3656 Use define-derived-mode.
3657
3658 * epg.el (epg-start-encrypt): Minor CSE simplification.
3659
3660 2013-09-06 William Xu <william.xwl@gmail.com>
3661
3662 * arc-mode.el: Add support for 7za (bug#15264).
3663 (archive-7z-program): New var.
3664 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3665 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3666 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3667
3668 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3669
3670 Remove URL syntax.
3671
3672 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3673 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3674 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3675 (tramp-postfix-host-format, tramp-file-name-regexp)
3676 (tramp-completion-file-name-regexp)
3677 (tramp-completion-dissect-file-name)
3678 (tramp-handle-substitute-in-file-name): Remove 'url case.
3679 (tramp-file-name-regexp-url)
3680 (tramp-completion-file-name-regexp-url): Remove constants.
3681
3682 2013-09-06 Glenn Morris <rgm@gnu.org>
3683
3684 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3685
3686 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3687
3688 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3689 keywords" below "here-doc beginnings" (Bug#15270).
3690
3691 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3692
3693 * subr.el (pop): Use `car-safe'.
3694 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3695 to detect unused `pop' return value.
3696
3697 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3698 var `block-regexp'.
3699 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3700 (python-fill-string): Remove unused var `marker'.
3701 (python-skeleton-add-menu-items): Remove unused var `items'.
3702
3703 * international/mule-cmds.el: Require CL.
3704 (find-coding-systems-for-charsets): Avoid add-to-list.
3705 (sanitize-coding-system-list): New function, extracted from
3706 select-safe-coding-system-interactively.
3707 (select-safe-coding-system-interactively): Use it.
3708 (read-input-method-name): Accept symbols for `default'.
3709
3710 * emacs-lisp/advice.el (defadvice): Add indent rule.
3711
3712 2013-09-05 Daniel Hackney <dan@haxney.org>
3713
3714 * dired-x.el:
3715 * net/ange-ftp.el:
3716 * net/browse-url.el:
3717 * net/dbus.el:
3718 * net/eudc.el:
3719 * net/eudcb-ldap.el:
3720 * net/eww.el:
3721 * net/imap.el:
3722 * printing.el:
3723 * vc/ediff-diff.el:
3724 * vc/ediff-init.el:
3725 * vc/ediff-merg.el:
3726 * vc/ediff-mult.el:
3727 * vc/ediff-util.el:
3728 * vc/ediff-wind.el:
3729 * vc/ediff.el:
3730 * vc/emerge.el:
3731 * vc/pcvs.el:
3732 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3733 byte compiler. Remove some unused let-bound variables.
3734
3735 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3736
3737 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3738 a "ref-cell", since it gets better optimized (bug#14883).
3739
3740 2013-09-05 Glenn Morris <rgm@gnu.org>
3741
3742 * progmodes/cc-awk.el (c-forward-sws): Declare.
3743
3744 2013-09-04 Glenn Morris <rgm@gnu.org>
3745
3746 * generic-x.el [rul-generic-mode]: Require cc-mode.
3747 (c++-mode-syntax-table): Declare.
3748 (rul-generic-mode-syntax-table): Init in the defvar.
3749
3750 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3751
3752 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3753 (vc-do-command, vc-set-async-update):
3754 * vc/vc-mtn.el (vc-mtn-dir-status):
3755 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3756 (vc-hg-pull, vc-hg-merge-branch):
3757 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3758 (vc-git-merge-branch):
3759 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3760 (vc-cvs-dir-status-files):
3761 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3762 (vc-bzr-dir-status-files):
3763 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3764 * vc/vc-annotate.el: Use lexical-binding.
3765 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3766 (vc-sentinel-movepoint): Declare.
3767 (vc-annotate): Don't use `goto-line'.
3768 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3769 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3770 (vc-sentinel-movepoint): Declare.
3771 * vc/vc-svn.el: Use lexical-binding.
3772 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3773 * vc/vc-sccs.el:
3774 * vc/vc-rcs.el: Use lexical-binding.
3775
3776 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3777 `deleted'. Don't drop errors silently.
3778
3779 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3780
3781 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3782
3783 * vc/vc.el (vc-ignore): Rewrite.
3784 (vc-default-ignore): New function.
3785 (vc-default-ignore-completion-table): Use find-ignore-file.
3786
3787 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3788 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3789 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3790 Remove. Most code moved to vc.el.
3791
3792 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3793
3794 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3795 * net/tramp-smb.el (tramp-smb-get-file-entries):
3796 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3797 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3798
3799 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3800 Update call to it.
3801 (eww-change-select): Remove unused var `properties'.
3802 (eww-make-unique-file-name): Remove unused var `base'.
3803
3804 * finder.el (finder-compile-keywords): Don't mess with windows.
3805
3806 * calculator.el (calculator-funcall): Fix typo in last change.
3807
3808 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3809
3810 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3811 <pkg>-autoloads.el file stop us.
3812
3813 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3814 warnings, and factor out common code.
3815
3816 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3817
3818 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3819 two-character operators and whether the character preceding them
3820 changes their meaning (Bug#15208).
3821
3822 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3823
3824 Format code sent to Python shell for robustness.
3825 * progmodes/python.el (python-shell-buffer-substring):
3826 New function.
3827 (python-shell-send-region, python-shell-send-buffer): Use it.
3828
3829 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3830
3831 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3832 * net/tramp.el (tramp-user-error): ... here.
3833 (tramp-find-method, tramp-check-proper-host)
3834 (tramp-dissect-file-name, tramp-debug-message)
3835 (tramp-handle-shell-command):
3836 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3837 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3838
3839 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3840
3841 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3842
3843 * avoid.el (mouse-avoidance-point-position)
3844 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3845 returns nil.
3846
3847 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3848
3849 * progmodes/python.el (python-shell-completion-get-completions):
3850 Drop use of deleted `comint-last-prompt-overlay'.
3851 (python-nav-if-name-main): New command.
3852
3853 2013-09-01 Glenn Morris <rgm@gnu.org>
3854
3855 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3856 Avoid leading space in $wins. Otherwise the sed command used by
3857 eg compile-main ends up containing "/*.el". (Bug#15170)
3858
3859 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3860
3861 2013-08-30 Glenn Morris <rgm@gnu.org>
3862
3863 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3864 Fix is-this-a-directory logic. (Bug#15220)
3865
3866 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3867
3868 * textmodes/css-mode.el: Use SMIE.
3869 (css-smie-grammar): New var.
3870 (css-smie--forward-token, css-smie--backward-token)
3871 (css-smie-rules): New functions.
3872 (css-mode): Use them.
3873 (css-navigation-syntax-table): Remove var.
3874 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3875 (css-indent-calculate, css-indent-line): Remove functions.
3876
3877 Misc changes to reduce use of `(lambda...); and other cleanups.
3878 * cus-edit.el: Use lexical-binding.
3879 (customize-push-and-save, customize-apropos)
3880 (custom-buffer-create-internal): Use closures.
3881 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3882 * progmodes/ada-xref.el: Use setq.
3883 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3884 * dframe.el: Use lexical-binding.
3885 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3886 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3887 * descr-text.el: Use lexical-binding.
3888 (describe-text-widget, describe-text-sexp, describe-property-list):
3889 Use closures.
3890 * comint.el (comint-history-isearch-push-state): Use a closure.
3891 * calculator.el: Use lexical-binding.
3892 (calculator-number-to-string): Make it work with lexical-binding.
3893 (calculator-funcall): Same and use cl-letf.
3894
3895 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3896 (lisp--company-doc-string, lisp--company-location): New functions.
3897 (lisp-completion-at-point): Use them to improve Company support.
3898
3899 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3900 params of lambda expressions.
3901 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3902 (ruby-smie--opening-pipe-p): New function.
3903 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3904 symbols and matched |...| for formal params.
3905 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3906 from being treated as hanging. Handle "rescue".
3907
3908 2013-08-29 Glenn Morris <rgm@gnu.org>
3909
3910 * progmodes/cc-engine.el (c-pull-open-brace):
3911 Move definition before use.
3912
3913 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3914
3915 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3916 are immutable. Don't use `unsafe' any more.
3917 (cl--defsubst-expand): Don't substitute at the same time as keeping
3918 a residual unused let-binding. Don't use `unsafe' any more.
3919
3920 2013-08-29 Glenn Morris <rgm@gnu.org>
3921
3922 * calendar/cal-china.el (calendar-chinese-year-cache):
3923 Recenter on 2015.
3924
3925 * nxml/nxml-util.el (nxml-debug-clear-inside):
3926 Use cl-loop rather than loop.
3927
3928 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3929
3930 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3931
3932 2013-08-28 Glenn Morris <rgm@gnu.org>
3933
3934 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3935
3936 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3937
3938 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3939
3940 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3941
3942 * simple.el (repeat-complex-command--called-interactively-skip):
3943 New function.
3944 (repeat-complex-command): Use it (bug#14136).
3945
3946 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3947 (c-define-abbrev-table): Add `doc' argument.
3948 (c-mode-abbrev-table, c++-mode-abbrev-table)
3949 (objc-mode-abbrev-table, java-mode-abbrev-table)
3950 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3951 (awk-mode-abbrev-table): Use it.
3952 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3953 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3954 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3955 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3956 Move initialization into the declaration; and remove any
3957 autoload cookie.
3958
3959 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3960 and dynamic let binding.
3961
3962 * vc/smerge-mode.el: Remove redundant :group args.
3963
3964 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3965 to load-path.
3966
3967 2013-08-28 Juri Linkov <juri@jurta.org>
3968
3969 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3970 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3971 (isearch-other-meta-char): Handle an undefined shifted printing
3972 character by downshifting it. (Bug#15200)
3973
3974 2013-08-28 Juri Linkov <juri@jurta.org>
3975
3976 * isearch.el (isearch-search): Change regexp error message for
3977 non-regexp searches. (Bug#15166)
3978
3979 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3980
3981 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3982 for portability to hosts where /bin/sh has problems.
3983
3984 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3985
3986 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3987
3988 2013-08-27 Juri Linkov <juri@jurta.org>
3989
3990 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3991 in the keyboard macro. (Bug#15126)
3992
3993 2013-08-27 Juri Linkov <juri@jurta.org>
3994
3995 * isearch.el (isearch-quote-char): Comment out converting unibyte
3996 to multibyte, thus syncing with its `quoted-insert' counterpart.
3997 (Bug#15166)
3998
3999 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4000
4001 * window.el (display-buffer-use-some-window): Add missing
4002 argument in call of get-largest-window (Bug#15185).
4003 Reported by Stephen Leake.
4004
4005 2013-08-27 Glenn Morris <rgm@gnu.org>
4006
4007 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4008
4009 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4010
4011 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4012 from a matcher-function unless there's no more matches (bug#15161).
4013
4014 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4015
4016 * minibuffer.el: Revert change from 2013-08-20.
4017
4018 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4019 with text property `tramp-default', if appropriate.
4020 (tramp-check-proper-host): New defun.
4021 (tramp-dissect-file-name): Do not check hostname. Revert change
4022 of 2013-03-18.
4023 (tramp-backtrace): Make VEC-OR-PROC optional.
4024
4025 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4026 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4027 * net/tramp-sh.el (tramp-maybe-open-connection):
4028 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4029 Apply `tramp-check-proper-host'.
4030
4031 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4032
4033 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4034 lambda expression in order to have `describe-variable' display it.
4035
4036 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4037
4038 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4039 BUF can be optional. (Bug#15186)
4040
4041 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4042
4043 * progmodes/flymake.el (flymake-get-real-file-name-function):
4044 Fix broken customization. (Bug#15184)
4045
4046 2013-08-25 Alan Mackenzie <acm@muc.de>
4047
4048 Improve indentation of bracelists defined by macros (without "=").
4049
4050 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4051 expansion begins with "{", regard it as bracelist when it doesn't
4052 contain a ";".
4053
4054 Parse C++ inher-intro when there's a template split over 2 lines.
4055
4056 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4057 rigorously the search for "class" etc. followed by ":".
4058
4059 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4060 random languages a regexp which never matches rather than nil.
4061
4062 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4063
4064 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4065 (c-awk-regexp-one-line-possibly-open-char-list-re)
4066 (c-awk-one-line-possibly-open-regexp-re)
4067 (c-awk-one-line-non-syn-ws*-re): Remove.
4068 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4069 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4070 (c-awk-space*-unclosed-regexp-/-re): New constants.
4071 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4072 aren't regexp delimiters.
4073
4074 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4075 handling for a rare situation in AWK Mode involving unterminated
4076 strings/regexps.
4077
4078 2013-08-23 Glenn Morris <rgm@gnu.org>
4079
4080 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4081
4082 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4083
4084 * files.el (create-file-buffer): If the result would begin with
4085 spaces, prepend a "|" instead of removing them. (Bug#15162)
4086
4087 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4088
4089 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4090 text-properties (bug#15155).
4091
4092 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4093 exist any more.
4094 (calc-keypad-redraw): Remove unused var `pad'.
4095 (calc-keypad-press): Remove unused var `menu'.
4096
4097 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4098
4099 * window.el (display-buffer-pop-up-frame):
4100 Call pop-up-frame-function with BUFFER current so `make-frame' will
4101 use it as the new frame's buffer (Bug#15133).
4102
4103 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4104
4105 * calendar/timeclock.el: Minor cleanups.
4106 (timeclock-ask-before-exiting, timeclock-use-display-time):
4107 Use `symbol'.
4108 (timeclock-modeline-display): Define as alias before the
4109 actual definition.
4110 (timeclock-mode-line-display): Use define-minor-mode.
4111 (timeclock-day-list-template): Make it a function, add an argument.
4112 (timeclock-day-list-required, timeclock-day-list-length)
4113 (timeclock-day-list-debt, timeclock-day-list-span)
4114 (timeclock-day-list-break): Adjust calls accordingly.
4115
4116 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4117
4118 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4119 Use read--expression so that completion works again.
4120
4121 2013-08-21 Sam Steingold <sds@gnu.org>
4122
4123 Add rudimentary inferior shell interaction
4124 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4125 (sh-set-shell): Reset it.
4126 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4127 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4128
4129 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4130
4131 * align.el: Use lexical-binding.
4132 (align-region): Simplify accordingly.
4133
4134 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4135
4136 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4137
4138 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4139 `non-essential' up.
4140
4141 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4142
4143 * net/tramp.el:
4144 * net/tramp-adb.el:
4145 * net/tramp-cmds.el:
4146 * net/tramp-ftp.el:
4147 * net/tramp-gvfs.el:
4148 * net/tramp-gw.el:
4149 * net/tramp-sh.el: Don't wrap external variable declarations by
4150 `eval-when-compile'.
4151
4152 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4153
4154 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4155 now that Emacs supports ImageMagick animations.
4156
4157 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4158
4159 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4160 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4161
4162 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4163
4164 * window.el (mouse-autoselect-window-select): Do autoselect when
4165 mouse pointer is on margin.
4166
4167 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4168
4169 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4170
4171 2013-08-16 Glenn Morris <rgm@gnu.org>
4172
4173 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4174 Handle "Remote Directory" response of some clients. (Bug#15058)
4175
4176 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4177 Tweak warning. (Bug#14926)
4178
4179 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4180 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4181
4182 * image-mode.el (image-mode-map): Add menu items to reverse,
4183 increase, decrease, reset animation speed.
4184 (image--set-speed, image-increase-speed, image-decrease-speed)
4185 (image-reverse-speed, image-reset-speed): New functions.
4186 (image-mode-map): Add bindings for speed commands.
4187
4188 * image.el (image-animate-get-speed, image-animate-set-speed):
4189 New functions.
4190 (image-animate-timeout): Respect image :speed property.
4191
4192 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4193
4194 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4195 previous line (bug#15101).
4196 (debugger-eval-expression, debugger-record-expression):
4197 Use read--expression (bug#15102).
4198
4199 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4200
4201 Remove byte compiler warnings, visible when compiling with
4202 `byte-compile-force-lexical-warnings' set to t.
4203
4204 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4205 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4206 (tramp-handle-unhandled-file-name-directory)
4207 (tramp-handle-file-notify-add-watch, tramp-action-login)
4208 (tramp-action-succeed, tramp-action-permission-denied)
4209 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4210 arguments with "_".
4211
4212 * net/tramp-adb.el (tramp-adb-parse-device-names)
4213 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4214 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4215 (tramp-adb-handle-file-truename): Remove unused arguments.
4216
4217 * net/tramp-cache.el (tramp-flush-directory-property)
4218 (tramp-flush-connection-property, tramp-list-connections)
4219 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4220
4221 * net/tramp-compat.el (tramp-compat-make-temp-file):
4222 Rename FILENAME to F.
4223
4224 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4225 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4226 (tramp-zeroconf-parse-workstation-device-names)
4227 (tramp-zeroconf-parse-webdav-device-names)
4228 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4229
4230 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4231 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4232
4233 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4234 arguments.
4235 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4236 (tramp-sh-handle-insert-file-contents-literally)
4237 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4238 with "_".
4239 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4240 Remove unused variables.
4241
4242 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4243 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4244 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4245
4246 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4247 Make them a defconst.
4248 (tramp-uuencode-region): Remove unused variable.
4249
4250 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4251
4252 * frameset.el (frameset--prop-setter): New function.
4253 (frameset-prop): Add gv-setter declaration.
4254 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4255 parameter was already set in FILTERED. Doc fix.
4256 (frameset--record-minibuffer-relationships): Allow saving a
4257 minibufferless frame without its corresponding minibuffer frame.
4258 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4259 frame, if the frame id matches.
4260 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4261 frames before orphaned ones.
4262 (frameset-restore): Warn about orphaned windows, instead of error out.
4263
4264 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4265
4266 * window.el (window-make-atom): Don't overwrite parameter
4267 already present.
4268 (display-buffer-in-atom-window): Handle special case where we
4269 split an already atomic window.
4270 (window--major-non-side-window, display-buffer-in-side-window)
4271 (window--side-check): Ignore minibuffer window when walking
4272 window tree.
4273 (window-deletable-p): Return 'frame only if no other frame uses
4274 our minibuffer window.
4275 (record-window-buffer): Run buffer-list-update-hook.
4276 (split-window): Make sure window--check-frame won't destroy an
4277 existing atomic window in case the new window gets nested
4278 inside.
4279 (display-buffer-at-bottom): Ignore minibuffer window when
4280 walking window tree. Don't split a side window.
4281 (pop-to-buffer): Don't set-buffer here, the select-window call
4282 should do that.
4283 (mouse-autoselect-window-select): Autoselect only if we are in the
4284 text portion of the window.
4285
4286 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4287
4288 * net/shr.el (shr-parse-image-data): New function to grab both the
4289 data itself and the Content-Type.
4290 (shr-put-image): Use it.
4291
4292 * net/eww.el (eww-display-image): Ditto.
4293
4294 * image.el (image-content-type-suffixes): New variable.
4295
4296 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4297
4298 * progmodes/python.el (python-imenu--build-tree)
4299 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4300
4301 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4302
4303 * simple.el (backward-word): Mention the optional argument.
4304
4305 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4306
4307 * frameset.el (frameset--make): Rename constructor from make-frameset.
4308 (frameset-p, frameset-valid-p): Don't autoload.
4309 (frameset-valid-p): Use normal accessors.
4310
4311 2013-08-13 Glenn Morris <rgm@gnu.org>
4312
4313 * progmodes/compile.el (compile-command): Tweak example in doc.
4314 * obsolete/scribe.el (scribe-mode):
4315 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4316
4317 * mail/feedmail.el (feedmail-confirm-outgoing)
4318 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4319
4320 * cus-start.el (truncate-partial-width-windows): Fix type.
4321
4322 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4323
4324 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4325
4326 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4327
4328 * emacs-lisp/timer.el (timer--time-setter): New function.
4329 (timer--time): Use it as gv-setter.
4330
4331 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4332 setter is not a symbol.
4333
4334 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4335
4336 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4337 if sending fails. This makes debugging easier.
4338
4339 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4340
4341 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4342 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4343 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4344
4345 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4346
4347 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4348
4349 2013-08-12 Glenn Morris <rgm@gnu.org>
4350
4351 * format.el (format-annotate-function):
4352 Handle read-only text properties in the source. (Bug#14887)
4353
4354 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4355
4356 * net/eww.el (eww-display-html): Ignore coding system errors.
4357 One web site uses "utf-8lias" as the coding system.
4358
4359 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4360
4361 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4362
4363 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4364
4365 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4366 (tutorial--detailed-help): Remove unused local variables.
4367 (tutorial--save-tutorial-to): Use ignore-errors.
4368 (help-with-tutorial): Use looking-at-p.
4369
4370 * view.el (view-buffer-other-window, view-buffer-other-frame):
4371 Mark unused arguments.
4372
4373 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4374 (woman-select-symbol-fonts, woman, woman-find-file)
4375 (woman-insert-file-contents, woman-non-underline-faces):
4376 Use string-match-p.
4377 (woman1-unquote): Move declaration.
4378
4379 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4380 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4381 argument. Remove unused local variable.
4382 (xml-parse-elem-type): Use string-match-p.
4383 (xml-substitute-numeric-entities): Use ignore-errors.
4384
4385 * calculator.el (calculator): Mark unused argument.
4386 (calculator-paste, calculator-quit, calculator-integer-p):
4387 Use ignore-errors.
4388 (calculator-string-to-number, calculator-decimal, calculator-exp)
4389 (calculator-op-or-exp): Use string-match-p.
4390
4391 * dired.el (dired-buffer-more-recently-used-p): Declare.
4392 (dired-insert-set-properties, dired-insert-old-subdirs):
4393 Use ignore-errors.
4394
4395 * dired-aux.el (dired-compress): Use ignore-errors.
4396 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4397 (dired-do-async-shell-command, dired-do-shell-command)
4398 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4399 (dired-insert-subdir-validate): Use string-match-p.
4400 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4401 (dired-add-entry): Use string-match-p, looking-at-p.
4402 (dired-insert-subdir-newpos): Remove unused local variable.
4403
4404 * filenotify.el (file-notify-callback): Remove unused local variable.
4405
4406 * filesets.el (filesets-error): Mark unused argument.
4407 (filesets-which-command-p, filesets-filter-dir-names)
4408 (filesets-directory-files, filesets-get-external-viewer)
4409 (filesets-ingroup-get-data): Use string-match-p.
4410
4411 * find-file.el (ff-other-file-name, ff-other-file-name)
4412 (ff-find-the-other-file, ff-cc-hh-converter):
4413 Remove unused local variables.
4414 (ff-get-file-name): Use string-match-p.
4415 (ff-all-dirs-under): Use ignore-errors.
4416
4417 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4418 (follow-select-if-visible): Remove unused local variable.
4419
4420 * forms.el (read-file-filter): Move declaration.
4421 (forms--make-format, forms--make-parser, forms-insert-record):
4422 Quote function with #'.
4423 (forms--update): Use string-match-p. Quote function with #'.
4424
4425 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4426 (help-make-xrefs): Use looking-at-p.
4427 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4428
4429 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4430 (ibuffer-confirm-operation-on): Use string-match-p.
4431
4432 * msb.el (msb-item-handler, msb-dired-item-handler):
4433 Mark unused arguments.
4434
4435 * ses.el (ses-decode-cell-symbol)
4436 (ses-kill-override): Remove unused local variable.
4437 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4438 (ses-load): Use ignore-errors, looking-at-p.
4439 (ses-jump-safe): Use ignore-errors.
4440 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4441
4442 * tabify.el (untabify, tabify): Mark unused arguments.
4443
4444 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4445 Mark unused argument.
4446 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4447 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4448
4449 * emacs-lisp/timer.el (timer--time): Define setter with
4450 gv-define-setter to avoid deprecation warning.
4451
4452 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4453 (*record-cmpl-statistics-p*): Remove (was commented out).
4454 (cmpl-statistics-block): Remove (body was commented out).
4455 All callers changed.
4456 (add-completions-from-buffer, load-completions-from-file):
4457 Remove unused variables.
4458
4459 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4460
4461 * filecache.el (file-cache-delete-file-list):
4462 Print message only when told so.
4463 (file-cache-files-matching): Use #' in mapconcat argument.
4464
4465 * ffap.el (ffap-url-at-point): Fix reference to variable
4466 thing-at-point-default-mail-uri-scheme.
4467
4468 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4469
4470 * subr.el (define-error): New function.
4471 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4472 error-file-not-found and define with define-error.
4473 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4474 and define with define-error.
4475 * userlock.el (file-locked, file-supersession):
4476 * simple.el (mark-inactive):
4477 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4478 * progmodes/ada-mode.el (ada-mode-errors):
4479 * play/life.el (life-extinct):
4480 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4481 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4482 * nxml/rng-util.el (rng-error):
4483 * nxml/rng-uri.el (rng-uri-error):
4484 * nxml/rng-match.el (rng-compile-error):
4485 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4486 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4487 * nxml/nxml-rap.el (nxml-scan-error):
4488 * nxml/nxml-outln.el (nxml-outline-error):
4489 * net/soap-client.el (soap-error):
4490 * net/gnutls.el (gnutls-error):
4491 * net/ange-ftp.el (ftp-error):
4492 * mpc.el (mpc-proc-error):
4493 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4494 (json-number-format, json-string-escape, json-string-format)
4495 (json-key-format, json-object-format):
4496 * jka-compr.el (compression-error):
4497 * international/quail.el (quail-error):
4498 * international/kkc.el (kkc-error):
4499 * emacs-lisp/ert.el (ert-test-failed):
4500 * calc/calc.el (calc-error, inexact-result, math-overflow)
4501 (math-underflow):
4502 * bookmark.el (bookmark-error-no-filename):
4503 * epg.el (epg-error): Define with define-error.
4504
4505 * time.el (display-time-event-handler)
4506 (display-time-next-load-average): Don't call sit-for since it seems
4507 unnecessary (bug#15045).
4508
4509 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4510 Use #' instead of ' to quote functions.
4511 (checkdoc-output-mode): Use setq-local.
4512 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4513 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4514 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4515 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4516 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4517 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4518 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4519 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4520
4521 * ido.el (ido-completion-help): Fix up compiler warning.
4522
4523 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4524
4525 * frameset.el (frameset-p): Add autoload cookie.
4526 (frameset--jump-to-register): New function, based on code moved from
4527 register.el.
4528 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4529
4530 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4531 (frameset-restore, frameset-save, frameset-session-filter-alist):
4532 Remove declarations.
4533 (register-alist): Doc fix.
4534 (frameset-to-register): Move to frameset.el.
4535 (jump-to-register, describe-register-1): Remove frameset-specific code.
4536
4537 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4538
4539 * allout-widgets.el (allout-widgets-pre-command-business)
4540 (allout-widgets-post-command-business)
4541 (allout-widgets-after-change-handler)
4542 (allout-decorate-item-and-context, allout-set-boundary-marker)
4543 (allout-body-modification-handler)
4544 (allout-graphics-modification-handler): Mark ignored arguments.
4545 (allout-widgets-post-command-business)
4546 (allout-widgets-exposure-change-processor)
4547 (allout-widgets-exposure-undo-processor)
4548 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4549 (allout-parse-item-at-point, allout-decorate-item-guides)
4550 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4551 * allout.el (epa-passphrase-callback-function): Declare.
4552 (allout-overlay-insert-in-front-handler)
4553 (allout-overlay-interior-modification-handler)
4554 (allout-isearch-end-handler, allout-chart-siblings)
4555 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4556 (allout-yank-processing, allout-process-exposed)
4557 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4558 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4559 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4560 (lisp-indent-defform): Mark ignored arguments.
4561 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4562 (calculate-lisp-indent): Remove unused variables.
4563 * international/characters.el (indian-2-column, arabic-2-column)
4564 (tibetan): Mark ignored arguments.
4565 (use-cjk-char-width-table): Mark ignored arguments.
4566 Remove unused variables.
4567 * international/fontset.el (build-default-fontset-data)
4568 (x-compose-font-name, create-fontset-from-fontset-spec):
4569 Mark ignored arguments.
4570 (fontset-plain-name): Remove unused variables.
4571 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4572 (keyboard-coding-system): Mark ignored arguments.
4573 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4574 * help.el (resize-temp-buffer-window):
4575 * window.el (display-buffer-in-major-side-window)
4576 (display-buffer-in-side-window, display-buffer-in-previous-window):
4577 Remove unused variables.
4578 * isearch.el (isearch-forward-symbol):
4579 * version.el (emacs-bzr-version-bzr):
4580 * international/mule-cmds.el (current-language-environment):
4581 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4582 (x-handle-display):
4583 * term/pc-win.el (x-list-fonts, x-display-planes)
4584 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4585 (x-server-version, x-display-screens, x-display-mm-height)
4586 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4587 (x-selection-owner-p, x-own-selection-internal)
4588 (x-disown-selection-internal, x-get-selection-internal)
4589 (msdos-initialize-window-system):
4590 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4591 * term/x-win.el (x-handle-no-bitmap-icon):
4592 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4593 (vc-default-find-file-hook, vc-default-extra-menu):
4594 Mark ignored arguments.
4595
4596 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4597
4598 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4599 break-condition in the context of the debugged code (bug#12685).
4600
4601 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4602
4603 * comint.el:
4604 Do not use an overlay to highlight the last prompt. (Bug#14744)
4605 (comint-mode): Make comint-last-prompt buffer local.
4606 (comint-last-prompt): New variable.
4607 (comint-last-prompt-overlay): Remove. Superseded by
4608 comint-last-prompt.
4609 (comint-snapshot-last-prompt, comint-output-filter):
4610 Use comint-last-prompt.
4611
4612 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4613
4614 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4615 (frameset-save): Check validity of the resulting frameset.
4616
4617 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4618
4619 * ido.el (ido-record-command): Add doc string.
4620
4621 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4622
4623 * frameset.el (frameset): Do not disable creation of the default
4624 frameset-p predicate. Doc fix.
4625 (frameset-valid-p): New function, copied from the old predicate-p.
4626 Add additional checks.
4627 (frameset-restore): Check with frameset-valid-p.
4628 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4629 (frameset-name, frameset-description, frameset-properties)
4630 (frameset-states): Add docstring.
4631 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4632 (frameset-filter-alist): Doc fixes.
4633
4634 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4635
4636 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4637
4638 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4639
4640 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4641 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4642 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4643 (byte-compile-normal-call): Remove obsolescence check.
4644
4645 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4646
4647 * frameset.el (frameset-restore): Doc fix.
4648
4649 * register.el (frameset-frame-id, frameset-frame-with-id)
4650 (frameset-p, frameset-restore, frameset-save): Declare.
4651 (register-alist): Document framesets.
4652 (frameset-session-filter-alist): Declare.
4653 (frameset-to-register): New function.
4654 (jump-to-register): Implement jumping to framesets. Doc fix.
4655 (describe-register-1): Describe framesets.
4656
4657 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4658
4659 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4660
4661 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4662 Use lexical-binding.
4663
4664 * frameset.el (frameset): Use type vector, not list (incompatible
4665 change). Do not declare a new constructor, use the default one.
4666 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4667 `name' and `description', respectively, and add read-only slot
4668 `timestamp'. Doc fixes.
4669 (frameset-copy, frameset-persistent-filter-alist)
4670 (frameset-filter-alist, frameset-switch-to-gui-p)
4671 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4672 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4673 (frameset-filter-iconified, frameset-keep-original-display-p):
4674 Doc fixes.
4675 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4676 Rename from frameset-filter-(save|restore)-param. All callers changed.
4677 Doc fix.
4678 (frameset-p): Adapt to change to vector and be more thorough.
4679 Change arg name to OBJECT. Doc fix.
4680 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4681 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4682 All callers changed.
4683 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4684 All callers changed.
4685 (frameset--record-minibuffer-relationships): Rename from
4686 frameset--process-minibuffer-frames. All callers changed.
4687 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4688 Use new default constructor (again). Doc fix.
4689 (frameset--find-frame-if): Rename from `frameset--find-frame.
4690 All callers changed.
4691 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4692 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4693 Doc fix.
4694 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4695 PARAMETERS and WINDOW-STATE, respectively.
4696 (frameset-restore): Add new keyword argument PREDICATE.
4697 Reset frameset--target-display to nil. Doc fix.
4698
4699 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4700
4701 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4702 (bat-mode): Use it.
4703 (bat-mode-syntax-table): Mark \n as end-of-comment.
4704 (bat-font-lock-keywords): Remove comment rule.
4705
4706 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4707 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4708
4709 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4710 (byte-compile-callargs-warn): Use `push'.
4711 (byte-compile-arglist-warn): Ignore higher-order "calls".
4712 (byte-compile-file-form-autoload): Use `pcase'.
4713 (byte-compile-function-form): If quoting a symbol, check that it exists.
4714
4715 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4716
4717 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4718 and add a few popular commands found in batch files.
4719 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4720 (dos-mode): Doc fixes.
4721
4722 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4723
4724 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4725 (dos-mode): Use setq-local. Add space after "rem".
4726 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4727 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4728
4729 2013-08-07 Arni Magnusson <arnima@hafro.is>
4730
4731 * progmodes/dos.el: New file.
4732 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4733 dos-mode.
4734
4735 2013-08-06 Glenn Morris <rgm@gnu.org>
4736
4737 * calendar/calendar.el: Add new faces, and day-header-array.
4738 (calendar-weekday-header, calendar-weekend-header)
4739 (calendar-month-header): New faces.
4740 (calendar-day-header-construct): New function.
4741 (calendar-day-header-width): Also :set calendar-day-header-array.
4742 (calendar-american-month-header, calendar-european-month-header)
4743 (calendar-iso-month-header): Use calendar- faces.
4744 (calendar-generate-month):
4745 Use calendar-day-header-array for day headers; apply faces to them.
4746 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4747 (calendar-abbrev-construct): Add optional maxlen argument.
4748 (calendar-day-name-array): Doc fix.
4749 (calendar-day-name-array, calendar-abbrev-length)
4750 (calendar-day-abbrev-array):
4751 Also :set calendar-day-header-array, and maybe redraw.
4752 (calendar-day-header-array): New option. (Bug#15007)
4753 (calendar-font-lock-keywords): Set to nil and make obsolete.
4754 (calendar-day-name): Add option to use header array.
4755
4756 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4757
4758 * net/shr.el (shr-render-td): Remove debugging.
4759 (shr-render-td): Make width computation consistent by defaulting
4760 all zero-width columns to 10 characters. This may not be optimal,
4761 but it's at least consistent.
4762 (shr-make-table-1): Redo last change to fix the real problem in
4763 colspan handling.
4764
4765 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4766
4767 * files.el (cache-long-line-scans):
4768 Make obsolete alias to `cache-long-scans'.
4769
4770 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4771
4772 * frameset.el (frameset, frameset-filter-alist)
4773 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4774 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4775 (frameset-compute-pos): Rename from frameset--compute-pos,
4776 and add docstring.
4777 (frameset-move-onscreen): Use frameset-compute-pos.
4778 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4779
4780 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4781 Fix typos in docstrings.
4782
4783 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4784
4785 * frame.el (get-other-frame): Tiny cleanup.
4786
4787 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4788
4789 * vc/vc.el (vc-default-ignore-completion-table):
4790 Silence byte-compiler warning.
4791
4792 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4793 slot , which can indeed be nil.
4794 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4795 Move entry for `left' from persistent to live filter alist.
4796 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4797 Doc fixes.
4798 (frameset-filter-params): When restoring a frame, copy items added to
4799 `filtered', to avoid unwittingly modifying the original parameters.
4800 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4801 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4802
4803 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4804 to use looking-at-p instead of looking-at. (Bug#15028)
4805
4806 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4807
4808 Revert introduction of isearch-filter-predicates (bug#14714).
4809 Rely on add-function instead.
4810 * isearch.el (isearch-filter-predicates): Rename it back to
4811 isearch-filter-predicate.
4812 (isearch-message-prefix): Use advice-function-mapc and advice
4813 properties to get the isearch-message-prefix.
4814 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4815 instead of run-hook-with-args-until-failure.
4816 (isearch-filter-visible): Not obsolete any more.
4817 * loadup.el: Preload nadvice.
4818 * replace.el (perform-replace): Revert to funcall
4819 instead of run-hook-with-args-until-failure.
4820 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4821 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4822 dired-isearch-filenames-toggle; make it into a proper minor mode.
4823 Use add/remove-function.
4824 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4825 Call the minor-mode rather than add/remove-hook.
4826 (dired-isearch-filter-filenames):
4827 Remove isearch-message-prefix property.
4828 * info.el (Info--search-loop): New function, extracted from Info-search.
4829 Funcall isearch-filter-predicate instead of
4830 run-hook-with-args-until-failure isearch-filter-predicates.
4831 (Info-search): Use it.
4832 (Info-mode): Use isearch-filter-predicate instead of
4833 isearch-filter-predicates.
4834
4835 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4836
4837 Do not call to `selected-window' where it is assumed by default.
4838 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4839 `window-hscroll', `window-width', `window-height', `window-buffer',
4840 `window-frame', `window-start', `window-point', `next-window'
4841 and `window-display-table'.
4842 * abbrev.el (abbrev--default-expand):
4843 * bs.el (bs--show-with-configuration):
4844 * buff-menu.el (Buffer-menu-mouse-select):
4845 * calc/calc.el (calc):
4846 * calendar/calendar.el (calendar-generate-window):
4847 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4848 (diary-make-entry):
4849 * comint.el (send-invisible, comint-dynamic-complete-filename)
4850 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4851 * completion.el (complete):
4852 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4853 * disp-table.el (describe-current-display-table):
4854 * doc-view.el (doc-view-insert-image):
4855 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4856 * ehelp.el (with-electric-help):
4857 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4858 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4859 * emacs-lisp/helper.el (Helper-help-scroller):
4860 * emulation/cua-base.el (cua--post-command-handler-1):
4861 * eshell/esh-mode.el (eshell-output-filter):
4862 * ffap.el (ffap-gnus-wrapper):
4863 * help-macro.el (make-help-screen):
4864 * hilit-chg.el (highlight-compare-buffers):
4865 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4866 * hl-line.el (global-hl-line-highlight):
4867 * icomplete.el (icomplete-simple-completing-p):
4868 * isearch.el (isearch-done):
4869 * jit-lock.el (jit-lock-stealth-fontify):
4870 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4871 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4872 * mpc.el (mpc-tagbrowser, mpc):
4873 * net/rcirc.el (rcirc-any-buffer):
4874 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4875 * play/landmark.el (landmark-max-width, landmark-max-height):
4876 * play/zone.el (zone):
4877 * progmodes/compile.el (compilation-goto-locus):
4878 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4879 * progmodes/etags.el (find-tag-other-window):
4880 * progmodes/fortran.el (fortran-column-ruler):
4881 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4882 * progmodes/verilog-mode.el (verilog-point-text):
4883 * reposition.el (reposition-window):
4884 * rot13.el (toggle-rot13-mode):
4885 * server.el (server-switch-buffer):
4886 * shell.el (shell-dynamic-complete-command)
4887 (shell-dynamic-complete-environment-variable):
4888 * simple.el (insert-buffer, set-selective-display)
4889 (delete-completion-window):
4890 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4891 (speedbar-recenter):
4892 * startup.el (fancy-splash-head):
4893 * textmodes/ispell.el (ispell-command-loop):
4894 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4895 * tutorial.el (help-with-tutorial):
4896 * vc/add-log.el (add-change-log-entry):
4897 * vc/compare-w.el (compare-windows):
4898 * vc/ediff-help.el (ediff-indent-help-message):
4899 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4900 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4901 (ediff-setup-control-frame):
4902 * vc/emerge.el (emerge-position-region):
4903 * vc/pcvs-util.el (cvs-bury-buffer):
4904 * window.el (walk-windows, mouse-autoselect-window-select):
4905 * winner.el (winner-set-conf, winner-undo): Related users changed.
4906
4907 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4908
4909 * frameset.el (frameset--set-id): Doc fix.
4910 (frameset-frame-id, frameset-frame-id-equal-p)
4911 (frameset-locate-frame-id): New functions.
4912 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4913 (frameset-restore): Use them.
4914
4915 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4916
4917 Do not call to `selected-frame' where it is assumed by default.
4918 Affected functions are `raise-frame', `redraw-frame',
4919 `frame-first-window', `frame-terminal' and `delete-frame'.
4920 * calendar/appt.el (appt-disp-window):
4921 * epg.el (epg-wait-for-completion):
4922 * follow.el (follow-delete-other-windows-and-split)
4923 (follow-avoid-tail-recenter):
4924 * international/mule.el (set-terminal-coding-system):
4925 * mail/rmail.el (rmail-mail-return):
4926 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4927 * progmodes/f90.el (f90-add-imenu-menu):
4928 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4929 * server.el (server-switch-buffer):
4930 * simple.el (delete-completion-window):
4931 * talk.el (talk):
4932 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4933 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4934 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4935 * vc/ediff.el (ediff-documentation): Related users changed.
4936 * frame.el (selected-terminal): Remove the leftover.
4937
4938 2013-08-05 Glenn Morris <rgm@gnu.org>
4939
4940 * calendar/calendar.el (calendar-generate-month):
4941 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4942 (calendar-generate-month, calendar-font-lock-keywords):
4943 Fix for calendar-day-header-width > length of any day name.
4944
4945 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4946
4947 * desktop.el (desktop-clear): Use new name of sort predicate.
4948
4949 * frameset.el (frameset): Add docstring. Move :version property to its
4950 own `version' slot.
4951 (frameset-copy): Rename from copy-frameset.
4952 (frameset-p): Check more thoroughly.
4953 (frameset-prop): Do not check for :version, which is no longer a prop.
4954 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4955 Use new :never value instead of t.
4956 (frameset-filter-alist): Expand and clarify docstring.
4957 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4958 (frameset-filter-minibuffer, frameset-filter-save-param)
4959 (frameset-filter-restore-param, frameset-filter-iconified):
4960 Add pointer to docstring of frameset-filter-alist.
4961 (frameset-filter-params): Rename filter values to be more meaningful:
4962 :never instead of t, and reverse the meanings of :save and :restore.
4963 (frameset--process-minibuffer-frames): Clarify error message.
4964 (frameset-save): Avoid unnecessary and confusing call to framep.
4965 Use new BOA constructor for framesets.
4966 (frameset--reuse-list): Doc fix.
4967 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4968 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4969 (frameset-minibufferless-first-p): Doc fix.
4970 Rename from frameset-sort-frames-for-deletion.
4971 (frameset-restore): Doc fixes. Use new function names.
4972 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4973
4974 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4975
4976 * desktop.el (desktop-restore-forces-onscreen)
4977 (desktop-restore-reuses-frames): Document :keyword constant values.
4978 (desktop-filter-parameters-alist): Remove, now identical to
4979 frameset-filter-alist.
4980 (desktop--filter-tty*): Remove, moved to frameset.el.
4981 (desktop-save-frameset, desktop-restore-frameset):
4982 Do not pass :filters argument.
4983
4984 * frameset.el (frameset-live-filter-alist)
4985 (frameset-persistent-filter-alist): New variables.
4986 (frameset-filter-alist): Use them. Add autoload cookie.
4987 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4988 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4989 `frameset--id' (it's supposed to be internal to frameset.el).
4990 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4991 (frameset--initial-params): New function.
4992 (frameset--get-frame): Use it. Doc fix.
4993 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4994 Accept :all, not 'all.
4995 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4996 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4997 with fbound symbols. Fix frame id matching, and remove matching ids if
4998 the frame being restored is deleted. Obey :delete.
4999
5000 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5001
5002 * subr.el (macrop): New function.
5003 (text-clone--maintaining): New var.
5004 (text-clone--maintain): Rename from text-clone-maintain. Use it
5005 instead of inhibit-modification-hooks.
5006
5007 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5008 a proxy, so as handle autoloads and redefinitions of the target.
5009 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5010
5011 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5012 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5013 (pcase--mutually-exclusive-p): New function.
5014 (pcase--split-consp): Use it.
5015 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5016 mutually exclusive with the current predicate.
5017
5018 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5019 (edebug-macrop): Remove. Use `macrop' instead.
5020 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5021 (ad-macro-p):
5022 * eshell/esh-cmd.el (eshell-macrop):
5023 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5024
5025 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5026
5027 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5028 (advice-mapc): New function, using it.
5029 (advice-function-member-p): New function.
5030 (advice--normalize): Store the cdr in advice--saved-rewrite since
5031 that's the part that will be changed.
5032 (advice--symbol-function): New function.
5033 (advice-remove): Handle removal before the function is defined.
5034 Adjust to new advice--saved-rewrite.
5035 (advice-member-p): Use advice-function-member-p and
5036 advice--symbol-function.
5037
5038 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5039
5040 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5041 (frameset-filter-minibuffer): Doc fix.
5042 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5043 (frameset--set-id, frameset--process-minibuffer-frames)
5044 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5045 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5046
5047 * desktop.el (desktop-clear): Only delete frames when called
5048 interactively and desktop-restore-frames is non-nil. Doc fix.
5049 (desktop-read): Set desktop-saved-frameset to nil.
5050
5051 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5052
5053 * vc/vc.el (vc-ignore): Rewrite.
5054 (vc-default-ignore-completion-table):
5055 (vc--read-lines):
5056 (vc--add-line, vc--remove-regexp): New functions.
5057
5058 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5059 (vc-svn-ignore-completion-table): New function.
5060
5061 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5062 (vc-hg-ignore-completion-table):
5063 (vc-hg-find-ignore-file): New functions.
5064
5065 * vc/vc-git.el (vc-git-ignore): Rewrite.
5066 (vc-git-ignore-completion-table):
5067 (vc-git-find-ignore-file): New functions.
5068
5069 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5070
5071 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5072 (vc-bzr-ignore-completion-table):
5073 (vc-bzr-find-ignore-file): New functions.
5074
5075 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5076
5077 * frameset.el (frameset-prop): New function and setter.
5078 (frameset-save): Do not modify frame list passed by the caller.
5079
5080 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5081
5082 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5083
5084 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5085
5086 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5087 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5088
5089 * custom.el (custom-initialize-default, custom-initialize-set)
5090 (custom-initialize-reset, custom-initialize-changed): Affect the
5091 toplevel-default-value (bug#6275, bug#14586).
5092 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5093 for bug#6275.
5094
5095 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5096
5097 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5098 Add cl-def* expressions.
5099
5100 * frameset.el (frameset-filter-params): Fix order of arguments.
5101
5102 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5103
5104 Move code related to saving frames to frameset.el.
5105 * desktop.el: Require frameset.
5106 (desktop-restore-frames): Doc fix.
5107 (desktop-restore-reuses-frames): Rename from
5108 desktop-restoring-reuses-frames.
5109 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5110 (desktop-clear): Clear frames too.
5111 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5112 (desktop--filter-tty*, desktop-save, desktop-read):
5113 Use frameset functions.
5114 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5115 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5116 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5117 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5118 (desktop--process-minibuffer-frames, desktop-save-frames)
5119 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5120 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5121 (desktop--sort-states, desktop-restoring-frames-p)
5122 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5123 (desktop-restoring-frameset-p, desktop-restore-frameset)
5124 (desktop--check-dont-save, desktop-save-frameset): New functions.
5125 (desktop--app-id): New constant.
5126 (desktop-first-buffer, desktop-buffer-ok-count)
5127 (desktop-buffer-fail-count): Move before first use.
5128 * frameset.el: New file.
5129
5130 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5131
5132 * files.el: Use lexical-binding.
5133 (dir-locals-read-from-file): Remove unused `err' variable.
5134 (hack-dir-local-variables--warned-coding): New var.
5135 (hack-dir-local-variables): Use it to avoid repeated warnings.
5136 (make-backup-file-name--default-function): New function.
5137 (make-backup-file-name-function): Use it as default.
5138 (buffer-stale--default-function): New function.
5139 (buffer-stale-function): Use it as default.
5140 (revert-buffer-insert-file-contents--default-function): New function.
5141 (revert-buffer-insert-file-contents-function): Use it as default.
5142 (insert-directory): Avoid add-to-list.
5143
5144 * autorevert.el (auto-revert-handler): Simplify.
5145 Use buffer-stale--default-function.
5146
5147 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5148
5149 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5150
5151 * whitespace.el (whitespace-ensure-local-variables): New function.
5152 (whitespace-cleanup-region): Call it.
5153 (whitespace-turn-on): Call it.
5154
5155 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5156
5157 Complete file name handlers.
5158
5159 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5160 (tramp-handle-verify-visited-file-modtime)
5161 (tramp-handle-file-notify-rm-watch): New functions.
5162 (tramp-call-process): Do not bind `default-directory'.
5163
5164 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5165 Order alphabetically.
5166 [access-file, add-name-to-file, dired-call-process]:
5167 [dired-compress-file, file-acl, file-notify-rm-watch]:
5168 [file-ownership-preserved-p, file-selinux-context]:
5169 [make-directory-internal, make-symbolic-link, set-file-acl]:
5170 [set-file-selinux-context, set-visited-file-modtime]:
5171 [verify-visited-file-modtime]: Add handler.
5172 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5173
5174 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5175 [file-notify-add-watch, file-notify-rm-watch]:
5176 [set-file-times, set-visited-file-modtime]:
5177 [verify-visited-file-modtime]: Add handler.
5178 (with-tramp-gvfs-error-message)
5179 (tramp-gvfs-handle-set-visited-file-modtime)
5180 (tramp-gvfs-fuse-file-name): Remove.
5181 (tramp-gvfs-handle-file-notify-add-watch)
5182 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5183 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5184
5185 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5186 Order alphabetically.
5187 [file-notify-rm-watch ]: Use default Tramp handler.
5188 [executable-find]: Remove private handler.
5189 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5190 `default-directory'.
5191 (tramp-sh-handle-executable-find)
5192 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5193 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5194 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5195 Do not use `format' in `tramp-message'.
5196
5197 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5198 [file-notify-rm-watch, set-visited-file-modtime]:
5199 [verify-visited-file-modtime]: Add handler.
5200 (tramp-smb-call-winexe): Do not bind `default-directory'.
5201
5202 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5203
5204 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5205
5206 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5207
5208 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5209 use it.
5210 (log-view-diff-changeset): Same.
5211 (log-view-diff-common): Call backend command `previous-revision'
5212 to find out the previous revision, in both cases. Swap the
5213 variables `to' and `fr', so that `fr' usually refers to the
5214 earlier revision (Bug#14989).
5215
5216 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5217
5218 * ibuf-ext.el (ibuffer-filter-by-filename):
5219 Make it work with dired buffers too.
5220
5221 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5222
5223 * emacs-lisp/re-builder.el (reb-color-display-p):
5224 * files.el (save-buffers-kill-terminal):
5225 * net/browse-url.el (browse-url):
5226 * server.el (server-save-buffers-kill-terminal):
5227 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5228 Prefer nil to selected-frame for the first arg of frame-parameter.
5229
5230 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5231
5232 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5233
5234 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5235
5236 * minibuffer.el (completion--twq-all): Try and preserve each
5237 completion's case choice (bug#14907).
5238
5239 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5240
5241 * net/network-stream.el (open-network-stream): Mention the new
5242 :nogreeting parameter.
5243 (network-stream-open-starttls): Use the :nogreeting parameter
5244 (bug#14938).
5245
5246 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5247
5248 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5249 more natural than popping.
5250
5251 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5252 (shr-urlify): Highlight under mouse.
5253
5254 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5255
5256 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5257
5258 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5259
5260 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5261 buffer for output.
5262
5263 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5264 point-min==1. Fix search string. Fix parentheses missing.
5265
5266 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5267 assume point-min==1. Fix search string. Fix parentheses missing.
5268
5269 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5270
5271 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5272 buffer for output.
5273
5274 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5275
5276 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5277 initial frame is minibuffer-less. (Bug#14841)
5278
5279 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5280
5281 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5282 option.
5283
5284 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5285 (tramp-maybe-open-connection): Use it.
5286
5287 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5288
5289 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5290 minimal set of parameters passed when creating a frame, because
5291 the minibuffer status of a frame cannot be changed later.
5292
5293 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5294
5295 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5296 replace-regexp-in-string and inadvertent omissions in previous change.
5297 (todo-filter-items): Ensure only file names are comma-separated in
5298 name of filtered items buffer.
5299
5300 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5301
5302 * desktop.el: Optionally force offscreen frames back onscreen.
5303 (desktop-restoring-reuses-frames): New option.
5304 (desktop--compute-pos, desktop--move-onscreen): New functions.
5305 (desktop--make-frame): Use desktop--move-onscreen.
5306
5307 2013-07-27 Alan Mackenzie <acm@muc.de>
5308
5309 Fontify a Java generic method as a function.
5310 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5311 value to t.
5312
5313 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5314
5315 * calendar/todo-mode.el: Add command to rename todo files.
5316 (todo-rename-file): New command.
5317 (todo-key-bindings-t): Add key binding for it. Change the
5318 bindings of todo-filter-regexp-items(-multifile) to use `x'
5319 instead of `r', since the latter is better suited to the new
5320 renaming command.
5321
5322 2013-07-27 Alan Mackenzie <acm@muc.de>
5323
5324 Make Java try-with-resources statement parse properly.
5325 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5326 (c-block-stmt-1-2-key): New language constants/variables.
5327 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5328 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5329 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5330 with c-block-stmt-1-2-key.
5331
5332 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5333
5334 * desktop.el (desktop--make-frame): Apply most frame parameters after
5335 creating the frame to force (partially or totally) offscreen frames to
5336 be restored as such.
5337
5338 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5339
5340 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5341 (Bug#14948)
5342
5343 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5344
5345 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5346 `base' arg of backtrace-frame.
5347
5348 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5349
5350 * simple.el (list-processes): Doc fix.
5351
5352 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5353
5354 * desktop.el (desktop--select-frame):
5355 Try harder to reuse existing frames.
5356
5357 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5358
5359 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5360 (edebug-eval): Use backtrace-eval.
5361 (edebug--display, edebug--recursive-edit): Don't let-bind the
5362 edebug-outer-* vars that keep track of variables we locally let-bind.
5363 (edebug-outside-excursion): Don't restore outside values of locally
5364 let-bound vars.
5365 (edebug--display): Use user-error.
5366 (cl-lexical-debug, cl-debug-env): Remove.
5367
5368 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5369
5370 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5371 are restored to be sure that they are visible before deleting any
5372 remaining ones.
5373
5374 2013-07-26 Matthias Meulien <orontee@gmail.com>
5375
5376 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5377 vc-print-root-log. (Bug#14948)
5378
5379 2013-07-26 Richard Stallman <rms@gnu.org>
5380
5381 Add aliases for encrypting mail.
5382 * epa.el (epa-mail-aliases): New option.
5383 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5384 Bind inhibit-read-only so read-only text doesn't ruin everything.
5385 (epa-mail-default-recipients): New subroutine broken out.
5386 Handle epa-mail-aliases.
5387
5388 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5389
5390 Add support for lexical variables to the debugger's `e' command.
5391 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5392 vars, except for debugger-outer-match-data.
5393 (debugger-frame-number): Move check for "on a function call" from
5394 callers into it. Add `skip-base' argument.
5395 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5396 (debugger-env-macro): Only reset the state stored in non-variables,
5397 i.e. current-buffer and match-data.
5398 (debugger-eval-expression): Rewrite using backtrace-eval.
5399 * subr.el (internal--called-interactively-p--get-frame): Remove.
5400 (called-interactively-p):
5401 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5402 `base' arg of backtrace-frame instead.
5403
5404 2013-07-26 Glenn Morris <rgm@gnu.org>
5405
5406 * align.el (align-regexp): Doc fix. (Bug#14857)
5407 (align-region): Explicit error if subexpression missing/does not match.
5408
5409 * simple.el (global-visual-line-mode):
5410 Do not duplicate the mode lighter. (Bug#14858)
5411
5412 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5413
5414 * window.el (display-buffer): In display-buffer bind
5415 split-window-keep-point to t, bug#14829.
5416
5417 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5418
5419 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5420 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5421 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5422 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5423 Change accordingly.
5424 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5425 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5426
5427 2013-07-25 Glenn Morris <rgm@gnu.org>
5428
5429 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5430
5431 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5432
5433 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5434 parameter to modify-frame-parameters if the value has not changed;
5435 this is a workaround for bug#14949.
5436 (desktop--make-frame): On cl-delete-if call, check parameter name,
5437 not full parameter.
5438
5439 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5440
5441 * vc/vc.el (vc-ignore): New function.
5442
5443 * vc/vc-svn.el (vc-svn-ignore): New function.
5444
5445 * vc/vc-hg.el (vc-hg-ignore): New function.
5446
5447 * vc/vc-git.el (vc-git-ignore): New function.
5448
5449 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5450 (vc-dir-ignore): New function.
5451
5452 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5453 (cvs-append-to-ignore): Move here from pcvs.el.
5454
5455 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5456
5457 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5458
5459 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5460
5461 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5462 (desktop-restore-frames): Warn when deleting an existing frame failed.
5463
5464 2013-07-24 Glenn Morris <rgm@gnu.org>
5465
5466 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5467
5468 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5469
5470 * filenotify.el (file-notify-supported-p):
5471 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5472 Remove functions.
5473
5474 * autorevert.el (auto-revert-use-notify):
5475 (auto-revert-notify-add-watch):
5476 * net/tramp.el (tramp-file-name-for-operation):
5477 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5478 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5479 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5480 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5481 Remove `file-notify-supported-p' entry.
5482
5483 2013-07-24 Glenn Morris <rgm@gnu.org>
5484
5485 * printing.el: Replace all uses of deleted ps-windows-system,
5486 ps-lp-system, ps-flatten-list with lpr- versions.
5487
5488 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5489
5490 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5491 checked with memq (bug#14935).
5492
5493 * files.el (revert-buffer-function): Use a non-nil default.
5494 (revert-buffer-preserve-modes): Declare var to
5495 provide access to the `preserve-modes' argument.
5496 (revert-buffer): Let-bind it.
5497 (revert-buffer--default): New function, extracted from revert-buffer.
5498
5499 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5500
5501 * lpr.el: Signal print errors more prominently.
5502 (print-region-function): Don't default to nil.
5503 (lpr-print-region): New function, extracted from print-region-1.
5504 Check lpr's return value and signal an error in case of problem.
5505 (print-region-1): Use it.
5506 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5507 versions instead.
5508 (ps-printer-name): Default to nil.
5509 (ps-printer-name-option): Default to lpr-printer-switch.
5510 (ps-print-region-function): Don't default to nil.
5511 (ps-postscript-code-directory): Simplify default.
5512 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5513 (ps-string-list, ps-eval-switch, ps-flatten-list)
5514 (ps-flatten-list-1): Remove.
5515 (ps-multibyte-buffer): Avoid setq.
5516 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5517 (print-region-function, ps-print-region-function): Don't set them here.
5518
5519 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5520
5521 * ido.el (ido-fractionp):
5522 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5523 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5524 (ido-max-directory-size, ido-max-dir-file-cache)
5525 (ido-decorations): Doc fix.
5526
5527 * ansi-color.el: Fix old URL.
5528
5529 2013-07-23 Michael R. Mauger <michael@mauger.com>
5530
5531 * progmodes/sql.el: Version 3.3
5532 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5533 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5534 (sql-interactive-remove-continuation-prompt): Rewrite, use
5535 functions above. Fix continuation prompt and complete output line
5536 handling.
5537 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5538 redirected output buffer.
5539 (sql-mode): Restore deleted code (Bug#13591).
5540
5541 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5542
5543 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5544
5545 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5546
5547 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5548
5549 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5550 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5551 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5552
5553 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5554
5555 * desktop.el (desktop-clear): Simplify; remove useless checks
5556 against invalid buffer names.
5557 (desktop-list*): Use cl-list*.
5558 (desktop-buffer-info, desktop-create-buffer): Simplify.
5559
5560 2013-07-23 Leo Liu <sdl.web@gmail.com>
5561
5562 * bookmark.el (bookmark-make-record): Restore NAME as a default
5563 value. (Bug#14933)
5564
5565 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5566
5567 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5568 extracted from autoload--insert-text.
5569 (autoload--insert-text): Remove.
5570 (autoload--print-cookie-text): New function, extracted from
5571 autoload--insert-cookie-text.
5572 (autoload--insert-cookie-text): Remove.
5573 (autoload-generate-file-autoloads): Adjust calls accordingly.
5574
5575 * winner.el (winner-hook-installed-p): Remove.
5576 (winner-mode): Simplify accordingly.
5577
5578 * subr.el (add-to-list): Fix compiler-macro when `append' is
5579 not constant. Don't use `cl-member' for the base case.
5580
5581 * progmodes/subword.el: Fix boundary case (bug#13758).
5582 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5583 own group.
5584 (subword-backward-regexp): Make it a constant.
5585 (subword-forward-internal): Don't treat a trailing capital as the
5586 beginning of a word.
5587
5588 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5589
5590 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5591 global value of tabulated-list-revert-hook (bug#14930).
5592
5593 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5594
5595 * desktop.el: Require 'cl-lib.
5596 (desktop-before-saving-frames-functions): New hook.
5597 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5598 for frames being saved. Rename from desktop--save-minibuffer-frames.
5599 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5600 Do not save frames with non-nil `desktop-dont-save' parameter.
5601 Filter out deleted frames.
5602 (desktop--find-frame): Use cl-find-if.
5603 (desktop--select-frame): Use cl-(first|second|third) to access values
5604 of desktop-mini.
5605 (desktop--make-frame): Use cl-delete-if.
5606 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5607 (desktop-restore-frames): Use cl-(first|second|third) to access values
5608 of desktop-mini. Look for visible frame at the end, not while
5609 restoring frames.
5610
5611 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5612 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5613 Use string-match-p, looking-at-p (bug#14927).
5614
5615 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5616
5617 * desktop.el (desktop-saved-frame-states):
5618 Rename from desktop--saved-states; all users changed.
5619 (desktop-save-frames): Rename from desktop--save-frames.
5620 Do not save state to desktop file.
5621 (desktop-save): Save desktop-saved-frame-states to desktop file
5622 and reset to nil.
5623 (desktop-restoring-frames-p): New function.
5624 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5625 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5626 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5627
5628 * desktop.el: Correctly restore iconified frames.
5629 (desktop--filter-iconified-position): New function.
5630 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5631
5632 2013-07-20 Glenn Morris <rgm@gnu.org>
5633
5634 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5635 Let `message' do the formatting.
5636 (def-gdb-preempt-display-buffer): Add explicit format.
5637
5638 * image-dired.el (image-dired-track-original-file):
5639 Use with-current-buffer.
5640 (image-dired-track-thumbnail): Use with-current-buffer.
5641 Avoid changing point of wrong window.
5642
5643 * image-dired.el (image-dired-track-original-file):
5644 Avoid changing point of wrong window. (Bug#14909)
5645
5646 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5647
5648 * progmodes/gdb-mi.el (gdb-done-or-error):
5649 Guard against "%" in gdb output. (Bug#14127)
5650
5651 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5652
5653 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5654 (Bug#14826)
5655
5656 * international/mule.el (coding-system-iso-2022-flags): Fix last
5657 change.
5658
5659 2013-07-20 Kenichi Handa <handa@gnu.org>
5660
5661 * international/mule.el (coding-system-iso-2022-flags):
5662 Add `8-bit-level-4'. (Bug#8522)
5663
5664 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5665
5666 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5667 (bug#14815).
5668
5669 * net/eww.el (eww-process-text-input): Allow inputting when the
5670 point is at the start of the line, as the properties aren't
5671 front-sticky.
5672
5673 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5674 degenerate widths.
5675
5676 2013-07-19 Richard Stallman <rms@gnu.org>
5677
5678 * epa.el (epa-popup-info-window): Doc fix.
5679
5680 * subr.el (split-string): New arg TRIM.
5681
5682 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5683
5684 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5685 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5686
5687 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5688
5689 * filenotify.el (file-notify--library): Rename from
5690 `file-notify-support'. Do not autoload. Adapt all uses.
5691 (file-notify-supported-p): New defun.
5692
5693 * autorevert.el (auto-revert-use-notify):
5694 Use `file-notify-supported-p' instead of `file-notify-support'.
5695 Adapt docstring.
5696 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5697
5698 * net/tramp.el (tramp-file-name-for-operation):
5699 Add `file-notify-supported-p'.
5700
5701 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5702 New defun.
5703 (tramp-sh-file-name-handler-alist): Add it as handler for
5704 `file-notify-supported-p '.
5705
5706 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5707 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5708 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5709 Add `ignore' as handler for `file-notify-*' functions.
5710
5711 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5712
5713 * simple.el (line-move-partial, line-move): Don't start vscroll or
5714 scroll-up if the current line is not taller than the window.
5715 (Bug#14881)
5716
5717 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5718
5719 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5720 highlight question marks in the method names as strings.
5721 (ruby-block-beg-keywords): Inline.
5722 (ruby-font-lock-keyword-beg-re): Extract from
5723 `ruby-font-lock-keywords'.
5724
5725 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5726
5727 * frame.el (blink-cursor-blinks): New defcustom.
5728 (blink-cursor-blinks-done): New defvar.
5729 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5730 (blink-cursor-timer-function): Check if number of blinks has been
5731 done on X and NS.
5732 (blink-cursor-suspend, blink-cursor-check): New defuns.
5733
5734 2013-07-15 Glenn Morris <rgm@gnu.org>
5735
5736 * edmacro.el (edmacro-format-keys): Fix previous change.
5737
5738 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5739
5740 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5741 The hack didn't work outside English locales anyway.
5742
5743 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5744
5745 * simple.el (define-alternatives): Rename from alternatives-define,
5746 per RMS' suggestion.
5747
5748 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5749
5750 * desktop.el (desktop-restore-frames): Change default to t.
5751 (desktop-restore-in-current-display): Now offer more options.
5752 (desktop-restoring-reuses-frames): New customization option.
5753 (desktop--saved-states): Doc fix.
5754 (desktop-filter-parameters-alist): New variable, renamed and expanded
5755 from desktop--excluded-frame-parameters.
5756 (desktop--target-display): New variable.
5757 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5758 (desktop--filter-tty*, desktop--filter-*-color)
5759 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5760 (desktop--filter-save-desktop-parm)
5761 (desktop-restore-in-original-display-p): New functions.
5762 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5763 (desktop--save-minibuffer-frames): New function, inspired by a similar
5764 function from Martin Rudalics.
5765 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5766 (desktop--restore-in-this-display-p): Remove.
5767 (desktop--find-frame): Rename from desktop--find-frame-in-display
5768 and add predicate argument.
5769 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5770 (desktop--reuse-list): New variable.
5771 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5772 New functions.
5773 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5774
5775 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5776
5777 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5778
5779 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5780
5781 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5782 Highlight conversion methods on Kernel.
5783
5784 2013-07-13 Alan Mackenzie <acm@muc.de>
5785
5786 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5787 and comment it out. This out-commenting enables certain C++
5788 declarations to be parsed correctly.
5789
5790 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5791
5792 * international/mule.el (define-coding-system): Doc fix.
5793
5794 * simple.el (default-font-height): Don't call font-info if the
5795 frame's default font didn't change since the frame was created.
5796 (Bug#14838)
5797
5798 2013-07-13 Leo Liu <sdl.web@gmail.com>
5799
5800 * ido.el (ido-read-file-name): Guard against non-symbol value.
5801
5802 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5803
5804 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5805 in nested defuns.
5806
5807 2013-07-13 Leo Liu <sdl.web@gmail.com>
5808
5809 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5810 ido-set-matches call. (Bug#6852)
5811
5812 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5813
5814 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5815 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5816 Ruby 2.0.
5817 (ruby-font-lock-keywords): Distinguish calls to functions with
5818 module-like names from module references. Highlight character
5819 literals.
5820
5821 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5822
5823 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5824 (gdb-send): Handle continued commands. (Bug#14847)
5825
5826 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5827
5828 * desktop.el (desktop--v2s): Remove unused local variable.
5829 (desktop-save-buffer): Make defvar-local; adjust docstring.
5830 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5831 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5832
5833 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5834
5835 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5836
5837 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5838
5839 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5840 (Bug#14842)
5841
5842 2013-07-12 Glenn Morris <rgm@gnu.org>
5843
5844 * doc-view.el: Require cl-lib at runtime too.
5845 (doc-view-remove-if): Remove.
5846 (doc-view-search-next-match, doc-view-search-previous-match):
5847 Use cl-remove-if.
5848
5849 * edmacro.el: Require cl-lib at runtime too.
5850 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5851 (edmacro-mismatch, edmacro-subseq): Remove.
5852
5853 * shadowfile.el: Require cl-lib.
5854 (shadow-remove-if): Remove.
5855 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5856 Use cl-remove-if.
5857
5858 * wid-edit.el: Require cl-lib.
5859 (widget-choose): Use cl-remove-if.
5860 (widget-remove-if): Remove.
5861
5862 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5863 (ebrowse-delete-if-not): Remove.
5864 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5865 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5866 Use cl-delete-if-not.
5867
5868 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5869
5870 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5871 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5872
5873 2013-07-12 Leo Liu <sdl.web@gmail.com>
5874
5875 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5876
5877 2013-07-11 Glenn Morris <rgm@gnu.org>
5878
5879 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5880 (edebug-gensym-index, edebug-gensym):
5881 Remove reimplementation of cl-gensym.
5882 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5883
5884 * thumbs.el: Require cl-lib at run-time too.
5885 (thumbs-gensym-counter, thumbs-gensym):
5886 Remove reimplementation of cl-gensym.
5887 (thumbs-temp-file): Use cl-gensym.
5888
5889 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5890 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5891 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5892 (ert--union, ert--gensym-counter, ert--gensym-counter)
5893 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5894 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5895 (ert-make-test-unbound, ert--expand-should-1)
5896 (ert--expand-should, ert--should-error-handle-error)
5897 (should-error, ert--explain-equal-rec)
5898 (ert--plist-difference-explanation, ert-select-tests)
5899 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5900 Use cl-lib functions rather than reimplementations.
5901
5902 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5903
5904 * net/tramp.el (tramp-methods): Extend docstring.
5905 (tramp-connection-timeout): New defcustom.
5906 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5907 (with-tramp-progress-reporter): Simplify.
5908 (tramp-process-actions): Improve messages.
5909
5910 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5911 * net/tramp-sh.el (tramp-maybe-open-connection):
5912 Use `tramp-connection-timeout'.
5913 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5914 (Bug#14808)
5915
5916 2013-07-11 Leo Liu <sdl.web@gmail.com>
5917
5918 * ido.el (ido-read-file-name): Conform to the requirements of
5919 read-file-name. (Bug#11861)
5920 (ido-read-directory-name): Conform to the requirements of
5921 read-directory-name.
5922
5923 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5924
5925 * subr.el (delay-warning): New function.
5926
5927 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5928
5929 * simple.el (default-line-height): New function.
5930 (line-move-partial, line-move): Use it instead of computing the
5931 line height inline.
5932 (line-move-partial): Always compute ROWH. If the last line is
5933 partially-visible, but its text is completely visible, allow
5934 cursor to enter such a partially-visible line.
5935
5936 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5937
5938 Improve error messages. (Bug#14808)
5939
5940 * net/tramp.el (tramp-current-connection): New defvar, moved from
5941 tramp-sh.el.
5942 (tramp-message-show-progress-reporter-message): Remove, not
5943 needed anymore.
5944 (tramp-error-with-buffer): Show message in minibuffer.
5945 Discard input before waiting. Reset connection timestamp.
5946 (with-tramp-progress-reporter): Improve messages.
5947 (tramp-process-actions): Use progress reporter. Delete process in
5948 case of error. Improve messages.
5949
5950 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5951 Call `tramp-error-with-buffer' with vector and buffer.
5952 (tramp-current-connection): Remove.
5953 (tramp-maybe-open-connection): The car of
5954 `tramp-current-connection' are the first 3 slots of the vector.
5955
5956 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5957
5958 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5959 inside continued strings.
5960
5961 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5962
5963 Timestamp fixes for undo (Bug#14824).
5964 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5965
5966 2013-07-10 Leo Liu <sdl.web@gmail.com>
5967
5968 * files.el (require-final-newline): Allow safe local value.
5969 (Bug#14834)
5970
5971 2013-07-09 Leo Liu <sdl.web@gmail.com>
5972
5973 * ido.el (ido-read-directory-name): Handle fallback.
5974 (ido-read-file-name): Update DIR to ido-current-directory.
5975 (Bug#1516)
5976 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5977
5978 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5979
5980 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5981 "autoload". Remove "warn lower camel case" section, previously
5982 commented out. Highlight negation char. Do not highlight the
5983 target in singleton method definitions.
5984
5985 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5986
5987 * faces.el (tty-setup-hook): Declare the hook.
5988
5989 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5990 and detect when a guard/pred depends on local vars (bug#14773).
5991 (pcase--u1): Adjust caller.
5992
5993 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5994
5995 * simple.el (line-move-partial, line-move): Account for
5996 line-spacing.
5997 (line-move-partial): Avoid setting vscroll when the last
5998 partially-visible line in window is of default height.
5999
6000 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6001
6002 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6003 been used a while.
6004
6005 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6006
6007 * subr.el (read-quoted-char): Remove unused local variable `char'.
6008
6009 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6010
6011 * ediff.el (ediff-version): Version update.
6012 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6013 (ediff-merge-with-ancestor-command, ediff-directories-command)
6014 (ediff-directories3-command, ediff-merge-directories-command)
6015 (ediff-merge-directories-with-ancestor-command): New functions.
6016 All are command-line interfaces to ediff: to facilitate calling
6017 Emacs with the appropriate ediff functions invoked.
6018
6019 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6020 (viper-save-kill-buffer): Check if buffer is modified.
6021
6022 * viper.el (viper-version): Version update.
6023 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6024
6025 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6026
6027 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6028 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6029 (viper-intercept-ESC-key): Simplify.
6030 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6031 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6032 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6033 (viper-setup-ESC-to-escape): New functions.
6034 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6035 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6036
6037 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6038
6039 * simple.el (default-font-height, window-screen-lines):
6040 New functions.
6041 (line-move, line-move-partial): Use them instead of
6042 frame-char-height and window-text-height. This makes scrolling
6043 text smoother when the buffer's default face uses a font that is
6044 different from the frame's default font.
6045
6046 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6047
6048 * files.el (write-file): Do not display confirm dialog for NS,
6049 it does its own dialog, which can't be cancelled (Bug#14578).
6050
6051 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6052
6053 * simple.el (line-move-partial): Adjust the row returned by
6054 posn-at-point for the current window-vscroll. (Bug#14567)
6055
6056 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6057
6058 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6059 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6060 spaces.
6061
6062 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6063
6064 * window.el (window-state-put-stale-windows): New variable.
6065 (window--state-put-2): Save list of windows without matching buffer.
6066 (window-state-put): Remove "bufferless" windows if possible.
6067
6068 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6069
6070 * simple.el (alternatives-define): Remove leftover :group keyword.
6071 Tweak docstring.
6072
6073 2013-07-06 Leo Liu <sdl.web@gmail.com>
6074
6075 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6076 (ido-enable-virtual-buffers): New variable.
6077 (ido-buffer-internal, ido-toggle-virtual-buffers)
6078 (ido-make-buffer-list): Use it.
6079 (ido-exhibit): Support turning on and off virtual buffers
6080 automatically.
6081
6082 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6083
6084 * simple.el (alternatives-define): New macro.
6085
6086 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6087
6088 * subr.el (read-quoted-char): Use read-key.
6089 (sit-for): Let read-event decode tty input (bug#14782).
6090
6091 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6092
6093 * calendar/todo-mode.el: Add handling of file deletion, both by
6094 mode command and externally. Fix various related bugs.
6095 Clarify Commentary and improve some documentation strings and code.
6096 (todo-delete-file): New command.
6097 (todo-check-file): New function.
6098 (todo-show): Handle external deletion of the file we're trying to
6099 show (bug#14688). Replace called-interactively-p by an optional
6100 prefix argument to avoid problematic interaction with catch form
6101 when byte compiled (bug#14702).
6102 (todo-quit): Handle external deletion of the archive's todo file.
6103 Make sure the buffer that was visiting the archive file is still
6104 live before trying to bury it.
6105 (todo-category-completions): Handle external deletion of any
6106 category completion files.
6107 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6108 of todo files, in case of external deletion.
6109 (todo-add-file): Replace unnecessary setq by let-binding.
6110 (todo-find-archive): Check whether there are any archives.
6111 Replace unnecessary setq by let-binding.
6112 (todo-archive-done-item): Use find-file-noselect to get the
6113 archive buffer whether or not the archive already exists.
6114 Remove superfluous code. Use file size instead of buffer-file-name to
6115 check if the archive is new; if it is, update list of archives.
6116 (todo-default-todo-file): Allow nil to be a valid value for when
6117 there are no todo files.
6118 (todo-reevaluate-default-file-defcustom): Use corrected definition
6119 of todo-default-todo-file.
6120 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6121 (todo-delete-category, todo-show-categories-table)
6122 (todo-category-number): Clarify comment.
6123 (todo-filter-items): Clarify documentation string.
6124 (todo-show-current-file, todo-display-as-todo-file)
6125 (todo-reset-and-enable-done-separator): Tweak documentation string.
6126 (todo-done-separator): Make separator length window-width, since
6127 bug#2749 is now fixed.
6128
6129 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6130
6131 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6132 Support both "gvfs-monitor-dir" and "inotifywait".
6133 (tramp-sh-file-inotifywait-process-filter): Rename from
6134 `tramp-sh-file-notify-process-filter'.
6135 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6136 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6137
6138 2013-07-05 Leo Liu <sdl.web@gmail.com>
6139
6140 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6141
6142 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6143
6144 * frame.el (display-pixel-height, display-pixel-width)
6145 (display-mm-height, display-mm-width): Mention behavior on
6146 multi-monitor setups in docstrings.
6147 (w32-display-monitor-attributes-list): Declare function.
6148 (display-monitor-attributes-list): Use it.
6149
6150 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6151
6152 * filenotify.el: New package.
6153
6154 * autorevert.el (top): Require filenotify.el.
6155 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6156 instead.
6157 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6158 (auto-revert-notify-handler): Use `file-notify-*' functions.
6159
6160 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6161
6162 * net/tramp.el (tramp-file-name-for-operation):
6163 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6164
6165 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6166 for `file-notify-add-watch' and `file-notify-rm-watch'.
6167 (tramp-process-sentinel): Improve trace.
6168 (tramp-sh-handle-file-notify-add-watch)
6169 (tramp-sh-file-notify-process-filter)
6170 (tramp-sh-handle-file-notify-rm-watch)
6171 (tramp-get-remote-inotifywait): New defuns.
6172
6173 2013-07-03 Juri Linkov <juri@jurta.org>
6174
6175 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6176 call of `occur-read-primary-args' to interactive spec.
6177
6178 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6179 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6180
6181 2013-07-03 Matthias Meulien <orontee@gmail.com>
6182
6183 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6184 `Buffer-menu-multi-occur'. Add it to the menu.
6185 (Buffer-menu-mode): Document it in docstring.
6186 (Buffer-menu-multi-occur): New command. (Bug#14673)
6187
6188 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6189
6190 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6191 keywords and built-ins.
6192
6193 2013-07-03 Glenn Morris <rgm@gnu.org>
6194
6195 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6196
6197 Make info-xref checks case-sensitive by default
6198 * info.el (Info-find-node, Info-find-in-tag-table)
6199 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6200 Add option for exact case matching of nodes.
6201 * info-xref.el (info-xref): New custom group.
6202 (info-xref-case-fold): New option.
6203 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6204
6205 2013-07-03 Leo Liu <sdl.web@gmail.com>
6206
6207 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6208
6209 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6210
6211 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6212 middle of block statement initially, lower the depth. Remove
6213 FIXME comment, not longer valid. Remove middle of block statement
6214 detection, no need to do that anymore since we've been using
6215 `ruby-parse-region' here.
6216
6217 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6218
6219 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6220
6221 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6222
6223 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6224
6225 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6226
6227 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6228 (desktop-restore-in-current-display): New customization option.
6229 (desktop--excluded-frame-parameters): Add `font'.
6230 (desktop--save-frames): Rename from desktop--save-windows.
6231 (desktop--restore-in-this-display-p): New function.
6232 (desktop--make-full-frame): Remove unwanted width/height from
6233 full(width|height) frames.
6234 (desktop--restore-frames): Rename from desktop--restore-windows.
6235 Obey desktop-restore-current-display. Do not delete old frames or
6236 select a new frame unless we were able to restore at least one frame.
6237
6238 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6239
6240 * files.el (find-file-noselect): Simplify conditional expression.
6241
6242 * remember.el (remember-append-to-file):
6243 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6244
6245 Add `remember-notes' function to store random notes across Emacs
6246 restarts.
6247 * remember.el (remember-data-file): Add :set callback to affect
6248 notes buffer (if any).
6249 (remember-notes): New command.
6250 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6251 New defcustoms for the `remember-notes' function.
6252 (remember-notes-save-and-bury-buffer): New command.
6253 (remember-notes-mode-map): New variable.
6254 (remember-mode): New minor mode.
6255 (remember-notes--kill-buffer-query): New function.
6256 * startup.el (initial-buffer-choice): Add notes to custom type.
6257
6258 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6259
6260 * bindings.el (right-char, left-char): Don't call sit-for, this is
6261 no longer needed. Use arithmetic comparison only for numerical
6262 arguments.
6263
6264 * international/mule-cmds.el (select-safe-coding-system):
6265 Handle the case of FROM being a string correctly. (Bug#14755)
6266
6267 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6268
6269 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6270 progression on degenerate tables.
6271 (shr-rescale-image): ImageMagick animated images currently don't work.
6272
6273 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6274
6275 Some fixes and improvements for desktop frame restoration.
6276 It is still experimental and disabled by default.
6277 * desktop.el (desktop--save-windows): Put the selected frame at
6278 the head of the list.
6279 (desktop--make-full-frame): New function.
6280 (desktop--restore-windows): Try to re-select the frame that was
6281 selected upon saving. Do not abort if some frames fail to restore,
6282 just show an error message and continue. Set up maximized frames
6283 so they have default non-maximized dimensions.
6284
6285 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6286
6287 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6288 Don't start heredoc inside a string or comment.
6289
6290 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6291
6292 * bindings.el (visual-order-cursor-movement): New defcustom.
6293 (right-char, left-char): Provide visual-order cursor motion by
6294 calling move-point-visually. Update the doc strings.
6295
6296 2013-06-28 Kenichi Handa <handa@gnu.org>
6297
6298 * international/mule.el (define-coding-system): New coding system
6299 properties :inhibit-null-byte-detection,
6300 :inhibit-iso-escape-detection, and :prefer-utf-8.
6301 (set-buffer-file-coding-system): If :charset-list property of
6302 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6303 appropriate for setting.
6304
6305 * international/mule-cmds.el (select-safe-coding-system):
6306 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6307 multibyte characters, return utf-8 (or one of its siblings).
6308
6309 * international/mule-conf.el (prefer-utf-8): New coding system.
6310 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6311 files.
6312
6313 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6314
6315 * net/shr.el (shr-render-region): New function.
6316
6317 * net/eww.el: Autoload `eww-browse-url'.
6318
6319 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6320
6321 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6322 Adapt to `package-desc-version' being a list.
6323 Use `package--ac-desc-version' to retrieve version from a package
6324 archive element.
6325
6326 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6327
6328 New experimental feature to save&restore window and frame setup.
6329 * desktop.el (desktop-save-windows): New defcustom.
6330 (desktop--saved-states): New var.
6331 (desktop--excluded-frame-parameters): New defconst.
6332 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6333 (desktop--restore-windows, desktop--save-windows): New functions.
6334 (desktop-save): Call `desktop--save-windows'.
6335 (desktop-read): Call `desktop--restore-windows'.
6336
6337 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6338
6339 * net/shr.el (add-face-text-property): Remove compat definition.
6340
6341 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6342
6343 * info.el (Info-try-follow-nearest-node): Move search for footnote
6344 above search for node name to prevent missing a footnote (bug#14717).
6345
6346 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6347
6348 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6349
6350 2013-06-27 Leo Liu <sdl.web@gmail.com>
6351
6352 * net/eww.el (eww-read-bookmarks): Check file size.
6353
6354 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6355
6356 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6357 advice--pending if newdef is nil or an autoload (bug#13820).
6358 (advice-mapc): New function.
6359
6360 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6361
6362 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6363 probably.
6364 (eww-mode-map): Add a menu bar.
6365 (eww-add-bookmark): New command.
6366 (eww-bookmark-mode): New mode and commands.
6367 (eww-add-bookmark): Remove newlines from the title.
6368 (eww-bookmark-browse): Don't bug out if it's the only window.
6369
6370 2013-06-26 Glenn Morris <rgm@gnu.org>
6371
6372 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6373 (hfy-size): Handle ttys. (Bug#14668)
6374
6375 * info-xref.el: Update for Texinfo 5 change in *note format.
6376 (info-xref-node-re, info-xref-note-re): New constants.
6377 (info-xref-check-buffer): Use info-xref-note-re.
6378
6379 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6380
6381 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6382
6383 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6384 nil terminate the loop (bug#14718).
6385
6386 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6387
6388 * net/eww.el: Rework history traversal. When going forward/back,
6389 put these actions into the history, too, so that they can be
6390 replayed.
6391 (eww-render): Move the history reset to the correct buffer.
6392
6393 2013-06-25 Juri Linkov <juri@jurta.org>
6394
6395 * files-x.el (modify-dir-local-variable): Change the header comment
6396 in the file with directory local variables. (Bug#14692)
6397
6398 * files-x.el (read-file-local-variable-value): Add `default'.
6399 (Bug#14710)
6400
6401 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6402
6403 * net/eww.el (eww-make-unique-file-name): Create a unique file
6404 name before saving to entering `y' accidentally asynchronously.
6405
6406 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6407
6408 * net/eww.el (eww-download): New command and keystroke.
6409
6410 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6411
6412 * net/eww.el (eww-copy-page-url): Change name of command.
6413
6414 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6415 be more consistent with Info and dired.
6416
6417 * net/eww.el (eww-mode-map): Ditto.
6418
6419 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6420
6421 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6422 packages from archives.
6423 (package-archive-contents): Change format; include obsolete packages.
6424 (package-desc): Use `dir' to mark builtin packages.
6425 (package--from-builtin): Set the `dir' field to `builtin'.
6426 (generated-autoload-file, version-control): Declare.
6427 (package-compute-transaction): Change first arg and return value to be
6428 lists of package-descs. Adjust to new package-archive-contents format.
6429 (package--add-to-archive-contents): Adjust to new
6430 package-archive-contents format.
6431 (package-download-transaction): Arg is now a list of package-descs.
6432 (package-install): If `pkg' is a package name, pass it as
6433 a requirement, so it is subject to the usual (e.g. disabled) checks.
6434 (describe-package): Accept package-desc as well.
6435 (describe-package-1): Describe a specific package-desc. Add links to
6436 other package-descs for the same package name.
6437 (package-menu-describe-package): Pass the actual package-desc.
6438 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6439 works correctly.
6440 (package-desc-status): New function.
6441 (package-menu--refresh): New function, extracted
6442 from package-menu--generate.
6443 (package-menu--generate): Use it.
6444 (package-delete): Update package-alist.
6445 (package-menu-execute): Don't call package-initialize.
6446
6447 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6448 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6449 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6450 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6451 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6452 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6453
6454 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6455
6456 * window.el (window--state-get-1): Workaround for bug#14527.
6457 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6458
6459 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6460
6461 * net/eww.el (eww-back-url): Implement the history by stashing all
6462 the data into a list.
6463 (eww-forward-url): Allow going forward in the history, too.
6464
6465 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6466
6467 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6468 for values and use read--expression for expressions (bug#14710).
6469 (read-file-local-variable): Avoid setq.
6470 (read-file-local-variable-mode): Use minor-mode-list.
6471
6472 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6473
6474 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6475 for DOI URLs.
6476
6477 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6478
6479 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6480 Update imenu-support when dialect changes.
6481
6482 2013-06-25 Leo Liu <sdl.web@gmail.com>
6483
6484 * ido.el (ido-read-internal): Allow forward slash on windows.
6485
6486 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6487
6488 * net/eww.el (eww): Start of strings is \\`, not ^.
6489
6490 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6491
6492 * net/shr.el (shr-browse-url): Fix interactive spec.
6493
6494 * net/eww.el (eww): Add a trailing slash to domain names.
6495
6496 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6497
6498 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6499
6500 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6501
6502 * net/shr.el (shr-browse-url): Use an external browser if given a
6503 prefix.
6504
6505 * net/eww.el (eww-external-browser): Move to shr.
6506
6507 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6508
6509 * net/eww.el (eww): Work more correctly for file: URLs.
6510 (eww-detect-charset): Allow quoted charsets.
6511 (eww-yank-page-url): New command and keystroke.
6512
6513 2013-06-24 Daiki Ueno <ueno@gnu.org>
6514
6515 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6516 file name of gpg executable.
6517 (epg-context-program): New function.
6518 (epg-context-home-directory): New function.
6519 (epg-context-set-program): New function.
6520 (epg-context-set-home-directory): New function.
6521 (epg--start): Use `epg-context-program' instead of
6522 'epg-gpg-program'.
6523 (epg--list-keys-1): Likewise.
6524
6525 2013-06-24 Leo Liu <sdl.web@gmail.com>
6526
6527 * ido.el (ido-read-internal): Fix bug#14620.
6528
6529 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6530
6531 * faces.el (face-documentation): Simplify.
6532 (read-face-attribute, tty-find-type, x-resolve-font-name):
6533 Use `string-match-p'.
6534 (list-faces-display): Use `string-match-p'. Simplify.
6535 (face-spec-recalc): Check face to avoid face alias loops.
6536 (read-color): Use `string-match-p' and non-capturing parenthesis.
6537
6538 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6539
6540 * net/shr.el (shr-rescale-image): Use the new
6541 :max-width/:max-height functionality.
6542
6543 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6544
6545 * net/eww.el (eww-search-prefix): New variable.
6546 (eww): Use it.
6547 (eww-external-browser): New variable.
6548 (eww-mode-map): New keystroke.
6549 (eww-browse-with-external-browser): New command.
6550
6551 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6552
6553 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6554
6555 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6556 Don't skip aligning the next header field when padding is 0;
6557 otherwise, field width is not respected unless the title is as
6558 wide as the field.
6559
6560 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6561
6562 * emacs-lisp/package.el (package-el-version): Remove.
6563 (package-process-define-package): Fix inf-loop.
6564 (package-install): Allow symbols as arguments again.
6565
6566 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6567
6568 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6569 add some more keyword-like methods.
6570 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6571
6572 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6573
6574 * bs.el (bs-buffer-show-mark): Make defvar-local.
6575 (bs-mode): Use setq-local.
6576
6577 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6578 (emacs-lock--try-unlocking): Make defvar-local.
6579
6580 2013-06-22 Glenn Morris <rgm@gnu.org>
6581
6582 * play/cookie1.el (cookie-apropos): Minor simplification.
6583
6584 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6585
6586 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6587
6588 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6589 `regexp-opt', it breaks the build during dumping.
6590
6591 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6592
6593 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6594 Highlight keyword-like methods on Kernel and Module with
6595 font-lock-builtin-face.
6596 (auto-mode-alist): Consolidate different entries into one regexp
6597 and add more *file-s.
6598
6599 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6600
6601 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6602
6603 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6604 (diary-entry): Use it in the action of this button type instead of
6605 diary-goto-entry.
6606
6607 * calendar/todo-mode.el: New version.
6608 (todo-add-category): Append new category to end of file and give
6609 it the highest number, instead of putting it at the beginning and
6610 giving it 0. Incorporate noninteractive functionality.
6611 (todo-forward-category): Adapt to 1-based category numbering.
6612 Allow skipping over archived categories.
6613 (todo-backward-category): Derive from todo-forward-category.
6614 (todo-backward-item, todo-forward-item): Make noninteractive and
6615 delegate interactive part to new commands. Make sensitive to done items.
6616 (todo-categories): Make value an alist of category names and
6617 vectors of item counts.
6618 (todo-category-beg): Make a defconst.
6619 (todo-category-number): Use 1 instead of 0 as initial value.
6620 (todo-category-select): Make sensitive to overlays, optional item
6621 highlighting and done items.
6622 (todo-delete-item): Make sensitive to overlays and marked and done items.
6623 (todo-edit-item): Make sensitive to overlays and editing of
6624 date/time header optional. Add format checks.
6625 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6626 no-op if point is not on an item. Advertise using todo-edit-quit.
6627 (todo-edit-mode): Make sensitive to new format, font-locking, and
6628 multiple todo files.
6629 (todo-insert-item, todo-insert-item-here): Derive from
6630 todo-basic-insert-item and extend functionality.
6631 (todo-item-end, todo-item-start): Make sensitive to done items.
6632 (todo-item-string): Don't return text properties. Restore point.
6633 (todo-jump-to-category): Make sensitive to multiple todo files and
6634 todo archives. Use extended category completion.
6635 (todo-lower-item, todo-raise-item): Rename to *-priority and
6636 derive from todo-set-item-priority.
6637 (todo-mode): Derive from special-mode. Make sensitive to new
6638 format, font-locking and multiple todo files. Make read-only.
6639 (todo-mode-map): Don't suppress digit keys, so they can supply
6640 prefix arguments. Add many new key bindings.
6641 (todo-prefix): Insert as an overlay instead of file text.
6642 Change semantics from diary date expression to purely visual mark.
6643 (todo-print): Rename to todo-print-buffer. Make buffer display
6644 features printable. Remove option to restrict number of items
6645 printed. Add option to print to file.
6646 (todo-print-function): Rename to todo-print-buffer-function.
6647 (todo-quit): Extend to handle exiting new todo modes.
6648 (todo-remove-item): Make sensitive to overlays.
6649 (todo-save): Extend to buffers of filtered items.
6650 (todo-show): Make sensitive to done items, multiple todo files and
6651 new todo modes. Offer to convert legacy todo file before creating
6652 first new todo file.
6653 (todo-show-priorities): Rename to todo-top-priorities.
6654 Change semantics of value 0.
6655 (todo-top-priorities): Rename to todo-filter-top-priorities,
6656 derive from todo-filter-items and extend functionality.
6657 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6658 and extend functionality to other types of filtered items.
6659 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6660 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6661 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6662 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6663 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6664 (todo-edit-mode-hook, todo-entry-prefix-function)
6665 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6666 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6667 (todo-initials, todo-insert-threshold, todo-item-string-start)
6668 (todo-line-string, todo-menu, todo-mode-hook)
6669 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6670 (todo-print-priorities, todo-remove-separator)
6671 (todo-save-top-priorities-too, todo-string-count-lines)
6672 (todo-string-multiline-p, todo-time-string-format)
6673 (todo-tmp-buffer-name): Remove.
6674 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6675 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6676 (todo-edit-category-diary-inclusion)
6677 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6678 (todo-edit-file, todo-edit-item-date-day)
6679 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6680 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6681 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6682 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6683 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6684 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6685 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6686 (todo-filter-top-priorities-multifile, todo-find-archive)
6687 (todo-find-filtered-items-file, todo-go-to-source-item)
6688 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6689 (todo-jump-to-archive-category, todo-lower-category)
6690 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6691 (todo-move-category, todo-move-item, todo-next-button)
6692 (todo-next-item, todo-padded-string, todo-powerset)
6693 (todo-previous-button, todo-previous-item)
6694 (todo-print-buffer-to-file, todo-raise-category)
6695 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6696 (todo-set-category-number, todo-set-item-priority)
6697 (todo-set-top-priorities-in-category)
6698 (todo-set-top-priorities-in-file, todo-show-categories-table)
6699 (todo-sort-categories-alphabetically-or-numerically)
6700 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6701 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6702 (todo-toggle-item-header, todo-toggle-item-highlighting)
6703 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6704 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6705 (todo-unarchive-items, todo-unmark-category): New commands.
6706 (todo-absolute-file-name, todo-add-to-buffer-list)
6707 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6708 (todo-basic-insert-item, todo-category-completions)
6709 (todo-category-number, todo-category-string-matcher-1)
6710 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6711 (todo-check-format, todo-clear-matches)
6712 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6713 (todo-current-category, todo-date-string-matcher)
6714 (todo-define-insertion-command, todo-diary-expired-matcher)
6715 (todo-diary-goto-entry, todo-diary-item-p)
6716 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6717 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6718 (todo-done-item-section-p, todo-done-separator)
6719 (todo-done-string-matcher, todo-files, todo-filter-items)
6720 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6721 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6722 (todo-insert-category-line, todo-insert-item-from-calendar)
6723 (todo-insert-sort-button, todo-insert-with-overlays)
6724 (todo-insertion-command-name, todo-insertion-key-bindings)
6725 (todo-label-to-key, todo-longest-category-name-length)
6726 (todo-make-categories-list, todo-mode-external-set)
6727 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6728 (todo-modes-set-3, todo-multiple-filter-files)
6729 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6730 (todo-read-category, todo-read-date, todo-read-dayname)
6731 (todo-read-file-name, todo-read-time)
6732 (todo-reevaluate-category-completions-files-defcustom)
6733 (todo-reevaluate-default-file-defcustom)
6734 (todo-reevaluate-filelist-defcustoms)
6735 (todo-reevaluate-filter-files-defcustom)
6736 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6737 (todo-reset-done-separator, todo-reset-done-separator-string)
6738 (todo-reset-done-string, todo-reset-global-current-todo-file)
6739 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6740 (todo-reset-prefix, todo-set-categories)
6741 (todo-set-date-from-calendar, todo-set-show-current-file)
6742 (todo-set-top-priorities, todo-short-file-name)
6743 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6744 (todo-total-item-counts, todo-update-buffer-list)
6745 (todo-update-categories-display, todo-update-categories-sexp)
6746 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6747 New functions.
6748 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6749 New major modes.
6750 (todo-categories, todo-display, todo-edit, todo-faces)
6751 (todo-filtered): New defgroups.
6752 (todo-archived-only, todo-button, todo-category-string, todo-date)
6753 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6754 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6755 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6756 (todo-add-item-if-new-category, todo-always-add-time-string)
6757 (todo-categories-align, todo-categories-archived-label)
6758 (todo-categories-category-label, todo-categories-diary-label)
6759 (todo-categories-done-label, todo-categories-number-separator)
6760 (todo-categories-todo-label, todo-categories-totals-label)
6761 (todo-category-completions-files, todo-completion-ignore-case)
6762 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6763 (todo-done-separator-string, todo-done-string)
6764 (todo-files-function, todo-filter-done-items, todo-filter-files)
6765 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6766 (todo-initial-category, todo-initial-file, todo-item-mark)
6767 (todo-legacy-date-time-regexp, todo-mode-line-function)
6768 (todo-nondiary-marker, todo-number-prefix)
6769 (todo-print-buffer-function, todo-show-current-file)
6770 (todo-show-done-only, todo-show-first, todo-show-with-done)
6771 (todo-skip-archived-categories, todo-top-priorities-overrides)
6772 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6773 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6774 New defcustoms.
6775 (todo-category-done, todo-date-pattern, todo-date-string-start)
6776 (todo-diary-items-buffer, todo-done-string-start)
6777 (todo-filtered-items-buffer, todo-item-start)
6778 (todo-month-abbrev-array, todo-month-name-array)
6779 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6780 (todo-top-priorities-buffer): New defconsts.
6781 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6782 (todo-categories-with-marks, todo-category-string-face)
6783 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6784 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6785 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6786 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6787 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6788 (todo-font-lock-keywords, todo-global-current-todo-file)
6789 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6790 (todo-insertion-commands-args)
6791 (todo-insertion-commands-args-genlist)
6792 (todo-insertion-commands-names, todo-insertion-map)
6793 (todo-key-bindings-t, todo-key-bindings-t+a)
6794 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6795 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6796 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6797 (todo-visited): New variables.
6798
6799 2013-06-21 Glenn Morris <rgm@gnu.org>
6800
6801 * play/cookie1.el (cookie-apropos): Add optional display argument.
6802 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6803 (psychoanalyze-pinhead): Use cookie-doctor.
6804
6805 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6806
6807 * emacs-lisp/package.el (tar-get-file-descriptor)
6808 (tar--extract): Declare.
6809
6810 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6811
6812 Extend flymake's warning predicate to be a function (bug#14217).
6813 * progmodes/flymake.el (flymake-warning-predicate): New.
6814 (flymake-parse-line): Use it.
6815 (flymake-warning-re): Make obsolete alias to
6816 `flymake-warning-predicate'.
6817
6818 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6819
6820 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6821 (package-obsolete-list): Remove.
6822 (package-activate): Remove min-version argument. Add `force' argument.
6823 Adjust to new package-alist format.
6824 (package-mark-obsolete): Remove.
6825 (package-unpack): Force reload of the package's autoloads.
6826 (package-installed-p): Check builtins if the installed package is not
6827 recent enough.
6828 (package-initialize): Don't reset package-obsolete-list.
6829 Don't specify which package version to activate.
6830 (package-process-define-package, describe-package-1)
6831 (package-menu--generate): Adjust to new package-alist format.
6832
6833 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6834
6835 * allout-widgets.el (allout-widgets-mode-off)
6836 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6837 (allout-widgets-post-command-business)
6838 (allout-widgets-after-copy-or-kill-function)
6839 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6840 (allout-decorate-item-and-context)
6841 (allout-graphics-modification-handler): Fix typos in docstrings.
6842 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6843
6844 * cmuscheme.el (scheme-start-file): Doc fix.
6845 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6846 (scheme-input-filter): Use `string-match-p'.
6847
6848 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6849
6850 * dired-x.el: Use Dired consistently in docstrings.
6851
6852 * dired.el: Use Dired consistently in docstrings.
6853 (dired-readin, dired-mode): Use `setq-local'.
6854 (dired-switches-alist): Make defvar-local.
6855 (dired-buffers-for-dir): Use `zerop'.
6856 (dired-safe-switches-p, dired-switches-escape-p)
6857 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6858 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6859 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6860 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6861 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6862 (dired-toggle-marks, dired-mark-files-containing-regexp)
6863 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6864 (dired-flag-auto-save-files, dired-flag-backup-files):
6865 Use `looking-at-p'.
6866 (dired-mark-files-regexp, dired-build-subdir-alist):
6867 Use `string-match-p', `looking-at-p'.
6868
6869 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6870 (direct-print-region-helper): Use `string-match-p'.
6871
6872 2013-06-21 Leo Liu <sdl.web@gmail.com>
6873
6874 * comint.el (comint-redirect-results-list-from-process):
6875 Fix infinite loop.
6876
6877 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6878
6879 * net/eww.el (eww-update-header-line-format): Quote % characters.
6880
6881 2013-06-21 Glenn Morris <rgm@gnu.org>
6882
6883 * play/cookie1.el (cookie): New custom group.
6884 (cookie-file): New option.
6885 (cookie-check-file): New function.
6886 (cookie): Make it interactive. Make start and end messages optional.
6887 Interactively, display the result. Default to cookie-file.
6888 (cookie-insert): Default to cookie-file.
6889 (cookie-snarf): Make start and end messages optional.
6890 Default to cookie-file. Use with-temp-buffer.
6891 (cookie-read): Rename from read-cookie.
6892 Make start and end messages optional. Default to cookie-file.
6893 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6894 Do not autoload it.
6895 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6896 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6897
6898 2013-06-21 Leo Liu <sdl.web@gmail.com>
6899
6900 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6901
6902 2013-06-21 Glenn Morris <rgm@gnu.org>
6903
6904 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6905
6906 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6907 Daniel Hackney <dan@haxney.org>
6908
6909 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6910 Consolidate the single-file vs tarball code.
6911 (package-desc-suffix): New function.
6912 (package-desc-full-name): Don't bother inlining it.
6913 (package-load-descriptor): Return the new package-desc.
6914 (package-mark-obsolete): Remove unused arg `package'.
6915 (package-unpack): Make it work for single files as well.
6916 Make it update package-alist.
6917 (package--make-autoloads-and-stuff): Rename from
6918 package--make-autoloads-and-compile. Don't compile any more.
6919 (package--compile): New function.
6920 (package-generate-description-file): New function, extracted from
6921 package-unpack-single.
6922 (package-unpack-single): Remove.
6923 (package--with-work-buffer): Add indentation and debugging info.
6924 (package-download-single): Remove.
6925 (package-install-from-archive): Rename from package-download-tar, make
6926 it take a pkg-desc, and make it work for single files as well.
6927 (package-download-transaction): Simplify.
6928 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6929 external tar program.
6930 (package-install-from-buffer): Remove `pkg-desc' argument.
6931 Use package-tar-file-info for tar-mode buffers.
6932 (package-install-file): Simplify accordingly.
6933 (package-archive-base): Change to take a pkg-desc.
6934 * tar-mode.el (tar--check-descriptor): New function, extracted from
6935 tar-get-descriptor.
6936 (tar-get-descriptor): Use it.
6937 (tar-get-file-descriptor): New function.
6938 (tar--extract): New function, extracted from tar-extract.
6939 (tar--extract): Use it.
6940 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6941 case the summary uses non-ascii. Adjust to new calling convention of
6942 package-tar-file-info.
6943
6944 2013-06-21 Leo Liu <sdl.web@gmail.com>
6945
6946 * comint.el (comint-redirect-results-list-from-process):
6947 Fix random delay. (Bug#14681)
6948
6949 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6950
6951 * profiler.el (profiler-format-number): Use log, not log10.
6952
6953 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6954
6955 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6956
6957 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6958
6959 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6960 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6961 yet available.
6962 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6963 (AUTOGENEL): ... here.
6964 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6965 (cl--defsubst-expand): Use it.
6966
6967 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6968
6969 * subr.el (log10): Move here from C code, and declare as obsolete.
6970 All uses of (log10 X) replaced with (log X 10).
6971
6972 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6973
6974 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6975 Declare with `defvar-local'.
6976 (tabulated-list-use-header-line, tabulated-list-entries)
6977 (tabulated-list-padding, tabulated-list-printer)
6978 (tabulated-list-sort-key): Declare with `defvar-local'.
6979 (tabulated-list-init-header, tabulated-list-print-fake-header):
6980 Use `setq-local'.
6981
6982 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6983
6984 * arc-mode.el (archive-mode): Add `archive-write-file' to
6985 `write-contents-functions' also for remote files. (Bug#14652)
6986
6987 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6988
6989 * cus-edit.el (custom-commands): Fix typos.
6990 (custom-display): Fix tooltip text.
6991 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6992 Fix typos in docstrings.
6993 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6994 (custom-unlispify-menu-entry, custom-magic-value-create)
6995 (custom-add-see-also, custom-group-value-create): Use ?\s.
6996 (custom-guess-type, customize-apropos, editable-field)
6997 (custom-face-value-create): Use `string-match-p'.
6998 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6999
7000 * custom.el (custom-load-symbol): Use `string-match-p'.
7001
7002 * ansi-color.el: Convert to lexical binding.
7003 (ansi-colors): Fix URL.
7004 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7005 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7006 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7007
7008 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7009
7010 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7011
7012 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7013
7014 2013-06-19 Tom Tromey <tromey@redhat.com>
7015
7016 * net/eww.el (eww-top-url): Remove.
7017 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7018 (eww-render): Set new variables. Don't set eww-top-url.
7019 (eww-handle-link): Handle "prev", "home", and "contents".
7020 Downcase the rel text.
7021 (eww-top-url): Choose best top URL.
7022
7023 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7024
7025 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7026 relying in widget.el. Using widget.el leads to too many
7027 user interface inconsistencies.
7028 (eww-self-insert): Implement entering commands in text fields.
7029 (eww-process-text-input): New function to make text input field editing
7030 work.
7031 (eww-submit): Rewrite to use the new-style form methods.
7032 (eww-select-display): Display the correct selected item.
7033 (eww-change-select): Implement changing the select value.
7034 (eww-toggle-checkbox): Implement radio/checkboxes.
7035 (eww-update-field): Fix compilation error.
7036 (eww-tag-textarea): Implement <textarea>.
7037
7038 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7039 we don't shadow mode-specific bindings.
7040
7041 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7042 nothing to push.
7043
7044 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7045
7046 2013-06-19 Glenn Morris <rgm@gnu.org>
7047
7048 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7049
7050 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7051
7052 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7053 not needed.
7054
7055 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7056
7057 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7058
7059 * net/browse-url.el (browse-url-browser-function):
7060 `eww-browse-url' has the right calling signature, `eww' does not.
7061
7062 2013-06-19 Glenn Morris <rgm@gnu.org>
7063
7064 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7065 Only eval autoloaded macros.
7066 (byte-compile-autoload): Only give the macro warning for macros.
7067
7068 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7069 (ps-underlined-faces): Declare.
7070
7071 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7072 (speedbar-add-supported-extension): Declare.
7073
7074 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7075 Don't include a date stamp in the header of the generated file;
7076 it leads to needless differences between output files.
7077
7078 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7079
7080 * net/secrets.el (secrets-struct-secret-content-type):
7081 Replace check of introspection data by a test call of "CreateItem".
7082 Some servers do not offer introspection.
7083
7084 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7085
7086 * electric.el (electric-pair-mode): Improve interaction with
7087 electric-layout-mode.
7088 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7089 (electric-pair-syntax): Use text-mode-syntax-table in comments
7090 and strings.
7091 (electric-pair--insert): New function.
7092 (electric-pair-post-self-insert-function): Use it and
7093 electric--after-char-pos.
7094
7095 2013-06-19 Leo Liu <sdl.web@gmail.com>
7096
7097 * progmodes/octave.el (octave-help): Fix regexp.
7098
7099 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7100
7101 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7102 (shr-table-horizontal-line): Allow nil as a value, and change the
7103 default.
7104 (shr-insert-table-ruler): Respect the nil value.
7105
7106 2013-06-18 Tom Tromey <tromey@barimba>
7107
7108 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7109 New defvars.
7110 (eww-open-file): New defun.
7111 (eww-render): Initialize new variables.
7112 (eww-display-html): Handle "link" and "a".
7113 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7114 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7115 (eww-back-url): Rename from eww-previous-url.
7116 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7117 New defuns.
7118
7119 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7120
7121 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7122 Distinguish ternary operator tokens from slash symbol and slash
7123 char literal.
7124
7125 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7126
7127 Convert symbol prettification into minor mode and global minor mode.
7128
7129 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7130 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7131 (prettify-symbols--keywords): Rename from
7132 `prog-prettify-symbols-alist' and make a local defvar.
7133 (prettify-symbols--compose-symbol): Rename from
7134 `prog--prettify-font-lock-compose-symbol'.
7135 (prettify-symbols--make-keywords): Rename from
7136 `prog-prettify-font-lock-symbols-keywords' and simplify.
7137 (prog-prettify-install): Remove.
7138 (prettify-symbols-mode): New minor mode, based on
7139 `prog-prettify-install'.
7140 (turn-on-prettify-symbols-mode): New function.
7141 (global-prettify-symbols-mode): New globalized minor mode.
7142
7143 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7144 * progmodes/cfengine.el (cfengine3-mode):
7145 * progmodes/perl-mode.el (perl-mode): Don't call
7146 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7147
7148 2013-06-18 Juri Linkov <juri@jurta.org>
7149
7150 * files-x.el (modify-file-local-variable-message): New function.
7151 (modify-file-local-variable)
7152 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7153 and call `modify-file-local-variable-message' when it's non-nil.
7154 (add-file-local-variable, delete-file-local-variable)
7155 (add-file-local-variable-prop-line)
7156 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7157 and use it. (Bug#9820)
7158
7159 2013-06-18 Juri Linkov <juri@jurta.org>
7160
7161 * emulation/vi.el (vi-shell-op):
7162 * emulation/vip.el (vip-execute-com, ex-command):
7163 * emulation/viper-cmd.el (viper-exec-bang):
7164 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7165 the call of `shell-command-on-region'. (Bug#14637)
7166
7167 * simple.el (shell-command-on-region): Doc fix.
7168
7169 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7170
7171 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7172 (bug#14633).
7173
7174 2013-06-18 Glenn Morris <rgm@gnu.org>
7175
7176 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7177
7178 * newcomment.el (comment-search-forward, comment-search-backward):
7179 Doc fix. (Bug#14376)
7180
7181 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7182
7183 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7184 (buffer-face-mode-invoke): Doc fix.
7185
7186 2013-06-18 Matthias Meulien <orontee@gmail.com>
7187
7188 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7189 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7190
7191 2013-06-18 Glenn Morris <rgm@gnu.org>
7192
7193 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7194 Replace obsolete function generic-make-keywords with its expansion.
7195
7196 * progmodes/python.el (ffap-alist): Declare.
7197
7198 * textmodes/reftex.el (bibtex-mode-map): Declare.
7199
7200 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7201
7202 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7203 (package-unpack, package-unpack-single): Return the pkg-dir.
7204 (package-download-transaction): Use it to update package-alist.
7205
7206 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7207
7208 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7209 possible choice.
7210
7211 2013-06-17 Juri Linkov <juri@jurta.org>
7212
7213 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7214
7215 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7216
7217 * emacs-lisp/package.el (package-load-descriptor):
7218 Remove `with-syntax-table' call, `read' doesn't need it.
7219 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7220
7221 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7222
7223 * startup.el (command-line): Expand package name returned by
7224 `package--description-file' (bug#14639).
7225
7226 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7227
7228 * emacs-lisp/package.el (package-load-descriptor): Do not call
7229 `emacs-lisp-mode', just use its syntax table.
7230
7231 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7232
7233 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7234 `font-lock-extra-managed-props' if any prettifying keyword is added.
7235 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7236 (prog-mode): Use `setq-local'.
7237
7238 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7239
7240 * international/characters.el (standard-case-table): Set syntax of ?»
7241 and ?« to punctuation.
7242
7243 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7244
7245 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7246 Save relevant match data before calling `syntax-ppss' (bug#14595).
7247
7248 2013-06-15 Juri Linkov <juri@jurta.org>
7249
7250 * files-x.el (modify-file-local-variable-prop-line): Add local
7251 variables to the end of the existing comment on the first line.
7252 Use `file-auto-mode-skip' to skip interpreter magic line,
7253 and also skip XML declaration.
7254
7255 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7256
7257 * startup.el (package--builtin-versions): New var.
7258 (package-subdirectory-regexp): Remove.
7259 (package--description-file): Hard code its value instead.
7260
7261 * emacs-lisp/package.el: Don't activate packages older than builtin.
7262 (package-obsolete-list): Rename from package-obsolete-alist, and make
7263 it into a simple list of package-desc.
7264 (package-strip-version): Remove.
7265 (package-built-in-p): Use package--builtin-versions.
7266 (package-mark-obsolete): Simplify.
7267 (package-process-define-package): Mark it obsolete if older than the
7268 builtin version.
7269 (package-handle-response): Use line-end-position.
7270 (package-read-archive-contents, package--download-one-archive):
7271 Simplify.
7272 (package--add-to-archive-contents): Skip if older than the builtin or
7273 installed version.
7274 (package-menu-describe-package): Fix last change.
7275 (package-list-unversioned): New var.
7276 (package-menu--generate): Use it.
7277
7278 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7279 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7280 (autoload-builtin-package-versions): New variable.
7281 (autoload-generate-file-autoloads): Use them.
7282 Remove the list of autoloaded functions/macros from the
7283 (autoload...) comments.
7284
7285 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7286
7287 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7288
7289 * simple.el (line-move-partial): Don't jump to the next screen
7290 line as soon as it becomes visible. Instead, continue enlarging
7291 the vscroll until the portion of a tall screen line that's left on
7292 display is about the height of the frame's default font.
7293 (Bug#14567)
7294
7295 2013-06-15 Glenn Morris <rgm@gnu.org>
7296
7297 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7298 compilation-error-regexp-alist void, or local while let-bound.
7299
7300 * progmodes/make-mode.el (makefile-mode-syntax-table):
7301 Treat "=" as punctuation. (Bug#14614)
7302
7303 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7304
7305 * help-fns.el (describe-variable):
7306 Add extra line for permanent-local variables.
7307
7308 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7309
7310 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7311 Add export, import, library. (Bug#9164)
7312 (library): Set indent function.
7313
7314 2013-06-14 Glenn Morris <rgm@gnu.org>
7315
7316 * term/xterm.el (xterm--query):
7317 Stop after first matching handler. (Bug#14615)
7318
7319 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7320
7321 Add support for dired in saveplace.
7322 * dired.el (dired-initial-position-hook): New variable.
7323 (dired-initial-position): Call hook to place cursor position.
7324 * saveplace.el (save-place-to-alist): Add dired position.
7325 (save-place-dired-hook): New function.
7326
7327 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7328
7329 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7330 through a symbol rather than letrec.
7331
7332 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7333 (package-desc): Add `dir' field.
7334 (package-desc-full-name): New function.
7335 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7336 (package-maybe-load-descriptor): Remove.
7337 (package-load-all-descriptors): Just call package-load-descriptor.
7338 (package--disabled-p): New function.
7339 (package-desc-vers, package-desc-doc): Remove aliases.
7340 (package--dir): Remove function.
7341 (package-activate): Check if a package is disabled.
7342 (package-process-define-package): New function, extracted from
7343 define-package.
7344 (define-package): Turn into a place holder.
7345 (package-unpack-single, package-tar-file-info):
7346 Use package--description-file.
7347 (package-compute-transaction): Use package--disabled-p.
7348 (package-download-transaction): Don't call
7349 package-maybe-load-descriptor since they're all loaded anyway.
7350 (package-install): Change argument to be a pkg-desc.
7351 (package-delete): Use a single pkg-desc argument.
7352 (describe-package-1): Use package-desc-dir instead of package--dir.
7353 Use package-desc property instead of package-symbol.
7354 (package-install-button-action): Adjust accordingly.
7355 (package--push): Rewrite.
7356 (package-menu--print-info): Adjust accordingly. Change the ID format
7357 to be a pkg-desc.
7358 (package-menu-describe-package, package-menu-get-status)
7359 (package-menu--find-upgrades, package-menu-mark-upgrades)
7360 (package-menu-execute, package-menu--name-predicate):
7361 Adjust accordingly.
7362 * startup.el (package--description-file): New function.
7363 (command-line): Use it.
7364 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7365 Use package-desc-version.
7366
7367 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7368 (byte-compile-preprocess): Use it.
7369 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7370 can't quite recognize.
7371 (byte-compile-add-to-list): Remove.
7372 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7373 (cconv-closure-convert): Add assertion.
7374
7375 * emacs-lisp/map-ynp.el: Use lexical-binding.
7376 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7377 Factor out some repeated code.
7378
7379 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7380
7381 * subr.el (with-eval-after-load): New macro.
7382 (eval-after-load): Allow form to be a function.
7383 take advantage of lexical-binding.
7384 (do-after-load-evaluation): Use dolist and adjust to new format.
7385 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7386
7387 2013-06-13 Juri Linkov <juri@jurta.org>
7388
7389 * replace.el (perform-replace): Display "symbol " and other search
7390 modes from `isearch-message-prefix' in the *Help* buffer.
7391
7392 * isearch.el (isearch-query-replace): Add " symbol" and other
7393 possible search modes from `isearch-message-prefix' to the prompt.
7394 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7395 when reading a regexp to collect.
7396
7397 2013-06-13 Juri Linkov <juri@jurta.org>
7398
7399 * isearch.el (word-search-regexp): Match whitespace if the search
7400 string begins or ends in whitespace. The LAX arg is applied to
7401 both ends of the search string. Use `regexp-quote' and explicit
7402 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7403 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7404 boundaries are replaced with symbol boundaries, and characters
7405 between symbols match non-word non-symbol syntax. (Bug#14602)
7406
7407 2013-06-13 Juri Linkov <juri@jurta.org>
7408
7409 * isearch.el (isearch-del-char): Don't exceed the length of
7410 `isearch-string' by the prefix arg. (Bug#14563)
7411
7412 2013-06-13 Juri Linkov <juri@jurta.org>
7413
7414 * isearch.el (isearch-yank-word, isearch-yank-line)
7415 (isearch-char-by-name, isearch-quote-char)
7416 (isearch-printing-char, isearch-process-search-char):
7417 Add optional count prefix arg. (Bug#14563)
7418
7419 * international/isearch-x.el
7420 (isearch-process-search-multibyte-characters):
7421 Add optional count prefix arg.
7422
7423 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7424
7425 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7426 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7427 lexical-binding.
7428
7429 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7430
7431 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7432
7433 2013-06-13 Glenn Morris <rgm@gnu.org>
7434
7435 * startup.el (tty-handle-args):
7436 Don't just discard "--" and anything after. (Bug#14608)
7437
7438 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7439
7440 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7441
7442 Implement changes in Secret Service API. Make it backward compatible.
7443 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7444 (secrets-create-item): Use it. Prefix properties with interface.
7445
7446 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7447
7448 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7449 (term-emulate-terminal): Respect term-suppress-hard-newline.
7450
7451 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7452
7453 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7454 Only remove a `thumb-file' overlay. (Bug#14548)
7455
7456 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7457
7458 * mail/reporter.el (reporter-submit-bug-report):
7459 Handle missing package-name. (Bug#14600)
7460
7461 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7462
7463 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7464 (reftex-citation-prompt, reftex-default-bibliography)
7465 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7466 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7467 (reftex-bib-sort-author, reftex-bib-sort-year)
7468 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7469 (reftex-extract-bib-entries-from-thebibliography)
7470 (reftex-get-bibkey-default, reftex-get-bib-names)
7471 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7472 (reftex-format-bib-entry, reftex-parse-bibitem)
7473 (reftex-format-bibitem, reftex-do-citation)
7474 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7475 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7476 (reftex-insert-bib-matches, reftex-format-citation)
7477 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7478 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7479 existing comments into docstrings.
7480
7481 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7482
7483 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7484
7485 2013-06-12 Andreas Schwab <schwab@suse.de>
7486
7487 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7488 for auto-save files.
7489
7490 2013-06-12 Glenn Morris <rgm@gnu.org>
7491
7492 * ido.el (ido-delete-ignored-files): Remove.
7493 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7494 Go back to calling ido-ignore-item-p directly.
7495
7496 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7497
7498 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7499
7500 * ido.el (ido-delete-ignored-files): New function,
7501 split from ido-make-file-list-1.
7502 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7503 (ido-make-file-list-1): Use ido-delete-ignored-files.
7504
7505 2013-06-12 Leo Liu <sdl.web@gmail.com>
7506
7507 * progmodes/octave.el (inferior-octave-startup)
7508 (inferior-octave-completion-table)
7509 (inferior-octave-track-window-width-change)
7510 (octave-eldoc-function-signatures, octave-help)
7511 (octave-find-definition): Use single quoted strings.
7512 (inferior-octave-startup-args): Change default value.
7513 (inferior-octave-startup): Do not hard code "-i" and
7514 "--no-line-editing".
7515 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7516 (inferior-octave-directory-tracker): Use it.
7517 (octave-goto-function-definition): Robustify.
7518 (octave-help): Support highlighting operators in 'See also'.
7519 (octave-find-definition): Find subfunctions only in Octave mode.
7520
7521 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7522
7523 * help-fns.el (help-fns--compiler-macro): If the handler function is
7524 named, then put a link to it.
7525 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7526 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7527 (cl-typep): Use it.
7528 (cl-eval-when): Simplify debug spec.
7529 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7530 compiler-macro function instead of setting `compiler-macro-file'.
7531
7532 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7533
7534 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7535 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7536
7537 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7538 Daniel Hackney <dan@haxney.org>
7539
7540 First part of Daniel Hackney's patch to package.el.
7541 * emacs-lisp/package.el: Use defstruct.
7542 (package-desc): New, main struct.
7543 (package--bi-desc, package--ac-desc): New structs, used to describe the
7544 format in external files.
7545 (package-desc-vers): Replace with package-desc-version accessor.
7546 (package-desc-doc): Replace with package-desc-summary accessor.
7547 (package-activate-1): Remove `package' arg since the pkg-vec now
7548 includes the name.
7549 (define-package): Use package-desc-from-define.
7550 (package-unpack-single): Change file-name arg to be a symbol.
7551 (package--add-to-archive-contents): Use package-desc-create and new
7552 accessor functions to package--ac-desc.
7553 (package-buffer-info, package-tar-file-info): Return a package-desc.
7554 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7555 arg to be a package-desc.
7556 (package-install-file): Adjust accordingly. Use \' to match EOS.
7557 (package--from-builtin): New function.
7558 (describe-package-1, package-menu--generate): Use it.
7559 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7560 (package-generate-autoloads): Idem and return the name of the file.
7561 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7562 Change pkg-info arg to be a package-desc.
7563 Use package-make-ac-desc.
7564 (package-upload-file): Use \' to match EOS.
7565 * finder.el (finder-compile-keywords): Use package-make-builtin.
7566
7567 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7568
7569 * vc/vc.el (vc-deduce-fileset): Change error message.
7570 (vc-read-backend): New function.
7571 (vc-next-action): Use it.
7572
7573 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7574
7575 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7576 (prolog-font-lock-keywords): Use regexp-opt instead.
7577 Don't manually highlight strings.
7578 (prolog-mode-variables): Simplify comment-start-skip.
7579 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7580
7581 * emacs-lisp/generic.el (generic--normalise-comments)
7582 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7583 (generic-mode-set-comments): Use them.
7584 (generic-bracket-support): Use setq-local.
7585 (generic-make-keywords-list): Declare obsolete.
7586
7587 2013-06-11 Glenn Morris <rgm@gnu.org>
7588
7589 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7590 Prettify after setting font-lock-defaults. (Bug#14574)
7591
7592 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7593
7594 * replace.el (query-replace, occur-read-regexp-defaults-function)
7595 (replace-search):
7596 * subr.el (declare-function, number-sequence, local-set-key)
7597 (substitute-key-definition, locate-user-emacs-file)
7598 (with-silent-modifications, split-string, eval-after-load):
7599 Fix typos, remove unneeded backslashes and reflow some docstrings.
7600
7601 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7602
7603 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7604 default for Elisp files.
7605
7606 2013-06-11 Glenn Morris <rgm@gnu.org>
7607
7608 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7609 although define-derived-mode was doing this anyway. (Bug#14583)
7610
7611 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7612
7613 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7614 Fix make-variable-buffer-local call to refer to the correct variable.
7615
7616 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7617
7618 * eshell/em-term.el (eshell-visual-commands)
7619 (eshell-visual-subcommands, eshell-visual-options):
7620 Add summary line to docstrings. Add cross-references.
7621
7622 2013-06-10 Glenn Morris <rgm@gnu.org>
7623
7624 * epa.el (epa-read-file-name): New function. (Bug#14510)
7625 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7626
7627 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7628
7629 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7630 output redirection to be ignored with visual commands.
7631
7632 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7633
7634 * eshell/em-term.el (eshell-visual-command-p): New function.
7635 (eshell-term-initialize): Move long lambda to separate function
7636 eshell-visual-command-p.
7637 * eshell/em-dirs.el (eshell-dirs-initialise):
7638 * eshell/em-script.el (eshell-script-initialize):
7639 Add missing #' to lambda.
7640
7641 2013-06-08 Leo Liu <sdl.web@gmail.com>
7642
7643 * progmodes/octave.el (octave-add-log-current-defun): New function.
7644 (octave-mode): Set add-log-current-defun-function.
7645 (octave-goto-function-definition): Do not move point if not found.
7646 (octave-find-definition): Enhance to try subfunctions first.
7647
7648 2013-06-08 Glenn Morris <rgm@gnu.org>
7649
7650 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7651 (byte-compile-backward-char, byte-compile-backward-word):
7652 Improve previous change, to handle non-explicit nil.
7653
7654 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7655
7656 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7657 (smie--opener/closer-at-point): New function.
7658 (smie--matching-block-data): Use it. Don't match from right after an
7659 opener or right before a closer. Obey smie-blink-matching-inners.
7660 Don't signal a mismatch for repeated inners like "switch..case..case".
7661
7662 2013-06-07 Leo Liu <sdl.web@gmail.com>
7663
7664 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7665 to t. (Bug#14303)
7666 (octave-function-header-regexp): Fix. (Bug#14570)
7667 (octave-help-mode-finish-hook, octave-help-mode-finish):
7668 Remove. Just use temp-buffer-show-hook.
7669
7670 * newcomment.el (comment-search-backward): Revert last change.
7671 (Bug#14434)
7672
7673 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7674
7675 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7676
7677 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7678 through xargs, to avoid failure due to MS-Windows limitations on
7679 command-line length.
7680
7681 2013-06-06 Glenn Morris <rgm@gnu.org>
7682
7683 * font-lock.el (lisp-font-lock-keywords-2):
7684 Treat user-error like error.
7685
7686 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7687 (byte-compile-backward-char, byte-compile-backward-word):
7688 Handle explicit nil arguments. (Bug#14565)
7689
7690 2013-06-05 Alan Mackenzie <acm@muc.de>
7691
7692 * isearch.el (isearch-allow-prefix): New user option.
7693 (isearch-other-meta-char): Don't exit isearch when a prefix
7694 argument is typed whilst `isearch-allow-prefix' is non-nil.
7695 (Bug#9706)
7696
7697 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7698
7699 * autorevert.el (auto-revert-notify-handler): Use memq.
7700 Hide assertion failure.
7701
7702 * skeleton.el: Use cl-lib.
7703 (skeleton-further-elements): Use defvar-local.
7704 (skeleton-insert): Use cl-progv.
7705
7706 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7707
7708 * progmodes/prog-mode.el (prog-prettify-symbols)
7709 (prog-prettify-install): Update docstrings.
7710
7711 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7712
7713 * simple.el: Move all the prog-mode code to prog-mode.el.
7714 * progmodes/prog-mode.el: New file.
7715 * loadup.el: Add prog-mode.el.
7716
7717 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7718
7719 * simple.el (prog-prettify-symbols): Add version.
7720 (prog-prettify-install): Add convenience function to prettify symbols.
7721
7722 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7723 (perl--augmented-font-lock-keywords-1)
7724 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7725 variables and use it.
7726
7727 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7728 (cfengine3-mode): Remove unneeded variable and use it.
7729
7730 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7731 (lisp--augmented-font-lock-keywords-1)
7732 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7733 Remove unneeded variables and use it.
7734
7735 2013-06-05 João Távora <joaotavora@gmail.com>
7736
7737 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7738 to point when opening the connection. (Bug#14380)
7739
7740 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7741
7742 * subr.el (load-history-regexp, load-history-filename-element)
7743 (eval-after-load, after-load-functions, do-after-load-evaluation)
7744 (eval-next-after-load, display-delayed-warnings)
7745 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7746 definition of save-match-data.
7747 (overriding-local-map): Remove accidental obsolescence declaration.
7748
7749 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7750
7751 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7752
7753 Generalize symbol prettify support to prog-mode and implement it
7754 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7755 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7756 (prog--prettify-font-lock-compose-symbol)
7757 (prog-prettify-font-lock-symbols-keywords): New variables and
7758 functions to support symbol prettification.
7759 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7760 (lisp--augmented-font-lock-keywords-1)
7761 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7762 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7763 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7764 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7765 Implement prettify of -> => :: strings.
7766 * progmodes/perl-mode.el (perl-prettify-symbols)
7767 (perl--font-lock-compose-symbol)
7768 (perl--font-lock-symbols-keywords): Move to prog-mode.
7769 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7770 (perl-font-lock-keywords-1)
7771 (perl-font-lock-keywords-2): Remove explicit prettify support.
7772 (perl--augmented-font-lock-keywords)
7773 (perl--augmented-font-lock-keywords-1)
7774 (perl--augmented-font-lock-keywords-2, perl-mode):
7775 Implement prettify support.
7776
7777 2013-06-05 Leo Liu <sdl.web@gmail.com>
7778
7779 Re-implement smie matching block highlight using
7780 show-paren-data-function. (Bug#14395)
7781 * emacs-lisp/smie.el (smie-matching-block-highlight)
7782 (smie--highlight-matching-block-overlay)
7783 (smie--highlight-matching-block-lastpos)
7784 (smie-highlight-matching-block)
7785 (smie-highlight-matching-block-mode): Remove.
7786 (smie--matching-block-data-cache): New variable.
7787 (smie--matching-block-data): New function.
7788 (smie-setup): Use smie--matching-block-data for
7789 show-paren-data-function.
7790
7791 * progmodes/octave.el (octave-mode-menu): Fix.
7792 (octave-find-definition): Skip garbage lines.
7793
7794 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7795
7796 Fix compilation error with simultaneous dynamic+lexical scoping.
7797 Add warning when a defvar appears after the first let-binding.
7798 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7799 (byte-compile-close-variables): Initialize it.
7800 (byte-compile--declare-var): New function.
7801 (byte-compile-file-form-defvar)
7802 (byte-compile-file-form-define-abbrev-table)
7803 (byte-compile-file-form-custom-declare-variable): Use it.
7804 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7805 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7806 (byte-compile-bind): Handle dynamic bindings that shadow
7807 lexical bindings.
7808 (byte-compile-unbind): Make arg non-optional.
7809 (byte-compile-let): Simplify.
7810 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7811 (cconv--analyse-function, cconv-analyse-form): Populate it.
7812 Protect byte-compile-bound-variables to limit the scope of defvars.
7813 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7814 Remove unneeded rule for `declare'.
7815
7816 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7817 so as to avoid depending on cl-adjoin at run-time.
7818 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7819
7820 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7821 (macroexp--warn-and-return): Use it.
7822
7823 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7824
7825 * lisp/subr.el: Convert to lexical binding.
7826 (overriding-local-map): Make obsolete.
7827 (add-to-list): Doc fix. Add compiler macro.
7828 (read-key): Swap values of local maps.
7829
7830 2013-06-05 Leo Liu <sdl.web@gmail.com>
7831
7832 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7833
7834 2013-06-04 Leo Liu <sdl.web@gmail.com>
7835
7836 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7837 (compilation-auto-jump): Suppress the "Mark set" message to give
7838 way to exit message.
7839
7840 2013-06-04 Alan Mackenzie <acm@muc.de>
7841
7842 Remove faulty optimisation from indentation calculation.
7843 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7844 search limit based on 2000 characters back from indent-point.
7845
7846 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7847
7848 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7849
7850 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7851
7852 * emacs-lisp/lisp.el: Use lexical-binding.
7853 (lisp--local-variables-1, lisp--local-variables): New functions.
7854 (lisp--local-variables-completion-table): New var.
7855 (lisp-completion-at-point): Use it complete let-bound vars.
7856
7857 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7858 eagerly (bug#14422).
7859
7860 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7861
7862 * autorevert.el (auto-revert-notify-enabled)
7863 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7864 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7865 (auto-revert-notify-handler): Handle also gfilenotify.
7866
7867 * subr.el (file-notify-handle-event): New defun. Replacing ...
7868 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7869 Remove.
7870
7871 2013-06-03 Juri Linkov <juri@jurta.org>
7872
7873 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7874 `M-s h .'. (Bug#14427)
7875
7876 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7877 command `hi-lock-face-symbol-at-point'.
7878 (hi-lock-face-symbol-at-point): New command.
7879 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7880 (hi-lock-menu): Add `highlight-symbol-at-point'.
7881 (hi-lock-mode): Doc fix.
7882
7883 * isearch.el (isearch-forward-symbol-at-point): New command.
7884 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7885 (isearch-highlight-regexp): Add a regexp which matches
7886 words/symbols for word/symbol mode.
7887
7888 * subr.el (find-tag-default-bounds): New function with the body
7889 mostly moved from `find-tag-default'.
7890 (find-tag-default): Move most code to `find-tag-default-bounds',
7891 call it and apply `buffer-substring-no-properties' afterwards.
7892
7893 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7894
7895 * eshell/em-term.el (eshell-term-initialize):
7896 Use `cl-intersection' rather than `intersection'.
7897
7898 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7899
7900 * vc/log-view.el: Doc fix.
7901 (log-view-mode-map): Copy keymap from `special-mode-map'.
7902
7903 2013-06-02 Eric Ludlam <zappo@gnu.org>
7904
7905 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7906 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7907 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7908 (eieio-unbound, eieio-default-superclass)
7909 (eieio--define-field-accessors, method-static, method-before)
7910 (method-primary, method-after, method-num-lists)
7911 (method-generic-before, method-generic-primary)
7912 (method-generic-after, method-num-slots)
7913 (eieio-specialized-key-to-generic-key)
7914 (eieio--check-type, class-v, class-p)
7915 (eieio-class-name, define-obsolete-function-alias)
7916 (eieio-class-parents-fast, eieio-class-children-fast)
7917 (same-class-fast-p, class-constructor, generic-p)
7918 (generic-primary-only-p, generic-primary-only-one-p)
7919 (class-option-assoc, class-option, eieio-object-p)
7920 (class-abstract-p, class-method-invocation-order)
7921 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7922 (eieio-class-un-autoload, eieio-defclass)
7923 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7924 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7925 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7926 (eieio-defgeneric-reset-generic-form)
7927 (eieio-defgeneric-form-primary-only)
7928 (eieio-defgeneric-reset-generic-form-primary-only)
7929 (eieio-defgeneric-form-primary-only-one)
7930 (eieio-defgeneric-reset-generic-form-primary-only-one)
7931 (eieio-unbind-method-implementations)
7932 (eieio--defmethod, eieio--typep)
7933 (eieio-perform-slot-validation, eieio-validate-slot-value)
7934 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7935 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7936 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7937 (eieio-slot-name-index, eieio-class-slot-name-index)
7938 (eieio-set-defaults, eieio-initarg-to-attribute)
7939 (eieio-attribute-to-initarg, eieio-c3-candidate)
7940 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7941 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7942 (eieio-class-precedence-list, eieio-generic-call-methodname)
7943 (eieio-generic-call-arglst, eieio-generic-call-key)
7944 (eieio-generic-call-next-method-list)
7945 (eieio-pre-method-execution-functions, eieio-generic-call)
7946 (eieio-generic-call-primary-only, eieiomt-method-list)
7947 (eieiomt-optimizing-obarray, eieiomt-install)
7948 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7949 (eieio-generic-form, eieio-defmethod, make-obsolete)
7950 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7951 (defclass): Remove `eval-and-compile' from macro.
7952 (call-next-method, shared-initialize): Instead of using
7953 `scoped-class' variable, use new eieio--scoped-class, and
7954 eieio--with-scoped-class.
7955 (initialize-instance): Rename local variable 'scoped-class' to
7956 'this-class' to remove ambiguitity from old global.
7957
7958 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7959 eieio.el.
7960 (eieio--scoped-class-stack): New variable.
7961 (eieio--scoped-class): New fcn.
7962 (eieio--with-scoped-class): New scoping macro.
7963 (eieio-defclass): Use pushnew instead of add-to-list.
7964 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7965 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7966 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7967 `scoped-class' variable, use new eieio--scoped-class, and
7968 eieio--with-scoped-class.
7969
7970 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7971
7972 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7973
7974 * eshell/esh-ext.el (eshell-external-command): Pass args to
7975 `eshell-find-interpreter'.
7976 (eshell-find-interpreter): Add new second parameter ARGS.
7977
7978 * eshell/em-script.el (eshell-script-initialize): Add second arg
7979 to the function added as MATCH to `eshell-interpreter-alist'.
7980
7981 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7982 the function added as MATCH to `eshell-interpreter-alist'.
7983
7984 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7985 (eshell-visual-options): New defcustom.
7986 (eshell-escape-control-x): Adapt docstring.
7987 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7988 `eshell-visual-options' in addition to `eshell-visual-commands'.
7989 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7990
7991 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7992
7993 * progmodes/python.el (python-indent-block-enders): Add break,
7994 continue and raise keywords.
7995
7996 2013-06-01 Glenn Morris <rgm@gnu.org>
7997
7998 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7999
8000 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8001 * progmodes/cc-cmds.el (delete-forward-p):
8002 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8003 * progmodes/cc-engine.el (buffer-syntactic-context):
8004 * progmodes/cc-fonts.el (face-property-instance):
8005 * progmodes/cc-mode.el (set-keymap-parents):
8006 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8007 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8008 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8009 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8010 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8011
8012 * progmodes/cc-vars.el (other): Emacs has this widget since
8013 at least 21.1, so don't (re)define it.
8014
8015 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8016 Replace the obsolete alias pcomplete-arg-quote-list.
8017
8018 2013-06-01 Leo Liu <sdl.web@gmail.com>
8019
8020 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8021 punctuation syntax.
8022 (inferior-octave-minimal-columns)
8023 (inferior-octave-last-column-width): New variables.
8024 (inferior-octave-track-window-width-change): New function.
8025 (inferior-octave-mode): Adjust column width so that Octave output,
8026 for example from 'ls', can fit into the window nicely.
8027
8028 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8029
8030 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8031 Highlight expansions inside regexp literals.
8032
8033 2013-05-31 Glenn Morris <rgm@gnu.org>
8034
8035 * obsolete/sym-comp.el (symbol-complete):
8036 Replace obsolete completion-annotate-function.
8037
8038 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8039
8040 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8041
8042 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8043 New function, checks if point is inside a literal that allows
8044 expression expansion.
8045 (ruby-syntax-propertize-expansion): Use it.
8046 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8047 around the body.
8048
8049 2013-05-30 Juri Linkov <juri@jurta.org>
8050
8051 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8052 to "\M-si".
8053 (isearch-invisible): New variable.
8054 (isearch-forward): Doc fix.
8055 (isearch-mode): Set `isearch-invisible'
8056 to the value of `search-invisible'.
8057 (isearch-toggle-case-fold): Doc fix.
8058 (isearch-toggle-invisible): New command.
8059 (isearch-query-replace): Let-bind `search-invisible'
8060 to the value of `isearch-invisible'.
8061 (isearch-search): Use `isearch-invisible' instead of
8062 `search-invisible'. Let-bind `search-invisible'
8063 to the value of `isearch-invisible'. (Bug#11378)
8064
8065 2013-05-30 Juri Linkov <juri@jurta.org>
8066
8067 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8068 call when `query-flag' is nil and `search-invisible' is non-nil.
8069 (Bug#11746)
8070
8071 2013-05-30 Glenn Morris <rgm@gnu.org>
8072
8073 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8074
8075 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8076 (cc-require): Suppress spurious "noruntime" warnings.
8077 (cc-require-when-compile): Use fboundp, for sake of compiler.
8078
8079 * progmodes/cc-mode.el: Move load of cc-vars before that of
8080 cc-langs (which in turn loads cc-vars), to quieten compiler.
8081
8082 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8083
8084 * paren.el: Simplify the code.
8085 (show-paren-mode): Always start the timer.
8086 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8087 (show-paren--overlay, show-paren--overlay-1): Rename from
8088 show-paren-overlay and show-paren-overlay-1, and initialize to an
8089 overlay rather than to nil.
8090 (show-paren-function): Misc cleanup and simplifications.
8091
8092 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8093
8094 * paren.el (show-paren-data-function): New hook.
8095 (show-paren--default): New function, extracted from show-paren-function.
8096 (show-paren-function): Use show-paren-data-function.
8097
8098 2013-05-30 Glenn Morris <rgm@gnu.org>
8099
8100 * ielm.el (ielm-map, ielm-complete-symbol):
8101 Use completion-at-point rather than obsolete functions.
8102 (inferior-emacs-lisp-mode): Doc fix.
8103 Set completion-at-point-functions, rather than
8104 comint-dynamic-complete-functions.
8105
8106 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8107 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8108 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8109
8110 * image.el (image-animated-p): Tweak definition.
8111
8112 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8113 (rlogin-process-connection-type): Tweak default. Add set-after.
8114 (rlogin-host): Doc fix.
8115 (rlogin): Tweak prompt.
8116 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8117
8118 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8119 * progmodes/tcl.el (inferior-tcl-mode-map):
8120 Use completion-at-point rather than obsolete alias.
8121
8122 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8123
8124 * minibuffer.el (read-file-name-completion-ignore-case):
8125 Move before completion--in-region, for eager macro expansion.
8126
8127 2013-05-29 Juri Linkov <juri@jurta.org>
8128
8129 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8130 for total count of matching lines. Add `global-matches' for total
8131 count of matches. Rename `matches' to `lines' for count of
8132 matching lines. Add `matches' for count of matches.
8133 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8134 to `prev-line' for line number of prev match endpt.
8135 Increment `matches' for every match. Print the number of
8136 matching lines in the header.
8137 (occur-context-lines): Rename `lines' to `curr-line'.
8138 Rename `prev-lines' to `prev-line'. (Bug#14017)
8139
8140 2013-05-29 Juri Linkov <juri@jurta.org>
8141
8142 * replace.el (perform-replace): Add `skip-read-only-count',
8143 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8144 Increment them for corresponding conditions and report the number
8145 of skipped occurrences in the final message. (Bug#11746)
8146 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8147 (replace-string, replace-regexp): Doc fix.
8148
8149 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8150
8151 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8152
8153 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8154 prog-mode-map (bug#14504).
8155
8156 2013-05-29 Leo Liu <sdl.web@gmail.com>
8157
8158 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8159 (octave-help): Small simplification.
8160
8161 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8162 off the highlight first.
8163
8164 2013-05-29 Glenn Morris <rgm@gnu.org>
8165
8166 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8167 Handle idlwave-last-system-routine-info-cons-cell being nil.
8168
8169 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8170 (idlwave-write-paths): Simplify via with-temp-buffer.
8171
8172 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8173 * emulation/cua-rect.el: Also load cua-base at run time.
8174
8175 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8176 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8177 (cperl-imenu-on-info): Require imenu.
8178
8179 2013-05-28 Alan Mackenzie <acm@muc.de>
8180
8181 Handle "capitalised keywords" correctly.
8182 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8183
8184 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8185
8186 * eshell/em-unix.el: Add -r option to cp.
8187
8188 2013-05-28 Glenn Morris <rgm@gnu.org>
8189
8190 * vc/vc-arch.el (vc-exec-after): Declare.
8191 (vc-switches): Autoload.
8192 * vc/vc-bzr.el: No need to require vc when compiling.
8193 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8194 (vc-resynch-buffer, vc-dir-refresh): Declare.
8195 (vc-setup-buffer, vc-switches): Autoload.
8196 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8197 (vc-resynch-buffer): Declare.
8198 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8199 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8200 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8201 (grep-read-regexp, grep-read-files, grep-expand-template)
8202 (vc-dir-refresh): Declare.
8203 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8204 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8205 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8206 * vc/vc-mtn.el (vc-exec-after): Declare.
8207 (vc-switches): Autoload.
8208 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8209 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8210 (vc-file-tree-walk): Declare.
8211 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8212 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8213 (vc-tag-precondition, vc-rename-master): Autoload.
8214 * vc/vc-svn.el (vc-exec-after): Declare.
8215 (vc-switches, vc-setup-buffer): Autoload.
8216 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8217 Autoload.
8218 (vc-resynch-buffer): Declare.
8219
8220 * obsolete/fast-lock.el (byte-compile-warnings):
8221 Don't warn about obsolete features in this obsolete file.
8222
8223 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8224 Move definition before use.
8225
8226 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8227 (dun-unix-verbs): Remove dun-zippy.
8228 (dun-zippy): Remove function.
8229
8230 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8231
8232 2013-05-27 Juri Linkov <juri@jurta.org>
8233
8234 * replace.el (replace-search): New function with code moved out
8235 from `perform-replace'.
8236 (replace-highlight, replace-dehighlight): Move function definitions
8237 up closer to `replace-search'. (Bug#11746)
8238
8239 2013-05-27 Juri Linkov <juri@jurta.org>
8240
8241 * replace.el (perform-replace): Ignore invisible matches.
8242 In addition to checking `query-replace-skip-read-only', also
8243 filter out matches by calling `run-hook-with-args-until-failure'
8244 on `isearch-filter-predicates', and also check `search-invisible'
8245 for t or call `isearch-range-invisible'.
8246 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8247
8248 2013-05-27 Juri Linkov <juri@jurta.org>
8249
8250 * isearch.el (isearch-filter-predicates): Rename from
8251 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8252 (isearch-message-prefix): Display text from the property
8253 `isearch-message-prefix' of the currently active filters.
8254 (isearch-search): Don't compare `isearch-filter-predicate' with
8255 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8256 on `isearch-filter-predicates'. Also check `search-invisible' for t
8257 or call `isearch-range-invisible'.
8258 (isearch-filter-visible): Make obsolete.
8259 (isearch-lazy-highlight-search):
8260 Call `run-hook-with-args-until-failure' on
8261 `isearch-filter-predicates' and use `isearch-range-invisible'.
8262
8263 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8264 `isearch-filter-predicates' instead of `funcall'ing
8265 `isearch-filter-predicate'.
8266 (Info-mode): Set `Info-isearch-filter' to
8267 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8268
8269 * dired-aux.el (dired-isearch-filter-predicate-orig):
8270 Remove variable.
8271 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8272 (dired-isearch-filenames-end): Add and remove
8273 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8274 instead of changing the value of `isearch-filter-predicate'.
8275 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8276 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8277 Put property `isearch-message-prefix' to "filename " on
8278 `dired-isearch-filter-filenames'.
8279
8280 * wdired.el (wdired-change-to-wdired-mode):
8281 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8282 locally instead of changing `isearch-filter-predicate'.
8283 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8284
8285 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8286
8287 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8288 return the commit hash (Bug#14459). Also set the
8289 `vc-git-detached' property.
8290 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8291 (vc-git-mode-line-string): Use the same help-echo format whether
8292 in detached mode or not, because we know the actual revision now.
8293 When in detached mode, shorten the revision to 7 chars.
8294
8295 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8296
8297 * emacs-lisp/easy-mmode.el (define-minor-mode):
8298 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8299 mode hook and provide a docstring.
8300
8301 2013-05-27 Alan Mackenzie <acm@muc.de>
8302
8303 Remove spurious syntax-table text properties inserted by C-y.
8304 * progmodes/cc-mode.el (c-after-change): Also clear hard
8305 syntax-table property with value nil.
8306
8307 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8308
8309 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8310 when reading the events; the buffer layout shall not be changed.
8311
8312 2013-05-27 Leo Liu <sdl.web@gmail.com>
8313
8314 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8315 New variable.
8316 (inferior-octave-directory-tracker): Automatically re-sync
8317 default-directory.
8318 (octave-help): Improve handling of 'See also'.
8319
8320 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8321
8322 * doc-view.el: Minor naming convention tweaks.
8323 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8324
8325 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8326 even if there's no `display' property yet (bug#14435).
8327
8328 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8329
8330 * subr.el (unmsys--file-name): Rename from reveal-filename.
8331
8332 * Makefile.in (custom-deps, finder-data, autoloads)
8333 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8334 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8335 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8336
8337 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8338
8339 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8340 error-completion on the first 2 args of condition-case (bug#14446).
8341 Don't burp at EOB.
8342
8343 2013-05-25 Leo Liu <sdl.web@gmail.com>
8344
8345 * comint.el (comint-previous-matching-input): Do not flood the
8346 *Messages* buffer with trivial messages.
8347
8348 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8349
8350 * progmodes/flymake.el (flymake-nop): Don't return a string.
8351 (flymake-set-at): Fix typo.
8352
8353 * simple.el (read--expression): New function, extracted from
8354 eval-expression. Set completion-at-point-functions (bug#14465).
8355 (eval-expression, eval-minibuffer): Use it.
8356
8357 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8358
8359 * progmodes/flymake.el (flymake-save-buffer-in-file)
8360 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8361 (flymake-selected-frame, flymake-log, flymake-ins-after)
8362 (flymake-set-at, flymake-get-buildfile-from-cache)
8363 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8364 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8365 Refine the doc string.
8366 (flymake-get-file-name-mode-and-masks): Reformat.
8367 (flymake-get-real-file-name-function): Fix a minor bug.
8368
8369 2013-05-24 Juri Linkov <juri@jurta.org>
8370
8371 * progmodes/grep.el (grep-mode-font-lock-keywords):
8372 Support =linenumber= format used by git-grep for lines with
8373 function names. (Bug#13549)
8374
8375 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8376
8377 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8378 0 after a semi-colon; it works better for smie-auto-fill.
8379 (octave--indent-new-comment-line): New function.
8380 (octave-indent-new-comment-line): Use it (indirectly).
8381 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8382 modify comment-line-break-function.
8383
8384 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8385 (smie-setup): Use add-function to set it.
8386
8387 2013-05-24 Sam Steingold <sds@gnu.org>
8388
8389 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8390 argument (before the `interactive' argument).
8391
8392 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8393
8394 * image-mode.el (image-mode-winprops): Add winprops to
8395 image-mode-winprops-alist before running
8396 image-mode-new-window-functions.
8397 * doc-view.el (doc-view-new-window-function): Don't delay
8398 doc-view-goto-page via timers (bug#14435).
8399
8400 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8401
8402 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8403 (doc-view-desktop-save-buffer): New function.
8404 (doc-view-restore-desktop-buffer): New function.
8405 (desktop-buffer-mode-handlers):
8406 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8407 handler.
8408 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8409 `desktop-save-buffer' function.
8410
8411 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8412
8413 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8414 (tramp-gvfs-file-name-handler): Raise a user error when
8415 `tramp-gvfs-enabled' is nil.
8416 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8417 Do not raise a user error when loading package. (Bug#14447)
8418
8419 * net/xesam.el: Move to obsolete/.
8420
8421 2013-05-24 Glenn Morris <rgm@gnu.org>
8422
8423 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8424
8425 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8426
8427 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8428 (Info-find-node, Man-getpage-in-background): Declare.
8429
8430 * mail/unrmail.el (unrmail):
8431 Replace obsolete detect-coding-with-priority.
8432
8433 * net/socks.el (socks-split-string): Use this rather than split-string.
8434 (socks-nslookup-host): Update for above change.
8435 (dynamic-choice, s5-dynamic-choice-match)
8436 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8437 Comment out unused code.
8438
8439 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8440 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8441 (gud-tooltip-echo-area): Make obsolete.
8442 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8443
8444 * progmodes/js.el (js--optimize-arglist): Declare.
8445
8446 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8447
8448 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8449 (ediff-window-C): Declare.
8450
8451 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8452 Tweak requires to silence compiler.
8453
8454 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8455 (he-search-string, he-tried-table, he-expand-list)
8456 (he-init-string, he-string-member, he-substitute-string)
8457 (he-reset-string): Declare.
8458
8459 * obsolete/options.el (list-options): Use custom-variable-p,
8460 rather than obsolete alias.
8461
8462 2013-05-23 Sam Steingold <sds@gnu.org>
8463
8464 * simple.el (shell-command-on-region): Pass the `replace' argument
8465 down to `call-process-region' to comply with the doc as reported on
8466 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8467
8468 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8469
8470 * emacs-lisp/smie.el (smie-indent-forward-token)
8471 (smie-indent-backward-token): Handle string tokens (bug#14381).
8472
8473 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8474
8475 * ielm.el (ielm-menu): New menu.
8476 (inferior-emacs-lisp-mode): Set comment-start.
8477
8478 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8479
8480 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8481 Fix deactivate action.
8482
8483 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8484 Add cleveref macros.
8485
8486 * lisp/textmodes/reftex-parse.el
8487 (reftex-locate-bibliography-files): Accept options for
8488 bibliography commands.
8489 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8490 Add addbibresource. Basic Biblatex support.
8491
8492 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8493
8494 * net/tramp-gvfs.el (top):
8495 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8496 when loading package. (Bug#14447)
8497
8498 2013-05-23 Glenn Morris <rgm@gnu.org>
8499
8500 * progmodes/js.el: No need to load comint when compiling.
8501 (ring-insert, comint-send-string, comint-send-input)
8502 (comint-last-input-end, ido-chop): Declare.
8503
8504 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8505 * vc/ediff-mult.el: Adjust requires.
8506 (ediff-directories-internal, ediff-directory-revisions-internal)
8507 (ediff-patch-file-internal): Declare.
8508 * vc/ediff-ptch.el: Adjust requires.
8509 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8510 (ediff-find-file): Autoload.
8511 * vc/ediff-util.el: No need to load ediff when compiling.
8512 (ediff-regions-internal): Declare.
8513 * vc/ediff-wind.el: Adjust requires.
8514 (ediff-compute-toolbar-width): Define when compiling.
8515 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8516 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8517 (dired-get-filename, dired-get-marked-files)
8518 (ediff-last-dir-patch, ediff-patch-default-directory)
8519 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8520 (ediff-patch-buffer-internal): Declare.
8521
8522 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8523 (ispell-process, ispell-buffer-local-words, lm-summary)
8524 (lm-section-start, lm-section-end): Declare.
8525 (checkdoc-ispell-init): Simplify.
8526
8527 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8528 (he-string-member, he-reset-string, he-substitute-string): Declare.
8529
8530 * eshell/em-ls.el: Adjust requires.
8531 (eshell-glob-regexp): Declare.
8532 * eshell/em-tramp.el: Adjust requires.
8533 (eshell-parse-command): Autoload.
8534 * eshell/em-xtra.el: Adjust requires.
8535 (eshell-parse-command): Autoload.
8536 * eshell/esh-ext.el: Adjust requires.
8537 (eshell-parse-command, eshell-close-handles): Autoload.
8538 * eshell/esh-io.el: Adjust requires.
8539 (eshell-output-filter): Autoload.
8540 * eshell/esh-util.el: No need to load tramp when compiling.
8541 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8542 Declare.
8543 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8544 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8545 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8546 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8547 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8548 * eshell/esh-opt.el, eshell/esh-proc.el:
8549 * eshell/esh-var.el: Adjust requires.
8550 * eshell/eshell.el: Do not require esh-util twice.
8551 (eshell-add-input-to-history): Declare.
8552 (eshell-command): Check history module is active before using it.
8553
8554 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8555
8556 2013-05-22 Leo Liu <sdl.web@gmail.com>
8557
8558 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8559
8560 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8561
8562 * autorevert.el (auto-revert-notify-add-watch)
8563 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8564 it indicates changes in file modification time.
8565
8566 2013-05-22 Glenn Morris <rgm@gnu.org>
8567
8568 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8569 Always delete the autoloaded function from the noruntime and
8570 unresolved functions lists.
8571
8572 * allout.el: No need to load epa, epg, overlay when compiling.
8573 (epg-context-set-passphrase-callback, epg-list-keys)
8574 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8575 (epg-key-user-id-list): Declare.
8576
8577 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8578 (viper-set-parsing-style-toggling-macro)
8579 (viper-set-emacs-state-searchstyle-macros):
8580 Use called-interactively-p on Emacs.
8581 (viper-looking-back): Make it an obsolete alias. Update callers.
8582 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8583 Use looking-back rather than viper-looking-back.
8584 (viper-tmp-insert-at-eob, viper-enlarge-region)
8585 (viper-read-string-with-history, viper-register-to-point)
8586 (viper-append-to-register, viper-change-state-to-vi)
8587 (viper-backward-char-carefully, viper-forward-char-carefully)
8588 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8589 (viper-change-state-to-emacs): Declare.
8590 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8591 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8592 * emulation/viper-mous.el: Do not load viper-cmd.
8593 (viper-backward-char-carefully, viper-forward-char-carefully)
8594 (viper-forward-word, viper-adjust-window): Declare.
8595
8596 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8597
8598 * progmodes/idlw-help.el (idlwave-help-fontify):
8599 Use called-interactively-p.
8600
8601 * term/w32console.el (w32-get-console-codepage)
8602 (w32-get-console-output-codepage): Declare.
8603
8604 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8605 Remove unnecessary declarations.
8606 (dframe-message): Doc fix.
8607
8608 * info.el (dframe-select-attached-frame, dframe-current-frame):
8609 Declare.
8610
8611 * speedbar.el (speedbar-message): Make it an obsolete alias.
8612 Update all callers.
8613 (speedbar-with-attached-buffer)
8614 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8615 (speedbar-with-writable): Use backquote.
8616 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8617 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8618 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8619 rather than speedbar- aliases.
8620 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8621 (speedbar-make-specialized-keymap, speedbar-insert-button)
8622 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8623 (speedbar-do-function-pointer): Declare.
8624 (rmail-speedbar-button, rmail-speedbar-find-file)
8625 (rmail-speedbar-move-message):
8626 Use dframe-with-attached-buffer rather than speedbar- alias.
8627 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8628 (dframe-message, speedbar-make-specialized-keymap)
8629 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8630 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8631 (speedbar-insert-button, dframe-select-attached-frame)
8632 (dframe-maybee-jump-to-attached-frame)
8633 (speedbar-change-initial-expansion-list)
8634 (speedbar-previously-used-expansion-list-name): Declare.
8635 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8636 Use dframe-message, dframe-with-attached-buffer rather than
8637 speedbar- aliases.
8638 (gud-sentinel): Silence compiler.
8639 * progmodes/vhdl-mode.el (speedbar-refresh)
8640 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8641 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8642 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8643 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8644 (speedbar-file-lists, speedbar-make-tag-line)
8645 (speedbar-line-directory, speedbar-goto-this-file)
8646 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8647 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8648 (speedbar-make-button, speedbar-reset-scanners)
8649 (speedbar-files-item-info, speedbar-line-text)
8650 (speedbar-find-file-in-frame, speedbar-set-timer)
8651 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8652 (speedbar-with-writable): Do not (re)define it.
8653 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8654 rather than speedbar- alias.
8655
8656 2013-05-21 Leo Liu <sdl.web@gmail.com>
8657
8658 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8659 menu items.
8660 (octave-mode): Tweak fill-nobreak-predicate.
8661 (inferior-octave-startup): Check process to avoid infinite loop.
8662 (inferior-octave): Pop to buffer first to show abornmal process
8663 exit information.
8664
8665 2013-05-21 Glenn Morris <rgm@gnu.org>
8666
8667 * printing.el (pr-menu-bar): Define when compiling.
8668
8669 2013-05-21 Leo Liu <sdl.web@gmail.com>
8670
8671 * progmodes/octave.el (octave-auto-fill): Remove.
8672 (octave-indent-new-comment-line): Improve.
8673 (octave-mode): Use auto fill mode through
8674 comment-line-break-function and fill-nobreak-predicate.
8675 (octave-goto-function-definition): Support DEFUN_DLD.
8676 (octave-beginning-of-defun): Small tweak.
8677 (octave-help): Show parent directory.
8678
8679 2013-05-21 Glenn Morris <rgm@gnu.org>
8680
8681 * files.el (dired-unmark):
8682 * progmodes/gud.el (gdb-input): Update declarations.
8683
8684 * calculator.el (electric, ehelp): No need to load when compiling.
8685 (Electric-command-loop, electric-describe-mode): Declare.
8686
8687 * doc-view.el (doc-view-current-converter-processes): Move before use.
8688
8689 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8690 Move MODE-set-explicitly definition before use.
8691
8692 * international/mule-diag.el (mule-diag):
8693 Don't use obsolete window-system-version.
8694
8695 * mail/feedmail.el (smtpmail): No need to load when compiling.
8696 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8697
8698 * mail/mail-utils.el (rfc822): No need to load when compiling.
8699 (rfc822-addresses): Autoload it.
8700 (mail-strip-quoted-names): Trivial simplification.
8701
8702 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8703 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8704
8705 * net/snmp-mode.el (tempo): Don't duplicate requires.
8706
8707 * progmodes/prolog.el (info): No need to load when compiling.
8708 (comint): Require before shell requires it.
8709 (Info-goto-node): Autoload it.
8710 (Info-follow-nearest-node): Declare.
8711 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8712
8713 * textmodes/artist.el (picture-mode-exit): Declare.
8714
8715 * textmodes/reftex-parse.el (reftex-parse-from-file):
8716 Trivial rewrite so the compiler can parse it better.
8717
8718 2013-05-20 Leo Liu <sdl.web@gmail.com>
8719
8720 * progmodes/octave.el (octave-help-mode-map)
8721 (octave-help-mode-finish-hook): New variables.
8722 (octave-help-mode, octave-help-mode-finish): New functions.
8723 (octave-help): Use octave-help-mode.
8724
8725 2013-05-20 Glenn Morris <rgm@gnu.org>
8726
8727 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8728
8729 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8730
8731 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8732 start at point, so that expansion starting right after opening
8733 slash in a regexp is recognized.
8734 (ruby-syntax-before-regexp-re): New defvar, extracted from
8735 ruby-syntax-propertize-function. Since the value of this regexp
8736 is looked up at runtime now, we should be able to turn
8737 `ruby-syntax-methods-before-regexp' into a defcustom later.
8738 (ruby-syntax-propertize-function): Split regexp matching into two
8739 parts, for opening and closing slashes. That allows us to skip
8740 over string interpolations and support multiline regexps.
8741 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8742 for them, which calls `ruby-syntax-propertize-expansion'.
8743 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8744 call to `ruby-syntax-propertize-function'.
8745 (ruby-syntax-propertize-expansion): Extracted from
8746 `ruby-syntax-propertize-expansions'. Handles one expansion.
8747 (ruby-syntax-propertize-percent-literal): Leave point right after
8748 the percent symbol, so that the expression expansion rule can
8749 propertize the contents.
8750 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8751 heredoc openers.
8752 (ruby-syntax-propertize-expansions): Remove.
8753
8754 2013-05-18 Juri Linkov <juri@jurta.org>
8755
8756 * man.el (Man-default-man-entry): Remove `-' from the end
8757 of the default value. (Bug#14400)
8758
8759 2013-05-18 Glenn Morris <rgm@gnu.org>
8760
8761 * comint.el (comint-password-prompt-regexp):
8762 Allow "password for XXX" where XXX contains colons (eg https://...).
8763
8764 2013-05-18 Leo Liu <sdl.web@gmail.com>
8765
8766 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8767 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8768 (octave-source-directories): Don't check process.
8769 (octave-source-directories, octave-find-definition): Doc fix.
8770
8771 2013-05-18 Glenn Morris <rgm@gnu.org>
8772
8773 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8774 Remove backspace/delete bindings. (Bug#14392)
8775
8776 * cus-dep.el (custom-make-dependencies): Sort the output.
8777 (custom-versions-load-alist): Convert comment to doc.
8778
8779 2013-05-17 Leo Liu <sdl.web@gmail.com>
8780
8781 * newcomment.el (comment-search-backward): Stricter in finding
8782 comment start. (Bug#14303)
8783
8784 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8785 (octave-comment-start-skip): Properly anchored.
8786
8787 2013-05-17 Leo Liu <sdl.web@gmail.com>
8788
8789 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8790 Clean up when turned off. (Bug#14395)
8791 (smie--highlight-matching-block-overlay): No longer buffer-local.
8792 (smie-highlight-matching-block): Adjust.
8793
8794 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8795
8796 Doc string fix for "nanoseconds" (Bug#14406).
8797 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8798 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8799
8800 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8801
8802 * calc/calc-units.el (math-extract-units): Preserve powers
8803 of units.
8804
8805 2013-05-17 Leo Liu <sdl.web@gmail.com>
8806
8807 * subr.el (delete-consecutive-dups): New function.
8808 * ido.el (ido-set-matches-1): Use it.
8809 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8810 * ido.el (ido-remove-consecutive-dups): Remove.
8811
8812 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8813
8814 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8815 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8816 regexp-opt's `words'.
8817
8818 2013-05-16 Leo Liu <sdl.web@gmail.com>
8819
8820 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8821 (smie--highlight-matching-block-overlay)
8822 (smie--highlight-matching-block-lastpos)
8823 (smie--highlight-matching-block-timer): New variables.
8824 (smie-highlight-matching-block): New function.
8825 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8826 (smie-setup): Conditionally enable smie-blink-matching-open.
8827
8828 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8829
8830 Sync with upstream verilog-mode r840.
8831 * progmodes/verilog-mode.el (verilog-mode-version)
8832 (verilog-mode-release-date): Update.
8833 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8834 (verilog-sig-tieoff): Fix string error on
8835 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8836 (verilog-read-decls): Fix parameters confusing
8837 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8838
8839 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8840
8841 * subr.el (reveal-filename): New function.
8842
8843 * loadup.el: Compute Emacs executable versions on MS-Windows,
8844 where executables have the .exe extension. Add a hard link
8845 emacs-XX.YY.ZZ.exe on MS-Windows.
8846
8847 * Makefile.in (XARGS_LIMIT): New variable.
8848 (custom-deps, finder-data, autoloads)
8849 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8850 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8851 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8852 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8853
8854 2013-05-16 Leo Liu <sdl.web@gmail.com>
8855
8856 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8857 (octave-mode-menu, octave-mode-map): Remove its uses.
8858
8859 2013-05-16 Reto Zimmermann <reto@gnu.org>
8860
8861 Sync with upstream vhdl mode v3.34.2.
8862 * progmodes/vhdl-mode.el: Use `push' throughout.
8863 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8864 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8865 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8866 (vhdl-actual-generic-name): New option to derive actual generic name.
8867 (vhdl-port-paste-signals): Replace formal by actual generics.
8868 (vhdl-beautify): New name for old group vhdl-align. Update users.
8869 (vhdl-beautify-options): New option.
8870 (vhdl-last-input-event): New compat alias. Use throughout.
8871 (vhdl-goto-line): Replace user level function `goto-line'.
8872 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8873 vhdl-fix-statement-buffer.
8874 (vhdl-create-mode-menu): Add some entries.
8875 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8876 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8877 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8878 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8879 to force statements on one line.
8880 (vhdl-remove-trailing-spaces-region):
8881 New, split from vhdl-remove-trailing-spaces.
8882 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8883 Respect vhdl-beautify-options.
8884 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8885 (vhdl-update-sensitivity-list): Not add with index if exists without.
8886 Not include array index with signal. Ignore keywords in comments.
8887 (vhdl-get-visible-signals): Regexp tweaks.
8888 (vhdl-template-component-inst): Handle empty library.
8889 (vhdl-template-type): Add template for 'enum' type.
8890 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8891 Use vhdl-replace-string.
8892 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8893 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8894 (vhdl-speedbar-initialize): Update for above name change.
8895 (vhdl-compose-wire-components): Fix in handling of constants.
8896 (vhdl-error-regexp-emacs-alist): New variable.
8897 (vhdl-error-regexp-add-emacs): New function;
8898 adds support for new compile.el (Emacs 22+)
8899 (vhdl-generate-makefile-1): Change target order for single lib. units.
8900 Allow use of absolute file names.
8901
8902 2013-05-16 Leo Liu <sdl.web@gmail.com>
8903
8904 * simple.el (prog-indent-sexp): Indent enclosing defun.
8905
8906 2013-05-15 Glenn Morris <rgm@gnu.org>
8907
8908 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8909 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8910 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8911 (whitespace-highlight): Move to whitespace group.
8912
8913 * comint.el (comint-source):
8914 * pcmpl-linux.el (pcmpl-linux):
8915 * shell.el (shell-faces):
8916 * eshell/esh-opt.el (eshell-opt):
8917 * international/ccl.el (ccl): Remove empty custom groups.
8918
8919 * completion.el (dynamic-completion-mode):
8920 * jit-lock.el (jit-lock-debug-mode):
8921 * minibuffer.el (completion-in-region-mode):
8922 * type-break.el (type-break-mode-line-message-mode)
8923 (type-break-query-mode):
8924 * emulation/tpu-edt.el (tpu-edt-mode):
8925 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8926 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8927 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8928
8929 * term/xterm.el (xterm): Change parent group to terminals.
8930
8931 * master.el (master): Remove empty custom group.
8932 (master-mode): Remove unused :group argument.
8933 * textmodes/refill.el (refill): Remove empty custom group.
8934 (refill-mode): Remove unused :group argument.
8935
8936 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8937
8938 * cus-dep.el: Provide a feature.
8939 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8940 Don't mistakenly ignore files whose basenames match a basename
8941 from preloaded-file-list (eg cedet/ede/simple.el).
8942 Add a fallback method for getting :group.
8943
8944 2013-05-15 Juri Linkov <juri@jurta.org>
8945
8946 * isearch.el (isearch-char-by-name): Rename from
8947 `isearch-insert-char-by-name'. Doc fix.
8948 (isearch-forward): Mention `isearch-char-by-name' in
8949 the docstring. (Bug#13348)
8950
8951 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8952 `exit-minibuffer' instead of
8953 `isearch-nonincremental-exit-minibuffer'.
8954 (isearch-edit-string): Remove mention of
8955 `isearch-nonincremental-exit-minibuffer' from docstring.
8956 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8957 (isearch-forward-exit-minibuffer)
8958 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8959
8960 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8961
8962 * loadup.el: Just use unversioned DOC.
8963
8964 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8965 literals as extending to EOB.
8966 (nxml-last-fontify-end): Remove unused variable.
8967 (nxml-after-change1): Use with-silent-modifications.
8968 (nxml-extend-after-change-region): Simplify.
8969 (nxml-extend-after-change-region1): Remove function.
8970 (nxml-after-change1): Don't adjust for dependent regions.
8971 (nxml-fontify-matcher): Simplify.
8972 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8973 (xmltok-add-dependent): Remove function.
8974 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8975 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8976 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8977 unclosed <[[, <?, comment, and other literals as extending to EOB.
8978 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8979 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8980 Remove functions.
8981 (rng-do-some-validation-1): Don't mark dependent regions.
8982 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8983 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8984 (nxml-clear-dependent-regions): Remove functions.
8985 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8986 (nxml-ensure-scan-up-to-date):
8987 Don't clear&mark dependent regions.
8988
8989 2013-05-15 Leo Liu <sdl.web@gmail.com>
8990
8991 * progmodes/octave.el (octave-goto-function-definition):
8992 Improve and fix callers.
8993
8994 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8995
8996 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8997 the setter (bug#14387).
8998
8999 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9000 surrounding group (bug#14402).
9001
9002 2013-05-14 Juri Linkov <juri@jurta.org>
9003
9004 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9005 (Bug#14390)
9006
9007 2013-05-14 Glenn Morris <rgm@gnu.org>
9008
9009 * progmodes/f90.el (f90-imenu-generic-expression):
9010 Fix typo in 2013-05-08 change. (Bug#14402)
9011
9012 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9013
9014 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9015 Remove signals for which replies are never received.
9016
9017 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9018
9019 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9020 (gdb-handler-alist, gdb-handler-number): Remove variables.
9021 (gdb-handler-list): New variable.
9022 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9023 (gdb-pending-handler-p, gdb-handle-reply)
9024 (gdb-remove-all-pending-triggers): New functions.
9025 (gdb-discard-unordered-replies): New defcustom.
9026 (gdb-handler): New defstruct.
9027 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9028 instead of gdb-pending-triggers. Update docstring.
9029 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9030 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9031 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9032 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9033 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9034 (gdb-frame-handler): Pending triggers are now automatically managed.
9035 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9036 Remove argument.
9037 (gdb-input): Automatically handles pending triggers. Update docstring.
9038 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9039 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9040 Update comments.
9041 (gdb-done-or-error): Now use gdb-handle-reply.
9042
9043 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9044
9045 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9046 gdb-debug-log.
9047
9048 2013-05-14 Glenn Morris <rgm@gnu.org>
9049
9050 * subr.el (user-emacs-directory-warning): New option.
9051 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9052
9053 2013-05-14 Leo Liu <sdl.web@gmail.com>
9054
9055 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9056 during redisplay.
9057 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9058 (octave-font-lock-texinfo-comment): Fix invalid search bound
9059 error: wrong side of point.
9060
9061 2013-05-14 Glenn Morris <rgm@gnu.org>
9062
9063 * progmodes/flymake.el (flymake-xml-program): New option.
9064 (flymake-xml-init): Use it.
9065
9066 * term/xterm.el: Provide a feature.
9067
9068 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9069
9070 2013-05-13 Glenn Morris <rgm@gnu.org>
9071
9072 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9073 Add compat aliases as a hack workaround. (Bug#14384)
9074
9075 2013-05-13 Leo Liu <sdl.web@gmail.com>
9076
9077 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9078 ###, and %!.
9079 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9080 C-M-q.
9081 (octave-comment-start-skip): Include %!.
9082 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9083
9084 2013-05-12 Leo Liu <sdl.web@gmail.com>
9085
9086 * progmodes/octave.el (inferior-octave-startup): Store the value
9087 of __octave_srcdir__ for octave-source-directories.
9088 (inferior-octave-check-process): New function refactored out of
9089 inferior-octave-send-list-and-digest.
9090 (octave-source-directories)
9091 (octave-find-definition-filename-function): New variables.
9092 (octave-source-directories)
9093 (octave-find-definition-default-filename): New functions.
9094 (octave-find-definition): Improve to find functions implemented in C++.
9095
9096 2013-05-12 Glenn Morris <rgm@gnu.org>
9097
9098 * calendar/diary-lib.el (diary-outlook-format-1):
9099 Don't include dayname in the output. (Bug#14349)
9100
9101 2013-05-11 Glenn Morris <rgm@gnu.org>
9102
9103 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9104
9105 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9106 Treat cc-provide like provide.
9107
9108 2013-05-11 Kevin Ryde <user42@zip.com.au>
9109
9110 * cus-dep.el (custom-make-dependencies):
9111 Use generated-autoload-load-name for the sake of files such
9112 such cedet/semantic/bovine/c.el, where the base file name
9113 is not in load-path. (Bug#5277)
9114
9115 2013-05-11 Glenn Morris <rgm@gnu.org>
9116
9117 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9118 Provide features.
9119
9120 2013-05-11 Leo Liu <sdl.web@gmail.com>
9121
9122 * progmodes/octave.el (octave-indent-comment): Improve.
9123 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9124 (octave-eldoc-function-signatures, octave-eldoc-function):
9125 New functions.
9126 (octave-mode, inferior-octave-mode): Add eldoc support.
9127
9128 2013-05-11 Richard Stallman <rms@gnu.org>
9129
9130 * epa.el (epa-decrypt-file): Take output file name as argument
9131 and read it using `interactive'.
9132
9133 2013-05-11 Leo Liu <sdl.web@gmail.com>
9134
9135 * progmodes/octave.el (octave-beginning-of-line)
9136 (octave-end-of-line): Check before using up-list because it jumps
9137 out of more syntactic contructs since moving to smie.
9138 (octave-indent-comment): New function.
9139 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9140 (octave-begin-keywords, octave-end-keywords)
9141 (octave-reserved-words, octave-smie-bnf-table)
9142 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9143
9144 2013-05-11 Glenn Morris <rgm@gnu.org>
9145
9146 * faces.el (internal-face-x-get-resource):
9147 * frame.el (ns-display-monitor-attributes-list):
9148 * calc/calc-aent.el (math-to-radians-2):
9149 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9150 Fix declarations.
9151
9152 * calc/calc-menu.el: Make it loadable in isolation.
9153
9154 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9155 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9156 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9157 (eudc-bbdb-query-internal): Require 'bbdb.
9158
9159 * lpr.el (lpr-headers-switches):
9160 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9161
9162 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9163
9164 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9165
9166 * term.el (term-set-escape-char): Make it idempotent.
9167
9168 2013-05-10 Leo Liu <sdl.web@gmail.com>
9169
9170 * progmodes/octave.el (inferior-octave-completion-table):
9171 No longer a function and all uses changed. Use cache to speed up
9172 completion due to bug#11906.
9173 (octave-beginning-of-defun): Re-write to be more general.
9174
9175 2013-05-10 Glenn Morris <rgm@gnu.org>
9176
9177 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9178
9179 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9180
9181 * comint.el (comint-redirect-send-command-to-process): Use :around
9182 rather than :override for comint-redirect-filter.
9183 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9184 Call it instead of comint-redirect-original-filter-function (which
9185 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9186
9187 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9188
9189 * frame.el (display-monitor-attributes-list): Add NS case.
9190 (ns-display-monitor-attributes-list): Declare.
9191
9192 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9193
9194 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9195
9196 2013-05-09 Glenn Morris <rgm@gnu.org>
9197
9198 * international/fontset.el (vertical-centering-font-regexp):
9199 Set standard-value.
9200
9201 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9202
9203 * bookmark.el (bookmark-search-delay):
9204 * cus-start.el (vertical-centering-font-regexp):
9205 * ps-mule.el (ps-mule-font-info-database-default):
9206 * ps-print.el (ps-default-fg, ps-default-bg):
9207 * type-break.el (type-break-good-break-interval):
9208 * whitespace.el (whitespace-indentation-regexp)
9209 (whitespace-space-after-tab-regexp):
9210 * emacs-lisp/testcover.el (testcover-1value-functions)
9211 (testcover-noreturn-functions, testcover-progn-functions)
9212 (testcover-prog1-functions):
9213 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9214 * eshell/em-glob.el (eshell-glob-translate-alist):
9215 * play/tetris.el (tetris-tty-colors):
9216 * progmodes/cpp.el (cpp-face-default-list):
9217 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9218 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9219 (idlwave-help-browser-generic-args):
9220 * progmodes/make-mode.el (makefile-special-targets-list):
9221 * progmodes/python.el (python-shell-virtualenv-path):
9222 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9223 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9224 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9225 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9226 * textmodes/reftex-vars.el (reftex-format-label-function):
9227 * textmodes/remember.el (remember-diary-file): Fix custom types.
9228
9229 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9230 Add :version.
9231
9232 2013-05-09 Leo Liu <sdl.web@gmail.com>
9233
9234 * progmodes/octave.el (inferior-octave-completion-at-point):
9235 Restore file completion. (Bug#14300)
9236 (inferior-octave-startup): Fix incorrect highlighting for the
9237 first prompt.
9238
9239 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9240
9241 * progmodes/ruby-mode.el: First cut at SMIE support.
9242 (ruby-use-smie): New var.
9243 (ruby-smie-grammar): New constant.
9244 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9245 (ruby-smie--forward-token, ruby-smie--backward-token)
9246 (ruby-smie-rules): New functions.
9247 (ruby-mode-variables): Setup SMIE if applicable.
9248
9249 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9250
9251 * simple.el (line-move-visual): Signal beginning/end of buffer
9252 only if vertical-motion moved less than it was requested. Avoids
9253 silly incorrect error messages when there are display strings with
9254 multiple newlines at EOL.
9255
9256 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9257
9258 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9259 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9260 (prolog-char-quote-workaround):
9261 * progmodes/cperl-mode.el (cperl-under-as-char):
9262 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9263 Mark as obsolete.
9264 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9265 their declaration.
9266 (vhdl-mode-syntax-table-init): Remove.
9267
9268 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9269 last change.
9270
9271 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9272 syntax for "_".
9273 (ld-script-font-lock-keywords):
9274 Change regexps to use things like \_< and \_>.
9275
9276 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9277 Change all regexps to use things like \_< and \_>.
9278
9279 * progmodes/autoconf.el (autoconf-definition-regexp)
9280 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9281 Handle a _ with symbol syntax.
9282 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9283
9284 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9285 Consolidate declaration.
9286 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9287 the declaration.
9288 (ada-create-syntax-table): Remove.
9289 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9290 already has the right syntax nowadays.
9291 (ada-goto-next-word): Don't change the syntax of "_".
9292
9293 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9294 with-wrapper-hook.
9295
9296 2013-05-08 Sam Steingold <sds@gnu.org>
9297
9298 * thingatpt.el (thing-at-point): Accept optional second argument
9299 NO-PROPERTIES to strip the text properties from the return value.
9300 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9301 to `thing-at-point' instead of stripping the properties ourselves.
9302 Also, when `thing-at-point' fails to find a url, prepend "http://"
9303 to the filename at point on the assumption that the user is
9304 pointing at something like gnu.org/gnu.
9305
9306 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9307
9308 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9309 * faces.el (crm-separator):
9310 Silence byte-compiler.
9311
9312 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9313 (tool-bar-map): Remove unneeded defvars.
9314
9315 2013-05-08 Leo Liu <sdl.web@gmail.com>
9316
9317 Re-work a fix for bug#10994 based on Le Wang's patch.
9318 * ido.el (ido-remove-consecutive-dups): New helper.
9319 (ido-completing-read): Use it.
9320 (ido-chop): Revert fix for bug#10994.
9321
9322 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9323
9324 * cus-edit.el (custom-save-variables):
9325 Pretty-print long values. (Bug#14187)
9326
9327 2013-05-08 Glenn Morris <rgm@gnu.org>
9328
9329 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9330 (m4-mode-syntax-table): Init in the defvar.
9331 (m4-mode-abbrev-table): Let define-derived-mode define it.
9332
9333 2013-05-08 Tom Tromey <tromey@redhat.com>
9334
9335 * progmodes/m4-mode.el (m4-mode-syntax-table):
9336 Do not treat "_" as word constituent. (Bug#14167)
9337
9338 2013-05-07 Glenn Morris <rgm@gnu.org>
9339
9340 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9341 Remove explicit eshell-isearch-cancel-map.
9342
9343 * progmodes/f90.el (f90-smart-end-names): New option.
9344 (f90-smart-end): Doc fix.
9345 (f90-end-block-optional-name): New constant.
9346 (f90-block-match): Respect f90-smart-end-names.
9347
9348 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9349
9350 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9351 about implicit semi-colons (bug#14218).
9352
9353 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9354
9355 * frame.el (display-monitor-attributes-list)
9356 (frame-monitor-attributes): New functions.
9357
9358 2013-05-06 Leo Liu <sdl.web@gmail.com>
9359
9360 * progmodes/octave.el (octave-syntax-propertize-function): Change
9361 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9362 (octave-font-lock-keywords): Use octave-operator-regexp.
9363 (octave-completion-at-point): Rename from
9364 octave-completion-at-point-function.
9365 (inferior-octave-directory-tracker): Robustify.
9366 (octave-text-functions): Remove and fix its uses. No such things
9367 any more.
9368
9369 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9370
9371 * emacs-lisp/trace.el (trace--display-buffer): New function.
9372 (trace-make-advice): Use it.
9373
9374 2013-05-06 Juri Linkov <juri@jurta.org>
9375
9376 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9377 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9378 Doc fix.
9379 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9380 in the help string. (Bug#12985)
9381
9382 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9383
9384 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9385
9386 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9387
9388 * progmodes/perl-mode.el: Add support for here documents.
9389 (perl-syntax-propertize-function): Match here-doc markers.
9390 (perl-syntax-propertize-special-constructs): Find their end.
9391 (perl-imenu-generic-expression): Use [:alnum:].
9392
9393 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9394 (advice--add-function): Refresh the advice if already present
9395 (bug#14317).
9396
9397 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9398
9399 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9400
9401 2013-05-06 Glenn Morris <rgm@gnu.org>
9402
9403 * w32-fns.el (w32-charset-info-alist): Declare.
9404
9405 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9406 of its defcustom properties.
9407 (eshell-cmpl-initialize): No need to load pcomplete.
9408
9409 * generic-x.el: No need to require comint when compiling.
9410
9411 * net/eudc-export.el: Make it loadable without bbdb.
9412 (top-level): Use require rather than load-library.
9413 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9414 (eudc-batch-export-records-to-bbdb)
9415 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9416 Require bbdb.
9417
9418 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9419
9420 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9421 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9422 some tweaks, instead.
9423
9424 2013-05-05 Leo Liu <sdl.web@gmail.com>
9425
9426 * progmodes/octave.el (octave-font-lock-keywords)
9427 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9428 (inferior-octave-send-list-and-digest): Improve error message.
9429 (octave-mode, inferior-octave-mode): Use setq-local.
9430 (octave-help): Set info-lookup-mode.
9431
9432 2013-05-05 Richard Stallman <rms@gnu.org>
9433
9434 * vc/compare-w.el (compare-windows-whitespace):
9435 Treat no-break space as whitespace.
9436
9437 * mail/rmailsum.el (rmail-summary-rmail-update):
9438 Detect empty summary and don't change selected message.
9439 (rmail-summary-goto-msg): Likewise.
9440
9441 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9442 Doc fixes, rename args.
9443
9444 2013-05-05 Alan Mackenzie <acm@muc.de>
9445
9446 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9447
9448 2013-05-05 Juri Linkov <juri@jurta.org>
9449
9450 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9451 to not add the length of the summary segment to the return value.
9452 (Bug#14125)
9453
9454 2013-05-05 Leo Liu <sdl.web@gmail.com>
9455
9456 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9457 (inferior-octave-output-filter): Remove.
9458 (octave-send-region, inferior-octave-startup): Fix callers.
9459 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9460 (octave-binary-file-extensions): New user variable.
9461 (octave-find-definition): Confirm if opening binary files.
9462 (octave-help-file): Use octave-find-definition to get the binary
9463 confirmation.
9464 (octave-help): Adjust for octave-help-file change.
9465
9466 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9467
9468 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9469 Merge the two entries that handle function definitions.
9470 (pascal--syntax-propertize): New const.
9471 (pascal-mode): Use it. Use setq-local.
9472
9473 2013-05-04 Glenn Morris <rgm@gnu.org>
9474
9475 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9476 (diary-from-outlook): Respect diary-from-outlook-function.
9477
9478 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9479
9480 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9481 Move the declaration from C.
9482 (read-minibuffer, eval-minibuffer): Move from C.
9483 (completion-setup-function): Avoid minibuffer-completion-contents.
9484
9485 2013-05-03 Leo Liu <sdl.web@gmail.com>
9486
9487 * progmodes/octave.el (octave-font-lock-keywords): Do not
9488 dehighlight 'end' in comments or strings.
9489 (octave-completing-read, octave-goto-function-definition):
9490 New helpers.
9491 (octave-help-buffer): New user variable.
9492 (octave-help-file, octave-help-function): New button types.
9493 (octave-help): New command and bind it to C-h ;.
9494 (octave-find-definition): New command and bind it to M-.
9495 (user-error): Alias to error if not defined.
9496
9497 2013-05-02 Leo Liu <sdl.web@gmail.com>
9498
9499 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9500 for \. (bug#14332)
9501 (octave-font-lock-keywords): Include [ and {.
9502
9503 2013-05-02 Leo Liu <sdl.web@gmail.com>
9504
9505 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9506 (inferior-octave): Remove calling comint-mode and return the buffer.
9507 (inferior-octave-startup): Cosmetic changes.
9508
9509 2013-05-02 Leo Liu <sdl.web@gmail.com>
9510
9511 * progmodes/octave.el (octave-syntax-propertize-function):
9512 Include the case when ' is at line beginning. (Bug#14336)
9513
9514 2013-05-02 Glenn Morris <rgm@gnu.org>
9515
9516 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9517 * desktop.el (vc-dir-mode): Just autoload it here.
9518
9519 2013-05-02 Alan Mackenzie <acm@muc.de>
9520
9521 Eliminate variable c-standard-font-lock-fontify-region-function.
9522 * progmodes/cc-mode.el
9523 (c-standard-font-lock-fontify-region-function): Remove.
9524 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9525
9526 2013-05-01 Leo Liu <sdl.web@gmail.com>
9527
9528 * progmodes/octave.el: Compatible with older emacs-24 releases.
9529 (inferior-octave-has-built-in-variables): Remove. Built-in
9530 variables were removed from Octave in 2007.
9531 (inferior-octave-startup): Fix uses.
9532 (comint-line-beginning-position): Remove compatibility code for
9533 emacs 21.
9534
9535 2013-05-01 Juri Linkov <juri@jurta.org>
9536
9537 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9538
9539 2013-05-01 Juri Linkov <juri@jurta.org>
9540
9541 * comint.el (comint-previous-matching-input): Don't print message
9542 "History item: %d" when `isearch-mode' is active.
9543 (comint-history-isearch-message): Print message "History item: %d"
9544 when `comint-input-ring-index' is not empty and this function is
9545 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9546
9547 2013-05-01 Leo Liu <sdl.web@gmail.com>
9548
9549 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9550 definitions. Use completion-at-point to insert keywords.
9551 (octave-abbrev-start): Remove.
9552 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9553
9554 2013-04-30 Leo Liu <sdl.web@gmail.com>
9555
9556 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9557 change.
9558
9559 2013-04-30 Alan Mackenzie <acm@muc.de>
9560
9561 Handle arbitrarily long C++ member initialisation lists.
9562 * progmodes/cc-engine.el (c-back-over-member-initializers):
9563 new function.
9564 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9565 (most) member init lists.
9566
9567 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9568
9569 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9570 variable.
9571
9572 2013-04-30 Leo Liu <sdl.web@gmail.com>
9573
9574 * progmodes/octave.el (octave-variables): Remove. No builtin
9575 variables any more. All converted to functions.
9576 (octave-font-lock-keywords, octave-completion-at-point-function):
9577 Fix uses.
9578 (octave-font-lock-texinfo-comment): New user variable.
9579 (octave-texinfo-font-lock-keywords): New variable for texinfo
9580 comment block.
9581 (octave-function-comment-block): New face.
9582 (octave-font-lock-texinfo-comment): New function.
9583 (octave-mode): Font lock texinfo comment block.
9584
9585 2013-04-29 Leo Liu <sdl.web@gmail.com>
9586
9587 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9588 indexing expression.
9589 (octave-continuation-string): Do not use \.
9590 (inferior-octave-complete-impossible): Remove.
9591 (inferior-octave-completion-table)
9592 (inferior-octave-completion-at-point): Remove its uses.
9593 (inferior-octave-startup): completion_matches was introduced to
9594 Octave in 1996 so safe to assume it.
9595 (octave-function-file-comment): Improve to follow how Octave does it.
9596 (octave-update-function-file-comment): Tweak.
9597
9598 2013-04-29 Leo Liu <sdl.web@gmail.com>
9599
9600 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9601 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9602 (octave-function-file-comment): Fix typo.
9603 (octave-sync-function-file-names): Use read-char-choice.
9604
9605 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9606
9607 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9608 to t for the less important warnings.
9609
9610 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9611
9612 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9613
9614 2013-04-27 Glenn Morris <rgm@gnu.org>
9615
9616 * vc/log-view.el (log-view-current-entry):
9617 Treat "---" separator lines as part of the following rev. (Bug#14169)
9618
9619 2013-04-27 Juri Linkov <juri@jurta.org>
9620
9621 * subr.el (read-number): Doc fix about using it by interactive
9622 code letter `n'. (Bug#14254)
9623
9624 2013-04-27 Juri Linkov <juri@jurta.org>
9625
9626 * desktop.el (desktop-auto-save-timeout): New option.
9627 (desktop-file-checksum): New variable.
9628 (desktop-save): Add optional arg `auto-save' and don't auto-save
9629 if nothing changed.
9630 (desktop-auto-save-timer): New variable.
9631 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9632 (after-init-hook): Call `desktop-auto-save-set-timer'.
9633 Suggested by Reuben Thomas <rrt@sc3d.org> in
9634 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9635
9636 2013-04-27 Leo Liu <sdl.web@gmail.com>
9637
9638 * progmodes/octave.el (octave-function-file-p)
9639 (octave-skip-comment-forward, octave-function-file-comment)
9640 (octave-update-function-file-comment): New functions.
9641 (octave-mode-map): Bind C-c ; to
9642 octave-update-function-file-comment.
9643 (octave-mode-menu): Add octave-update-function-file-comment.
9644 (octave-mode, inferior-octave-mode): Fix doc-string.
9645 (octave-insert-defun): Conform to Octave's coding convention.
9646 (Bug#14285)
9647
9648 * files.el (basic-save-buffer): Don't let errors in
9649 before-save-hook prevent saving buffer.
9650
9651 2013-04-20 Roland Winkler <winkler@gnu.org>
9652
9653 * faces.el (read-face-name): Use completing-read if arg multiple
9654 is nil.
9655
9656 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9657
9658 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9659 displayed, move point to after the totals line.
9660 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9661 for the details.
9662
9663 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9664
9665 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9666 Add current dir to the load-path.
9667 (package-generate-autoloads): Don't rely on
9668 autoload-ensure-default-file.
9669
9670 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9671
9672 * textmodes/remember.el (remember-store-in-files): Document that
9673 the file name format is passed to `format-time-string'.
9674
9675 2013-04-26 Leo Liu <sdl.web@gmail.com>
9676
9677 * progmodes/octave.el (octave-sync-function-file-names): New function.
9678 (octave-mode): Use it in before-save-hook.
9679
9680 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9681
9682 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9683 (bug#14274).
9684
9685 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9686 \n and comment, even if it's not an implicit ; (bug#14218).
9687
9688 2013-04-26 Glenn Morris <rgm@gnu.org>
9689
9690 * subr.el (read-number): Once more use `read' rather than
9691 `string-to-number', to trap non-numeric input. (Bug#14254)
9692
9693 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9694
9695 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9696 Use `syntax-multiline' text property consistently instead of
9697 `font-lock-multiline'. (Bug#14237)
9698
9699 2013-04-26 Glenn Morris <rgm@gnu.org>
9700
9701 * emacs-lisp/shadow.el (list-load-path-shadows):
9702 No longer necessary to check for duplicate simple.el, since
9703 2012-07-07 change to init_lread to not include installation lisp
9704 directories in load-path when running uninstalled. (Bug#14270)
9705
9706 2013-04-26 Leo Liu <sdl.web@gmail.com>
9707
9708 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9709 (octave-mode, inferior-octave-mode): Use setq-local.
9710 (octave-not-in-string-or-comment-p): Rename to
9711 octave-in-string-or-comment-p.
9712 (octave-in-comment-p, octave-in-string-p)
9713 (octave-in-string-or-comment-p): Replace defsubst with defun.
9714
9715 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9716
9717 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9718
9719 2013-04-25 Bastien Guerry <bzg@gnu.org>
9720
9721 * textmodes/remember.el (remember-data-directory)
9722 (remember-directory-file-name-format): Fix custom types.
9723
9724 2013-04-25 Leo Liu <sdl.web@gmail.com>
9725
9726 * progmodes/octave.el (octave-completion-at-point-function):
9727 Make use of inferior octave process.
9728 (octave-initialize-completions): Remove.
9729 (inferior-octave-completion-table): New function.
9730 (inferior-octave-completion-at-point): Use it.
9731 (octave-completion-alist): Remove.
9732
9733 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9734
9735 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9736 (opascal-mode-syntax-table): New var.
9737 (opascal-literal-kind, opascal-is-literal-end)
9738 (opascal-literal-token-at): Rewrite.
9739 (opascal--literal-start-re, opascal-font-lock-keywords)
9740 (opascal--syntax-propertize): New constants.
9741 (opascal-font-lock-defaults): Adjust.
9742 (opascal-mode): Use them. Set comment-<foo> variables as well.
9743 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9744 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9745 (delphi-other-face, opascal-other-face): Remove face variables.
9746 (opascal-save-state): Remove macro.
9747 (opascal-fontifying-progress-step): Remove constant.
9748 (opascal--ignore-changes): Remove var.
9749 (opascal-set-token-property, opascal-parse-next-literal)
9750 (opascal-is-stable-literal, opascal-complete-literal)
9751 (opascal-is-literal-start, opascal-face-of)
9752 (opascal-parse-region, opascal-parse-region-until-stable)
9753 (opascal-fontify-region, opascal-after-change)
9754 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9755 (opascal-debug-parse-region, opascal-debug-parse-window)
9756 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9757 (opascal-debug-fontify-buffer): Remove.
9758 (opascal-debug-mode-map): Adjust accordingly.
9759
9760 2013-04-25 Leo Liu <sdl.web@gmail.com>
9761
9762 Merge octave-mod.el and octave-inf.el into octave.el with some
9763 cleanups.
9764 * progmodes/octave.el: New file renamed from octave-mod.el.
9765 * progmodes/octave-inf.el: Merged into octave.el.
9766 * progmodes/octave-mod.el: Renamed to octave.el.
9767
9768 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9769
9770 * textmodes/reftex-vars.el
9771 (reftex-label-ignored-macros-and-environments): New defcustom.
9772
9773 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9774
9775 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9776
9777 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9778 (smie-indent-keyword): Improve the check to ensure that the next
9779 comment is really on the same line.
9780 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9781
9782 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9783 semi-colons if the line is not otherwise empty (bug#14218).
9784
9785 2013-04-25 Glenn Morris <rgm@gnu.org>
9786
9787 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9788
9789 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9790
9791 * progmodes/opascal.el (opascal-set-token-property): Rename from
9792 opascal-set-text-properties and only set `token' (bug#14134).
9793 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9794 (opascal-literal-text-properties): Remove.
9795 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9796 Adjust callers.
9797
9798 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9799
9800 * textmodes/remember.el (remember-handler-functions): Add an
9801 option for a new handler `remember-store-in-files'.
9802 (remember-data-directory, remember-directory-file-name-format):
9803 New options.
9804 (remember-store-in-files): New function to store remember notes
9805 as separate files within a directory.
9806
9807 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9808
9809 * progmodes/compile.el (compilation-next-error-function):
9810 Pass "formats" to compilation-find-file (bug#11777).
9811
9812 2013-04-24 Glenn Morris <rgm@gnu.org>
9813
9814 * vc/vc-bzr.el (vc-bzr-print-log):
9815 * vc/vc-hg.el (vc-hg-print-log):
9816 * vc/vc-svn.el (vc-svn-print-log):
9817 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9818
9819 * vc/vc-bzr.el (vc-bzr-print-log):
9820 * vc/vc-cvs.el (vc-cvs-print-log):
9821 * vc/vc-git.el (vc-git-print-log):
9822 * vc/vc-hg.el (vc-hg-print-log):
9823 * vc/vc-mtn.el (vc-mtn-print-log):
9824 * vc/vc-rcs.el (vc-rcs-print-log):
9825 * vc/vc-sccs.el (vc-sccs-print-log):
9826 * vc/vc-svn.el (vc-svn-print-log):
9827 * vc/vc.el (vc-print-log-internal): Doc fixes.
9828
9829 2013-04-23 Glenn Morris <rgm@gnu.org>
9830
9831 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9832 Remove venerable code attempting to avoid substitute-command-keys.
9833
9834 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9835
9836 * textmodes/reftex-vars.el (reftex-label-regexps):
9837 Call `reftex-compile-variables' after changes to this variable.
9838
9839 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9840
9841 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9842 Use lexical-binding.
9843 (jit-lock-force-redisplay): Use markers, check buffer's continued
9844 existence and beware narrowed buffers.
9845 (jit-lock-fontify-now): Adjust call accordingly.
9846
9847 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9848
9849 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9850 to avoid misleading the user.
9851
9852 2013-04-22 Leo Liu <sdl.web@gmail.com>
9853
9854 * info-look.el: Prefer latex2e.info. (Bug#14240)
9855
9856 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9857
9858 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9859
9860 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9861 * net/tramp.el (tramp-call-process): ... here.
9862 (tramp-set-completion-function, tramp-parse-putty):
9863 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9864 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9865 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9866 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9867 (tramp-call-local-coding-command): Use `tramp-call-process'
9868 instead of `tramp-compat-call-process'.
9869
9870 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9871 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9872 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9873 (tramp-find-inline-compress): Improve traces.
9874 (tramp-maybe-send-script): Check for Perl binary.
9875 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9876
9877 2013-04-22 Daiki Ueno <ueno@gnu.org>
9878
9879 * epg.el (epg-context-pinentry-mode): New function.
9880 (epg-context-set-pinentry-mode): New function.
9881 (epg--start): Pass --pinentry-mode option to gpg command.
9882
9883 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9884
9885 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9886 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9887 `completion-at-point'. (Bug#13774)
9888
9889 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9890 default key binding for `describe-distribution' has been moved to
9891 `C-h C-o'. (Bug#13970)
9892
9893 2013-04-21 Glenn Morris <rgm@gnu.org>
9894
9895 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9896 Add doc strings.
9897 (vc-print-log): Clarify interactive prompt.
9898
9899 2013-04-20 Glenn Morris <rgm@gnu.org>
9900
9901 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9902 No longer include timestamp etc information.
9903
9904 2013-04-20 Roland Winkler <winkler@gnu.org>
9905
9906 * faces.el (read-face-name): Bug fix, return just one face if arg
9907 multiple is nil. (Bug#14209)
9908
9909 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9910
9911 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9912 (remove-function): Autoload.
9913
9914 * comint.el (comint-redirect-original-filter-function): Remove.
9915 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9916 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9917 (vc-cvs-annotate-command):
9918 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9919 * progmodes/prolog.el (prolog-consult-compile):
9920 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9921 Use add/remove-function instead.
9922 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9923 (gud-tooltip-process-output, gud-tooltip-tips):
9924 Use add/remove-function instead.
9925 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9926 (scheme-interaction-mode, exit-scheme-interaction-mode):
9927 Use add/remove-function instead.
9928
9929 * vc/vc-dispatcher.el: Use lexical-binding.
9930 (vc--process-sentinel): Rename from vc-process-sentinel.
9931 Change last arg to be the code to run. Don't use vc-previous-sentinel
9932 and vc-sentinel-commands any more.
9933 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9934 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9935
9936 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9937
9938 * progmodes/sh-script.el (sh-imenu-generic-expression):
9939 Handle function names with a single character. (Bug#14111)
9940
9941 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9942
9943 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9944 for subroutines defined in an eval (bug#14182).
9945
9946 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9947
9948 * bookmark.el (bookmark-completing-read): Improve handling of empty
9949 string (bug#14176).
9950
9951 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9952
9953 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9954
9955 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9956
9957 New faster Imenu implementation (bug#14058).
9958 * progmodes/python.el:
9959 (python-imenu-prev-index-position):
9960 (python-imenu-format-item-label-function)
9961 (python-imenu-format-parent-item-label-function)
9962 (python-imenu-format-parent-item-jump-label-function):
9963 New vars.
9964 (python-imenu-format-item-label)
9965 (python-imenu-format-parent-item-label)
9966 (python-imenu-format-parent-item-jump-label)
9967 (python-imenu--put-parent, python-imenu--build-tree)
9968 (python-imenu-create-index, python-imenu-create-flat-index)
9969 (python-util-popn): New functions.
9970 (python-mode): Set imenu-create-index-function to
9971 python-imenu-create-index.
9972
9973 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9974
9975 * winner.el (winner-active-region): Use region-active-p, activate-mark
9976 and deactivate-mark (bug#14225).
9977
9978 * simple.el (deactivate-mark): Don't inline it.
9979
9980 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9981
9982 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9983
9984 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9985
9986 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9987 file extensions from the archive-mode entry in order to prefer
9988 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9989
9990 2013-04-18 Leo Liu <sdl.web@gmail.com>
9991
9992 * bindings.el (help-event-list): Add ?\?.
9993
9994 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9995
9996 * subr.el (with-wrapper-hook): Declare obsolete.
9997 * simple.el (filter-buffer-substring-function): New hook.
9998 (filter-buffer-substring): Use it.
9999 (filter-buffer-substring-functions): Mark obsolete.
10000 * minibuffer.el (completion-in-region-function): New hook.
10001 (completion-in-region): Use it.
10002 (completion-in-region-functions): Mark obsolete.
10003 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10004 * abbrev.el (abbrev-expand-function): New hook.
10005 (expand-abbrev): Use it.
10006 (abbrev-expand-functions): Mark obsolete.
10007 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10008 and :filter-return.
10009
10010 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10011
10012 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10013 and do not care about match data.
10014
10015 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10016
10017 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10018 completion tables when completing error conditions and
10019 `declare' arguments.
10020 (lisp-complete-symbol, field-complete): Mark as obsolete.
10021 (check-parens): Unmatched parens are user errors.
10022 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10023
10024 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10025
10026 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10027 command changed buffer (ie. `flyspell-pre-buffer' is not current
10028 buffer), which prevents making decisions based on invalid value of
10029 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10030 cause an error when `flyspell-pre-point' was nil after switching
10031 buffers.
10032 (flyspell-post-command-hook): No longer needs to change buffers when
10033 checking pre-word. While at it remove unnecessary progn.
10034
10035 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10036
10037 * textmodes/ispell.el (ispell-add-per-file-word-list):
10038 Fix `flyspell-correct-word-before-point' error when accepting
10039 words and `coment-padding' is an integer by using
10040 `comment-normalize-vars' (Bug #14214).
10041
10042 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10043
10044 New defun movement commands.
10045 * progmodes/python.el (python-nav--syntactically)
10046 (python-nav--forward-defun, python-nav-backward-defun)
10047 (python-nav-forward-defun): New functions.
10048
10049 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10050
10051 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10052 (python-syntax-context): Use named compiler-macro for backwards
10053 compatibility with Emacs 24.x.
10054
10055 2013-04-17 Leo Liu <sdl.web@gmail.com>
10056
10057 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10058 octave-hide-process-buffer.
10059
10060 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10061
10062 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10063 (bug#14216).
10064
10065 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10066
10067 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10068 Fix adjustment of offset when receiving incomplete responses from GDB
10069 (bug#14129).
10070
10071 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10072
10073 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10074 python-mode-abbrev-table.
10075 (python-skeleton-define): Adjust accordingly.
10076 (python-mode-abbrev-table): New table that inherits from it so that
10077 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10078
10079 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10080 (abbrev-symbol): Use it.
10081 (abbrev--before-point): Use it since we already handle inheritance.
10082
10083 2013-04-16 Leo Liu <sdl.web@gmail.com>
10084
10085 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10086 binding to info-lookup-symbol.
10087
10088 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10089
10090 * minibuffer.el (completion--twq-all):
10091 * term/ns-win.el (ns-initialize-window-system):
10092 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10093
10094 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10095
10096 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10097 global bindings.
10098
10099 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10100
10101 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10102
10103 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10104 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10105 to nil.
10106 (ruby-end-of-defun): Remove the unused arg, change the docstring
10107 to reflect that this function is only used as the value of
10108 `end-of-defun-function'.
10109 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10110 to reflect an earlier change that beginning/end-of-defun functions
10111 jump between methods in a class definition, as well as top-level
10112 functions.
10113
10114 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10115
10116 * minibuffer.el (minibuffer-complete): Don't just scroll
10117 a *Completions* that's been iconified.
10118 (minibuffer-force-complete): Make sure repetitions do cycle when going
10119 through completion-in-region -> minibuffer-complete.
10120
10121 2013-04-15 Alan Mackenzie <acm@muc.de>
10122
10123 Correct the placement of c-cpp-delimiters when there're #s not at
10124 col 0.
10125
10126 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10127 place a submatch around the #.
10128 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10129 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10130 on the #, not BOL.
10131
10132 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10133
10134 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10135 (advice--member-p): New arg `name'.
10136 (advice--add-function, advice-member-p): Use it (bug#14202).
10137
10138 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10139
10140 Reformulate java imenu-generic-expression.
10141 The old expression contained ill formed regexps.
10142
10143 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10144 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10145 (cc-imenu-java-method-arg-regexp): New defconsts.
10146 (cc-imenu-java-build-type-args-regex): New defun.
10147 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10148 handling of spaces in the regexp.
10149
10150 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10151
10152 * textmodes/ispell.el (ispell-command-loop): Remove
10153 flyspell highlight of a word when ispell accepts it (bug #14178).
10154
10155 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10156
10157 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10158 uses code from the previous `ange-ftp-run-real-handler'.
10159 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10160 only in case that function exist. This is needed for proper
10161 unloading of Tramp.
10162
10163 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10164
10165 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10166
10167 * textmodes/reftex.el (reftex-compile-variables): Use it.
10168
10169 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10170
10171 * files.el (normal-mode): Only use default major-mode if no other mode
10172 was specified.
10173
10174 * emacs-lisp/trace.el (trace-values): New function.
10175
10176 * files.el: Allow : in local variables (bug#14089).
10177 (hack-local-variable-regexp): New var.
10178 (hack-local-variables-prop-line, hack-local-variables): Use it.
10179
10180 2013-04-13 Roland Winkler <winkler@gnu.org>
10181
10182 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10183 data before it gets modified by bibtex-beginning-of-entry.
10184
10185 2013-04-13 Roland Winkler <winkler@gnu.org>
10186
10187 * textmodes/bibtex.el (bibtex-url): Doc fix.
10188
10189 2013-04-13 Roland Winkler <winkler@gnu.org>
10190
10191 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10192 does not visit a BibTeX file, exclude it from the list of buffers
10193 returned by bibtex-initialize.
10194
10195 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10196
10197 * window.el (split-window): Remove interactive form, since as a
10198 command this function is a special case of split-window-below.
10199 Correct doc string.
10200
10201 2013-04-12 Roland Winkler <winkler@gnu.org>
10202
10203 * faces.el (read-face-name): Do not override value of arg default.
10204 Allow single faces and strings as default values. Remove those
10205 elements from return value that are not faces.
10206 (describe-face): Simplify.
10207 (face-at-point): New optional args thing and multiple so that this
10208 function can provide the same functionality previously provided by
10209 read-face-name.
10210 (make-face-bold, make-face-unbold, make-face-italic)
10211 (make-face-unitalic, make-face-bold-italic, invert-face)
10212 (modify-face, read-face-and-attribute): Use face-at-point.
10213
10214 * cus-edit.el (customize-face, customize-face-other-window)
10215 * cus-theme.el (custom-theme-add-face)
10216 * face-remap.el (buffer-face-set)
10217 * facemenu.el (facemenu-set-face): Use face-at-point.
10218
10219 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10220
10221 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10222
10223 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10224
10225 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10226 off leading { and trailing } from field values.
10227
10228 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10229
10230 * emacs-lisp/timer.el (timer--check): New function.
10231 (timer--time, timer-set-function, timer-event-handler): Use it.
10232 (timer-set-idle-time): Simplify.
10233 (timer--activate): CSE.
10234 (timer-event-handler): Give more info in error message.
10235 (internal-timer-start-idle): New function, moved from C.
10236
10237 * mpc.el (mpc-proc): Add `restart' argument.
10238 (mpc-proc-cmd): Use it.
10239 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10240 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10241 less often.
10242
10243 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10244
10245 * progmodes/sh-script.el: Implement `sh-mode' own
10246 `add-log-current-defun-function' (bug#14112).
10247 (sh-current-defun-name): New function.
10248 (sh-mode): Use the function.
10249
10250 2013-04-09 Bastien Guerry <bzg@gnu.org>
10251
10252 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10253
10254 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10255
10256 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10257
10258 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10259 timer (bug#14156).
10260
10261 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10262
10263 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10264 declaration.
10265
10266 2013-04-07 Leo Liu <sdl.web@gmail.com>
10267
10268 * pcmpl-x.el: New file.
10269
10270 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10271
10272 Do not set x-display-name until X connection is established.
10273 This is needed to prevent from weird situation described at
10274 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10275 * frame.el (make-frame): Set x-display-name after call to
10276 window system initialization function, not before.
10277 * term/x-win.el (x-initialize-window-system): Add optional
10278 display argument and use it.
10279 * term/w32-win.el (w32-initialize-window-system):
10280 * term/ns-win.el (ns-initialize-window-system):
10281 * term/pc-win.el (msdos-initialize-window-system):
10282 Add compatible optional display argument.
10283
10284 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10285
10286 * files.el (normal-backup-enable-predicate): On MS-Windows and
10287 MS-DOS compare truenames of temporary-file-directory and of the
10288 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10289 don't fail comparison by compare-strings. Also, compare file
10290 names case-insensitively on MS-Windows and MS-DOS.
10291
10292 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10293
10294 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10295 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10296
10297 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10298
10299 * whitespace.el (whitespace-color-on, whitespace-color-off):
10300 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10301
10302 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10303
10304 * ispell.el (ispell-set-spellchecker-params):
10305 Really set `ispell-args' for all equivs.
10306
10307 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10308
10309 * ido.el (ido-completions): Use extra elements of ido-decorations
10310 (bug#14143).
10311 (ido-decorations): Update docstring.
10312
10313 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10314
10315 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10316 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10317 nil during initialization, in order not to miss changes since the
10318 file was opened. (Bug#14140)
10319
10320 2013-04-05 Leo Liu <sdl.web@gmail.com>
10321
10322 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10323
10324 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10325
10326 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10327
10328 2013-04-04 Glenn Morris <rgm@gnu.org>
10329
10330 * electric.el (electric-pair-inhibit-predicate): Add :version.
10331
10332 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10333
10334 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10335 when a package is required several times (bug#14082).
10336
10337 2013-04-04 Roland Winkler <winkler@gnu.org>
10338
10339 * faces.el (read-face-name): Behave as promised by the docstring.
10340 Assume that arg default is a list of faces.
10341 (describe-face): Call read-face-name with list of default faces.
10342
10343 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10344
10345 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10346 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10347 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10348 the header.
10349 (bookmark-exit-hook-internal): Save even if list is empty.
10350
10351 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10352
10353 * emacs-lisp/package.el (package-pinned-packages): New var.
10354 (package--add-to-archive-contents): Obey it (bug#14118).
10355
10356 2013-04-03 Alan Mackenzie <acm@muc.de>
10357
10358 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10359 Also adapt to the new values of element 7 of a parse state.
10360
10361 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10362 parameter `not-in-delimiter'. Handle being inside comment opener.
10363 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10364 character in case we're typing a '*' after a '/'.
10365 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10366 instead by passing the parameter to c-state-pp-to-literal.
10367
10368 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10369 for elt. 7 of a parse state.
10370
10371 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10372
10373 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10374 * international/latin1-disp.el, international/mule-util.el:
10375 * language/cyril-util.el, language/european.el, language/ind-util.el:
10376 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10377 * language/tibetan.el, language/viet-util.el:
10378 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10379
10380 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10381
10382 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10383 (electric-pair-post-self-insert-function): Use it.
10384 (electric-pair-default-inhibit): New function, extracted from
10385 electric-pair-post-self-insert-function.
10386
10387 2013-03-31 Roland Winkler <winkler@gnu.org>
10388
10389 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10390
10391 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10392
10393 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10394
10395 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10396
10397 Un-indent after "pass" and "return" statements (Bug#13888)
10398 * progmodes/python.el (python-indent-block-enders): New var.
10399 (python-indent-calculate-indentation): Use it.
10400
10401 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10402
10403 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10404 defun. Defining it as defalias could introduce too eager
10405 byte-compiler optimization. (Bug#14030)
10406
10407 2013-03-30 Chong Yidong <cyd@gnu.org>
10408
10409 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10410
10411 2013-03-30 Leo Liu <sdl.web@gmail.com>
10412
10413 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10414 (kmacro-execute-from-register): Pass the keyboard macro to
10415 kmacro-call-macro or repeating won't work correctly.
10416
10417 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10418
10419 * progmodes/subword.el: Back to using `forward-symbol'.
10420
10421 * subr.el (forward-whitespace, forward-symbol)
10422 (forward-same-syntax): Move from thingatpt.el.
10423
10424 2013-03-29 Leo Liu <sdl.web@gmail.com>
10425
10426 * kmacro.el (kmacro-to-register): New command.
10427 (kmacro-execute-from-register): New function.
10428 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10429
10430 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10431
10432 * mpc.el: Use defvar-local and setq-local.
10433 (mpc--proc-connect): Connection failures are not bugs.
10434 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10435 (mpc-volume-map): Bind to the up-events.
10436
10437 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10438
10439 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10440 instead of `forward-symbol'.
10441
10442 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10443
10444 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10445 (edebug--recursive-edit): Use it.
10446 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10447 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10448
10449 2013-03-28 Leo Liu <sdl.web@gmail.com>
10450
10451 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10452
10453 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10454
10455 * facemenu.el (list-colors-callback): New defvar.
10456 (list-colors-redisplay): New function.
10457 (list-colors-display): Install list-colors-redisplay as the
10458 revert-buffer-function. (Bug#14063)
10459
10460 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10461
10462 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10463 and suffixes don't overlap (bug#14061).
10464
10465 * case-table.el: Use lexical-binding.
10466 (case-table-get-table): New function.
10467 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10468
10469 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10470
10471 * progmodes/subword.el: Add `superword-mode' to do word motion
10472 over symbol_words (parallels and leverages `subword-mode' which
10473 does word motion inside MixedCaseWords).
10474
10475 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10476
10477 * eshell/em-unix.el: Move su and sudo to...
10478 * eshell/em-tramp.el: ...Eshell tramp module.
10479
10480 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10481
10482 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10483 Change return value to be a sexp. Delay `get-buffer' to after
10484 restoring the desktop (bug#13951).
10485
10486 2013-03-26 Leo Liu <sdl.web@gmail.com>
10487
10488 * register.el: Move semantic tag handling back to
10489 cedet/semantic/senator.el. (Bug#14052)
10490
10491 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10492
10493 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10494 into the prompt either (bug#13963).
10495
10496 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10497
10498 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10499 part of "(error-foo)".
10500
10501 2013-03-24 Juri Linkov <juri@jurta.org>
10502
10503 * replace.el (list-matching-lines-prefix-face): New defcustom.
10504 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10505 `occur-engine' if `face-differs-from-default-p' returns t.
10506 (occur-engine): Add `,' inside backquote construct to evaluate
10507 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10508 Pass `prefix-face' to the functions `occur-context-lines' and
10509 `occur-engine-add-prefix'.
10510 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10511 `prefix-face' and propertize the prefix with `prefix-face'.
10512 (Bug#14017)
10513
10514 2013-03-24 Leo Liu <sdl.web@gmail.com>
10515
10516 * nxml/rng-valid.el (rng-validate-while-idle)
10517 (rng-validate-quick-while-idle): Guard against deleted buffer.
10518 (Bug#13999)
10519
10520 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10521 is the last entry in kill-buffer-hook.
10522
10523 * files.el (kill-buffer-hook): Doc fix.
10524
10525 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10526
10527 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10528 Make it safe-local.
10529
10530 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10531
10532 2013-03-23 Leo Liu <sdl.web@gmail.com>
10533
10534 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10535 Remove.
10536
10537 * nxml/rng-valid.el (rng-validate-mode)
10538 (rng-after-change-function, rng-do-some-validation):
10539 * nxml/rng-maint.el (rng-validate-buffer):
10540 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10541 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10542 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10543 (nxml-extend-after-change-region): Use with-silent-modifications.
10544
10545 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10546 timer-idle-list.
10547
10548 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10549 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10550 timer-idle-list. (Bug#13999)
10551
10552 2013-03-23 Juri Linkov <juri@jurta.org>
10553
10554 * info.el (info-index-match): New face.
10555 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10556 main pattern and add text properties with the new face to matches
10557 in index entries relative to the beginning of the index entry.
10558 (Bug#14015)
10559
10560 2013-03-21 Eric Ludlam <zappo@gnu.org>
10561
10562 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10563 Inhibit read only while inserting objects.
10564
10565 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10566
10567 * progmodes/cfengine.el: Update docs to mention
10568 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10569 symbol motion. Remove "_" from the word syntax.
10570
10571 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10572
10573 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10574 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10575
10576 2013-03-20 Juri Linkov <juri@jurta.org>
10577
10578 * info.el (Info-next-reference-or-link)
10579 (Info-prev-reference-or-link): New functions.
10580 (Info-next-reference, Info-prev-reference): Use them.
10581 (Info-try-follow-nearest-node): Handle footnote navigation.
10582 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10583
10584 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10585
10586 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10587 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10588
10589 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10590
10591 Suppress unnecessary non-ASCII chatter during build process.
10592 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10593 (batch-skkdic-convert): Suppress most of the chatter.
10594 It's not needed so much now that machines are faster,
10595 and its non-ASCII component was confusing; see Dmitry Gutov in
10596 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10597
10598 2013-03-20 Leo Liu <sdl.web@gmail.com>
10599
10600 * ido.el (ido-chop): Fix bug#10994.
10601
10602 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10603
10604 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10605 Remove vars.
10606 (whitespace-color-on, whitespace-color-off):
10607 Use `font-lock-fontify-buffer' (Bug#13817).
10608
10609 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10610
10611 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10612 remapping in mode-line.
10613 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10614
10615 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10616
10617 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10618 value for `whitespace-line' face (Bug#13875).
10619 (whitespace-font-lock-keywords): Change description.
10620 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10621 the constructed keywords instead.
10622 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10623
10624 2013-03-19 Leo Liu <sdl.web@gmail.com>
10625
10626 * progmodes/compile.el (compilation-display-error): New command.
10627 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10628 C-o. (Bug#13992)
10629
10630 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10631
10632 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10633
10634 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10635
10636 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10637
10638 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10639
10640 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10641
10642 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10643 * net/tramp-gvfs.el (top):
10644 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10645 (tramp-handle-shell-command): Use it.
10646 (tramp-dissect-file-name): Raise an error when hostname is a
10647 method name, and neither method nor user is specified.
10648
10649 * net/trampver.el: Update release number.
10650
10651 2013-03-18 Leo Liu <sdl.web@gmail.com>
10652
10653 Make sure eldoc can be turned off properly.
10654 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10655 eldoc-mode.
10656 (eldoc-display-message-p): Revert last change.
10657 (eldoc-display-message-no-interference-p)
10658 (eldoc-print-current-symbol-info): Tweak.
10659
10660 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10661
10662 * doc-view.el (doc-view-new-window-function): Check the new window
10663 overlay's display property instead the char property of the
10664 buffer's first char. Use `with-selected-window' instead of
10665 `save-window-excursion' with `select-window'.
10666 (doc-view-document->bitmap): Check the current doc-view overlay's
10667 display property instead the char property of the buffer's first char.
10668
10669 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10670
10671 Automate the build of ja-dic.el (Bug#13984).
10672 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10673 from the input, rather than assume that it's been done for us by the
10674 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10675 the current date into a ja-dic.el comment, as that complicates
10676 regression testing.
10677
10678 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10679
10680 * whitespace.el: Fix double evaluation.
10681 (whitespace-space, whitespace-hspace, whitespace-tab)
10682 (whitespace-newline, whitespace-trailing, whitespace-line)
10683 (whitespace-space-before-tab, whitespace-indentation)
10684 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10685 obsolete defvars.
10686 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10687 (whitespace-color-on): Use a single font-lock-add-keywords call.
10688 Fix double-evaluation of face variables.
10689
10690 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10691
10692 * net/tramp-adb.el (tramp-adb-parse-device-names):
10693 Use `start-process' instead of `call-process'. Otherwise, the
10694 function might be blocked under MS Windows. (Bug#13299)
10695
10696 2013-03-17 Leo Liu <sdl.web@gmail.com>
10697
10698 Extend eldoc to display info in the mode-line. (Bug#13978)
10699 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10700 (eldoc-mode-line-string): New variable.
10701 (eldoc-minibuffer-message): New function.
10702 (eldoc-message-function): New variable.
10703 (eldoc-message): Use it.
10704 (eldoc-display-message-p)
10705 (eldoc-display-message-no-interference-p):
10706 Support eldoc-post-insert-mode.
10707
10708 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10709 (eval-expression): Run it.
10710
10711 2013-03-17 Roland Winkler <winkler@gnu.org>
10712
10713 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10714 strings in the list of return values.
10715
10716 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10717
10718 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10719 radix before checking for HMS forms.
10720
10721 2013-03-16 Leo Liu <sdl.web@gmail.com>
10722
10723 * progmodes/scheme.el: Add indentation and font-locking for λ.
10724 (Bug#13975)
10725
10726 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10727
10728 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10729 token before point (bug#13942).
10730
10731 2013-03-16 Leo Liu <sdl.web@gmail.com>
10732
10733 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10734
10735 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10736
10737 * startup.el (command-line-normalize-file-name): Fix handling of
10738 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10739 <xfq.free@gmail.com> in
10740 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10741
10742 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10743
10744 Sync with Tramp 2.2.7.
10745
10746 * net/trampver.el: Update release number.
10747
10748 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10749
10750 * doc-view.el: Fix bug#13887.
10751 (doc-view-insert-image): Don't modify overlay associated to
10752 non-live windows, and implement horizontal centering of image in
10753 case it's smaller than the window.
10754 (doc-view-new-window-function): Force redisplay of new windows on
10755 doc-view buffers.
10756
10757 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10758
10759 * saveplace.el (save-place-alist-to-file): Don't sort
10760 `save-place-alist', just pretty-print it (bug#13882).
10761
10762 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10763
10764 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10765 Check whether `default-file-name-coding-system' is bound.
10766 It isn't in XEmacs.
10767
10768 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10769
10770 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10771 backquotes for `obsolete' (bug#13929).
10772
10773 * international/mule.el (find-auto-coding): Include file name in
10774 obsolescence warning (bug#13922).
10775
10776 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10777
10778 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10779 for CFEngine 3-specific indentation.
10780 (cfengine3-indent-line): Use it. Fix up category regex.
10781 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10782
10783 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10784
10785 * type-break.el (type-break-file-name):
10786 * textmodes/remember.el (remember-data-file):
10787 * strokes.el (strokes-file):
10788 * shadowfile.el (shadow-initialize):
10789 * saveplace.el (save-place-file):
10790 * ps-bdf.el (bdf-cache-file):
10791 * progmodes/idlwave.el (idlwave-config-directory):
10792 * net/quickurl.el (quickurl-url-file):
10793 * international/kkc.el (kkc-init-file-name):
10794 * ido.el (ido-save-directory-list-file):
10795 * emulation/viper.el (viper-custom-file-name):
10796 * emulation/vip.el (vip-startup-file):
10797 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10798 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10799
10800 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10801
10802 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10803 * language/thai-word.el: Switch to UTF-8.
10804
10805 See ChangeLog.16 for earlier changes.
10806
10807 ;; Local Variables:
10808 ;; coding: utf-8
10809 ;; End:
10810
10811 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10812
10813 This file is part of GNU Emacs.
10814
10815 GNU Emacs is free software: you can redistribute it and/or modify
10816 it under the terms of the GNU General Public License as published by
10817 the Free Software Foundation, either version 3 of the License, or
10818 (at your option) any later version.
10819
10820 GNU Emacs is distributed in the hope that it will be useful,
10821 but WITHOUT ANY WARRANTY; without even the implied warranty of
10822 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10823 GNU General Public License for more details.
10824
10825 You should have received a copy of the GNU General Public License
10826 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.