Fix doc-string of display-buffer-in-side-window (Bug#16115).
[bpt/emacs.git] / lisp / ChangeLog
... / ...
CommitLineData
12013-12-11 Martin Rudalics <rudalics@gmx.at>
2
3 * window.el (display-buffer-in-side-window): Fix doc-string
4 (Bug#16115).
5
62013-12-11 Juanma Barranquero <lekktu@gmail.com>
7
8 * vc/vc-git.el: Silence byte-compiler warnings.
9 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
10 (log-edit-set-header): Declare.
11
122013-12-11 Eli Zaretskii <eliz@gnu.org>
13
14 * Makefile.in (custom-deps, finder-data): Run output file names
15 through unmsys--file-name. (Bug#16099)
16
172013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
18
19 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
20 comment-start-skip, since it fails when that uses submatch 1 (bug#16041).
21
22 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
23 instead of deleting the selection "by hand" (bug#16098).
24 Rely on insert-for-yank to yank rectangles.
25 (cua-highlight-region-shift-only): Mark obsolete.
26 (cua-mode): Don't enable/disable transient-mark-mode,
27 shift-select-mode (cua-mode works both with and without them), and
28 pc-selection-mode (obsolete).
29 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
30 (cua--deactivate-rectangle): Deactivate it.
31
32 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
33 (delete-selection-helper): Make sure yank starts at the top of the
34 deleted region.
35 (minibuffer-keyboard-quit): Use region-active-p.
36
37 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
38
39 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
40 to `delete' (bug#16109).
41
422013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
43
44 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
45 info manual and show keybindings and set `:group' keyword.
46
472013-12-11 Juri Linkov <juri@jurta.org>
48
49 * delsel.el (delete-active-region): Let-bind `this-command'
50 to prevent `kill-region' from changing its original value.
51 (delete-selection-helper): Handle `overwrite-mode' for the type
52 `kill' exactly the same way as for the type `t'.
53 (insert-char, quoted-insert, reindent-then-newline-and-indent):
54 Support more commands. (Bug#13312)
55
562013-12-11 Juri Linkov <juri@jurta.org>
57
58 * bindings.el: Map kp keys to non-kp keys systematically
59 with basic modifiers control, meta and shift. (Bug#14397)
60
612013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
62
63 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
64 "Close browser" menu items. Fix wrong function of "List
65 bookmarks".
66
672013-12-11 Juri Linkov <juri@jurta.org>
68
69 * misearch.el (multi-isearch-buffers): Set the value of
70 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
71 arg of isearch-forward to t.
72 (multi-isearch-buffers-regexp): Set the value of
73 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
74 arg of isearch-forward-regexp to t.
75 (multi-isearch-files): Set the value of
76 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
77 arg of isearch-forward to t.
78 (multi-isearch-files-regexp): Set the value of
79 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
80 arg of isearch-forward-regexp to t. (Bug#16035)
81
82 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
83 arg of isearch-forward to t.
84 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
85 arg of isearch-forward-regexp to t.
86 (dired-isearch-filter-filenames): Remove unnecessary check for
87 `dired-isearch-filenames'.
88
89 * comint.el (comint-history-isearch-backward):
90 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
91 (comint-history-isearch-backward-regexp):
92 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
93
942013-12-10 Eli Zaretskii <eliz@gnu.org>
95
96 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
97 unmsys--file-name. (Bug#16099)
98
992013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
100
101 * emacs-lisp/package.el (package-keyword-button-action): Remove
102 finder.el require dependency.
103
1042013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
105
106 * emacs-lisp/package.el: Require finder.el.
107 (describe-package-1): Add keyword buttons.
108 (package-make-button): New convenience function.
109 (package-keyword-button-action): Keyword button action using
110 `finder-list-matches'
111
1122013-12-09 Eli Zaretskii <eliz@gnu.org>
113
114 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
115 last commit.
116
1172013-12-09 Michael Albinus <michael.albinus@gmx.de>
118
119 * autorevert.el (auto-revert-notify-add-watch): Do not handle
120 symlinked files.
121
1222013-12-09 Dmitry Gutov <dgutov@yandex.ru>
123
124 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
125 after the end of a percent literal.
126
1272013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
128
129 * progmodes/ruby-mode.el (ruby-forward-string): Document. Handle
130 caret-delimited strings (Bug#16079).
131
1322013-12-09 Dmitry Gutov <dgutov@yandex.ru>
133
134 * progmodes/ruby-mode.el (ruby-accurate-end-of-block): When
135 `ruby-use-smie' is t, use `smie-forward-sexp' instead of
136 `ruby-parse-partial' (Bug#16078).
137
1382013-12-09 Leo Liu <sdl.web@gmail.com>
139
140 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
141
1422013-12-08 Dmitry Gutov <dgutov@yandex.ru>
143
144 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
145 (js-switch-indent-offset): New option.
146 (js--proper-indentation): Use it. And handle the case when
147 "default" is actually a key in an object literal.
148 (js--same-line): New function.
149 (js--multi-line-declaration-indentation): Use it.
150 (js--indent-in-array-comp, js--array-comp-indentation): New
151 functions.
152 (js--proper-indentation): Use them, to handle array comprehension
153 continuations.
154
1552013-12-08 Leo Liu <sdl.web@gmail.com>
156
157 * progmodes/flymake.el (flymake-highlight-line): Re-write.
158 (flymake-make-overlay): Remove arg MOUSE-FACE.
159 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
160
1612013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
162
163 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
164 New function.
165 (redisplay-highlight-region-function): Use it.
166
167 * emulation/cua-base.el (cua--explicit-region-start)
168 (cua--last-region-shifted): Remove.
169 (cua--deactivate): Use deactivate-mark.
170 (cua--pre-command-handler-1): Don't handle shift-selection.
171 (cua--post-command-handler-1): Don't change transient-mark-mode.
172 (cua--select-keymaps): Use region-active-p rather than
173 cua--explicit-region-start or cua--last-region-shifted.
174 (cua-mode): Enable shift-select-mode.
175
1762013-12-08 Leo Liu <sdl.web@gmail.com>
177
178 * progmodes/flymake.el (flymake-popup-current-error-menu):
179 Rename from flymake-display-err-menu-for-current-line. Reimplement.
180 (flymake-posn-at-point-as-event, flymake-popup-menu)
181 (flymake-make-emacs-menu): Remove. (Bug#16077)
182
1832013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
184
185 * rect.el (rectangle-mark-mode): Activate mark even if
186 transient-mark-mode is off (bug#16066).
187 (rectangle--highlight-for-redisplay): Fix boundary condition when point
188 is > mark and at bolp.
189
190 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
191 (region-extract-function): Use it.
192 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
193 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
194 Delete functions.
195 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
196 kill-ring-save, kill-region, delete-char, delete-forward-char.
197 Ignore self-insert-iso.
198
199 * emulation/cua-gmrk.el (cua--init-global-mark):
200 Ignore `self-insert-iso'.
201
202 * emulation/cua-base.el (cua--prefix-copy-handler)
203 (cua--prefix-cut-handler): Rely on region-extract-function rather than
204 checking cua--rectangle.
205 (cua-delete-region): Use region-extract-function.
206 (cua-replace-region): Delete function.
207 (cua-copy-region, cua-cut-region): Obey region-extract-function.
208 (cua--pre-command-handler-1): Don't do the delete-selection thing.
209 (cua--self-insert-char-p): Ignore `self-insert-iso'.
210 (cua--init-keymaps): Don't remap delete-selection commands.
211 (cua-mode): Use delete-selection-mode instead of rolling our own
212 (bug#16085).
213
214 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
215 Obey region-extract-function.
216
217 Make registers and delete-selection-mode work on rectangles.
218 * register.el (describe-register-1): Don't modify the register's value.
219 (copy-to-register): Obey region-extract-function.
220 * delsel.el (delete-active-region): Obey region-extract-function.
221
2222013-12-08 Leo Liu <sdl.web@gmail.com>
223
224 * progmodes/flymake.el (flymake, flymake-error-bitmap)
225 (flymake-warning-bitmap, flymake-fringe-indicator-position)
226 (flymake-compilation-prevents-syntax-check)
227 (flymake-start-syntax-check-on-newline)
228 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
229 (flymake-start-syntax-check-on-find-file, flymake-log-level)
230 (flymake-xml-program, flymake-master-file-dirs)
231 (flymake-master-file-count-limit)
232 (flymake-allowed-file-name-masks): Relocate.
233 (flymake-makehash, flymake-float-time)
234 (flymake-replace-regexp-in-string, flymake-split-string)
235 (flymake-get-temp-dir): Remove.
236 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
237 (flymake-current-row, flymake-selected-frame)
238 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
239 related functions. (Bug#16077)
240
2412013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
242
243 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
244
2452013-12-07 Tassilo Horn <tsdh@gnu.org>
246
247 * help-fns.el (describe-function-1): Use new advice-* functions
248 rather than old ad-* functions. Fix function type description and
249 source links for advised functions and subrs.
250
2512013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
252
253 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
254
2552013-12-06 Michael Albinus <michael.albinus@gmx.de>
256
257 * progmodes/compile.el (compilation-start):
258 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
259
260 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
261 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
262
2632013-12-06 Dmitry Gutov <dgutov@yandex.ru>
264
265 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
266 Touch up the last change.
267
2682013-12-06 Leo Liu <sdl.web@gmail.com>
269
270 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
271 (inferior-octave-startup): Always use "octave> " for prompt.
272 (octave-goto-function-definition)
273 (octave-sync-function-file-names)
274 (octave-find-definition-default-filename): Remove redundant backquotes.
275
2762013-12-06 Dmitry Gutov <dgutov@yandex.ru>
277
278 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
279 syntax for `?'.
280 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
281 where appropriate already.
282 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
283 end of method names (Bug#15874).
284
2852013-12-06 Juri Linkov <juri@jurta.org>
286
287 * isearch.el (isearch--saved-overriding-local-map):
288 New internal variable.
289 (isearch-mode): Set it to the initial value of
290 `overriding-terminal-local-map'.
291 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
292 with `isearch--saved-overriding-local-map'. (Bug#16035)
293
2942013-12-06 Dmitry Gutov <dgutov@yandex.ru>
295
296 * progmodes/octave.el (inferior-octave-completion-table):
297 Turn back into function, use `completion-table-with-cache'
298 (Bug#11906). Update all references.
299
300 * minibuffer.el (completion-table-with-cache): New function.
301
3022013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
303
304 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
305
3062013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
307
308 * net/eww.el (eww-current-source): New variable to store page
309 source.
310 (eww-display-html, eww-mode, eww-save-history)
311 (eww-restore-history): Use it.
312 (eww-view-source): New command to view page source.
313 Opportunistically uses `html-mode' to highlight the buffer.
314 (eww-mode-map): Install it.
315
3162013-12-05 Michael Albinus <michael.albinus@gmx.de>
317
318 * net/dbus.el (dbus-unregister-service)
319 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
320 Fix docstring.
321 (dbus-unregister-service): Skip :serial entries in
322 `dbus-registered-objects-table'.
323 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
324
3252013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
326
327 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
328 around keywords with extra `split-string' argument.
329
3302013-12-04 Martin Rudalics <rudalics@gmx.at>
331
332 * windmove.el (windmove-other-window-loc): Handle navigation
333 between windows (excluding the minibuffer window - Bug#16017).
334
3352013-12-04 Michael Albinus <michael.albinus@gmx.de>
336
337 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
338 in D-Bus type syntax.
339 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
340 preserve unibyte strings. (Bug#16048)
341
3422013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
343
344 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
345 Call force-mode-line-update is the proper buffer (bug#16042).
346
3472013-12-04 Dmitry Gutov <dgutov@yandex.ru>
348
349 * vc/log-edit.el (log-edit-add-new-comment): Rename to
350 `log-edit-remember-comment', make argument optional. Adjust all
351 callers.
352 (log-edit-mode): Add `log-edit-remember-comment' to
353 `kill-buffer-hook' locally.
354 (log-edit-kill-buffer): Don't remember comment explicitly since
355 the buffer is killed anyway.
356
3572013-12-04 Juri Linkov <juri@jurta.org>
358
359 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
360 add-hook and remove-hook for multi-buffer search. (Bug#16035)
361
3622013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
363
364 * notifications.el (notifications-close-notification): Call the
365 D-Bus method with ID being a `:uint32'. (Bug#16030)
366
3672013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
368
369 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
370
3712013-12-03 Juri Linkov <juri@jurta.org>
372
373 * progmodes/compile.el (compilation-start): Rename window alist
374 entry `no-display-ok' to `allow-no-window'.
375
376 * simple.el (shell-command): Add window alist entry
377 `allow-no-window' to `display-buffer'.
378 (async-shell-command): Doc fix.
379
380 * window.el (display-buffer-no-window): New action function.
381 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
382
3832013-12-02 Dmitry Gutov <dgutov@yandex.ru>
384
385 * vc/log-edit.el (log-edit-set-header): Extract from
386 `log-edit-toggle-header'.
387 (log-edit-extract-headers): Separate the summary, when extracted
388 from header, from the rest of the message with an empty line.
389
390 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
391 line, if present, to the Summary header.
392
3932013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
394
395 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
396 in current-buffer (bug#16029).
397
3982013-12-02 Helmut Eller <eller.helmut@gmail.com>
399
400 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
401 (debugger-mode-map): Bind it.
402 (debugger--backtrace-base): New function.
403 (debugger-eval-expression): Use it.
404 (debugger-frame-number): Skip local vars when present.
405 (debugger--locals-visible-p, debugger--insert-locals)
406 (debugger--show-locals, debugger--hide-locals): New functions.
407
4082013-12-02 Michael Albinus <michael.albinus@gmx.de>
409
410 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
411 "LC_ALL".
412 (tramp-get-remote-locale): New defun.
413 (tramp-open-connection-setup-interactive-shell): Use it.
414
4152013-12-02 Leo Liu <sdl.web@gmail.com>
416
417 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
418
419 * progmodes/sh-script.el (sh-shell-process):
420 * progmodes/octave.el (inferior-octave-process-live-p):
421 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
422 (gdb-inferior-io-sentinel):
423 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
424
4252013-12-02 Dmitry Gutov <dgutov@yandex.ru>
426
427 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
428 `save-selected-window' to `log-edit-hide-buf'. This makes
429 `log-edit-show-files' idempotent.
430 (log-edit-show-files): Mark the new window as dedicated.
431
4322013-12-02 Dmitry Gutov <dgutov@yandex.ru>
433
434 * vc/log-edit.el (log-edit-mode-map): Add binding for
435 `log-edit-kill-biffer'.
436 (log-edit-hide-buf): Add a FIXME comment.
437 (log-edit-add-new-comment): New function, extracted from
438 `log-edit-done'.
439 (log-edit-done, log-edit-add-to-changelog): Use it.
440 (log-edit-kill-buffer): New command.
441
4422013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
443
444 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
445 instead of killing the buffer.
446
4472013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
448
449 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
450
4512013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
452
453 * net/eww.el (eww-form-checkbox-selected-symbol)
454 (eww-form-checkbox-symbol): New customizable variable.
455 (eww-form-checkbox, eww-toggle-checkbox):
456 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
457
458 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
459 (shr--get-media-pref, shr--extract-best-source): New function.
460 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
461 no :src tag was specified.
462
463 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
464 (eww-render): Handle `eww-use-external-browser-for-content-type'.
465 Use \\` to match beginning of string instead of ^.
466 (eww-browse-with-external-browser): Provide optional URL parameter.
467 (eww-render): Set `eww-current-title' back to "".
468
469 * net/shr.el (shr-tag-video): Display content for video if no
470 poster is available.
471 (shr-tag-audio): Add support for <audio> tag.
472
473 * net/eww.el (eww-text-input-types): : New const.
474 (eww-process-text-input): Treat input types in
475 `eww-text-input-types' as text.
476
477 * net/shr.el (shr-tag-table): Fix comment typo.
478
4792013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
480
481 * net/eww.el (eww-follow-link): New command to avoid reloading
482 pages when we follow #target links (bug#15243).
483 (eww-quit): Special mode buffers shouldn't query before exiting.
484
4852013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
486
487 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
488 forms.
489
4902013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
491
492 * net/eww.el (eww-restore-history): Update the window title after
493 moving in the history.
494 (eww-current-dom): New variable used to save the current DOM.
495
4962013-12-01 Dmitry Gutov <dgutov@yandex.ru>
497
498 * vc/log-edit.el (log-edit-mode-map): Add binding for
499 `log-edit-beginning-of-line'.
500 (log-edit-setup-add-author): New user option.
501 (log-edit-beginning-of-line): New command.
502 (log-edit): Move major mode call above the contents setup so that
503 the local variable values are already applied.
504 (log-edit): Only insert "Author: " when
505 `log-edit-setup-add-author' is non-nil.
506 (log-edit): When SETUP is non-nil, position point after ": "
507 instead of point-min.
508
5092013-12-01 Glenn Morris <rgm@gnu.org>
510
511 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
512
5132013-11-30 Eli Zaretskii <eliz@gnu.org>
514
515 * startup.el (fancy-splash-frame): On MS-Windows, trigger
516 redisplay to make sure the initial frame gets a chance to become
517 visible. (Bug#16014)
518
5192013-11-30 Martin Rudalics <rudalics@gmx.at>
520
521 Support resizing frames and windows pixelwise.
522 * cus-start.el (frame-resize-pixelwise)
523 (window-resize-pixelwise): New entries.
524 * emacs-lisp/debug.el (debug): Use window-total-height instead
525 of window-total-size.
526 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
527 * help.el (describe-bindings-internal): Call help-buffer
528 (temp-buffer-max-width): New option.
529 (resize-temp-buffer-window, help-window-setup)
530 (with-help-window): Rewrite.
531 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
532 dragging dividers.
533 * window.el (frame-char-size, window-min-pixel-height)
534 (window-safe-min-pixel-height, window-safe-min-pixel-width)
535 (window-min-pixel-width, window-safe-min-pixel-size)
536 (window-combination-p, window-safe-min-size)
537 (window-resizable-p, window--size-to-pixel)
538 (window--pixel-to-size, window--resize-apply-p): New functions.
539 (window-safe-min-height): Fix doc-string.
540 (window-size, window-min-size, window--min-size-1)
541 (window-sizable, window-sizable-p, window--min-delta-1)
542 (window-min-delta, window--max-delta-1, window-max-delta)
543 (window--resizable, window--resizable-p, window-resizable)
544 (window-full-height-p, window-full-width-p, window-at-side-p)
545 (window--in-direction-2, window-in-direction)
546 (window--resize-reset-1, window--resize-mini-window)
547 (window-resize, window-resize-no-error)
548 (window--resize-child-windows-normal)
549 (window--resize-child-windows, window--resize-siblings)
550 (window--resize-this-window, window--resize-root-window)
551 (window--resize-root-window-vertically)
552 (adjust-window-trailing-edge, enlarge-window, shrink-window)
553 (maximize-window, minimize-window, delete-window)
554 (quit-restore-window, window-split-min-size, split-window)
555 (balance-windows-2, balance-windows)
556 (balance-windows-area-adjust, balance-windows-area)
557 (window--state-get-1, window-state-get, window--state-put-1)
558 (window--state-put-2, window-state-put)
559 (display-buffer-record-window, window--display-buffer):
560 Make functions handle pixelwise sizing of windows.
561 (display-buffer--action-function-custom-type)
562 (display-buffer-fallback-action):
563 Add display-buffer-in-previous-window.
564 (display-buffer-use-some-window): Resize window to height it had
565 before.
566 (fit-window-to-buffer-horizontally): New option.
567 (fit-frame-to-buffer): Describe new values.
568 (fit-frame-to-buffer-bottom-margin): Replace with
569 fit-frame-to-buffer-margins.
570 (window--sanitize-margin): New function.
571 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
572 using window-text-pixel-size.
573
5742013-11-30 Glenn Morris <rgm@gnu.org>
575
576 * emacs-lisp/bytecomp.el (byte-compile-form):
577 Make the `interactive-only' warning like the `obsolete' one.
578 * comint.el (comint-run):
579 * files.el (insert-file-literally, insert-file):
580 * replace.el (replace-string, replace-regexp):
581 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
582 (goto-line, insert-buffer, next-line, previous-line):
583 Tweak `interactive-only' spec.
584
585 Stop keeping (most) generated cedet grammar files in the repository.
586 * Makefile.in (semantic): New.
587 (compile-main): Depend on semantic.
588
5892013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
590
591 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
592 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
593
594 * uniquify.el (uniquify-buffer-name-style): Change default.
595
596 * loadup.el: Preload "uniquify".
597
598 * time.el (display-time-update): Update all mode lines (bug#15999).
599
600 * electric.el (electric-indent-mode): Enable by default.
601 * loadup.el: Preload "electric".
602
6032013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
604
605 * emacs-lisp/helpers.el (string-empty-p): New function.
606 (string-blank-p): New function.
607
6082013-11-29 Andreas Politz <politza@hochschule-trier.de>
609
610 * imenu.el (imenu--index-alist): Add missing dot to the docstring
611 (Bug#14029).
612
6132013-11-29 Andreas Politz <politza@fh-trier.de>
614 * imenu.el (imenu--subalist-p): Don't error on non-conses and
615 allow non-lambda lists as functions.
616 (imenu--in-alist): Don't recurse into non-subalists.
617 (imenu): Don't pass function itself as an argument (Bug#14029).
618
6192013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
620
621 * progmodes/python.el (python-mode-map): Remove binding for ":".
622 (python-indent-electric-colon): Remove command.
623 (python-indent-post-self-insert-function): Integrate the previous code
624 of python-indent-electric-colon. Make it conditional on
625 electric-indent-mode.
626 (python-mode): Add ?: to electric-indent-chars.
627 Move python-indent-post-self-insert-function to the end of
628 post-self-insert-hook.
629
6302013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
631
632 * doc-view.el (doc-view-goto-page): Update mode-line.
633
634 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
635
6362013-11-27 Glenn Morris <rgm@gnu.org>
637
638 * international/charprop.el, international/uni-bidi.el:
639 * international/uni-category.el, international/uni-combining.el:
640 * international/uni-comment.el, international/uni-decimal.el:
641 * international/uni-decomposition.el, international/uni-digit.el:
642 * international/uni-lowercase.el, international/uni-mirrored.el:
643 * international/uni-name.el, international/uni-numeric.el:
644 * international/uni-old-name.el, international/uni-titlecase.el:
645 * international/uni-uppercase.el:
646 Remove generated files from VCS repository.
647
6482013-11-27 Eli Zaretskii <eliz@gnu.org>
649
650 * filenotify.el (file-notify-add-watch): Don't special-case
651 w32notify when computing the directory to watch.
652
6532013-11-27 Glenn Morris <rgm@gnu.org>
654
655 Make bootstrap without generated uni-*.el files possible again.
656 * loadup.el: Update command-line-args checking for unidata-gen.
657 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
658 * composite.el, international/characters.el:
659 Handle unicode tables being undefined.
660
661 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
662 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
663 (compile-main): Depend on leim rule.
664 (leim): New rule.
665 * loadup.el: Move leim-list.el to leim/ subdirectory.
666 * startup.el (normal-top-level): No more leim directory.
667 * international/ja-dic-cnv.el (skkdic-convert):
668 Disable version-control and autoloads in output files.
669 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
670 Disable version-control and autoloads in output files.
671 * leim/quail: Move here from ../leim.
672 * leim/quail/hangul.el (hangul-input-method-activate):
673 Add autoload cookie.
674 (generated-autoload-load-name): Set file-local value.
675 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
676 (generated-autoload-load-name): Set file-local value.
677
6782013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
679
680 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
681 (eww-add-bookmark): ask confirmation when add to bookmarks
682 (eww-quit): ask confirmation before quitting eww
683
6842013-11-26 Eli Zaretskii <eliz@gnu.org>
685
686 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
687 reading output from Diff on MS-Windows and MS-DOS.
688
6892013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
690
691 * emacs-lisp/helpers.el (string-reverse): New function.
692
6932013-11-26 Michael Albinus <michael.albinus@gmx.de>
694
695 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
696 names on MS Windows, like "/[::1]:".
697
698 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
699 SWITCHES.
700
7012013-11-26 Glenn Morris <rgm@gnu.org>
702
703 * progmodes/python.el (python-indent-guess-indent-offset):
704 Avoid corner-case error. (Bug#15975)
705
706 Preload leim-list.el. (Bug#4789)
707 * loadup.el: Load leim-list.el when found.
708 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
709
7102013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
711
712 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
713
714 * emacs-lisp/helpers.el (string-join): New function.
715
7162013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
717
718 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
719 Mark as obsolete and replace it with a symbol property.
720 (byte-compile-form): Use new 'interactive-only property.
721 * comint.el, files.el, replace.el, simple.el:
722 Apply new 'interactive-only properly.
723
7242013-11-25 Martin Rudalics <rudalics@gmx.at>
725
726 * window.el (display-buffer-at-bottom): Make sure that
727 split-window-sensibly creates the new window on bottom
728 (Bug#15961).
729
7302013-11-23 David Kastrup <dak@gnu.org>
731
732 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
733 on the conflict markers when available.
734 (smerge--get-marker): New function.
735 (smerge-end-re, smerge-base-re): Add subgroup.
736
7372013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
738
739 * frame.el (handle-focus-in, handle-focus-out): Add missing
740 interactive spec.
741
7422013-11-25 Michael Albinus <michael.albinus@gmx.de>
743
744 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
745 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
746
7472013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
748
749 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
750 (gomoku--last-pos): New var.
751 (gomoku--intangible-chars): New const.
752 (gomoku--intangible): New function.
753 (gomoku-mode): Use it. Derive from special-mode.
754 (gomoku-move-up): Adjust line count.
755 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
756 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
757 Simplify accordingly.
758
759 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
760 Remove blink-cursor code.
761 (blink-cursor-timer-function, blink-cursor-suspend):
762 Don't special-case GUIs.
763 (blink-cursor-mode): Use focus-in/out-hook.
764
7652013-11-25 Dmitry Gutov <dgutov@yandex.ru>
766
767 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
768 work when annotation is invisible (Bug#13886).
769
7702013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
771
772 * json.el (json-alist-p): Only return non-nil if the alist has
773 simple keys (Bug#13518).
774
7752013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
776
777 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
778 when control-statement is the first statement in a buffer (Bug#15956).
779
7802013-11-24 Dmitry Gutov <dgutov@yandex.ru>
781
782 * imenu.el (imenu-generic-skip-comments-and-strings):
783 New option (Bug#15560).
784 (imenu--generic-function): Use it.
785
7862013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
787
788 * minibuffer.el (completion--in-region-1): Scroll the correct
789 window. (Bug#13898)
790
7912013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
792
793 * emacs-lisp/helpers.el: Add some string helpers.
794 (string-trim-left): Removes leading whitespace.
795 (string-trim-right): Removes trailing whitespace.
796 (string-trim): Removes leading and trailing whitespace.
797
798 * subr.el (string-suffix-p): New function.
799
8002013-11-23 Glenn Morris <rgm@gnu.org>
801
802 * progmodes/python.el (python-shell-send-file):
803 Add option to delete file when done. (Bug#15647)
804 (python-shell-send-string, python-shell-send-region): Use it.
805
8062013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
807
808 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
809 to set buffer-read-only to t, never to nil. (Bug#15938)
810
811 * textmodes/tex-mode.el (latex-noindent-environments):
812 Add safe-local-variable property. (Bug#15936)
813
8142013-11-23 Glenn Morris <rgm@gnu.org>
815
816 * textmodes/enriched.el (enriched-mode): Doc fix.
817 * emacs-lisp/authors.el (authors-renamed-files-alist):
818 Add enriched.doc -> enriched.txt.
819
820 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
821
8222013-11-22 Leo Liu <sdl.web@gmail.com>
823
824 * progmodes/octave.el (inferior-octave-startup): Spit out error
825 message.
826
8272013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
828
829 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
830 Improve docstring.
831 Add :version.
832 (ruby-encoding-magic-comment-style): Add :version.
833
8342013-11-22 Leo Liu <sdl.web@gmail.com>
835
836 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
837 (Bug#15076)
838 (octave-help-mode): Adapt to change to help-mode-finish to use
839 derived-mode-p on 2013-09-17.
840 (inferior-octave-prompt): Also match octave-gui.
841 (octave-kill-process): Don't ask twice. (Bug#10564)
842
8432013-11-22 Leo Liu <sdl.web@gmail.com>
844
845 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
846 (inferior-octave-startup, inferior-octave-check-process)
847 (inferior-octave-track-window-width-change)
848 (octave-completion-at-point, octave-eldoc-function): Use it.
849 (octave-kill-process): Provide confirmation. (Bug#10564)
850
8512013-11-21 Leo Liu <sdl.web@gmail.com>
852
853 * progmodes/octave.el (octave-mode, inferior-octave-mode):
854 Fix obsolete variable comment-use-global-state.
855
8562013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
857
858 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
859 Add `octave-source-file'.
860 (octave-source-file): New function. (Bug#15935)
861
8622013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
863
864 * net/eww.el (eww-local-regex): New variable.
865 (eww): Use it to detect localhost and similar.
866
8672013-11-21 Leo Liu <sdl.web@gmail.com>
868
869 Add completion for command `ag'.
870 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
871 (pcomplete/ag): New function.
872 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
873
8742013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
875
876 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
877 (bug#14646).
878 (make-obsolete): Remove interactive spec.
879
8802013-11-21 Glenn Morris <rgm@gnu.org>
881
882 * startup.el (command-line-1): Use path-separator with -L.
883
8842013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
885
886 * emacs-lisp/package.el (describe-package-1): Add package archive
887 to shown fields.
888
8892013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
890
891 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
892 Change default to "# encoding: %s" to differentiate it from the
893 default Ruby encoding comment template.
894
8952013-11-20 era eriksson <era+emacsbugs@iki.fi>
896
897 * ses.el (ses-mode): Doc fix. (Bug#14748)
898
8992013-11-20 Leo Liu <sdl.web@gmail.com>
900
901 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
902
9032013-11-19 Dan Nicolaescu <dann@gnu.org>
904
905 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
906 when rebase or bisect are in progress.
907
9082013-11-19 Xue Fuqiao <xfq.free@gmail.com>
909
910 * filenotify.el (file-notify-add-watch): Doc fix.
911
9122013-11-19 Leo Liu <sdl.web@gmail.com>
913
914 * obsolete/rcompile.el: Mark obsolete.
915
916 * progmodes/compile.el (compilation-start)
917 (compilation-goto-locus, compilation-find-file):
918 Pass no-display-ok and handle nil value from display-buffer.
919 (Bug#13594)
920
921 * window.el (display-buffer-alist, display-buffer): Document the
922 new parameter no-display-ok. Return either a window or nil
923 but never a non-window value.
924
9252013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
926
927 * electric.el (electric-indent-mode-map): Remove.
928 (electric-indent-mode): Change the global-map instead (bug#15915).
929
930 * textmodes/text-mode.el (paragraph-indent-minor-mode):
931 Use add-function.
932
9332013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
934
935 * emacs-lisp/nadvice.el (remove-function): Align with
936 add-function's behavior.
937
938 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
939 (gdb--string-regexp): New constant.
940 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
941 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
942 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
943 submatch 1.
944 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
945 Adjust use accordingly.
946 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
947
9482013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
949
950 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
951 interpolation curlies (Bug#15914).
952
9532013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
954
955 * calc/calc.el (calc-context-sensitive-enter): New variable.
956 (calc-enter): Use `calc-context-sensitive-enter'.
957
9582013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
959
960 * progmodes/cfengine.el: Version bump.
961 (cfengine-cf-promises): New defcustom to locate cf-promises.
962 (cfengine3-vartypes): Add new "data" type.
963 (cfengine3--current-word): New function to get current name-like
964 word or its bounds.
965 (cfengine3--current-function): New function to look up a CFEngine
966 function's definition.
967 (cfengine3-format-function-docstring): New function.
968 (cfengine3-make-syntax-cache): New function.
969 (cfengine3-documentation-function): New function: ElDoc glue.
970 (cfengine3-completion-function): New function: completion glue.
971 (cfengine3-mode): Set `compile-command',
972 `eldoc-documentation-function', and add to
973 `completion-at-point-functions'.
974
9752013-11-16 Michael Albinus <michael.albinus@gmx.de>
976
977 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
978 `tramp-current-connection'.
979
9802013-11-15 Dmitry Gutov <dgutov@yandex.ru>
981
982 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
983 nil/self/true/false with "end of symbol".
984
9852013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
986
987 * subr.el (version-regexp-alist): Fix a typo.
988
9892013-11-15 Michael Albinus <michael.albinus@gmx.de>
990
991 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
992 "en_US.utf8" and "LC_CTYPE" to "".
993 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
994 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
995
9962013-11-15 Leo Liu <sdl.web@gmail.com>
997
998 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
999
10002013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1001
1002 * progmodes/gud.el (ctl-x-map):
1003 Remove C-x SPC binding. (Bug#12342)
1004 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1005
10062013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1007
1008 * subr.el (version-regexp-alist):
1009 Recognize hg, svn and darcs versions as snapshot versions.
1010
1011 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1012 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1013 (ruby--encoding-comment-required-p): Extract from
1014 `ruby-mode-set-encoding'.
1015 (ruby-mode-set-encoding): Add the ability to always insert an
1016 utf-8 encoding comment. Fix and simplify coding comment update
1017 logic.
1018
10192013-11-14 Michael Albinus <michael.albinus@gmx.de>
1020
1021 * net/tramp-gvfs.el (top): Run init code only when
1022 `tramp-gvfs-enabled' is not nil.
1023 (tramp-gvfs-enabled): Check also :system bus.
1024
10252013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1026
1027 Sync with upstream verilog-mode revision 78e66ba.
1028 * progmodes/verilog-mode.el (verilog-end-of-defun)
1029 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1030 (verilog-get-end-of-defun): Remove unused argument.
1031 (verilog-comment-depth): Remove unused local `e'.
1032 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1033 Don't pass arg to verilog-get-end-of-defun.
1034
10352013-11-14 Glenn Morris <rgm@gnu.org>
1036
1037 * obsolete/assoc.el (aget): Prefix dynamic variable.
1038
1039 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1040
10412013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1042
1043 * widget.el, hfy-cmap.el: Remove bogus package version number.
1044
10452013-11-13 Glenn Morris <rgm@gnu.org>
1046
1047 * replace.el (replace-eval-replacement):
1048 Try to give more helpful error message. (Bug#15836)
1049
1050 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1051 (archive-7z-update): Avoid custom type mismatches.
1052
1053 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1054
10552013-11-13 Michael Albinus <michael.albinus@gmx.de>
1056
1057 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1058 address can be empty.
1059
1060 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1061 Accept nil SWITCHES.
1062 (tramp-gvfs-handle-write-region): Implement APPEND.
1063
10642013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1065
1066 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1067 binary "|" operator and closing block args delimiter.
1068 Remove FIXME comment referring to Ruby 1.8-only syntax.
1069 (ruby-smie--implicit-semi-p): Not after "|" operator.
1070 (ruby-smie--closing-pipe-p): New function.
1071 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1072 (ruby-smie-rules): Indent after "|".
1073
10742013-11-12 Glenn Morris <rgm@gnu.org>
1075
1076 * ps-print.el (ps-face-attribute-list):
1077 Handle anonymous faces. (Bug#15827)
1078
10792013-11-12 Martin Rudalics <rudalics@gmx.at>
1080
1081 * window.el (display-buffer-other-frame): Fix doc-string.
1082 (Bug#15868)
1083
10842013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1085
1086 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1087
10882013-11-11 Michael Albinus <michael.albinus@gmx.de>
1089
1090 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1091 (tramp-sh-handle-file-local-copy): Don't write a message when
1092 saving temporary files.
1093
1094 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1095 both directories are remote.
1096 (tramp-smb-handle-directory-files): Do not return double entries.
1097 Do not expand full file names.
1098 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1099 (tramp-smb-handle-write-region): Implement APPEND.
1100 (tramp-smb-get-stat-capability): Fix a stupid bug.
1101
11022013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1103
1104 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1105
11062013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1107
1108 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1109 throwing error over malformed let/let* (bug#15814).
1110
11112013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1112
1113 * iswitchb.el (iswitchb-mode): Mark obsolete.
1114
11152013-11-11 Glenn Morris <rgm@gnu.org>
1116
1117 * international/uni-bidi.el, international/uni-category.el:
1118 * international/uni-name.el, international/uni-numeric.el:
1119 Regenerate for Unicode 6.3.0.
1120
11212013-11-10 Michael Albinus <michael.albinus@gmx.de>
1122
1123 * net/tramp.el (tramp-methods):
1124 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1125 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1126
11272013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1128
1129 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1130 Force highlighting text after Summary keyword in doc face for rpm.
1131
11322013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1133
1134 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1135 available and the word has no wildcards, append one to the grep pattern.
1136 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1137 (ispell-complete-word): Call `ispell-lookup-words' with the value
1138 independent of `ispell-look-p'.
1139
11402013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1141
1142 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1143 Not after "||".
1144 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1145 their parent.
1146
11472013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1148
1149 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1150 (ruby-font-lock-keywords): Use backquote.
1151
11522013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1153
1154 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1155 (ruby-smie--backward-token): Only consider full-string matches.
1156
11572013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1158
1159 * faces.el (describe-face): Add distant-foreground.
1160
11612013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1162
1163 * progmodes/ruby-mode.el: Improve encoding comment handling.
1164 (ruby-encoding-magic-comment-style): New option.
1165 (ruby-custom-encoding-magic-comment-template): New option.
1166 (ruby--insert-coding-comment, ruby--detect-encoding):
1167 New functions extracted from `ruby-mode-set-encoding'.
1168 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1169 to control the style of the auto-inserted encoding comment.
1170
11712013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1172
1173 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1174 Use `smie-backward-sexp' with token argument.
1175
11762013-11-08 Michael Albinus <michael.albinus@gmx.de>
1177
1178 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1179 Remove instrumentation code.
1180
11812013-11-08 Glenn Morris <rgm@gnu.org>
1182
1183 * progmodes/autoconf.el (autoconf-mode):
1184 Tweak comment-start-skip. (Bug#15822)
1185
11862013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1187
1188 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1189 at bobp (bug#15826).
1190 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1191
11922013-11-08 Darren Hoo <darren.hoo@gmail.com>
1193
1194 * man.el (Man-start-calling): New macro, extracted from
1195 Man-getpage-in-background.
1196 (Man-getpage-in-background): Use it.
1197 (Man-update-manpage): New command.
1198 (Man-mode-map): Bind it.
1199
12002013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1201
1202 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1203 of "and", "or", "&&" and "||".
1204 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1205 argument. Prohibit opening curly brace because it could only be a
1206 block opener in that position.
1207 (ruby-smie--forward-token, ruby-smie--backward-token):
1208 Separate "|" from "&" or "*" going after it. That can happen in block
1209 arguments.
1210 (ruby-smie--indent-to-stmt): New function, seeks the end of
1211 previous statement or beginning of buffer.
1212 (ruby-smie-rules): Use it.
1213 (ruby-smie-rules): Check if there's a ":" before a curly block
1214 opener candidate; if there is, it's a hash.
1215
12162013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1217
1218 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1219 (cl--block-wrapper): Fix last accidental change.
1220
12212013-11-07 Michael Albinus <michael.albinus@gmx.de>
1222
1223 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1224 Instrument, in order to hunt failure on hydra.
1225
12262013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1227
1228 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1229 malformed bindings form (bug#15814).
1230
12312013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1232
1233 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1234 "." compared to " @ ". This incidentally fixes some indentation
1235 examples with "do".
1236 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1237 (ruby-smie-grammar): New tokens: "and" and "or".
1238 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1239 Exclude "and" and "or". Remove "do" in order to work around token
1240 priorities.
1241 (ruby-smie-rules): Add all infix tokens. Handle the case of
1242 beginning-of-buffer.
1243
12442013-11-06 Glenn Morris <rgm@gnu.org>
1245
1246 * Makefile.in (setwins_almost, setwins_for_subdirs):
1247 Avoid accidental matches.
1248
12492013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1250
1251 * menu-bar.el (popup-menu): Use key-binding.
1252
12532013-11-06 Eli Zaretskii <eliz@gnu.org>
1254
1255 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1256 menus, support also the menus produced by minor modes.
1257 (Bug#15817)
1258
12592013-11-06 Leo Liu <sdl.web@gmail.com>
1260
1261 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1262 DISTANCE to bound the search. All uses changed. (Bug#15808)
1263
12642013-11-06 Glenn Morris <rgm@gnu.org>
1265
1266 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1267 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1268 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1269
12702013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1271
1272 * electric.el (electric-indent-just-newline): New command.
1273 (electric-indent-mode-map): New keymap.
1274 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1275 Re-add :group which weren't redundant.
1276
1277 * electric.el (electric-indent-local-mode): New minor mode.
1278 (electric-indent-functions-without-reindent): New var.
1279 (electric-indent-post-self-insert-function): Use it.
1280 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1281
12822013-11-05 Eli Zaretskii <eliz@gnu.org>
1283
1284 * international/quail.el (quail-help): Be more explicit about the
1285 meaning of the labels shown on the keys. (Bug#15800)
1286
1287 * startup.el (normal-top-level): Load the subdirs.el files before
1288 setting the locale environment. (Bug#15805)
1289
12902013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1291
1292 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1293 via arguments so as to get the right ones (bug#15418).
1294
1295 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1296
12972013-11-05 Michael Albinus <michael.albinus@gmx.de>
1298
1299 Fix problems found while writing a test suite.
1300
1301 * net/tramp-compat.el (tramp-compat-load): New defun.
1302 * net/tramp.el (tramp-handle-load): Use it.
1303
1304 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1305 "(numberp ok-if-already-exists)" correctly.
1306
13072013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1308
1309 * international/characters.el (glyphless-char-display-control):
1310 Add usage note.
1311
13122013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1313
1314 * progmodes/python.el (python-mode):
1315 * progmodes/scheme.el (scheme-mode):
1316 * progmodes/prolog.el (prolog-mode):
1317 * progmodes/ruby-mode.el (ruby-mode):
1318 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1319 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1320
13212013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1322
1323 * rect.el (rectangle--highlight-for-redisplay):
1324 * emacs-lisp/smie.el (smie--next-indent-change):
1325 Use buffer-chars-modified-tick.
1326
1327 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1328
1329 * electric.el (electric-indent-post-self-insert-function):
1330 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1331
13322013-11-04 Helmut Eller <eller.helmut@gmail.com>
1333
1334 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1335
13362013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1337
1338 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1339 (bug#15786).
1340
13412013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1342
1343 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1344
1345 * progmodes/python.el: Fix up last change.
1346 (python-shell--save-temp-file): New function.
1347 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1348 `string' comes from the current buffer.
1349 (python-shell-send-string-no-output): Remove `msg' arg.
1350 (python--use-fake-loc): New var.
1351 (python-shell-buffer-substring): Obey it. Try to compensate for the
1352 extra coding line added by python-shell--save-temp-file.
1353 (python-shell-send-region): Use python-shell--save-temp-file and
1354 python-shell-send-file directly. Add `nomain' argument.
1355 (python-shell-send-buffer): Use python-shell-send-region.
1356 (python-electric-pair-string-delimiter): New function.
1357 (python-mode): Use it.
1358
13592013-11-04 Eli Zaretskii <eliz@gnu.org>
1360
1361 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1362 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1363 environment and decoding all of the default-directory's to here
1364 from command-line.
1365 (command-line): Decode also argv[0].
1366
1367 * loadup.el: Error out if default-directory is a multibyte string
1368 when we are dumping.
1369
1370 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1371
13722013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1373
1374 * emacs-lisp/package.el (package-menu-mode)
1375 (package-menu--print-info, package-menu--archive-predicate):
1376 Add Archive column to package list.
1377
13782013-11-04 Michael Albinus <michael.albinus@gmx.de>
1379
1380 Fix problems found while writing a test suite.
1381
1382 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1383 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1384 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1385 to nil when running original file name handler. Otherwise,
1386 there are problems with constructs like "$$FOO".
1387
1388 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1389 for `localname'.
1390
13912013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1392
1393 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1394
1395 * subr.el (version<, version<=, version=):
1396 Update docstrings with information for snapshot versions.
1397
1398 * helpers.el: New library for misc helper functions.
1399 (hash-table-keys): New function returning a list of hash keys.
1400 (hash-table-values): New function returning a list of hash values.
1401
14022013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1403
1404 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1405 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1406
14072013-11-04 Michal Nazarewicz <mina86@mina86.com>
1408
1409 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1410 checking whether point is after a 1-letter word.
1411
14122013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1413
1414 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1415 Don't infloop when expanding region over `multiline' syntax-type that
1416 begins a line (bug#15778).
1417
14182013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1419
1420 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1421 Make it into a proper minor mode.
1422 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1423 (rectangle-mark-mode-map): New keymap.
1424 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1425
14262013-11-04 Glenn Morris <rgm@gnu.org>
1427
1428 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1429
14302013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1431
1432 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1433 (ruby-smie-rules): Use smie-rule-parent instead.
1434
1435 * emacs-lisp/smie.el (smie-rule-parent): Always call
1436 smie-indent-virtual rather than only for hanging tokens.
1437 (smie--next-indent-change): New helper command.
1438
14392013-11-03 Glenn Morris <rgm@gnu.org>
1440
1441 * Makefile.in (abs_srcdir): Remove.
1442 (emacs): Unset EMACSLOADPATH.
1443
14442013-11-02 Glenn Morris <rgm@gnu.org>
1445
1446 * Makefile.in (EMACS): Use a relative filename.
1447 (abs_top_builddir): Remove.
1448 (custom-deps, finder-data, autoloads): Use --chdir.
1449
1450 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1451
1452 Use relative filenames in TAGS files.
1453 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1454 (lisptagsfiles4, TAGS): Use relative file names.
1455 (TAGS-LISP): Remove.
1456 (maintainer-clean): No more TAGS-LISP file.
1457
1458 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1459 (lisptagsfiles4): Use absolute filenames again.
1460 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1461 Remove all *loaddefs files, not just the first. Remove esh-groups.
1462 (maintainer-clean): Delete TAGS, TAGS-LISP.
1463
14642013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1465
1466 * emacs-lisp/package.el (package-version-join):
1467 Recognize snapshot versions.
1468
14692013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1470
1471 * subr.el (version-regexp-alist): Add support for snapshot versions.
1472
14732013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1474
1475 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1476 New function, replacement for `smie-rule-parent' for when we want to
1477 skip over our direct parent if it's an assignment token..
1478 (ruby-smie-rules): Use it.
1479
14802013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1481
1482 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1483 unconditionally. Remove now unnecessary forward declarations.
1484 Remove XEmacs-specific setup.
1485 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1486 (ruby-font-lock-syntactic-keywords)
1487 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1488 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1489 (ruby-here-doc-end-syntax): Remove.
1490 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1491 defined as function.
1492
14932013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1494
1495 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1496
14972013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1498
1499 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1500 table and abbrev table, `define-derived-mode' does that for us
1501 anyway.
1502
15032013-11-01 Glenn Morris <rgm@gnu.org>
1504
1505 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1506 files is atomic for some time, so no parallel compilation issues).
1507
15082013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1509
1510 * faces.el (face-x-resources): Add :distant-foreground.
1511 (region): Use :distant-foreground for gtk and ns.
1512
15132013-11-01 Tassilo Horn <tsdh@gnu.org>
1514
1515 Allow multiple bibliographies when BibLaTeX is used rather than
1516 BibTeX.
1517 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1518 (reftex-locate-bibliography-files): Us it.
1519
15202013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1521
1522 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1523 allow comments in pbm files.
1524
1525 * term/w32-win.el (dynamic-library-alist): Support newer versions
1526 of libjpeg starting with v7: look only for the DLL from the
1527 version against which Emacs was built.
1528 Support versions of libpng beyond 1.4.x.
1529 Support libtiff v4.x.
1530
15312013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1532
1533 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1534 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1535 Add property :safe.
1536 (ruby-deep-arglist): Add property :type.
1537
15382013-10-31 Glenn Morris <rgm@gnu.org>
1539
1540 * Makefile.in (custom-deps, finder-data): No need to setq the target
1541 variables, we are in the right directory and the defaults work fine.
1542
15432013-10-30 Glenn Morris <rgm@gnu.org>
1544
1545 * Makefile.in (autoloads): Do not use abs_lisp.
1546
1547 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1548 `newline' does not respect `standard-output', so use `princ'.
1549
15502013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1551
1552 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1553 * buff-menu.el (Buffer-menu--unmark): New function.
1554 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1555
15562013-10-30 Glenn Morris <rgm@gnu.org>
1557
1558 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1559
1560 * emacs-lisp/package.el (lm-homepage): Declare.
1561
1562 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1563 Fix doc typos.
1564
1565 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1566
1567 * Makefile.in (finder-data, autoloads, update-subdirs)
1568 (compile-main, compile-clean, compile-always, bootstrap-clean):
1569 Check return value of cd.
1570 (compile-calc): Remove.
1571
15722013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1573
1574 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1575
1576 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1577 (byte-compile-and-folded): New function.
1578 (=, <, >, <=, >=): Use it.
1579
1580 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1581 (path-separator, null-device, buffer-file-coding-system)
1582 (lpr-headers-switches): Check system-type before modifying them.
1583 (find-buffer-file-type-coding-system): Mark obsolete.
1584 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1585 find-file-not-found-set-buffer-file-coding-system.
1586 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1587 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1588 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1589 (w32-direct-print-region-helper, w32-direct-print-region-function)
1590 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1591 * startup.el (normal-top-level-add-subdirs-to-load-path):
1592 * ps-print.el (ps-print-region-function):
1593 * lpr.el (print-region-function): Use new name.
1594
1595 * subr.el (custom-declare-variable-early): Remove function.
1596 (custom-declare-variable-list): Remove var.
1597 (error, user-error): Remove `while' loop.
1598 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1599 (user-emacs-directory-warning, locate-user-emacs-file):
1600 Move to files.el.
1601 * simple.el (read-quoted-char-radix, read-quoted-char):
1602 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1603 Move from subr.el.
1604 * custom.el (custom-declare-variable-list): Don't process
1605 custom-declare-variable-list.
1606
1607 * progmodes/python.el (python-shell-get-buffer): New function.
1608 (python-shell-get-process): Use it.
1609 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1610 Python which encoding was used. Don't split-string since we only care
1611 about the first line. Return the temp-file, if applicable.
1612 (python-shell-send-region): Tell compile.el how to turn locations in
1613 the temp-file into locations in the source buffer.
1614
16152013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1616
1617 * subr.el (undefined): Add missing behavior from the C code for
1618 unbound keys.
1619
1620 * rect.el: Use lexical-binding. Add new rectangular region support.
1621 (rectangle-mark): New command.
1622 (rectangle--region): New var.
1623 (deactivate-mark-hook): Reset rectangle--region.
1624 (rectangle--extract-region, rectangle--insert-for-yank)
1625 (rectangle--highlight-for-redisplay)
1626 (rectangle--unhighlight-for-redisplay): New functions.
1627 (region-extract-function, redisplay-unhighlight-region-function)
1628 (redisplay-highlight-region-function): Use them to handle
1629 rectangular region.
1630 * simple.el (region-extract-function): New var.
1631 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1632 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1633 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1634 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1635 (redisplay-unhighlight-region-function)
1636 (redisplay-highlight-region-function): New vars.
1637 (redisplay--update-region-highlight): New function.
1638 (pre-redisplay-function): Use it.
1639 (exchange-point-and-mark): Don't deactivate the mark before
1640 reactivate-it anyway.
1641 * comint.el (comint-kill-region): Remove yank-handler argument.
1642 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1643 (delete-char): Remove property, since it's now part of their
1644 default behavior.
1645 (self-insert-iso): Remove property since this command doesn't exist.
1646
1647 * emacs-lisp/package.el (package--download-one-archive)
1648 (describe-package-1): Don't query the user about final newline.
1649
16502013-10-29 Daniel Colascione <dancol@dancol.org>
1651
1652 * net/tramp.el (tramp-methods): Document new functionality.
1653 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1654 tramp-hostname-checker if method provides one instead of scanning
1655 argument list for "%h" to decide hostname acceptability.
1656
16572013-10-28 Michael Albinus <michael.albinus@gmx.de>
1658
1659 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1660 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1661 Handle COPY-CONTENTS. (Bug#15737)
1662
16632013-10-28 Daiki Ueno <ueno@gnu.org>
1664
1665 * epa-file.el
1666 (epa-file-cache-passphrase-for-symmetric-encryption):
1667 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1668
16692013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1670
1671 * image.el (defimage):
1672 (image-load-path): Doc fixes.
1673
16742013-10-27 Alan Mackenzie <acm@muc.de>
1675
1676 Indent statements in macros following "##" correctly.
1677 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1678 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1679
16802013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1681
1682 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1683
16842013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1685
1686 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1687 after `=' is probably a new expression.
1688
16892013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1690
1691 * man.el (man-imenu-title): New option.
1692 (Man-mode-map): Add menu. (Bug#15722)
1693 (Man-mode): Add imenu to menu.
1694
16952013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1696
1697 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1698 specific in what the first arg can be: a non-keyword word,
1699 string/regexp/percent literal opener, opening paren, or unary
1700 operator followed directly by word.
1701
17022013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1703
1704 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1705 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1706 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1707 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1708 Remove vars, they do not apply any more.
1709 (prolog-mode-abbrev-table): Remove redundant declaration.
1710 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1711 (prolog-use-smie): Remove.
1712 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1713 supported by prolog-electric-if-then-else-flag.
1714 (prolog-mode-variables, prolog-menu): Use setq-local.
1715 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1716 Remove binding to `Backspace' since this key doesn't exist anyway.
1717 Remove bindings for electric self-inserting keys.
1718 (prog-mode): Assume it's defined.
1719 (prolog-post-self-insert): New function.
1720 (prolog-mode): Use it.
1721 (prolog-indent-line, prolog-indent-level)
1722 (prolog-find-indent-of-matching-paren)
1723 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1724 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1725 (prolog-goto-next-paren, prolog-in-string-or-comment)
1726 (prolog-tokenize, prolog-inside-mline-comment)
1727 (prolog-find-start-of-mline-comment): Remove functions.
1728 (prolog-find-unmatched-paren, prolog-clause-end)
1729 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1730 (prolog-electric--if-then-else): Rename from
1731 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1732 (prolog-tokenize-searchkey): Remove const.
1733 (prolog-clause-info): Use forward-sexp.
1734 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1735 (prolog-electric-if-then-else): Remove commands.
1736 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1737 for use in post-self-insert-hook.
1738 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1739 for use in post-self-insert-hook.
1740 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1741 for use in post-self-insert-hook.
1742 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1743 adapt it for use in post-self-insert-hook.
1744
17452013-10-25 Michael Albinus <michael.albinus@gmx.de>
1746
1747 * emacs-lisp/ert.el (ert-run-tests-interactively):
1748 Use `completing-read'. (Bug#9756)
1749
17502013-10-25 Eli Zaretskii <eliz@gnu.org>
1751
1752 * simple.el (line-move): Call line-move-1 instead of
1753 line-move-visual when the current window hscroll is zero, but
1754 temporary-goal-column indicates we will need to hscroll as result
1755 of the movement. (Bug#15712)
1756
17572013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1758
1759 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1760 capitalization. Use :visible instead of :active.
1761 Fix `ruby-indent-exp' reference. Add menu items for the generic
1762 commands that are used with SMIE.
1763 (ruby-do-end-to-brace): Insert space after `{'.
1764
17652013-10-25 John Anthony <john@jo.hnanthony.com>
1766
1767 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1768
1769 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1770
17712013-10-25 Glenn Morris <rgm@gnu.org>
1772
1773 * vc/vc.el (vc-print-log): Don't use a working revision unless
1774 one was explicitly specified. (Bug#15322)
1775
17762013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1777
1778 * subr.el (add-to-list): Preserve return value in compiler-macro
1779 (bug#15692).
1780
17812013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1782
1783 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1784 result. Ask user to retry using '-all' flag. (Bug#15701)
1785
17862013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1787
1788 * emacs-lisp/smie.el: New smie-config system.
1789 (smie-config): New defcustom.
1790 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1791 (smie-config-guess, smie-config-save): New commands.
1792 (smie-config--mode-local, smie-config--buffer-local)
1793 (smie-config--trace, smie-config--modefuns): New vars.
1794 (smie-config--advice, smie-config--mode-hook)
1795 (smie-config--setter, smie-config-local, smie-config--get-trace)
1796 (smie-config--guess-value, smie-config--guess): New functions.
1797 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1798 text properties. Treat "string fence" syntax like string syntax.
1799
1800 * progmodes/sh-script.el (sh-use-smie): Change default.
1801 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1802 (sh-var-value): Simplify by CSE.
1803 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1804 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1805 is used.
1806 (sh-guess-basic-offset): Use cl-incf.
1807 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1808
18092013-10-24 Helmut Eller <eller.helmut@gmail.com>
1810
1811 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1812 (bug#15699).
1813
18142013-10-24 Glenn Morris <rgm@gnu.org>
1815
1816 * Makefile.in (abs_top_srcdir): Remove.
1817 (update-subdirs): Use relative path to update-subdirs.
1818
18192013-10-24 Eli Zaretskii <eliz@gnu.org>
1820
1821 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1822 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1823 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1824 Call unmsys--file-name before expand-file-name, not after it.
1825
18262013-10-24 Michael Albinus <michael.albinus@gmx.de>
1827
1828 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1829 (ert-test-skipped): New error.
1830 (ert-skip, ert-stats-skipped): New defuns.
1831 (ert--skip-unless): New macro.
1832 (ert-test-skipped): New struct.
1833 (ert--run-test-debugger, ert-test-result-type-p)
1834 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1835 (ert--stats-set-test-and-result, ert-char-for-test-result)
1836 (ert-string-for-test-result, ert-run-tests-batch)
1837 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1838 Handle skipped tests. (Bug#9803)
1839
18402013-10-24 Glenn Morris <rgm@gnu.org>
1841
1842 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1843
1844 * Makefile.in (abs_top_srcdir): New, set by configure.
1845 (update-subdirs): Correct build-aux location.
1846
18472013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1848
1849 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1850 value, whether we could auto-deduce `backend', or not.
1851
1852 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1853 with parameters" example. Simplify the "is it block or is it
1854 hash" check, but also make it more thorough.
1855
18562013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1857
1858 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1859
18602013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1861
1862 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1863 { if it is hanging.
1864
1865 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1866 :before ";".
1867
18682013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1869
1870 * progmodes/compile.el (compilation-directory-matcher)
1871 (compilation-page-delimiter):
1872 Support GNU Make-4.0 directory quoting. (Bug#15678)
1873
18742013-10-23 Leo Liu <sdl.web@gmail.com>
1875
1876 * ido.el (ido-tidy): Handle read-only text.
1877
18782013-10-23 Glenn Morris <rgm@gnu.org>
1879
1880 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1881 (emacs, compile, compile-always):
1882 Quote entities that might contain whitespace.
1883 (custom-deps, finder-data, autoloads): Use abs_lisp.
1884 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1885 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1886 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1887
18882013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1889
1890 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1891 Use `following-char'.
1892
18932013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1894
1895 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1896 * progmodes/ruby-mode.el (ruby-smie-rules):
1897 Remove corresponding workaround. Fix indentation rule of ";" so it
1898 also applies when ";" is the parent.
1899
19002013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1901
1902 * frame.el (display-screens, display-pixel-height)
1903 (display-pixel-width, display-mm-width, display-backing-store)
1904 (display-save-under, display-planes, display-color-cells)
1905 (display-visual-class, display-monitor-attributes-list):
1906 Mention the optional ‘display’ argument in doc strings.
1907
19082013-10-22 Michael Gauland <mikelygee@amuri.net>
1909
1910 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1911 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1912
19132013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1914
1915 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1916 TODO. Add "." after " @ ".
1917 (ruby-smie--at-dot-call): New function. Checks if point at method
1918 call with explicit target.
1919 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1920 to the method name tokens when it precedes them.
1921 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1922 (ruby-smie-rules): Add rule for indentation before and after "."
1923 token.
1924
19252013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1926
1927 * textmodes/remember.el (remember-diary-extract-entries):
1928 Avoid add-to-list.
1929
1930 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1931 an instruction.
1932
19332013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1934
1935 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1936 (ruby-smie--implicit-semi-p): Add new operator chars.
1937
1938 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1939 `smie-down-list'.
1940 (ruby-smie--args-separator-p): Check that there's no newline
1941 between method call and its arguments.
1942
19432013-10-20 Alan Mackenzie <acm@muc.de>
1944
1945 Allow comma separated lists after Java "implements".
1946
1947 * progmodes/cc-engine.el (c-backward-over-enum-header):
1948 Parse commas.
1949 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1950 from a "disallowed" list in enum fontification.
1951
19522013-10-20 Johan Bockgård <bojohan@gnu.org>
1953
1954 * startup.el (default-frame-background-mode): Remove unused defvar.
1955
1956 * progmodes/verilog-mode.el (verilog-mode): Don't set
1957 comment-indent-function globally.
1958
19592013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1960
1961 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1962 Move Info menu item creation to ns-win.el.
1963
1964 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1965 in menu bar.
1966
1967 * menu-bar.el: Move GNUStep specific menus...
1968
1969 * term/ns-win.el (ns-initialize-window-system): ... to here.
1970
19712013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1972
1973 * simple.el (newline): Only run post-self-insert-hook when
1974 called interactively.
1975
19762013-10-19 Johan Bockgård <bojohan@gnu.org>
1977
1978 * icomplete.el (icomplete-with-completion-tables): Add :version.
1979
19802013-10-19 Alan Mackenzie <acm@muc.de>
1981
1982 Fix fontification bugs with constructors and const.
1983
1984 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1985 CASE 2) Remove the check for the absence of a suffix construct
1986 after a function declaration with only types (no identifiers) in
1987 the parentheses. Also, accept a function declaration with just a
1988 type inside the parentheses, if this type can be positively
1989 recognised as such, or if a prefix keyword like "explicit" nails
1990 down the construct as a declaration.
1991
19922013-10-19 Eli Zaretskii <eliz@gnu.org>
1993
1994 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1995 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1996 the problem whereby selecting a menu item that leads to a
1997 minibuffer prompt moves the cursor out of the minibuffer window,
1998 making it hard to type at the prompt. Suggested by Stefan Monnier
1999 <monnier@iro.umontreal.ca>.
2000
20012013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2002
2003 * menu-bar.el: Don't make Services menu.
2004
20052013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2006
2007 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2008 (ffap-alist): Use ffap-c++-mode for c++-mode.
2009 (ffap-c++-path): New variable.
2010 (ffap-c++-mode): New function.
2011
20122013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2013
2014 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2015
20162013-10-18 Michael Albinus <michael.albinus@gmx.de>
2017
2018 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2019 introduced on 2013-09-08, which results in an infinite loop
2020 requesting a password.
2021
20222013-10-18 Glenn Morris <rgm@gnu.org>
2023
2024 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2025
20262013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2027
2028 Sync with upstream verilog-mode revision 1a6ecec7.
2029 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2030 (verilog-mode-release-date): Remove.
2031 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2032 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2033 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2034 (verilog-auto-tieoff-ignore-regexp)
2035 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2036 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2037 (verilog-signals-with, verilog-dir-cache-preserving)
2038 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2039 Doc fixes.
2040 (verilog-case-fold): New option, to control case folding in
2041 regexp searches, bug597.
2042 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2043 (verilog-string-match-fold, verilog-in-paren-count)
2044 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2045 (verilog-at-close-struct-p): New functions.
2046 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2047 (verilog-forward-sexp, verilog-set-auto-endcomments):
2048 (verilog-leap-to-case-head): Handle "unique0" case.
2049 (verilog-in-constraint-re): New constant.
2050 (verilog-keywords, verilog-type-font-keywords):
2051 Add some SystemVerilog 1800-2012 keywords.
2052 (verilog-label-be): Remove unimplemented argument, bug669.
2053 (verilog-batch-execute-func): When batch expanding clear
2054 create-lockfiles to prevent spurious user locks when a file ends
2055 up not changing.
2056 (verilog-calculate-indent, verilog-calc-1)
2057 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2058 (verilog-do-indent): Fix indentation of nested constraints
2059 and structures.
2060 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2061 (verilog-auto-inst-param): Use verilog-string-match-fold.
2062 (verilog-read-inst-module-matcher):
2063 Fix AUTOINST on gate primitives with #1.
2064 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2065 Reads all user-defined typed variables.
2066 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2067 (verilog-signals-matching-regexp)
2068 (verilog-signals-not-matching-regexp, verilog-auto):
2069 Respect verilog-case-fold.
2070 (verilog-diff-report): Fix line count.
2071 (verilog-auto-assign-modport): Remove unused local `modi'.
2072 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2073 better handle multidimensional arrays.
2074 Fix packed array ports misadding bit index in AUTOINST, bug637.
2075 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2076 to not double-declare existing outputs and inputs, respectively.
2077 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2078 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2079 (verilog-sk-uvm-component): New skeleton.
2080 (verilog-submit-bug-report): Add verilog-case-fold,
2081 remove verilog-mode-release-date.
2082
20832013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2084
2085 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2086 as before.
2087
20882013-10-18 Reuben Thomas <rrt@sc3d.org>
2089
2090 * textmodes/remember.el (remember): set buffer-offer-save in
2091 remember buffers (bug#13566).
2092
20932013-10-18 Daniel Colascione <dancol@dancol.org>
2094
2095 When evaluating forms in ielm, direct standard output to ielm
2096 buffer. Add new ielm-return-for-effect command. Remove trailing
2097 whitespace throughout.
2098
2099 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2100 (ielm-return-for-effect): New command.
2101 (ielm-send-input): Accept optional `for-effect' parameter.
2102 (ielm-eval-input): Accept optional `for-effect' parameter.
2103 Bind `standard-output' to stream we create using
2104 `ielm-standard-output-impl'. Suppress printing result when
2105 `for-effect'.
2106 (ielm-standard-output-impl): New function.
2107 (inferior-emacs-lisp-mode): Explain new features in documentation.
2108
21092013-10-17 Michael Albinus <michael.albinus@gmx.de>
2110
2111 Code cleanup.
2112
2113 * net/tramp.el (tramp-debug-message): Do not check for connection
2114 buffer.
2115 (tramp-message): Use "vector" connection property.
2116
2117 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2118 (tramp-equal-remote, tramp-eshell-directory-change)
2119 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2120 (tramp-adb-handle-rename-file)
2121 * net/tramp-cmds.el (tramp-list-remote-buffers)
2122 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2123 * net/tramp-compat.el (tramp-compat-process-running-p)
2124 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2125 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2126 (tramp-gvfs-handle-rename-file)
2127 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2128 (tramp-set-file-uid-gid)
2129 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2130 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2131 of `file-remote-p'.
2132
2133 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2134 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2135 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2136 (tramp-gw-open-network-stream): Suppress unrelated traces.
2137
2138 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2139 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2140 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2141 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2142 connection property.
2143
2144 * net/tramp-cache.el (top): Suppress traces when reading
2145 persistency file.
2146
2147 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2148 Refactor common code. Improve debug message.
2149 (tramp-maybe-open-connection)
2150 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2151 connection buffer too early.
2152
2153 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2154 from `tramp-smb-actions-with-acl'.
2155 (tramp-smb-actions-set-acl): New defconst.
2156 (tramp-smb-handle-copy-directory)
2157 (tramp-smb-action-get-acl): New defun, renamed from
2158 `tramp-smb-action-with-acl'.
2159 (tramp-smb-action-set-acl): New defun.
2160 (tramp-smb-handle-set-file-acl): Rewrite.
2161
21622013-10-17 Glenn Morris <rgm@gnu.org>
2163
2164 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2165
21662013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2167
2168 * skeleton.el (skeleton-newline): Remove.
2169 (skeleton-internal-1): Use (insert "\n") instead.
2170
2171 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2172 let-bindings.
2173
2174 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2175 forward-sexp-function while we redo its job (bug#15613).
2176
21772013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2178
2179 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2180 represented by lists.
2181
21822013-10-16 Glenn Morris <rgm@gnu.org>
2183
2184 * tmm.el (tmm--history): New dynamic variable.
2185 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2186
21872013-10-16 Michael Albinus <michael.albinus@gmx.de>
2188
2189 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2190 (tramp-smb-errors): Add error messages.
2191 (tramp-smb-actions-with-acl): New defconst.
2192 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2193 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2194 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2195 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2196 (tramp-smb-get-stat-capability): Fix tests.
2197
21982013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2199
2200 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2201 (bug#15580).
2202
22032013-10-16 Glenn Morris <rgm@gnu.org>
2204
2205 * ansi-color.el (ansi-color-drop-regexp):
2206 Add 1J, 1K, 2K. (Bug#15617)
2207
2208 * files.el (hack-local-variables--warned-lexical): New.
2209 (hack-local-variables):
2210 Warn about misplaced lexical-binding. (Bug#15616)
2211
2212 * net/eww.el (eww-render): Always set eww-current-url,
2213 and update header line. (Bug#15622)
2214 (eww-display-html): ... Rather than just doing it here.
2215
22162013-10-15 Eli Zaretskii <eliz@gnu.org>
2217
2218 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2219 menu navigations commands.
2220
22212013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2222
2223 * progmodes/subword.el (subword-capitalize): Be careful when
2224 the search for [[:alpha:]] fails (bug#15580).
2225
22262013-10-14 Eli Zaretskii <eliz@gnu.org>
2227
2228 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2229 to commands that scroll the menu.
2230
22312013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2232
2233 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2234 Handle methods ending with `?' and `!'.
2235
22362013-10-14 Akinori MUSHA <knu@iDaemons.org>
2237
2238 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2239 `japanese-cp932' to `cp932' to fix the problem where saving a
2240 source file written in Shift_JIS twice would end up having
2241 `coding: japanese-cp932' which Ruby could not recognize.
2242 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2243 in `ruby-encoding-map'.
2244 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2245 doesn't need to be explicitly declared in magic comment.
2246 (ruby-encoding-map): Add type declaration for better customize UI.
2247
22482013-10-13 Glenn Morris <rgm@gnu.org>
2249
2250 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2251 Occur buffers are read-only. http://bugs.debian.org/720775
2252
2253 * emacs-lisp/authors.el (authors-fixed-entries):
2254 Comment out old alpha stuff.
2255
22562013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2257
2258 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2259 to `after-save-hook' instead of `before-save-hook'.
2260 (ruby-mode-set-encoding): Use the value of coding system used to
2261 write the file. Call `basic-save-buffer-1' after modifying the
2262 buffer.
2263
22642013-10-13 Alan Mackenzie <acm@muc.de>
2265
2266 Fix indentation/fontification of Java enum with
2267 "implements"/generic.
2268
2269 * progmodes/cc-engine.el (c-backward-over-enum-header):
2270 Extracted from the three other places and enhanced to handle generics.
2271 (c-inside-bracelist-p): Uses new function above.
2272 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2273 function above.
2274 (c-font-lock-enum-tail): Uses new function above.
2275
22762013-10-13 Kenichi Handa <handa@gnu.org>
2277
2278 * international/mule-cmds.el (select-safe-coding-system): Remove a
2279 superfluous condition in chekcing whether a coding system is safe
2280 or not.
2281
22822013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2283
2284 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2285
22862013-10-13 Andreas Politz <politza@hochschule-trier.de>
2287
2288 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2289
22902013-10-13 Glenn Morris <rgm@gnu.org>
2291
2292 * menu-bar.el (menu-bar-update-buffers):
2293 Unify Buffers menu prompt string. (Bug#15576)
2294
2295 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2296
2297 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2298 Add some entries.
2299 (authors-fixed-entries): Use accented form of name.
2300
23012013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2302
2303 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2304 method calls (bug#15594).
2305 (ruby-smie--args-separator-p): New function.
2306 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2307 recognize paren-free method calls.
2308
2309 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2310 internals of universal-argument.
2311
23122013-10-11 Eli Zaretskii <eliz@gnu.org>
2313
2314 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2315 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2316 dropped menu on second mouse click on the menu bar.
2317
23182013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2319
2320 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2321 (explicit-shell-file-name): Declare.
2322 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2323 (sh-completion-at-point-function): New function.
2324 (sh-mode): Use it.
2325 (sh-smie--keyword-p): Remove unused argument.
2326 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2327 vars.
2328 (sh-set-shell): Always setup SMIE, even if we use the
2329 old indentation code.
2330
23312013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2332
2333 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2334 cases of ? and =.
2335 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2336 predicate would return nil are almost non-existent.
2337 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2338
2339 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2340 cache also after commands that modify the buffer but don't move
2341 point.
2342
23432013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2344
2345 * env.el (substitute-env-in-file-name): New function.
2346 (substitute-env-vars): Extend the meaning of the optional arg.
2347
23482013-10-10 Eli Zaretskii <eliz@gnu.org>
2349
2350 * term/w32-win.el (dynamic-library-alist): Define separate lists
2351 of GIF DLLs for versions before and after 5.0.0 of giflib.
2352 (Bug#15531)
2353
23542013-10-10 João Távora <joaotavora@gmail.com>
2355
2356 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2357 not locked, use last revision and current source as
2358 defaults. (Bug#15569)
2359
23602013-10-10 Masatake YAMATO <yamato@redhat.com>
2361
2362 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2363 menu-bar is hidden.
2364
23652013-10-10 Martin Rudalics <rudalics@gmx.at>
2366
2367 * window.el (pop-to-buffer-same-window): Fix doc-string.
2368 (Bug#15492)
2369
23702013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2371
2372 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2373
23742013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2375
2376 * calendar/icalendar.el (icalendar-import-file):
2377 Fix interactive spec. (Bug#15482)
2378
23792013-10-10 Glenn Morris <rgm@gnu.org>
2380
2381 * desktop.el (desktop-save): Default to saving in .emacs.d,
2382 since PWD is no longer in desktop-path by default. (Bug#15319)
2383
2384 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2385 now that text mode has a menu with the same entry.
2386 (menu-bar-text-mode-auto-fill): Remove now unused func.
2387 * textmodes/text-mode.el (text-mode-map):
2388 Use auto-fill help text from menu-bar.el.
2389
23902013-10-10 John Anthony <john@jo.hnanthony.com>
2391
2392 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2393
23942013-10-09 Juri Linkov <juri@jurta.org>
2395
2396 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2397 instead of this-command-keys. Add universal-argument-more and
2398 universal-argument-minus to the list of prefix commands. (Bug#15568)
2399
24002013-10-09 Glenn Morris <rgm@gnu.org>
2401
2402 * vc/vc-svn.el (vc-svn-create-repo):
2403 Expand paths in file://... url. (Bug#15446)
2404
2405 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2406 Add some entries.
2407 (authors): Remove unused local variables.
2408
24092013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2410
2411 * profiler.el: Create a more coherent calltree from partial backtraces.
2412 (profiler-format): Hide the tail with `invisible' so that C-s can still
2413 find the hidden elements.
2414 (profiler-calltree-depth): Don't recurse so enthusiastically.
2415 (profiler-function-equal): New hash-table-test.
2416 (profiler-calltree-build-unified): New function.
2417 (profiler-calltree-build): Use it.
2418 (profiler-report-make-name-part): Indent the calltree less.
2419 (profiler-report-mode): Add visibility specs for profiler-format.
2420 (profiler-report-expand-entry, profiler-report-toggle-entry):
2421 Expand the whole subtree when provided with a prefix arg.
2422
24232013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2424
2425 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2426 iuwu-mod token.
2427 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2428 hanging iuwu-mod token.
2429 (ruby-smie--forward-token): Do not include a dot after a token in
2430 that token.
2431 (ruby-smie--backward-token): Likewise.
2432
24332013-10-08 Juri Linkov <juri@jurta.org>
2434
2435 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2436 to isearch-other-control-char.
2437 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2438 and isearch-post-command-hook to post-command-hook.
2439 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2440 and isearch-post-command-hook from post-command-hook.
2441 (isearch-unread-key-sequence)
2442 (isearch-reread-key-sequence-naturally)
2443 (isearch-lookup-scroll-key, isearch-other-control-char)
2444 (isearch-other-meta-char): Remove functions.
2445 (isearch-pre-command-hook, isearch-post-command-hook):
2446 New functions based on isearch-other-meta-char rewritten
2447 relying on the new behavior of overriding-terminal-local-map
2448 that does not replace the local keymaps any more. (Bug#15200)
2449
24502013-10-08 Eli Zaretskii <eliz@gnu.org>
2451
2452 Support menus on text-mode terminals.
2453 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2454 functionality.
2455
2456 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2457
2458 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2459 Move here from mouse.el.
2460 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2461 and arrow keys.
2462 (tty-menu-navigation-map): New map for TTY menu navigation.
2463
2464 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2465
2466 * frame.el (display-mouse-p): Report text-mode mouse as available
2467 on w32.
2468 (display-popup-menus-p): Report availability if mouse is
2469 available; don't condition on window-system.
2470
2471 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2472 (tty-menu-selected-face): New faces.
2473
24742013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2475
2476 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2477 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2478 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2479 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2480 New constants.
2481 (lisp-mode-variables): New `elisp' argument.
2482 (emacs-lisp-mode): Use it.
2483 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2484 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2485
2486 * indent.el: Use lexical-binding.
2487 (indent-region): Add progress reporter.
2488 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2489 last step.
2490 (indent--next-tab-stop): New function to implement this behavior.
2491 (tab-to-tab-stop, move-to-tab-stop): Use it.
2492
24932013-10-08 Teemu Likonen <tlikonen@iki.fi>
2494
2495 * indent.el (indent-rigidly--current-indentation): New function.
2496 (indent-rigidly-map): New var.
2497 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2498
24992013-10-08 Bastien Guerry <bzg@gnu.org>
2500
2501 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2502
25032013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2504
2505 * progmodes/perl-mode.el: Use lexical-binding.
2506 Remove redundant :group args.
2507 (perl-nochange): Change default to be closer to other major modes's
2508 standard behavior.
2509 (perl-indent-line): Don't consider text on current line as a
2510 valid beginning of function from which to indent.
2511
2512 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2513 with more than one argument (bug#15538).
2514
2515 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2516
2517 * vc/pcvs.el: Use lexical-binding.
2518 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2519 environment of `eval'.
2520 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2521 than a list of expressions. Adjust callers.
2522 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2523
25242013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2525
2526 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2527 case of the dot in a chained method call being on the following line.
2528
25292013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2530
2531 * electric.el (electric-indent-inhibit): New var.
2532 (electric-indent-post-self-insert-function): Use it.
2533 * progmodes/python.el (python-mode): Set it.
2534
2535 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2536 open braces.
2537
2538 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2539
2540 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2541 (css-mode): Use electric-indent-chars.
2542
2543 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2544 (font-lock-beg, font-lock-end): Move before first use.
2545 (nxml-mode): Use syntax-propertize-function.
2546 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2547 (nxml-extend-after-change-region): Remove.
2548 * nxml/xmltok.el: Use lexical-binding.
2549 (xmltok-save): Use `declare'.
2550 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2551 * nxml/nxml-util.el: Use lexical-binding.
2552 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2553 Use `declare'.
2554 * nxml/nxml-ns.el: Use lexical-binding.
2555 (nxml-ns-save): Use `declare'.
2556 (nxml-ns-prefixes-for): Avoid add-to-list.
2557 * nxml/rng-match.el: Use lexical-binding.
2558 (rng--ipattern): Use cl-defstruct.
2559 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2560 (rng-cons-group-after, rng-subst-group-after)
2561 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2562 Use closures instead of `(lambda...).
2563
25642013-10-07 Michael Albinus <michael.albinus@gmx.de>
2565
2566 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2567 of BEG and END.
2568
2569 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2570 Use `tramp-handle-insert-file-contents'.
2571 (tramp-gvfs-handle-insert-file-contents): Remove function.
2572
2573 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2574 Use `save-restriction' in order to keep markers.
2575
2576 * net/trampver.el: Update release number.
2577
25782013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2579
2580 * progmodes/compile.el (compilation-parse-errors):
2581 Use compilation--put-prop.
2582 (compilation--ensure-parse): Check compilation-multiline.
2583
2584 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2585
2586 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2587 lexical-binding.
2588
2589 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2590
2591 * progmodes/ruby-mode.el: Fix recently added tests.
2592 (ruby-smie-grammar): Add - and +.
2593 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2594 (ruby-smie--backward-id): New functions.
2595 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2596 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2597 any more.
2598
25992013-10-07 Leo Liu <sdl.web@gmail.com>
2600
2601 * register.el (register-preview-delay)
2602 (register-preview-functions): New variables.
2603 (register-read-with-preview, register-preview)
2604 (register-describe-oneline): New functions.
2605 (point-to-register, window-configuration-to-register)
2606 (frame-configuration-to-register, jump-to-register)
2607 (number-to-register, view-register, insert-register)
2608 (copy-to-register, append-to-register, prepend-to-register)
2609 (copy-rectangle-to-register): Use register-read-with-preview to
2610 read register. (Bug#15525)
2611
26122013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2613
2614 * net/network-stream.el (network-stream-open-starttls): Don't add
2615 --insecure if it's already present, because that gnutls-cli
2616 rejects getting that parameter twice.
2617
26182013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2619
2620 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2621 keyword, too.
2622
26232013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2624
2625 * newcomment.el (comment-use-global-state): Change default value
2626 to t, mark obsolete (Bug#15251).
2627 (comment-beginning): In addition to `comment-to-syntax', check the
2628 value of `comment-use-global-state'.
2629
26302013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2631
2632 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2633 (ruby-comment-column): Follow the global default, by default.
2634 (ruby-smie-grammar): Add assignment syntax.
2635 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2636 open-paren, a comma, or a \.
2637 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2638 and line continuations.
2639 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2640 followed by implicit semi-colons. Add rule for string concatenation
2641 and for indentation at BOB.
2642 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2643
2644 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2645 calling next-sexp, since next-token may have skipped chars which
2646 next-sexp doesn't know should be skipped!
2647
26482013-10-05 Leo Liu <sdl.web@gmail.com>
2649
2650 * progmodes/octave.el (octave-send-region):
2651 Call compilation-forget-errors.
2652
26532013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2654
2655 * vc/vc-svn.el (vc-svn-find-admin-dir):
2656 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2657 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2658 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2659 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2660
26612013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2662
2663 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2664
26652013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2666
2667 * subr.el (read-passwd): Hide chars even when called within a context
2668 where after-change-functions is disabled (bug#15501).
2669 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2670 until we removed ourself from overriding-terminal-local-map.
2671
26722013-10-04 Leo Liu <sdl.web@gmail.com>
2673
2674 * progmodes/octave.el (inferior-octave-mode):
2675 Call compilation-forget-errors.
2676
26772013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2678
2679 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2680
26812013-10-04 Michael Albinus <michael.albinus@gmx.de>
2682
2683 * net/secrets.el (secrets-create-collection): Add optional
2684 argument ALIAS. Use proper Label keyword. Append ALIAS as
2685 dbus-call-method argument. (Bug#15516)
2686
26872013-10-04 Leo Liu <sdl.web@gmail.com>
2688
2689 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2690 (inferior-octave-compilation-font-lock-keywords): New variables.
2691 (compilation-error-regexp-alist)
2692 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2693 (inferior-octave-mode): Use compilation-shell-minor-mode.
2694
26952013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2696
2697 * minibuffer.el (completion--replace): Be careful that `end' might be
2698 a marker.
2699
27002013-10-03 Daiki Ueno <ueno@gnu.org>
2701
2702 Add support for package signature checking.
2703 * emacs-lisp/package.el (url-http-file-exists-p)
2704 (epg-make-context, epg-context-set-home-directory)
2705 (epg-verify-string, epg-context-result-for)
2706 (epg-signature-status, epg-signature-to-string)
2707 (epg-check-configuration, epg-configuration)
2708 (epg-import-keys-from-file): Declare.
2709 (package-check-signature): New user option.
2710 (package-unsigned-archives): New user option.
2711 (package-desc): Add `signed' field.
2712 (package-load-descriptor): Set `signed' field if .signed file exists.
2713 (package--archive-file-exists-p): New function.
2714 (package--check-signature): New function.
2715 (package-install-from-archive): Check package signature.
2716 (package--download-one-archive): Check archive signature.
2717 (package-delete): Remove .signed file.
2718 (package-import-keyring): New command.
2719 (package-refresh-contents): Import default keyring.
2720 (package-desc-status): Add "unsigned" status.
2721 (describe-package-1, package-menu--print-info)
2722 (package-menu-mark-delete, package-menu--find-upgrades)
2723 (package-menu--status-predicate): Support "unsigned" status.
2724
27252013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2726
2727 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2728 the new compilation scheme using the new byte-codes.
2729
2730 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2731 (byte-pophandler): New byte codes.
2732 (byte-goto-ops): Adjust accordingly.
2733 (byte-compile--use-old-handlers): New var.
2734 (byte-compile-catch): Use new byte codes depending on
2735 byte-compile--use-old-handlers.
2736 (byte-compile-condition-case--old): Rename from
2737 byte-compile-condition-case.
2738 (byte-compile-condition-case--new): New function.
2739 (byte-compile-condition-case): New function that dispatches depending
2740 on byte-compile--use-old-handlers.
2741 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2742 when we can.
2743
2744 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2745 Optimize under `condition-case' and `catch' if
2746 byte-compile--use-old-handlers is nil.
2747 (disassemble-offset): Handle new bytecodes.
2748
27492013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2750
2751 * subr.el (error): Use `declare'.
2752 (decode-char, encode-char): Use advertised-calling-convention instead
2753 of the docstring to discourage use of the `restriction' arg.
2754
27552013-10-03 Daiki Ueno <ueno@gnu.org>
2756
2757 * epg.el (epg-verify-file): Add a comment saying that it does not
2758 notify verification error as a return value nor a signal.
2759 (epg-verify-string): Ditto.
2760
27612013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2762
2763 * progmodes/compile.el (compilation-start): Try globbing the arg to
2764 `cd' (bug#15417).
2765
27662013-10-02 Michael Albinus <michael.albinus@gmx.de>
2767
2768 Sync with Tramp 2.2.8.
2769
2770 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2771 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2772 * net/trampver.el: Update release number.
2773
27742013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2775
2776 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2777 and default-process-coding-system for darwin only.
2778
27792013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2780
2781 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2782
27832013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2784
2785 * vc/vc-git.el (vc-git-grep): Disable pager.
2786
27872013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2788
2789 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2790 Use :url instead of :homepage, as per
2791 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2792
2793 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2794 non-nil, use `syntax-ppss' (Bug#15251).
2795
27962013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2797
2798 * progmodes/octave.el (inferior-octave-startup-file):
2799 Prefer ~/.emacs.d/init_octave.m.
2800
28012013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2802
2803 * emacs-lisp/package.el (package-desc-from-define):
2804 Accept additional arguments as plist, convert them to an alist and store
2805 them in the `extras' slot.
2806 (package-generate-description-file): Convert extras alist back to
2807 plist and append to the `define-package' form arguments.
2808 (package--alist-to-plist): New function.
2809 (package--ac-desc): Add `extras' slot.
2810 (package--add-to-archive-contents): Check if the archive-contents
2811 vector is long enough, and if it is, pass its `extras' slot value
2812 to `package-desc-create'.
2813 (package-buffer-info): Call `lm-homepage', pass the returned value
2814 to `package-desc-from-define'.
2815 (describe-package-1): Render the homepage button (Bug#13291).
2816
2817 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2818 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2819
28202013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2821
2822 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2823 and default-process-coding-system to utf-8-unix (Bug#15402).
2824
28252013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2826
2827 * subr.el (looking-back): Do not recommend using looking-back.
2828
28292013-09-28 Alan Mackenzie <acm@muc.de>
2830
2831 Fix indentation/fontification of Java enum with "implements".
2832
2833 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2834 regexp which matches "implements", etc., in Java.
2835 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2836 specifier clauses coming after "enum".
2837 * progmodes/cc-fonts.el (c-font-lock-declarations)
2838 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2839 after "enum".
2840
28412013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2842
2843 * faces.el (region): Change ns_selection_color to
2844 ns_selection_fg_color, add ns_selection_bg_color.
2845
28462013-09-28 Leo Liu <sdl.web@gmail.com>
2847
2848 * progmodes/octave.el (inferior-octave-completion-table)
2849 (inferior-octave-completion-at-point): Minor tweaks.
2850
2851 * textmodes/ispell.el (ispell-lookup-words): Rename from
2852 lookup-words. (Bug#15460)
2853 (lookup-words): Obsolete.
2854 (ispell-complete-word, ispell-command-loop): All uses changed.
2855
28562013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2857
2858 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2859 (octave-mode-menu): Add octave-send-buffer.
2860 (octave-send-buffer): New function.
2861
28622013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2863
2864 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2865 octave-lookfor.
2866 (octave-mode-menu): Add octave-lookfor.
2867 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2868 octave-lookfor.
2869 (octave-lookfor): New function.
2870
28712013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2872
2873 * emacs-lisp/cl-macs.el:
2874 (cl--loop-destr-temps): Remove.
2875 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2876 its convention.
2877 (cl--loop-set-iterator-function): New function.
2878 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2879 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2880 Bind `it' with `let' instead of substituting it with `cl-subst'.
2881 (cl--unused-var-p): New function.
2882 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2883 Eliminate some unused variable warnings (bug#15326).
2884
28852013-09-27 Tassilo Horn <tsdh@gnu.org>
2886
2887 * doc-view.el (doc-view-scale-reset): Rename from
2888 `doc-view-reset-zoom-level'.
2889 (doc-view-scale-adjust): New command.
2890 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2891 `doc-view-scale-adjust'.
2892
28932013-09-26 Tassilo Horn <tsdh@gnu.org>
2894
2895 * doc-view.el (doc-view-reset-zoom-level): New command.
2896 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2897 zoom commands (bug#15466).
2898
28992013-09-26 Kenichi Handa <handa@gnu.org>
2900
2901 * international/quail.el (quail-help): Make it not a command.
2902
29032013-09-26 Leo Liu <sdl.web@gmail.com>
2904
2905 * minibuffer.el (completion-all-sorted-completions): Make args
2906 optional as they are.
2907
29082013-09-25 Daniel Colascione <dancol@dancol.org>
2909
2910 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2911 specs are and that they're not evaluated.
2912
29132013-09-24 Sam Steingold <sds@gnu.org>
2914
2915 * midnight.el (clean-buffer-list-kill-regexps)
2916 (clean-buffer-list-kill-buffer-names): Update for the new Man
2917 buffer naming which includes the object name.
2918
29192013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2920
2921 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2922 (eshell-parse-command, eshell-parse-pipeline): Use it since
2923 eshell-separate-commands requires a dynamic scoped var.
2924 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2925
29262013-09-23 Leo Liu <sdl.web@gmail.com>
2927
2928 * autoinsert.el (auto-insert-alist): Make the value of
2929 lexical-binding match its file setting.
2930
29312013-09-23 Juanma Barranquero <lekktu@gmail.com>
2932
2933 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2934
2935 * autoarg.el (autoarg-kp-digit-argument):
2936 * electric.el (Electric-command-loop):
2937 * kmacro.el (kmacro-step-edit-insert):
2938 Do not set universal-argument-num-events.
2939
29402013-09-22 Leo Liu <sdl.web@gmail.com>
2941
2942 * files.el (interpreter-mode-alist): Add octave.
2943
29442013-09-21 Alan Mackenzie <acm@muc.de>
2945
2946 C++: fontify identifier in declaration following "public:" correctly.
2947 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2948 to match "public", etc.
2949 (c-decl-prefix-re): Add ":" into the C++ value.
2950 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2951 bit. Add a check for a ":" preceded by "public", etc.
2952
29532013-09-21 Eli Zaretskii <eliz@gnu.org>
2954
2955 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2956 recognized by GDB 7.5 and later.
2957
29582013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2959
2960 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2961
29622013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2963
2964 * subr.el (internal--call-interactively): New const.
2965 (called-interactively-p): Use it (bug#3984).
2966
29672013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2968
2969 * vc/pcvs.el (cvs-mode-ignore):
2970 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2971 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2972
29732013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2974
2975 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2976 (eshell-ls-orig-insert-directory): Remove.
2977 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2978 (eshell-ls-use-in-dired): Use advice-add/remove.
2979 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2980 Add `orig-fun' arg for use in :around advice.
2981 Make it check (redundantly) eshell-ls-use-in-dired.
2982
29832013-09-19 Glenn Morris <rgm@gnu.org>
2984
2985 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2986
2987 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2988
2989 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2990
29912013-09-19 Michael Albinus <michael.albinus@gmx.de>
2992
2993 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2994 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2995 (tramp-get-remote-python): New defuns.
2996 (tramp-get-remote-uid-with-perl)
2997 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2998 contributed by yary <not.com@gmail.com> (tiny change).
2999 (tramp-get-remote-uid-with-python)
3000 (tramp-get-remote-gid-with-python): New defuns. Python code
3001 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3002 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3003
30042013-09-19 Glenn Morris <rgm@gnu.org>
3005
3006 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3007
3008 * eshell/em-unix.el (eshell-remove-entries):
3009 Rename argument to avoid name-clash with global `top-level'.
3010
3011 * eshell/esh-proc.el (eshell-kill-process-function):
3012 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3013 (eshell-reset-after-proc): Remove unused arg `proc'.
3014
3015 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3016 (directory-files-and-attributes): Mark unused arg.
3017
3018 * eshell/em-unix.el (eshell-remove-entries):
3019 Remove unused arg `path'. Update callers.
3020
3021 * eshell/em-hist.el (eshell-hist-parse-arguments):
3022 Remove unused arg `silent'. Update callers.
3023
3024 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3025 Fix (f)boundp mix-up.
3026
3027 * eshell/em-smart.el (eshell-smart-scroll-window)
3028 (eshell-disable-after-change):
3029 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3030
30312013-09-18 Alan Mackenzie <acm@muc.de>
3032
3033 Fix fontification of type when followed by "const".
3034 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3035 "known" types from fontification.
3036
30372013-09-18 Glenn Morris <rgm@gnu.org>
3038
3039 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3040 (chart-face-list): Drop Emacsen without display-color-p.
3041
3042 * net/eww.el (libxml-parse-html-region): Declare.
3043 (eww-display-html): Explicit error if no libxml2 support.
3044
3045 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3046
3047 * image.el (image-type-from-buffer, image-multi-frame-p):
3048 Remove --without-x warning/error.
3049
3050 * mouse.el (mouse-yank-primary):
3051 * term.el (term-mouse-paste):
3052 Reorder to silence --without-x compilation.
3053
3054 * mpc.el (doc-view-mode): Silence --without-x compilation.
3055
3056 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3057 Silence --without-x compilation.
3058
3059 * progmodes/gud.el (gud-find-file, gud-mode):
3060 Silence --without-x compilation.
3061 (tooltip-mode): Declare.
3062
3063 * wdired.el (dired-backup-overwrite): Remove declaration.
3064 (wdired-mode-map): Add doc string.
3065
3066 * custom.el (x-get-resource): Declare.
3067
3068 * eshell/em-glob.el (ange-cache):
3069 * eshell/em-unix.el (ange-cache): Declare.
3070
3071 * faces.el (x-display-list, x-open-connection, x-get-resource):
3072 Declare.
3073
3074 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3075 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3076 Declare.
3077
3078 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3079
3080 * net/gnutls.el (gnutls-log-level): Declare.
3081
3082 * net/shr.el (image-size, image-animate): Declare.
3083
3084 * simple.el (font-info): Declare.
3085
3086 * subr.el (x-popup-dialog): Declare.
3087
3088 * term/common-win.el (x-select-enable-primary)
3089 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3090 Declare.
3091
3092 * term/ns-win.el (x-handle-args): Declare.
3093
3094 * term/x-win.el (x-select-enable-clipboard): Declare.
3095
3096 * term/w32-win.el (create-default-fontset): Declare.
3097
3098 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3099 Declare.
3100
3101 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3102 (fit-frame-to-buffer): Explicit error if --without-x.
3103 (mouse-autoselect-window-select): Silence compiler.
3104
3105 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3106
3107 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3108 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3109 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3110 * eshell/esh-util.el (eshell-sublist):
3111 Remove unused local variables.
3112
3113 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3114
3115 * textmodes/two-column.el: Make 2C-split work for --without-x.
3116 (scroll-bar-columns): Autoload.
3117 (top-level): Require fringe when compiling.
3118
31192013-09-18 Leo Liu <sdl.web@gmail.com>
3120
3121 * subr.el (add-hook): Robustify to handle closure as well.
3122
31232013-09-17 Glenn Morris <rgm@gnu.org>
3124
3125 * simple.el (messages-buffer-mode-map): Unbind "g".
3126
31272013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3128
3129 * help-mode.el (help-mode-finish): Use derived-mode-p.
3130 Remove obsolete highlighting.
3131
3132 * play/life.el (life-mode): Use define-derived-mode. Derive from
3133 special-mode.
3134 (life): Let-bind inhibit-read-only.
3135 (life-setup): Avoid `setq'. Use `life-mode'.
3136
3137 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3138 which should not be needed any more.
3139 (package-menu-refresh, package-menu-describe-package): Use user-error.
3140
3141 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3142 (eshell-post-rewrite-command-hook): Make obsolete.
3143 (eshell-parse-command): Simplify.
3144 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3145 (eshell--cmd): Declare.
3146 (eshell-parse-pipeline): Remove unused var `final-p'.
3147 Pass a dynvar to eshell-post-rewrite-command-hook.
3148 Implement the new eshell-post-rewrite-command-function.
3149 (eshell-invoke-directly): Remove unused arg `input'.
3150 * eshell/esh-io.el (eshell-io-initialize):
3151 Use eshell-post-rewrite-command-function (bug#15399).
3152 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3153 adjust to new calling convention.
3154 (eshell-create-handles): Rename args to avoid clashing with dynvar
3155 `standard-output'.
3156
31572013-09-17 Glenn Morris <rgm@gnu.org>
3158
3159 * simple.el (messages-buffer-mode): New major mode.
3160 (messages-buffer): New function.
3161 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3162 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3163 (ert-run-test): Use `messages-buffer' function.
3164 (ert--force-message-log-buffer-truncation): Ignore read-only.
3165 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3166 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3167
31682013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3169
3170 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3171
3172 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3173
31742013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3175
3176 * icomplete.el (icomplete-in-buffer): New var.
3177 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3178 vars and replace them with functions.
3179 (icomplete-minibuffer-setup): Adjust accordingly.
3180 (icomplete--completion-table, icomplete--completion-predicate)
3181 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3182 New functions.
3183 (icomplete-forward-completions, icomplete-backward-completions)
3184 (icomplete-simple-completing-p, icomplete-exhibit)
3185 (icomplete-completions): Use them.
3186 (icomplete--in-region-buffer): New var.
3187 (icomplete--in-region-setup): New function.
3188 (icomplete-mode): Use it.
3189
3190 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3191 (bug#15379).
3192 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3193 return args and options.
3194 (eshell-eval-using-options): Use the new return value of
3195 eshell--do-opts to set the options's vars in their scope.
3196 (eshell--set-option): Rename from eshell-set-option.
3197 Add arg `opt-vals'.
3198 (eshell--process-option): Rename from eshell-process-option.
3199 Add arg `opt-vals'.
3200 (eshell--process-args): Use an `opt-vals' alist to store the options's
3201 values during their processing and return them additionally to the
3202 remaining args.
3203
32042013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3205
3206 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3207 continuation character an operator, as far as indentation is
3208 concerned (Bug#15369).
3209
32102013-09-15 Martin Rudalics <rudalics@gmx.at>
3211
3212 * window.el (window--state-put-2): Don't process buffer state
3213 when buffer doesn't exist any more (Bug#15382).
3214
32152013-09-15 Glenn Morris <rgm@gnu.org>
3216
3217 * eshell/em-unix.el (eshell/rm):
3218 Make -f ignore missing files. (Bug#15373)
3219
3220 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3221 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3222 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3223
32242013-09-14 Glenn Morris <rgm@gnu.org>
3225
3226 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3227
32282013-09-13 Glenn Morris <rgm@gnu.org>
3229
3230 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3231 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3232
32332013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3234
3235 * frame.el (x-focus-frame): Mark as declared in frame.c.
3236
32372013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3238
3239 * ls-lisp.el: Use advice-add.
3240 (original-insert-directory): Remove.
3241 (ls-lisp--insert-directory): Rename from insert-directory; add
3242 `orig-fun' argument.
3243 (insert-directory): Advise.
3244
32452013-09-13 Eli Zaretskii <eliz@gnu.org>
3246
3247 * term.el (term-emulate-terminal): Decode the command string
3248 before passing it to term-command-hook. (Bug#15337)
3249
32502013-09-13 Glenn Morris <rgm@gnu.org>
3251
3252 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3253
3254 * eshell/esh-ext.el (eshell-search-path): Declare.
3255
3256 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3257 Otherwise an error occurs if eshell-dirs module not loaded.
3258
3259 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3260
32612013-09-13 Michael Albinus <michael.albinus@gmx.de>
3262
3263 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3264 `tramp-check-proper-host'. Check for a valid method name.
3265
3266 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3267 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3268 * net/tramp-sh.el (tramp-maybe-open-connection):
3269 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3270
3271 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3272 also for hash values.
3273
32742013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3275
3276 * term/ns-win.el (parameters): Don't declare as dynamic.
3277 (before-make-frame-hook): Don't add ineffective function.
3278
3279 * eshell/*.el: Use lexical-binding (bug#15231).
3280
32812013-09-12 Kenichi Handa <handa@gnu.org>
3282
3283 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3284
32852013-09-12 Glenn Morris <rgm@gnu.org>
3286
3287 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3288 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3289
3290 * subr.el (do-after-load-evaluation): Also give compiler warnings
3291 when obsolete files are used (except by obsolete files).
3292
3293 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3294 in the status output, assume `filename' is the first. (Bug#15322)
3295
3296 * vc/vc.el (vc-deduce-fileset): Doc fix.
3297
3298 * calc/calc-help.el (Info-goto-node):
3299 * progmodes/cperl-mode.el (Info-find-node):
3300 * vc/ediff.el (Info-goto-node): Update declarations.
3301
3302 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3303
3304 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3305 (vc-bzr-pull): Require vc-dispatcher.
3306 * vc/vc-git.el (vc-compilation-mode): Declare.
3307 (vc-git-pull): Require vc-dispatcher.
3308
3309 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3310
3311 * progmodes/octave.el (help-button-action): Declare.
3312
3313 * shell.el (shell-directory-tracker): Output error as a message
3314 rather than just returning it as a string.
3315 (shell-process-pushd): Remove useless use of message.
3316
3317 * dframe.el (dframe-timer-fn):
3318 * files.el (dir-locals-read-from-file):
3319 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3320 (mpc-format):
3321 * reveal.el (reveal-post-command):
3322 * saveplace.el (load-save-place-alist-from-file):
3323 * shell.el (shell-resync-dirs):
3324 * w32-common-fns.el (x-get-selection-value):
3325 * emacs-lisp/copyright.el (copyright-find-copyright):
3326 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3327 * emulation/tpu-edt.el (tpu-copy-keyfile):
3328 * play/bubbles.el (bubbles--mark-neighbourhood):
3329 * progmodes/executable.el
3330 (executable-make-buffer-file-executable-if-script-p):
3331 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3332
33332013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3334
3335 Cleanup Eshell to rely less on dynamic scoping.
3336 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3337 last-value, and ext-command here. Bind `args' closer to `body'.
3338 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3339 (eshell--args): Declare new dynamic var.
3340 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3341 last-value, and ext-command. Pass `args' to `body'.
3342 (eshell-process-args): Bind eshell--args.
3343 (eshell-set-option): Use eshell--args.
3344 * eshell/eshell.el (eshell): Use derived-mode-p.
3345 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3346 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3347 (eshell-glob-function): Declare.
3348 * eshell/esh-util.el: Require cl-lib.
3349 (eshell-read-hosts-file): Avoid add-to-list.
3350 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3351 `err'.
3352 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3353 Declare.
3354 (eshell/diff): Remove unused var `err'.
3355 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3356 `killflag'.
3357 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3358 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3359 first use.
3360 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3361 Move declaration before first use.
3362 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3363 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3364 rely on cl-return.
3365
33662013-09-12 Glenn Morris <rgm@gnu.org>
3367
3368 * term/ns-win.el (global-map): Remove binding for ispell-next,
3369 deleted 1999-05-29. (Bug#15357)
3370
33712013-09-11 Glenn Morris <rgm@gnu.org>
3372
3373 * echistory.el (electric-command-history): Remove call to deleted func.
3374
3375 * play/landmark.el (landmark-mode): Fix typos.
3376
3377 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3378 Check cvs-sort-ignore-file is bound.
3379
3380 * savehist.el: No need for cl when compiling on Emacs.
3381
33822013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3383
3384 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3385 (bug#15338).
3386 (eshell-self-insert-command, eshell-send-invisible):
3387 Remove unused argument.
3388 (eshell-handle-control-codes): Remove unused var `orig'.
3389 Avoid delete-backward-char.
3390
3391 * files.el (set-auto-mode): Simplify a bit further.
3392
33932013-09-11 Glenn Morris <rgm@gnu.org>
3394
3395 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3396 (set-auto-mode): Don't regexp-quote elements.
3397 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3398 * progmodes/cc-mode.el (interpreter-mode-alist):
3399 * progmodes/ruby-mode.el (interpreter-mode-alist):
3400 Revert previous change.
3401
34022013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3403
3404 * play/snake.el (snake-mode):
3405 * play/mpuz.el (mpuz-mode):
3406 * play/landmark.el (lm-mode):
3407 * play/blackbox.el (blackbox-mode):
3408 * play/5x5.el (5x5-mode):
3409 * obsolete/options.el (Edit-options-mode):
3410 * net/quickurl.el (quickurl-list-mode):
3411 * net/newst-treeview.el (newsticker-treeview-mode):
3412 * mail/rmailsum.el (rmail-summary-mode):
3413 * mail/mspools.el (mspools-mode):
3414 * locate.el (locate-mode):
3415 * ibuffer.el (ibuffer-mode):
3416 * emulation/ws-mode.el (wordstar-mode):
3417 * emacs-lisp/debug.el (debugger-mode):
3418 * array.el (array-mode):
3419 * net/eudc.el (eudc-mode): Use define-derived-mode.
3420 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3421 Move initialization into declaration.
3422 (mairix-searches-mode): Use define-derived-mode.
3423 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3424 (eudc-edit-hotlist): Use dolist.
3425 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3426 (Man-mode): Use define-derived-mode.
3427 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3428 (Info-edit-mode): Use define-derived-mode.
3429 (Info-cease-edit): Use Info-mode.
3430 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3431 into declaration.
3432 (eshell-mode): Use define-derived-mode.
3433 * chistory.el (command-history-mode-map): Rename from
3434 command-history-map.
3435 (command-history-mode): Use define-derived-mode.
3436 (Command-history-setup): Remove function.
3437 * calc/calc.el (calc-trail-mode-map): New var.
3438 (calc-trail-mode): Use define-derived-mode.
3439 (calc-trail-buffer): Set calc-main-buffer manually.
3440 * bookmark.el (bookmark-insert-annotation): New function.
3441 (bookmark-edit-annotation): Use it.
3442 (bookmark-edit-annotation-mode): Make it a proper major mode.
3443 (bookmark-send-edited-annotation): Use derived-mode-p.
3444 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3445 closer to its ideal place. Use \' to match EOS.
3446
3447 * profiler.el (profiler-calltree-find): Use function-equal.
3448
34492013-09-10 Glenn Morris <rgm@gnu.org>
3450
3451 * files.el (interpreter-mode-alist): Convert to regexps.
3452 (set-auto-mode): Adapt for this. (Bug#15306)
3453 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3454 Comment out unused variable.
3455 * progmodes/cc-mode.el (interpreter-mode-alist):
3456 * progmodes/python.el (interpreter-mode-alist):
3457 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3458 * progmodes/sh-script.el (sh-set-shell):
3459 No longer use interpreter-mode-alist to get list of shells.
3460
3461 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3462
34632013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3464
3465 * simple.el: Use set-temporary-overlay-map for universal-argument.
3466 (universal-argument-map): Don't use default-bindings (bug#15317).
3467 Bind switch-frame explicitly. Replace universal-argument-minus with
3468 a conditional binding.
3469 (universal-argument-num-events, saved-overriding-map): Remove.
3470 (restore-overriding-map): Remove.
3471 (universal-argument--mode): Rename from save&set-overriding-map,
3472 and rewrite.
3473 (universal-argument, universal-argument-more, negative-argument)
3474 (digit-argument): Adjust accordingly.
3475 (universal-argument-minus): Remove.
3476 (universal-argument-other-key): Remove.
3477
3478 * subr.el (with-demoted-errors): Add `format' argument.
3479
34802013-09-10 Michael Albinus <michael.albinus@gmx.de>
3481
3482 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3483 `tramp-cleanup-connection'.
3484
3485 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3486 parameters KEEP-DEBUG and KEEP-PASSWORD.
3487
3488 * net/tramp.el (tramp-file-name-handler):
3489 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3490 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3491 (tramp-maybe-open-connection):
3492 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3493 Use `tramp-cleanup-connection'.
3494
3495 * net/tramp-sh.el (tramp-maybe-open-connection):
3496 Catch 'uname-changed inside the progress reporter.
3497
34982013-09-10 Glenn Morris <rgm@gnu.org>
3499
3500 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3501
3502 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3503 returns "alternate access method" in mode (eg "-rw-r--r--.").
3504
35052013-09-08 Glenn Morris <rgm@gnu.org>
3506
3507 * saveplace.el (load-save-place-alist-from-file):
3508 Demote errors. (Bug#15305)
3509
35102013-09-08 Michael Albinus <michael.albinus@gmx.de>
3511
3512 Improve compatibility with older Emacsen, and XEmacs.
3513
3514 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3515 only if it is bound. It isn't for XEmacs.
3516 (with-tramp-progress-reporter): Do not let-bind `result'.
3517 This yields to scoping errors in XEmacs.
3518 (tramp-handle-make-auto-save-file-name): New function, moved from
3519 tramp-sh.el.
3520
3521 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3522 for `make-auto-save-file-name'.
3523 (tramp-adb--gnu-switches-to-ash):
3524 Use `tramp-compat-replace-regexp-in-string'.
3525
3526 * net/tramp-cache.el (tramp-cache-print): Call
3527 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3528
3529 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3530 bound. It isn't for XEmacs.
3531
3532 * net/tramp-compat.el (tramp-compat-copy-file):
3533 Catch `wrong-number-of-arguments' error.
3534 (tramp-compat-replace-regexp-in-string): New defun.
3535
3536 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3537 for `make-auto-save-file-name'.
3538 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3539 `copy-file'.
3540 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3541 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3542 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3543
3544 * net/tramp-gw.el (tramp-gw-open-network-stream):
3545 Use `tramp-compat-replace-regexp-in-string'.
3546
3547 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3548 Call `tramp-handle-make-auto-save-file-name'.
3549 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3550 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3551 (tramp-sh-file-inotifywait-process-filter):
3552 Use `tramp-compat-replace-regexp-in-string'.
3553 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3554
3555 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3556 for `make-auto-save-file-name'.
3557 (tramp-smb-handle-copy-directory):
3558 Call `tramp-compat-replace-regexp-in-string'.
3559 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3560 (tramp-smb-handle-copy-file): Improve error message.
3561 (tramp-smb-handle-rename-file): Rename directly only in case
3562 `newname' does not exist yet. This is a restriction of smbclient.
3563 (tramp-smb-maybe-open-connection): Rerun the function only when
3564 `auth-sources' is non-nil.
3565
35662013-09-08 Kenichi Handa <handa@gnu.org>
3567
3568 * international/characters.el: Set category "^" (Combining) for
3569 more characters.
3570
35712013-09-07 Alan Mackenzie <acm@muc.de>
3572
3573 Correctly fontify Java class constructors.
3574 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3575 in Java Mode.
3576 (c-recognize-typeless-decls): Set the Java value to t.
3577 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3578 While handling a "(", add a check for, effectively, Java, and handle a
3579 "typeless" declaration there.
3580
35812013-09-07 Roland Winkler <winkler@gnu.org>
3582
3583 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3584 field subtitle for entry type book.
3585
35862013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3587
3588 * minibuffer.el: Make minibuffer-complete call completion-in-region
3589 rather than other way around.
3590 (completion--some, completion-pcm--find-all-completions):
3591 Don't delay signals when debugging.
3592 (minibuffer-completion-contents): Beware fields within the
3593 minibuffer contents.
3594 (completion-all-sorted-completions): Use defvar-local.
3595 (completion--do-completion, completion--cache-all-sorted-completions)
3596 (completion-all-sorted-completions, minibuffer-force-complete):
3597 Add args `beg' and `end'.
3598 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3599 (minibuffer-complete): Use completion-in-region.
3600 (completion-complete-and-exit): New fun, extracted from
3601 minibuffer-complete-and-exit.
3602 (minibuffer-complete-and-exit): Use it.
3603 (completion--complete-and-exit): Rename from
3604 minibuffer--complete-and-exit.
3605 (completion-in-region--single-word): New function, extracted from
3606 minibuffer-complete-word.
3607 (minibuffer-complete-word): Use it.
3608 (display-completion-list): Make `common-substring' argument obsolete.
3609 (completion--in-region): Call completion--in-region-1 instead of
3610 minibuffer-complete.
3611 (completion-help-at-point): Pass boundaries to
3612 minibuffer-completion-help as args rather than via an overlay.
3613 (completion-pcm--string->pattern): Use `any-delim'.
3614 (completion-pcm--optimize-pattern): New function.
3615 (completion-pcm--pattern->regex): Handle `any-delim'.
3616 * icomplete.el (icomplete-forward-completions)
3617 (icomplete-backward-completions, icomplete-completions):
3618 Adjust calls to completion-all-sorted-completions and
3619 completion--cache-all-sorted-completions.
3620 (icomplete-with-completion-tables): Default to t.
3621 * emacs-lisp/crm.el (crm--current-element): Rename from
3622 crm--select-current-element. Don't put an overlay but return the
3623 boundaries instead.
3624 (crm--completion-command): Take two new args to bind to the boundaries.
3625 (crm-completion-help): Adjust accordingly.
3626 (crm-complete): Use completion-in-region.
3627 (crm-complete-word): Use completion-in-region--single-word.
3628 (crm-complete-and-exit): Use completion-complete-and-exit.
3629
36302013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3631
3632 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3633 than dynamically.
3634
36352013-09-06 Juri Linkov <juri@jurta.org>
3636
3637 * info.el (Info-display-images-node): When image file doesn't exist
3638 display text version of the image if it's provided in the Info file.
3639 Otherwise, display the location of missing image from SRC attribute.
3640 Add help-echo text property from ALT attribute. (Bug#15279)
3641
36422013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3643
3644 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3645 (edit-abbrevs-mode): Use define-derived-mode.
3646
3647 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3648 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3649 that it's defined.
3650 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3651 Use define-derived-mode.
3652
3653 * epg.el (epg-start-encrypt): Minor CSE simplification.
3654
36552013-09-06 William Xu <william.xwl@gmail.com>
3656
3657 * arc-mode.el: Add support for 7za (bug#15264).
3658 (archive-7z-program): New var.
3659 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3660 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3661 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3662
36632013-09-06 Michael Albinus <michael.albinus@gmx.de>
3664
3665 Remove URL syntax.
3666
3667 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3668 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3669 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3670 (tramp-postfix-host-format, tramp-file-name-regexp)
3671 (tramp-completion-file-name-regexp)
3672 (tramp-completion-dissect-file-name)
3673 (tramp-handle-substitute-in-file-name): Remove 'url case.
3674 (tramp-file-name-regexp-url)
3675 (tramp-completion-file-name-regexp-url): Remove constants.
3676
36772013-09-06 Glenn Morris <rgm@gnu.org>
3678
3679 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3680
36812013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3682
3683 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3684 keywords" below "here-doc beginnings" (Bug#15270).
3685
36862013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3687
3688 * subr.el (pop): Use `car-safe'.
3689 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3690 to detect unused `pop' return value.
3691
3692 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3693 var `block-regexp'.
3694 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3695 (python-fill-string): Remove unused var `marker'.
3696 (python-skeleton-add-menu-items): Remove unused var `items'.
3697
3698 * international/mule-cmds.el: Require CL.
3699 (find-coding-systems-for-charsets): Avoid add-to-list.
3700 (sanitize-coding-system-list): New function, extracted from
3701 select-safe-coding-system-interactively.
3702 (select-safe-coding-system-interactively): Use it.
3703 (read-input-method-name): Accept symbols for `default'.
3704
3705 * emacs-lisp/advice.el (defadvice): Add indent rule.
3706
37072013-09-05 Daniel Hackney <dan@haxney.org>
3708
3709 * dired-x.el:
3710 * net/ange-ftp.el:
3711 * net/browse-url.el:
3712 * net/dbus.el:
3713 * net/eudc.el:
3714 * net/eudcb-ldap.el:
3715 * net/eww.el:
3716 * net/imap.el:
3717 * printing.el:
3718 * vc/ediff-diff.el:
3719 * vc/ediff-init.el:
3720 * vc/ediff-merg.el:
3721 * vc/ediff-mult.el:
3722 * vc/ediff-util.el:
3723 * vc/ediff-wind.el:
3724 * vc/ediff.el:
3725 * vc/emerge.el:
3726 * vc/pcvs.el:
3727 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3728 byte compiler. Remove some unused let-bound variables.
3729
37302013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3731
3732 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3733 a "ref-cell", since it gets better optimized (bug#14883).
3734
37352013-09-05 Glenn Morris <rgm@gnu.org>
3736
3737 * progmodes/cc-awk.el (c-forward-sws): Declare.
3738
37392013-09-04 Glenn Morris <rgm@gnu.org>
3740
3741 * generic-x.el [rul-generic-mode]: Require cc-mode.
3742 (c++-mode-syntax-table): Declare.
3743 (rul-generic-mode-syntax-table): Init in the defvar.
3744
37452013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3746
3747 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3748 (vc-do-command, vc-set-async-update):
3749 * vc/vc-mtn.el (vc-mtn-dir-status):
3750 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3751 (vc-hg-pull, vc-hg-merge-branch):
3752 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3753 (vc-git-merge-branch):
3754 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3755 (vc-cvs-dir-status-files):
3756 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3757 (vc-bzr-dir-status-files):
3758 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3759 * vc/vc-annotate.el: Use lexical-binding.
3760 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3761 (vc-sentinel-movepoint): Declare.
3762 (vc-annotate): Don't use `goto-line'.
3763 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3764 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3765 (vc-sentinel-movepoint): Declare.
3766 * vc/vc-svn.el: Use lexical-binding.
3767 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3768 * vc/vc-sccs.el:
3769 * vc/vc-rcs.el: Use lexical-binding.
3770
3771 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3772 `deleted'. Don't drop errors silently.
3773
3774 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3775
37762013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3777
3778 * vc/vc.el (vc-ignore): Rewrite.
3779 (vc-default-ignore): New function.
3780 (vc-default-ignore-completion-table): Use find-ignore-file.
3781
3782 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3783 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3784 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3785 Remove. Most code moved to vc.el.
3786
37872013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3788
3789 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3790 * net/tramp-smb.el (tramp-smb-get-file-entries):
3791 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3792 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3793
3794 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3795 Update call to it.
3796 (eww-change-select): Remove unused var `properties'.
3797 (eww-make-unique-file-name): Remove unused var `base'.
3798
3799 * finder.el (finder-compile-keywords): Don't mess with windows.
3800
3801 * calculator.el (calculator-funcall): Fix typo in last change.
3802
3803 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3804
3805 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3806 <pkg>-autoloads.el file stop us.
3807
3808 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3809 warnings, and factor out common code.
3810
38112013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3812
3813 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3814 two-character operators and whether the character preceding them
3815 changes their meaning (Bug#15208).
3816
38172013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3818
3819 Format code sent to Python shell for robustness.
3820 * progmodes/python.el (python-shell-buffer-substring):
3821 New function.
3822 (python-shell-send-region, python-shell-send-buffer): Use it.
3823
38242013-09-02 Michael Albinus <michael.albinus@gmx.de>
3825
3826 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3827 * net/tramp.el (tramp-user-error): ... here.
3828 (tramp-find-method, tramp-check-proper-host)
3829 (tramp-dissect-file-name, tramp-debug-message)
3830 (tramp-handle-shell-command):
3831 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3832 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3833
3834 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3835
38362013-09-02 Martin Rudalics <rudalics@gmx.at>
3837
3838 * avoid.el (mouse-avoidance-point-position)
3839 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3840 returns nil.
3841
38422013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3843
3844 * progmodes/python.el (python-shell-completion-get-completions):
3845 Drop use of deleted `comint-last-prompt-overlay'.
3846 (python-nav-if-name-main): New command.
3847
38482013-09-01 Glenn Morris <rgm@gnu.org>
3849
3850 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3851 Avoid leading space in $wins. Otherwise the sed command used by
3852 eg compile-main ends up containing "/*.el". (Bug#15170)
3853
3854 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3855
38562013-08-30 Glenn Morris <rgm@gnu.org>
3857
3858 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3859 Fix is-this-a-directory logic. (Bug#15220)
3860
38612013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3862
3863 * textmodes/css-mode.el: Use SMIE.
3864 (css-smie-grammar): New var.
3865 (css-smie--forward-token, css-smie--backward-token)
3866 (css-smie-rules): New functions.
3867 (css-mode): Use them.
3868 (css-navigation-syntax-table): Remove var.
3869 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3870 (css-indent-calculate, css-indent-line): Remove functions.
3871
3872 Misc changes to reduce use of `(lambda...); and other cleanups.
3873 * cus-edit.el: Use lexical-binding.
3874 (customize-push-and-save, customize-apropos)
3875 (custom-buffer-create-internal): Use closures.
3876 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3877 * progmodes/ada-xref.el: Use setq.
3878 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3879 * dframe.el: Use lexical-binding.
3880 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3881 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3882 * descr-text.el: Use lexical-binding.
3883 (describe-text-widget, describe-text-sexp, describe-property-list):
3884 Use closures.
3885 * comint.el (comint-history-isearch-push-state): Use a closure.
3886 * calculator.el: Use lexical-binding.
3887 (calculator-number-to-string): Make it work with lexical-binding.
3888 (calculator-funcall): Same and use cl-letf.
3889
3890 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3891 (lisp--company-doc-string, lisp--company-location): New functions.
3892 (lisp-completion-at-point): Use them to improve Company support.
3893
3894 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3895 params of lambda expressions.
3896 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3897 (ruby-smie--opening-pipe-p): New function.
3898 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3899 symbols and matched |...| for formal params.
3900 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3901 from being treated as hanging. Handle "rescue".
3902
39032013-08-29 Glenn Morris <rgm@gnu.org>
3904
3905 * progmodes/cc-engine.el (c-pull-open-brace):
3906 Move definition before use.
3907
39082013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3909
3910 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3911 are immutable. Don't use `unsafe' any more.
3912 (cl--defsubst-expand): Don't substitute at the same time as keeping
3913 a residual unused let-binding. Don't use `unsafe' any more.
3914
39152013-08-29 Glenn Morris <rgm@gnu.org>
3916
3917 * calendar/cal-china.el (calendar-chinese-year-cache):
3918 Recenter on 2015.
3919
3920 * nxml/nxml-util.el (nxml-debug-clear-inside):
3921 Use cl-loop rather than loop.
3922
3923 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3924
3925 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3926
39272013-08-28 Glenn Morris <rgm@gnu.org>
3928
3929 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3930
3931 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3932
3933 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3934
39352013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3936
3937 * simple.el (repeat-complex-command--called-interactively-skip):
3938 New function.
3939 (repeat-complex-command): Use it (bug#14136).
3940
3941 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3942 (c-define-abbrev-table): Add `doc' argument.
3943 (c-mode-abbrev-table, c++-mode-abbrev-table)
3944 (objc-mode-abbrev-table, java-mode-abbrev-table)
3945 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3946 (awk-mode-abbrev-table): Use it.
3947 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3948 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3949 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3950 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3951 Move initialization into the declaration; and remove any
3952 autoload cookie.
3953
3954 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3955 and dynamic let binding.
3956
3957 * vc/smerge-mode.el: Remove redundant :group args.
3958
3959 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3960 to load-path.
3961
39622013-08-28 Juri Linkov <juri@jurta.org>
3963
3964 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3965 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3966 (isearch-other-meta-char): Handle an undefined shifted printing
3967 character by downshifting it. (Bug#15200)
3968
39692013-08-28 Juri Linkov <juri@jurta.org>
3970
3971 * isearch.el (isearch-search): Change regexp error message for
3972 non-regexp searches. (Bug#15166)
3973
39742013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3975
3976 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3977 for portability to hosts where /bin/sh has problems.
3978
39792013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3980
3981 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3982
39832013-08-27 Juri Linkov <juri@jurta.org>
3984
3985 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3986 in the keyboard macro. (Bug#15126)
3987
39882013-08-27 Juri Linkov <juri@jurta.org>
3989
3990 * isearch.el (isearch-quote-char): Comment out converting unibyte
3991 to multibyte, thus syncing with its `quoted-insert' counterpart.
3992 (Bug#15166)
3993
39942013-08-27 Martin Rudalics <rudalics@gmx.at>
3995
3996 * window.el (display-buffer-use-some-window): Add missing
3997 argument in call of get-largest-window (Bug#15185).
3998 Reported by Stephen Leake.
3999
40002013-08-27 Glenn Morris <rgm@gnu.org>
4001
4002 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4003
40042013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4005
4006 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4007 from a matcher-function unless there's no more matches (bug#15161).
4008
40092013-08-26 Michael Albinus <michael.albinus@gmx.de>
4010
4011 * minibuffer.el: Revert change from 2013-08-20.
4012
4013 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4014 with text property `tramp-default', if appropriate.
4015 (tramp-check-proper-host): New defun.
4016 (tramp-dissect-file-name): Do not check hostname. Revert change
4017 of 2013-03-18.
4018 (tramp-backtrace): Make VEC-OR-PROC optional.
4019
4020 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4021 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4022 * net/tramp-sh.el (tramp-maybe-open-connection):
4023 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4024 Apply `tramp-check-proper-host'.
4025
40262013-08-26 Tassilo Horn <tsdh@gnu.org>
4027
4028 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4029 lambda expression in order to have `describe-variable' display it.
4030
40312013-08-26 Michael Albinus <michael.albinus@gmx.de>
4032
4033 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4034 BUF can be optional. (Bug#15186)
4035
40362013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4037
4038 * progmodes/flymake.el (flymake-get-real-file-name-function):
4039 Fix broken customization. (Bug#15184)
4040
40412013-08-25 Alan Mackenzie <acm@muc.de>
4042
4043 Improve indentation of bracelists defined by macros (without "=").
4044
4045 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4046 expansion begins with "{", regard it as bracelist when it doesn't
4047 contain a ";".
4048
4049 Parse C++ inher-intro when there's a template split over 2 lines.
4050
4051 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4052 rigorously the search for "class" etc. followed by ":".
4053
4054 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4055 random languages a regexp which never matches rather than nil.
4056
4057 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4058
4059 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4060 (c-awk-regexp-one-line-possibly-open-char-list-re)
4061 (c-awk-one-line-possibly-open-regexp-re)
4062 (c-awk-one-line-non-syn-ws*-re): Remove.
4063 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4064 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4065 (c-awk-space*-unclosed-regexp-/-re): New constants.
4066 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4067 aren't regexp delimiters.
4068
4069 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4070 handling for a rare situation in AWK Mode involving unterminated
4071 strings/regexps.
4072
40732013-08-23 Glenn Morris <rgm@gnu.org>
4074
4075 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4076
4077 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4078
4079 * files.el (create-file-buffer): If the result would begin with
4080 spaces, prepend a "|" instead of removing them. (Bug#15162)
4081
40822013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4083
4084 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4085 text-properties (bug#15155).
4086
4087 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4088 exist any more.
4089 (calc-keypad-redraw): Remove unused var `pad'.
4090 (calc-keypad-press): Remove unused var `menu'.
4091
40922013-08-23 Martin Rudalics <rudalics@gmx.at>
4093
4094 * window.el (display-buffer-pop-up-frame):
4095 Call pop-up-frame-function with BUFFER current so `make-frame' will
4096 use it as the new frame's buffer (Bug#15133).
4097
40982013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4099
4100 * calendar/timeclock.el: Minor cleanups.
4101 (timeclock-ask-before-exiting, timeclock-use-display-time):
4102 Use `symbol'.
4103 (timeclock-modeline-display): Define as alias before the
4104 actual definition.
4105 (timeclock-mode-line-display): Use define-minor-mode.
4106 (timeclock-day-list-template): Make it a function, add an argument.
4107 (timeclock-day-list-required, timeclock-day-list-length)
4108 (timeclock-day-list-debt, timeclock-day-list-span)
4109 (timeclock-day-list-break): Adjust calls accordingly.
4110
41112013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4112
4113 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4114 Use read--expression so that completion works again.
4115
41162013-08-21 Sam Steingold <sds@gnu.org>
4117
4118 Add rudimentary inferior shell interaction
4119 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4120 (sh-set-shell): Reset it.
4121 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4122 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4123
41242013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4125
4126 * align.el: Use lexical-binding.
4127 (align-region): Simplify accordingly.
4128
41292013-08-20 Michael Albinus <michael.albinus@gmx.de>
4130
4131 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4132
4133 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4134 `non-essential' up.
4135
41362013-08-17 Michael Albinus <michael.albinus@gmx.de>
4137
4138 * net/tramp.el:
4139 * net/tramp-adb.el:
4140 * net/tramp-cmds.el:
4141 * net/tramp-ftp.el:
4142 * net/tramp-gvfs.el:
4143 * net/tramp-gw.el:
4144 * net/tramp-sh.el: Don't wrap external variable declarations by
4145 `eval-when-compile'.
4146
41472013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4148
4149 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4150 now that Emacs supports ImageMagick animations.
4151
41522013-08-16 Michael Albinus <michael.albinus@gmx.de>
4153
4154 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4155 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4156
41572013-08-16 Martin Rudalics <rudalics@gmx.at>
4158
4159 * window.el (mouse-autoselect-window-select): Do autoselect when
4160 mouse pointer is on margin.
4161
41622013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4163
4164 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4165
41662013-08-16 Glenn Morris <rgm@gnu.org>
4167
4168 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4169 Handle "Remote Directory" response of some clients. (Bug#15058)
4170
4171 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4172 Tweak warning. (Bug#14926)
4173
4174 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4175 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4176
4177 * image-mode.el (image-mode-map): Add menu items to reverse,
4178 increase, decrease, reset animation speed.
4179 (image--set-speed, image-increase-speed, image-decrease-speed)
4180 (image-reverse-speed, image-reset-speed): New functions.
4181 (image-mode-map): Add bindings for speed commands.
4182
4183 * image.el (image-animate-get-speed, image-animate-set-speed):
4184 New functions.
4185 (image-animate-timeout): Respect image :speed property.
4186
41872013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4188
4189 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4190 previous line (bug#15101).
4191 (debugger-eval-expression, debugger-record-expression):
4192 Use read--expression (bug#15102).
4193
41942013-08-15 Michael Albinus <michael.albinus@gmx.de>
4195
4196 Remove byte compiler warnings, visible when compiling with
4197 `byte-compile-force-lexical-warnings' set to t.
4198
4199 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4200 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4201 (tramp-handle-unhandled-file-name-directory)
4202 (tramp-handle-file-notify-add-watch, tramp-action-login)
4203 (tramp-action-succeed, tramp-action-permission-denied)
4204 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4205 arguments with "_".
4206
4207 * net/tramp-adb.el (tramp-adb-parse-device-names)
4208 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4209 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4210 (tramp-adb-handle-file-truename): Remove unused arguments.
4211
4212 * net/tramp-cache.el (tramp-flush-directory-property)
4213 (tramp-flush-connection-property, tramp-list-connections)
4214 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4215
4216 * net/tramp-compat.el (tramp-compat-make-temp-file):
4217 Rename FILENAME to F.
4218
4219 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4220 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4221 (tramp-zeroconf-parse-workstation-device-names)
4222 (tramp-zeroconf-parse-webdav-device-names)
4223 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4224
4225 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4226 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4227
4228 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4229 arguments.
4230 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4231 (tramp-sh-handle-insert-file-contents-literally)
4232 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4233 with "_".
4234 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4235 Remove unused variables.
4236
4237 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4238 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4239 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4240
4241 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4242 Make them a defconst.
4243 (tramp-uuencode-region): Remove unused variable.
4244
42452013-08-14 Juanma Barranquero <lekktu@gmail.com>
4246
4247 * frameset.el (frameset--prop-setter): New function.
4248 (frameset-prop): Add gv-setter declaration.
4249 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4250 parameter was already set in FILTERED. Doc fix.
4251 (frameset--record-minibuffer-relationships): Allow saving a
4252 minibufferless frame without its corresponding minibuffer frame.
4253 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4254 frame, if the frame id matches.
4255 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4256 frames before orphaned ones.
4257 (frameset-restore): Warn about orphaned windows, instead of error out.
4258
42592013-08-14 Martin Rudalics <rudalics@gmx.at>
4260
4261 * window.el (window-make-atom): Don't overwrite parameter
4262 already present.
4263 (display-buffer-in-atom-window): Handle special case where we
4264 split an already atomic window.
4265 (window--major-non-side-window, display-buffer-in-side-window)
4266 (window--side-check): Ignore minibuffer window when walking
4267 window tree.
4268 (window-deletable-p): Return 'frame only if no other frame uses
4269 our minibuffer window.
4270 (record-window-buffer): Run buffer-list-update-hook.
4271 (split-window): Make sure window--check-frame won't destroy an
4272 existing atomic window in case the new window gets nested
4273 inside.
4274 (display-buffer-at-bottom): Ignore minibuffer window when
4275 walking window tree. Don't split a side window.
4276 (pop-to-buffer): Don't set-buffer here, the select-window call
4277 should do that.
4278 (mouse-autoselect-window-select): Autoselect only if we are in the
4279 text portion of the window.
4280
42812013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4282
4283 * net/shr.el (shr-parse-image-data): New function to grab both the
4284 data itself and the Content-Type.
4285 (shr-put-image): Use it.
4286
4287 * net/eww.el (eww-display-image): Ditto.
4288
4289 * image.el (image-content-type-suffixes): New variable.
4290
42912013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4292
4293 * progmodes/python.el (python-imenu--build-tree)
4294 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4295
42962013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4297
4298 * simple.el (backward-word): Mention the optional argument.
4299
43002013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4301
4302 * frameset.el (frameset--make): Rename constructor from make-frameset.
4303 (frameset-p, frameset-valid-p): Don't autoload.
4304 (frameset-valid-p): Use normal accessors.
4305
43062013-08-13 Glenn Morris <rgm@gnu.org>
4307
4308 * progmodes/compile.el (compile-command): Tweak example in doc.
4309 * obsolete/scribe.el (scribe-mode):
4310 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4311
4312 * mail/feedmail.el (feedmail-confirm-outgoing)
4313 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4314
4315 * cus-start.el (truncate-partial-width-windows): Fix type.
4316
4317 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4318
4319 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4320
43212013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4322
4323 * emacs-lisp/timer.el (timer--time-setter): New function.
4324 (timer--time): Use it as gv-setter.
4325
4326 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4327 setter is not a symbol.
4328
43292013-08-12 Grégoire Jadi <daimrod@gmail.com>
4330
4331 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4332 if sending fails. This makes debugging easier.
4333
43342013-08-12 Juanma Barranquero <lekktu@gmail.com>
4335
4336 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4337 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4338 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4339
43402013-08-12 Eli Zaretskii <eliz@gnu.org>
4341
4342 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4343
43442013-08-12 Glenn Morris <rgm@gnu.org>
4345
4346 * format.el (format-annotate-function):
4347 Handle read-only text properties in the source. (Bug#14887)
4348
43492013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4350
4351 * net/eww.el (eww-display-html): Ignore coding system errors.
4352 One web site uses "utf-8lias" as the coding system.
4353
43542013-08-11 Juanma Barranquero <lekktu@gmail.com>
4355
4356 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4357
43582013-08-10 Juanma Barranquero <lekktu@gmail.com>
4359
4360 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4361 (tutorial--detailed-help): Remove unused local variables.
4362 (tutorial--save-tutorial-to): Use ignore-errors.
4363 (help-with-tutorial): Use looking-at-p.
4364
4365 * view.el (view-buffer-other-window, view-buffer-other-frame):
4366 Mark unused arguments.
4367
4368 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4369 (woman-select-symbol-fonts, woman, woman-find-file)
4370 (woman-insert-file-contents, woman-non-underline-faces):
4371 Use string-match-p.
4372 (woman1-unquote): Move declaration.
4373
4374 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4375 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4376 argument. Remove unused local variable.
4377 (xml-parse-elem-type): Use string-match-p.
4378 (xml-substitute-numeric-entities): Use ignore-errors.
4379
4380 * calculator.el (calculator): Mark unused argument.
4381 (calculator-paste, calculator-quit, calculator-integer-p):
4382 Use ignore-errors.
4383 (calculator-string-to-number, calculator-decimal, calculator-exp)
4384 (calculator-op-or-exp): Use string-match-p.
4385
4386 * dired.el (dired-buffer-more-recently-used-p): Declare.
4387 (dired-insert-set-properties, dired-insert-old-subdirs):
4388 Use ignore-errors.
4389
4390 * dired-aux.el (dired-compress): Use ignore-errors.
4391 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4392 (dired-do-async-shell-command, dired-do-shell-command)
4393 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4394 (dired-insert-subdir-validate): Use string-match-p.
4395 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4396 (dired-add-entry): Use string-match-p, looking-at-p.
4397 (dired-insert-subdir-newpos): Remove unused local variable.
4398
4399 * filenotify.el (file-notify-callback): Remove unused local variable.
4400
4401 * filesets.el (filesets-error): Mark unused argument.
4402 (filesets-which-command-p, filesets-filter-dir-names)
4403 (filesets-directory-files, filesets-get-external-viewer)
4404 (filesets-ingroup-get-data): Use string-match-p.
4405
4406 * find-file.el (ff-other-file-name, ff-other-file-name)
4407 (ff-find-the-other-file, ff-cc-hh-converter):
4408 Remove unused local variables.
4409 (ff-get-file-name): Use string-match-p.
4410 (ff-all-dirs-under): Use ignore-errors.
4411
4412 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4413 (follow-select-if-visible): Remove unused local variable.
4414
4415 * forms.el (read-file-filter): Move declaration.
4416 (forms--make-format, forms--make-parser, forms-insert-record):
4417 Quote function with #'.
4418 (forms--update): Use string-match-p. Quote function with #'.
4419
4420 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4421 (help-make-xrefs): Use looking-at-p.
4422 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4423
4424 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4425 (ibuffer-confirm-operation-on): Use string-match-p.
4426
4427 * msb.el (msb-item-handler, msb-dired-item-handler):
4428 Mark unused arguments.
4429
4430 * ses.el (ses-decode-cell-symbol)
4431 (ses-kill-override): Remove unused local variable.
4432 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4433 (ses-load): Use ignore-errors, looking-at-p.
4434 (ses-jump-safe): Use ignore-errors.
4435 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4436
4437 * tabify.el (untabify, tabify): Mark unused arguments.
4438
4439 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4440 Mark unused argument.
4441 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4442 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4443
4444 * emacs-lisp/timer.el (timer--time): Define setter with
4445 gv-define-setter to avoid deprecation warning.
4446
4447 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4448 (*record-cmpl-statistics-p*): Remove (was commented out).
4449 (cmpl-statistics-block): Remove (body was commented out).
4450 All callers changed.
4451 (add-completions-from-buffer, load-completions-from-file):
4452 Remove unused variables.
4453
44542013-08-09 Juanma Barranquero <lekktu@gmail.com>
4455
4456 * filecache.el (file-cache-delete-file-list):
4457 Print message only when told so.
4458 (file-cache-files-matching): Use #' in mapconcat argument.
4459
4460 * ffap.el (ffap-url-at-point): Fix reference to variable
4461 thing-at-point-default-mail-uri-scheme.
4462
44632013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4464
4465 * subr.el (define-error): New function.
4466 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4467 error-file-not-found and define with define-error.
4468 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4469 and define with define-error.
4470 * userlock.el (file-locked, file-supersession):
4471 * simple.el (mark-inactive):
4472 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4473 * progmodes/ada-mode.el (ada-mode-errors):
4474 * play/life.el (life-extinct):
4475 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4476 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4477 * nxml/rng-util.el (rng-error):
4478 * nxml/rng-uri.el (rng-uri-error):
4479 * nxml/rng-match.el (rng-compile-error):
4480 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4481 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4482 * nxml/nxml-rap.el (nxml-scan-error):
4483 * nxml/nxml-outln.el (nxml-outline-error):
4484 * net/soap-client.el (soap-error):
4485 * net/gnutls.el (gnutls-error):
4486 * net/ange-ftp.el (ftp-error):
4487 * mpc.el (mpc-proc-error):
4488 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4489 (json-number-format, json-string-escape, json-string-format)
4490 (json-key-format, json-object-format):
4491 * jka-compr.el (compression-error):
4492 * international/quail.el (quail-error):
4493 * international/kkc.el (kkc-error):
4494 * emacs-lisp/ert.el (ert-test-failed):
4495 * calc/calc.el (calc-error, inexact-result, math-overflow)
4496 (math-underflow):
4497 * bookmark.el (bookmark-error-no-filename):
4498 * epg.el (epg-error): Define with define-error.
4499
4500 * time.el (display-time-event-handler)
4501 (display-time-next-load-average): Don't call sit-for since it seems
4502 unnecessary (bug#15045).
4503
4504 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4505 Use #' instead of ' to quote functions.
4506 (checkdoc-output-mode): Use setq-local.
4507 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4508 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4509 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4510 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4511 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4512 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4513 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4514 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4515
4516 * ido.el (ido-completion-help): Fix up compiler warning.
4517
45182013-08-09 Juanma Barranquero <lekktu@gmail.com>
4519
4520 * frameset.el (frameset-p): Add autoload cookie.
4521 (frameset--jump-to-register): New function, based on code moved from
4522 register.el.
4523 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4524
4525 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4526 (frameset-restore, frameset-save, frameset-session-filter-alist):
4527 Remove declarations.
4528 (register-alist): Doc fix.
4529 (frameset-to-register): Move to frameset.el.
4530 (jump-to-register, describe-register-1): Remove frameset-specific code.
4531
45322013-08-08 Juanma Barranquero <lekktu@gmail.com>
4533
4534 * allout-widgets.el (allout-widgets-pre-command-business)
4535 (allout-widgets-post-command-business)
4536 (allout-widgets-after-change-handler)
4537 (allout-decorate-item-and-context, allout-set-boundary-marker)
4538 (allout-body-modification-handler)
4539 (allout-graphics-modification-handler): Mark ignored arguments.
4540 (allout-widgets-post-command-business)
4541 (allout-widgets-exposure-change-processor)
4542 (allout-widgets-exposure-undo-processor)
4543 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4544 (allout-parse-item-at-point, allout-decorate-item-guides)
4545 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4546 * allout.el (epa-passphrase-callback-function): Declare.
4547 (allout-overlay-insert-in-front-handler)
4548 (allout-overlay-interior-modification-handler)
4549 (allout-isearch-end-handler, allout-chart-siblings)
4550 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4551 (allout-yank-processing, allout-process-exposed)
4552 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4553 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4554 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4555 (lisp-indent-defform): Mark ignored arguments.
4556 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4557 (calculate-lisp-indent): Remove unused variables.
4558 * international/characters.el (indian-2-column, arabic-2-column)
4559 (tibetan): Mark ignored arguments.
4560 (use-cjk-char-width-table): Mark ignored arguments.
4561 Remove unused variables.
4562 * international/fontset.el (build-default-fontset-data)
4563 (x-compose-font-name, create-fontset-from-fontset-spec):
4564 Mark ignored arguments.
4565 (fontset-plain-name): Remove unused variables.
4566 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4567 (keyboard-coding-system): Mark ignored arguments.
4568 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4569 * help.el (resize-temp-buffer-window):
4570 * window.el (display-buffer-in-major-side-window)
4571 (display-buffer-in-side-window, display-buffer-in-previous-window):
4572 Remove unused variables.
4573 * isearch.el (isearch-forward-symbol):
4574 * version.el (emacs-bzr-version-bzr):
4575 * international/mule-cmds.el (current-language-environment):
4576 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4577 (x-handle-display):
4578 * term/pc-win.el (x-list-fonts, x-display-planes)
4579 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4580 (x-server-version, x-display-screens, x-display-mm-height)
4581 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4582 (x-selection-owner-p, x-own-selection-internal)
4583 (x-disown-selection-internal, x-get-selection-internal)
4584 (msdos-initialize-window-system):
4585 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4586 * term/x-win.el (x-handle-no-bitmap-icon):
4587 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4588 (vc-default-find-file-hook, vc-default-extra-menu):
4589 Mark ignored arguments.
4590
45912013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4592
4593 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4594 break-condition in the context of the debugged code (bug#12685).
4595
45962013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4597
4598 * comint.el:
4599 Do not use an overlay to highlight the last prompt. (Bug#14744)
4600 (comint-mode): Make comint-last-prompt buffer local.
4601 (comint-last-prompt): New variable.
4602 (comint-last-prompt-overlay): Remove. Superseded by
4603 comint-last-prompt.
4604 (comint-snapshot-last-prompt, comint-output-filter):
4605 Use comint-last-prompt.
4606
46072013-08-08 Juanma Barranquero <lekktu@gmail.com>
4608
4609 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4610 (frameset-save): Check validity of the resulting frameset.
4611
46122013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4613
4614 * ido.el (ido-record-command): Add doc string.
4615
46162013-08-08 Juanma Barranquero <lekktu@gmail.com>
4617
4618 * frameset.el (frameset): Do not disable creation of the default
4619 frameset-p predicate. Doc fix.
4620 (frameset-valid-p): New function, copied from the old predicate-p.
4621 Add additional checks.
4622 (frameset-restore): Check with frameset-valid-p.
4623 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4624 (frameset-name, frameset-description, frameset-properties)
4625 (frameset-states): Add docstring.
4626 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4627 (frameset-filter-alist): Doc fixes.
4628
46292013-08-08 Juanma Barranquero <lekktu@gmail.com>
4630
4631 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4632
46332013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4634
4635 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4636 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4637 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4638 (byte-compile-normal-call): Remove obsolescence check.
4639
46402013-08-08 Juanma Barranquero <lekktu@gmail.com>
4641
4642 * frameset.el (frameset-restore): Doc fix.
4643
4644 * register.el (frameset-frame-id, frameset-frame-with-id)
4645 (frameset-p, frameset-restore, frameset-save): Declare.
4646 (register-alist): Document framesets.
4647 (frameset-session-filter-alist): Declare.
4648 (frameset-to-register): New function.
4649 (jump-to-register): Implement jumping to framesets. Doc fix.
4650 (describe-register-1): Describe framesets.
4651
4652 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4653
46542013-08-07 Juanma Barranquero <lekktu@gmail.com>
4655
4656 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4657 Use lexical-binding.
4658
4659 * frameset.el (frameset): Use type vector, not list (incompatible
4660 change). Do not declare a new constructor, use the default one.
4661 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4662 `name' and `description', respectively, and add read-only slot
4663 `timestamp'. Doc fixes.
4664 (frameset-copy, frameset-persistent-filter-alist)
4665 (frameset-filter-alist, frameset-switch-to-gui-p)
4666 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4667 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4668 (frameset-filter-iconified, frameset-keep-original-display-p):
4669 Doc fixes.
4670 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4671 Rename from frameset-filter-(save|restore)-param. All callers changed.
4672 Doc fix.
4673 (frameset-p): Adapt to change to vector and be more thorough.
4674 Change arg name to OBJECT. Doc fix.
4675 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4676 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4677 All callers changed.
4678 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4679 All callers changed.
4680 (frameset--record-minibuffer-relationships): Rename from
4681 frameset--process-minibuffer-frames. All callers changed.
4682 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4683 Use new default constructor (again). Doc fix.
4684 (frameset--find-frame-if): Rename from `frameset--find-frame.
4685 All callers changed.
4686 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4687 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4688 Doc fix.
4689 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4690 PARAMETERS and WINDOW-STATE, respectively.
4691 (frameset-restore): Add new keyword argument PREDICATE.
4692 Reset frameset--target-display to nil. Doc fix.
4693
46942013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4695
4696 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4697 (bat-mode): Use it.
4698 (bat-mode-syntax-table): Mark \n as end-of-comment.
4699 (bat-font-lock-keywords): Remove comment rule.
4700
4701 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4702 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4703
4704 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4705 (byte-compile-callargs-warn): Use `push'.
4706 (byte-compile-arglist-warn): Ignore higher-order "calls".
4707 (byte-compile-file-form-autoload): Use `pcase'.
4708 (byte-compile-function-form): If quoting a symbol, check that it exists.
4709
47102013-08-07 Eli Zaretskii <eliz@gnu.org>
4711
4712 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4713 and add a few popular commands found in batch files.
4714 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4715 (dos-mode): Doc fixes.
4716
47172013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4718
4719 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4720 (dos-mode): Use setq-local. Add space after "rem".
4721 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4722 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4723
47242013-08-07 Arni Magnusson <arnima@hafro.is>
4725
4726 * progmodes/dos.el: New file.
4727 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4728 dos-mode.
4729
47302013-08-06 Glenn Morris <rgm@gnu.org>
4731
4732 * calendar/calendar.el: Add new faces, and day-header-array.
4733 (calendar-weekday-header, calendar-weekend-header)
4734 (calendar-month-header): New faces.
4735 (calendar-day-header-construct): New function.
4736 (calendar-day-header-width): Also :set calendar-day-header-array.
4737 (calendar-american-month-header, calendar-european-month-header)
4738 (calendar-iso-month-header): Use calendar- faces.
4739 (calendar-generate-month):
4740 Use calendar-day-header-array for day headers; apply faces to them.
4741 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4742 (calendar-abbrev-construct): Add optional maxlen argument.
4743 (calendar-day-name-array): Doc fix.
4744 (calendar-day-name-array, calendar-abbrev-length)
4745 (calendar-day-abbrev-array):
4746 Also :set calendar-day-header-array, and maybe redraw.
4747 (calendar-day-header-array): New option. (Bug#15007)
4748 (calendar-font-lock-keywords): Set to nil and make obsolete.
4749 (calendar-day-name): Add option to use header array.
4750
47512013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4752
4753 * net/shr.el (shr-render-td): Remove debugging.
4754 (shr-render-td): Make width computation consistent by defaulting
4755 all zero-width columns to 10 characters. This may not be optimal,
4756 but it's at least consistent.
4757 (shr-make-table-1): Redo last change to fix the real problem in
4758 colspan handling.
4759
47602013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4761
4762 * files.el (cache-long-line-scans):
4763 Make obsolete alias to `cache-long-scans'.
4764
47652013-08-06 Juanma Barranquero <lekktu@gmail.com>
4766
4767 * frameset.el (frameset, frameset-filter-alist)
4768 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4769 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4770 (frameset-compute-pos): Rename from frameset--compute-pos,
4771 and add docstring.
4772 (frameset-move-onscreen): Use frameset-compute-pos.
4773 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4774
4775 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4776 Fix typos in docstrings.
4777
47782013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4779
4780 * frame.el (get-other-frame): Tiny cleanup.
4781
47822013-08-06 Juanma Barranquero <lekktu@gmail.com>
4783
4784 * vc/vc.el (vc-default-ignore-completion-table):
4785 Silence byte-compiler warning.
4786
4787 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4788 slot , which can indeed be nil.
4789 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4790 Move entry for `left' from persistent to live filter alist.
4791 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4792 Doc fixes.
4793 (frameset-filter-params): When restoring a frame, copy items added to
4794 `filtered', to avoid unwittingly modifying the original parameters.
4795 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4796 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4797
4798 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4799 to use looking-at-p instead of looking-at. (Bug#15028)
4800
48012013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4802
4803 Revert introduction of isearch-filter-predicates (bug#14714).
4804 Rely on add-function instead.
4805 * isearch.el (isearch-filter-predicates): Rename it back to
4806 isearch-filter-predicate.
4807 (isearch-message-prefix): Use advice-function-mapc and advice
4808 properties to get the isearch-message-prefix.
4809 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4810 instead of run-hook-with-args-until-failure.
4811 (isearch-filter-visible): Not obsolete any more.
4812 * loadup.el: Preload nadvice.
4813 * replace.el (perform-replace): Revert to funcall
4814 instead of run-hook-with-args-until-failure.
4815 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4816 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4817 dired-isearch-filenames-toggle; make it into a proper minor mode.
4818 Use add/remove-function.
4819 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4820 Call the minor-mode rather than add/remove-hook.
4821 (dired-isearch-filter-filenames):
4822 Remove isearch-message-prefix property.
4823 * info.el (Info--search-loop): New function, extracted from Info-search.
4824 Funcall isearch-filter-predicate instead of
4825 run-hook-with-args-until-failure isearch-filter-predicates.
4826 (Info-search): Use it.
4827 (Info-mode): Use isearch-filter-predicate instead of
4828 isearch-filter-predicates.
4829
48302013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4831
4832 Do not call to `selected-window' where it is assumed by default.
4833 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4834 `window-hscroll', `window-width', `window-height', `window-buffer',
4835 `window-frame', `window-start', `window-point', `next-window'
4836 and `window-display-table'.
4837 * abbrev.el (abbrev--default-expand):
4838 * bs.el (bs--show-with-configuration):
4839 * buff-menu.el (Buffer-menu-mouse-select):
4840 * calc/calc.el (calc):
4841 * calendar/calendar.el (calendar-generate-window):
4842 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4843 (diary-make-entry):
4844 * comint.el (send-invisible, comint-dynamic-complete-filename)
4845 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4846 * completion.el (complete):
4847 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4848 * disp-table.el (describe-current-display-table):
4849 * doc-view.el (doc-view-insert-image):
4850 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4851 * ehelp.el (with-electric-help):
4852 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4853 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4854 * emacs-lisp/helper.el (Helper-help-scroller):
4855 * emulation/cua-base.el (cua--post-command-handler-1):
4856 * eshell/esh-mode.el (eshell-output-filter):
4857 * ffap.el (ffap-gnus-wrapper):
4858 * help-macro.el (make-help-screen):
4859 * hilit-chg.el (highlight-compare-buffers):
4860 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4861 * hl-line.el (global-hl-line-highlight):
4862 * icomplete.el (icomplete-simple-completing-p):
4863 * isearch.el (isearch-done):
4864 * jit-lock.el (jit-lock-stealth-fontify):
4865 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4866 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4867 * mpc.el (mpc-tagbrowser, mpc):
4868 * net/rcirc.el (rcirc-any-buffer):
4869 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4870 * play/landmark.el (landmark-max-width, landmark-max-height):
4871 * play/zone.el (zone):
4872 * progmodes/compile.el (compilation-goto-locus):
4873 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4874 * progmodes/etags.el (find-tag-other-window):
4875 * progmodes/fortran.el (fortran-column-ruler):
4876 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4877 * progmodes/verilog-mode.el (verilog-point-text):
4878 * reposition.el (reposition-window):
4879 * rot13.el (toggle-rot13-mode):
4880 * server.el (server-switch-buffer):
4881 * shell.el (shell-dynamic-complete-command)
4882 (shell-dynamic-complete-environment-variable):
4883 * simple.el (insert-buffer, set-selective-display)
4884 (delete-completion-window):
4885 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4886 (speedbar-recenter):
4887 * startup.el (fancy-splash-head):
4888 * textmodes/ispell.el (ispell-command-loop):
4889 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4890 * tutorial.el (help-with-tutorial):
4891 * vc/add-log.el (add-change-log-entry):
4892 * vc/compare-w.el (compare-windows):
4893 * vc/ediff-help.el (ediff-indent-help-message):
4894 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4895 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4896 (ediff-setup-control-frame):
4897 * vc/emerge.el (emerge-position-region):
4898 * vc/pcvs-util.el (cvs-bury-buffer):
4899 * window.el (walk-windows, mouse-autoselect-window-select):
4900 * winner.el (winner-set-conf, winner-undo): Related users changed.
4901
49022013-08-05 Juanma Barranquero <lekktu@gmail.com>
4903
4904 * frameset.el (frameset--set-id): Doc fix.
4905 (frameset-frame-id, frameset-frame-id-equal-p)
4906 (frameset-locate-frame-id): New functions.
4907 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4908 (frameset-restore): Use them.
4909
49102013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4911
4912 Do not call to `selected-frame' where it is assumed by default.
4913 Affected functions are `raise-frame', `redraw-frame',
4914 `frame-first-window', `frame-terminal' and `delete-frame'.
4915 * calendar/appt.el (appt-disp-window):
4916 * epg.el (epg-wait-for-completion):
4917 * follow.el (follow-delete-other-windows-and-split)
4918 (follow-avoid-tail-recenter):
4919 * international/mule.el (set-terminal-coding-system):
4920 * mail/rmail.el (rmail-mail-return):
4921 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4922 * progmodes/f90.el (f90-add-imenu-menu):
4923 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4924 * server.el (server-switch-buffer):
4925 * simple.el (delete-completion-window):
4926 * talk.el (talk):
4927 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4928 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4929 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4930 * vc/ediff.el (ediff-documentation): Related users changed.
4931 * frame.el (selected-terminal): Remove the leftover.
4932
49332013-08-05 Glenn Morris <rgm@gnu.org>
4934
4935 * calendar/calendar.el (calendar-generate-month):
4936 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4937 (calendar-generate-month, calendar-font-lock-keywords):
4938 Fix for calendar-day-header-width > length of any day name.
4939
49402013-08-05 Juanma Barranquero <lekktu@gmail.com>
4941
4942 * desktop.el (desktop-clear): Use new name of sort predicate.
4943
4944 * frameset.el (frameset): Add docstring. Move :version property to its
4945 own `version' slot.
4946 (frameset-copy): Rename from copy-frameset.
4947 (frameset-p): Check more thoroughly.
4948 (frameset-prop): Do not check for :version, which is no longer a prop.
4949 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4950 Use new :never value instead of t.
4951 (frameset-filter-alist): Expand and clarify docstring.
4952 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4953 (frameset-filter-minibuffer, frameset-filter-save-param)
4954 (frameset-filter-restore-param, frameset-filter-iconified):
4955 Add pointer to docstring of frameset-filter-alist.
4956 (frameset-filter-params): Rename filter values to be more meaningful:
4957 :never instead of t, and reverse the meanings of :save and :restore.
4958 (frameset--process-minibuffer-frames): Clarify error message.
4959 (frameset-save): Avoid unnecessary and confusing call to framep.
4960 Use new BOA constructor for framesets.
4961 (frameset--reuse-list): Doc fix.
4962 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4963 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4964 (frameset-minibufferless-first-p): Doc fix.
4965 Rename from frameset-sort-frames-for-deletion.
4966 (frameset-restore): Doc fixes. Use new function names.
4967 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4968
49692013-08-04 Juanma Barranquero <lekktu@gmail.com>
4970
4971 * desktop.el (desktop-restore-forces-onscreen)
4972 (desktop-restore-reuses-frames): Document :keyword constant values.
4973 (desktop-filter-parameters-alist): Remove, now identical to
4974 frameset-filter-alist.
4975 (desktop--filter-tty*): Remove, moved to frameset.el.
4976 (desktop-save-frameset, desktop-restore-frameset):
4977 Do not pass :filters argument.
4978
4979 * frameset.el (frameset-live-filter-alist)
4980 (frameset-persistent-filter-alist): New variables.
4981 (frameset-filter-alist): Use them. Add autoload cookie.
4982 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4983 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4984 `frameset--id' (it's supposed to be internal to frameset.el).
4985 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4986 (frameset--initial-params): New function.
4987 (frameset--get-frame): Use it. Doc fix.
4988 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4989 Accept :all, not 'all.
4990 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4991 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4992 with fbound symbols. Fix frame id matching, and remove matching ids if
4993 the frame being restored is deleted. Obey :delete.
4994
49952013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4996
4997 * subr.el (macrop): New function.
4998 (text-clone--maintaining): New var.
4999 (text-clone--maintain): Rename from text-clone-maintain. Use it
5000 instead of inhibit-modification-hooks.
5001
5002 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5003 a proxy, so as handle autoloads and redefinitions of the target.
5004 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5005
5006 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5007 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5008 (pcase--mutually-exclusive-p): New function.
5009 (pcase--split-consp): Use it.
5010 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5011 mutually exclusive with the current predicate.
5012
5013 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5014 (edebug-macrop): Remove. Use `macrop' instead.
5015 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5016 (ad-macro-p):
5017 * eshell/esh-cmd.el (eshell-macrop):
5018 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5019
50202013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5021
5022 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5023 (advice-mapc): New function, using it.
5024 (advice-function-member-p): New function.
5025 (advice--normalize): Store the cdr in advice--saved-rewrite since
5026 that's the part that will be changed.
5027 (advice--symbol-function): New function.
5028 (advice-remove): Handle removal before the function is defined.
5029 Adjust to new advice--saved-rewrite.
5030 (advice-member-p): Use advice-function-member-p and
5031 advice--symbol-function.
5032
50332013-08-04 Juanma Barranquero <lekktu@gmail.com>
5034
5035 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5036 (frameset-filter-minibuffer): Doc fix.
5037 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5038 (frameset--set-id, frameset--process-minibuffer-frames)
5039 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5040 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5041
5042 * desktop.el (desktop-clear): Only delete frames when called
5043 interactively and desktop-restore-frames is non-nil. Doc fix.
5044 (desktop-read): Set desktop-saved-frameset to nil.
5045
50462013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5047
5048 * vc/vc.el (vc-ignore): Rewrite.
5049 (vc-default-ignore-completion-table):
5050 (vc--read-lines):
5051 (vc--add-line, vc--remove-regexp): New functions.
5052
5053 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5054 (vc-svn-ignore-completion-table): New function.
5055
5056 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5057 (vc-hg-ignore-completion-table):
5058 (vc-hg-find-ignore-file): New functions.
5059
5060 * vc/vc-git.el (vc-git-ignore): Rewrite.
5061 (vc-git-ignore-completion-table):
5062 (vc-git-find-ignore-file): New functions.
5063
5064 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5065
5066 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5067 (vc-bzr-ignore-completion-table):
5068 (vc-bzr-find-ignore-file): New functions.
5069
50702013-08-03 Juanma Barranquero <lekktu@gmail.com>
5071
5072 * frameset.el (frameset-prop): New function and setter.
5073 (frameset-save): Do not modify frame list passed by the caller.
5074
50752013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5076
5077 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5078
50792013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5080
5081 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5082 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5083
5084 * custom.el (custom-initialize-default, custom-initialize-set)
5085 (custom-initialize-reset, custom-initialize-changed): Affect the
5086 toplevel-default-value (bug#6275, bug#14586).
5087 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5088 for bug#6275.
5089
50902013-08-02 Juanma Barranquero <lekktu@gmail.com>
5091
5092 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5093 Add cl-def* expressions.
5094
5095 * frameset.el (frameset-filter-params): Fix order of arguments.
5096
50972013-08-02 Juanma Barranquero <lekktu@gmail.com>
5098
5099 Move code related to saving frames to frameset.el.
5100 * desktop.el: Require frameset.
5101 (desktop-restore-frames): Doc fix.
5102 (desktop-restore-reuses-frames): Rename from
5103 desktop-restoring-reuses-frames.
5104 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5105 (desktop-clear): Clear frames too.
5106 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5107 (desktop--filter-tty*, desktop-save, desktop-read):
5108 Use frameset functions.
5109 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5110 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5111 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5112 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5113 (desktop--process-minibuffer-frames, desktop-save-frames)
5114 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5115 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5116 (desktop--sort-states, desktop-restoring-frames-p)
5117 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5118 (desktop-restoring-frameset-p, desktop-restore-frameset)
5119 (desktop--check-dont-save, desktop-save-frameset): New functions.
5120 (desktop--app-id): New constant.
5121 (desktop-first-buffer, desktop-buffer-ok-count)
5122 (desktop-buffer-fail-count): Move before first use.
5123 * frameset.el: New file.
5124
51252013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5126
5127 * files.el: Use lexical-binding.
5128 (dir-locals-read-from-file): Remove unused `err' variable.
5129 (hack-dir-local-variables--warned-coding): New var.
5130 (hack-dir-local-variables): Use it to avoid repeated warnings.
5131 (make-backup-file-name--default-function): New function.
5132 (make-backup-file-name-function): Use it as default.
5133 (buffer-stale--default-function): New function.
5134 (buffer-stale-function): Use it as default.
5135 (revert-buffer-insert-file-contents--default-function): New function.
5136 (revert-buffer-insert-file-contents-function): Use it as default.
5137 (insert-directory): Avoid add-to-list.
5138
5139 * autorevert.el (auto-revert-handler): Simplify.
5140 Use buffer-stale--default-function.
5141
51422013-08-01 Tassilo Horn <tsdh@gnu.org>
5143
5144 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5145
5146 * whitespace.el (whitespace-ensure-local-variables): New function.
5147 (whitespace-cleanup-region): Call it.
5148 (whitespace-turn-on): Call it.
5149
51502013-08-01 Michael Albinus <michael.albinus@gmx.de>
5151
5152 Complete file name handlers.
5153
5154 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5155 (tramp-handle-verify-visited-file-modtime)
5156 (tramp-handle-file-notify-rm-watch): New functions.
5157 (tramp-call-process): Do not bind `default-directory'.
5158
5159 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5160 Order alphabetically.
5161 [access-file, add-name-to-file, dired-call-process]:
5162 [dired-compress-file, file-acl, file-notify-rm-watch]:
5163 [file-ownership-preserved-p, file-selinux-context]:
5164 [make-directory-internal, make-symbolic-link, set-file-acl]:
5165 [set-file-selinux-context, set-visited-file-modtime]:
5166 [verify-visited-file-modtime]: Add handler.
5167 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5168
5169 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5170 [file-notify-add-watch, file-notify-rm-watch]:
5171 [set-file-times, set-visited-file-modtime]:
5172 [verify-visited-file-modtime]: Add handler.
5173 (with-tramp-gvfs-error-message)
5174 (tramp-gvfs-handle-set-visited-file-modtime)
5175 (tramp-gvfs-fuse-file-name): Remove.
5176 (tramp-gvfs-handle-file-notify-add-watch)
5177 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5178 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5179
5180 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5181 Order alphabetically.
5182 [file-notify-rm-watch ]: Use default Tramp handler.
5183 [executable-find]: Remove private handler.
5184 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5185 `default-directory'.
5186 (tramp-sh-handle-executable-find)
5187 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5188 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5189 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5190 Do not use `format' in `tramp-message'.
5191
5192 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5193 [file-notify-rm-watch, set-visited-file-modtime]:
5194 [verify-visited-file-modtime]: Add handler.
5195 (tramp-smb-call-winexe): Do not bind `default-directory'.
5196
51972013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5198
5199 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5200
52012013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5202
5203 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5204 use it.
5205 (log-view-diff-changeset): Same.
5206 (log-view-diff-common): Call backend command `previous-revision'
5207 to find out the previous revision, in both cases. Swap the
5208 variables `to' and `fr', so that `fr' usually refers to the
5209 earlier revision (Bug#14989).
5210
52112013-07-31 Kan-Ru Chen <kanru@kanru.info>
5212
5213 * ibuf-ext.el (ibuffer-filter-by-filename):
5214 Make it work with dired buffers too.
5215
52162013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5217
5218 * emacs-lisp/re-builder.el (reb-color-display-p):
5219 * files.el (save-buffers-kill-terminal):
5220 * net/browse-url.el (browse-url):
5221 * server.el (server-save-buffers-kill-terminal):
5222 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5223 Prefer nil to selected-frame for the first arg of frame-parameter.
5224
52252013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5226
5227 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5228
52292013-07-30 Stephen Berman <stephen.berman@gmx.net>
5230
5231 * minibuffer.el (completion--twq-all): Try and preserve each
5232 completion's case choice (bug#14907).
5233
52342013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5235
5236 * net/network-stream.el (open-network-stream): Mention the new
5237 :nogreeting parameter.
5238 (network-stream-open-starttls): Use the :nogreeting parameter
5239 (bug#14938).
5240
5241 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5242
5243 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5244 more natural than popping.
5245
5246 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5247 (shr-urlify): Highlight under mouse.
5248
52492013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5250
5251 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5252
5253 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5254
5255 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5256 buffer for output.
5257
5258 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5259 point-min==1. Fix search string. Fix parentheses missing.
5260
5261 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5262 assume point-min==1. Fix search string. Fix parentheses missing.
5263
5264 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5265
5266 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5267 buffer for output.
5268
52692013-07-29 Eli Zaretskii <eliz@gnu.org>
5270
5271 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5272 initial frame is minibuffer-less. (Bug#14841)
5273
52742013-07-29 Michael Albinus <michael.albinus@gmx.de>
5275
5276 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5277 option.
5278
5279 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5280 (tramp-maybe-open-connection): Use it.
5281
52822013-07-28 Juanma Barranquero <lekktu@gmail.com>
5283
5284 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5285 minimal set of parameters passed when creating a frame, because
5286 the minibuffer status of a frame cannot be changed later.
5287
52882013-07-28 Stephen Berman <stephen.berman@gmx.net>
5289
5290 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5291 replace-regexp-in-string and inadvertent omissions in previous change.
5292 (todo-filter-items): Ensure only file names are comma-separated in
5293 name of filtered items buffer.
5294
52952013-07-28 Juanma Barranquero <lekktu@gmail.com>
5296
5297 * desktop.el: Optionally force offscreen frames back onscreen.
5298 (desktop-restoring-reuses-frames): New option.
5299 (desktop--compute-pos, desktop--move-onscreen): New functions.
5300 (desktop--make-frame): Use desktop--move-onscreen.
5301
53022013-07-27 Alan Mackenzie <acm@muc.de>
5303
5304 Fontify a Java generic method as a function.
5305 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5306 value to t.
5307
53082013-07-27 Stephen Berman <stephen.berman@gmx.net>
5309
5310 * calendar/todo-mode.el: Add command to rename todo files.
5311 (todo-rename-file): New command.
5312 (todo-key-bindings-t): Add key binding for it. Change the
5313 bindings of todo-filter-regexp-items(-multifile) to use `x'
5314 instead of `r', since the latter is better suited to the new
5315 renaming command.
5316
53172013-07-27 Alan Mackenzie <acm@muc.de>
5318
5319 Make Java try-with-resources statement parse properly.
5320 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5321 (c-block-stmt-1-2-key): New language constants/variables.
5322 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5323 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5324 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5325 with c-block-stmt-1-2-key.
5326
53272013-07-27 Juanma Barranquero <lekktu@gmail.com>
5328
5329 * desktop.el (desktop--make-frame): Apply most frame parameters after
5330 creating the frame to force (partially or totally) offscreen frames to
5331 be restored as such.
5332
53332013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5334
5335 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5336 (Bug#14948)
5337
53382013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5339
5340 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5341 `base' arg of backtrace-frame.
5342
53432013-07-26 Eli Zaretskii <eliz@gnu.org>
5344
5345 * simple.el (list-processes): Doc fix.
5346
53472013-07-26 Juanma Barranquero <lekktu@gmail.com>
5348
5349 * desktop.el (desktop--select-frame):
5350 Try harder to reuse existing frames.
5351
53522013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5353
5354 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5355 (edebug-eval): Use backtrace-eval.
5356 (edebug--display, edebug--recursive-edit): Don't let-bind the
5357 edebug-outer-* vars that keep track of variables we locally let-bind.
5358 (edebug-outside-excursion): Don't restore outside values of locally
5359 let-bound vars.
5360 (edebug--display): Use user-error.
5361 (cl-lexical-debug, cl-debug-env): Remove.
5362
53632013-07-26 Juanma Barranquero <lekktu@gmail.com>
5364
5365 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5366 are restored to be sure that they are visible before deleting any
5367 remaining ones.
5368
53692013-07-26 Matthias Meulien <orontee@gmail.com>
5370
5371 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5372 vc-print-root-log. (Bug#14948)
5373
53742013-07-26 Richard Stallman <rms@gnu.org>
5375
5376 Add aliases for encrypting mail.
5377 * epa.el (epa-mail-aliases): New option.
5378 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5379 Bind inhibit-read-only so read-only text doesn't ruin everything.
5380 (epa-mail-default-recipients): New subroutine broken out.
5381 Handle epa-mail-aliases.
5382
53832013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5384
5385 Add support for lexical variables to the debugger's `e' command.
5386 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5387 vars, except for debugger-outer-match-data.
5388 (debugger-frame-number): Move check for "on a function call" from
5389 callers into it. Add `skip-base' argument.
5390 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5391 (debugger-env-macro): Only reset the state stored in non-variables,
5392 i.e. current-buffer and match-data.
5393 (debugger-eval-expression): Rewrite using backtrace-eval.
5394 * subr.el (internal--called-interactively-p--get-frame): Remove.
5395 (called-interactively-p):
5396 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5397 `base' arg of backtrace-frame instead.
5398
53992013-07-26 Glenn Morris <rgm@gnu.org>
5400
5401 * align.el (align-regexp): Doc fix. (Bug#14857)
5402 (align-region): Explicit error if subexpression missing/does not match.
5403
5404 * simple.el (global-visual-line-mode):
5405 Do not duplicate the mode lighter. (Bug#14858)
5406
54072013-07-25 Martin Rudalics <rudalics@gmx.at>
5408
5409 * window.el (display-buffer): In display-buffer bind
5410 split-window-keep-point to t, bug#14829.
5411
54122013-07-25 Juanma Barranquero <lekktu@gmail.com>
5413
5414 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5415 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5416 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5417 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5418 Change accordingly.
5419 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5420 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5421
54222013-07-25 Glenn Morris <rgm@gnu.org>
5423
5424 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5425
54262013-07-25 Juanma Barranquero <lekktu@gmail.com>
5427
5428 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5429 parameter to modify-frame-parameters if the value has not changed;
5430 this is a workaround for bug#14949.
5431 (desktop--make-frame): On cl-delete-if call, check parameter name,
5432 not full parameter.
5433
54342013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5435
5436 * vc/vc.el (vc-ignore): New function.
5437
5438 * vc/vc-svn.el (vc-svn-ignore): New function.
5439
5440 * vc/vc-hg.el (vc-hg-ignore): New function.
5441
5442 * vc/vc-git.el (vc-git-ignore): New function.
5443
5444 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5445 (vc-dir-ignore): New function.
5446
5447 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5448 (cvs-append-to-ignore): Move here from pcvs.el.
5449
5450 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5451
5452 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5453
54542013-07-24 Juanma Barranquero <lekktu@gmail.com>
5455
5456 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5457 (desktop-restore-frames): Warn when deleting an existing frame failed.
5458
54592013-07-24 Glenn Morris <rgm@gnu.org>
5460
5461 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5462
54632013-07-24 Michael Albinus <michael.albinus@gmx.de>
5464
5465 * filenotify.el (file-notify-supported-p):
5466 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5467 Remove functions.
5468
5469 * autorevert.el (auto-revert-use-notify):
5470 (auto-revert-notify-add-watch):
5471 * net/tramp.el (tramp-file-name-for-operation):
5472 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5473 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5474 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5475 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5476 Remove `file-notify-supported-p' entry.
5477
54782013-07-24 Glenn Morris <rgm@gnu.org>
5479
5480 * printing.el: Replace all uses of deleted ps-windows-system,
5481 ps-lp-system, ps-flatten-list with lpr- versions.
5482
54832013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5484
5485 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5486 checked with memq (bug#14935).
5487
5488 * files.el (revert-buffer-function): Use a non-nil default.
5489 (revert-buffer-preserve-modes): Declare var to
5490 provide access to the `preserve-modes' argument.
5491 (revert-buffer): Let-bind it.
5492 (revert-buffer--default): New function, extracted from revert-buffer.
5493
54942013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5495
5496 * lpr.el: Signal print errors more prominently.
5497 (print-region-function): Don't default to nil.
5498 (lpr-print-region): New function, extracted from print-region-1.
5499 Check lpr's return value and signal an error in case of problem.
5500 (print-region-1): Use it.
5501 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5502 versions instead.
5503 (ps-printer-name): Default to nil.
5504 (ps-printer-name-option): Default to lpr-printer-switch.
5505 (ps-print-region-function): Don't default to nil.
5506 (ps-postscript-code-directory): Simplify default.
5507 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5508 (ps-string-list, ps-eval-switch, ps-flatten-list)
5509 (ps-flatten-list-1): Remove.
5510 (ps-multibyte-buffer): Avoid setq.
5511 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5512 (print-region-function, ps-print-region-function): Don't set them here.
5513
55142013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5515
5516 * ido.el (ido-fractionp):
5517 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5518 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5519 (ido-max-directory-size, ido-max-dir-file-cache)
5520 (ido-decorations): Doc fix.
5521
5522 * ansi-color.el: Fix old URL.
5523
55242013-07-23 Michael R. Mauger <michael@mauger.com>
5525
5526 * progmodes/sql.el: Version 3.3
5527 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5528 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5529 (sql-interactive-remove-continuation-prompt): Rewrite, use
5530 functions above. Fix continuation prompt and complete output line
5531 handling.
5532 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5533 redirected output buffer.
5534 (sql-mode): Restore deleted code (Bug#13591).
5535
55362013-07-23 Juanma Barranquero <lekktu@gmail.com>
5537
5538 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5539
55402013-07-23 Michael Albinus <michael.albinus@gmx.de>
5541
5542 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5543
5544 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5545 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5546 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5547
55482013-07-23 Juanma Barranquero <lekktu@gmail.com>
5549
5550 * desktop.el (desktop-clear): Simplify; remove useless checks
5551 against invalid buffer names.
5552 (desktop-list*): Use cl-list*.
5553 (desktop-buffer-info, desktop-create-buffer): Simplify.
5554
55552013-07-23 Leo Liu <sdl.web@gmail.com>
5556
5557 * bookmark.el (bookmark-make-record): Restore NAME as a default
5558 value. (Bug#14933)
5559
55602013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5561
5562 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5563 extracted from autoload--insert-text.
5564 (autoload--insert-text): Remove.
5565 (autoload--print-cookie-text): New function, extracted from
5566 autoload--insert-cookie-text.
5567 (autoload--insert-cookie-text): Remove.
5568 (autoload-generate-file-autoloads): Adjust calls accordingly.
5569
5570 * winner.el (winner-hook-installed-p): Remove.
5571 (winner-mode): Simplify accordingly.
5572
5573 * subr.el (add-to-list): Fix compiler-macro when `append' is
5574 not constant. Don't use `cl-member' for the base case.
5575
5576 * progmodes/subword.el: Fix boundary case (bug#13758).
5577 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5578 own group.
5579 (subword-backward-regexp): Make it a constant.
5580 (subword-forward-internal): Don't treat a trailing capital as the
5581 beginning of a word.
5582
55832013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5584
5585 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5586 global value of tabulated-list-revert-hook (bug#14930).
5587
55882013-07-22 Juanma Barranquero <lekktu@gmail.com>
5589
5590 * desktop.el: Require 'cl-lib.
5591 (desktop-before-saving-frames-functions): New hook.
5592 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5593 for frames being saved. Rename from desktop--save-minibuffer-frames.
5594 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5595 Do not save frames with non-nil `desktop-dont-save' parameter.
5596 Filter out deleted frames.
5597 (desktop--find-frame): Use cl-find-if.
5598 (desktop--select-frame): Use cl-(first|second|third) to access values
5599 of desktop-mini.
5600 (desktop--make-frame): Use cl-delete-if.
5601 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5602 (desktop-restore-frames): Use cl-(first|second|third) to access values
5603 of desktop-mini. Look for visible frame at the end, not while
5604 restoring frames.
5605
5606 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5607 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5608 Use string-match-p, looking-at-p (bug#14927).
5609
56102013-07-21 Juanma Barranquero <lekktu@gmail.com>
5611
5612 * desktop.el (desktop-saved-frame-states):
5613 Rename from desktop--saved-states; all users changed.
5614 (desktop-save-frames): Rename from desktop--save-frames.
5615 Do not save state to desktop file.
5616 (desktop-save): Save desktop-saved-frame-states to desktop file
5617 and reset to nil.
5618 (desktop-restoring-frames-p): New function.
5619 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5620 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5621 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5622
5623 * desktop.el: Correctly restore iconified frames.
5624 (desktop--filter-iconified-position): New function.
5625 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5626
56272013-07-20 Glenn Morris <rgm@gnu.org>
5628
5629 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5630 Let `message' do the formatting.
5631 (def-gdb-preempt-display-buffer): Add explicit format.
5632
5633 * image-dired.el (image-dired-track-original-file):
5634 Use with-current-buffer.
5635 (image-dired-track-thumbnail): Use with-current-buffer.
5636 Avoid changing point of wrong window.
5637
5638 * image-dired.el (image-dired-track-original-file):
5639 Avoid changing point of wrong window. (Bug#14909)
5640
56412013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5642
5643 * progmodes/gdb-mi.el (gdb-done-or-error):
5644 Guard against "%" in gdb output. (Bug#14127)
5645
56462013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5647
5648 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5649 (Bug#14826)
5650
5651 * international/mule.el (coding-system-iso-2022-flags): Fix last
5652 change.
5653
56542013-07-20 Kenichi Handa <handa@gnu.org>
5655
5656 * international/mule.el (coding-system-iso-2022-flags):
5657 Add `8-bit-level-4'. (Bug#8522)
5658
56592013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5660
5661 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5662 (bug#14815).
5663
5664 * net/eww.el (eww-process-text-input): Allow inputting when the
5665 point is at the start of the line, as the properties aren't
5666 front-sticky.
5667
5668 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5669 degenerate widths.
5670
56712013-07-19 Richard Stallman <rms@gnu.org>
5672
5673 * epa.el (epa-popup-info-window): Doc fix.
5674
5675 * subr.el (split-string): New arg TRIM.
5676
56772013-07-18 Juanma Barranquero <lekktu@gmail.com>
5678
5679 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5680 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5681
56822013-07-18 Michael Albinus <michael.albinus@gmx.de>
5683
5684 * filenotify.el (file-notify--library): Rename from
5685 `file-notify-support'. Do not autoload. Adapt all uses.
5686 (file-notify-supported-p): New defun.
5687
5688 * autorevert.el (auto-revert-use-notify):
5689 Use `file-notify-supported-p' instead of `file-notify-support'.
5690 Adapt docstring.
5691 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5692
5693 * net/tramp.el (tramp-file-name-for-operation):
5694 Add `file-notify-supported-p'.
5695
5696 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5697 New defun.
5698 (tramp-sh-file-name-handler-alist): Add it as handler for
5699 `file-notify-supported-p '.
5700
5701 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5702 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5703 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5704 Add `ignore' as handler for `file-notify-*' functions.
5705
57062013-07-17 Eli Zaretskii <eliz@gnu.org>
5707
5708 * simple.el (line-move-partial, line-move): Don't start vscroll or
5709 scroll-up if the current line is not taller than the window.
5710 (Bug#14881)
5711
57122013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5713
5714 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5715 highlight question marks in the method names as strings.
5716 (ruby-block-beg-keywords): Inline.
5717 (ruby-font-lock-keyword-beg-re): Extract from
5718 `ruby-font-lock-keywords'.
5719
57202013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5721
5722 * frame.el (blink-cursor-blinks): New defcustom.
5723 (blink-cursor-blinks-done): New defvar.
5724 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5725 (blink-cursor-timer-function): Check if number of blinks has been
5726 done on X and NS.
5727 (blink-cursor-suspend, blink-cursor-check): New defuns.
5728
57292013-07-15 Glenn Morris <rgm@gnu.org>
5730
5731 * edmacro.el (edmacro-format-keys): Fix previous change.
5732
57332013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5734
5735 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5736 The hack didn't work outside English locales anyway.
5737
57382013-07-15 Juanma Barranquero <lekktu@gmail.com>
5739
5740 * simple.el (define-alternatives): Rename from alternatives-define,
5741 per RMS' suggestion.
5742
57432013-07-14 Juanma Barranquero <lekktu@gmail.com>
5744
5745 * desktop.el (desktop-restore-frames): Change default to t.
5746 (desktop-restore-in-current-display): Now offer more options.
5747 (desktop-restoring-reuses-frames): New customization option.
5748 (desktop--saved-states): Doc fix.
5749 (desktop-filter-parameters-alist): New variable, renamed and expanded
5750 from desktop--excluded-frame-parameters.
5751 (desktop--target-display): New variable.
5752 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5753 (desktop--filter-tty*, desktop--filter-*-color)
5754 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5755 (desktop--filter-save-desktop-parm)
5756 (desktop-restore-in-original-display-p): New functions.
5757 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5758 (desktop--save-minibuffer-frames): New function, inspired by a similar
5759 function from Martin Rudalics.
5760 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5761 (desktop--restore-in-this-display-p): Remove.
5762 (desktop--find-frame): Rename from desktop--find-frame-in-display
5763 and add predicate argument.
5764 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5765 (desktop--reuse-list): New variable.
5766 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5767 New functions.
5768 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5769
57702013-07-14 Michael Albinus <michael.albinus@gmx.de>
5771
5772 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5773
57742013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5775
5776 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5777 Highlight conversion methods on Kernel.
5778
57792013-07-13 Alan Mackenzie <acm@muc.de>
5780
5781 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5782 and comment it out. This out-commenting enables certain C++
5783 declarations to be parsed correctly.
5784
57852013-07-13 Eli Zaretskii <eliz@gnu.org>
5786
5787 * international/mule.el (define-coding-system): Doc fix.
5788
5789 * simple.el (default-font-height): Don't call font-info if the
5790 frame's default font didn't change since the frame was created.
5791 (Bug#14838)
5792
57932013-07-13 Leo Liu <sdl.web@gmail.com>
5794
5795 * ido.el (ido-read-file-name): Guard against non-symbol value.
5796
57972013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5798
5799 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5800 in nested defuns.
5801
58022013-07-13 Leo Liu <sdl.web@gmail.com>
5803
5804 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5805 ido-set-matches call. (Bug#6852)
5806
58072013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5808
5809 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5810 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5811 Ruby 2.0.
5812 (ruby-font-lock-keywords): Distinguish calls to functions with
5813 module-like names from module references. Highlight character
5814 literals.
5815
58162013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5817
5818 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5819 (gdb-send): Handle continued commands. (Bug#14847)
5820
58212013-07-12 Juanma Barranquero <lekktu@gmail.com>
5822
5823 * desktop.el (desktop--v2s): Remove unused local variable.
5824 (desktop-save-buffer): Make defvar-local; adjust docstring.
5825 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5826 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5827
58282013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5829
5830 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5831
58322013-07-12 Eli Zaretskii <eliz@gnu.org>
5833
5834 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5835 (Bug#14842)
5836
58372013-07-12 Glenn Morris <rgm@gnu.org>
5838
5839 * doc-view.el: Require cl-lib at runtime too.
5840 (doc-view-remove-if): Remove.
5841 (doc-view-search-next-match, doc-view-search-previous-match):
5842 Use cl-remove-if.
5843
5844 * edmacro.el: Require cl-lib at runtime too.
5845 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5846 (edmacro-mismatch, edmacro-subseq): Remove.
5847
5848 * shadowfile.el: Require cl-lib.
5849 (shadow-remove-if): Remove.
5850 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5851 Use cl-remove-if.
5852
5853 * wid-edit.el: Require cl-lib.
5854 (widget-choose): Use cl-remove-if.
5855 (widget-remove-if): Remove.
5856
5857 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5858 (ebrowse-delete-if-not): Remove.
5859 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5860 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5861 Use cl-delete-if-not.
5862
58632013-07-12 Juanma Barranquero <lekktu@gmail.com>
5864
5865 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5866 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5867
58682013-07-12 Leo Liu <sdl.web@gmail.com>
5869
5870 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5871
58722013-07-11 Glenn Morris <rgm@gnu.org>
5873
5874 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5875 (edebug-gensym-index, edebug-gensym):
5876 Remove reimplementation of cl-gensym.
5877 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5878
5879 * thumbs.el: Require cl-lib at run-time too.
5880 (thumbs-gensym-counter, thumbs-gensym):
5881 Remove reimplementation of cl-gensym.
5882 (thumbs-temp-file): Use cl-gensym.
5883
5884 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5885 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5886 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5887 (ert--union, ert--gensym-counter, ert--gensym-counter)
5888 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5889 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5890 (ert-make-test-unbound, ert--expand-should-1)
5891 (ert--expand-should, ert--should-error-handle-error)
5892 (should-error, ert--explain-equal-rec)
5893 (ert--plist-difference-explanation, ert-select-tests)
5894 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5895 Use cl-lib functions rather than reimplementations.
5896
58972013-07-11 Michael Albinus <michael.albinus@gmx.de>
5898
5899 * net/tramp.el (tramp-methods): Extend docstring.
5900 (tramp-connection-timeout): New defcustom.
5901 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5902 (with-tramp-progress-reporter): Simplify.
5903 (tramp-process-actions): Improve messages.
5904
5905 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5906 * net/tramp-sh.el (tramp-maybe-open-connection):
5907 Use `tramp-connection-timeout'.
5908 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5909 (Bug#14808)
5910
59112013-07-11 Leo Liu <sdl.web@gmail.com>
5912
5913 * ido.el (ido-read-file-name): Conform to the requirements of
5914 read-file-name. (Bug#11861)
5915 (ido-read-directory-name): Conform to the requirements of
5916 read-directory-name.
5917
59182013-07-11 Juanma Barranquero <lekktu@gmail.com>
5919
5920 * subr.el (delay-warning): New function.
5921
59222013-07-10 Eli Zaretskii <eliz@gnu.org>
5923
5924 * simple.el (default-line-height): New function.
5925 (line-move-partial, line-move): Use it instead of computing the
5926 line height inline.
5927 (line-move-partial): Always compute ROWH. If the last line is
5928 partially-visible, but its text is completely visible, allow
5929 cursor to enter such a partially-visible line.
5930
59312013-07-10 Michael Albinus <michael.albinus@gmx.de>
5932
5933 Improve error messages. (Bug#14808)
5934
5935 * net/tramp.el (tramp-current-connection): New defvar, moved from
5936 tramp-sh.el.
5937 (tramp-message-show-progress-reporter-message): Remove, not
5938 needed anymore.
5939 (tramp-error-with-buffer): Show message in minibuffer.
5940 Discard input before waiting. Reset connection timestamp.
5941 (with-tramp-progress-reporter): Improve messages.
5942 (tramp-process-actions): Use progress reporter. Delete process in
5943 case of error. Improve messages.
5944
5945 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5946 Call `tramp-error-with-buffer' with vector and buffer.
5947 (tramp-current-connection): Remove.
5948 (tramp-maybe-open-connection): The car of
5949 `tramp-current-connection' are the first 3 slots of the vector.
5950
59512013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5952
5953 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5954 inside continued strings.
5955
59562013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5957
5958 Timestamp fixes for undo (Bug#14824).
5959 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5960
59612013-07-10 Leo Liu <sdl.web@gmail.com>
5962
5963 * files.el (require-final-newline): Allow safe local value.
5964 (Bug#14834)
5965
59662013-07-09 Leo Liu <sdl.web@gmail.com>
5967
5968 * ido.el (ido-read-directory-name): Handle fallback.
5969 (ido-read-file-name): Update DIR to ido-current-directory.
5970 (Bug#1516)
5971 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5972
59732013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5974
5975 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5976 "autoload". Remove "warn lower camel case" section, previously
5977 commented out. Highlight negation char. Do not highlight the
5978 target in singleton method definitions.
5979
59802013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5981
5982 * faces.el (tty-setup-hook): Declare the hook.
5983
5984 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5985 and detect when a guard/pred depends on local vars (bug#14773).
5986 (pcase--u1): Adjust caller.
5987
59882013-07-08 Eli Zaretskii <eliz@gnu.org>
5989
5990 * simple.el (line-move-partial, line-move): Account for
5991 line-spacing.
5992 (line-move-partial): Avoid setting vscroll when the last
5993 partially-visible line in window is of default height.
5994
59952013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5996
5997 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5998 been used a while.
5999
60002013-07-07 Juanma Barranquero <lekktu@gmail.com>
6001
6002 * subr.el (read-quoted-char): Remove unused local variable `char'.
6003
60042013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6005
6006 * ediff.el (ediff-version): Version update.
6007 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6008 (ediff-merge-with-ancestor-command, ediff-directories-command)
6009 (ediff-directories3-command, ediff-merge-directories-command)
6010 (ediff-merge-directories-with-ancestor-command): New functions.
6011 All are command-line interfaces to ediff: to facilitate calling
6012 Emacs with the appropriate ediff functions invoked.
6013
6014 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6015 (viper-save-kill-buffer): Check if buffer is modified.
6016
6017 * viper.el (viper-version): Version update.
6018 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6019
60202013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6021
6022 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6023 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6024 (viper-intercept-ESC-key): Simplify.
6025 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6026 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6027 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6028 (viper-setup-ESC-to-escape): New functions.
6029 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6030 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6031
60322013-07-07 Eli Zaretskii <eliz@gnu.org>
6033
6034 * simple.el (default-font-height, window-screen-lines):
6035 New functions.
6036 (line-move, line-move-partial): Use them instead of
6037 frame-char-height and window-text-height. This makes scrolling
6038 text smoother when the buffer's default face uses a font that is
6039 different from the frame's default font.
6040
60412013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6042
6043 * files.el (write-file): Do not display confirm dialog for NS,
6044 it does its own dialog, which can't be cancelled (Bug#14578).
6045
60462013-07-06 Eli Zaretskii <eliz@gnu.org>
6047
6048 * simple.el (line-move-partial): Adjust the row returned by
6049 posn-at-point for the current window-vscroll. (Bug#14567)
6050
60512013-07-06 Michael Albinus <michael.albinus@gmx.de>
6052
6053 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6054 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6055 spaces.
6056
60572013-07-06 Martin Rudalics <rudalics@gmx.at>
6058
6059 * window.el (window-state-put-stale-windows): New variable.
6060 (window--state-put-2): Save list of windows without matching buffer.
6061 (window-state-put): Remove "bufferless" windows if possible.
6062
60632013-07-06 Juanma Barranquero <lekktu@gmail.com>
6064
6065 * simple.el (alternatives-define): Remove leftover :group keyword.
6066 Tweak docstring.
6067
60682013-07-06 Leo Liu <sdl.web@gmail.com>
6069
6070 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6071 (ido-enable-virtual-buffers): New variable.
6072 (ido-buffer-internal, ido-toggle-virtual-buffers)
6073 (ido-make-buffer-list): Use it.
6074 (ido-exhibit): Support turning on and off virtual buffers
6075 automatically.
6076
60772013-07-06 Juanma Barranquero <lekktu@gmail.com>
6078
6079 * simple.el (alternatives-define): New macro.
6080
60812013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6082
6083 * subr.el (read-quoted-char): Use read-key.
6084 (sit-for): Let read-event decode tty input (bug#14782).
6085
60862013-07-05 Stephen Berman <stephen.berman@gmx.net>
6087
6088 * calendar/todo-mode.el: Add handling of file deletion, both by
6089 mode command and externally. Fix various related bugs.
6090 Clarify Commentary and improve some documentation strings and code.
6091 (todo-delete-file): New command.
6092 (todo-check-file): New function.
6093 (todo-show): Handle external deletion of the file we're trying to
6094 show (bug#14688). Replace called-interactively-p by an optional
6095 prefix argument to avoid problematic interaction with catch form
6096 when byte compiled (bug#14702).
6097 (todo-quit): Handle external deletion of the archive's todo file.
6098 Make sure the buffer that was visiting the archive file is still
6099 live before trying to bury it.
6100 (todo-category-completions): Handle external deletion of any
6101 category completion files.
6102 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6103 of todo files, in case of external deletion.
6104 (todo-add-file): Replace unnecessary setq by let-binding.
6105 (todo-find-archive): Check whether there are any archives.
6106 Replace unnecessary setq by let-binding.
6107 (todo-archive-done-item): Use find-file-noselect to get the
6108 archive buffer whether or not the archive already exists.
6109 Remove superfluous code. Use file size instead of buffer-file-name to
6110 check if the archive is new; if it is, update list of archives.
6111 (todo-default-todo-file): Allow nil to be a valid value for when
6112 there are no todo files.
6113 (todo-reevaluate-default-file-defcustom): Use corrected definition
6114 of todo-default-todo-file.
6115 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6116 (todo-delete-category, todo-show-categories-table)
6117 (todo-category-number): Clarify comment.
6118 (todo-filter-items): Clarify documentation string.
6119 (todo-show-current-file, todo-display-as-todo-file)
6120 (todo-reset-and-enable-done-separator): Tweak documentation string.
6121 (todo-done-separator): Make separator length window-width, since
6122 bug#2749 is now fixed.
6123
61242013-07-05 Michael Albinus <michael.albinus@gmx.de>
6125
6126 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6127 Support both "gvfs-monitor-dir" and "inotifywait".
6128 (tramp-sh-file-inotifywait-process-filter): Rename from
6129 `tramp-sh-file-notify-process-filter'.
6130 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6131 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6132
61332013-07-05 Leo Liu <sdl.web@gmail.com>
6134
6135 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6136
61372013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6138
6139 * frame.el (display-pixel-height, display-pixel-width)
6140 (display-mm-height, display-mm-width): Mention behavior on
6141 multi-monitor setups in docstrings.
6142 (w32-display-monitor-attributes-list): Declare function.
6143 (display-monitor-attributes-list): Use it.
6144
61452013-07-04 Michael Albinus <michael.albinus@gmx.de>
6146
6147 * filenotify.el: New package.
6148
6149 * autorevert.el (top): Require filenotify.el.
6150 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6151 instead.
6152 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6153 (auto-revert-notify-handler): Use `file-notify-*' functions.
6154
6155 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6156
6157 * net/tramp.el (tramp-file-name-for-operation):
6158 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6159
6160 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6161 for `file-notify-add-watch' and `file-notify-rm-watch'.
6162 (tramp-process-sentinel): Improve trace.
6163 (tramp-sh-handle-file-notify-add-watch)
6164 (tramp-sh-file-notify-process-filter)
6165 (tramp-sh-handle-file-notify-rm-watch)
6166 (tramp-get-remote-inotifywait): New defuns.
6167
61682013-07-03 Juri Linkov <juri@jurta.org>
6169
6170 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6171 call of `occur-read-primary-args' to interactive spec.
6172
6173 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6174 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6175
61762013-07-03 Matthias Meulien <orontee@gmail.com>
6177
6178 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6179 `Buffer-menu-multi-occur'. Add it to the menu.
6180 (Buffer-menu-mode): Document it in docstring.
6181 (Buffer-menu-multi-occur): New command. (Bug#14673)
6182
61832013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6184
6185 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6186 keywords and built-ins.
6187
61882013-07-03 Glenn Morris <rgm@gnu.org>
6189
6190 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6191
6192 Make info-xref checks case-sensitive by default
6193 * info.el (Info-find-node, Info-find-in-tag-table)
6194 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6195 Add option for exact case matching of nodes.
6196 * info-xref.el (info-xref): New custom group.
6197 (info-xref-case-fold): New option.
6198 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6199
62002013-07-03 Leo Liu <sdl.web@gmail.com>
6201
6202 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6203
62042013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6205
6206 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6207 middle of block statement initially, lower the depth. Remove
6208 FIXME comment, not longer valid. Remove middle of block statement
6209 detection, no need to do that anymore since we've been using
6210 `ruby-parse-region' here.
6211
62122013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6213
6214 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6215
62162013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6217
6218 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6219
62202013-07-01 Juanma Barranquero <lekktu@gmail.com>
6221
6222 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6223 (desktop-restore-in-current-display): New customization option.
6224 (desktop--excluded-frame-parameters): Add `font'.
6225 (desktop--save-frames): Rename from desktop--save-windows.
6226 (desktop--restore-in-this-display-p): New function.
6227 (desktop--make-full-frame): Remove unwanted width/height from
6228 full(width|height) frames.
6229 (desktop--restore-frames): Rename from desktop--restore-windows.
6230 Obey desktop-restore-current-display. Do not delete old frames or
6231 select a new frame unless we were able to restore at least one frame.
6232
62332013-06-30 Michal Nazarewicz <mina86@mina86.com>
6234
6235 * files.el (find-file-noselect): Simplify conditional expression.
6236
6237 * remember.el (remember-append-to-file):
6238 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6239
6240 Add `remember-notes' function to store random notes across Emacs
6241 restarts.
6242 * remember.el (remember-data-file): Add :set callback to affect
6243 notes buffer (if any).
6244 (remember-notes): New command.
6245 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6246 New defcustoms for the `remember-notes' function.
6247 (remember-notes-save-and-bury-buffer): New command.
6248 (remember-notes-mode-map): New variable.
6249 (remember-mode): New minor mode.
6250 (remember-notes--kill-buffer-query): New function.
6251 * startup.el (initial-buffer-choice): Add notes to custom type.
6252
62532013-06-30 Eli Zaretskii <eliz@gnu.org>
6254
6255 * bindings.el (right-char, left-char): Don't call sit-for, this is
6256 no longer needed. Use arithmetic comparison only for numerical
6257 arguments.
6258
6259 * international/mule-cmds.el (select-safe-coding-system):
6260 Handle the case of FROM being a string correctly. (Bug#14755)
6261
62622013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6263
6264 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6265 progression on degenerate tables.
6266 (shr-rescale-image): ImageMagick animated images currently don't work.
6267
62682013-06-30 Juanma Barranquero <lekktu@gmail.com>
6269
6270 Some fixes and improvements for desktop frame restoration.
6271 It is still experimental and disabled by default.
6272 * desktop.el (desktop--save-windows): Put the selected frame at
6273 the head of the list.
6274 (desktop--make-full-frame): New function.
6275 (desktop--restore-windows): Try to re-select the frame that was
6276 selected upon saving. Do not abort if some frames fail to restore,
6277 just show an error message and continue. Set up maximized frames
6278 so they have default non-maximized dimensions.
6279
62802013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6281
6282 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6283 Don't start heredoc inside a string or comment.
6284
62852013-06-29 Eli Zaretskii <eliz@gnu.org>
6286
6287 * bindings.el (visual-order-cursor-movement): New defcustom.
6288 (right-char, left-char): Provide visual-order cursor motion by
6289 calling move-point-visually. Update the doc strings.
6290
62912013-06-28 Kenichi Handa <handa@gnu.org>
6292
6293 * international/mule.el (define-coding-system): New coding system
6294 properties :inhibit-null-byte-detection,
6295 :inhibit-iso-escape-detection, and :prefer-utf-8.
6296 (set-buffer-file-coding-system): If :charset-list property of
6297 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6298 appropriate for setting.
6299
6300 * international/mule-cmds.el (select-safe-coding-system):
6301 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6302 multibyte characters, return utf-8 (or one of its siblings).
6303
6304 * international/mule-conf.el (prefer-utf-8): New coding system.
6305 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6306 files.
6307
63082013-06-28 Ivan Kanis <ivan@kanis.fr>
6309
6310 * net/shr.el (shr-render-region): New function.
6311
6312 * net/eww.el: Autoload `eww-browse-url'.
6313
63142013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6315
6316 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6317 Adapt to `package-desc-version' being a list.
6318 Use `package--ac-desc-version' to retrieve version from a package
6319 archive element.
6320
63212013-06-27 Juanma Barranquero <lekktu@gmail.com>
6322
6323 New experimental feature to save&restore window and frame setup.
6324 * desktop.el (desktop-save-windows): New defcustom.
6325 (desktop--saved-states): New var.
6326 (desktop--excluded-frame-parameters): New defconst.
6327 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6328 (desktop--restore-windows, desktop--save-windows): New functions.
6329 (desktop-save): Call `desktop--save-windows'.
6330 (desktop-read): Call `desktop--restore-windows'.
6331
63322013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6333
6334 * net/shr.el (add-face-text-property): Remove compat definition.
6335
63362013-06-27 Stephen Berman <stephen.berman@gmx.net>
6337
6338 * info.el (Info-try-follow-nearest-node): Move search for footnote
6339 above search for node name to prevent missing a footnote (bug#14717).
6340
63412013-06-27 Stephen Berman <stephen.berman@gmx.net>
6342
6343 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6344
63452013-06-27 Leo Liu <sdl.web@gmail.com>
6346
6347 * net/eww.el (eww-read-bookmarks): Check file size.
6348
63492013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6350
6351 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6352 advice--pending if newdef is nil or an autoload (bug#13820).
6353 (advice-mapc): New function.
6354
63552013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6356
6357 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6358 probably.
6359 (eww-mode-map): Add a menu bar.
6360 (eww-add-bookmark): New command.
6361 (eww-bookmark-mode): New mode and commands.
6362 (eww-add-bookmark): Remove newlines from the title.
6363 (eww-bookmark-browse): Don't bug out if it's the only window.
6364
63652013-06-26 Glenn Morris <rgm@gnu.org>
6366
6367 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6368 (hfy-size): Handle ttys. (Bug#14668)
6369
6370 * info-xref.el: Update for Texinfo 5 change in *note format.
6371 (info-xref-node-re, info-xref-note-re): New constants.
6372 (info-xref-check-buffer): Use info-xref-note-re.
6373
63742013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6375
6376 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6377
6378 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6379 nil terminate the loop (bug#14718).
6380
63812013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6382
6383 * net/eww.el: Rework history traversal. When going forward/back,
6384 put these actions into the history, too, so that they can be
6385 replayed.
6386 (eww-render): Move the history reset to the correct buffer.
6387
63882013-06-25 Juri Linkov <juri@jurta.org>
6389
6390 * files-x.el (modify-dir-local-variable): Change the header comment
6391 in the file with directory local variables. (Bug#14692)
6392
6393 * files-x.el (read-file-local-variable-value): Add `default'.
6394 (Bug#14710)
6395
63962013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6397
6398 * net/eww.el (eww-make-unique-file-name): Create a unique file
6399 name before saving to entering `y' accidentally asynchronously.
6400
64012013-06-25 Ivan Kanis <ivan@kanis.fr>
6402
6403 * net/eww.el (eww-download): New command and keystroke.
6404
64052013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6406
6407 * net/eww.el (eww-copy-page-url): Change name of command.
6408
6409 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6410 be more consistent with Info and dired.
6411
6412 * net/eww.el (eww-mode-map): Ditto.
6413
64142013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6415
6416 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6417 packages from archives.
6418 (package-archive-contents): Change format; include obsolete packages.
6419 (package-desc): Use `dir' to mark builtin packages.
6420 (package--from-builtin): Set the `dir' field to `builtin'.
6421 (generated-autoload-file, version-control): Declare.
6422 (package-compute-transaction): Change first arg and return value to be
6423 lists of package-descs. Adjust to new package-archive-contents format.
6424 (package--add-to-archive-contents): Adjust to new
6425 package-archive-contents format.
6426 (package-download-transaction): Arg is now a list of package-descs.
6427 (package-install): If `pkg' is a package name, pass it as
6428 a requirement, so it is subject to the usual (e.g. disabled) checks.
6429 (describe-package): Accept package-desc as well.
6430 (describe-package-1): Describe a specific package-desc. Add links to
6431 other package-descs for the same package name.
6432 (package-menu-describe-package): Pass the actual package-desc.
6433 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6434 works correctly.
6435 (package-desc-status): New function.
6436 (package-menu--refresh): New function, extracted
6437 from package-menu--generate.
6438 (package-menu--generate): Use it.
6439 (package-delete): Update package-alist.
6440 (package-menu-execute): Don't call package-initialize.
6441
6442 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6443 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6444 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6445 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6446 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6447 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6448
64492013-06-25 Martin Rudalics <rudalics@gmx.at>
6450
6451 * window.el (window--state-get-1): Workaround for bug#14527.
6452 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6453
64542013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6455
6456 * net/eww.el (eww-back-url): Implement the history by stashing all
6457 the data into a list.
6458 (eww-forward-url): Allow going forward in the history, too.
6459
64602013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6461
6462 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6463 for values and use read--expression for expressions (bug#14710).
6464 (read-file-local-variable): Avoid setq.
6465 (read-file-local-variable-mode): Use minor-mode-list.
6466
64672013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6468
6469 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6470 for DOI URLs.
6471
64722013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6473
6474 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6475 Update imenu-support when dialect changes.
6476
64772013-06-25 Leo Liu <sdl.web@gmail.com>
6478
6479 * ido.el (ido-read-internal): Allow forward slash on windows.
6480
64812013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6482
6483 * net/eww.el (eww): Start of strings is \\`, not ^.
6484
64852013-06-24 Ivan Kanis <ivan@kanis.fr>
6486
6487 * net/shr.el (shr-browse-url): Fix interactive spec.
6488
6489 * net/eww.el (eww): Add a trailing slash to domain names.
6490
64912013-06-24 Juanma Barranquero <lekktu@gmail.com>
6492
6493 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6494
64952013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6496
6497 * net/shr.el (shr-browse-url): Use an external browser if given a
6498 prefix.
6499
6500 * net/eww.el (eww-external-browser): Move to shr.
6501
65022013-06-24 Ivan Kanis <ivan@kanis.fr>
6503
6504 * net/eww.el (eww): Work more correctly for file: URLs.
6505 (eww-detect-charset): Allow quoted charsets.
6506 (eww-yank-page-url): New command and keystroke.
6507
65082013-06-24 Daiki Ueno <ueno@gnu.org>
6509
6510 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6511 file name of gpg executable.
6512 (epg-context-program): New function.
6513 (epg-context-home-directory): New function.
6514 (epg-context-set-program): New function.
6515 (epg-context-set-home-directory): New function.
6516 (epg--start): Use `epg-context-program' instead of
6517 'epg-gpg-program'.
6518 (epg--list-keys-1): Likewise.
6519
65202013-06-24 Leo Liu <sdl.web@gmail.com>
6521
6522 * ido.el (ido-read-internal): Fix bug#14620.
6523
65242013-06-23 Juanma Barranquero <lekktu@gmail.com>
6525
6526 * faces.el (face-documentation): Simplify.
6527 (read-face-attribute, tty-find-type, x-resolve-font-name):
6528 Use `string-match-p'.
6529 (list-faces-display): Use `string-match-p'. Simplify.
6530 (face-spec-recalc): Check face to avoid face alias loops.
6531 (read-color): Use `string-match-p' and non-capturing parenthesis.
6532
65332013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6534
6535 * net/shr.el (shr-rescale-image): Use the new
6536 :max-width/:max-height functionality.
6537
65382013-06-23 Ivan Kanis <ivan@kanis.fr>
6539
6540 * net/eww.el (eww-search-prefix): New variable.
6541 (eww): Use it.
6542 (eww-external-browser): New variable.
6543 (eww-mode-map): New keystroke.
6544 (eww-browse-with-external-browser): New command.
6545
6546 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6547
65482013-06-23 Juanma Barranquero <lekktu@gmail.com>
6549
6550 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6551 Don't skip aligning the next header field when padding is 0;
6552 otherwise, field width is not respected unless the title is as
6553 wide as the field.
6554
65552013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6556
6557 * emacs-lisp/package.el (package-el-version): Remove.
6558 (package-process-define-package): Fix inf-loop.
6559 (package-install): Allow symbols as arguments again.
6560
65612013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6562
6563 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6564 add some more keyword-like methods.
6565 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6566
65672013-06-22 Juanma Barranquero <lekktu@gmail.com>
6568
6569 * bs.el (bs-buffer-show-mark): Make defvar-local.
6570 (bs-mode): Use setq-local.
6571
6572 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6573 (emacs-lock--try-unlocking): Make defvar-local.
6574
65752013-06-22 Glenn Morris <rgm@gnu.org>
6576
6577 * play/cookie1.el (cookie-apropos): Minor simplification.
6578
6579 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6580
65812013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6582
6583 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6584 `regexp-opt', it breaks the build during dumping.
6585
65862013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6587
6588 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6589 Highlight keyword-like methods on Kernel and Module with
6590 font-lock-builtin-face.
6591 (auto-mode-alist): Consolidate different entries into one regexp
6592 and add more *file-s.
6593
65942013-06-21 Stephen Berman <stephen.berman@gmx.net>
6595
6596 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6597
6598 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6599 (diary-entry): Use it in the action of this button type instead of
6600 diary-goto-entry.
6601
6602 * calendar/todo-mode.el: New version.
6603 (todo-add-category): Append new category to end of file and give
6604 it the highest number, instead of putting it at the beginning and
6605 giving it 0. Incorporate noninteractive functionality.
6606 (todo-forward-category): Adapt to 1-based category numbering.
6607 Allow skipping over archived categories.
6608 (todo-backward-category): Derive from todo-forward-category.
6609 (todo-backward-item, todo-forward-item): Make noninteractive and
6610 delegate interactive part to new commands. Make sensitive to done items.
6611 (todo-categories): Make value an alist of category names and
6612 vectors of item counts.
6613 (todo-category-beg): Make a defconst.
6614 (todo-category-number): Use 1 instead of 0 as initial value.
6615 (todo-category-select): Make sensitive to overlays, optional item
6616 highlighting and done items.
6617 (todo-delete-item): Make sensitive to overlays and marked and done items.
6618 (todo-edit-item): Make sensitive to overlays and editing of
6619 date/time header optional. Add format checks.
6620 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6621 no-op if point is not on an item. Advertise using todo-edit-quit.
6622 (todo-edit-mode): Make sensitive to new format, font-locking, and
6623 multiple todo files.
6624 (todo-insert-item, todo-insert-item-here): Derive from
6625 todo-basic-insert-item and extend functionality.
6626 (todo-item-end, todo-item-start): Make sensitive to done items.
6627 (todo-item-string): Don't return text properties. Restore point.
6628 (todo-jump-to-category): Make sensitive to multiple todo files and
6629 todo archives. Use extended category completion.
6630 (todo-lower-item, todo-raise-item): Rename to *-priority and
6631 derive from todo-set-item-priority.
6632 (todo-mode): Derive from special-mode. Make sensitive to new
6633 format, font-locking and multiple todo files. Make read-only.
6634 (todo-mode-map): Don't suppress digit keys, so they can supply
6635 prefix arguments. Add many new key bindings.
6636 (todo-prefix): Insert as an overlay instead of file text.
6637 Change semantics from diary date expression to purely visual mark.
6638 (todo-print): Rename to todo-print-buffer. Make buffer display
6639 features printable. Remove option to restrict number of items
6640 printed. Add option to print to file.
6641 (todo-print-function): Rename to todo-print-buffer-function.
6642 (todo-quit): Extend to handle exiting new todo modes.
6643 (todo-remove-item): Make sensitive to overlays.
6644 (todo-save): Extend to buffers of filtered items.
6645 (todo-show): Make sensitive to done items, multiple todo files and
6646 new todo modes. Offer to convert legacy todo file before creating
6647 first new todo file.
6648 (todo-show-priorities): Rename to todo-top-priorities.
6649 Change semantics of value 0.
6650 (todo-top-priorities): Rename to todo-filter-top-priorities,
6651 derive from todo-filter-items and extend functionality.
6652 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6653 and extend functionality to other types of filtered items.
6654 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6655 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6656 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6657 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6658 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6659 (todo-edit-mode-hook, todo-entry-prefix-function)
6660 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6661 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6662 (todo-initials, todo-insert-threshold, todo-item-string-start)
6663 (todo-line-string, todo-menu, todo-mode-hook)
6664 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6665 (todo-print-priorities, todo-remove-separator)
6666 (todo-save-top-priorities-too, todo-string-count-lines)
6667 (todo-string-multiline-p, todo-time-string-format)
6668 (todo-tmp-buffer-name): Remove.
6669 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6670 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6671 (todo-edit-category-diary-inclusion)
6672 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6673 (todo-edit-file, todo-edit-item-date-day)
6674 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6675 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6676 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6677 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6678 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6679 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6680 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6681 (todo-filter-top-priorities-multifile, todo-find-archive)
6682 (todo-find-filtered-items-file, todo-go-to-source-item)
6683 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6684 (todo-jump-to-archive-category, todo-lower-category)
6685 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6686 (todo-move-category, todo-move-item, todo-next-button)
6687 (todo-next-item, todo-padded-string, todo-powerset)
6688 (todo-previous-button, todo-previous-item)
6689 (todo-print-buffer-to-file, todo-raise-category)
6690 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6691 (todo-set-category-number, todo-set-item-priority)
6692 (todo-set-top-priorities-in-category)
6693 (todo-set-top-priorities-in-file, todo-show-categories-table)
6694 (todo-sort-categories-alphabetically-or-numerically)
6695 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6696 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6697 (todo-toggle-item-header, todo-toggle-item-highlighting)
6698 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6699 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6700 (todo-unarchive-items, todo-unmark-category): New commands.
6701 (todo-absolute-file-name, todo-add-to-buffer-list)
6702 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6703 (todo-basic-insert-item, todo-category-completions)
6704 (todo-category-number, todo-category-string-matcher-1)
6705 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6706 (todo-check-format, todo-clear-matches)
6707 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6708 (todo-current-category, todo-date-string-matcher)
6709 (todo-define-insertion-command, todo-diary-expired-matcher)
6710 (todo-diary-goto-entry, todo-diary-item-p)
6711 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6712 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6713 (todo-done-item-section-p, todo-done-separator)
6714 (todo-done-string-matcher, todo-files, todo-filter-items)
6715 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6716 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6717 (todo-insert-category-line, todo-insert-item-from-calendar)
6718 (todo-insert-sort-button, todo-insert-with-overlays)
6719 (todo-insertion-command-name, todo-insertion-key-bindings)
6720 (todo-label-to-key, todo-longest-category-name-length)
6721 (todo-make-categories-list, todo-mode-external-set)
6722 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6723 (todo-modes-set-3, todo-multiple-filter-files)
6724 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6725 (todo-read-category, todo-read-date, todo-read-dayname)
6726 (todo-read-file-name, todo-read-time)
6727 (todo-reevaluate-category-completions-files-defcustom)
6728 (todo-reevaluate-default-file-defcustom)
6729 (todo-reevaluate-filelist-defcustoms)
6730 (todo-reevaluate-filter-files-defcustom)
6731 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6732 (todo-reset-done-separator, todo-reset-done-separator-string)
6733 (todo-reset-done-string, todo-reset-global-current-todo-file)
6734 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6735 (todo-reset-prefix, todo-set-categories)
6736 (todo-set-date-from-calendar, todo-set-show-current-file)
6737 (todo-set-top-priorities, todo-short-file-name)
6738 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6739 (todo-total-item-counts, todo-update-buffer-list)
6740 (todo-update-categories-display, todo-update-categories-sexp)
6741 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6742 New functions.
6743 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6744 New major modes.
6745 (todo-categories, todo-display, todo-edit, todo-faces)
6746 (todo-filtered): New defgroups.
6747 (todo-archived-only, todo-button, todo-category-string, todo-date)
6748 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6749 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6750 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6751 (todo-add-item-if-new-category, todo-always-add-time-string)
6752 (todo-categories-align, todo-categories-archived-label)
6753 (todo-categories-category-label, todo-categories-diary-label)
6754 (todo-categories-done-label, todo-categories-number-separator)
6755 (todo-categories-todo-label, todo-categories-totals-label)
6756 (todo-category-completions-files, todo-completion-ignore-case)
6757 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6758 (todo-done-separator-string, todo-done-string)
6759 (todo-files-function, todo-filter-done-items, todo-filter-files)
6760 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6761 (todo-initial-category, todo-initial-file, todo-item-mark)
6762 (todo-legacy-date-time-regexp, todo-mode-line-function)
6763 (todo-nondiary-marker, todo-number-prefix)
6764 (todo-print-buffer-function, todo-show-current-file)
6765 (todo-show-done-only, todo-show-first, todo-show-with-done)
6766 (todo-skip-archived-categories, todo-top-priorities-overrides)
6767 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6768 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6769 New defcustoms.
6770 (todo-category-done, todo-date-pattern, todo-date-string-start)
6771 (todo-diary-items-buffer, todo-done-string-start)
6772 (todo-filtered-items-buffer, todo-item-start)
6773 (todo-month-abbrev-array, todo-month-name-array)
6774 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6775 (todo-top-priorities-buffer): New defconsts.
6776 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6777 (todo-categories-with-marks, todo-category-string-face)
6778 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6779 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6780 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6781 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6782 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6783 (todo-font-lock-keywords, todo-global-current-todo-file)
6784 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6785 (todo-insertion-commands-args)
6786 (todo-insertion-commands-args-genlist)
6787 (todo-insertion-commands-names, todo-insertion-map)
6788 (todo-key-bindings-t, todo-key-bindings-t+a)
6789 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6790 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6791 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6792 (todo-visited): New variables.
6793
67942013-06-21 Glenn Morris <rgm@gnu.org>
6795
6796 * play/cookie1.el (cookie-apropos): Add optional display argument.
6797 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6798 (psychoanalyze-pinhead): Use cookie-doctor.
6799
68002013-06-21 Juanma Barranquero <lekktu@gmail.com>
6801
6802 * emacs-lisp/package.el (tar-get-file-descriptor)
6803 (tar--extract): Declare.
6804
68052013-06-21 Eduard Wiebe <usenet@pusto.de>
6806
6807 Extend flymake's warning predicate to be a function (bug#14217).
6808 * progmodes/flymake.el (flymake-warning-predicate): New.
6809 (flymake-parse-line): Use it.
6810 (flymake-warning-re): Make obsolete alias to
6811 `flymake-warning-predicate'.
6812
68132013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6814
6815 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6816 (package-obsolete-list): Remove.
6817 (package-activate): Remove min-version argument. Add `force' argument.
6818 Adjust to new package-alist format.
6819 (package-mark-obsolete): Remove.
6820 (package-unpack): Force reload of the package's autoloads.
6821 (package-installed-p): Check builtins if the installed package is not
6822 recent enough.
6823 (package-initialize): Don't reset package-obsolete-list.
6824 Don't specify which package version to activate.
6825 (package-process-define-package, describe-package-1)
6826 (package-menu--generate): Adjust to new package-alist format.
6827
68282013-06-21 Juanma Barranquero <lekktu@gmail.com>
6829
6830 * allout-widgets.el (allout-widgets-mode-off)
6831 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6832 (allout-widgets-post-command-business)
6833 (allout-widgets-after-copy-or-kill-function)
6834 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6835 (allout-decorate-item-and-context)
6836 (allout-graphics-modification-handler): Fix typos in docstrings.
6837 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6838
6839 * cmuscheme.el (scheme-start-file): Doc fix.
6840 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6841 (scheme-input-filter): Use `string-match-p'.
6842
6843 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6844
6845 * dired-x.el: Use Dired consistently in docstrings.
6846
6847 * dired.el: Use Dired consistently in docstrings.
6848 (dired-readin, dired-mode): Use `setq-local'.
6849 (dired-switches-alist): Make defvar-local.
6850 (dired-buffers-for-dir): Use `zerop'.
6851 (dired-safe-switches-p, dired-switches-escape-p)
6852 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6853 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6854 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6855 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6856 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6857 (dired-toggle-marks, dired-mark-files-containing-regexp)
6858 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6859 (dired-flag-auto-save-files, dired-flag-backup-files):
6860 Use `looking-at-p'.
6861 (dired-mark-files-regexp, dired-build-subdir-alist):
6862 Use `string-match-p', `looking-at-p'.
6863
6864 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6865 (direct-print-region-helper): Use `string-match-p'.
6866
68672013-06-21 Leo Liu <sdl.web@gmail.com>
6868
6869 * comint.el (comint-redirect-results-list-from-process):
6870 Fix infinite loop.
6871
68722013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6873
6874 * net/eww.el (eww-update-header-line-format): Quote % characters.
6875
68762013-06-21 Glenn Morris <rgm@gnu.org>
6877
6878 * play/cookie1.el (cookie): New custom group.
6879 (cookie-file): New option.
6880 (cookie-check-file): New function.
6881 (cookie): Make it interactive. Make start and end messages optional.
6882 Interactively, display the result. Default to cookie-file.
6883 (cookie-insert): Default to cookie-file.
6884 (cookie-snarf): Make start and end messages optional.
6885 Default to cookie-file. Use with-temp-buffer.
6886 (cookie-read): Rename from read-cookie.
6887 Make start and end messages optional. Default to cookie-file.
6888 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6889 Do not autoload it.
6890 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6891 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6892
68932013-06-21 Leo Liu <sdl.web@gmail.com>
6894
6895 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6896
68972013-06-21 Glenn Morris <rgm@gnu.org>
6898
6899 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6900
69012013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6902 Daniel Hackney <dan@haxney.org>
6903
6904 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6905 Consolidate the single-file vs tarball code.
6906 (package-desc-suffix): New function.
6907 (package-desc-full-name): Don't bother inlining it.
6908 (package-load-descriptor): Return the new package-desc.
6909 (package-mark-obsolete): Remove unused arg `package'.
6910 (package-unpack): Make it work for single files as well.
6911 Make it update package-alist.
6912 (package--make-autoloads-and-stuff): Rename from
6913 package--make-autoloads-and-compile. Don't compile any more.
6914 (package--compile): New function.
6915 (package-generate-description-file): New function, extracted from
6916 package-unpack-single.
6917 (package-unpack-single): Remove.
6918 (package--with-work-buffer): Add indentation and debugging info.
6919 (package-download-single): Remove.
6920 (package-install-from-archive): Rename from package-download-tar, make
6921 it take a pkg-desc, and make it work for single files as well.
6922 (package-download-transaction): Simplify.
6923 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6924 external tar program.
6925 (package-install-from-buffer): Remove `pkg-desc' argument.
6926 Use package-tar-file-info for tar-mode buffers.
6927 (package-install-file): Simplify accordingly.
6928 (package-archive-base): Change to take a pkg-desc.
6929 * tar-mode.el (tar--check-descriptor): New function, extracted from
6930 tar-get-descriptor.
6931 (tar-get-descriptor): Use it.
6932 (tar-get-file-descriptor): New function.
6933 (tar--extract): New function, extracted from tar-extract.
6934 (tar--extract): Use it.
6935 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6936 case the summary uses non-ascii. Adjust to new calling convention of
6937 package-tar-file-info.
6938
69392013-06-21 Leo Liu <sdl.web@gmail.com>
6940
6941 * comint.el (comint-redirect-results-list-from-process):
6942 Fix random delay. (Bug#14681)
6943
69442013-06-21 Juanma Barranquero <lekktu@gmail.com>
6945
6946 * profiler.el (profiler-format-number): Use log, not log10.
6947
69482013-06-20 Juanma Barranquero <lekktu@gmail.com>
6949
6950 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6951
69522013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6953
6954 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6955 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6956 yet available.
6957 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6958 (AUTOGENEL): ... here.
6959 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6960 (cl--defsubst-expand): Use it.
6961
69622013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6963
6964 * subr.el (log10): Move here from C code, and declare as obsolete.
6965 All uses of (log10 X) replaced with (log X 10).
6966
69672013-06-20 Juanma Barranquero <lekktu@gmail.com>
6968
6969 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6970 Declare with `defvar-local'.
6971 (tabulated-list-use-header-line, tabulated-list-entries)
6972 (tabulated-list-padding, tabulated-list-printer)
6973 (tabulated-list-sort-key): Declare with `defvar-local'.
6974 (tabulated-list-init-header, tabulated-list-print-fake-header):
6975 Use `setq-local'.
6976
69772013-06-20 Michael Albinus <michael.albinus@gmx.de>
6978
6979 * arc-mode.el (archive-mode): Add `archive-write-file' to
6980 `write-contents-functions' also for remote files. (Bug#14652)
6981
69822013-06-20 Juanma Barranquero <lekktu@gmail.com>
6983
6984 * cus-edit.el (custom-commands): Fix typos.
6985 (custom-display): Fix tooltip text.
6986 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6987 Fix typos in docstrings.
6988 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6989 (custom-unlispify-menu-entry, custom-magic-value-create)
6990 (custom-add-see-also, custom-group-value-create): Use ?\s.
6991 (custom-guess-type, customize-apropos, editable-field)
6992 (custom-face-value-create): Use `string-match-p'.
6993 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6994
6995 * custom.el (custom-load-symbol): Use `string-match-p'.
6996
6997 * ansi-color.el: Convert to lexical binding.
6998 (ansi-colors): Fix URL.
6999 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7000 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7001 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7002
70032013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7004
7005 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7006
7007 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7008
70092013-06-19 Tom Tromey <tromey@redhat.com>
7010
7011 * net/eww.el (eww-top-url): Remove.
7012 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7013 (eww-render): Set new variables. Don't set eww-top-url.
7014 (eww-handle-link): Handle "prev", "home", and "contents".
7015 Downcase the rel text.
7016 (eww-top-url): Choose best top URL.
7017
70182013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7019
7020 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7021 relying in widget.el. Using widget.el leads to too many
7022 user interface inconsistencies.
7023 (eww-self-insert): Implement entering commands in text fields.
7024 (eww-process-text-input): New function to make text input field editing
7025 work.
7026 (eww-submit): Rewrite to use the new-style form methods.
7027 (eww-select-display): Display the correct selected item.
7028 (eww-change-select): Implement changing the select value.
7029 (eww-toggle-checkbox): Implement radio/checkboxes.
7030 (eww-update-field): Fix compilation error.
7031 (eww-tag-textarea): Implement <textarea>.
7032
7033 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7034 we don't shadow mode-specific bindings.
7035
7036 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7037 nothing to push.
7038
7039 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7040
70412013-06-19 Glenn Morris <rgm@gnu.org>
7042
7043 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7044
70452013-06-19 Michael Albinus <michael.albinus@gmx.de>
7046
7047 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7048 not needed.
7049
7050 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7051
70522013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7053
7054 * net/browse-url.el (browse-url-browser-function):
7055 `eww-browse-url' has the right calling signature, `eww' does not.
7056
70572013-06-19 Glenn Morris <rgm@gnu.org>
7058
7059 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7060 Only eval autoloaded macros.
7061 (byte-compile-autoload): Only give the macro warning for macros.
7062
7063 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7064 (ps-underlined-faces): Declare.
7065
7066 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7067 (speedbar-add-supported-extension): Declare.
7068
7069 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7070 Don't include a date stamp in the header of the generated file;
7071 it leads to needless differences between output files.
7072
70732013-06-19 Michael Albinus <michael.albinus@gmx.de>
7074
7075 * net/secrets.el (secrets-struct-secret-content-type):
7076 Replace check of introspection data by a test call of "CreateItem".
7077 Some servers do not offer introspection.
7078
70792013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7080
7081 * electric.el (electric-pair-mode): Improve interaction with
7082 electric-layout-mode.
7083 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7084 (electric-pair-syntax): Use text-mode-syntax-table in comments
7085 and strings.
7086 (electric-pair--insert): New function.
7087 (electric-pair-post-self-insert-function): Use it and
7088 electric--after-char-pos.
7089
70902013-06-19 Leo Liu <sdl.web@gmail.com>
7091
7092 * progmodes/octave.el (octave-help): Fix regexp.
7093
70942013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7095
7096 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7097 (shr-table-horizontal-line): Allow nil as a value, and change the
7098 default.
7099 (shr-insert-table-ruler): Respect the nil value.
7100
71012013-06-18 Tom Tromey <tromey@barimba>
7102
7103 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7104 New defvars.
7105 (eww-open-file): New defun.
7106 (eww-render): Initialize new variables.
7107 (eww-display-html): Handle "link" and "a".
7108 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7109 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7110 (eww-back-url): Rename from eww-previous-url.
7111 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7112 New defuns.
7113
71142013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7115
7116 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7117 Distinguish ternary operator tokens from slash symbol and slash
7118 char literal.
7119
71202013-06-18 Juanma Barranquero <lekktu@gmail.com>
7121
7122 Convert symbol prettification into minor mode and global minor mode.
7123
7124 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7125 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7126 (prettify-symbols--keywords): Rename from
7127 `prog-prettify-symbols-alist' and make a local defvar.
7128 (prettify-symbols--compose-symbol): Rename from
7129 `prog--prettify-font-lock-compose-symbol'.
7130 (prettify-symbols--make-keywords): Rename from
7131 `prog-prettify-font-lock-symbols-keywords' and simplify.
7132 (prog-prettify-install): Remove.
7133 (prettify-symbols-mode): New minor mode, based on
7134 `prog-prettify-install'.
7135 (turn-on-prettify-symbols-mode): New function.
7136 (global-prettify-symbols-mode): New globalized minor mode.
7137
7138 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7139 * progmodes/cfengine.el (cfengine3-mode):
7140 * progmodes/perl-mode.el (perl-mode): Don't call
7141 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7142
71432013-06-18 Juri Linkov <juri@jurta.org>
7144
7145 * files-x.el (modify-file-local-variable-message): New function.
7146 (modify-file-local-variable)
7147 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7148 and call `modify-file-local-variable-message' when it's non-nil.
7149 (add-file-local-variable, delete-file-local-variable)
7150 (add-file-local-variable-prop-line)
7151 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7152 and use it. (Bug#9820)
7153
71542013-06-18 Juri Linkov <juri@jurta.org>
7155
7156 * emulation/vi.el (vi-shell-op):
7157 * emulation/vip.el (vip-execute-com, ex-command):
7158 * emulation/viper-cmd.el (viper-exec-bang):
7159 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7160 the call of `shell-command-on-region'. (Bug#14637)
7161
7162 * simple.el (shell-command-on-region): Doc fix.
7163
71642013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7165
7166 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7167 (bug#14633).
7168
71692013-06-18 Glenn Morris <rgm@gnu.org>
7170
7171 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7172
7173 * newcomment.el (comment-search-forward, comment-search-backward):
7174 Doc fix. (Bug#14376)
7175
71762013-06-18 Juanma Barranquero <lekktu@gmail.com>
7177
7178 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7179 (buffer-face-mode-invoke): Doc fix.
7180
71812013-06-18 Matthias Meulien <orontee@gmail.com>
7182
7183 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7184 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7185
71862013-06-18 Glenn Morris <rgm@gnu.org>
7187
7188 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7189 Replace obsolete function generic-make-keywords with its expansion.
7190
7191 * progmodes/python.el (ffap-alist): Declare.
7192
7193 * textmodes/reftex.el (bibtex-mode-map): Declare.
7194
71952013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7196
7197 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7198 (package-unpack, package-unpack-single): Return the pkg-dir.
7199 (package-download-transaction): Use it to update package-alist.
7200
72012013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7202
7203 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7204 possible choice.
7205
72062013-06-17 Juri Linkov <juri@jurta.org>
7207
7208 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7209
72102013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7211
7212 * emacs-lisp/package.el (package-load-descriptor):
7213 Remove `with-syntax-table' call, `read' doesn't need it.
7214 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7215
72162013-06-17 Juanma Barranquero <lekktu@gmail.com>
7217
7218 * startup.el (command-line): Expand package name returned by
7219 `package--description-file' (bug#14639).
7220
72212013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7222
7223 * emacs-lisp/package.el (package-load-descriptor): Do not call
7224 `emacs-lisp-mode', just use its syntax table.
7225
72262013-06-17 Juanma Barranquero <lekktu@gmail.com>
7227
7228 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7229 `font-lock-extra-managed-props' if any prettifying keyword is added.
7230 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7231 (prog-mode): Use `setq-local'.
7232
72332013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7234
7235 * international/characters.el (standard-case-table): Set syntax of ?»
7236 and ?« to punctuation.
7237
72382013-06-16 Juanma Barranquero <lekktu@gmail.com>
7239
7240 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7241 Save relevant match data before calling `syntax-ppss' (bug#14595).
7242
72432013-06-15 Juri Linkov <juri@jurta.org>
7244
7245 * files-x.el (modify-file-local-variable-prop-line): Add local
7246 variables to the end of the existing comment on the first line.
7247 Use `file-auto-mode-skip' to skip interpreter magic line,
7248 and also skip XML declaration.
7249
72502013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7251
7252 * startup.el (package--builtin-versions): New var.
7253 (package-subdirectory-regexp): Remove.
7254 (package--description-file): Hard code its value instead.
7255
7256 * emacs-lisp/package.el: Don't activate packages older than builtin.
7257 (package-obsolete-list): Rename from package-obsolete-alist, and make
7258 it into a simple list of package-desc.
7259 (package-strip-version): Remove.
7260 (package-built-in-p): Use package--builtin-versions.
7261 (package-mark-obsolete): Simplify.
7262 (package-process-define-package): Mark it obsolete if older than the
7263 builtin version.
7264 (package-handle-response): Use line-end-position.
7265 (package-read-archive-contents, package--download-one-archive):
7266 Simplify.
7267 (package--add-to-archive-contents): Skip if older than the builtin or
7268 installed version.
7269 (package-menu-describe-package): Fix last change.
7270 (package-list-unversioned): New var.
7271 (package-menu--generate): Use it.
7272
7273 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7274 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7275 (autoload-builtin-package-versions): New variable.
7276 (autoload-generate-file-autoloads): Use them.
7277 Remove the list of autoloaded functions/macros from the
7278 (autoload...) comments.
7279
7280 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7281
72822013-06-15 Eli Zaretskii <eliz@gnu.org>
7283
7284 * simple.el (line-move-partial): Don't jump to the next screen
7285 line as soon as it becomes visible. Instead, continue enlarging
7286 the vscroll until the portion of a tall screen line that's left on
7287 display is about the height of the frame's default font.
7288 (Bug#14567)
7289
72902013-06-15 Glenn Morris <rgm@gnu.org>
7291
7292 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7293 compilation-error-regexp-alist void, or local while let-bound.
7294
7295 * progmodes/make-mode.el (makefile-mode-syntax-table):
7296 Treat "=" as punctuation. (Bug#14614)
7297
72982013-06-15 Juanma Barranquero <lekktu@gmail.com>
7299
7300 * help-fns.el (describe-variable):
7301 Add extra line for permanent-local variables.
7302
73032013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7304
7305 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7306 Add export, import, library. (Bug#9164)
7307 (library): Set indent function.
7308
73092013-06-14 Glenn Morris <rgm@gnu.org>
7310
7311 * term/xterm.el (xterm--query):
7312 Stop after first matching handler. (Bug#14615)
7313
73142013-06-14 Ivan Kanis <ivan@kanis.fr>
7315
7316 Add support for dired in saveplace.
7317 * dired.el (dired-initial-position-hook): New variable.
7318 (dired-initial-position): Call hook to place cursor position.
7319 * saveplace.el (save-place-to-alist): Add dired position.
7320 (save-place-dired-hook): New function.
7321
73222013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7323
7324 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7325 through a symbol rather than letrec.
7326
7327 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7328 (package-desc): Add `dir' field.
7329 (package-desc-full-name): New function.
7330 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7331 (package-maybe-load-descriptor): Remove.
7332 (package-load-all-descriptors): Just call package-load-descriptor.
7333 (package--disabled-p): New function.
7334 (package-desc-vers, package-desc-doc): Remove aliases.
7335 (package--dir): Remove function.
7336 (package-activate): Check if a package is disabled.
7337 (package-process-define-package): New function, extracted from
7338 define-package.
7339 (define-package): Turn into a place holder.
7340 (package-unpack-single, package-tar-file-info):
7341 Use package--description-file.
7342 (package-compute-transaction): Use package--disabled-p.
7343 (package-download-transaction): Don't call
7344 package-maybe-load-descriptor since they're all loaded anyway.
7345 (package-install): Change argument to be a pkg-desc.
7346 (package-delete): Use a single pkg-desc argument.
7347 (describe-package-1): Use package-desc-dir instead of package--dir.
7348 Use package-desc property instead of package-symbol.
7349 (package-install-button-action): Adjust accordingly.
7350 (package--push): Rewrite.
7351 (package-menu--print-info): Adjust accordingly. Change the ID format
7352 to be a pkg-desc.
7353 (package-menu-describe-package, package-menu-get-status)
7354 (package-menu--find-upgrades, package-menu-mark-upgrades)
7355 (package-menu-execute, package-menu--name-predicate):
7356 Adjust accordingly.
7357 * startup.el (package--description-file): New function.
7358 (command-line): Use it.
7359 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7360 Use package-desc-version.
7361
7362 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7363 (byte-compile-preprocess): Use it.
7364 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7365 can't quite recognize.
7366 (byte-compile-add-to-list): Remove.
7367 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7368 (cconv-closure-convert): Add assertion.
7369
7370 * emacs-lisp/map-ynp.el: Use lexical-binding.
7371 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7372 Factor out some repeated code.
7373
73742013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7375
7376 * subr.el (with-eval-after-load): New macro.
7377 (eval-after-load): Allow form to be a function.
7378 take advantage of lexical-binding.
7379 (do-after-load-evaluation): Use dolist and adjust to new format.
7380 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7381
73822013-06-13 Juri Linkov <juri@jurta.org>
7383
7384 * replace.el (perform-replace): Display "symbol " and other search
7385 modes from `isearch-message-prefix' in the *Help* buffer.
7386
7387 * isearch.el (isearch-query-replace): Add " symbol" and other
7388 possible search modes from `isearch-message-prefix' to the prompt.
7389 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7390 when reading a regexp to collect.
7391
73922013-06-13 Juri Linkov <juri@jurta.org>
7393
7394 * isearch.el (word-search-regexp): Match whitespace if the search
7395 string begins or ends in whitespace. The LAX arg is applied to
7396 both ends of the search string. Use `regexp-quote' and explicit
7397 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7398 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7399 boundaries are replaced with symbol boundaries, and characters
7400 between symbols match non-word non-symbol syntax. (Bug#14602)
7401
74022013-06-13 Juri Linkov <juri@jurta.org>
7403
7404 * isearch.el (isearch-del-char): Don't exceed the length of
7405 `isearch-string' by the prefix arg. (Bug#14563)
7406
74072013-06-13 Juri Linkov <juri@jurta.org>
7408
7409 * isearch.el (isearch-yank-word, isearch-yank-line)
7410 (isearch-char-by-name, isearch-quote-char)
7411 (isearch-printing-char, isearch-process-search-char):
7412 Add optional count prefix arg. (Bug#14563)
7413
7414 * international/isearch-x.el
7415 (isearch-process-search-multibyte-characters):
7416 Add optional count prefix arg.
7417
74182013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7419
7420 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7421 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7422 lexical-binding.
7423
74242013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7425
7426 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7427
74282013-06-13 Glenn Morris <rgm@gnu.org>
7429
7430 * startup.el (tty-handle-args):
7431 Don't just discard "--" and anything after. (Bug#14608)
7432
7433 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7434
74352013-06-13 Michael Albinus <michael.albinus@gmx.de>
7436
7437 Implement changes in Secret Service API. Make it backward compatible.
7438 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7439 (secrets-create-item): Use it. Prefix properties with interface.
7440
74412013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7442
7443 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7444 (term-emulate-terminal): Respect term-suppress-hard-newline.
7445
74462013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7447
7448 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7449 Only remove a `thumb-file' overlay. (Bug#14548)
7450
74512013-06-12 Grégoire Jadi <daimrod@gmail.com>
7452
7453 * mail/reporter.el (reporter-submit-bug-report):
7454 Handle missing package-name. (Bug#14600)
7455
74562013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7457
7458 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7459 (reftex-citation-prompt, reftex-default-bibliography)
7460 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7461 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7462 (reftex-bib-sort-author, reftex-bib-sort-year)
7463 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7464 (reftex-extract-bib-entries-from-thebibliography)
7465 (reftex-get-bibkey-default, reftex-get-bib-names)
7466 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7467 (reftex-format-bib-entry, reftex-parse-bibitem)
7468 (reftex-format-bibitem, reftex-do-citation)
7469 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7470 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7471 (reftex-insert-bib-matches, reftex-format-citation)
7472 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7473 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7474 existing comments into docstrings.
7475
74762013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7477
7478 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7479
74802013-06-12 Andreas Schwab <schwab@suse.de>
7481
7482 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7483 for auto-save files.
7484
74852013-06-12 Glenn Morris <rgm@gnu.org>
7486
7487 * ido.el (ido-delete-ignored-files): Remove.
7488 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7489 Go back to calling ido-ignore-item-p directly.
7490
74912013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7492
7493 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7494
7495 * ido.el (ido-delete-ignored-files): New function,
7496 split from ido-make-file-list-1.
7497 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7498 (ido-make-file-list-1): Use ido-delete-ignored-files.
7499
75002013-06-12 Leo Liu <sdl.web@gmail.com>
7501
7502 * progmodes/octave.el (inferior-octave-startup)
7503 (inferior-octave-completion-table)
7504 (inferior-octave-track-window-width-change)
7505 (octave-eldoc-function-signatures, octave-help)
7506 (octave-find-definition): Use single quoted strings.
7507 (inferior-octave-startup-args): Change default value.
7508 (inferior-octave-startup): Do not hard code "-i" and
7509 "--no-line-editing".
7510 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7511 (inferior-octave-directory-tracker): Use it.
7512 (octave-goto-function-definition): Robustify.
7513 (octave-help): Support highlighting operators in 'See also'.
7514 (octave-find-definition): Find subfunctions only in Octave mode.
7515
75162013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7517
7518 * help-fns.el (help-fns--compiler-macro): If the handler function is
7519 named, then put a link to it.
7520 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7521 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7522 (cl-typep): Use it.
7523 (cl-eval-when): Simplify debug spec.
7524 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7525 compiler-macro function instead of setting `compiler-macro-file'.
7526
75272013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7528
7529 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7530 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7531
75322013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7533 Daniel Hackney <dan@haxney.org>
7534
7535 First part of Daniel Hackney's patch to package.el.
7536 * emacs-lisp/package.el: Use defstruct.
7537 (package-desc): New, main struct.
7538 (package--bi-desc, package--ac-desc): New structs, used to describe the
7539 format in external files.
7540 (package-desc-vers): Replace with package-desc-version accessor.
7541 (package-desc-doc): Replace with package-desc-summary accessor.
7542 (package-activate-1): Remove `package' arg since the pkg-vec now
7543 includes the name.
7544 (define-package): Use package-desc-from-define.
7545 (package-unpack-single): Change file-name arg to be a symbol.
7546 (package--add-to-archive-contents): Use package-desc-create and new
7547 accessor functions to package--ac-desc.
7548 (package-buffer-info, package-tar-file-info): Return a package-desc.
7549 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7550 arg to be a package-desc.
7551 (package-install-file): Adjust accordingly. Use \' to match EOS.
7552 (package--from-builtin): New function.
7553 (describe-package-1, package-menu--generate): Use it.
7554 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7555 (package-generate-autoloads): Idem and return the name of the file.
7556 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7557 Change pkg-info arg to be a package-desc.
7558 Use package-make-ac-desc.
7559 (package-upload-file): Use \' to match EOS.
7560 * finder.el (finder-compile-keywords): Use package-make-builtin.
7561
75622013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7563
7564 * vc/vc.el (vc-deduce-fileset): Change error message.
7565 (vc-read-backend): New function.
7566 (vc-next-action): Use it.
7567
7568 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7569
7570 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7571 (prolog-font-lock-keywords): Use regexp-opt instead.
7572 Don't manually highlight strings.
7573 (prolog-mode-variables): Simplify comment-start-skip.
7574 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7575
7576 * emacs-lisp/generic.el (generic--normalise-comments)
7577 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7578 (generic-mode-set-comments): Use them.
7579 (generic-bracket-support): Use setq-local.
7580 (generic-make-keywords-list): Declare obsolete.
7581
75822013-06-11 Glenn Morris <rgm@gnu.org>
7583
7584 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7585 Prettify after setting font-lock-defaults. (Bug#14574)
7586
75872013-06-11 Juanma Barranquero <lekktu@gmail.com>
7588
7589 * replace.el (query-replace, occur-read-regexp-defaults-function)
7590 (replace-search):
7591 * subr.el (declare-function, number-sequence, local-set-key)
7592 (substitute-key-definition, locate-user-emacs-file)
7593 (with-silent-modifications, split-string, eval-after-load):
7594 Fix typos, remove unneeded backslashes and reflow some docstrings.
7595
75962013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7597
7598 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7599 default for Elisp files.
7600
76012013-06-11 Glenn Morris <rgm@gnu.org>
7602
7603 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7604 although define-derived-mode was doing this anyway. (Bug#14583)
7605
76062013-06-10 Juanma Barranquero <lekktu@gmail.com>
7607
7608 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7609 Fix make-variable-buffer-local call to refer to the correct variable.
7610
76112013-06-10 Aidan Gauland <aidalgol@amuri.net>
7612
7613 * eshell/em-term.el (eshell-visual-commands)
7614 (eshell-visual-subcommands, eshell-visual-options):
7615 Add summary line to docstrings. Add cross-references.
7616
76172013-06-10 Glenn Morris <rgm@gnu.org>
7618
7619 * epa.el (epa-read-file-name): New function. (Bug#14510)
7620 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7621
76222013-06-09 Aidan Gauland <aidalgol@amuri.net>
7623
7624 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7625 output redirection to be ignored with visual commands.
7626
76272013-06-09 Aidan Gauland <aidalgol@amuri.net>
7628
7629 * eshell/em-term.el (eshell-visual-command-p): New function.
7630 (eshell-term-initialize): Move long lambda to separate function
7631 eshell-visual-command-p.
7632 * eshell/em-dirs.el (eshell-dirs-initialise):
7633 * eshell/em-script.el (eshell-script-initialize):
7634 Add missing #' to lambda.
7635
76362013-06-08 Leo Liu <sdl.web@gmail.com>
7637
7638 * progmodes/octave.el (octave-add-log-current-defun): New function.
7639 (octave-mode): Set add-log-current-defun-function.
7640 (octave-goto-function-definition): Do not move point if not found.
7641 (octave-find-definition): Enhance to try subfunctions first.
7642
76432013-06-08 Glenn Morris <rgm@gnu.org>
7644
7645 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7646 (byte-compile-backward-char, byte-compile-backward-word):
7647 Improve previous change, to handle non-explicit nil.
7648
76492013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7650
7651 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7652 (smie--opener/closer-at-point): New function.
7653 (smie--matching-block-data): Use it. Don't match from right after an
7654 opener or right before a closer. Obey smie-blink-matching-inners.
7655 Don't signal a mismatch for repeated inners like "switch..case..case".
7656
76572013-06-07 Leo Liu <sdl.web@gmail.com>
7658
7659 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7660 to t. (Bug#14303)
7661 (octave-function-header-regexp): Fix. (Bug#14570)
7662 (octave-help-mode-finish-hook, octave-help-mode-finish):
7663 Remove. Just use temp-buffer-show-hook.
7664
7665 * newcomment.el (comment-search-backward): Revert last change.
7666 (Bug#14434)
7667
7668 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7669
76702013-06-07 Eli Zaretskii <eliz@gnu.org>
7671
7672 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7673 through xargs, to avoid failure due to MS-Windows limitations on
7674 command-line length.
7675
76762013-06-06 Glenn Morris <rgm@gnu.org>
7677
7678 * font-lock.el (lisp-font-lock-keywords-2):
7679 Treat user-error like error.
7680
7681 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7682 (byte-compile-backward-char, byte-compile-backward-word):
7683 Handle explicit nil arguments. (Bug#14565)
7684
76852013-06-05 Alan Mackenzie <acm@muc.de>
7686
7687 * isearch.el (isearch-allow-prefix): New user option.
7688 (isearch-other-meta-char): Don't exit isearch when a prefix
7689 argument is typed whilst `isearch-allow-prefix' is non-nil.
7690 (Bug#9706)
7691
76922013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7693
7694 * autorevert.el (auto-revert-notify-handler): Use memq.
7695 Hide assertion failure.
7696
7697 * skeleton.el: Use cl-lib.
7698 (skeleton-further-elements): Use defvar-local.
7699 (skeleton-insert): Use cl-progv.
7700
77012013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7702
7703 * progmodes/prog-mode.el (prog-prettify-symbols)
7704 (prog-prettify-install): Update docstrings.
7705
77062013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7707
7708 * simple.el: Move all the prog-mode code to prog-mode.el.
7709 * progmodes/prog-mode.el: New file.
7710 * loadup.el: Add prog-mode.el.
7711
77122013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7713
7714 * simple.el (prog-prettify-symbols): Add version.
7715 (prog-prettify-install): Add convenience function to prettify symbols.
7716
7717 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7718 (perl--augmented-font-lock-keywords-1)
7719 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7720 variables and use it.
7721
7722 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7723 (cfengine3-mode): Remove unneeded variable and use it.
7724
7725 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7726 (lisp--augmented-font-lock-keywords-1)
7727 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7728 Remove unneeded variables and use it.
7729
77302013-06-05 João Távora <joaotavora@gmail.com>
7731
7732 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7733 to point when opening the connection. (Bug#14380)
7734
77352013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7736
7737 * subr.el (load-history-regexp, load-history-filename-element)
7738 (eval-after-load, after-load-functions, do-after-load-evaluation)
7739 (eval-next-after-load, display-delayed-warnings)
7740 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7741 definition of save-match-data.
7742 (overriding-local-map): Remove accidental obsolescence declaration.
7743
7744 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7745
77462013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7747
7748 Generalize symbol prettify support to prog-mode and implement it
7749 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7750 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7751 (prog--prettify-font-lock-compose-symbol)
7752 (prog-prettify-font-lock-symbols-keywords): New variables and
7753 functions to support symbol prettification.
7754 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7755 (lisp--augmented-font-lock-keywords-1)
7756 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7757 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7758 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7759 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7760 Implement prettify of -> => :: strings.
7761 * progmodes/perl-mode.el (perl-prettify-symbols)
7762 (perl--font-lock-compose-symbol)
7763 (perl--font-lock-symbols-keywords): Move to prog-mode.
7764 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7765 (perl-font-lock-keywords-1)
7766 (perl-font-lock-keywords-2): Remove explicit prettify support.
7767 (perl--augmented-font-lock-keywords)
7768 (perl--augmented-font-lock-keywords-1)
7769 (perl--augmented-font-lock-keywords-2, perl-mode):
7770 Implement prettify support.
7771
77722013-06-05 Leo Liu <sdl.web@gmail.com>
7773
7774 Re-implement smie matching block highlight using
7775 show-paren-data-function. (Bug#14395)
7776 * emacs-lisp/smie.el (smie-matching-block-highlight)
7777 (smie--highlight-matching-block-overlay)
7778 (smie--highlight-matching-block-lastpos)
7779 (smie-highlight-matching-block)
7780 (smie-highlight-matching-block-mode): Remove.
7781 (smie--matching-block-data-cache): New variable.
7782 (smie--matching-block-data): New function.
7783 (smie-setup): Use smie--matching-block-data for
7784 show-paren-data-function.
7785
7786 * progmodes/octave.el (octave-mode-menu): Fix.
7787 (octave-find-definition): Skip garbage lines.
7788
77892013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7790
7791 Fix compilation error with simultaneous dynamic+lexical scoping.
7792 Add warning when a defvar appears after the first let-binding.
7793 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7794 (byte-compile-close-variables): Initialize it.
7795 (byte-compile--declare-var): New function.
7796 (byte-compile-file-form-defvar)
7797 (byte-compile-file-form-define-abbrev-table)
7798 (byte-compile-file-form-custom-declare-variable): Use it.
7799 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7800 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7801 (byte-compile-bind): Handle dynamic bindings that shadow
7802 lexical bindings.
7803 (byte-compile-unbind): Make arg non-optional.
7804 (byte-compile-let): Simplify.
7805 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7806 (cconv--analyse-function, cconv-analyse-form): Populate it.
7807 Protect byte-compile-bound-variables to limit the scope of defvars.
7808 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7809 Remove unneeded rule for `declare'.
7810
7811 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7812 so as to avoid depending on cl-adjoin at run-time.
7813 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7814
7815 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7816 (macroexp--warn-and-return): Use it.
7817
78182013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7819
7820 * lisp/subr.el: Convert to lexical binding.
7821 (overriding-local-map): Make obsolete.
7822 (add-to-list): Doc fix. Add compiler macro.
7823 (read-key): Swap values of local maps.
7824
78252013-06-05 Leo Liu <sdl.web@gmail.com>
7826
7827 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7828
78292013-06-04 Leo Liu <sdl.web@gmail.com>
7830
7831 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7832 (compilation-auto-jump): Suppress the "Mark set" message to give
7833 way to exit message.
7834
78352013-06-04 Alan Mackenzie <acm@muc.de>
7836
7837 Remove faulty optimisation from indentation calculation.
7838 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7839 search limit based on 2000 characters back from indent-point.
7840
78412013-06-03 Tassilo Horn <tsdh@gnu.org>
7842
7843 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7844
78452013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7846
7847 * emacs-lisp/lisp.el: Use lexical-binding.
7848 (lisp--local-variables-1, lisp--local-variables): New functions.
7849 (lisp--local-variables-completion-table): New var.
7850 (lisp-completion-at-point): Use it complete let-bound vars.
7851
7852 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7853 eagerly (bug#14422).
7854
78552013-06-03 Michael Albinus <michael.albinus@gmx.de>
7856
7857 * autorevert.el (auto-revert-notify-enabled)
7858 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7859 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7860 (auto-revert-notify-handler): Handle also gfilenotify.
7861
7862 * subr.el (file-notify-handle-event): New defun. Replacing ...
7863 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7864 Remove.
7865
78662013-06-03 Juri Linkov <juri@jurta.org>
7867
7868 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7869 `M-s h .'. (Bug#14427)
7870
7871 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7872 command `hi-lock-face-symbol-at-point'.
7873 (hi-lock-face-symbol-at-point): New command.
7874 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7875 (hi-lock-menu): Add `highlight-symbol-at-point'.
7876 (hi-lock-mode): Doc fix.
7877
7878 * isearch.el (isearch-forward-symbol-at-point): New command.
7879 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7880 (isearch-highlight-regexp): Add a regexp which matches
7881 words/symbols for word/symbol mode.
7882
7883 * subr.el (find-tag-default-bounds): New function with the body
7884 mostly moved from `find-tag-default'.
7885 (find-tag-default): Move most code to `find-tag-default-bounds',
7886 call it and apply `buffer-substring-no-properties' afterwards.
7887
78882013-06-03 Tassilo Horn <tsdh@gnu.org>
7889
7890 * eshell/em-term.el (eshell-term-initialize):
7891 Use `cl-intersection' rather than `intersection'.
7892
78932013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7894
7895 * vc/log-view.el: Doc fix.
7896 (log-view-mode-map): Copy keymap from `special-mode-map'.
7897
78982013-06-02 Eric Ludlam <zappo@gnu.org>
7899
7900 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7901 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7902 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7903 (eieio-unbound, eieio-default-superclass)
7904 (eieio--define-field-accessors, method-static, method-before)
7905 (method-primary, method-after, method-num-lists)
7906 (method-generic-before, method-generic-primary)
7907 (method-generic-after, method-num-slots)
7908 (eieio-specialized-key-to-generic-key)
7909 (eieio--check-type, class-v, class-p)
7910 (eieio-class-name, define-obsolete-function-alias)
7911 (eieio-class-parents-fast, eieio-class-children-fast)
7912 (same-class-fast-p, class-constructor, generic-p)
7913 (generic-primary-only-p, generic-primary-only-one-p)
7914 (class-option-assoc, class-option, eieio-object-p)
7915 (class-abstract-p, class-method-invocation-order)
7916 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7917 (eieio-class-un-autoload, eieio-defclass)
7918 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7919 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7920 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7921 (eieio-defgeneric-reset-generic-form)
7922 (eieio-defgeneric-form-primary-only)
7923 (eieio-defgeneric-reset-generic-form-primary-only)
7924 (eieio-defgeneric-form-primary-only-one)
7925 (eieio-defgeneric-reset-generic-form-primary-only-one)
7926 (eieio-unbind-method-implementations)
7927 (eieio--defmethod, eieio--typep)
7928 (eieio-perform-slot-validation, eieio-validate-slot-value)
7929 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7930 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7931 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7932 (eieio-slot-name-index, eieio-class-slot-name-index)
7933 (eieio-set-defaults, eieio-initarg-to-attribute)
7934 (eieio-attribute-to-initarg, eieio-c3-candidate)
7935 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7936 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7937 (eieio-class-precedence-list, eieio-generic-call-methodname)
7938 (eieio-generic-call-arglst, eieio-generic-call-key)
7939 (eieio-generic-call-next-method-list)
7940 (eieio-pre-method-execution-functions, eieio-generic-call)
7941 (eieio-generic-call-primary-only, eieiomt-method-list)
7942 (eieiomt-optimizing-obarray, eieiomt-install)
7943 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7944 (eieio-generic-form, eieio-defmethod, make-obsolete)
7945 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7946 (defclass): Remove `eval-and-compile' from macro.
7947 (call-next-method, shared-initialize): Instead of using
7948 `scoped-class' variable, use new eieio--scoped-class, and
7949 eieio--with-scoped-class.
7950 (initialize-instance): Rename local variable 'scoped-class' to
7951 'this-class' to remove ambiguitity from old global.
7952
7953 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7954 eieio.el.
7955 (eieio--scoped-class-stack): New variable.
7956 (eieio--scoped-class): New fcn.
7957 (eieio--with-scoped-class): New scoping macro.
7958 (eieio-defclass): Use pushnew instead of add-to-list.
7959 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7960 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7961 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7962 `scoped-class' variable, use new eieio--scoped-class, and
7963 eieio--with-scoped-class.
7964
7965 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7966
79672013-06-02 Tassilo Horn <tsdh@gnu.org>
7968
7969 * eshell/esh-ext.el (eshell-external-command): Pass args to
7970 `eshell-find-interpreter'.
7971 (eshell-find-interpreter): Add new second parameter ARGS.
7972
7973 * eshell/em-script.el (eshell-script-initialize): Add second arg
7974 to the function added as MATCH to `eshell-interpreter-alist'.
7975
7976 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7977 the function added as MATCH to `eshell-interpreter-alist'.
7978
7979 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7980 (eshell-visual-options): New defcustom.
7981 (eshell-escape-control-x): Adapt docstring.
7982 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7983 `eshell-visual-options' in addition to `eshell-visual-commands'.
7984 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7985
79862013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7987
7988 * progmodes/python.el (python-indent-block-enders): Add break,
7989 continue and raise keywords.
7990
79912013-06-01 Glenn Morris <rgm@gnu.org>
7992
7993 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7994
7995 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7996 * progmodes/cc-cmds.el (delete-forward-p):
7997 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7998 * progmodes/cc-engine.el (buffer-syntactic-context):
7999 * progmodes/cc-fonts.el (face-property-instance):
8000 * progmodes/cc-mode.el (set-keymap-parents):
8001 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8002 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8003 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8004 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8005 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8006
8007 * progmodes/cc-vars.el (other): Emacs has this widget since
8008 at least 21.1, so don't (re)define it.
8009
8010 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8011 Replace the obsolete alias pcomplete-arg-quote-list.
8012
80132013-06-01 Leo Liu <sdl.web@gmail.com>
8014
8015 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8016 punctuation syntax.
8017 (inferior-octave-minimal-columns)
8018 (inferior-octave-last-column-width): New variables.
8019 (inferior-octave-track-window-width-change): New function.
8020 (inferior-octave-mode): Adjust column width so that Octave output,
8021 for example from 'ls', can fit into the window nicely.
8022
80232013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8024
8025 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8026 Highlight expansions inside regexp literals.
8027
80282013-05-31 Glenn Morris <rgm@gnu.org>
8029
8030 * obsolete/sym-comp.el (symbol-complete):
8031 Replace obsolete completion-annotate-function.
8032
8033 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8034
80352013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8036
8037 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8038 New function, checks if point is inside a literal that allows
8039 expression expansion.
8040 (ruby-syntax-propertize-expansion): Use it.
8041 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8042 around the body.
8043
80442013-05-30 Juri Linkov <juri@jurta.org>
8045
8046 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8047 to "\M-si".
8048 (isearch-invisible): New variable.
8049 (isearch-forward): Doc fix.
8050 (isearch-mode): Set `isearch-invisible'
8051 to the value of `search-invisible'.
8052 (isearch-toggle-case-fold): Doc fix.
8053 (isearch-toggle-invisible): New command.
8054 (isearch-query-replace): Let-bind `search-invisible'
8055 to the value of `isearch-invisible'.
8056 (isearch-search): Use `isearch-invisible' instead of
8057 `search-invisible'. Let-bind `search-invisible'
8058 to the value of `isearch-invisible'. (Bug#11378)
8059
80602013-05-30 Juri Linkov <juri@jurta.org>
8061
8062 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8063 call when `query-flag' is nil and `search-invisible' is non-nil.
8064 (Bug#11746)
8065
80662013-05-30 Glenn Morris <rgm@gnu.org>
8067
8068 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8069
8070 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8071 (cc-require): Suppress spurious "noruntime" warnings.
8072 (cc-require-when-compile): Use fboundp, for sake of compiler.
8073
8074 * progmodes/cc-mode.el: Move load of cc-vars before that of
8075 cc-langs (which in turn loads cc-vars), to quieten compiler.
8076
80772013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8078
8079 * paren.el: Simplify the code.
8080 (show-paren-mode): Always start the timer.
8081 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8082 (show-paren--overlay, show-paren--overlay-1): Rename from
8083 show-paren-overlay and show-paren-overlay-1, and initialize to an
8084 overlay rather than to nil.
8085 (show-paren-function): Misc cleanup and simplifications.
8086
80872013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8088
8089 * paren.el (show-paren-data-function): New hook.
8090 (show-paren--default): New function, extracted from show-paren-function.
8091 (show-paren-function): Use show-paren-data-function.
8092
80932013-05-30 Glenn Morris <rgm@gnu.org>
8094
8095 * ielm.el (ielm-map, ielm-complete-symbol):
8096 Use completion-at-point rather than obsolete functions.
8097 (inferior-emacs-lisp-mode): Doc fix.
8098 Set completion-at-point-functions, rather than
8099 comint-dynamic-complete-functions.
8100
8101 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8102 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8103 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8104
8105 * image.el (image-animated-p): Tweak definition.
8106
8107 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8108 (rlogin-process-connection-type): Tweak default. Add set-after.
8109 (rlogin-host): Doc fix.
8110 (rlogin): Tweak prompt.
8111 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8112
8113 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8114 * progmodes/tcl.el (inferior-tcl-mode-map):
8115 Use completion-at-point rather than obsolete alias.
8116
8117 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8118
8119 * minibuffer.el (read-file-name-completion-ignore-case):
8120 Move before completion--in-region, for eager macro expansion.
8121
81222013-05-29 Juri Linkov <juri@jurta.org>
8123
8124 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8125 for total count of matching lines. Add `global-matches' for total
8126 count of matches. Rename `matches' to `lines' for count of
8127 matching lines. Add `matches' for count of matches.
8128 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8129 to `prev-line' for line number of prev match endpt.
8130 Increment `matches' for every match. Print the number of
8131 matching lines in the header.
8132 (occur-context-lines): Rename `lines' to `curr-line'.
8133 Rename `prev-lines' to `prev-line'. (Bug#14017)
8134
81352013-05-29 Juri Linkov <juri@jurta.org>
8136
8137 * replace.el (perform-replace): Add `skip-read-only-count',
8138 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8139 Increment them for corresponding conditions and report the number
8140 of skipped occurrences in the final message. (Bug#11746)
8141 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8142 (replace-string, replace-regexp): Doc fix.
8143
81442013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8145
8146 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8147
8148 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8149 prog-mode-map (bug#14504).
8150
81512013-05-29 Leo Liu <sdl.web@gmail.com>
8152
8153 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8154 (octave-help): Small simplification.
8155
8156 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8157 off the highlight first.
8158
81592013-05-29 Glenn Morris <rgm@gnu.org>
8160
8161 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8162 Handle idlwave-last-system-routine-info-cons-cell being nil.
8163
8164 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8165 (idlwave-write-paths): Simplify via with-temp-buffer.
8166
8167 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8168 * emulation/cua-rect.el: Also load cua-base at run time.
8169
8170 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8171 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8172 (cperl-imenu-on-info): Require imenu.
8173
81742013-05-28 Alan Mackenzie <acm@muc.de>
8175
8176 Handle "capitalised keywords" correctly.
8177 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8178
81792013-05-28 Aidan Gauland <aidalgol@amuri.net>
8180
8181 * eshell/em-unix.el: Add -r option to cp.
8182
81832013-05-28 Glenn Morris <rgm@gnu.org>
8184
8185 * vc/vc-arch.el (vc-exec-after): Declare.
8186 (vc-switches): Autoload.
8187 * vc/vc-bzr.el: No need to require vc when compiling.
8188 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8189 (vc-resynch-buffer, vc-dir-refresh): Declare.
8190 (vc-setup-buffer, vc-switches): Autoload.
8191 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8192 (vc-resynch-buffer): Declare.
8193 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8194 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8195 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8196 (grep-read-regexp, grep-read-files, grep-expand-template)
8197 (vc-dir-refresh): Declare.
8198 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8199 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8200 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8201 * vc/vc-mtn.el (vc-exec-after): Declare.
8202 (vc-switches): Autoload.
8203 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8204 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8205 (vc-file-tree-walk): Declare.
8206 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8207 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8208 (vc-tag-precondition, vc-rename-master): Autoload.
8209 * vc/vc-svn.el (vc-exec-after): Declare.
8210 (vc-switches, vc-setup-buffer): Autoload.
8211 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8212 Autoload.
8213 (vc-resynch-buffer): Declare.
8214
8215 * obsolete/fast-lock.el (byte-compile-warnings):
8216 Don't warn about obsolete features in this obsolete file.
8217
8218 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8219 Move definition before use.
8220
8221 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8222 (dun-unix-verbs): Remove dun-zippy.
8223 (dun-zippy): Remove function.
8224
8225 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8226
82272013-05-27 Juri Linkov <juri@jurta.org>
8228
8229 * replace.el (replace-search): New function with code moved out
8230 from `perform-replace'.
8231 (replace-highlight, replace-dehighlight): Move function definitions
8232 up closer to `replace-search'. (Bug#11746)
8233
82342013-05-27 Juri Linkov <juri@jurta.org>
8235
8236 * replace.el (perform-replace): Ignore invisible matches.
8237 In addition to checking `query-replace-skip-read-only', also
8238 filter out matches by calling `run-hook-with-args-until-failure'
8239 on `isearch-filter-predicates', and also check `search-invisible'
8240 for t or call `isearch-range-invisible'.
8241 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8242
82432013-05-27 Juri Linkov <juri@jurta.org>
8244
8245 * isearch.el (isearch-filter-predicates): Rename from
8246 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8247 (isearch-message-prefix): Display text from the property
8248 `isearch-message-prefix' of the currently active filters.
8249 (isearch-search): Don't compare `isearch-filter-predicate' with
8250 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8251 on `isearch-filter-predicates'. Also check `search-invisible' for t
8252 or call `isearch-range-invisible'.
8253 (isearch-filter-visible): Make obsolete.
8254 (isearch-lazy-highlight-search):
8255 Call `run-hook-with-args-until-failure' on
8256 `isearch-filter-predicates' and use `isearch-range-invisible'.
8257
8258 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8259 `isearch-filter-predicates' instead of `funcall'ing
8260 `isearch-filter-predicate'.
8261 (Info-mode): Set `Info-isearch-filter' to
8262 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8263
8264 * dired-aux.el (dired-isearch-filter-predicate-orig):
8265 Remove variable.
8266 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8267 (dired-isearch-filenames-end): Add and remove
8268 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8269 instead of changing the value of `isearch-filter-predicate'.
8270 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8271 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8272 Put property `isearch-message-prefix' to "filename " on
8273 `dired-isearch-filter-filenames'.
8274
8275 * wdired.el (wdired-change-to-wdired-mode):
8276 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8277 locally instead of changing `isearch-filter-predicate'.
8278 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8279
82802013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8281
8282 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8283 return the commit hash (Bug#14459). Also set the
8284 `vc-git-detached' property.
8285 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8286 (vc-git-mode-line-string): Use the same help-echo format whether
8287 in detached mode or not, because we know the actual revision now.
8288 When in detached mode, shorten the revision to 7 chars.
8289
82902013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8291
8292 * emacs-lisp/easy-mmode.el (define-minor-mode):
8293 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8294 mode hook and provide a docstring.
8295
82962013-05-27 Alan Mackenzie <acm@muc.de>
8297
8298 Remove spurious syntax-table text properties inserted by C-y.
8299 * progmodes/cc-mode.el (c-after-change): Also clear hard
8300 syntax-table property with value nil.
8301
83022013-05-27 Michael Albinus <michael.albinus@gmx.de>
8303
8304 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8305 when reading the events; the buffer layout shall not be changed.
8306
83072013-05-27 Leo Liu <sdl.web@gmail.com>
8308
8309 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8310 New variable.
8311 (inferior-octave-directory-tracker): Automatically re-sync
8312 default-directory.
8313 (octave-help): Improve handling of 'See also'.
8314
83152013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8316
8317 * doc-view.el: Minor naming convention tweaks.
8318 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8319
8320 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8321 even if there's no `display' property yet (bug#14435).
8322
83232013-05-25 Eli Zaretskii <eliz@gnu.org>
8324
8325 * subr.el (unmsys--file-name): Rename from reveal-filename.
8326
8327 * Makefile.in (custom-deps, finder-data, autoloads)
8328 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8329 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8330 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8331
83322013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8333
8334 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8335 error-completion on the first 2 args of condition-case (bug#14446).
8336 Don't burp at EOB.
8337
83382013-05-25 Leo Liu <sdl.web@gmail.com>
8339
8340 * comint.el (comint-previous-matching-input): Do not flood the
8341 *Messages* buffer with trivial messages.
8342
83432013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8344
8345 * progmodes/flymake.el (flymake-nop): Don't return a string.
8346 (flymake-set-at): Fix typo.
8347
8348 * simple.el (read--expression): New function, extracted from
8349 eval-expression. Set completion-at-point-functions (bug#14465).
8350 (eval-expression, eval-minibuffer): Use it.
8351
83522013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8353
8354 * progmodes/flymake.el (flymake-save-buffer-in-file)
8355 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8356 (flymake-selected-frame, flymake-log, flymake-ins-after)
8357 (flymake-set-at, flymake-get-buildfile-from-cache)
8358 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8359 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8360 Refine the doc string.
8361 (flymake-get-file-name-mode-and-masks): Reformat.
8362 (flymake-get-real-file-name-function): Fix a minor bug.
8363
83642013-05-24 Juri Linkov <juri@jurta.org>
8365
8366 * progmodes/grep.el (grep-mode-font-lock-keywords):
8367 Support =linenumber= format used by git-grep for lines with
8368 function names. (Bug#13549)
8369
83702013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8371
8372 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8373 0 after a semi-colon; it works better for smie-auto-fill.
8374 (octave--indent-new-comment-line): New function.
8375 (octave-indent-new-comment-line): Use it (indirectly).
8376 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8377 modify comment-line-break-function.
8378
8379 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8380 (smie-setup): Use add-function to set it.
8381
83822013-05-24 Sam Steingold <sds@gnu.org>
8383
8384 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8385 argument (before the `interactive' argument).
8386
83872013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8388
8389 * image-mode.el (image-mode-winprops): Add winprops to
8390 image-mode-winprops-alist before running
8391 image-mode-new-window-functions.
8392 * doc-view.el (doc-view-new-window-function): Don't delay
8393 doc-view-goto-page via timers (bug#14435).
8394
83952013-05-24 Tassilo Horn <tsdh@gnu.org>
8396
8397 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8398 (doc-view-desktop-save-buffer): New function.
8399 (doc-view-restore-desktop-buffer): New function.
8400 (desktop-buffer-mode-handlers):
8401 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8402 handler.
8403 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8404 `desktop-save-buffer' function.
8405
84062013-05-24 Michael Albinus <michael.albinus@gmx.de>
8407
8408 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8409 (tramp-gvfs-file-name-handler): Raise a user error when
8410 `tramp-gvfs-enabled' is nil.
8411 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8412 Do not raise a user error when loading package. (Bug#14447)
8413
8414 * net/xesam.el: Move to obsolete/.
8415
84162013-05-24 Glenn Morris <rgm@gnu.org>
8417
8418 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8419
8420 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8421
8422 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8423 (Info-find-node, Man-getpage-in-background): Declare.
8424
8425 * mail/unrmail.el (unrmail):
8426 Replace obsolete detect-coding-with-priority.
8427
8428 * net/socks.el (socks-split-string): Use this rather than split-string.
8429 (socks-nslookup-host): Update for above change.
8430 (dynamic-choice, s5-dynamic-choice-match)
8431 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8432 Comment out unused code.
8433
8434 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8435 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8436 (gud-tooltip-echo-area): Make obsolete.
8437 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8438
8439 * progmodes/js.el (js--optimize-arglist): Declare.
8440
8441 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8442
8443 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8444 (ediff-window-C): Declare.
8445
8446 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8447 Tweak requires to silence compiler.
8448
8449 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8450 (he-search-string, he-tried-table, he-expand-list)
8451 (he-init-string, he-string-member, he-substitute-string)
8452 (he-reset-string): Declare.
8453
8454 * obsolete/options.el (list-options): Use custom-variable-p,
8455 rather than obsolete alias.
8456
84572013-05-23 Sam Steingold <sds@gnu.org>
8458
8459 * simple.el (shell-command-on-region): Pass the `replace' argument
8460 down to `call-process-region' to comply with the doc as reported on
8461 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8462
84632013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8464
8465 * emacs-lisp/smie.el (smie-indent-forward-token)
8466 (smie-indent-backward-token): Handle string tokens (bug#14381).
8467
84682013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8469
8470 * ielm.el (ielm-menu): New menu.
8471 (inferior-emacs-lisp-mode): Set comment-start.
8472
84732013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8474
8475 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8476 Fix deactivate action.
8477
8478 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8479 Add cleveref macros.
8480
8481 * lisp/textmodes/reftex-parse.el
8482 (reftex-locate-bibliography-files): Accept options for
8483 bibliography commands.
8484 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8485 Add addbibresource. Basic Biblatex support.
8486
84872013-05-23 Michael Albinus <michael.albinus@gmx.de>
8488
8489 * net/tramp-gvfs.el (top):
8490 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8491 when loading package. (Bug#14447)
8492
84932013-05-23 Glenn Morris <rgm@gnu.org>
8494
8495 * progmodes/js.el: No need to load comint when compiling.
8496 (ring-insert, comint-send-string, comint-send-input)
8497 (comint-last-input-end, ido-chop): Declare.
8498
8499 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8500 * vc/ediff-mult.el: Adjust requires.
8501 (ediff-directories-internal, ediff-directory-revisions-internal)
8502 (ediff-patch-file-internal): Declare.
8503 * vc/ediff-ptch.el: Adjust requires.
8504 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8505 (ediff-find-file): Autoload.
8506 * vc/ediff-util.el: No need to load ediff when compiling.
8507 (ediff-regions-internal): Declare.
8508 * vc/ediff-wind.el: Adjust requires.
8509 (ediff-compute-toolbar-width): Define when compiling.
8510 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8511 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8512 (dired-get-filename, dired-get-marked-files)
8513 (ediff-last-dir-patch, ediff-patch-default-directory)
8514 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8515 (ediff-patch-buffer-internal): Declare.
8516
8517 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8518 (ispell-process, ispell-buffer-local-words, lm-summary)
8519 (lm-section-start, lm-section-end): Declare.
8520 (checkdoc-ispell-init): Simplify.
8521
8522 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8523 (he-string-member, he-reset-string, he-substitute-string): Declare.
8524
8525 * eshell/em-ls.el: Adjust requires.
8526 (eshell-glob-regexp): Declare.
8527 * eshell/em-tramp.el: Adjust requires.
8528 (eshell-parse-command): Autoload.
8529 * eshell/em-xtra.el: Adjust requires.
8530 (eshell-parse-command): Autoload.
8531 * eshell/esh-ext.el: Adjust requires.
8532 (eshell-parse-command, eshell-close-handles): Autoload.
8533 * eshell/esh-io.el: Adjust requires.
8534 (eshell-output-filter): Autoload.
8535 * eshell/esh-util.el: No need to load tramp when compiling.
8536 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8537 Declare.
8538 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8539 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8540 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8541 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8542 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8543 * eshell/esh-opt.el, eshell/esh-proc.el:
8544 * eshell/esh-var.el: Adjust requires.
8545 * eshell/eshell.el: Do not require esh-util twice.
8546 (eshell-add-input-to-history): Declare.
8547 (eshell-command): Check history module is active before using it.
8548
8549 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8550
85512013-05-22 Leo Liu <sdl.web@gmail.com>
8552
8553 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8554
85552013-05-22 Michael Albinus <michael.albinus@gmx.de>
8556
8557 * autorevert.el (auto-revert-notify-add-watch)
8558 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8559 it indicates changes in file modification time.
8560
85612013-05-22 Glenn Morris <rgm@gnu.org>
8562
8563 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8564 Always delete the autoloaded function from the noruntime and
8565 unresolved functions lists.
8566
8567 * allout.el: No need to load epa, epg, overlay when compiling.
8568 (epg-context-set-passphrase-callback, epg-list-keys)
8569 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8570 (epg-key-user-id-list): Declare.
8571
8572 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8573 (viper-set-parsing-style-toggling-macro)
8574 (viper-set-emacs-state-searchstyle-macros):
8575 Use called-interactively-p on Emacs.
8576 (viper-looking-back): Make it an obsolete alias. Update callers.
8577 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8578 Use looking-back rather than viper-looking-back.
8579 (viper-tmp-insert-at-eob, viper-enlarge-region)
8580 (viper-read-string-with-history, viper-register-to-point)
8581 (viper-append-to-register, viper-change-state-to-vi)
8582 (viper-backward-char-carefully, viper-forward-char-carefully)
8583 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8584 (viper-change-state-to-emacs): Declare.
8585 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8586 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8587 * emulation/viper-mous.el: Do not load viper-cmd.
8588 (viper-backward-char-carefully, viper-forward-char-carefully)
8589 (viper-forward-word, viper-adjust-window): Declare.
8590
8591 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8592
8593 * progmodes/idlw-help.el (idlwave-help-fontify):
8594 Use called-interactively-p.
8595
8596 * term/w32console.el (w32-get-console-codepage)
8597 (w32-get-console-output-codepage): Declare.
8598
8599 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8600 Remove unnecessary declarations.
8601 (dframe-message): Doc fix.
8602
8603 * info.el (dframe-select-attached-frame, dframe-current-frame):
8604 Declare.
8605
8606 * speedbar.el (speedbar-message): Make it an obsolete alias.
8607 Update all callers.
8608 (speedbar-with-attached-buffer)
8609 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8610 (speedbar-with-writable): Use backquote.
8611 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8612 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8613 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8614 rather than speedbar- aliases.
8615 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8616 (speedbar-make-specialized-keymap, speedbar-insert-button)
8617 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8618 (speedbar-do-function-pointer): Declare.
8619 (rmail-speedbar-button, rmail-speedbar-find-file)
8620 (rmail-speedbar-move-message):
8621 Use dframe-with-attached-buffer rather than speedbar- alias.
8622 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8623 (dframe-message, speedbar-make-specialized-keymap)
8624 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8625 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8626 (speedbar-insert-button, dframe-select-attached-frame)
8627 (dframe-maybee-jump-to-attached-frame)
8628 (speedbar-change-initial-expansion-list)
8629 (speedbar-previously-used-expansion-list-name): Declare.
8630 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8631 Use dframe-message, dframe-with-attached-buffer rather than
8632 speedbar- aliases.
8633 (gud-sentinel): Silence compiler.
8634 * progmodes/vhdl-mode.el (speedbar-refresh)
8635 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8636 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8637 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8638 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8639 (speedbar-file-lists, speedbar-make-tag-line)
8640 (speedbar-line-directory, speedbar-goto-this-file)
8641 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8642 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8643 (speedbar-make-button, speedbar-reset-scanners)
8644 (speedbar-files-item-info, speedbar-line-text)
8645 (speedbar-find-file-in-frame, speedbar-set-timer)
8646 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8647 (speedbar-with-writable): Do not (re)define it.
8648 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8649 rather than speedbar- alias.
8650
86512013-05-21 Leo Liu <sdl.web@gmail.com>
8652
8653 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8654 menu items.
8655 (octave-mode): Tweak fill-nobreak-predicate.
8656 (inferior-octave-startup): Check process to avoid infinite loop.
8657 (inferior-octave): Pop to buffer first to show abornmal process
8658 exit information.
8659
86602013-05-21 Glenn Morris <rgm@gnu.org>
8661
8662 * printing.el (pr-menu-bar): Define when compiling.
8663
86642013-05-21 Leo Liu <sdl.web@gmail.com>
8665
8666 * progmodes/octave.el (octave-auto-fill): Remove.
8667 (octave-indent-new-comment-line): Improve.
8668 (octave-mode): Use auto fill mode through
8669 comment-line-break-function and fill-nobreak-predicate.
8670 (octave-goto-function-definition): Support DEFUN_DLD.
8671 (octave-beginning-of-defun): Small tweak.
8672 (octave-help): Show parent directory.
8673
86742013-05-21 Glenn Morris <rgm@gnu.org>
8675
8676 * files.el (dired-unmark):
8677 * progmodes/gud.el (gdb-input): Update declarations.
8678
8679 * calculator.el (electric, ehelp): No need to load when compiling.
8680 (Electric-command-loop, electric-describe-mode): Declare.
8681
8682 * doc-view.el (doc-view-current-converter-processes): Move before use.
8683
8684 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8685 Move MODE-set-explicitly definition before use.
8686
8687 * international/mule-diag.el (mule-diag):
8688 Don't use obsolete window-system-version.
8689
8690 * mail/feedmail.el (smtpmail): No need to load when compiling.
8691 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8692
8693 * mail/mail-utils.el (rfc822): No need to load when compiling.
8694 (rfc822-addresses): Autoload it.
8695 (mail-strip-quoted-names): Trivial simplification.
8696
8697 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8698 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8699
8700 * net/snmp-mode.el (tempo): Don't duplicate requires.
8701
8702 * progmodes/prolog.el (info): No need to load when compiling.
8703 (comint): Require before shell requires it.
8704 (Info-goto-node): Autoload it.
8705 (Info-follow-nearest-node): Declare.
8706 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8707
8708 * textmodes/artist.el (picture-mode-exit): Declare.
8709
8710 * textmodes/reftex-parse.el (reftex-parse-from-file):
8711 Trivial rewrite so the compiler can parse it better.
8712
87132013-05-20 Leo Liu <sdl.web@gmail.com>
8714
8715 * progmodes/octave.el (octave-help-mode-map)
8716 (octave-help-mode-finish-hook): New variables.
8717 (octave-help-mode, octave-help-mode-finish): New functions.
8718 (octave-help): Use octave-help-mode.
8719
87202013-05-20 Glenn Morris <rgm@gnu.org>
8721
8722 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8723
87242013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8725
8726 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8727 start at point, so that expansion starting right after opening
8728 slash in a regexp is recognized.
8729 (ruby-syntax-before-regexp-re): New defvar, extracted from
8730 ruby-syntax-propertize-function. Since the value of this regexp
8731 is looked up at runtime now, we should be able to turn
8732 `ruby-syntax-methods-before-regexp' into a defcustom later.
8733 (ruby-syntax-propertize-function): Split regexp matching into two
8734 parts, for opening and closing slashes. That allows us to skip
8735 over string interpolations and support multiline regexps.
8736 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8737 for them, which calls `ruby-syntax-propertize-expansion'.
8738 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8739 call to `ruby-syntax-propertize-function'.
8740 (ruby-syntax-propertize-expansion): Extracted from
8741 `ruby-syntax-propertize-expansions'. Handles one expansion.
8742 (ruby-syntax-propertize-percent-literal): Leave point right after
8743 the percent symbol, so that the expression expansion rule can
8744 propertize the contents.
8745 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8746 heredoc openers.
8747 (ruby-syntax-propertize-expansions): Remove.
8748
87492013-05-18 Juri Linkov <juri@jurta.org>
8750
8751 * man.el (Man-default-man-entry): Remove `-' from the end
8752 of the default value. (Bug#14400)
8753
87542013-05-18 Glenn Morris <rgm@gnu.org>
8755
8756 * comint.el (comint-password-prompt-regexp):
8757 Allow "password for XXX" where XXX contains colons (eg https://...).
8758
87592013-05-18 Leo Liu <sdl.web@gmail.com>
8760
8761 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8762 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8763 (octave-source-directories): Don't check process.
8764 (octave-source-directories, octave-find-definition): Doc fix.
8765
87662013-05-18 Glenn Morris <rgm@gnu.org>
8767
8768 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8769 Remove backspace/delete bindings. (Bug#14392)
8770
8771 * cus-dep.el (custom-make-dependencies): Sort the output.
8772 (custom-versions-load-alist): Convert comment to doc.
8773
87742013-05-17 Leo Liu <sdl.web@gmail.com>
8775
8776 * newcomment.el (comment-search-backward): Stricter in finding
8777 comment start. (Bug#14303)
8778
8779 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8780 (octave-comment-start-skip): Properly anchored.
8781
87822013-05-17 Leo Liu <sdl.web@gmail.com>
8783
8784 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8785 Clean up when turned off. (Bug#14395)
8786 (smie--highlight-matching-block-overlay): No longer buffer-local.
8787 (smie-highlight-matching-block): Adjust.
8788
87892013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8790
8791 Doc string fix for "nanoseconds" (Bug#14406).
8792 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8793 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8794
87952013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8796
8797 * calc/calc-units.el (math-extract-units): Preserve powers
8798 of units.
8799
88002013-05-17 Leo Liu <sdl.web@gmail.com>
8801
8802 * subr.el (delete-consecutive-dups): New function.
8803 * ido.el (ido-set-matches-1): Use it.
8804 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8805 * ido.el (ido-remove-consecutive-dups): Remove.
8806
88072013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8808
8809 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8810 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8811 regexp-opt's `words'.
8812
88132013-05-16 Leo Liu <sdl.web@gmail.com>
8814
8815 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8816 (smie--highlight-matching-block-overlay)
8817 (smie--highlight-matching-block-lastpos)
8818 (smie--highlight-matching-block-timer): New variables.
8819 (smie-highlight-matching-block): New function.
8820 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8821 (smie-setup): Conditionally enable smie-blink-matching-open.
8822
88232013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8824
8825 Sync with upstream verilog-mode r840.
8826 * progmodes/verilog-mode.el (verilog-mode-version)
8827 (verilog-mode-release-date): Update.
8828 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8829 (verilog-sig-tieoff): Fix string error on
8830 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8831 (verilog-read-decls): Fix parameters confusing
8832 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8833
88342013-05-16 Eli Zaretskii <eliz@gnu.org>
8835
8836 * subr.el (reveal-filename): New function.
8837
8838 * loadup.el: Compute Emacs executable versions on MS-Windows,
8839 where executables have the .exe extension. Add a hard link
8840 emacs-XX.YY.ZZ.exe on MS-Windows.
8841
8842 * Makefile.in (XARGS_LIMIT): New variable.
8843 (custom-deps, finder-data, autoloads)
8844 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8845 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8846 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8847 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8848
88492013-05-16 Leo Liu <sdl.web@gmail.com>
8850
8851 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8852 (octave-mode-menu, octave-mode-map): Remove its uses.
8853
88542013-05-16 Reto Zimmermann <reto@gnu.org>
8855
8856 Sync with upstream vhdl mode v3.34.2.
8857 * progmodes/vhdl-mode.el: Use `push' throughout.
8858 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8859 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8860 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8861 (vhdl-actual-generic-name): New option to derive actual generic name.
8862 (vhdl-port-paste-signals): Replace formal by actual generics.
8863 (vhdl-beautify): New name for old group vhdl-align. Update users.
8864 (vhdl-beautify-options): New option.
8865 (vhdl-last-input-event): New compat alias. Use throughout.
8866 (vhdl-goto-line): Replace user level function `goto-line'.
8867 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8868 vhdl-fix-statement-buffer.
8869 (vhdl-create-mode-menu): Add some entries.
8870 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8871 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8872 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8873 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8874 to force statements on one line.
8875 (vhdl-remove-trailing-spaces-region):
8876 New, split from vhdl-remove-trailing-spaces.
8877 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8878 Respect vhdl-beautify-options.
8879 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8880 (vhdl-update-sensitivity-list): Not add with index if exists without.
8881 Not include array index with signal. Ignore keywords in comments.
8882 (vhdl-get-visible-signals): Regexp tweaks.
8883 (vhdl-template-component-inst): Handle empty library.
8884 (vhdl-template-type): Add template for 'enum' type.
8885 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8886 Use vhdl-replace-string.
8887 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8888 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8889 (vhdl-speedbar-initialize): Update for above name change.
8890 (vhdl-compose-wire-components): Fix in handling of constants.
8891 (vhdl-error-regexp-emacs-alist): New variable.
8892 (vhdl-error-regexp-add-emacs): New function;
8893 adds support for new compile.el (Emacs 22+)
8894 (vhdl-generate-makefile-1): Change target order for single lib. units.
8895 Allow use of absolute file names.
8896
88972013-05-16 Leo Liu <sdl.web@gmail.com>
8898
8899 * simple.el (prog-indent-sexp): Indent enclosing defun.
8900
89012013-05-15 Glenn Morris <rgm@gnu.org>
8902
8903 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8904 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8905 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8906 (whitespace-highlight): Move to whitespace group.
8907
8908 * comint.el (comint-source):
8909 * pcmpl-linux.el (pcmpl-linux):
8910 * shell.el (shell-faces):
8911 * eshell/esh-opt.el (eshell-opt):
8912 * international/ccl.el (ccl): Remove empty custom groups.
8913
8914 * completion.el (dynamic-completion-mode):
8915 * jit-lock.el (jit-lock-debug-mode):
8916 * minibuffer.el (completion-in-region-mode):
8917 * type-break.el (type-break-mode-line-message-mode)
8918 (type-break-query-mode):
8919 * emulation/tpu-edt.el (tpu-edt-mode):
8920 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8921 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8922 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8923
8924 * term/xterm.el (xterm): Change parent group to terminals.
8925
8926 * master.el (master): Remove empty custom group.
8927 (master-mode): Remove unused :group argument.
8928 * textmodes/refill.el (refill): Remove empty custom group.
8929 (refill-mode): Remove unused :group argument.
8930
8931 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8932
8933 * cus-dep.el: Provide a feature.
8934 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8935 Don't mistakenly ignore files whose basenames match a basename
8936 from preloaded-file-list (eg cedet/ede/simple.el).
8937 Add a fallback method for getting :group.
8938
89392013-05-15 Juri Linkov <juri@jurta.org>
8940
8941 * isearch.el (isearch-char-by-name): Rename from
8942 `isearch-insert-char-by-name'. Doc fix.
8943 (isearch-forward): Mention `isearch-char-by-name' in
8944 the docstring. (Bug#13348)
8945
8946 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8947 `exit-minibuffer' instead of
8948 `isearch-nonincremental-exit-minibuffer'.
8949 (isearch-edit-string): Remove mention of
8950 `isearch-nonincremental-exit-minibuffer' from docstring.
8951 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8952 (isearch-forward-exit-minibuffer)
8953 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8954
89552013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8956
8957 * loadup.el: Just use unversioned DOC.
8958
8959 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8960 literals as extending to EOB.
8961 (nxml-last-fontify-end): Remove unused variable.
8962 (nxml-after-change1): Use with-silent-modifications.
8963 (nxml-extend-after-change-region): Simplify.
8964 (nxml-extend-after-change-region1): Remove function.
8965 (nxml-after-change1): Don't adjust for dependent regions.
8966 (nxml-fontify-matcher): Simplify.
8967 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8968 (xmltok-add-dependent): Remove function.
8969 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8970 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8971 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8972 unclosed <[[, <?, comment, and other literals as extending to EOB.
8973 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8974 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8975 Remove functions.
8976 (rng-do-some-validation-1): Don't mark dependent regions.
8977 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8978 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8979 (nxml-clear-dependent-regions): Remove functions.
8980 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8981 (nxml-ensure-scan-up-to-date):
8982 Don't clear&mark dependent regions.
8983
89842013-05-15 Leo Liu <sdl.web@gmail.com>
8985
8986 * progmodes/octave.el (octave-goto-function-definition):
8987 Improve and fix callers.
8988
89892013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8990
8991 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8992 the setter (bug#14387).
8993
8994 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8995 surrounding group (bug#14402).
8996
89972013-05-14 Juri Linkov <juri@jurta.org>
8998
8999 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9000 (Bug#14390)
9001
90022013-05-14 Glenn Morris <rgm@gnu.org>
9003
9004 * progmodes/f90.el (f90-imenu-generic-expression):
9005 Fix typo in 2013-05-08 change. (Bug#14402)
9006
90072013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9008
9009 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9010 Remove signals for which replies are never received.
9011
90122013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9013
9014 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9015 (gdb-handler-alist, gdb-handler-number): Remove variables.
9016 (gdb-handler-list): New variable.
9017 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9018 (gdb-pending-handler-p, gdb-handle-reply)
9019 (gdb-remove-all-pending-triggers): New functions.
9020 (gdb-discard-unordered-replies): New defcustom.
9021 (gdb-handler): New defstruct.
9022 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9023 instead of gdb-pending-triggers. Update docstring.
9024 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9025 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9026 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9027 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9028 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9029 (gdb-frame-handler): Pending triggers are now automatically managed.
9030 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9031 Remove argument.
9032 (gdb-input): Automatically handles pending triggers. Update docstring.
9033 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9034 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9035 Update comments.
9036 (gdb-done-or-error): Now use gdb-handle-reply.
9037
90382013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9039
9040 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9041 gdb-debug-log.
9042
90432013-05-14 Glenn Morris <rgm@gnu.org>
9044
9045 * subr.el (user-emacs-directory-warning): New option.
9046 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9047
90482013-05-14 Leo Liu <sdl.web@gmail.com>
9049
9050 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9051 during redisplay.
9052 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9053 (octave-font-lock-texinfo-comment): Fix invalid search bound
9054 error: wrong side of point.
9055
90562013-05-14 Glenn Morris <rgm@gnu.org>
9057
9058 * progmodes/flymake.el (flymake-xml-program): New option.
9059 (flymake-xml-init): Use it.
9060
9061 * term/xterm.el: Provide a feature.
9062
9063 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9064
90652013-05-13 Glenn Morris <rgm@gnu.org>
9066
9067 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9068 Add compat aliases as a hack workaround. (Bug#14384)
9069
90702013-05-13 Leo Liu <sdl.web@gmail.com>
9071
9072 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9073 ###, and %!.
9074 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9075 C-M-q.
9076 (octave-comment-start-skip): Include %!.
9077 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9078
90792013-05-12 Leo Liu <sdl.web@gmail.com>
9080
9081 * progmodes/octave.el (inferior-octave-startup): Store the value
9082 of __octave_srcdir__ for octave-source-directories.
9083 (inferior-octave-check-process): New function refactored out of
9084 inferior-octave-send-list-and-digest.
9085 (octave-source-directories)
9086 (octave-find-definition-filename-function): New variables.
9087 (octave-source-directories)
9088 (octave-find-definition-default-filename): New functions.
9089 (octave-find-definition): Improve to find functions implemented in C++.
9090
90912013-05-12 Glenn Morris <rgm@gnu.org>
9092
9093 * calendar/diary-lib.el (diary-outlook-format-1):
9094 Don't include dayname in the output. (Bug#14349)
9095
90962013-05-11 Glenn Morris <rgm@gnu.org>
9097
9098 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9099
9100 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9101 Treat cc-provide like provide.
9102
91032013-05-11 Kevin Ryde <user42@zip.com.au>
9104
9105 * cus-dep.el (custom-make-dependencies):
9106 Use generated-autoload-load-name for the sake of files such
9107 such cedet/semantic/bovine/c.el, where the base file name
9108 is not in load-path. (Bug#5277)
9109
91102013-05-11 Glenn Morris <rgm@gnu.org>
9111
9112 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9113 Provide features.
9114
91152013-05-11 Leo Liu <sdl.web@gmail.com>
9116
9117 * progmodes/octave.el (octave-indent-comment): Improve.
9118 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9119 (octave-eldoc-function-signatures, octave-eldoc-function):
9120 New functions.
9121 (octave-mode, inferior-octave-mode): Add eldoc support.
9122
91232013-05-11 Richard Stallman <rms@gnu.org>
9124
9125 * epa.el (epa-decrypt-file): Take output file name as argument
9126 and read it using `interactive'.
9127
91282013-05-11 Leo Liu <sdl.web@gmail.com>
9129
9130 * progmodes/octave.el (octave-beginning-of-line)
9131 (octave-end-of-line): Check before using up-list because it jumps
9132 out of more syntactic contructs since moving to smie.
9133 (octave-indent-comment): New function.
9134 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9135 (octave-begin-keywords, octave-end-keywords)
9136 (octave-reserved-words, octave-smie-bnf-table)
9137 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9138
91392013-05-11 Glenn Morris <rgm@gnu.org>
9140
9141 * faces.el (internal-face-x-get-resource):
9142 * frame.el (ns-display-monitor-attributes-list):
9143 * calc/calc-aent.el (math-to-radians-2):
9144 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9145 Fix declarations.
9146
9147 * calc/calc-menu.el: Make it loadable in isolation.
9148
9149 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9150 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9151 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9152 (eudc-bbdb-query-internal): Require 'bbdb.
9153
9154 * lpr.el (lpr-headers-switches):
9155 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9156
9157 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9158
9159 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9160
9161 * term.el (term-set-escape-char): Make it idempotent.
9162
91632013-05-10 Leo Liu <sdl.web@gmail.com>
9164
9165 * progmodes/octave.el (inferior-octave-completion-table):
9166 No longer a function and all uses changed. Use cache to speed up
9167 completion due to bug#11906.
9168 (octave-beginning-of-defun): Re-write to be more general.
9169
91702013-05-10 Glenn Morris <rgm@gnu.org>
9171
9172 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9173
91742013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9175
9176 * comint.el (comint-redirect-send-command-to-process): Use :around
9177 rather than :override for comint-redirect-filter.
9178 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9179 Call it instead of comint-redirect-original-filter-function (which
9180 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9181
91822013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9183
9184 * frame.el (display-monitor-attributes-list): Add NS case.
9185 (ns-display-monitor-attributes-list): Declare.
9186
91872013-05-09 Ulrich Mueller <ulm@gentoo.org>
9188
9189 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9190
91912013-05-09 Glenn Morris <rgm@gnu.org>
9192
9193 * international/fontset.el (vertical-centering-font-regexp):
9194 Set standard-value.
9195
9196 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9197
9198 * bookmark.el (bookmark-search-delay):
9199 * cus-start.el (vertical-centering-font-regexp):
9200 * ps-mule.el (ps-mule-font-info-database-default):
9201 * ps-print.el (ps-default-fg, ps-default-bg):
9202 * type-break.el (type-break-good-break-interval):
9203 * whitespace.el (whitespace-indentation-regexp)
9204 (whitespace-space-after-tab-regexp):
9205 * emacs-lisp/testcover.el (testcover-1value-functions)
9206 (testcover-noreturn-functions, testcover-progn-functions)
9207 (testcover-prog1-functions):
9208 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9209 * eshell/em-glob.el (eshell-glob-translate-alist):
9210 * play/tetris.el (tetris-tty-colors):
9211 * progmodes/cpp.el (cpp-face-default-list):
9212 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9213 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9214 (idlwave-help-browser-generic-args):
9215 * progmodes/make-mode.el (makefile-special-targets-list):
9216 * progmodes/python.el (python-shell-virtualenv-path):
9217 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9218 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9219 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9220 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9221 * textmodes/reftex-vars.el (reftex-format-label-function):
9222 * textmodes/remember.el (remember-diary-file): Fix custom types.
9223
9224 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9225 Add :version.
9226
92272013-05-09 Leo Liu <sdl.web@gmail.com>
9228
9229 * progmodes/octave.el (inferior-octave-completion-at-point):
9230 Restore file completion. (Bug#14300)
9231 (inferior-octave-startup): Fix incorrect highlighting for the
9232 first prompt.
9233
92342013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9235
9236 * progmodes/ruby-mode.el: First cut at SMIE support.
9237 (ruby-use-smie): New var.
9238 (ruby-smie-grammar): New constant.
9239 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9240 (ruby-smie--forward-token, ruby-smie--backward-token)
9241 (ruby-smie-rules): New functions.
9242 (ruby-mode-variables): Setup SMIE if applicable.
9243
92442013-05-08 Eli Zaretskii <eliz@gnu.org>
9245
9246 * simple.el (line-move-visual): Signal beginning/end of buffer
9247 only if vertical-motion moved less than it was requested. Avoids
9248 silly incorrect error messages when there are display strings with
9249 multiple newlines at EOL.
9250
92512013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9252
9253 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9254 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9255 (prolog-char-quote-workaround):
9256 * progmodes/cperl-mode.el (cperl-under-as-char):
9257 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9258 Mark as obsolete.
9259 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9260 their declaration.
9261 (vhdl-mode-syntax-table-init): Remove.
9262
9263 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9264 last change.
9265
9266 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9267 syntax for "_".
9268 (ld-script-font-lock-keywords):
9269 Change regexps to use things like \_< and \_>.
9270
9271 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9272 Change all regexps to use things like \_< and \_>.
9273
9274 * progmodes/autoconf.el (autoconf-definition-regexp)
9275 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9276 Handle a _ with symbol syntax.
9277 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9278
9279 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9280 Consolidate declaration.
9281 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9282 the declaration.
9283 (ada-create-syntax-table): Remove.
9284 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9285 already has the right syntax nowadays.
9286 (ada-goto-next-word): Don't change the syntax of "_".
9287
9288 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9289 with-wrapper-hook.
9290
92912013-05-08 Sam Steingold <sds@gnu.org>
9292
9293 * thingatpt.el (thing-at-point): Accept optional second argument
9294 NO-PROPERTIES to strip the text properties from the return value.
9295 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9296 to `thing-at-point' instead of stripping the properties ourselves.
9297 Also, when `thing-at-point' fails to find a url, prepend "http://"
9298 to the filename at point on the assumption that the user is
9299 pointing at something like gnu.org/gnu.
9300
93012013-05-08 Juanma Barranquero <lekktu@gmail.com>
9302
9303 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9304 * faces.el (crm-separator):
9305 Silence byte-compiler.
9306
9307 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9308 (tool-bar-map): Remove unneeded defvars.
9309
93102013-05-08 Leo Liu <sdl.web@gmail.com>
9311
9312 Re-work a fix for bug#10994 based on Le Wang's patch.
9313 * ido.el (ido-remove-consecutive-dups): New helper.
9314 (ido-completing-read): Use it.
9315 (ido-chop): Revert fix for bug#10994.
9316
93172013-05-08 Adam Spiers <emacs@adamspiers.org>
9318
9319 * cus-edit.el (custom-save-variables):
9320 Pretty-print long values. (Bug#14187)
9321
93222013-05-08 Glenn Morris <rgm@gnu.org>
9323
9324 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9325 (m4-mode-syntax-table): Init in the defvar.
9326 (m4-mode-abbrev-table): Let define-derived-mode define it.
9327
93282013-05-08 Tom Tromey <tromey@redhat.com>
9329
9330 * progmodes/m4-mode.el (m4-mode-syntax-table):
9331 Do not treat "_" as word constituent. (Bug#14167)
9332
93332013-05-07 Glenn Morris <rgm@gnu.org>
9334
9335 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9336 Remove explicit eshell-isearch-cancel-map.
9337
9338 * progmodes/f90.el (f90-smart-end-names): New option.
9339 (f90-smart-end): Doc fix.
9340 (f90-end-block-optional-name): New constant.
9341 (f90-block-match): Respect f90-smart-end-names.
9342
93432013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9344
9345 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9346 about implicit semi-colons (bug#14218).
9347
93482013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9349
9350 * frame.el (display-monitor-attributes-list)
9351 (frame-monitor-attributes): New functions.
9352
93532013-05-06 Leo Liu <sdl.web@gmail.com>
9354
9355 * progmodes/octave.el (octave-syntax-propertize-function): Change
9356 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9357 (octave-font-lock-keywords): Use octave-operator-regexp.
9358 (octave-completion-at-point): Rename from
9359 octave-completion-at-point-function.
9360 (inferior-octave-directory-tracker): Robustify.
9361 (octave-text-functions): Remove and fix its uses. No such things
9362 any more.
9363
93642013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9365
9366 * emacs-lisp/trace.el (trace--display-buffer): New function.
9367 (trace-make-advice): Use it.
9368
93692013-05-06 Juri Linkov <juri@jurta.org>
9370
9371 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9372 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9373 Doc fix.
9374 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9375 in the help string. (Bug#12985)
9376
93772013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9378
9379 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9380
93812013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9382
9383 * progmodes/perl-mode.el: Add support for here documents.
9384 (perl-syntax-propertize-function): Match here-doc markers.
9385 (perl-syntax-propertize-special-constructs): Find their end.
9386 (perl-imenu-generic-expression): Use [:alnum:].
9387
9388 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9389 (advice--add-function): Refresh the advice if already present
9390 (bug#14317).
9391
93922013-05-06 Ivan Andrus <darthandrus@gmail.com>
9393
9394 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9395
93962013-05-06 Glenn Morris <rgm@gnu.org>
9397
9398 * w32-fns.el (w32-charset-info-alist): Declare.
9399
9400 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9401 of its defcustom properties.
9402 (eshell-cmpl-initialize): No need to load pcomplete.
9403
9404 * generic-x.el: No need to require comint when compiling.
9405
9406 * net/eudc-export.el: Make it loadable without bbdb.
9407 (top-level): Use require rather than load-library.
9408 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9409 (eudc-batch-export-records-to-bbdb)
9410 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9411 Require bbdb.
9412
94132013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9414
9415 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9416 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9417 some tweaks, instead.
9418
94192013-05-05 Leo Liu <sdl.web@gmail.com>
9420
9421 * progmodes/octave.el (octave-font-lock-keywords)
9422 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9423 (inferior-octave-send-list-and-digest): Improve error message.
9424 (octave-mode, inferior-octave-mode): Use setq-local.
9425 (octave-help): Set info-lookup-mode.
9426
94272013-05-05 Richard Stallman <rms@gnu.org>
9428
9429 * vc/compare-w.el (compare-windows-whitespace):
9430 Treat no-break space as whitespace.
9431
9432 * mail/rmailsum.el (rmail-summary-rmail-update):
9433 Detect empty summary and don't change selected message.
9434 (rmail-summary-goto-msg): Likewise.
9435
9436 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9437 Doc fixes, rename args.
9438
94392013-05-05 Alan Mackenzie <acm@muc.de>
9440
9441 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9442
94432013-05-05 Juri Linkov <juri@jurta.org>
9444
9445 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9446 to not add the length of the summary segment to the return value.
9447 (Bug#14125)
9448
94492013-05-05 Leo Liu <sdl.web@gmail.com>
9450
9451 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9452 (inferior-octave-output-filter): Remove.
9453 (octave-send-region, inferior-octave-startup): Fix callers.
9454 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9455 (octave-binary-file-extensions): New user variable.
9456 (octave-find-definition): Confirm if opening binary files.
9457 (octave-help-file): Use octave-find-definition to get the binary
9458 confirmation.
9459 (octave-help): Adjust for octave-help-file change.
9460
94612013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9462
9463 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9464 Merge the two entries that handle function definitions.
9465 (pascal--syntax-propertize): New const.
9466 (pascal-mode): Use it. Use setq-local.
9467
94682013-05-04 Glenn Morris <rgm@gnu.org>
9469
9470 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9471 (diary-from-outlook): Respect diary-from-outlook-function.
9472
94732013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9474
9475 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9476 Move the declaration from C.
9477 (read-minibuffer, eval-minibuffer): Move from C.
9478 (completion-setup-function): Avoid minibuffer-completion-contents.
9479
94802013-05-03 Leo Liu <sdl.web@gmail.com>
9481
9482 * progmodes/octave.el (octave-font-lock-keywords): Do not
9483 dehighlight 'end' in comments or strings.
9484 (octave-completing-read, octave-goto-function-definition):
9485 New helpers.
9486 (octave-help-buffer): New user variable.
9487 (octave-help-file, octave-help-function): New button types.
9488 (octave-help): New command and bind it to C-h ;.
9489 (octave-find-definition): New command and bind it to M-.
9490 (user-error): Alias to error if not defined.
9491
94922013-05-02 Leo Liu <sdl.web@gmail.com>
9493
9494 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9495 for \. (bug#14332)
9496 (octave-font-lock-keywords): Include [ and {.
9497
94982013-05-02 Leo Liu <sdl.web@gmail.com>
9499
9500 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9501 (inferior-octave): Remove calling comint-mode and return the buffer.
9502 (inferior-octave-startup): Cosmetic changes.
9503
95042013-05-02 Leo Liu <sdl.web@gmail.com>
9505
9506 * progmodes/octave.el (octave-syntax-propertize-function):
9507 Include the case when ' is at line beginning. (Bug#14336)
9508
95092013-05-02 Glenn Morris <rgm@gnu.org>
9510
9511 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9512 * desktop.el (vc-dir-mode): Just autoload it here.
9513
95142013-05-02 Alan Mackenzie <acm@muc.de>
9515
9516 Eliminate variable c-standard-font-lock-fontify-region-function.
9517 * progmodes/cc-mode.el
9518 (c-standard-font-lock-fontify-region-function): Remove.
9519 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9520
95212013-05-01 Leo Liu <sdl.web@gmail.com>
9522
9523 * progmodes/octave.el: Compatible with older emacs-24 releases.
9524 (inferior-octave-has-built-in-variables): Remove. Built-in
9525 variables were removed from Octave in 2007.
9526 (inferior-octave-startup): Fix uses.
9527 (comint-line-beginning-position): Remove compatibility code for
9528 emacs 21.
9529
95302013-05-01 Juri Linkov <juri@jurta.org>
9531
9532 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9533
95342013-05-01 Juri Linkov <juri@jurta.org>
9535
9536 * comint.el (comint-previous-matching-input): Don't print message
9537 "History item: %d" when `isearch-mode' is active.
9538 (comint-history-isearch-message): Print message "History item: %d"
9539 when `comint-input-ring-index' is not empty and this function is
9540 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9541
95422013-05-01 Leo Liu <sdl.web@gmail.com>
9543
9544 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9545 definitions. Use completion-at-point to insert keywords.
9546 (octave-abbrev-start): Remove.
9547 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9548
95492013-04-30 Leo Liu <sdl.web@gmail.com>
9550
9551 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9552 change.
9553
95542013-04-30 Alan Mackenzie <acm@muc.de>
9555
9556 Handle arbitrarily long C++ member initialisation lists.
9557 * progmodes/cc-engine.el (c-back-over-member-initializers):
9558 new function.
9559 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9560 (most) member init lists.
9561
95622013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9563
9564 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9565 variable.
9566
95672013-04-30 Leo Liu <sdl.web@gmail.com>
9568
9569 * progmodes/octave.el (octave-variables): Remove. No builtin
9570 variables any more. All converted to functions.
9571 (octave-font-lock-keywords, octave-completion-at-point-function):
9572 Fix uses.
9573 (octave-font-lock-texinfo-comment): New user variable.
9574 (octave-texinfo-font-lock-keywords): New variable for texinfo
9575 comment block.
9576 (octave-function-comment-block): New face.
9577 (octave-font-lock-texinfo-comment): New function.
9578 (octave-mode): Font lock texinfo comment block.
9579
95802013-04-29 Leo Liu <sdl.web@gmail.com>
9581
9582 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9583 indexing expression.
9584 (octave-continuation-string): Do not use \.
9585 (inferior-octave-complete-impossible): Remove.
9586 (inferior-octave-completion-table)
9587 (inferior-octave-completion-at-point): Remove its uses.
9588 (inferior-octave-startup): completion_matches was introduced to
9589 Octave in 1996 so safe to assume it.
9590 (octave-function-file-comment): Improve to follow how Octave does it.
9591 (octave-update-function-file-comment): Tweak.
9592
95932013-04-29 Leo Liu <sdl.web@gmail.com>
9594
9595 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9596 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9597 (octave-function-file-comment): Fix typo.
9598 (octave-sync-function-file-names): Use read-char-choice.
9599
96002013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9601
9602 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9603 to t for the less important warnings.
9604
96052013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9606
9607 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9608
96092013-04-27 Glenn Morris <rgm@gnu.org>
9610
9611 * vc/log-view.el (log-view-current-entry):
9612 Treat "---" separator lines as part of the following rev. (Bug#14169)
9613
96142013-04-27 Juri Linkov <juri@jurta.org>
9615
9616 * subr.el (read-number): Doc fix about using it by interactive
9617 code letter `n'. (Bug#14254)
9618
96192013-04-27 Juri Linkov <juri@jurta.org>
9620
9621 * desktop.el (desktop-auto-save-timeout): New option.
9622 (desktop-file-checksum): New variable.
9623 (desktop-save): Add optional arg `auto-save' and don't auto-save
9624 if nothing changed.
9625 (desktop-auto-save-timer): New variable.
9626 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9627 (after-init-hook): Call `desktop-auto-save-set-timer'.
9628 Suggested by Reuben Thomas <rrt@sc3d.org> in
9629 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9630
96312013-04-27 Leo Liu <sdl.web@gmail.com>
9632
9633 * progmodes/octave.el (octave-function-file-p)
9634 (octave-skip-comment-forward, octave-function-file-comment)
9635 (octave-update-function-file-comment): New functions.
9636 (octave-mode-map): Bind C-c ; to
9637 octave-update-function-file-comment.
9638 (octave-mode-menu): Add octave-update-function-file-comment.
9639 (octave-mode, inferior-octave-mode): Fix doc-string.
9640 (octave-insert-defun): Conform to Octave's coding convention.
9641 (Bug#14285)
9642
9643 * files.el (basic-save-buffer): Don't let errors in
9644 before-save-hook prevent saving buffer.
9645
96462013-04-20 Roland Winkler <winkler@gnu.org>
9647
9648 * faces.el (read-face-name): Use completing-read if arg multiple
9649 is nil.
9650
96512013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9652
9653 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9654 displayed, move point to after the totals line.
9655 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9656 for the details.
9657
96582013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9659
9660 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9661 Add current dir to the load-path.
9662 (package-generate-autoloads): Don't rely on
9663 autoload-ensure-default-file.
9664
96652013-04-26 Reuben Thomas <rrt@sc3d.org>
9666
9667 * textmodes/remember.el (remember-store-in-files): Document that
9668 the file name format is passed to `format-time-string'.
9669
96702013-04-26 Leo Liu <sdl.web@gmail.com>
9671
9672 * progmodes/octave.el (octave-sync-function-file-names): New function.
9673 (octave-mode): Use it in before-save-hook.
9674
96752013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9676
9677 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9678 (bug#14274).
9679
9680 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9681 \n and comment, even if it's not an implicit ; (bug#14218).
9682
96832013-04-26 Glenn Morris <rgm@gnu.org>
9684
9685 * subr.el (read-number): Once more use `read' rather than
9686 `string-to-number', to trap non-numeric input. (Bug#14254)
9687
96882013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9689
9690 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9691 Use `syntax-multiline' text property consistently instead of
9692 `font-lock-multiline'. (Bug#14237)
9693
96942013-04-26 Glenn Morris <rgm@gnu.org>
9695
9696 * emacs-lisp/shadow.el (list-load-path-shadows):
9697 No longer necessary to check for duplicate simple.el, since
9698 2012-07-07 change to init_lread to not include installation lisp
9699 directories in load-path when running uninstalled. (Bug#14270)
9700
97012013-04-26 Leo Liu <sdl.web@gmail.com>
9702
9703 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9704 (octave-mode, inferior-octave-mode): Use setq-local.
9705 (octave-not-in-string-or-comment-p): Rename to
9706 octave-in-string-or-comment-p.
9707 (octave-in-comment-p, octave-in-string-p)
9708 (octave-in-string-or-comment-p): Replace defsubst with defun.
9709
97102013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9711
9712 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9713
97142013-04-25 Bastien Guerry <bzg@gnu.org>
9715
9716 * textmodes/remember.el (remember-data-directory)
9717 (remember-directory-file-name-format): Fix custom types.
9718
97192013-04-25 Leo Liu <sdl.web@gmail.com>
9720
9721 * progmodes/octave.el (octave-completion-at-point-function):
9722 Make use of inferior octave process.
9723 (octave-initialize-completions): Remove.
9724 (inferior-octave-completion-table): New function.
9725 (inferior-octave-completion-at-point): Use it.
9726 (octave-completion-alist): Remove.
9727
97282013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9729
9730 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9731 (opascal-mode-syntax-table): New var.
9732 (opascal-literal-kind, opascal-is-literal-end)
9733 (opascal-literal-token-at): Rewrite.
9734 (opascal--literal-start-re, opascal-font-lock-keywords)
9735 (opascal--syntax-propertize): New constants.
9736 (opascal-font-lock-defaults): Adjust.
9737 (opascal-mode): Use them. Set comment-<foo> variables as well.
9738 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9739 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9740 (delphi-other-face, opascal-other-face): Remove face variables.
9741 (opascal-save-state): Remove macro.
9742 (opascal-fontifying-progress-step): Remove constant.
9743 (opascal--ignore-changes): Remove var.
9744 (opascal-set-token-property, opascal-parse-next-literal)
9745 (opascal-is-stable-literal, opascal-complete-literal)
9746 (opascal-is-literal-start, opascal-face-of)
9747 (opascal-parse-region, opascal-parse-region-until-stable)
9748 (opascal-fontify-region, opascal-after-change)
9749 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9750 (opascal-debug-parse-region, opascal-debug-parse-window)
9751 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9752 (opascal-debug-fontify-buffer): Remove.
9753 (opascal-debug-mode-map): Adjust accordingly.
9754
97552013-04-25 Leo Liu <sdl.web@gmail.com>
9756
9757 Merge octave-mod.el and octave-inf.el into octave.el with some
9758 cleanups.
9759 * progmodes/octave.el: New file renamed from octave-mod.el.
9760 * progmodes/octave-inf.el: Merged into octave.el.
9761 * progmodes/octave-mod.el: Renamed to octave.el.
9762
97632013-04-25 Tassilo Horn <tsdh@gnu.org>
9764
9765 * textmodes/reftex-vars.el
9766 (reftex-label-ignored-macros-and-environments): New defcustom.
9767
9768 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9769
97702013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9771
9772 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9773 (smie-indent-keyword): Improve the check to ensure that the next
9774 comment is really on the same line.
9775 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9776
9777 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9778 semi-colons if the line is not otherwise empty (bug#14218).
9779
97802013-04-25 Glenn Morris <rgm@gnu.org>
9781
9782 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9783
97842013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9785
9786 * progmodes/opascal.el (opascal-set-token-property): Rename from
9787 opascal-set-text-properties and only set `token' (bug#14134).
9788 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9789 (opascal-literal-text-properties): Remove.
9790 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9791 Adjust callers.
9792
97932013-04-24 Reuben Thomas <rrt@sc3d.org>
9794
9795 * textmodes/remember.el (remember-handler-functions): Add an
9796 option for a new handler `remember-store-in-files'.
9797 (remember-data-directory, remember-directory-file-name-format):
9798 New options.
9799 (remember-store-in-files): New function to store remember notes
9800 as separate files within a directory.
9801
98022013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9803
9804 * progmodes/compile.el (compilation-next-error-function):
9805 Pass "formats" to compilation-find-file (bug#11777).
9806
98072013-04-24 Glenn Morris <rgm@gnu.org>
9808
9809 * vc/vc-bzr.el (vc-bzr-print-log):
9810 * vc/vc-hg.el (vc-hg-print-log):
9811 * vc/vc-svn.el (vc-svn-print-log):
9812 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9813
9814 * vc/vc-bzr.el (vc-bzr-print-log):
9815 * vc/vc-cvs.el (vc-cvs-print-log):
9816 * vc/vc-git.el (vc-git-print-log):
9817 * vc/vc-hg.el (vc-hg-print-log):
9818 * vc/vc-mtn.el (vc-mtn-print-log):
9819 * vc/vc-rcs.el (vc-rcs-print-log):
9820 * vc/vc-sccs.el (vc-sccs-print-log):
9821 * vc/vc-svn.el (vc-svn-print-log):
9822 * vc/vc.el (vc-print-log-internal): Doc fixes.
9823
98242013-04-23 Glenn Morris <rgm@gnu.org>
9825
9826 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9827 Remove venerable code attempting to avoid substitute-command-keys.
9828
98292013-04-23 Tassilo Horn <tsdh@gnu.org>
9830
9831 * textmodes/reftex-vars.el (reftex-label-regexps):
9832 Call `reftex-compile-variables' after changes to this variable.
9833
98342013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9835
9836 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9837 Use lexical-binding.
9838 (jit-lock-force-redisplay): Use markers, check buffer's continued
9839 existence and beware narrowed buffers.
9840 (jit-lock-fontify-now): Adjust call accordingly.
9841
98422013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9843
9844 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9845 to avoid misleading the user.
9846
98472013-04-22 Leo Liu <sdl.web@gmail.com>
9848
9849 * info-look.el: Prefer latex2e.info. (Bug#14240)
9850
98512013-04-22 Michael Albinus <michael.albinus@gmx.de>
9852
9853 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9854
9855 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9856 * net/tramp.el (tramp-call-process): ... here.
9857 (tramp-set-completion-function, tramp-parse-putty):
9858 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9859 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9860 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9861 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9862 (tramp-call-local-coding-command): Use `tramp-call-process'
9863 instead of `tramp-compat-call-process'.
9864
9865 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9866 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9867 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9868 (tramp-find-inline-compress): Improve traces.
9869 (tramp-maybe-send-script): Check for Perl binary.
9870 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9871
98722013-04-22 Daiki Ueno <ueno@gnu.org>
9873
9874 * epg.el (epg-context-pinentry-mode): New function.
9875 (epg-context-set-pinentry-mode): New function.
9876 (epg--start): Pass --pinentry-mode option to gpg command.
9877
98782013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9879
9880 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9881 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9882 `completion-at-point'. (Bug#13774)
9883
9884 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9885 default key binding for `describe-distribution' has been moved to
9886 `C-h C-o'. (Bug#13970)
9887
98882013-04-21 Glenn Morris <rgm@gnu.org>
9889
9890 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9891 Add doc strings.
9892 (vc-print-log): Clarify interactive prompt.
9893
98942013-04-20 Glenn Morris <rgm@gnu.org>
9895
9896 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9897 No longer include timestamp etc information.
9898
98992013-04-20 Roland Winkler <winkler@gnu.org>
9900
9901 * faces.el (read-face-name): Bug fix, return just one face if arg
9902 multiple is nil. (Bug#14209)
9903
99042013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9905
9906 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9907 (remove-function): Autoload.
9908
9909 * comint.el (comint-redirect-original-filter-function): Remove.
9910 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9911 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9912 (vc-cvs-annotate-command):
9913 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9914 * progmodes/prolog.el (prolog-consult-compile):
9915 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9916 Use add/remove-function instead.
9917 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9918 (gud-tooltip-process-output, gud-tooltip-tips):
9919 Use add/remove-function instead.
9920 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9921 (scheme-interaction-mode, exit-scheme-interaction-mode):
9922 Use add/remove-function instead.
9923
9924 * vc/vc-dispatcher.el: Use lexical-binding.
9925 (vc--process-sentinel): Rename from vc-process-sentinel.
9926 Change last arg to be the code to run. Don't use vc-previous-sentinel
9927 and vc-sentinel-commands any more.
9928 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9929 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9930
99312013-04-19 Masatake YAMATO <yamato@redhat.com>
9932
9933 * progmodes/sh-script.el (sh-imenu-generic-expression):
9934 Handle function names with a single character. (Bug#14111)
9935
99362013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9937
9938 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9939 for subroutines defined in an eval (bug#14182).
9940
99412013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9942
9943 * bookmark.el (bookmark-completing-read): Improve handling of empty
9944 string (bug#14176).
9945
99462013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9947
9948 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9949
99502013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9951
9952 New faster Imenu implementation (bug#14058).
9953 * progmodes/python.el:
9954 (python-imenu-prev-index-position):
9955 (python-imenu-format-item-label-function)
9956 (python-imenu-format-parent-item-label-function)
9957 (python-imenu-format-parent-item-jump-label-function):
9958 New vars.
9959 (python-imenu-format-item-label)
9960 (python-imenu-format-parent-item-label)
9961 (python-imenu-format-parent-item-jump-label)
9962 (python-imenu--put-parent, python-imenu--build-tree)
9963 (python-imenu-create-index, python-imenu-create-flat-index)
9964 (python-util-popn): New functions.
9965 (python-mode): Set imenu-create-index-function to
9966 python-imenu-create-index.
9967
99682013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9969
9970 * winner.el (winner-active-region): Use region-active-p, activate-mark
9971 and deactivate-mark (bug#14225).
9972
9973 * simple.el (deactivate-mark): Don't inline it.
9974
99752013-04-18 Michael Albinus <michael.albinus@gmx.de>
9976
9977 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9978
99792013-04-18 Tassilo Horn <tsdh@gnu.org>
9980
9981 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9982 file extensions from the archive-mode entry in order to prefer
9983 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9984
99852013-04-18 Leo Liu <sdl.web@gmail.com>
9986
9987 * bindings.el (help-event-list): Add ?\?.
9988
99892013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9990
9991 * subr.el (with-wrapper-hook): Declare obsolete.
9992 * simple.el (filter-buffer-substring-function): New hook.
9993 (filter-buffer-substring): Use it.
9994 (filter-buffer-substring-functions): Mark obsolete.
9995 * minibuffer.el (completion-in-region-function): New hook.
9996 (completion-in-region): Use it.
9997 (completion-in-region-functions): Mark obsolete.
9998 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9999 * abbrev.el (abbrev-expand-function): New hook.
10000 (expand-abbrev): Use it.
10001 (abbrev-expand-functions): Mark obsolete.
10002 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10003 and :filter-return.
10004
100052013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10006
10007 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10008 and do not care about match data.
10009
100102013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10011
10012 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10013 completion tables when completing error conditions and
10014 `declare' arguments.
10015 (lisp-complete-symbol, field-complete): Mark as obsolete.
10016 (check-parens): Unmatched parens are user errors.
10017 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10018
100192013-04-17 Michal Nazarewicz <mina86@mina86.com>
10020
10021 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10022 command changed buffer (ie. `flyspell-pre-buffer' is not current
10023 buffer), which prevents making decisions based on invalid value of
10024 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10025 cause an error when `flyspell-pre-point' was nil after switching
10026 buffers.
10027 (flyspell-post-command-hook): No longer needs to change buffers when
10028 checking pre-word. While at it remove unnecessary progn.
10029
100302013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10031
10032 * textmodes/ispell.el (ispell-add-per-file-word-list):
10033 Fix `flyspell-correct-word-before-point' error when accepting
10034 words and `coment-padding' is an integer by using
10035 `comment-normalize-vars' (Bug #14214).
10036
100372013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10038
10039 New defun movement commands.
10040 * progmodes/python.el (python-nav--syntactically)
10041 (python-nav--forward-defun, python-nav-backward-defun)
10042 (python-nav-forward-defun): New functions.
10043
100442013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10045
10046 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10047 (python-syntax-context): Use named compiler-macro for backwards
10048 compatibility with Emacs 24.x.
10049
100502013-04-17 Leo Liu <sdl.web@gmail.com>
10051
10052 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10053 octave-hide-process-buffer.
10054
100552013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10056
10057 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10058 (bug#14216).
10059
100602013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10061
10062 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10063 Fix adjustment of offset when receiving incomplete responses from GDB
10064 (bug#14129).
10065
100662013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10067
10068 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10069 python-mode-abbrev-table.
10070 (python-skeleton-define): Adjust accordingly.
10071 (python-mode-abbrev-table): New table that inherits from it so that
10072 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10073
10074 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10075 (abbrev-symbol): Use it.
10076 (abbrev--before-point): Use it since we already handle inheritance.
10077
100782013-04-16 Leo Liu <sdl.web@gmail.com>
10079
10080 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10081 binding to info-lookup-symbol.
10082
100832013-04-16 Juanma Barranquero <lekktu@gmail.com>
10084
10085 * minibuffer.el (completion--twq-all):
10086 * term/ns-win.el (ns-initialize-window-system):
10087 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10088
100892013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10090
10091 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10092 global bindings.
10093
10094 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10095
100962013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10097
10098 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10099 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10100 to nil.
10101 (ruby-end-of-defun): Remove the unused arg, change the docstring
10102 to reflect that this function is only used as the value of
10103 `end-of-defun-function'.
10104 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10105 to reflect an earlier change that beginning/end-of-defun functions
10106 jump between methods in a class definition, as well as top-level
10107 functions.
10108
101092013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10110
10111 * minibuffer.el (minibuffer-complete): Don't just scroll
10112 a *Completions* that's been iconified.
10113 (minibuffer-force-complete): Make sure repetitions do cycle when going
10114 through completion-in-region -> minibuffer-complete.
10115
101162013-04-15 Alan Mackenzie <acm@muc.de>
10117
10118 Correct the placement of c-cpp-delimiters when there're #s not at
10119 col 0.
10120
10121 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10122 place a submatch around the #.
10123 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10124 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10125 on the #, not BOL.
10126
101272013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10128
10129 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10130 (advice--member-p): New arg `name'.
10131 (advice--add-function, advice-member-p): Use it (bug#14202).
10132
101332013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10134
10135 Reformulate java imenu-generic-expression.
10136 The old expression contained ill formed regexps.
10137
10138 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10139 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10140 (cc-imenu-java-method-arg-regexp): New defconsts.
10141 (cc-imenu-java-build-type-args-regex): New defun.
10142 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10143 handling of spaces in the regexp.
10144
101452013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10146
10147 * textmodes/ispell.el (ispell-command-loop): Remove
10148 flyspell highlight of a word when ispell accepts it (bug #14178).
10149
101502013-04-15 Michael Albinus <michael.albinus@gmx.de>
10151
10152 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10153 uses code from the previous `ange-ftp-run-real-handler'.
10154 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10155 only in case that function exist. This is needed for proper
10156 unloading of Tramp.
10157
101582013-04-15 Tassilo Horn <tsdh@gnu.org>
10159
10160 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10161
10162 * textmodes/reftex.el (reftex-compile-variables): Use it.
10163
101642013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10165
10166 * files.el (normal-mode): Only use default major-mode if no other mode
10167 was specified.
10168
10169 * emacs-lisp/trace.el (trace-values): New function.
10170
10171 * files.el: Allow : in local variables (bug#14089).
10172 (hack-local-variable-regexp): New var.
10173 (hack-local-variables-prop-line, hack-local-variables): Use it.
10174
101752013-04-13 Roland Winkler <winkler@gnu.org>
10176
10177 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10178 data before it gets modified by bibtex-beginning-of-entry.
10179
101802013-04-13 Roland Winkler <winkler@gnu.org>
10181
10182 * textmodes/bibtex.el (bibtex-url): Doc fix.
10183
101842013-04-13 Roland Winkler <winkler@gnu.org>
10185
10186 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10187 does not visit a BibTeX file, exclude it from the list of buffers
10188 returned by bibtex-initialize.
10189
101902013-04-13 Stephen Berman <stephen.berman@gmx.net>
10191
10192 * window.el (split-window): Remove interactive form, since as a
10193 command this function is a special case of split-window-below.
10194 Correct doc string.
10195
101962013-04-12 Roland Winkler <winkler@gnu.org>
10197
10198 * faces.el (read-face-name): Do not override value of arg default.
10199 Allow single faces and strings as default values. Remove those
10200 elements from return value that are not faces.
10201 (describe-face): Simplify.
10202 (face-at-point): New optional args thing and multiple so that this
10203 function can provide the same functionality previously provided by
10204 read-face-name.
10205 (make-face-bold, make-face-unbold, make-face-italic)
10206 (make-face-unitalic, make-face-bold-italic, invert-face)
10207 (modify-face, read-face-and-attribute): Use face-at-point.
10208
10209 * cus-edit.el (customize-face, customize-face-other-window)
10210 * cus-theme.el (custom-theme-add-face)
10211 * face-remap.el (buffer-face-set)
10212 * facemenu.el (facemenu-set-face): Use face-at-point.
10213
102142013-04-12 Michael Albinus <michael.albinus@gmx.de>
10215
10216 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10217
102182013-04-10 Tassilo Horn <tsdh@gnu.org>
10219
10220 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10221 off leading { and trailing } from field values.
10222
102232013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10224
10225 * emacs-lisp/timer.el (timer--check): New function.
10226 (timer--time, timer-set-function, timer-event-handler): Use it.
10227 (timer-set-idle-time): Simplify.
10228 (timer--activate): CSE.
10229 (timer-event-handler): Give more info in error message.
10230 (internal-timer-start-idle): New function, moved from C.
10231
10232 * mpc.el (mpc-proc): Add `restart' argument.
10233 (mpc-proc-cmd): Use it.
10234 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10235 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10236 less often.
10237
102382013-04-10 Masatake YAMATO <yamato@redhat.com>
10239
10240 * progmodes/sh-script.el: Implement `sh-mode' own
10241 `add-log-current-defun-function' (bug#14112).
10242 (sh-current-defun-name): New function.
10243 (sh-mode): Use the function.
10244
102452013-04-09 Bastien Guerry <bzg@gnu.org>
10246
10247 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10248
102492013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10250
10251 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10252
10253 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10254 timer (bug#14156).
10255
102562013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10257
10258 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10259 declaration.
10260
102612013-04-07 Leo Liu <sdl.web@gmail.com>
10262
10263 * pcmpl-x.el: New file.
10264
102652013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10266
10267 Do not set x-display-name until X connection is established.
10268 This is needed to prevent from weird situation described at
10269 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10270 * frame.el (make-frame): Set x-display-name after call to
10271 window system initialization function, not before.
10272 * term/x-win.el (x-initialize-window-system): Add optional
10273 display argument and use it.
10274 * term/w32-win.el (w32-initialize-window-system):
10275 * term/ns-win.el (ns-initialize-window-system):
10276 * term/pc-win.el (msdos-initialize-window-system):
10277 Add compatible optional display argument.
10278
102792013-04-06 Eli Zaretskii <eliz@gnu.org>
10280
10281 * files.el (normal-backup-enable-predicate): On MS-Windows and
10282 MS-DOS compare truenames of temporary-file-directory and of the
10283 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10284 don't fail comparison by compare-strings. Also, compare file
10285 names case-insensitively on MS-Windows and MS-DOS.
10286
102872013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10288
10289 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10290 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10291
102922013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10293
10294 * whitespace.el (whitespace-color-on, whitespace-color-off):
10295 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10296
102972013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10298
10299 * ispell.el (ispell-set-spellchecker-params):
10300 Really set `ispell-args' for all equivs.
10301
103022013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10303
10304 * ido.el (ido-completions): Use extra elements of ido-decorations
10305 (bug#14143).
10306 (ido-decorations): Update docstring.
10307
103082013-04-05 Michael Albinus <michael.albinus@gmx.de>
10309
10310 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10311 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10312 nil during initialization, in order not to miss changes since the
10313 file was opened. (Bug#14140)
10314
103152013-04-05 Leo Liu <sdl.web@gmail.com>
10316
10317 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10318
103192013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10320
10321 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10322
103232013-04-04 Glenn Morris <rgm@gnu.org>
10324
10325 * electric.el (electric-pair-inhibit-predicate): Add :version.
10326
103272013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10328
10329 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10330 when a package is required several times (bug#14082).
10331
103322013-04-04 Roland Winkler <winkler@gnu.org>
10333
10334 * faces.el (read-face-name): Behave as promised by the docstring.
10335 Assume that arg default is a list of faces.
10336 (describe-face): Call read-face-name with list of default faces.
10337
103382013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10339
10340 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10341 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10342 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10343 the header.
10344 (bookmark-exit-hook-internal): Save even if list is empty.
10345
103462013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10347
10348 * emacs-lisp/package.el (package-pinned-packages): New var.
10349 (package--add-to-archive-contents): Obey it (bug#14118).
10350
103512013-04-03 Alan Mackenzie <acm@muc.de>
10352
10353 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10354 Also adapt to the new values of element 7 of a parse state.
10355
10356 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10357 parameter `not-in-delimiter'. Handle being inside comment opener.
10358 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10359 character in case we're typing a '*' after a '/'.
10360 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10361 instead by passing the parameter to c-state-pp-to-literal.
10362
10363 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10364 for elt. 7 of a parse state.
10365
103662013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10367
10368 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10369 * international/latin1-disp.el, international/mule-util.el:
10370 * language/cyril-util.el, language/european.el, language/ind-util.el:
10371 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10372 * language/tibetan.el, language/viet-util.el:
10373 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10374
103752013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10376
10377 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10378 (electric-pair-post-self-insert-function): Use it.
10379 (electric-pair-default-inhibit): New function, extracted from
10380 electric-pair-post-self-insert-function.
10381
103822013-03-31 Roland Winkler <winkler@gnu.org>
10383
10384 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10385
103862013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10387
10388 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10389
103902013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10391
10392 Un-indent after "pass" and "return" statements (Bug#13888)
10393 * progmodes/python.el (python-indent-block-enders): New var.
10394 (python-indent-calculate-indentation): Use it.
10395
103962013-03-30 Michael Albinus <michael.albinus@gmx.de>
10397
10398 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10399 defun. Defining it as defalias could introduce too eager
10400 byte-compiler optimization. (Bug#14030)
10401
104022013-03-30 Chong Yidong <cyd@gnu.org>
10403
10404 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10405
104062013-03-30 Leo Liu <sdl.web@gmail.com>
10407
10408 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10409 (kmacro-execute-from-register): Pass the keyboard macro to
10410 kmacro-call-macro or repeating won't work correctly.
10411
104122013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10413
10414 * progmodes/subword.el: Back to using `forward-symbol'.
10415
10416 * subr.el (forward-whitespace, forward-symbol)
10417 (forward-same-syntax): Move from thingatpt.el.
10418
104192013-03-29 Leo Liu <sdl.web@gmail.com>
10420
10421 * kmacro.el (kmacro-to-register): New command.
10422 (kmacro-execute-from-register): New function.
10423 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10424
104252013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10426
10427 * mpc.el: Use defvar-local and setq-local.
10428 (mpc--proc-connect): Connection failures are not bugs.
10429 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10430 (mpc-volume-map): Bind to the up-events.
10431
104322013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10433
10434 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10435 instead of `forward-symbol'.
10436
104372013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10438
10439 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10440 (edebug--recursive-edit): Use it.
10441 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10442 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10443
104442013-03-28 Leo Liu <sdl.web@gmail.com>
10445
10446 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10447
104482013-03-27 Eli Zaretskii <eliz@gnu.org>
10449
10450 * facemenu.el (list-colors-callback): New defvar.
10451 (list-colors-redisplay): New function.
10452 (list-colors-display): Install list-colors-redisplay as the
10453 revert-buffer-function. (Bug#14063)
10454
104552013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10456
10457 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10458 and suffixes don't overlap (bug#14061).
10459
10460 * case-table.el: Use lexical-binding.
10461 (case-table-get-table): New function.
10462 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10463
104642013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10465
10466 * progmodes/subword.el: Add `superword-mode' to do word motion
10467 over symbol_words (parallels and leverages `subword-mode' which
10468 does word motion inside MixedCaseWords).
10469
104702013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10471
10472 * eshell/em-unix.el: Move su and sudo to...
10473 * eshell/em-tramp.el: ...Eshell tramp module.
10474
104752013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10476
10477 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10478 Change return value to be a sexp. Delay `get-buffer' to after
10479 restoring the desktop (bug#13951).
10480
104812013-03-26 Leo Liu <sdl.web@gmail.com>
10482
10483 * register.el: Move semantic tag handling back to
10484 cedet/semantic/senator.el. (Bug#14052)
10485
104862013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10487
10488 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10489 into the prompt either (bug#13963).
10490
104912013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10492
10493 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10494 part of "(error-foo)".
10495
104962013-03-24 Juri Linkov <juri@jurta.org>
10497
10498 * replace.el (list-matching-lines-prefix-face): New defcustom.
10499 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10500 `occur-engine' if `face-differs-from-default-p' returns t.
10501 (occur-engine): Add `,' inside backquote construct to evaluate
10502 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10503 Pass `prefix-face' to the functions `occur-context-lines' and
10504 `occur-engine-add-prefix'.
10505 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10506 `prefix-face' and propertize the prefix with `prefix-face'.
10507 (Bug#14017)
10508
105092013-03-24 Leo Liu <sdl.web@gmail.com>
10510
10511 * nxml/rng-valid.el (rng-validate-while-idle)
10512 (rng-validate-quick-while-idle): Guard against deleted buffer.
10513 (Bug#13999)
10514
10515 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10516 is the last entry in kill-buffer-hook.
10517
10518 * files.el (kill-buffer-hook): Doc fix.
10519
105202013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10521
10522 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10523 Make it safe-local.
10524
10525 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10526
105272013-03-23 Leo Liu <sdl.web@gmail.com>
10528
10529 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10530 Remove.
10531
10532 * nxml/rng-valid.el (rng-validate-mode)
10533 (rng-after-change-function, rng-do-some-validation):
10534 * nxml/rng-maint.el (rng-validate-buffer):
10535 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10536 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10537 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10538 (nxml-extend-after-change-region): Use with-silent-modifications.
10539
10540 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10541 timer-idle-list.
10542
10543 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10544 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10545 timer-idle-list. (Bug#13999)
10546
105472013-03-23 Juri Linkov <juri@jurta.org>
10548
10549 * info.el (info-index-match): New face.
10550 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10551 main pattern and add text properties with the new face to matches
10552 in index entries relative to the beginning of the index entry.
10553 (Bug#14015)
10554
105552013-03-21 Eric Ludlam <zappo@gnu.org>
10556
10557 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10558 Inhibit read only while inserting objects.
10559
105602013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10561
10562 * progmodes/cfengine.el: Update docs to mention
10563 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10564 symbol motion. Remove "_" from the word syntax.
10565
105662013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10567
10568 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10569 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10570
105712013-03-20 Juri Linkov <juri@jurta.org>
10572
10573 * info.el (Info-next-reference-or-link)
10574 (Info-prev-reference-or-link): New functions.
10575 (Info-next-reference, Info-prev-reference): Use them.
10576 (Info-try-follow-nearest-node): Handle footnote navigation.
10577 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10578
105792013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10580
10581 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10582 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10583
105842013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10585
10586 Suppress unnecessary non-ASCII chatter during build process.
10587 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10588 (batch-skkdic-convert): Suppress most of the chatter.
10589 It's not needed so much now that machines are faster,
10590 and its non-ASCII component was confusing; see Dmitry Gutov in
10591 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10592
105932013-03-20 Leo Liu <sdl.web@gmail.com>
10594
10595 * ido.el (ido-chop): Fix bug#10994.
10596
105972013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10598
10599 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10600 Remove vars.
10601 (whitespace-color-on, whitespace-color-off):
10602 Use `font-lock-fontify-buffer' (Bug#13817).
10603
106042013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10605
10606 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10607 remapping in mode-line.
10608 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10609
106102013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10611
10612 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10613 value for `whitespace-line' face (Bug#13875).
10614 (whitespace-font-lock-keywords): Change description.
10615 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10616 the constructed keywords instead.
10617 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10618
106192013-03-19 Leo Liu <sdl.web@gmail.com>
10620
10621 * progmodes/compile.el (compilation-display-error): New command.
10622 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10623 C-o. (Bug#13992)
10624
106252013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10626
10627 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10628
106292013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10630
10631 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10632
106332013-03-18 Michael Albinus <michael.albinus@gmx.de>
10634
10635 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10636
10637 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10638 * net/tramp-gvfs.el (top):
10639 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10640 (tramp-handle-shell-command): Use it.
10641 (tramp-dissect-file-name): Raise an error when hostname is a
10642 method name, and neither method nor user is specified.
10643
10644 * net/trampver.el: Update release number.
10645
106462013-03-18 Leo Liu <sdl.web@gmail.com>
10647
10648 Make sure eldoc can be turned off properly.
10649 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10650 eldoc-mode.
10651 (eldoc-display-message-p): Revert last change.
10652 (eldoc-display-message-no-interference-p)
10653 (eldoc-print-current-symbol-info): Tweak.
10654
106552013-03-18 Tassilo Horn <tsdh@gnu.org>
10656
10657 * doc-view.el (doc-view-new-window-function): Check the new window
10658 overlay's display property instead the char property of the
10659 buffer's first char. Use `with-selected-window' instead of
10660 `save-window-excursion' with `select-window'.
10661 (doc-view-document->bitmap): Check the current doc-view overlay's
10662 display property instead the char property of the buffer's first char.
10663
106642013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10665
10666 Automate the build of ja-dic.el (Bug#13984).
10667 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10668 from the input, rather than assume that it's been done for us by the
10669 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10670 the current date into a ja-dic.el comment, as that complicates
10671 regression testing.
10672
106732013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10674
10675 * whitespace.el: Fix double evaluation.
10676 (whitespace-space, whitespace-hspace, whitespace-tab)
10677 (whitespace-newline, whitespace-trailing, whitespace-line)
10678 (whitespace-space-before-tab, whitespace-indentation)
10679 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10680 obsolete defvars.
10681 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10682 (whitespace-color-on): Use a single font-lock-add-keywords call.
10683 Fix double-evaluation of face variables.
10684
106852013-03-17 Michael Albinus <michael.albinus@gmx.de>
10686
10687 * net/tramp-adb.el (tramp-adb-parse-device-names):
10688 Use `start-process' instead of `call-process'. Otherwise, the
10689 function might be blocked under MS Windows. (Bug#13299)
10690
106912013-03-17 Leo Liu <sdl.web@gmail.com>
10692
10693 Extend eldoc to display info in the mode-line. (Bug#13978)
10694 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10695 (eldoc-mode-line-string): New variable.
10696 (eldoc-minibuffer-message): New function.
10697 (eldoc-message-function): New variable.
10698 (eldoc-message): Use it.
10699 (eldoc-display-message-p)
10700 (eldoc-display-message-no-interference-p):
10701 Support eldoc-post-insert-mode.
10702
10703 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10704 (eval-expression): Run it.
10705
107062013-03-17 Roland Winkler <winkler@gnu.org>
10707
10708 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10709 strings in the list of return values.
10710
107112013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10712
10713 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10714 radix before checking for HMS forms.
10715
107162013-03-16 Leo Liu <sdl.web@gmail.com>
10717
10718 * progmodes/scheme.el: Add indentation and font-locking for λ.
10719 (Bug#13975)
10720
107212013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10722
10723 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10724 token before point (bug#13942).
10725
107262013-03-16 Leo Liu <sdl.web@gmail.com>
10727
10728 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10729
107302013-03-16 Eli Zaretskii <eliz@gnu.org>
10731
10732 * startup.el (command-line-normalize-file-name): Fix handling of
10733 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10734 <xfq.free@gmail.com> in
10735 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10736
107372013-03-15 Michael Albinus <michael.albinus@gmx.de>
10738
10739 Sync with Tramp 2.2.7.
10740
10741 * net/trampver.el: Update release number.
10742
107432013-03-14 Tassilo Horn <tsdh@gnu.org>
10744
10745 * doc-view.el: Fix bug#13887.
10746 (doc-view-insert-image): Don't modify overlay associated to
10747 non-live windows, and implement horizontal centering of image in
10748 case it's smaller than the window.
10749 (doc-view-new-window-function): Force redisplay of new windows on
10750 doc-view buffers.
10751
107522013-03-13 Karl Fogel <kfogel@red-bean.com>
10753
10754 * saveplace.el (save-place-alist-to-file): Don't sort
10755 `save-place-alist', just pretty-print it (bug#13882).
10756
107572013-03-13 Michael Albinus <michael.albinus@gmx.de>
10758
10759 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10760 Check whether `default-file-name-coding-system' is bound.
10761 It isn't in XEmacs.
10762
107632013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10764
10765 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10766 backquotes for `obsolete' (bug#13929).
10767
10768 * international/mule.el (find-auto-coding): Include file name in
10769 obsolescence warning (bug#13922).
10770
107712013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10772
10773 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10774 for CFEngine 3-specific indentation.
10775 (cfengine3-indent-line): Use it. Fix up category regex.
10776 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10777
107782013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10779
10780 * type-break.el (type-break-file-name):
10781 * textmodes/remember.el (remember-data-file):
10782 * strokes.el (strokes-file):
10783 * shadowfile.el (shadow-initialize):
10784 * saveplace.el (save-place-file):
10785 * ps-bdf.el (bdf-cache-file):
10786 * progmodes/idlwave.el (idlwave-config-directory):
10787 * net/quickurl.el (quickurl-url-file):
10788 * international/kkc.el (kkc-init-file-name):
10789 * ido.el (ido-save-directory-list-file):
10790 * emulation/viper.el (viper-custom-file-name):
10791 * emulation/vip.el (vip-startup-file):
10792 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10793 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10794
107952013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10796
10797 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10798 * language/thai-word.el: Switch to UTF-8.
10799
10800See ChangeLog.16 for earlier changes.
10801
10802;; Local Variables:
10803;; coding: utf-8
10804;; End:
10805
10806 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10807
10808 This file is part of GNU Emacs.
10809
10810 GNU Emacs is free software: you can redistribute it and/or modify
10811 it under the terms of the GNU General Public License as published by
10812 the Free Software Foundation, either version 3 of the License, or
10813 (at your option) any later version.
10814
10815 GNU Emacs is distributed in the hope that it will be useful,
10816 but WITHOUT ANY WARRANTY; without even the implied warranty of
10817 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10818 GNU General Public License for more details.
10819
10820 You should have received a copy of the GNU General Public License
10821 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.