* lisp/bindings.el: Map kp keys to non-kp keys systematically
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-11 Juri Linkov <juri@jurta.org>
2
3 * bindings.el: Map kp keys to non-kp keys systematically
4 with basic modifiers control, meta and shift. (Bug#14397)
5
6 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
7
8 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
9 "Close browser" menu items. Fix wrong function of "List
10 bookmarks".
11
12 2013-12-11 Juri Linkov <juri@jurta.org>
13
14 * misearch.el (multi-isearch-buffers): Set the value of
15 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
16 arg of isearch-forward to t.
17 (multi-isearch-buffers-regexp): Set the value of
18 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
19 arg of isearch-forward-regexp to t.
20 (multi-isearch-files): Set the value of
21 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
22 arg of isearch-forward to t.
23 (multi-isearch-files-regexp): Set the value of
24 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
25 arg of isearch-forward-regexp to t. (Bug#16035)
26
27 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
28 arg of isearch-forward to t.
29 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
30 arg of isearch-forward-regexp to t.
31 (dired-isearch-filter-filenames): Remove unnecessary check for
32 `dired-isearch-filenames'.
33
34 * comint.el (comint-history-isearch-backward):
35 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
36 (comint-history-isearch-backward-regexp):
37 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
38
39 2013-12-10 Eli Zaretskii <eliz@gnu.org>
40
41 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
42 unmsys--file-name. (Bug#16099)
43
44 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
45
46 * emacs-lisp/package.el (package-keyword-button-action): Remove
47 finder.el require dependency.
48
49 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
50
51 * emacs-lisp/package.el: Require finder.el.
52 (describe-package-1): Add keyword buttons.
53 (package-make-button): New convenience function.
54 (package-keyword-button-action): Keyword button action using
55 `finder-list-matches'
56
57 2013-12-09 Eli Zaretskii <eliz@gnu.org>
58
59 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
60 last commit.
61
62 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
63
64 * autorevert.el (auto-revert-notify-add-watch): Do not handle
65 symlinked files.
66
67 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
68
69 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
70 after the end of a percent literal.
71
72 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
73
74 * progmodes/ruby-mode.el (ruby-forward-string): Document. Handle
75 caret-delimited strings (Bug#16079).
76
77 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
78
79 * progmodes/ruby-mode.el (ruby-accurate-end-of-block): When
80 `ruby-use-smie' is t, use `smie-forward-sexp' instead of
81 `ruby-parse-partial' (Bug#16078).
82
83 2013-12-09 Leo Liu <sdl.web@gmail.com>
84
85 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
86
87 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
88
89 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
90 (js-switch-indent-offset): New option.
91 (js--proper-indentation): Use it. And handle the case when
92 "default" is actually a key in an object literal.
93 (js--same-line): New function.
94 (js--multi-line-declaration-indentation): Use it.
95 (js--indent-in-array-comp, js--array-comp-indentation): New
96 functions.
97 (js--proper-indentation): Use them, to handle array comprehension
98 continuations.
99
100 2013-12-08 Leo Liu <sdl.web@gmail.com>
101
102 * progmodes/flymake.el (flymake-highlight-line): Re-write.
103 (flymake-make-overlay): Remove arg MOUSE-FACE.
104 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
105
106 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
107
108 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
109 New function.
110 (redisplay-highlight-region-function): Use it.
111
112 * emulation/cua-base.el (cua--explicit-region-start)
113 (cua--last-region-shifted): Remove.
114 (cua--deactivate): Use deactivate-mark.
115 (cua--pre-command-handler-1): Don't handle shift-selection.
116 (cua--post-command-handler-1): Don't change transient-mark-mode.
117 (cua--select-keymaps): Use region-active-p rather than
118 cua--explicit-region-start or cua--last-region-shifted.
119 (cua-mode): Enable shift-select-mode.
120
121 2013-12-08 Leo Liu <sdl.web@gmail.com>
122
123 * progmodes/flymake.el (flymake-popup-current-error-menu):
124 Rename from flymake-display-err-menu-for-current-line. Reimplement.
125 (flymake-posn-at-point-as-event, flymake-popup-menu)
126 (flymake-make-emacs-menu): Remove. (Bug#16077)
127
128 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
129
130 * rect.el (rectangle-mark-mode): Activate mark even if
131 transient-mark-mode is off (bug#16066).
132 (rectangle--highlight-for-redisplay): Fix boundary condition when point
133 is > mark and at bolp.
134
135 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
136 (region-extract-function): Use it.
137 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
138 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
139 Delete functions.
140 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
141 kill-ring-save, kill-region, delete-char, delete-forward-char.
142 Ignore self-insert-iso.
143
144 * emulation/cua-gmrk.el (cua--init-global-mark):
145 Ignore `self-insert-iso'.
146
147 * emulation/cua-base.el (cua--prefix-copy-handler)
148 (cua--prefix-cut-handler): Rely on region-extract-function rather than
149 checking cua--rectangle.
150 (cua-delete-region): Use region-extract-function.
151 (cua-replace-region): Delete function.
152 (cua-copy-region, cua-cut-region): Obey region-extract-function.
153 (cua--pre-command-handler-1): Don't do the delete-selection thing.
154 (cua--self-insert-char-p): Ignore `self-insert-iso'.
155 (cua--init-keymaps): Don't remap delete-selection commands.
156 (cua-mode): Use delete-selection-mode instead of rolling our own
157 (bug#16085).
158
159 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
160 Obey region-extract-function.
161
162 Make registers and delete-selection-mode work on rectangles.
163 * register.el (describe-register-1): Don't modify the register's value.
164 (copy-to-register): Obey region-extract-function.
165 * delsel.el (delete-active-region): Obey region-extract-function.
166
167 2013-12-08 Leo Liu <sdl.web@gmail.com>
168
169 * progmodes/flymake.el (flymake, flymake-error-bitmap)
170 (flymake-warning-bitmap, flymake-fringe-indicator-position)
171 (flymake-compilation-prevents-syntax-check)
172 (flymake-start-syntax-check-on-newline)
173 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
174 (flymake-start-syntax-check-on-find-file, flymake-log-level)
175 (flymake-xml-program, flymake-master-file-dirs)
176 (flymake-master-file-count-limit)
177 (flymake-allowed-file-name-masks): Relocate.
178 (flymake-makehash, flymake-float-time)
179 (flymake-replace-regexp-in-string, flymake-split-string)
180 (flymake-get-temp-dir): Remove.
181 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
182 (flymake-current-row, flymake-selected-frame)
183 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
184 related functions. (Bug#16077)
185
186 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
187
188 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
189
190 2013-12-07 Tassilo Horn <tsdh@gnu.org>
191
192 * help-fns.el (describe-function-1): Use new advice-* functions
193 rather than old ad-* functions. Fix function type description and
194 source links for advised functions and subrs.
195
196 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
197
198 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
199
200 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
201
202 * progmodes/compile.el (compilation-start):
203 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
204
205 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
206 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
207
208 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
209
210 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
211 Touch up the last change.
212
213 2013-12-06 Leo Liu <sdl.web@gmail.com>
214
215 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
216 (inferior-octave-startup): Always use "octave> " for prompt.
217 (octave-goto-function-definition)
218 (octave-sync-function-file-names)
219 (octave-find-definition-default-filename): Remove redundant backquotes.
220
221 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
222
223 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
224 syntax for `?'.
225 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
226 where appropriate already.
227 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
228 end of method names (Bug#15874).
229
230 2013-12-06 Juri Linkov <juri@jurta.org>
231
232 * isearch.el (isearch--saved-overriding-local-map):
233 New internal variable.
234 (isearch-mode): Set it to the initial value of
235 `overriding-terminal-local-map'.
236 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
237 with `isearch--saved-overriding-local-map'. (Bug#16035)
238
239 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
240
241 * progmodes/octave.el (inferior-octave-completion-table):
242 Turn back into function, use `completion-table-with-cache'
243 (Bug#11906). Update all references.
244
245 * minibuffer.el (completion-table-with-cache): New function.
246
247 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
248
249 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
250
251 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
252
253 * net/eww.el (eww-current-source): New variable to store page
254 source.
255 (eww-display-html, eww-mode, eww-save-history)
256 (eww-restore-history): Use it.
257 (eww-view-source): New command to view page source.
258 Opportunistically uses `html-mode' to highlight the buffer.
259 (eww-mode-map): Install it.
260
261 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
262
263 * net/dbus.el (dbus-unregister-service)
264 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
265 Fix docstring.
266 (dbus-unregister-service): Skip :serial entries in
267 `dbus-registered-objects-table'.
268 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
269
270 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
271
272 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
273 around keywords with extra `split-string' argument.
274
275 2013-12-04 Martin Rudalics <rudalics@gmx.at>
276
277 * windmove.el (windmove-other-window-loc): Handle navigation
278 between windows (excluding the minibuffer window - Bug#16017).
279
280 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
281
282 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
283 in D-Bus type syntax.
284 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
285 preserve unibyte strings. (Bug#16048)
286
287 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
288
289 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
290 Call force-mode-line-update is the proper buffer (bug#16042).
291
292 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
293
294 * vc/log-edit.el (log-edit-add-new-comment): Rename to
295 `log-edit-remember-comment', make argument optional. Adjust all
296 callers.
297 (log-edit-mode): Add `log-edit-remember-comment' to
298 `kill-buffer-hook' locally.
299 (log-edit-kill-buffer): Don't remember comment explicitly since
300 the buffer is killed anyway.
301
302 2013-12-04 Juri Linkov <juri@jurta.org>
303
304 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
305 add-hook and remove-hook for multi-buffer search. (Bug#16035)
306
307 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
308
309 * notifications.el (notifications-close-notification): Call the
310 D-Bus method with ID being a `:uint32'. (Bug#16030)
311
312 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
313
314 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
315
316 2013-12-03 Juri Linkov <juri@jurta.org>
317
318 * progmodes/compile.el (compilation-start): Rename window alist
319 entry `no-display-ok' to `allow-no-window'.
320
321 * simple.el (shell-command): Add window alist entry
322 `allow-no-window' to `display-buffer'.
323 (async-shell-command): Doc fix.
324
325 * window.el (display-buffer-no-window): New action function.
326 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
327
328 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
329
330 * vc/log-edit.el (log-edit-set-header): Extract from
331 `log-edit-toggle-header'.
332 (log-edit-extract-headers): Separate the summary, when extracted
333 from header, from the rest of the message with an empty line.
334
335 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
336 line, if present, to the Summary header.
337
338 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
339
340 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
341 in current-buffer (bug#16029).
342
343 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
344
345 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
346 (debugger-mode-map): Bind it.
347 (debugger--backtrace-base): New function.
348 (debugger-eval-expression): Use it.
349 (debugger-frame-number): Skip local vars when present.
350 (debugger--locals-visible-p, debugger--insert-locals)
351 (debugger--show-locals, debugger--hide-locals): New functions.
352
353 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
354
355 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
356 "LC_ALL".
357 (tramp-get-remote-locale): New defun.
358 (tramp-open-connection-setup-interactive-shell): Use it.
359
360 2013-12-02 Leo Liu <sdl.web@gmail.com>
361
362 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
363
364 * progmodes/sh-script.el (sh-shell-process):
365 * progmodes/octave.el (inferior-octave-process-live-p):
366 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
367 (gdb-inferior-io-sentinel):
368 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
369
370 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
371
372 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
373 `save-selected-window' to `log-edit-hide-buf'. This makes
374 `log-edit-show-files' idempotent.
375 (log-edit-show-files): Mark the new window as dedicated.
376
377 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
378
379 * vc/log-edit.el (log-edit-mode-map): Add binding for
380 `log-edit-kill-biffer'.
381 (log-edit-hide-buf): Add a FIXME comment.
382 (log-edit-add-new-comment): New function, extracted from
383 `log-edit-done'.
384 (log-edit-done, log-edit-add-to-changelog): Use it.
385 (log-edit-kill-buffer): New command.
386
387 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
388
389 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
390 instead of killing the buffer.
391
392 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
393
394 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
395
396 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
397
398 * net/eww.el (eww-form-checkbox-selected-symbol)
399 (eww-form-checkbox-symbol): New customizable variable.
400 (eww-form-checkbox, eww-toggle-checkbox):
401 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
402
403 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
404 (shr--get-media-pref, shr--extract-best-source): New function.
405 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
406 no :src tag was specified.
407
408 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
409 (eww-render): Handle `eww-use-external-browser-for-content-type'.
410 Use \\` to match beginning of string instead of ^.
411 (eww-browse-with-external-browser): Provide optional URL parameter.
412 (eww-render): Set `eww-current-title' back to "".
413
414 * net/shr.el (shr-tag-video): Display content for video if no
415 poster is available.
416 (shr-tag-audio): Add support for <audio> tag.
417
418 * net/eww.el (eww-text-input-types): : New const.
419 (eww-process-text-input): Treat input types in
420 `eww-text-input-types' as text.
421
422 * net/shr.el (shr-tag-table): Fix comment typo.
423
424 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
425
426 * net/eww.el (eww-follow-link): New command to avoid reloading
427 pages when we follow #target links (bug#15243).
428 (eww-quit): Special mode buffers shouldn't query before exiting.
429
430 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
431
432 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
433 forms.
434
435 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
436
437 * net/eww.el (eww-restore-history): Update the window title after
438 moving in the history.
439 (eww-current-dom): New variable used to save the current DOM.
440
441 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
442
443 * vc/log-edit.el (log-edit-mode-map): Add binding for
444 `log-edit-beginning-of-line'.
445 (log-edit-setup-add-author): New user option.
446 (log-edit-beginning-of-line): New command.
447 (log-edit): Move major mode call above the contents setup so that
448 the local variable values are already applied.
449 (log-edit): Only insert "Author: " when
450 `log-edit-setup-add-author' is non-nil.
451 (log-edit): When SETUP is non-nil, position point after ": "
452 instead of point-min.
453
454 2013-12-01 Glenn Morris <rgm@gnu.org>
455
456 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
457
458 2013-11-30 Eli Zaretskii <eliz@gnu.org>
459
460 * startup.el (fancy-splash-frame): On MS-Windows, trigger
461 redisplay to make sure the initial frame gets a chance to become
462 visible. (Bug#16014)
463
464 2013-11-30 Martin Rudalics <rudalics@gmx.at>
465
466 Support resizing frames and windows pixelwise.
467 * cus-start.el (frame-resize-pixelwise)
468 (window-resize-pixelwise): New entries.
469 * emacs-lisp/debug.el (debug): Use window-total-height instead
470 of window-total-size.
471 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
472 * help.el (describe-bindings-internal): Call help-buffer
473 (temp-buffer-max-width): New option.
474 (resize-temp-buffer-window, help-window-setup)
475 (with-help-window): Rewrite.
476 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
477 dragging dividers.
478 * window.el (frame-char-size, window-min-pixel-height)
479 (window-safe-min-pixel-height, window-safe-min-pixel-width)
480 (window-min-pixel-width, window-safe-min-pixel-size)
481 (window-combination-p, window-safe-min-size)
482 (window-resizable-p, window--size-to-pixel)
483 (window--pixel-to-size, window--resize-apply-p): New functions.
484 (window-safe-min-height): Fix doc-string.
485 (window-size, window-min-size, window--min-size-1)
486 (window-sizable, window-sizable-p, window--min-delta-1)
487 (window-min-delta, window--max-delta-1, window-max-delta)
488 (window--resizable, window--resizable-p, window-resizable)
489 (window-full-height-p, window-full-width-p, window-at-side-p)
490 (window--in-direction-2, window-in-direction)
491 (window--resize-reset-1, window--resize-mini-window)
492 (window-resize, window-resize-no-error)
493 (window--resize-child-windows-normal)
494 (window--resize-child-windows, window--resize-siblings)
495 (window--resize-this-window, window--resize-root-window)
496 (window--resize-root-window-vertically)
497 (adjust-window-trailing-edge, enlarge-window, shrink-window)
498 (maximize-window, minimize-window, delete-window)
499 (quit-restore-window, window-split-min-size, split-window)
500 (balance-windows-2, balance-windows)
501 (balance-windows-area-adjust, balance-windows-area)
502 (window--state-get-1, window-state-get, window--state-put-1)
503 (window--state-put-2, window-state-put)
504 (display-buffer-record-window, window--display-buffer):
505 Make functions handle pixelwise sizing of windows.
506 (display-buffer--action-function-custom-type)
507 (display-buffer-fallback-action):
508 Add display-buffer-in-previous-window.
509 (display-buffer-use-some-window): Resize window to height it had
510 before.
511 (fit-window-to-buffer-horizontally): New option.
512 (fit-frame-to-buffer): Describe new values.
513 (fit-frame-to-buffer-bottom-margin): Replace with
514 fit-frame-to-buffer-margins.
515 (window--sanitize-margin): New function.
516 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
517 using window-text-pixel-size.
518
519 2013-11-30 Glenn Morris <rgm@gnu.org>
520
521 * emacs-lisp/bytecomp.el (byte-compile-form):
522 Make the `interactive-only' warning like the `obsolete' one.
523 * comint.el (comint-run):
524 * files.el (insert-file-literally, insert-file):
525 * replace.el (replace-string, replace-regexp):
526 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
527 (goto-line, insert-buffer, next-line, previous-line):
528 Tweak `interactive-only' spec.
529
530 Stop keeping (most) generated cedet grammar files in the repository.
531 * Makefile.in (semantic): New.
532 (compile-main): Depend on semantic.
533
534 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
535
536 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
537 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
538
539 * uniquify.el (uniquify-buffer-name-style): Change default.
540
541 * loadup.el: Preload "uniquify".
542
543 * time.el (display-time-update): Update all mode lines (bug#15999).
544
545 * electric.el (electric-indent-mode): Enable by default.
546 * loadup.el: Preload "electric".
547
548 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
549
550 * emacs-lisp/helpers.el (string-empty-p): New function.
551 (string-blank-p): New function.
552
553 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
554
555 * imenu.el (imenu--index-alist): Add missing dot to the docstring
556 (Bug#14029).
557
558 2013-11-29 Andreas Politz <politza@fh-trier.de>
559 * imenu.el (imenu--subalist-p): Don't error on non-conses and
560 allow non-lambda lists as functions.
561 (imenu--in-alist): Don't recurse into non-subalists.
562 (imenu): Don't pass function itself as an argument (Bug#14029).
563
564 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
565
566 * progmodes/python.el (python-mode-map): Remove binding for ":".
567 (python-indent-electric-colon): Remove command.
568 (python-indent-post-self-insert-function): Integrate the previous code
569 of python-indent-electric-colon. Make it conditional on
570 electric-indent-mode.
571 (python-mode): Add ?: to electric-indent-chars.
572 Move python-indent-post-self-insert-function to the end of
573 post-self-insert-hook.
574
575 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
576
577 * doc-view.el (doc-view-goto-page): Update mode-line.
578
579 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
580
581 2013-11-27 Glenn Morris <rgm@gnu.org>
582
583 * international/charprop.el, international/uni-bidi.el:
584 * international/uni-category.el, international/uni-combining.el:
585 * international/uni-comment.el, international/uni-decimal.el:
586 * international/uni-decomposition.el, international/uni-digit.el:
587 * international/uni-lowercase.el, international/uni-mirrored.el:
588 * international/uni-name.el, international/uni-numeric.el:
589 * international/uni-old-name.el, international/uni-titlecase.el:
590 * international/uni-uppercase.el:
591 Remove generated files from VCS repository.
592
593 2013-11-27 Eli Zaretskii <eliz@gnu.org>
594
595 * filenotify.el (file-notify-add-watch): Don't special-case
596 w32notify when computing the directory to watch.
597
598 2013-11-27 Glenn Morris <rgm@gnu.org>
599
600 Make bootstrap without generated uni-*.el files possible again.
601 * loadup.el: Update command-line-args checking for unidata-gen.
602 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
603 * composite.el, international/characters.el:
604 Handle unicode tables being undefined.
605
606 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
607 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
608 (compile-main): Depend on leim rule.
609 (leim): New rule.
610 * loadup.el: Move leim-list.el to leim/ subdirectory.
611 * startup.el (normal-top-level): No more leim directory.
612 * international/ja-dic-cnv.el (skkdic-convert):
613 Disable version-control and autoloads in output files.
614 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
615 Disable version-control and autoloads in output files.
616 * leim/quail: Move here from ../leim.
617 * leim/quail/hangul.el (hangul-input-method-activate):
618 Add autoload cookie.
619 (generated-autoload-load-name): Set file-local value.
620 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
621 (generated-autoload-load-name): Set file-local value.
622
623 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
624
625 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
626 (eww-add-bookmark): ask confirmation when add to bookmarks
627 (eww-quit): ask confirmation before quitting eww
628
629 2013-11-26 Eli Zaretskii <eliz@gnu.org>
630
631 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
632 reading output from Diff on MS-Windows and MS-DOS.
633
634 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
635
636 * emacs-lisp/helpers.el (string-reverse): New function.
637
638 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
639
640 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
641 names on MS Windows, like "/[::1]:".
642
643 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
644 SWITCHES.
645
646 2013-11-26 Glenn Morris <rgm@gnu.org>
647
648 * progmodes/python.el (python-indent-guess-indent-offset):
649 Avoid corner-case error. (Bug#15975)
650
651 Preload leim-list.el. (Bug#4789)
652 * loadup.el: Load leim-list.el when found.
653 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
654
655 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
656
657 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
658
659 * emacs-lisp/helpers.el (string-join): New function.
660
661 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
662
663 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
664 Mark as obsolete and replace it with a symbol property.
665 (byte-compile-form): Use new 'interactive-only property.
666 * comint.el, files.el, replace.el, simple.el:
667 Apply new 'interactive-only properly.
668
669 2013-11-25 Martin Rudalics <rudalics@gmx.at>
670
671 * window.el (display-buffer-at-bottom): Make sure that
672 split-window-sensibly creates the new window on bottom
673 (Bug#15961).
674
675 2013-11-23 David Kastrup <dak@gnu.org>
676
677 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
678 on the conflict markers when available.
679 (smerge--get-marker): New function.
680 (smerge-end-re, smerge-base-re): Add subgroup.
681
682 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
683
684 * frame.el (handle-focus-in, handle-focus-out): Add missing
685 interactive spec.
686
687 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
688
689 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
690 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
691
692 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
693
694 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
695 (gomoku--last-pos): New var.
696 (gomoku--intangible-chars): New const.
697 (gomoku--intangible): New function.
698 (gomoku-mode): Use it. Derive from special-mode.
699 (gomoku-move-up): Adjust line count.
700 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
701 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
702 Simplify accordingly.
703
704 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
705 Remove blink-cursor code.
706 (blink-cursor-timer-function, blink-cursor-suspend):
707 Don't special-case GUIs.
708 (blink-cursor-mode): Use focus-in/out-hook.
709
710 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
711
712 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
713 work when annotation is invisible (Bug#13886).
714
715 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
716
717 * json.el (json-alist-p): Only return non-nil if the alist has
718 simple keys (Bug#13518).
719
720 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
721
722 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
723 when control-statement is the first statement in a buffer (Bug#15956).
724
725 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
726
727 * imenu.el (imenu-generic-skip-comments-and-strings):
728 New option (Bug#15560).
729 (imenu--generic-function): Use it.
730
731 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
732
733 * minibuffer.el (completion--in-region-1): Scroll the correct
734 window. (Bug#13898)
735
736 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
737
738 * emacs-lisp/helpers.el: Add some string helpers.
739 (string-trim-left): Removes leading whitespace.
740 (string-trim-right): Removes trailing whitespace.
741 (string-trim): Removes leading and trailing whitespace.
742
743 * subr.el (string-suffix-p): New function.
744
745 2013-11-23 Glenn Morris <rgm@gnu.org>
746
747 * progmodes/python.el (python-shell-send-file):
748 Add option to delete file when done. (Bug#15647)
749 (python-shell-send-string, python-shell-send-region): Use it.
750
751 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
752
753 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
754 to set buffer-read-only to t, never to nil. (Bug#15938)
755
756 * textmodes/tex-mode.el (latex-noindent-environments):
757 Add safe-local-variable property. (Bug#15936)
758
759 2013-11-23 Glenn Morris <rgm@gnu.org>
760
761 * textmodes/enriched.el (enriched-mode): Doc fix.
762 * emacs-lisp/authors.el (authors-renamed-files-alist):
763 Add enriched.doc -> enriched.txt.
764
765 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
766
767 2013-11-22 Leo Liu <sdl.web@gmail.com>
768
769 * progmodes/octave.el (inferior-octave-startup): Spit out error
770 message.
771
772 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
773
774 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
775 Improve docstring.
776 Add :version.
777 (ruby-encoding-magic-comment-style): Add :version.
778
779 2013-11-22 Leo Liu <sdl.web@gmail.com>
780
781 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
782 (Bug#15076)
783 (octave-help-mode): Adapt to change to help-mode-finish to use
784 derived-mode-p on 2013-09-17.
785 (inferior-octave-prompt): Also match octave-gui.
786 (octave-kill-process): Don't ask twice. (Bug#10564)
787
788 2013-11-22 Leo Liu <sdl.web@gmail.com>
789
790 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
791 (inferior-octave-startup, inferior-octave-check-process)
792 (inferior-octave-track-window-width-change)
793 (octave-completion-at-point, octave-eldoc-function): Use it.
794 (octave-kill-process): Provide confirmation. (Bug#10564)
795
796 2013-11-21 Leo Liu <sdl.web@gmail.com>
797
798 * progmodes/octave.el (octave-mode, inferior-octave-mode):
799 Fix obsolete variable comment-use-global-state.
800
801 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
802
803 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
804 Add `octave-source-file'.
805 (octave-source-file): New function. (Bug#15935)
806
807 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
808
809 * net/eww.el (eww-local-regex): New variable.
810 (eww): Use it to detect localhost and similar.
811
812 2013-11-21 Leo Liu <sdl.web@gmail.com>
813
814 Add completion for command `ag'.
815 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
816 (pcomplete/ag): New function.
817 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
818
819 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
820
821 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
822 (bug#14646).
823 (make-obsolete): Remove interactive spec.
824
825 2013-11-21 Glenn Morris <rgm@gnu.org>
826
827 * startup.el (command-line-1): Use path-separator with -L.
828
829 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
830
831 * emacs-lisp/package.el (describe-package-1): Add package archive
832 to shown fields.
833
834 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
835
836 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
837 Change default to "# encoding: %s" to differentiate it from the
838 default Ruby encoding comment template.
839
840 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
841
842 * ses.el (ses-mode): Doc fix. (Bug#14748)
843
844 2013-11-20 Leo Liu <sdl.web@gmail.com>
845
846 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
847
848 2013-11-19 Dan Nicolaescu <dann@gnu.org>
849
850 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
851 when rebase or bisect are in progress.
852
853 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
854
855 * filenotify.el (file-notify-add-watch): Doc fix.
856
857 2013-11-19 Leo Liu <sdl.web@gmail.com>
858
859 * obsolete/rcompile.el: Mark obsolete.
860
861 * progmodes/compile.el (compilation-start)
862 (compilation-goto-locus, compilation-find-file):
863 Pass no-display-ok and handle nil value from display-buffer.
864 (Bug#13594)
865
866 * window.el (display-buffer-alist, display-buffer): Document the
867 new parameter no-display-ok. Return either a window or nil
868 but never a non-window value.
869
870 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
871
872 * electric.el (electric-indent-mode-map): Remove.
873 (electric-indent-mode): Change the global-map instead (bug#15915).
874
875 * textmodes/text-mode.el (paragraph-indent-minor-mode):
876 Use add-function.
877
878 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
879
880 * emacs-lisp/nadvice.el (remove-function): Align with
881 add-function's behavior.
882
883 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
884 (gdb--string-regexp): New constant.
885 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
886 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
887 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
888 submatch 1.
889 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
890 Adjust use accordingly.
891 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
892
893 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
894
895 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
896 interpolation curlies (Bug#15914).
897
898 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
899
900 * calc/calc.el (calc-context-sensitive-enter): New variable.
901 (calc-enter): Use `calc-context-sensitive-enter'.
902
903 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
904
905 * progmodes/cfengine.el: Version bump.
906 (cfengine-cf-promises): New defcustom to locate cf-promises.
907 (cfengine3-vartypes): Add new "data" type.
908 (cfengine3--current-word): New function to get current name-like
909 word or its bounds.
910 (cfengine3--current-function): New function to look up a CFEngine
911 function's definition.
912 (cfengine3-format-function-docstring): New function.
913 (cfengine3-make-syntax-cache): New function.
914 (cfengine3-documentation-function): New function: ElDoc glue.
915 (cfengine3-completion-function): New function: completion glue.
916 (cfengine3-mode): Set `compile-command',
917 `eldoc-documentation-function', and add to
918 `completion-at-point-functions'.
919
920 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
921
922 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
923 `tramp-current-connection'.
924
925 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
926
927 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
928 nil/self/true/false with "end of symbol".
929
930 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
931
932 * subr.el (version-regexp-alist): Fix a typo.
933
934 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
935
936 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
937 "en_US.utf8" and "LC_CTYPE" to "".
938 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
939 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
940
941 2013-11-15 Leo Liu <sdl.web@gmail.com>
942
943 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
944
945 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
946
947 * progmodes/gud.el (ctl-x-map):
948 Remove C-x SPC binding. (Bug#12342)
949 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
950
951 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
952
953 * subr.el (version-regexp-alist):
954 Recognize hg, svn and darcs versions as snapshot versions.
955
956 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
957 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
958 (ruby--encoding-comment-required-p): Extract from
959 `ruby-mode-set-encoding'.
960 (ruby-mode-set-encoding): Add the ability to always insert an
961 utf-8 encoding comment. Fix and simplify coding comment update
962 logic.
963
964 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
965
966 * net/tramp-gvfs.el (top): Run init code only when
967 `tramp-gvfs-enabled' is not nil.
968 (tramp-gvfs-enabled): Check also :system bus.
969
970 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
971
972 Sync with upstream verilog-mode revision 78e66ba.
973 * progmodes/verilog-mode.el (verilog-end-of-defun)
974 (verilog-type-completion, verilog-get-list): Remove unused funcs.
975 (verilog-get-end-of-defun): Remove unused argument.
976 (verilog-comment-depth): Remove unused local `e'.
977 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
978 Don't pass arg to verilog-get-end-of-defun.
979
980 2013-11-14 Glenn Morris <rgm@gnu.org>
981
982 * obsolete/assoc.el (aget): Prefix dynamic variable.
983
984 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
985
986 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
987
988 * widget.el, hfy-cmap.el: Remove bogus package version number.
989
990 2013-11-13 Glenn Morris <rgm@gnu.org>
991
992 * replace.el (replace-eval-replacement):
993 Try to give more helpful error message. (Bug#15836)
994
995 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
996 (archive-7z-update): Avoid custom type mismatches.
997
998 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
999
1000 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1001
1002 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1003 address can be empty.
1004
1005 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1006 Accept nil SWITCHES.
1007 (tramp-gvfs-handle-write-region): Implement APPEND.
1008
1009 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1010
1011 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1012 binary "|" operator and closing block args delimiter.
1013 Remove FIXME comment referring to Ruby 1.8-only syntax.
1014 (ruby-smie--implicit-semi-p): Not after "|" operator.
1015 (ruby-smie--closing-pipe-p): New function.
1016 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1017 (ruby-smie-rules): Indent after "|".
1018
1019 2013-11-12 Glenn Morris <rgm@gnu.org>
1020
1021 * ps-print.el (ps-face-attribute-list):
1022 Handle anonymous faces. (Bug#15827)
1023
1024 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1025
1026 * window.el (display-buffer-other-frame): Fix doc-string.
1027 (Bug#15868)
1028
1029 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1030
1031 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1032
1033 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1034
1035 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1036 (tramp-sh-handle-file-local-copy): Don't write a message when
1037 saving temporary files.
1038
1039 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1040 both directories are remote.
1041 (tramp-smb-handle-directory-files): Do not return double entries.
1042 Do not expand full file names.
1043 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1044 (tramp-smb-handle-write-region): Implement APPEND.
1045 (tramp-smb-get-stat-capability): Fix a stupid bug.
1046
1047 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1048
1049 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1050
1051 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1052
1053 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1054 throwing error over malformed let/let* (bug#15814).
1055
1056 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1057
1058 * iswitchb.el (iswitchb-mode): Mark obsolete.
1059
1060 2013-11-11 Glenn Morris <rgm@gnu.org>
1061
1062 * international/uni-bidi.el, international/uni-category.el:
1063 * international/uni-name.el, international/uni-numeric.el:
1064 Regenerate for Unicode 6.3.0.
1065
1066 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1067
1068 * net/tramp.el (tramp-methods):
1069 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1070 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1071
1072 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1073
1074 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1075 Force highlighting text after Summary keyword in doc face for rpm.
1076
1077 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1078
1079 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1080 available and the word has no wildcards, append one to the grep pattern.
1081 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1082 (ispell-complete-word): Call `ispell-lookup-words' with the value
1083 independent of `ispell-look-p'.
1084
1085 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1086
1087 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1088 Not after "||".
1089 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1090 their parent.
1091
1092 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1093
1094 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1095 (ruby-font-lock-keywords): Use backquote.
1096
1097 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1098
1099 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1100 (ruby-smie--backward-token): Only consider full-string matches.
1101
1102 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1103
1104 * faces.el (describe-face): Add distant-foreground.
1105
1106 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1107
1108 * progmodes/ruby-mode.el: Improve encoding comment handling.
1109 (ruby-encoding-magic-comment-style): New option.
1110 (ruby-custom-encoding-magic-comment-template): New option.
1111 (ruby--insert-coding-comment, ruby--detect-encoding):
1112 New functions extracted from `ruby-mode-set-encoding'.
1113 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1114 to control the style of the auto-inserted encoding comment.
1115
1116 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1117
1118 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1119 Use `smie-backward-sexp' with token argument.
1120
1121 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1122
1123 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1124 Remove instrumentation code.
1125
1126 2013-11-08 Glenn Morris <rgm@gnu.org>
1127
1128 * progmodes/autoconf.el (autoconf-mode):
1129 Tweak comment-start-skip. (Bug#15822)
1130
1131 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1132
1133 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1134 at bobp (bug#15826).
1135 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1136
1137 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1138
1139 * man.el (Man-start-calling): New macro, extracted from
1140 Man-getpage-in-background.
1141 (Man-getpage-in-background): Use it.
1142 (Man-update-manpage): New command.
1143 (Man-mode-map): Bind it.
1144
1145 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1146
1147 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1148 of "and", "or", "&&" and "||".
1149 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1150 argument. Prohibit opening curly brace because it could only be a
1151 block opener in that position.
1152 (ruby-smie--forward-token, ruby-smie--backward-token):
1153 Separate "|" from "&" or "*" going after it. That can happen in block
1154 arguments.
1155 (ruby-smie--indent-to-stmt): New function, seeks the end of
1156 previous statement or beginning of buffer.
1157 (ruby-smie-rules): Use it.
1158 (ruby-smie-rules): Check if there's a ":" before a curly block
1159 opener candidate; if there is, it's a hash.
1160
1161 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1162
1163 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1164 (cl--block-wrapper): Fix last accidental change.
1165
1166 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1167
1168 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1169 Instrument, in order to hunt failure on hydra.
1170
1171 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1172
1173 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1174 malformed bindings form (bug#15814).
1175
1176 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1177
1178 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1179 "." compared to " @ ". This incidentally fixes some indentation
1180 examples with "do".
1181 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1182 (ruby-smie-grammar): New tokens: "and" and "or".
1183 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1184 Exclude "and" and "or". Remove "do" in order to work around token
1185 priorities.
1186 (ruby-smie-rules): Add all infix tokens. Handle the case of
1187 beginning-of-buffer.
1188
1189 2013-11-06 Glenn Morris <rgm@gnu.org>
1190
1191 * Makefile.in (setwins_almost, setwins_for_subdirs):
1192 Avoid accidental matches.
1193
1194 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1195
1196 * menu-bar.el (popup-menu): Use key-binding.
1197
1198 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1199
1200 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1201 menus, support also the menus produced by minor modes.
1202 (Bug#15817)
1203
1204 2013-11-06 Leo Liu <sdl.web@gmail.com>
1205
1206 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1207 DISTANCE to bound the search. All uses changed. (Bug#15808)
1208
1209 2013-11-06 Glenn Morris <rgm@gnu.org>
1210
1211 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1212 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1213 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1214
1215 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1216
1217 * electric.el (electric-indent-just-newline): New command.
1218 (electric-indent-mode-map): New keymap.
1219 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1220 Re-add :group which weren't redundant.
1221
1222 * electric.el (electric-indent-local-mode): New minor mode.
1223 (electric-indent-functions-without-reindent): New var.
1224 (electric-indent-post-self-insert-function): Use it.
1225 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1226
1227 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1228
1229 * international/quail.el (quail-help): Be more explicit about the
1230 meaning of the labels shown on the keys. (Bug#15800)
1231
1232 * startup.el (normal-top-level): Load the subdirs.el files before
1233 setting the locale environment. (Bug#15805)
1234
1235 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1236
1237 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1238 via arguments so as to get the right ones (bug#15418).
1239
1240 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1241
1242 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1243
1244 Fix problems found while writing a test suite.
1245
1246 * net/tramp-compat.el (tramp-compat-load): New defun.
1247 * net/tramp.el (tramp-handle-load): Use it.
1248
1249 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1250 "(numberp ok-if-already-exists)" correctly.
1251
1252 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1253
1254 * international/characters.el (glyphless-char-display-control):
1255 Add usage note.
1256
1257 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1258
1259 * progmodes/python.el (python-mode):
1260 * progmodes/scheme.el (scheme-mode):
1261 * progmodes/prolog.el (prolog-mode):
1262 * progmodes/ruby-mode.el (ruby-mode):
1263 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1264 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1265
1266 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1267
1268 * rect.el (rectangle--highlight-for-redisplay):
1269 * emacs-lisp/smie.el (smie--next-indent-change):
1270 Use buffer-chars-modified-tick.
1271
1272 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1273
1274 * electric.el (electric-indent-post-self-insert-function):
1275 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1276
1277 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1278
1279 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1280
1281 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1282
1283 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1284 (bug#15786).
1285
1286 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1287
1288 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1289
1290 * progmodes/python.el: Fix up last change.
1291 (python-shell--save-temp-file): New function.
1292 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1293 `string' comes from the current buffer.
1294 (python-shell-send-string-no-output): Remove `msg' arg.
1295 (python--use-fake-loc): New var.
1296 (python-shell-buffer-substring): Obey it. Try to compensate for the
1297 extra coding line added by python-shell--save-temp-file.
1298 (python-shell-send-region): Use python-shell--save-temp-file and
1299 python-shell-send-file directly. Add `nomain' argument.
1300 (python-shell-send-buffer): Use python-shell-send-region.
1301 (python-electric-pair-string-delimiter): New function.
1302 (python-mode): Use it.
1303
1304 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1305
1306 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1307 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1308 environment and decoding all of the default-directory's to here
1309 from command-line.
1310 (command-line): Decode also argv[0].
1311
1312 * loadup.el: Error out if default-directory is a multibyte string
1313 when we are dumping.
1314
1315 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1316
1317 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1318
1319 * emacs-lisp/package.el (package-menu-mode)
1320 (package-menu--print-info, package-menu--archive-predicate):
1321 Add Archive column to package list.
1322
1323 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1324
1325 Fix problems found while writing a test suite.
1326
1327 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1328 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1329 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1330 to nil when running original file name handler. Otherwise,
1331 there are problems with constructs like "$$FOO".
1332
1333 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1334 for `localname'.
1335
1336 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1337
1338 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1339
1340 * subr.el (version<, version<=, version=):
1341 Update docstrings with information for snapshot versions.
1342
1343 * helpers.el: New library for misc helper functions.
1344 (hash-table-keys): New function returning a list of hash keys.
1345 (hash-table-values): New function returning a list of hash values.
1346
1347 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1348
1349 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1350 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1351
1352 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1353
1354 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1355 checking whether point is after a 1-letter word.
1356
1357 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1358
1359 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1360 Don't infloop when expanding region over `multiline' syntax-type that
1361 begins a line (bug#15778).
1362
1363 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1364
1365 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1366 Make it into a proper minor mode.
1367 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1368 (rectangle-mark-mode-map): New keymap.
1369 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1370
1371 2013-11-04 Glenn Morris <rgm@gnu.org>
1372
1373 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1374
1375 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1376
1377 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1378 (ruby-smie-rules): Use smie-rule-parent instead.
1379
1380 * emacs-lisp/smie.el (smie-rule-parent): Always call
1381 smie-indent-virtual rather than only for hanging tokens.
1382 (smie--next-indent-change): New helper command.
1383
1384 2013-11-03 Glenn Morris <rgm@gnu.org>
1385
1386 * Makefile.in (abs_srcdir): Remove.
1387 (emacs): Unset EMACSLOADPATH.
1388
1389 2013-11-02 Glenn Morris <rgm@gnu.org>
1390
1391 * Makefile.in (EMACS): Use a relative filename.
1392 (abs_top_builddir): Remove.
1393 (custom-deps, finder-data, autoloads): Use --chdir.
1394
1395 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1396
1397 Use relative filenames in TAGS files.
1398 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1399 (lisptagsfiles4, TAGS): Use relative file names.
1400 (TAGS-LISP): Remove.
1401 (maintainer-clean): No more TAGS-LISP file.
1402
1403 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1404 (lisptagsfiles4): Use absolute filenames again.
1405 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1406 Remove all *loaddefs files, not just the first. Remove esh-groups.
1407 (maintainer-clean): Delete TAGS, TAGS-LISP.
1408
1409 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1410
1411 * emacs-lisp/package.el (package-version-join):
1412 Recognize snapshot versions.
1413
1414 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1415
1416 * subr.el (version-regexp-alist): Add support for snapshot versions.
1417
1418 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1419
1420 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1421 New function, replacement for `smie-rule-parent' for when we want to
1422 skip over our direct parent if it's an assignment token..
1423 (ruby-smie-rules): Use it.
1424
1425 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1426
1427 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1428 unconditionally. Remove now unnecessary forward declarations.
1429 Remove XEmacs-specific setup.
1430 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1431 (ruby-font-lock-syntactic-keywords)
1432 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1433 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1434 (ruby-here-doc-end-syntax): Remove.
1435 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1436 defined as function.
1437
1438 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1439
1440 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1441
1442 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1443
1444 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1445 table and abbrev table, `define-derived-mode' does that for us
1446 anyway.
1447
1448 2013-11-01 Glenn Morris <rgm@gnu.org>
1449
1450 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1451 files is atomic for some time, so no parallel compilation issues).
1452
1453 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1454
1455 * faces.el (face-x-resources): Add :distant-foreground.
1456 (region): Use :distant-foreground for gtk and ns.
1457
1458 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1459
1460 Allow multiple bibliographies when BibLaTeX is used rather than
1461 BibTeX.
1462 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1463 (reftex-locate-bibliography-files): Us it.
1464
1465 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1466
1467 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1468 allow comments in pbm files.
1469
1470 * term/w32-win.el (dynamic-library-alist): Support newer versions
1471 of libjpeg starting with v7: look only for the DLL from the
1472 version against which Emacs was built.
1473 Support versions of libpng beyond 1.4.x.
1474 Support libtiff v4.x.
1475
1476 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1477
1478 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1479 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1480 Add property :safe.
1481 (ruby-deep-arglist): Add property :type.
1482
1483 2013-10-31 Glenn Morris <rgm@gnu.org>
1484
1485 * Makefile.in (custom-deps, finder-data): No need to setq the target
1486 variables, we are in the right directory and the defaults work fine.
1487
1488 2013-10-30 Glenn Morris <rgm@gnu.org>
1489
1490 * Makefile.in (autoloads): Do not use abs_lisp.
1491
1492 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1493 `newline' does not respect `standard-output', so use `princ'.
1494
1495 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1496
1497 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1498 * buff-menu.el (Buffer-menu--unmark): New function.
1499 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1500
1501 2013-10-30 Glenn Morris <rgm@gnu.org>
1502
1503 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1504
1505 * emacs-lisp/package.el (lm-homepage): Declare.
1506
1507 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1508 Fix doc typos.
1509
1510 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1511
1512 * Makefile.in (finder-data, autoloads, update-subdirs)
1513 (compile-main, compile-clean, compile-always, bootstrap-clean):
1514 Check return value of cd.
1515 (compile-calc): Remove.
1516
1517 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1518
1519 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1520
1521 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1522 (byte-compile-and-folded): New function.
1523 (=, <, >, <=, >=): Use it.
1524
1525 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1526 (path-separator, null-device, buffer-file-coding-system)
1527 (lpr-headers-switches): Check system-type before modifying them.
1528 (find-buffer-file-type-coding-system): Mark obsolete.
1529 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1530 find-file-not-found-set-buffer-file-coding-system.
1531 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1532 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1533 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1534 (w32-direct-print-region-helper, w32-direct-print-region-function)
1535 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1536 * startup.el (normal-top-level-add-subdirs-to-load-path):
1537 * ps-print.el (ps-print-region-function):
1538 * lpr.el (print-region-function): Use new name.
1539
1540 * subr.el (custom-declare-variable-early): Remove function.
1541 (custom-declare-variable-list): Remove var.
1542 (error, user-error): Remove `while' loop.
1543 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1544 (user-emacs-directory-warning, locate-user-emacs-file):
1545 Move to files.el.
1546 * simple.el (read-quoted-char-radix, read-quoted-char):
1547 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1548 Move from subr.el.
1549 * custom.el (custom-declare-variable-list): Don't process
1550 custom-declare-variable-list.
1551
1552 * progmodes/python.el (python-shell-get-buffer): New function.
1553 (python-shell-get-process): Use it.
1554 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1555 Python which encoding was used. Don't split-string since we only care
1556 about the first line. Return the temp-file, if applicable.
1557 (python-shell-send-region): Tell compile.el how to turn locations in
1558 the temp-file into locations in the source buffer.
1559
1560 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1561
1562 * subr.el (undefined): Add missing behavior from the C code for
1563 unbound keys.
1564
1565 * rect.el: Use lexical-binding. Add new rectangular region support.
1566 (rectangle-mark): New command.
1567 (rectangle--region): New var.
1568 (deactivate-mark-hook): Reset rectangle--region.
1569 (rectangle--extract-region, rectangle--insert-for-yank)
1570 (rectangle--highlight-for-redisplay)
1571 (rectangle--unhighlight-for-redisplay): New functions.
1572 (region-extract-function, redisplay-unhighlight-region-function)
1573 (redisplay-highlight-region-function): Use them to handle
1574 rectangular region.
1575 * simple.el (region-extract-function): New var.
1576 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1577 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1578 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1579 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1580 (redisplay-unhighlight-region-function)
1581 (redisplay-highlight-region-function): New vars.
1582 (redisplay--update-region-highlight): New function.
1583 (pre-redisplay-function): Use it.
1584 (exchange-point-and-mark): Don't deactivate the mark before
1585 reactivate-it anyway.
1586 * comint.el (comint-kill-region): Remove yank-handler argument.
1587 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1588 (delete-char): Remove property, since it's now part of their
1589 default behavior.
1590 (self-insert-iso): Remove property since this command doesn't exist.
1591
1592 * emacs-lisp/package.el (package--download-one-archive)
1593 (describe-package-1): Don't query the user about final newline.
1594
1595 2013-10-29 Daniel Colascione <dancol@dancol.org>
1596
1597 * net/tramp.el (tramp-methods): Document new functionality.
1598 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1599 tramp-hostname-checker if method provides one instead of scanning
1600 argument list for "%h" to decide hostname acceptability.
1601
1602 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1603
1604 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1605 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1606 Handle COPY-CONTENTS. (Bug#15737)
1607
1608 2013-10-28 Daiki Ueno <ueno@gnu.org>
1609
1610 * epa-file.el
1611 (epa-file-cache-passphrase-for-symmetric-encryption):
1612 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1613
1614 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1615
1616 * image.el (defimage):
1617 (image-load-path): Doc fixes.
1618
1619 2013-10-27 Alan Mackenzie <acm@muc.de>
1620
1621 Indent statements in macros following "##" correctly.
1622 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1623 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1624
1625 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1626
1627 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1628
1629 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1630
1631 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1632 after `=' is probably a new expression.
1633
1634 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1635
1636 * man.el (man-imenu-title): New option.
1637 (Man-mode-map): Add menu. (Bug#15722)
1638 (Man-mode): Add imenu to menu.
1639
1640 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1641
1642 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1643 specific in what the first arg can be: a non-keyword word,
1644 string/regexp/percent literal opener, opening paren, or unary
1645 operator followed directly by word.
1646
1647 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1648
1649 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1650 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1651 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1652 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1653 Remove vars, they do not apply any more.
1654 (prolog-mode-abbrev-table): Remove redundant declaration.
1655 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1656 (prolog-use-smie): Remove.
1657 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1658 supported by prolog-electric-if-then-else-flag.
1659 (prolog-mode-variables, prolog-menu): Use setq-local.
1660 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1661 Remove binding to `Backspace' since this key doesn't exist anyway.
1662 Remove bindings for electric self-inserting keys.
1663 (prog-mode): Assume it's defined.
1664 (prolog-post-self-insert): New function.
1665 (prolog-mode): Use it.
1666 (prolog-indent-line, prolog-indent-level)
1667 (prolog-find-indent-of-matching-paren)
1668 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1669 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1670 (prolog-goto-next-paren, prolog-in-string-or-comment)
1671 (prolog-tokenize, prolog-inside-mline-comment)
1672 (prolog-find-start-of-mline-comment): Remove functions.
1673 (prolog-find-unmatched-paren, prolog-clause-end)
1674 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1675 (prolog-electric--if-then-else): Rename from
1676 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1677 (prolog-tokenize-searchkey): Remove const.
1678 (prolog-clause-info): Use forward-sexp.
1679 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1680 (prolog-electric-if-then-else): Remove commands.
1681 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1682 for use in post-self-insert-hook.
1683 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1684 for use in post-self-insert-hook.
1685 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1686 for use in post-self-insert-hook.
1687 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1688 adapt it for use in post-self-insert-hook.
1689
1690 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1691
1692 * emacs-lisp/ert.el (ert-run-tests-interactively):
1693 Use `completing-read'. (Bug#9756)
1694
1695 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1696
1697 * simple.el (line-move): Call line-move-1 instead of
1698 line-move-visual when the current window hscroll is zero, but
1699 temporary-goal-column indicates we will need to hscroll as result
1700 of the movement. (Bug#15712)
1701
1702 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1703
1704 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1705 capitalization. Use :visible instead of :active.
1706 Fix `ruby-indent-exp' reference. Add menu items for the generic
1707 commands that are used with SMIE.
1708 (ruby-do-end-to-brace): Insert space after `{'.
1709
1710 2013-10-25 John Anthony <john@jo.hnanthony.com>
1711
1712 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1713
1714 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1715
1716 2013-10-25 Glenn Morris <rgm@gnu.org>
1717
1718 * vc/vc.el (vc-print-log): Don't use a working revision unless
1719 one was explicitly specified. (Bug#15322)
1720
1721 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1722
1723 * subr.el (add-to-list): Preserve return value in compiler-macro
1724 (bug#15692).
1725
1726 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1727
1728 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1729 result. Ask user to retry using '-all' flag. (Bug#15701)
1730
1731 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1732
1733 * emacs-lisp/smie.el: New smie-config system.
1734 (smie-config): New defcustom.
1735 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1736 (smie-config-guess, smie-config-save): New commands.
1737 (smie-config--mode-local, smie-config--buffer-local)
1738 (smie-config--trace, smie-config--modefuns): New vars.
1739 (smie-config--advice, smie-config--mode-hook)
1740 (smie-config--setter, smie-config-local, smie-config--get-trace)
1741 (smie-config--guess-value, smie-config--guess): New functions.
1742 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1743 text properties. Treat "string fence" syntax like string syntax.
1744
1745 * progmodes/sh-script.el (sh-use-smie): Change default.
1746 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1747 (sh-var-value): Simplify by CSE.
1748 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1749 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1750 is used.
1751 (sh-guess-basic-offset): Use cl-incf.
1752 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1753
1754 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1755
1756 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1757 (bug#15699).
1758
1759 2013-10-24 Glenn Morris <rgm@gnu.org>
1760
1761 * Makefile.in (abs_top_srcdir): Remove.
1762 (update-subdirs): Use relative path to update-subdirs.
1763
1764 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1765
1766 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1767 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1768 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1769 Call unmsys--file-name before expand-file-name, not after it.
1770
1771 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1772
1773 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1774 (ert-test-skipped): New error.
1775 (ert-skip, ert-stats-skipped): New defuns.
1776 (ert--skip-unless): New macro.
1777 (ert-test-skipped): New struct.
1778 (ert--run-test-debugger, ert-test-result-type-p)
1779 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1780 (ert--stats-set-test-and-result, ert-char-for-test-result)
1781 (ert-string-for-test-result, ert-run-tests-batch)
1782 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1783 Handle skipped tests. (Bug#9803)
1784
1785 2013-10-24 Glenn Morris <rgm@gnu.org>
1786
1787 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1788
1789 * Makefile.in (abs_top_srcdir): New, set by configure.
1790 (update-subdirs): Correct build-aux location.
1791
1792 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1793
1794 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1795 value, whether we could auto-deduce `backend', or not.
1796
1797 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1798 with parameters" example. Simplify the "is it block or is it
1799 hash" check, but also make it more thorough.
1800
1801 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1802
1803 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1804
1805 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1806
1807 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1808 { if it is hanging.
1809
1810 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1811 :before ";".
1812
1813 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1814
1815 * progmodes/compile.el (compilation-directory-matcher)
1816 (compilation-page-delimiter):
1817 Support GNU Make-4.0 directory quoting. (Bug#15678)
1818
1819 2013-10-23 Leo Liu <sdl.web@gmail.com>
1820
1821 * ido.el (ido-tidy): Handle read-only text.
1822
1823 2013-10-23 Glenn Morris <rgm@gnu.org>
1824
1825 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1826 (emacs, compile, compile-always):
1827 Quote entities that might contain whitespace.
1828 (custom-deps, finder-data, autoloads): Use abs_lisp.
1829 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1830 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1831 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1832
1833 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1834
1835 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1836 Use `following-char'.
1837
1838 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1839
1840 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1841 * progmodes/ruby-mode.el (ruby-smie-rules):
1842 Remove corresponding workaround. Fix indentation rule of ";" so it
1843 also applies when ";" is the parent.
1844
1845 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1846
1847 * frame.el (display-screens, display-pixel-height)
1848 (display-pixel-width, display-mm-width, display-backing-store)
1849 (display-save-under, display-planes, display-color-cells)
1850 (display-visual-class, display-monitor-attributes-list):
1851 Mention the optional ‘display’ argument in doc strings.
1852
1853 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1854
1855 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1856 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1857
1858 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1859
1860 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1861 TODO. Add "." after " @ ".
1862 (ruby-smie--at-dot-call): New function. Checks if point at method
1863 call with explicit target.
1864 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1865 to the method name tokens when it precedes them.
1866 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1867 (ruby-smie-rules): Add rule for indentation before and after "."
1868 token.
1869
1870 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1871
1872 * textmodes/remember.el (remember-diary-extract-entries):
1873 Avoid add-to-list.
1874
1875 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1876 an instruction.
1877
1878 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1879
1880 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1881 (ruby-smie--implicit-semi-p): Add new operator chars.
1882
1883 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1884 `smie-down-list'.
1885 (ruby-smie--args-separator-p): Check that there's no newline
1886 between method call and its arguments.
1887
1888 2013-10-20 Alan Mackenzie <acm@muc.de>
1889
1890 Allow comma separated lists after Java "implements".
1891
1892 * progmodes/cc-engine.el (c-backward-over-enum-header):
1893 Parse commas.
1894 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1895 from a "disallowed" list in enum fontification.
1896
1897 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1898
1899 * startup.el (default-frame-background-mode): Remove unused defvar.
1900
1901 * progmodes/verilog-mode.el (verilog-mode): Don't set
1902 comment-indent-function globally.
1903
1904 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1905
1906 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1907 Move Info menu item creation to ns-win.el.
1908
1909 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1910 in menu bar.
1911
1912 * menu-bar.el: Move GNUStep specific menus...
1913
1914 * term/ns-win.el (ns-initialize-window-system): ... to here.
1915
1916 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1917
1918 * simple.el (newline): Only run post-self-insert-hook when
1919 called interactively.
1920
1921 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1922
1923 * icomplete.el (icomplete-with-completion-tables): Add :version.
1924
1925 2013-10-19 Alan Mackenzie <acm@muc.de>
1926
1927 Fix fontification bugs with constructors and const.
1928
1929 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1930 CASE 2) Remove the check for the absence of a suffix construct
1931 after a function declaration with only types (no identifiers) in
1932 the parentheses. Also, accept a function declaration with just a
1933 type inside the parentheses, if this type can be positively
1934 recognised as such, or if a prefix keyword like "explicit" nails
1935 down the construct as a declaration.
1936
1937 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1938
1939 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1940 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1941 the problem whereby selecting a menu item that leads to a
1942 minibuffer prompt moves the cursor out of the minibuffer window,
1943 making it hard to type at the prompt. Suggested by Stefan Monnier
1944 <monnier@iro.umontreal.ca>.
1945
1946 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1947
1948 * menu-bar.el: Don't make Services menu.
1949
1950 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1951
1952 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1953 (ffap-alist): Use ffap-c++-mode for c++-mode.
1954 (ffap-c++-path): New variable.
1955 (ffap-c++-mode): New function.
1956
1957 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1958
1959 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1960
1961 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1962
1963 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1964 introduced on 2013-09-08, which results in an infinite loop
1965 requesting a password.
1966
1967 2013-10-18 Glenn Morris <rgm@gnu.org>
1968
1969 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1970
1971 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1972
1973 Sync with upstream verilog-mode revision 1a6ecec7.
1974 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1975 (verilog-mode-release-date): Remove.
1976 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1977 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1978 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1979 (verilog-auto-tieoff-ignore-regexp)
1980 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1981 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1982 (verilog-signals-with, verilog-dir-cache-preserving)
1983 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1984 Doc fixes.
1985 (verilog-case-fold): New option, to control case folding in
1986 regexp searches, bug597.
1987 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1988 (verilog-string-match-fold, verilog-in-paren-count)
1989 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1990 (verilog-at-close-struct-p): New functions.
1991 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1992 (verilog-forward-sexp, verilog-set-auto-endcomments):
1993 (verilog-leap-to-case-head): Handle "unique0" case.
1994 (verilog-in-constraint-re): New constant.
1995 (verilog-keywords, verilog-type-font-keywords):
1996 Add some SystemVerilog 1800-2012 keywords.
1997 (verilog-label-be): Remove unimplemented argument, bug669.
1998 (verilog-batch-execute-func): When batch expanding clear
1999 create-lockfiles to prevent spurious user locks when a file ends
2000 up not changing.
2001 (verilog-calculate-indent, verilog-calc-1)
2002 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2003 (verilog-do-indent): Fix indentation of nested constraints
2004 and structures.
2005 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2006 (verilog-auto-inst-param): Use verilog-string-match-fold.
2007 (verilog-read-inst-module-matcher):
2008 Fix AUTOINST on gate primitives with #1.
2009 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2010 Reads all user-defined typed variables.
2011 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2012 (verilog-signals-matching-regexp)
2013 (verilog-signals-not-matching-regexp, verilog-auto):
2014 Respect verilog-case-fold.
2015 (verilog-diff-report): Fix line count.
2016 (verilog-auto-assign-modport): Remove unused local `modi'.
2017 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2018 better handle multidimensional arrays.
2019 Fix packed array ports misadding bit index in AUTOINST, bug637.
2020 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2021 to not double-declare existing outputs and inputs, respectively.
2022 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2023 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2024 (verilog-sk-uvm-component): New skeleton.
2025 (verilog-submit-bug-report): Add verilog-case-fold,
2026 remove verilog-mode-release-date.
2027
2028 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2029
2030 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2031 as before.
2032
2033 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2034
2035 * textmodes/remember.el (remember): set buffer-offer-save in
2036 remember buffers (bug#13566).
2037
2038 2013-10-18 Daniel Colascione <dancol@dancol.org>
2039
2040 When evaluating forms in ielm, direct standard output to ielm
2041 buffer. Add new ielm-return-for-effect command. Remove trailing
2042 whitespace throughout.
2043
2044 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2045 (ielm-return-for-effect): New command.
2046 (ielm-send-input): Accept optional `for-effect' parameter.
2047 (ielm-eval-input): Accept optional `for-effect' parameter.
2048 Bind `standard-output' to stream we create using
2049 `ielm-standard-output-impl'. Suppress printing result when
2050 `for-effect'.
2051 (ielm-standard-output-impl): New function.
2052 (inferior-emacs-lisp-mode): Explain new features in documentation.
2053
2054 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2055
2056 Code cleanup.
2057
2058 * net/tramp.el (tramp-debug-message): Do not check for connection
2059 buffer.
2060 (tramp-message): Use "vector" connection property.
2061
2062 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2063 (tramp-equal-remote, tramp-eshell-directory-change)
2064 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2065 (tramp-adb-handle-rename-file)
2066 * net/tramp-cmds.el (tramp-list-remote-buffers)
2067 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2068 * net/tramp-compat.el (tramp-compat-process-running-p)
2069 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2070 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2071 (tramp-gvfs-handle-rename-file)
2072 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2073 (tramp-set-file-uid-gid)
2074 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2075 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2076 of `file-remote-p'.
2077
2078 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2079 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2080 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2081 (tramp-gw-open-network-stream): Suppress unrelated traces.
2082
2083 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2084 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2085 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2086 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2087 connection property.
2088
2089 * net/tramp-cache.el (top): Suppress traces when reading
2090 persistency file.
2091
2092 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2093 Refactor common code. Improve debug message.
2094 (tramp-maybe-open-connection)
2095 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2096 connection buffer too early.
2097
2098 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2099 from `tramp-smb-actions-with-acl'.
2100 (tramp-smb-actions-set-acl): New defconst.
2101 (tramp-smb-handle-copy-directory)
2102 (tramp-smb-action-get-acl): New defun, renamed from
2103 `tramp-smb-action-with-acl'.
2104 (tramp-smb-action-set-acl): New defun.
2105 (tramp-smb-handle-set-file-acl): Rewrite.
2106
2107 2013-10-17 Glenn Morris <rgm@gnu.org>
2108
2109 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2110
2111 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2112
2113 * skeleton.el (skeleton-newline): Remove.
2114 (skeleton-internal-1): Use (insert "\n") instead.
2115
2116 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2117 let-bindings.
2118
2119 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2120 forward-sexp-function while we redo its job (bug#15613).
2121
2122 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2123
2124 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2125 represented by lists.
2126
2127 2013-10-16 Glenn Morris <rgm@gnu.org>
2128
2129 * tmm.el (tmm--history): New dynamic variable.
2130 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2131
2132 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2133
2134 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2135 (tramp-smb-errors): Add error messages.
2136 (tramp-smb-actions-with-acl): New defconst.
2137 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2138 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2139 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2140 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2141 (tramp-smb-get-stat-capability): Fix tests.
2142
2143 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2144
2145 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2146 (bug#15580).
2147
2148 2013-10-16 Glenn Morris <rgm@gnu.org>
2149
2150 * ansi-color.el (ansi-color-drop-regexp):
2151 Add 1J, 1K, 2K. (Bug#15617)
2152
2153 * files.el (hack-local-variables--warned-lexical): New.
2154 (hack-local-variables):
2155 Warn about misplaced lexical-binding. (Bug#15616)
2156
2157 * net/eww.el (eww-render): Always set eww-current-url,
2158 and update header line. (Bug#15622)
2159 (eww-display-html): ... Rather than just doing it here.
2160
2161 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2162
2163 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2164 menu navigations commands.
2165
2166 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2167
2168 * progmodes/subword.el (subword-capitalize): Be careful when
2169 the search for [[:alpha:]] fails (bug#15580).
2170
2171 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2172
2173 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2174 to commands that scroll the menu.
2175
2176 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2177
2178 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2179 Handle methods ending with `?' and `!'.
2180
2181 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2182
2183 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2184 `japanese-cp932' to `cp932' to fix the problem where saving a
2185 source file written in Shift_JIS twice would end up having
2186 `coding: japanese-cp932' which Ruby could not recognize.
2187 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2188 in `ruby-encoding-map'.
2189 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2190 doesn't need to be explicitly declared in magic comment.
2191 (ruby-encoding-map): Add type declaration for better customize UI.
2192
2193 2013-10-13 Glenn Morris <rgm@gnu.org>
2194
2195 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2196 Occur buffers are read-only. http://bugs.debian.org/720775
2197
2198 * emacs-lisp/authors.el (authors-fixed-entries):
2199 Comment out old alpha stuff.
2200
2201 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2202
2203 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2204 to `after-save-hook' instead of `before-save-hook'.
2205 (ruby-mode-set-encoding): Use the value of coding system used to
2206 write the file. Call `basic-save-buffer-1' after modifying the
2207 buffer.
2208
2209 2013-10-13 Alan Mackenzie <acm@muc.de>
2210
2211 Fix indentation/fontification of Java enum with
2212 "implements"/generic.
2213
2214 * progmodes/cc-engine.el (c-backward-over-enum-header):
2215 Extracted from the three other places and enhanced to handle generics.
2216 (c-inside-bracelist-p): Uses new function above.
2217 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2218 function above.
2219 (c-font-lock-enum-tail): Uses new function above.
2220
2221 2013-10-13 Kenichi Handa <handa@gnu.org>
2222
2223 * international/mule-cmds.el (select-safe-coding-system): Remove a
2224 superfluous condition in chekcing whether a coding system is safe
2225 or not.
2226
2227 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2228
2229 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2230
2231 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2232
2233 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2234
2235 2013-10-13 Glenn Morris <rgm@gnu.org>
2236
2237 * menu-bar.el (menu-bar-update-buffers):
2238 Unify Buffers menu prompt string. (Bug#15576)
2239
2240 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2241
2242 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2243 Add some entries.
2244 (authors-fixed-entries): Use accented form of name.
2245
2246 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2247
2248 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2249 method calls (bug#15594).
2250 (ruby-smie--args-separator-p): New function.
2251 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2252 recognize paren-free method calls.
2253
2254 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2255 internals of universal-argument.
2256
2257 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2258
2259 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2260 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2261 dropped menu on second mouse click on the menu bar.
2262
2263 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2264
2265 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2266 (explicit-shell-file-name): Declare.
2267 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2268 (sh-completion-at-point-function): New function.
2269 (sh-mode): Use it.
2270 (sh-smie--keyword-p): Remove unused argument.
2271 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2272 vars.
2273 (sh-set-shell): Always setup SMIE, even if we use the
2274 old indentation code.
2275
2276 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2277
2278 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2279 cases of ? and =.
2280 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2281 predicate would return nil are almost non-existent.
2282 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2283
2284 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2285 cache also after commands that modify the buffer but don't move
2286 point.
2287
2288 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2289
2290 * env.el (substitute-env-in-file-name): New function.
2291 (substitute-env-vars): Extend the meaning of the optional arg.
2292
2293 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2294
2295 * term/w32-win.el (dynamic-library-alist): Define separate lists
2296 of GIF DLLs for versions before and after 5.0.0 of giflib.
2297 (Bug#15531)
2298
2299 2013-10-10 João Távora <joaotavora@gmail.com>
2300
2301 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2302 not locked, use last revision and current source as
2303 defaults. (Bug#15569)
2304
2305 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2306
2307 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2308 menu-bar is hidden.
2309
2310 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2311
2312 * window.el (pop-to-buffer-same-window): Fix doc-string.
2313 (Bug#15492)
2314
2315 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2316
2317 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2318
2319 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2320
2321 * calendar/icalendar.el (icalendar-import-file):
2322 Fix interactive spec. (Bug#15482)
2323
2324 2013-10-10 Glenn Morris <rgm@gnu.org>
2325
2326 * desktop.el (desktop-save): Default to saving in .emacs.d,
2327 since PWD is no longer in desktop-path by default. (Bug#15319)
2328
2329 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2330 now that text mode has a menu with the same entry.
2331 (menu-bar-text-mode-auto-fill): Remove now unused func.
2332 * textmodes/text-mode.el (text-mode-map):
2333 Use auto-fill help text from menu-bar.el.
2334
2335 2013-10-10 John Anthony <john@jo.hnanthony.com>
2336
2337 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2338
2339 2013-10-09 Juri Linkov <juri@jurta.org>
2340
2341 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2342 instead of this-command-keys. Add universal-argument-more and
2343 universal-argument-minus to the list of prefix commands. (Bug#15568)
2344
2345 2013-10-09 Glenn Morris <rgm@gnu.org>
2346
2347 * vc/vc-svn.el (vc-svn-create-repo):
2348 Expand paths in file://... url. (Bug#15446)
2349
2350 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2351 Add some entries.
2352 (authors): Remove unused local variables.
2353
2354 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2355
2356 * profiler.el: Create a more coherent calltree from partial backtraces.
2357 (profiler-format): Hide the tail with `invisible' so that C-s can still
2358 find the hidden elements.
2359 (profiler-calltree-depth): Don't recurse so enthusiastically.
2360 (profiler-function-equal): New hash-table-test.
2361 (profiler-calltree-build-unified): New function.
2362 (profiler-calltree-build): Use it.
2363 (profiler-report-make-name-part): Indent the calltree less.
2364 (profiler-report-mode): Add visibility specs for profiler-format.
2365 (profiler-report-expand-entry, profiler-report-toggle-entry):
2366 Expand the whole subtree when provided with a prefix arg.
2367
2368 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2369
2370 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2371 iuwu-mod token.
2372 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2373 hanging iuwu-mod token.
2374 (ruby-smie--forward-token): Do not include a dot after a token in
2375 that token.
2376 (ruby-smie--backward-token): Likewise.
2377
2378 2013-10-08 Juri Linkov <juri@jurta.org>
2379
2380 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2381 to isearch-other-control-char.
2382 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2383 and isearch-post-command-hook to post-command-hook.
2384 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2385 and isearch-post-command-hook from post-command-hook.
2386 (isearch-unread-key-sequence)
2387 (isearch-reread-key-sequence-naturally)
2388 (isearch-lookup-scroll-key, isearch-other-control-char)
2389 (isearch-other-meta-char): Remove functions.
2390 (isearch-pre-command-hook, isearch-post-command-hook):
2391 New functions based on isearch-other-meta-char rewritten
2392 relying on the new behavior of overriding-terminal-local-map
2393 that does not replace the local keymaps any more. (Bug#15200)
2394
2395 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2396
2397 Support menus on text-mode terminals.
2398 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2399 functionality.
2400
2401 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2402
2403 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2404 Move here from mouse.el.
2405 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2406 and arrow keys.
2407 (tty-menu-navigation-map): New map for TTY menu navigation.
2408
2409 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2410
2411 * frame.el (display-mouse-p): Report text-mode mouse as available
2412 on w32.
2413 (display-popup-menus-p): Report availability if mouse is
2414 available; don't condition on window-system.
2415
2416 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2417 (tty-menu-selected-face): New faces.
2418
2419 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2420
2421 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2422 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2423 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2424 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2425 New constants.
2426 (lisp-mode-variables): New `elisp' argument.
2427 (emacs-lisp-mode): Use it.
2428 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2429 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2430
2431 * indent.el: Use lexical-binding.
2432 (indent-region): Add progress reporter.
2433 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2434 last step.
2435 (indent--next-tab-stop): New function to implement this behavior.
2436 (tab-to-tab-stop, move-to-tab-stop): Use it.
2437
2438 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2439
2440 * indent.el (indent-rigidly--current-indentation): New function.
2441 (indent-rigidly-map): New var.
2442 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2443
2444 2013-10-08 Bastien Guerry <bzg@gnu.org>
2445
2446 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2447
2448 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2449
2450 * progmodes/perl-mode.el: Use lexical-binding.
2451 Remove redundant :group args.
2452 (perl-nochange): Change default to be closer to other major modes's
2453 standard behavior.
2454 (perl-indent-line): Don't consider text on current line as a
2455 valid beginning of function from which to indent.
2456
2457 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2458 with more than one argument (bug#15538).
2459
2460 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2461
2462 * vc/pcvs.el: Use lexical-binding.
2463 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2464 environment of `eval'.
2465 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2466 than a list of expressions. Adjust callers.
2467 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2468
2469 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2470
2471 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2472 case of the dot in a chained method call being on the following line.
2473
2474 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2475
2476 * electric.el (electric-indent-inhibit): New var.
2477 (electric-indent-post-self-insert-function): Use it.
2478 * progmodes/python.el (python-mode): Set it.
2479
2480 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2481 open braces.
2482
2483 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2484
2485 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2486 (css-mode): Use electric-indent-chars.
2487
2488 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2489 (font-lock-beg, font-lock-end): Move before first use.
2490 (nxml-mode): Use syntax-propertize-function.
2491 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2492 (nxml-extend-after-change-region): Remove.
2493 * nxml/xmltok.el: Use lexical-binding.
2494 (xmltok-save): Use `declare'.
2495 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2496 * nxml/nxml-util.el: Use lexical-binding.
2497 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2498 Use `declare'.
2499 * nxml/nxml-ns.el: Use lexical-binding.
2500 (nxml-ns-save): Use `declare'.
2501 (nxml-ns-prefixes-for): Avoid add-to-list.
2502 * nxml/rng-match.el: Use lexical-binding.
2503 (rng--ipattern): Use cl-defstruct.
2504 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2505 (rng-cons-group-after, rng-subst-group-after)
2506 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2507 Use closures instead of `(lambda...).
2508
2509 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2510
2511 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2512 of BEG and END.
2513
2514 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2515 Use `tramp-handle-insert-file-contents'.
2516 (tramp-gvfs-handle-insert-file-contents): Remove function.
2517
2518 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2519 Use `save-restriction' in order to keep markers.
2520
2521 * net/trampver.el: Update release number.
2522
2523 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2524
2525 * progmodes/compile.el (compilation-parse-errors):
2526 Use compilation--put-prop.
2527 (compilation--ensure-parse): Check compilation-multiline.
2528
2529 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2530
2531 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2532 lexical-binding.
2533
2534 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2535
2536 * progmodes/ruby-mode.el: Fix recently added tests.
2537 (ruby-smie-grammar): Add - and +.
2538 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2539 (ruby-smie--backward-id): New functions.
2540 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2541 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2542 any more.
2543
2544 2013-10-07 Leo Liu <sdl.web@gmail.com>
2545
2546 * register.el (register-preview-delay)
2547 (register-preview-functions): New variables.
2548 (register-read-with-preview, register-preview)
2549 (register-describe-oneline): New functions.
2550 (point-to-register, window-configuration-to-register)
2551 (frame-configuration-to-register, jump-to-register)
2552 (number-to-register, view-register, insert-register)
2553 (copy-to-register, append-to-register, prepend-to-register)
2554 (copy-rectangle-to-register): Use register-read-with-preview to
2555 read register. (Bug#15525)
2556
2557 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2558
2559 * net/network-stream.el (network-stream-open-starttls): Don't add
2560 --insecure if it's already present, because that gnutls-cli
2561 rejects getting that parameter twice.
2562
2563 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2564
2565 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2566 keyword, too.
2567
2568 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2569
2570 * newcomment.el (comment-use-global-state): Change default value
2571 to t, mark obsolete (Bug#15251).
2572 (comment-beginning): In addition to `comment-to-syntax', check the
2573 value of `comment-use-global-state'.
2574
2575 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2576
2577 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2578 (ruby-comment-column): Follow the global default, by default.
2579 (ruby-smie-grammar): Add assignment syntax.
2580 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2581 open-paren, a comma, or a \.
2582 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2583 and line continuations.
2584 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2585 followed by implicit semi-colons. Add rule for string concatenation
2586 and for indentation at BOB.
2587 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2588
2589 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2590 calling next-sexp, since next-token may have skipped chars which
2591 next-sexp doesn't know should be skipped!
2592
2593 2013-10-05 Leo Liu <sdl.web@gmail.com>
2594
2595 * progmodes/octave.el (octave-send-region):
2596 Call compilation-forget-errors.
2597
2598 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2599
2600 * vc/vc-svn.el (vc-svn-find-admin-dir):
2601 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2602 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2603 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2604 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2605
2606 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2607
2608 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2609
2610 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2611
2612 * subr.el (read-passwd): Hide chars even when called within a context
2613 where after-change-functions is disabled (bug#15501).
2614 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2615 until we removed ourself from overriding-terminal-local-map.
2616
2617 2013-10-04 Leo Liu <sdl.web@gmail.com>
2618
2619 * progmodes/octave.el (inferior-octave-mode):
2620 Call compilation-forget-errors.
2621
2622 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2623
2624 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2625
2626 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2627
2628 * net/secrets.el (secrets-create-collection): Add optional
2629 argument ALIAS. Use proper Label keyword. Append ALIAS as
2630 dbus-call-method argument. (Bug#15516)
2631
2632 2013-10-04 Leo Liu <sdl.web@gmail.com>
2633
2634 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2635 (inferior-octave-compilation-font-lock-keywords): New variables.
2636 (compilation-error-regexp-alist)
2637 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2638 (inferior-octave-mode): Use compilation-shell-minor-mode.
2639
2640 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2641
2642 * minibuffer.el (completion--replace): Be careful that `end' might be
2643 a marker.
2644
2645 2013-10-03 Daiki Ueno <ueno@gnu.org>
2646
2647 Add support for package signature checking.
2648 * emacs-lisp/package.el (url-http-file-exists-p)
2649 (epg-make-context, epg-context-set-home-directory)
2650 (epg-verify-string, epg-context-result-for)
2651 (epg-signature-status, epg-signature-to-string)
2652 (epg-check-configuration, epg-configuration)
2653 (epg-import-keys-from-file): Declare.
2654 (package-check-signature): New user option.
2655 (package-unsigned-archives): New user option.
2656 (package-desc): Add `signed' field.
2657 (package-load-descriptor): Set `signed' field if .signed file exists.
2658 (package--archive-file-exists-p): New function.
2659 (package--check-signature): New function.
2660 (package-install-from-archive): Check package signature.
2661 (package--download-one-archive): Check archive signature.
2662 (package-delete): Remove .signed file.
2663 (package-import-keyring): New command.
2664 (package-refresh-contents): Import default keyring.
2665 (package-desc-status): Add "unsigned" status.
2666 (describe-package-1, package-menu--print-info)
2667 (package-menu-mark-delete, package-menu--find-upgrades)
2668 (package-menu--status-predicate): Support "unsigned" status.
2669
2670 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2671
2672 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2673 the new compilation scheme using the new byte-codes.
2674
2675 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2676 (byte-pophandler): New byte codes.
2677 (byte-goto-ops): Adjust accordingly.
2678 (byte-compile--use-old-handlers): New var.
2679 (byte-compile-catch): Use new byte codes depending on
2680 byte-compile--use-old-handlers.
2681 (byte-compile-condition-case--old): Rename from
2682 byte-compile-condition-case.
2683 (byte-compile-condition-case--new): New function.
2684 (byte-compile-condition-case): New function that dispatches depending
2685 on byte-compile--use-old-handlers.
2686 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2687 when we can.
2688
2689 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2690 Optimize under `condition-case' and `catch' if
2691 byte-compile--use-old-handlers is nil.
2692 (disassemble-offset): Handle new bytecodes.
2693
2694 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2695
2696 * subr.el (error): Use `declare'.
2697 (decode-char, encode-char): Use advertised-calling-convention instead
2698 of the docstring to discourage use of the `restriction' arg.
2699
2700 2013-10-03 Daiki Ueno <ueno@gnu.org>
2701
2702 * epg.el (epg-verify-file): Add a comment saying that it does not
2703 notify verification error as a return value nor a signal.
2704 (epg-verify-string): Ditto.
2705
2706 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2707
2708 * progmodes/compile.el (compilation-start): Try globbing the arg to
2709 `cd' (bug#15417).
2710
2711 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2712
2713 Sync with Tramp 2.2.8.
2714
2715 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2716 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2717 * net/trampver.el: Update release number.
2718
2719 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2720
2721 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2722 and default-process-coding-system for darwin only.
2723
2724 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2725
2726 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2727
2728 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2729
2730 * vc/vc-git.el (vc-git-grep): Disable pager.
2731
2732 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2733
2734 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2735 Use :url instead of :homepage, as per
2736 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2737
2738 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2739 non-nil, use `syntax-ppss' (Bug#15251).
2740
2741 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2742
2743 * progmodes/octave.el (inferior-octave-startup-file):
2744 Prefer ~/.emacs.d/init_octave.m.
2745
2746 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2747
2748 * emacs-lisp/package.el (package-desc-from-define):
2749 Accept additional arguments as plist, convert them to an alist and store
2750 them in the `extras' slot.
2751 (package-generate-description-file): Convert extras alist back to
2752 plist and append to the `define-package' form arguments.
2753 (package--alist-to-plist): New function.
2754 (package--ac-desc): Add `extras' slot.
2755 (package--add-to-archive-contents): Check if the archive-contents
2756 vector is long enough, and if it is, pass its `extras' slot value
2757 to `package-desc-create'.
2758 (package-buffer-info): Call `lm-homepage', pass the returned value
2759 to `package-desc-from-define'.
2760 (describe-package-1): Render the homepage button (Bug#13291).
2761
2762 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2763 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2764
2765 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2766
2767 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2768 and default-process-coding-system to utf-8-unix (Bug#15402).
2769
2770 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2771
2772 * subr.el (looking-back): Do not recommend using looking-back.
2773
2774 2013-09-28 Alan Mackenzie <acm@muc.de>
2775
2776 Fix indentation/fontification of Java enum with "implements".
2777
2778 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2779 regexp which matches "implements", etc., in Java.
2780 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2781 specifier clauses coming after "enum".
2782 * progmodes/cc-fonts.el (c-font-lock-declarations)
2783 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2784 after "enum".
2785
2786 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2787
2788 * faces.el (region): Change ns_selection_color to
2789 ns_selection_fg_color, add ns_selection_bg_color.
2790
2791 2013-09-28 Leo Liu <sdl.web@gmail.com>
2792
2793 * progmodes/octave.el (inferior-octave-completion-table)
2794 (inferior-octave-completion-at-point): Minor tweaks.
2795
2796 * textmodes/ispell.el (ispell-lookup-words): Rename from
2797 lookup-words. (Bug#15460)
2798 (lookup-words): Obsolete.
2799 (ispell-complete-word, ispell-command-loop): All uses changed.
2800
2801 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2802
2803 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2804 (octave-mode-menu): Add octave-send-buffer.
2805 (octave-send-buffer): New function.
2806
2807 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2808
2809 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2810 octave-lookfor.
2811 (octave-mode-menu): Add octave-lookfor.
2812 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2813 octave-lookfor.
2814 (octave-lookfor): New function.
2815
2816 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2817
2818 * emacs-lisp/cl-macs.el:
2819 (cl--loop-destr-temps): Remove.
2820 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2821 its convention.
2822 (cl--loop-set-iterator-function): New function.
2823 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2824 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2825 Bind `it' with `let' instead of substituting it with `cl-subst'.
2826 (cl--unused-var-p): New function.
2827 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2828 Eliminate some unused variable warnings (bug#15326).
2829
2830 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2831
2832 * doc-view.el (doc-view-scale-reset): Rename from
2833 `doc-view-reset-zoom-level'.
2834 (doc-view-scale-adjust): New command.
2835 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2836 `doc-view-scale-adjust'.
2837
2838 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2839
2840 * doc-view.el (doc-view-reset-zoom-level): New command.
2841 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2842 zoom commands (bug#15466).
2843
2844 2013-09-26 Kenichi Handa <handa@gnu.org>
2845
2846 * international/quail.el (quail-help): Make it not a command.
2847
2848 2013-09-26 Leo Liu <sdl.web@gmail.com>
2849
2850 * minibuffer.el (completion-all-sorted-completions): Make args
2851 optional as they are.
2852
2853 2013-09-25 Daniel Colascione <dancol@dancol.org>
2854
2855 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2856 specs are and that they're not evaluated.
2857
2858 2013-09-24 Sam Steingold <sds@gnu.org>
2859
2860 * midnight.el (clean-buffer-list-kill-regexps)
2861 (clean-buffer-list-kill-buffer-names): Update for the new Man
2862 buffer naming which includes the object name.
2863
2864 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2865
2866 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2867 (eshell-parse-command, eshell-parse-pipeline): Use it since
2868 eshell-separate-commands requires a dynamic scoped var.
2869 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2870
2871 2013-09-23 Leo Liu <sdl.web@gmail.com>
2872
2873 * autoinsert.el (auto-insert-alist): Make the value of
2874 lexical-binding match its file setting.
2875
2876 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2877
2878 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2879
2880 * autoarg.el (autoarg-kp-digit-argument):
2881 * electric.el (Electric-command-loop):
2882 * kmacro.el (kmacro-step-edit-insert):
2883 Do not set universal-argument-num-events.
2884
2885 2013-09-22 Leo Liu <sdl.web@gmail.com>
2886
2887 * files.el (interpreter-mode-alist): Add octave.
2888
2889 2013-09-21 Alan Mackenzie <acm@muc.de>
2890
2891 C++: fontify identifier in declaration following "public:" correctly.
2892 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2893 to match "public", etc.
2894 (c-decl-prefix-re): Add ":" into the C++ value.
2895 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2896 bit. Add a check for a ":" preceded by "public", etc.
2897
2898 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2899
2900 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2901 recognized by GDB 7.5 and later.
2902
2903 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2904
2905 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2906
2907 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2908
2909 * subr.el (internal--call-interactively): New const.
2910 (called-interactively-p): Use it (bug#3984).
2911
2912 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2913
2914 * vc/pcvs.el (cvs-mode-ignore):
2915 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2916 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2917
2918 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2919
2920 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2921 (eshell-ls-orig-insert-directory): Remove.
2922 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2923 (eshell-ls-use-in-dired): Use advice-add/remove.
2924 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2925 Add `orig-fun' arg for use in :around advice.
2926 Make it check (redundantly) eshell-ls-use-in-dired.
2927
2928 2013-09-19 Glenn Morris <rgm@gnu.org>
2929
2930 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2931
2932 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2933
2934 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2935
2936 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2937
2938 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2939 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2940 (tramp-get-remote-python): New defuns.
2941 (tramp-get-remote-uid-with-perl)
2942 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2943 contributed by yary <not.com@gmail.com> (tiny change).
2944 (tramp-get-remote-uid-with-python)
2945 (tramp-get-remote-gid-with-python): New defuns. Python code
2946 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2947 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2948
2949 2013-09-19 Glenn Morris <rgm@gnu.org>
2950
2951 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2952
2953 * eshell/em-unix.el (eshell-remove-entries):
2954 Rename argument to avoid name-clash with global `top-level'.
2955
2956 * eshell/esh-proc.el (eshell-kill-process-function):
2957 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2958 (eshell-reset-after-proc): Remove unused arg `proc'.
2959
2960 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2961 (directory-files-and-attributes): Mark unused arg.
2962
2963 * eshell/em-unix.el (eshell-remove-entries):
2964 Remove unused arg `path'. Update callers.
2965
2966 * eshell/em-hist.el (eshell-hist-parse-arguments):
2967 Remove unused arg `silent'. Update callers.
2968
2969 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2970 Fix (f)boundp mix-up.
2971
2972 * eshell/em-smart.el (eshell-smart-scroll-window)
2973 (eshell-disable-after-change):
2974 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2975
2976 2013-09-18 Alan Mackenzie <acm@muc.de>
2977
2978 Fix fontification of type when followed by "const".
2979 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2980 "known" types from fontification.
2981
2982 2013-09-18 Glenn Morris <rgm@gnu.org>
2983
2984 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2985 (chart-face-list): Drop Emacsen without display-color-p.
2986
2987 * net/eww.el (libxml-parse-html-region): Declare.
2988 (eww-display-html): Explicit error if no libxml2 support.
2989
2990 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2991
2992 * image.el (image-type-from-buffer, image-multi-frame-p):
2993 Remove --without-x warning/error.
2994
2995 * mouse.el (mouse-yank-primary):
2996 * term.el (term-mouse-paste):
2997 Reorder to silence --without-x compilation.
2998
2999 * mpc.el (doc-view-mode): Silence --without-x compilation.
3000
3001 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3002 Silence --without-x compilation.
3003
3004 * progmodes/gud.el (gud-find-file, gud-mode):
3005 Silence --without-x compilation.
3006 (tooltip-mode): Declare.
3007
3008 * wdired.el (dired-backup-overwrite): Remove declaration.
3009 (wdired-mode-map): Add doc string.
3010
3011 * custom.el (x-get-resource): Declare.
3012
3013 * eshell/em-glob.el (ange-cache):
3014 * eshell/em-unix.el (ange-cache): Declare.
3015
3016 * faces.el (x-display-list, x-open-connection, x-get-resource):
3017 Declare.
3018
3019 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3020 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3021 Declare.
3022
3023 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3024
3025 * net/gnutls.el (gnutls-log-level): Declare.
3026
3027 * net/shr.el (image-size, image-animate): Declare.
3028
3029 * simple.el (font-info): Declare.
3030
3031 * subr.el (x-popup-dialog): Declare.
3032
3033 * term/common-win.el (x-select-enable-primary)
3034 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3035 Declare.
3036
3037 * term/ns-win.el (x-handle-args): Declare.
3038
3039 * term/x-win.el (x-select-enable-clipboard): Declare.
3040
3041 * term/w32-win.el (create-default-fontset): Declare.
3042
3043 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3044 Declare.
3045
3046 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3047 (fit-frame-to-buffer): Explicit error if --without-x.
3048 (mouse-autoselect-window-select): Silence compiler.
3049
3050 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3051
3052 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3053 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3054 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3055 * eshell/esh-util.el (eshell-sublist):
3056 Remove unused local variables.
3057
3058 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3059
3060 * textmodes/two-column.el: Make 2C-split work for --without-x.
3061 (scroll-bar-columns): Autoload.
3062 (top-level): Require fringe when compiling.
3063
3064 2013-09-18 Leo Liu <sdl.web@gmail.com>
3065
3066 * subr.el (add-hook): Robustify to handle closure as well.
3067
3068 2013-09-17 Glenn Morris <rgm@gnu.org>
3069
3070 * simple.el (messages-buffer-mode-map): Unbind "g".
3071
3072 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3073
3074 * help-mode.el (help-mode-finish): Use derived-mode-p.
3075 Remove obsolete highlighting.
3076
3077 * play/life.el (life-mode): Use define-derived-mode. Derive from
3078 special-mode.
3079 (life): Let-bind inhibit-read-only.
3080 (life-setup): Avoid `setq'. Use `life-mode'.
3081
3082 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3083 which should not be needed any more.
3084 (package-menu-refresh, package-menu-describe-package): Use user-error.
3085
3086 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3087 (eshell-post-rewrite-command-hook): Make obsolete.
3088 (eshell-parse-command): Simplify.
3089 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3090 (eshell--cmd): Declare.
3091 (eshell-parse-pipeline): Remove unused var `final-p'.
3092 Pass a dynvar to eshell-post-rewrite-command-hook.
3093 Implement the new eshell-post-rewrite-command-function.
3094 (eshell-invoke-directly): Remove unused arg `input'.
3095 * eshell/esh-io.el (eshell-io-initialize):
3096 Use eshell-post-rewrite-command-function (bug#15399).
3097 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3098 adjust to new calling convention.
3099 (eshell-create-handles): Rename args to avoid clashing with dynvar
3100 `standard-output'.
3101
3102 2013-09-17 Glenn Morris <rgm@gnu.org>
3103
3104 * simple.el (messages-buffer-mode): New major mode.
3105 (messages-buffer): New function.
3106 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3107 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3108 (ert-run-test): Use `messages-buffer' function.
3109 (ert--force-message-log-buffer-truncation): Ignore read-only.
3110 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3111 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3112
3113 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3114
3115 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3116
3117 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3118
3119 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3120
3121 * icomplete.el (icomplete-in-buffer): New var.
3122 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3123 vars and replace them with functions.
3124 (icomplete-minibuffer-setup): Adjust accordingly.
3125 (icomplete--completion-table, icomplete--completion-predicate)
3126 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3127 New functions.
3128 (icomplete-forward-completions, icomplete-backward-completions)
3129 (icomplete-simple-completing-p, icomplete-exhibit)
3130 (icomplete-completions): Use them.
3131 (icomplete--in-region-buffer): New var.
3132 (icomplete--in-region-setup): New function.
3133 (icomplete-mode): Use it.
3134
3135 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3136 (bug#15379).
3137 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3138 return args and options.
3139 (eshell-eval-using-options): Use the new return value of
3140 eshell--do-opts to set the options's vars in their scope.
3141 (eshell--set-option): Rename from eshell-set-option.
3142 Add arg `opt-vals'.
3143 (eshell--process-option): Rename from eshell-process-option.
3144 Add arg `opt-vals'.
3145 (eshell--process-args): Use an `opt-vals' alist to store the options's
3146 values during their processing and return them additionally to the
3147 remaining args.
3148
3149 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3150
3151 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3152 continuation character an operator, as far as indentation is
3153 concerned (Bug#15369).
3154
3155 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3156
3157 * window.el (window--state-put-2): Don't process buffer state
3158 when buffer doesn't exist any more (Bug#15382).
3159
3160 2013-09-15 Glenn Morris <rgm@gnu.org>
3161
3162 * eshell/em-unix.el (eshell/rm):
3163 Make -f ignore missing files. (Bug#15373)
3164
3165 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3166 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3167 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3168
3169 2013-09-14 Glenn Morris <rgm@gnu.org>
3170
3171 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3172
3173 2013-09-13 Glenn Morris <rgm@gnu.org>
3174
3175 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3176 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3177
3178 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3179
3180 * frame.el (x-focus-frame): Mark as declared in frame.c.
3181
3182 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3183
3184 * ls-lisp.el: Use advice-add.
3185 (original-insert-directory): Remove.
3186 (ls-lisp--insert-directory): Rename from insert-directory; add
3187 `orig-fun' argument.
3188 (insert-directory): Advise.
3189
3190 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3191
3192 * term.el (term-emulate-terminal): Decode the command string
3193 before passing it to term-command-hook. (Bug#15337)
3194
3195 2013-09-13 Glenn Morris <rgm@gnu.org>
3196
3197 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3198
3199 * eshell/esh-ext.el (eshell-search-path): Declare.
3200
3201 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3202 Otherwise an error occurs if eshell-dirs module not loaded.
3203
3204 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3205
3206 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3207
3208 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3209 `tramp-check-proper-host'. Check for a valid method name.
3210
3211 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3212 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3213 * net/tramp-sh.el (tramp-maybe-open-connection):
3214 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3215
3216 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3217 also for hash values.
3218
3219 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3220
3221 * term/ns-win.el (parameters): Don't declare as dynamic.
3222 (before-make-frame-hook): Don't add ineffective function.
3223
3224 * eshell/*.el: Use lexical-binding (bug#15231).
3225
3226 2013-09-12 Kenichi Handa <handa@gnu.org>
3227
3228 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3229
3230 2013-09-12 Glenn Morris <rgm@gnu.org>
3231
3232 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3233 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3234
3235 * subr.el (do-after-load-evaluation): Also give compiler warnings
3236 when obsolete files are used (except by obsolete files).
3237
3238 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3239 in the status output, assume `filename' is the first. (Bug#15322)
3240
3241 * vc/vc.el (vc-deduce-fileset): Doc fix.
3242
3243 * calc/calc-help.el (Info-goto-node):
3244 * progmodes/cperl-mode.el (Info-find-node):
3245 * vc/ediff.el (Info-goto-node): Update declarations.
3246
3247 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3248
3249 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3250 (vc-bzr-pull): Require vc-dispatcher.
3251 * vc/vc-git.el (vc-compilation-mode): Declare.
3252 (vc-git-pull): Require vc-dispatcher.
3253
3254 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3255
3256 * progmodes/octave.el (help-button-action): Declare.
3257
3258 * shell.el (shell-directory-tracker): Output error as a message
3259 rather than just returning it as a string.
3260 (shell-process-pushd): Remove useless use of message.
3261
3262 * dframe.el (dframe-timer-fn):
3263 * files.el (dir-locals-read-from-file):
3264 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3265 (mpc-format):
3266 * reveal.el (reveal-post-command):
3267 * saveplace.el (load-save-place-alist-from-file):
3268 * shell.el (shell-resync-dirs):
3269 * w32-common-fns.el (x-get-selection-value):
3270 * emacs-lisp/copyright.el (copyright-find-copyright):
3271 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3272 * emulation/tpu-edt.el (tpu-copy-keyfile):
3273 * play/bubbles.el (bubbles--mark-neighbourhood):
3274 * progmodes/executable.el
3275 (executable-make-buffer-file-executable-if-script-p):
3276 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3277
3278 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3279
3280 Cleanup Eshell to rely less on dynamic scoping.
3281 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3282 last-value, and ext-command here. Bind `args' closer to `body'.
3283 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3284 (eshell--args): Declare new dynamic var.
3285 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3286 last-value, and ext-command. Pass `args' to `body'.
3287 (eshell-process-args): Bind eshell--args.
3288 (eshell-set-option): Use eshell--args.
3289 * eshell/eshell.el (eshell): Use derived-mode-p.
3290 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3291 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3292 (eshell-glob-function): Declare.
3293 * eshell/esh-util.el: Require cl-lib.
3294 (eshell-read-hosts-file): Avoid add-to-list.
3295 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3296 `err'.
3297 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3298 Declare.
3299 (eshell/diff): Remove unused var `err'.
3300 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3301 `killflag'.
3302 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3303 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3304 first use.
3305 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3306 Move declaration before first use.
3307 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3308 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3309 rely on cl-return.
3310
3311 2013-09-12 Glenn Morris <rgm@gnu.org>
3312
3313 * term/ns-win.el (global-map): Remove binding for ispell-next,
3314 deleted 1999-05-29. (Bug#15357)
3315
3316 2013-09-11 Glenn Morris <rgm@gnu.org>
3317
3318 * echistory.el (electric-command-history): Remove call to deleted func.
3319
3320 * play/landmark.el (landmark-mode): Fix typos.
3321
3322 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3323 Check cvs-sort-ignore-file is bound.
3324
3325 * savehist.el: No need for cl when compiling on Emacs.
3326
3327 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3328
3329 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3330 (bug#15338).
3331 (eshell-self-insert-command, eshell-send-invisible):
3332 Remove unused argument.
3333 (eshell-handle-control-codes): Remove unused var `orig'.
3334 Avoid delete-backward-char.
3335
3336 * files.el (set-auto-mode): Simplify a bit further.
3337
3338 2013-09-11 Glenn Morris <rgm@gnu.org>
3339
3340 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3341 (set-auto-mode): Don't regexp-quote elements.
3342 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3343 * progmodes/cc-mode.el (interpreter-mode-alist):
3344 * progmodes/ruby-mode.el (interpreter-mode-alist):
3345 Revert previous change.
3346
3347 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3348
3349 * play/snake.el (snake-mode):
3350 * play/mpuz.el (mpuz-mode):
3351 * play/landmark.el (lm-mode):
3352 * play/blackbox.el (blackbox-mode):
3353 * play/5x5.el (5x5-mode):
3354 * obsolete/options.el (Edit-options-mode):
3355 * net/quickurl.el (quickurl-list-mode):
3356 * net/newst-treeview.el (newsticker-treeview-mode):
3357 * mail/rmailsum.el (rmail-summary-mode):
3358 * mail/mspools.el (mspools-mode):
3359 * locate.el (locate-mode):
3360 * ibuffer.el (ibuffer-mode):
3361 * emulation/ws-mode.el (wordstar-mode):
3362 * emacs-lisp/debug.el (debugger-mode):
3363 * array.el (array-mode):
3364 * net/eudc.el (eudc-mode): Use define-derived-mode.
3365 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3366 Move initialization into declaration.
3367 (mairix-searches-mode): Use define-derived-mode.
3368 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3369 (eudc-edit-hotlist): Use dolist.
3370 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3371 (Man-mode): Use define-derived-mode.
3372 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3373 (Info-edit-mode): Use define-derived-mode.
3374 (Info-cease-edit): Use Info-mode.
3375 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3376 into declaration.
3377 (eshell-mode): Use define-derived-mode.
3378 * chistory.el (command-history-mode-map): Rename from
3379 command-history-map.
3380 (command-history-mode): Use define-derived-mode.
3381 (Command-history-setup): Remove function.
3382 * calc/calc.el (calc-trail-mode-map): New var.
3383 (calc-trail-mode): Use define-derived-mode.
3384 (calc-trail-buffer): Set calc-main-buffer manually.
3385 * bookmark.el (bookmark-insert-annotation): New function.
3386 (bookmark-edit-annotation): Use it.
3387 (bookmark-edit-annotation-mode): Make it a proper major mode.
3388 (bookmark-send-edited-annotation): Use derived-mode-p.
3389 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3390 closer to its ideal place. Use \' to match EOS.
3391
3392 * profiler.el (profiler-calltree-find): Use function-equal.
3393
3394 2013-09-10 Glenn Morris <rgm@gnu.org>
3395
3396 * files.el (interpreter-mode-alist): Convert to regexps.
3397 (set-auto-mode): Adapt for this. (Bug#15306)
3398 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3399 Comment out unused variable.
3400 * progmodes/cc-mode.el (interpreter-mode-alist):
3401 * progmodes/python.el (interpreter-mode-alist):
3402 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3403 * progmodes/sh-script.el (sh-set-shell):
3404 No longer use interpreter-mode-alist to get list of shells.
3405
3406 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3407
3408 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3409
3410 * simple.el: Use set-temporary-overlay-map for universal-argument.
3411 (universal-argument-map): Don't use default-bindings (bug#15317).
3412 Bind switch-frame explicitly. Replace universal-argument-minus with
3413 a conditional binding.
3414 (universal-argument-num-events, saved-overriding-map): Remove.
3415 (restore-overriding-map): Remove.
3416 (universal-argument--mode): Rename from save&set-overriding-map,
3417 and rewrite.
3418 (universal-argument, universal-argument-more, negative-argument)
3419 (digit-argument): Adjust accordingly.
3420 (universal-argument-minus): Remove.
3421 (universal-argument-other-key): Remove.
3422
3423 * subr.el (with-demoted-errors): Add `format' argument.
3424
3425 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3426
3427 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3428 `tramp-cleanup-connection'.
3429
3430 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3431 parameters KEEP-DEBUG and KEEP-PASSWORD.
3432
3433 * net/tramp.el (tramp-file-name-handler):
3434 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3435 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3436 (tramp-maybe-open-connection):
3437 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3438 Use `tramp-cleanup-connection'.
3439
3440 * net/tramp-sh.el (tramp-maybe-open-connection):
3441 Catch 'uname-changed inside the progress reporter.
3442
3443 2013-09-10 Glenn Morris <rgm@gnu.org>
3444
3445 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3446
3447 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3448 returns "alternate access method" in mode (eg "-rw-r--r--.").
3449
3450 2013-09-08 Glenn Morris <rgm@gnu.org>
3451
3452 * saveplace.el (load-save-place-alist-from-file):
3453 Demote errors. (Bug#15305)
3454
3455 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3456
3457 Improve compatibility with older Emacsen, and XEmacs.
3458
3459 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3460 only if it is bound. It isn't for XEmacs.
3461 (with-tramp-progress-reporter): Do not let-bind `result'.
3462 This yields to scoping errors in XEmacs.
3463 (tramp-handle-make-auto-save-file-name): New function, moved from
3464 tramp-sh.el.
3465
3466 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3467 for `make-auto-save-file-name'.
3468 (tramp-adb--gnu-switches-to-ash):
3469 Use `tramp-compat-replace-regexp-in-string'.
3470
3471 * net/tramp-cache.el (tramp-cache-print): Call
3472 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3473
3474 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3475 bound. It isn't for XEmacs.
3476
3477 * net/tramp-compat.el (tramp-compat-copy-file):
3478 Catch `wrong-number-of-arguments' error.
3479 (tramp-compat-replace-regexp-in-string): New defun.
3480
3481 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3482 for `make-auto-save-file-name'.
3483 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3484 `copy-file'.
3485 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3486 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3487 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3488
3489 * net/tramp-gw.el (tramp-gw-open-network-stream):
3490 Use `tramp-compat-replace-regexp-in-string'.
3491
3492 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3493 Call `tramp-handle-make-auto-save-file-name'.
3494 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3495 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3496 (tramp-sh-file-inotifywait-process-filter):
3497 Use `tramp-compat-replace-regexp-in-string'.
3498 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3499
3500 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3501 for `make-auto-save-file-name'.
3502 (tramp-smb-handle-copy-directory):
3503 Call `tramp-compat-replace-regexp-in-string'.
3504 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3505 (tramp-smb-handle-copy-file): Improve error message.
3506 (tramp-smb-handle-rename-file): Rename directly only in case
3507 `newname' does not exist yet. This is a restriction of smbclient.
3508 (tramp-smb-maybe-open-connection): Rerun the function only when
3509 `auth-sources' is non-nil.
3510
3511 2013-09-08 Kenichi Handa <handa@gnu.org>
3512
3513 * international/characters.el: Set category "^" (Combining) for
3514 more characters.
3515
3516 2013-09-07 Alan Mackenzie <acm@muc.de>
3517
3518 Correctly fontify Java class constructors.
3519 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3520 in Java Mode.
3521 (c-recognize-typeless-decls): Set the Java value to t.
3522 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3523 While handling a "(", add a check for, effectively, Java, and handle a
3524 "typeless" declaration there.
3525
3526 2013-09-07 Roland Winkler <winkler@gnu.org>
3527
3528 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3529 field subtitle for entry type book.
3530
3531 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3532
3533 * minibuffer.el: Make minibuffer-complete call completion-in-region
3534 rather than other way around.
3535 (completion--some, completion-pcm--find-all-completions):
3536 Don't delay signals when debugging.
3537 (minibuffer-completion-contents): Beware fields within the
3538 minibuffer contents.
3539 (completion-all-sorted-completions): Use defvar-local.
3540 (completion--do-completion, completion--cache-all-sorted-completions)
3541 (completion-all-sorted-completions, minibuffer-force-complete):
3542 Add args `beg' and `end'.
3543 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3544 (minibuffer-complete): Use completion-in-region.
3545 (completion-complete-and-exit): New fun, extracted from
3546 minibuffer-complete-and-exit.
3547 (minibuffer-complete-and-exit): Use it.
3548 (completion--complete-and-exit): Rename from
3549 minibuffer--complete-and-exit.
3550 (completion-in-region--single-word): New function, extracted from
3551 minibuffer-complete-word.
3552 (minibuffer-complete-word): Use it.
3553 (display-completion-list): Make `common-substring' argument obsolete.
3554 (completion--in-region): Call completion--in-region-1 instead of
3555 minibuffer-complete.
3556 (completion-help-at-point): Pass boundaries to
3557 minibuffer-completion-help as args rather than via an overlay.
3558 (completion-pcm--string->pattern): Use `any-delim'.
3559 (completion-pcm--optimize-pattern): New function.
3560 (completion-pcm--pattern->regex): Handle `any-delim'.
3561 * icomplete.el (icomplete-forward-completions)
3562 (icomplete-backward-completions, icomplete-completions):
3563 Adjust calls to completion-all-sorted-completions and
3564 completion--cache-all-sorted-completions.
3565 (icomplete-with-completion-tables): Default to t.
3566 * emacs-lisp/crm.el (crm--current-element): Rename from
3567 crm--select-current-element. Don't put an overlay but return the
3568 boundaries instead.
3569 (crm--completion-command): Take two new args to bind to the boundaries.
3570 (crm-completion-help): Adjust accordingly.
3571 (crm-complete): Use completion-in-region.
3572 (crm-complete-word): Use completion-in-region--single-word.
3573 (crm-complete-and-exit): Use completion-complete-and-exit.
3574
3575 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3576
3577 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3578 than dynamically.
3579
3580 2013-09-06 Juri Linkov <juri@jurta.org>
3581
3582 * info.el (Info-display-images-node): When image file doesn't exist
3583 display text version of the image if it's provided in the Info file.
3584 Otherwise, display the location of missing image from SRC attribute.
3585 Add help-echo text property from ALT attribute. (Bug#15279)
3586
3587 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3588
3589 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3590 (edit-abbrevs-mode): Use define-derived-mode.
3591
3592 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3593 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3594 that it's defined.
3595 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3596 Use define-derived-mode.
3597
3598 * epg.el (epg-start-encrypt): Minor CSE simplification.
3599
3600 2013-09-06 William Xu <william.xwl@gmail.com>
3601
3602 * arc-mode.el: Add support for 7za (bug#15264).
3603 (archive-7z-program): New var.
3604 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3605 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3606 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3607
3608 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3609
3610 Remove URL syntax.
3611
3612 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3613 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3614 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3615 (tramp-postfix-host-format, tramp-file-name-regexp)
3616 (tramp-completion-file-name-regexp)
3617 (tramp-completion-dissect-file-name)
3618 (tramp-handle-substitute-in-file-name): Remove 'url case.
3619 (tramp-file-name-regexp-url)
3620 (tramp-completion-file-name-regexp-url): Remove constants.
3621
3622 2013-09-06 Glenn Morris <rgm@gnu.org>
3623
3624 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3625
3626 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3627
3628 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3629 keywords" below "here-doc beginnings" (Bug#15270).
3630
3631 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3632
3633 * subr.el (pop): Use `car-safe'.
3634 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3635 to detect unused `pop' return value.
3636
3637 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3638 var `block-regexp'.
3639 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3640 (python-fill-string): Remove unused var `marker'.
3641 (python-skeleton-add-menu-items): Remove unused var `items'.
3642
3643 * international/mule-cmds.el: Require CL.
3644 (find-coding-systems-for-charsets): Avoid add-to-list.
3645 (sanitize-coding-system-list): New function, extracted from
3646 select-safe-coding-system-interactively.
3647 (select-safe-coding-system-interactively): Use it.
3648 (read-input-method-name): Accept symbols for `default'.
3649
3650 * emacs-lisp/advice.el (defadvice): Add indent rule.
3651
3652 2013-09-05 Daniel Hackney <dan@haxney.org>
3653
3654 * dired-x.el:
3655 * net/ange-ftp.el:
3656 * net/browse-url.el:
3657 * net/dbus.el:
3658 * net/eudc.el:
3659 * net/eudcb-ldap.el:
3660 * net/eww.el:
3661 * net/imap.el:
3662 * printing.el:
3663 * vc/ediff-diff.el:
3664 * vc/ediff-init.el:
3665 * vc/ediff-merg.el:
3666 * vc/ediff-mult.el:
3667 * vc/ediff-util.el:
3668 * vc/ediff-wind.el:
3669 * vc/ediff.el:
3670 * vc/emerge.el:
3671 * vc/pcvs.el:
3672 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3673 byte compiler. Remove some unused let-bound variables.
3674
3675 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3676
3677 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3678 a "ref-cell", since it gets better optimized (bug#14883).
3679
3680 2013-09-05 Glenn Morris <rgm@gnu.org>
3681
3682 * progmodes/cc-awk.el (c-forward-sws): Declare.
3683
3684 2013-09-04 Glenn Morris <rgm@gnu.org>
3685
3686 * generic-x.el [rul-generic-mode]: Require cc-mode.
3687 (c++-mode-syntax-table): Declare.
3688 (rul-generic-mode-syntax-table): Init in the defvar.
3689
3690 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3691
3692 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3693 (vc-do-command, vc-set-async-update):
3694 * vc/vc-mtn.el (vc-mtn-dir-status):
3695 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3696 (vc-hg-pull, vc-hg-merge-branch):
3697 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3698 (vc-git-merge-branch):
3699 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3700 (vc-cvs-dir-status-files):
3701 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3702 (vc-bzr-dir-status-files):
3703 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3704 * vc/vc-annotate.el: Use lexical-binding.
3705 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3706 (vc-sentinel-movepoint): Declare.
3707 (vc-annotate): Don't use `goto-line'.
3708 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3709 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3710 (vc-sentinel-movepoint): Declare.
3711 * vc/vc-svn.el: Use lexical-binding.
3712 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3713 * vc/vc-sccs.el:
3714 * vc/vc-rcs.el: Use lexical-binding.
3715
3716 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3717 `deleted'. Don't drop errors silently.
3718
3719 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3720
3721 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3722
3723 * vc/vc.el (vc-ignore): Rewrite.
3724 (vc-default-ignore): New function.
3725 (vc-default-ignore-completion-table): Use find-ignore-file.
3726
3727 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3728 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3729 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3730 Remove. Most code moved to vc.el.
3731
3732 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3733
3734 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3735 * net/tramp-smb.el (tramp-smb-get-file-entries):
3736 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3737 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3738
3739 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3740 Update call to it.
3741 (eww-change-select): Remove unused var `properties'.
3742 (eww-make-unique-file-name): Remove unused var `base'.
3743
3744 * finder.el (finder-compile-keywords): Don't mess with windows.
3745
3746 * calculator.el (calculator-funcall): Fix typo in last change.
3747
3748 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3749
3750 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3751 <pkg>-autoloads.el file stop us.
3752
3753 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3754 warnings, and factor out common code.
3755
3756 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3757
3758 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3759 two-character operators and whether the character preceding them
3760 changes their meaning (Bug#15208).
3761
3762 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3763
3764 Format code sent to Python shell for robustness.
3765 * progmodes/python.el (python-shell-buffer-substring):
3766 New function.
3767 (python-shell-send-region, python-shell-send-buffer): Use it.
3768
3769 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3770
3771 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3772 * net/tramp.el (tramp-user-error): ... here.
3773 (tramp-find-method, tramp-check-proper-host)
3774 (tramp-dissect-file-name, tramp-debug-message)
3775 (tramp-handle-shell-command):
3776 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3777 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3778
3779 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3780
3781 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3782
3783 * avoid.el (mouse-avoidance-point-position)
3784 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3785 returns nil.
3786
3787 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3788
3789 * progmodes/python.el (python-shell-completion-get-completions):
3790 Drop use of deleted `comint-last-prompt-overlay'.
3791 (python-nav-if-name-main): New command.
3792
3793 2013-09-01 Glenn Morris <rgm@gnu.org>
3794
3795 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3796 Avoid leading space in $wins. Otherwise the sed command used by
3797 eg compile-main ends up containing "/*.el". (Bug#15170)
3798
3799 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3800
3801 2013-08-30 Glenn Morris <rgm@gnu.org>
3802
3803 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3804 Fix is-this-a-directory logic. (Bug#15220)
3805
3806 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3807
3808 * textmodes/css-mode.el: Use SMIE.
3809 (css-smie-grammar): New var.
3810 (css-smie--forward-token, css-smie--backward-token)
3811 (css-smie-rules): New functions.
3812 (css-mode): Use them.
3813 (css-navigation-syntax-table): Remove var.
3814 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3815 (css-indent-calculate, css-indent-line): Remove functions.
3816
3817 Misc changes to reduce use of `(lambda...); and other cleanups.
3818 * cus-edit.el: Use lexical-binding.
3819 (customize-push-and-save, customize-apropos)
3820 (custom-buffer-create-internal): Use closures.
3821 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3822 * progmodes/ada-xref.el: Use setq.
3823 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3824 * dframe.el: Use lexical-binding.
3825 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3826 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3827 * descr-text.el: Use lexical-binding.
3828 (describe-text-widget, describe-text-sexp, describe-property-list):
3829 Use closures.
3830 * comint.el (comint-history-isearch-push-state): Use a closure.
3831 * calculator.el: Use lexical-binding.
3832 (calculator-number-to-string): Make it work with lexical-binding.
3833 (calculator-funcall): Same and use cl-letf.
3834
3835 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3836 (lisp--company-doc-string, lisp--company-location): New functions.
3837 (lisp-completion-at-point): Use them to improve Company support.
3838
3839 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3840 params of lambda expressions.
3841 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3842 (ruby-smie--opening-pipe-p): New function.
3843 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3844 symbols and matched |...| for formal params.
3845 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3846 from being treated as hanging. Handle "rescue".
3847
3848 2013-08-29 Glenn Morris <rgm@gnu.org>
3849
3850 * progmodes/cc-engine.el (c-pull-open-brace):
3851 Move definition before use.
3852
3853 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3854
3855 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3856 are immutable. Don't use `unsafe' any more.
3857 (cl--defsubst-expand): Don't substitute at the same time as keeping
3858 a residual unused let-binding. Don't use `unsafe' any more.
3859
3860 2013-08-29 Glenn Morris <rgm@gnu.org>
3861
3862 * calendar/cal-china.el (calendar-chinese-year-cache):
3863 Recenter on 2015.
3864
3865 * nxml/nxml-util.el (nxml-debug-clear-inside):
3866 Use cl-loop rather than loop.
3867
3868 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3869
3870 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3871
3872 2013-08-28 Glenn Morris <rgm@gnu.org>
3873
3874 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3875
3876 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3877
3878 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3879
3880 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3881
3882 * simple.el (repeat-complex-command--called-interactively-skip):
3883 New function.
3884 (repeat-complex-command): Use it (bug#14136).
3885
3886 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3887 (c-define-abbrev-table): Add `doc' argument.
3888 (c-mode-abbrev-table, c++-mode-abbrev-table)
3889 (objc-mode-abbrev-table, java-mode-abbrev-table)
3890 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3891 (awk-mode-abbrev-table): Use it.
3892 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3893 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3894 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3895 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3896 Move initialization into the declaration; and remove any
3897 autoload cookie.
3898
3899 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3900 and dynamic let binding.
3901
3902 * vc/smerge-mode.el: Remove redundant :group args.
3903
3904 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3905 to load-path.
3906
3907 2013-08-28 Juri Linkov <juri@jurta.org>
3908
3909 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3910 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3911 (isearch-other-meta-char): Handle an undefined shifted printing
3912 character by downshifting it. (Bug#15200)
3913
3914 2013-08-28 Juri Linkov <juri@jurta.org>
3915
3916 * isearch.el (isearch-search): Change regexp error message for
3917 non-regexp searches. (Bug#15166)
3918
3919 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3920
3921 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3922 for portability to hosts where /bin/sh has problems.
3923
3924 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3925
3926 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3927
3928 2013-08-27 Juri Linkov <juri@jurta.org>
3929
3930 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3931 in the keyboard macro. (Bug#15126)
3932
3933 2013-08-27 Juri Linkov <juri@jurta.org>
3934
3935 * isearch.el (isearch-quote-char): Comment out converting unibyte
3936 to multibyte, thus syncing with its `quoted-insert' counterpart.
3937 (Bug#15166)
3938
3939 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3940
3941 * window.el (display-buffer-use-some-window): Add missing
3942 argument in call of get-largest-window (Bug#15185).
3943 Reported by Stephen Leake.
3944
3945 2013-08-27 Glenn Morris <rgm@gnu.org>
3946
3947 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3948
3949 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3950
3951 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3952 from a matcher-function unless there's no more matches (bug#15161).
3953
3954 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3955
3956 * minibuffer.el: Revert change from 2013-08-20.
3957
3958 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3959 with text property `tramp-default', if appropriate.
3960 (tramp-check-proper-host): New defun.
3961 (tramp-dissect-file-name): Do not check hostname. Revert change
3962 of 2013-03-18.
3963 (tramp-backtrace): Make VEC-OR-PROC optional.
3964
3965 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3966 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3967 * net/tramp-sh.el (tramp-maybe-open-connection):
3968 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3969 Apply `tramp-check-proper-host'.
3970
3971 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3972
3973 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3974 lambda expression in order to have `describe-variable' display it.
3975
3976 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3977
3978 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3979 BUF can be optional. (Bug#15186)
3980
3981 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3982
3983 * progmodes/flymake.el (flymake-get-real-file-name-function):
3984 Fix broken customization. (Bug#15184)
3985
3986 2013-08-25 Alan Mackenzie <acm@muc.de>
3987
3988 Improve indentation of bracelists defined by macros (without "=").
3989
3990 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3991 expansion begins with "{", regard it as bracelist when it doesn't
3992 contain a ";".
3993
3994 Parse C++ inher-intro when there's a template split over 2 lines.
3995
3996 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3997 rigorously the search for "class" etc. followed by ":".
3998
3999 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4000 random languages a regexp which never matches rather than nil.
4001
4002 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4003
4004 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4005 (c-awk-regexp-one-line-possibly-open-char-list-re)
4006 (c-awk-one-line-possibly-open-regexp-re)
4007 (c-awk-one-line-non-syn-ws*-re): Remove.
4008 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4009 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4010 (c-awk-space*-unclosed-regexp-/-re): New constants.
4011 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4012 aren't regexp delimiters.
4013
4014 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4015 handling for a rare situation in AWK Mode involving unterminated
4016 strings/regexps.
4017
4018 2013-08-23 Glenn Morris <rgm@gnu.org>
4019
4020 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4021
4022 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4023
4024 * files.el (create-file-buffer): If the result would begin with
4025 spaces, prepend a "|" instead of removing them. (Bug#15162)
4026
4027 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4028
4029 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4030 text-properties (bug#15155).
4031
4032 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4033 exist any more.
4034 (calc-keypad-redraw): Remove unused var `pad'.
4035 (calc-keypad-press): Remove unused var `menu'.
4036
4037 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4038
4039 * window.el (display-buffer-pop-up-frame):
4040 Call pop-up-frame-function with BUFFER current so `make-frame' will
4041 use it as the new frame's buffer (Bug#15133).
4042
4043 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4044
4045 * calendar/timeclock.el: Minor cleanups.
4046 (timeclock-ask-before-exiting, timeclock-use-display-time):
4047 Use `symbol'.
4048 (timeclock-modeline-display): Define as alias before the
4049 actual definition.
4050 (timeclock-mode-line-display): Use define-minor-mode.
4051 (timeclock-day-list-template): Make it a function, add an argument.
4052 (timeclock-day-list-required, timeclock-day-list-length)
4053 (timeclock-day-list-debt, timeclock-day-list-span)
4054 (timeclock-day-list-break): Adjust calls accordingly.
4055
4056 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4057
4058 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4059 Use read--expression so that completion works again.
4060
4061 2013-08-21 Sam Steingold <sds@gnu.org>
4062
4063 Add rudimentary inferior shell interaction
4064 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4065 (sh-set-shell): Reset it.
4066 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4067 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4068
4069 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4070
4071 * align.el: Use lexical-binding.
4072 (align-region): Simplify accordingly.
4073
4074 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4075
4076 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4077
4078 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4079 `non-essential' up.
4080
4081 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4082
4083 * net/tramp.el:
4084 * net/tramp-adb.el:
4085 * net/tramp-cmds.el:
4086 * net/tramp-ftp.el:
4087 * net/tramp-gvfs.el:
4088 * net/tramp-gw.el:
4089 * net/tramp-sh.el: Don't wrap external variable declarations by
4090 `eval-when-compile'.
4091
4092 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4093
4094 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4095 now that Emacs supports ImageMagick animations.
4096
4097 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4098
4099 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4100 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4101
4102 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4103
4104 * window.el (mouse-autoselect-window-select): Do autoselect when
4105 mouse pointer is on margin.
4106
4107 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4108
4109 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4110
4111 2013-08-16 Glenn Morris <rgm@gnu.org>
4112
4113 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4114 Handle "Remote Directory" response of some clients. (Bug#15058)
4115
4116 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4117 Tweak warning. (Bug#14926)
4118
4119 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4120 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4121
4122 * image-mode.el (image-mode-map): Add menu items to reverse,
4123 increase, decrease, reset animation speed.
4124 (image--set-speed, image-increase-speed, image-decrease-speed)
4125 (image-reverse-speed, image-reset-speed): New functions.
4126 (image-mode-map): Add bindings for speed commands.
4127
4128 * image.el (image-animate-get-speed, image-animate-set-speed):
4129 New functions.
4130 (image-animate-timeout): Respect image :speed property.
4131
4132 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4133
4134 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4135 previous line (bug#15101).
4136 (debugger-eval-expression, debugger-record-expression):
4137 Use read--expression (bug#15102).
4138
4139 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4140
4141 Remove byte compiler warnings, visible when compiling with
4142 `byte-compile-force-lexical-warnings' set to t.
4143
4144 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4145 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4146 (tramp-handle-unhandled-file-name-directory)
4147 (tramp-handle-file-notify-add-watch, tramp-action-login)
4148 (tramp-action-succeed, tramp-action-permission-denied)
4149 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4150 arguments with "_".
4151
4152 * net/tramp-adb.el (tramp-adb-parse-device-names)
4153 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4154 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4155 (tramp-adb-handle-file-truename): Remove unused arguments.
4156
4157 * net/tramp-cache.el (tramp-flush-directory-property)
4158 (tramp-flush-connection-property, tramp-list-connections)
4159 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4160
4161 * net/tramp-compat.el (tramp-compat-make-temp-file):
4162 Rename FILENAME to F.
4163
4164 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4165 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4166 (tramp-zeroconf-parse-workstation-device-names)
4167 (tramp-zeroconf-parse-webdav-device-names)
4168 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4169
4170 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4171 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4172
4173 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4174 arguments.
4175 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4176 (tramp-sh-handle-insert-file-contents-literally)
4177 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4178 with "_".
4179 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4180 Remove unused variables.
4181
4182 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4183 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4184 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4185
4186 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4187 Make them a defconst.
4188 (tramp-uuencode-region): Remove unused variable.
4189
4190 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4191
4192 * frameset.el (frameset--prop-setter): New function.
4193 (frameset-prop): Add gv-setter declaration.
4194 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4195 parameter was already set in FILTERED. Doc fix.
4196 (frameset--record-minibuffer-relationships): Allow saving a
4197 minibufferless frame without its corresponding minibuffer frame.
4198 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4199 frame, if the frame id matches.
4200 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4201 frames before orphaned ones.
4202 (frameset-restore): Warn about orphaned windows, instead of error out.
4203
4204 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4205
4206 * window.el (window-make-atom): Don't overwrite parameter
4207 already present.
4208 (display-buffer-in-atom-window): Handle special case where we
4209 split an already atomic window.
4210 (window--major-non-side-window, display-buffer-in-side-window)
4211 (window--side-check): Ignore minibuffer window when walking
4212 window tree.
4213 (window-deletable-p): Return 'frame only if no other frame uses
4214 our minibuffer window.
4215 (record-window-buffer): Run buffer-list-update-hook.
4216 (split-window): Make sure window--check-frame won't destroy an
4217 existing atomic window in case the new window gets nested
4218 inside.
4219 (display-buffer-at-bottom): Ignore minibuffer window when
4220 walking window tree. Don't split a side window.
4221 (pop-to-buffer): Don't set-buffer here, the select-window call
4222 should do that.
4223 (mouse-autoselect-window-select): Autoselect only if we are in the
4224 text portion of the window.
4225
4226 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4227
4228 * net/shr.el (shr-parse-image-data): New function to grab both the
4229 data itself and the Content-Type.
4230 (shr-put-image): Use it.
4231
4232 * net/eww.el (eww-display-image): Ditto.
4233
4234 * image.el (image-content-type-suffixes): New variable.
4235
4236 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4237
4238 * progmodes/python.el (python-imenu--build-tree)
4239 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4240
4241 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4242
4243 * simple.el (backward-word): Mention the optional argument.
4244
4245 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4246
4247 * frameset.el (frameset--make): Rename constructor from make-frameset.
4248 (frameset-p, frameset-valid-p): Don't autoload.
4249 (frameset-valid-p): Use normal accessors.
4250
4251 2013-08-13 Glenn Morris <rgm@gnu.org>
4252
4253 * progmodes/compile.el (compile-command): Tweak example in doc.
4254 * obsolete/scribe.el (scribe-mode):
4255 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4256
4257 * mail/feedmail.el (feedmail-confirm-outgoing)
4258 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4259
4260 * cus-start.el (truncate-partial-width-windows): Fix type.
4261
4262 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4263
4264 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4265
4266 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4267
4268 * emacs-lisp/timer.el (timer--time-setter): New function.
4269 (timer--time): Use it as gv-setter.
4270
4271 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4272 setter is not a symbol.
4273
4274 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4275
4276 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4277 if sending fails. This makes debugging easier.
4278
4279 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4280
4281 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4282 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4283 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4284
4285 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4286
4287 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4288
4289 2013-08-12 Glenn Morris <rgm@gnu.org>
4290
4291 * format.el (format-annotate-function):
4292 Handle read-only text properties in the source. (Bug#14887)
4293
4294 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4295
4296 * net/eww.el (eww-display-html): Ignore coding system errors.
4297 One web site uses "utf-8lias" as the coding system.
4298
4299 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4300
4301 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4302
4303 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4304
4305 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4306 (tutorial--detailed-help): Remove unused local variables.
4307 (tutorial--save-tutorial-to): Use ignore-errors.
4308 (help-with-tutorial): Use looking-at-p.
4309
4310 * view.el (view-buffer-other-window, view-buffer-other-frame):
4311 Mark unused arguments.
4312
4313 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4314 (woman-select-symbol-fonts, woman, woman-find-file)
4315 (woman-insert-file-contents, woman-non-underline-faces):
4316 Use string-match-p.
4317 (woman1-unquote): Move declaration.
4318
4319 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4320 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4321 argument. Remove unused local variable.
4322 (xml-parse-elem-type): Use string-match-p.
4323 (xml-substitute-numeric-entities): Use ignore-errors.
4324
4325 * calculator.el (calculator): Mark unused argument.
4326 (calculator-paste, calculator-quit, calculator-integer-p):
4327 Use ignore-errors.
4328 (calculator-string-to-number, calculator-decimal, calculator-exp)
4329 (calculator-op-or-exp): Use string-match-p.
4330
4331 * dired.el (dired-buffer-more-recently-used-p): Declare.
4332 (dired-insert-set-properties, dired-insert-old-subdirs):
4333 Use ignore-errors.
4334
4335 * dired-aux.el (dired-compress): Use ignore-errors.
4336 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4337 (dired-do-async-shell-command, dired-do-shell-command)
4338 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4339 (dired-insert-subdir-validate): Use string-match-p.
4340 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4341 (dired-add-entry): Use string-match-p, looking-at-p.
4342 (dired-insert-subdir-newpos): Remove unused local variable.
4343
4344 * filenotify.el (file-notify-callback): Remove unused local variable.
4345
4346 * filesets.el (filesets-error): Mark unused argument.
4347 (filesets-which-command-p, filesets-filter-dir-names)
4348 (filesets-directory-files, filesets-get-external-viewer)
4349 (filesets-ingroup-get-data): Use string-match-p.
4350
4351 * find-file.el (ff-other-file-name, ff-other-file-name)
4352 (ff-find-the-other-file, ff-cc-hh-converter):
4353 Remove unused local variables.
4354 (ff-get-file-name): Use string-match-p.
4355 (ff-all-dirs-under): Use ignore-errors.
4356
4357 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4358 (follow-select-if-visible): Remove unused local variable.
4359
4360 * forms.el (read-file-filter): Move declaration.
4361 (forms--make-format, forms--make-parser, forms-insert-record):
4362 Quote function with #'.
4363 (forms--update): Use string-match-p. Quote function with #'.
4364
4365 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4366 (help-make-xrefs): Use looking-at-p.
4367 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4368
4369 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4370 (ibuffer-confirm-operation-on): Use string-match-p.
4371
4372 * msb.el (msb-item-handler, msb-dired-item-handler):
4373 Mark unused arguments.
4374
4375 * ses.el (ses-decode-cell-symbol)
4376 (ses-kill-override): Remove unused local variable.
4377 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4378 (ses-load): Use ignore-errors, looking-at-p.
4379 (ses-jump-safe): Use ignore-errors.
4380 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4381
4382 * tabify.el (untabify, tabify): Mark unused arguments.
4383
4384 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4385 Mark unused argument.
4386 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4387 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4388
4389 * emacs-lisp/timer.el (timer--time): Define setter with
4390 gv-define-setter to avoid deprecation warning.
4391
4392 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4393 (*record-cmpl-statistics-p*): Remove (was commented out).
4394 (cmpl-statistics-block): Remove (body was commented out).
4395 All callers changed.
4396 (add-completions-from-buffer, load-completions-from-file):
4397 Remove unused variables.
4398
4399 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4400
4401 * filecache.el (file-cache-delete-file-list):
4402 Print message only when told so.
4403 (file-cache-files-matching): Use #' in mapconcat argument.
4404
4405 * ffap.el (ffap-url-at-point): Fix reference to variable
4406 thing-at-point-default-mail-uri-scheme.
4407
4408 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4409
4410 * subr.el (define-error): New function.
4411 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4412 error-file-not-found and define with define-error.
4413 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4414 and define with define-error.
4415 * userlock.el (file-locked, file-supersession):
4416 * simple.el (mark-inactive):
4417 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4418 * progmodes/ada-mode.el (ada-mode-errors):
4419 * play/life.el (life-extinct):
4420 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4421 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4422 * nxml/rng-util.el (rng-error):
4423 * nxml/rng-uri.el (rng-uri-error):
4424 * nxml/rng-match.el (rng-compile-error):
4425 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4426 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4427 * nxml/nxml-rap.el (nxml-scan-error):
4428 * nxml/nxml-outln.el (nxml-outline-error):
4429 * net/soap-client.el (soap-error):
4430 * net/gnutls.el (gnutls-error):
4431 * net/ange-ftp.el (ftp-error):
4432 * mpc.el (mpc-proc-error):
4433 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4434 (json-number-format, json-string-escape, json-string-format)
4435 (json-key-format, json-object-format):
4436 * jka-compr.el (compression-error):
4437 * international/quail.el (quail-error):
4438 * international/kkc.el (kkc-error):
4439 * emacs-lisp/ert.el (ert-test-failed):
4440 * calc/calc.el (calc-error, inexact-result, math-overflow)
4441 (math-underflow):
4442 * bookmark.el (bookmark-error-no-filename):
4443 * epg.el (epg-error): Define with define-error.
4444
4445 * time.el (display-time-event-handler)
4446 (display-time-next-load-average): Don't call sit-for since it seems
4447 unnecessary (bug#15045).
4448
4449 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4450 Use #' instead of ' to quote functions.
4451 (checkdoc-output-mode): Use setq-local.
4452 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4453 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4454 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4455 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4456 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4457 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4458 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4459 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4460
4461 * ido.el (ido-completion-help): Fix up compiler warning.
4462
4463 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4464
4465 * frameset.el (frameset-p): Add autoload cookie.
4466 (frameset--jump-to-register): New function, based on code moved from
4467 register.el.
4468 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4469
4470 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4471 (frameset-restore, frameset-save, frameset-session-filter-alist):
4472 Remove declarations.
4473 (register-alist): Doc fix.
4474 (frameset-to-register): Move to frameset.el.
4475 (jump-to-register, describe-register-1): Remove frameset-specific code.
4476
4477 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4478
4479 * allout-widgets.el (allout-widgets-pre-command-business)
4480 (allout-widgets-post-command-business)
4481 (allout-widgets-after-change-handler)
4482 (allout-decorate-item-and-context, allout-set-boundary-marker)
4483 (allout-body-modification-handler)
4484 (allout-graphics-modification-handler): Mark ignored arguments.
4485 (allout-widgets-post-command-business)
4486 (allout-widgets-exposure-change-processor)
4487 (allout-widgets-exposure-undo-processor)
4488 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4489 (allout-parse-item-at-point, allout-decorate-item-guides)
4490 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4491 * allout.el (epa-passphrase-callback-function): Declare.
4492 (allout-overlay-insert-in-front-handler)
4493 (allout-overlay-interior-modification-handler)
4494 (allout-isearch-end-handler, allout-chart-siblings)
4495 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4496 (allout-yank-processing, allout-process-exposed)
4497 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4498 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4499 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4500 (lisp-indent-defform): Mark ignored arguments.
4501 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4502 (calculate-lisp-indent): Remove unused variables.
4503 * international/characters.el (indian-2-column, arabic-2-column)
4504 (tibetan): Mark ignored arguments.
4505 (use-cjk-char-width-table): Mark ignored arguments.
4506 Remove unused variables.
4507 * international/fontset.el (build-default-fontset-data)
4508 (x-compose-font-name, create-fontset-from-fontset-spec):
4509 Mark ignored arguments.
4510 (fontset-plain-name): Remove unused variables.
4511 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4512 (keyboard-coding-system): Mark ignored arguments.
4513 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4514 * help.el (resize-temp-buffer-window):
4515 * window.el (display-buffer-in-major-side-window)
4516 (display-buffer-in-side-window, display-buffer-in-previous-window):
4517 Remove unused variables.
4518 * isearch.el (isearch-forward-symbol):
4519 * version.el (emacs-bzr-version-bzr):
4520 * international/mule-cmds.el (current-language-environment):
4521 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4522 (x-handle-display):
4523 * term/pc-win.el (x-list-fonts, x-display-planes)
4524 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4525 (x-server-version, x-display-screens, x-display-mm-height)
4526 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4527 (x-selection-owner-p, x-own-selection-internal)
4528 (x-disown-selection-internal, x-get-selection-internal)
4529 (msdos-initialize-window-system):
4530 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4531 * term/x-win.el (x-handle-no-bitmap-icon):
4532 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4533 (vc-default-find-file-hook, vc-default-extra-menu):
4534 Mark ignored arguments.
4535
4536 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4537
4538 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4539 break-condition in the context of the debugged code (bug#12685).
4540
4541 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4542
4543 * comint.el:
4544 Do not use an overlay to highlight the last prompt. (Bug#14744)
4545 (comint-mode): Make comint-last-prompt buffer local.
4546 (comint-last-prompt): New variable.
4547 (comint-last-prompt-overlay): Remove. Superseded by
4548 comint-last-prompt.
4549 (comint-snapshot-last-prompt, comint-output-filter):
4550 Use comint-last-prompt.
4551
4552 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4553
4554 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4555 (frameset-save): Check validity of the resulting frameset.
4556
4557 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4558
4559 * ido.el (ido-record-command): Add doc string.
4560
4561 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4562
4563 * frameset.el (frameset): Do not disable creation of the default
4564 frameset-p predicate. Doc fix.
4565 (frameset-valid-p): New function, copied from the old predicate-p.
4566 Add additional checks.
4567 (frameset-restore): Check with frameset-valid-p.
4568 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4569 (frameset-name, frameset-description, frameset-properties)
4570 (frameset-states): Add docstring.
4571 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4572 (frameset-filter-alist): Doc fixes.
4573
4574 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4575
4576 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4577
4578 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4579
4580 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4581 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4582 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4583 (byte-compile-normal-call): Remove obsolescence check.
4584
4585 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4586
4587 * frameset.el (frameset-restore): Doc fix.
4588
4589 * register.el (frameset-frame-id, frameset-frame-with-id)
4590 (frameset-p, frameset-restore, frameset-save): Declare.
4591 (register-alist): Document framesets.
4592 (frameset-session-filter-alist): Declare.
4593 (frameset-to-register): New function.
4594 (jump-to-register): Implement jumping to framesets. Doc fix.
4595 (describe-register-1): Describe framesets.
4596
4597 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4598
4599 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4600
4601 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4602 Use lexical-binding.
4603
4604 * frameset.el (frameset): Use type vector, not list (incompatible
4605 change). Do not declare a new constructor, use the default one.
4606 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4607 `name' and `description', respectively, and add read-only slot
4608 `timestamp'. Doc fixes.
4609 (frameset-copy, frameset-persistent-filter-alist)
4610 (frameset-filter-alist, frameset-switch-to-gui-p)
4611 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4612 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4613 (frameset-filter-iconified, frameset-keep-original-display-p):
4614 Doc fixes.
4615 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4616 Rename from frameset-filter-(save|restore)-param. All callers changed.
4617 Doc fix.
4618 (frameset-p): Adapt to change to vector and be more thorough.
4619 Change arg name to OBJECT. Doc fix.
4620 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4621 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4622 All callers changed.
4623 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4624 All callers changed.
4625 (frameset--record-minibuffer-relationships): Rename from
4626 frameset--process-minibuffer-frames. All callers changed.
4627 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4628 Use new default constructor (again). Doc fix.
4629 (frameset--find-frame-if): Rename from `frameset--find-frame.
4630 All callers changed.
4631 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4632 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4633 Doc fix.
4634 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4635 PARAMETERS and WINDOW-STATE, respectively.
4636 (frameset-restore): Add new keyword argument PREDICATE.
4637 Reset frameset--target-display to nil. Doc fix.
4638
4639 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4640
4641 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4642 (bat-mode): Use it.
4643 (bat-mode-syntax-table): Mark \n as end-of-comment.
4644 (bat-font-lock-keywords): Remove comment rule.
4645
4646 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4647 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4648
4649 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4650 (byte-compile-callargs-warn): Use `push'.
4651 (byte-compile-arglist-warn): Ignore higher-order "calls".
4652 (byte-compile-file-form-autoload): Use `pcase'.
4653 (byte-compile-function-form): If quoting a symbol, check that it exists.
4654
4655 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4656
4657 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4658 and add a few popular commands found in batch files.
4659 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4660 (dos-mode): Doc fixes.
4661
4662 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4663
4664 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4665 (dos-mode): Use setq-local. Add space after "rem".
4666 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4667 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4668
4669 2013-08-07 Arni Magnusson <arnima@hafro.is>
4670
4671 * progmodes/dos.el: New file.
4672 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4673 dos-mode.
4674
4675 2013-08-06 Glenn Morris <rgm@gnu.org>
4676
4677 * calendar/calendar.el: Add new faces, and day-header-array.
4678 (calendar-weekday-header, calendar-weekend-header)
4679 (calendar-month-header): New faces.
4680 (calendar-day-header-construct): New function.
4681 (calendar-day-header-width): Also :set calendar-day-header-array.
4682 (calendar-american-month-header, calendar-european-month-header)
4683 (calendar-iso-month-header): Use calendar- faces.
4684 (calendar-generate-month):
4685 Use calendar-day-header-array for day headers; apply faces to them.
4686 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4687 (calendar-abbrev-construct): Add optional maxlen argument.
4688 (calendar-day-name-array): Doc fix.
4689 (calendar-day-name-array, calendar-abbrev-length)
4690 (calendar-day-abbrev-array):
4691 Also :set calendar-day-header-array, and maybe redraw.
4692 (calendar-day-header-array): New option. (Bug#15007)
4693 (calendar-font-lock-keywords): Set to nil and make obsolete.
4694 (calendar-day-name): Add option to use header array.
4695
4696 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4697
4698 * net/shr.el (shr-render-td): Remove debugging.
4699 (shr-render-td): Make width computation consistent by defaulting
4700 all zero-width columns to 10 characters. This may not be optimal,
4701 but it's at least consistent.
4702 (shr-make-table-1): Redo last change to fix the real problem in
4703 colspan handling.
4704
4705 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4706
4707 * files.el (cache-long-line-scans):
4708 Make obsolete alias to `cache-long-scans'.
4709
4710 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4711
4712 * frameset.el (frameset, frameset-filter-alist)
4713 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4714 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4715 (frameset-compute-pos): Rename from frameset--compute-pos,
4716 and add docstring.
4717 (frameset-move-onscreen): Use frameset-compute-pos.
4718 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4719
4720 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4721 Fix typos in docstrings.
4722
4723 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4724
4725 * frame.el (get-other-frame): Tiny cleanup.
4726
4727 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4728
4729 * vc/vc.el (vc-default-ignore-completion-table):
4730 Silence byte-compiler warning.
4731
4732 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4733 slot , which can indeed be nil.
4734 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4735 Move entry for `left' from persistent to live filter alist.
4736 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4737 Doc fixes.
4738 (frameset-filter-params): When restoring a frame, copy items added to
4739 `filtered', to avoid unwittingly modifying the original parameters.
4740 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4741 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4742
4743 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4744 to use looking-at-p instead of looking-at. (Bug#15028)
4745
4746 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4747
4748 Revert introduction of isearch-filter-predicates (bug#14714).
4749 Rely on add-function instead.
4750 * isearch.el (isearch-filter-predicates): Rename it back to
4751 isearch-filter-predicate.
4752 (isearch-message-prefix): Use advice-function-mapc and advice
4753 properties to get the isearch-message-prefix.
4754 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4755 instead of run-hook-with-args-until-failure.
4756 (isearch-filter-visible): Not obsolete any more.
4757 * loadup.el: Preload nadvice.
4758 * replace.el (perform-replace): Revert to funcall
4759 instead of run-hook-with-args-until-failure.
4760 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4761 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4762 dired-isearch-filenames-toggle; make it into a proper minor mode.
4763 Use add/remove-function.
4764 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4765 Call the minor-mode rather than add/remove-hook.
4766 (dired-isearch-filter-filenames):
4767 Remove isearch-message-prefix property.
4768 * info.el (Info--search-loop): New function, extracted from Info-search.
4769 Funcall isearch-filter-predicate instead of
4770 run-hook-with-args-until-failure isearch-filter-predicates.
4771 (Info-search): Use it.
4772 (Info-mode): Use isearch-filter-predicate instead of
4773 isearch-filter-predicates.
4774
4775 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4776
4777 Do not call to `selected-window' where it is assumed by default.
4778 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4779 `window-hscroll', `window-width', `window-height', `window-buffer',
4780 `window-frame', `window-start', `window-point', `next-window'
4781 and `window-display-table'.
4782 * abbrev.el (abbrev--default-expand):
4783 * bs.el (bs--show-with-configuration):
4784 * buff-menu.el (Buffer-menu-mouse-select):
4785 * calc/calc.el (calc):
4786 * calendar/calendar.el (calendar-generate-window):
4787 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4788 (diary-make-entry):
4789 * comint.el (send-invisible, comint-dynamic-complete-filename)
4790 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4791 * completion.el (complete):
4792 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4793 * disp-table.el (describe-current-display-table):
4794 * doc-view.el (doc-view-insert-image):
4795 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4796 * ehelp.el (with-electric-help):
4797 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4798 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4799 * emacs-lisp/helper.el (Helper-help-scroller):
4800 * emulation/cua-base.el (cua--post-command-handler-1):
4801 * eshell/esh-mode.el (eshell-output-filter):
4802 * ffap.el (ffap-gnus-wrapper):
4803 * help-macro.el (make-help-screen):
4804 * hilit-chg.el (highlight-compare-buffers):
4805 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4806 * hl-line.el (global-hl-line-highlight):
4807 * icomplete.el (icomplete-simple-completing-p):
4808 * isearch.el (isearch-done):
4809 * jit-lock.el (jit-lock-stealth-fontify):
4810 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4811 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4812 * mpc.el (mpc-tagbrowser, mpc):
4813 * net/rcirc.el (rcirc-any-buffer):
4814 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4815 * play/landmark.el (landmark-max-width, landmark-max-height):
4816 * play/zone.el (zone):
4817 * progmodes/compile.el (compilation-goto-locus):
4818 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4819 * progmodes/etags.el (find-tag-other-window):
4820 * progmodes/fortran.el (fortran-column-ruler):
4821 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4822 * progmodes/verilog-mode.el (verilog-point-text):
4823 * reposition.el (reposition-window):
4824 * rot13.el (toggle-rot13-mode):
4825 * server.el (server-switch-buffer):
4826 * shell.el (shell-dynamic-complete-command)
4827 (shell-dynamic-complete-environment-variable):
4828 * simple.el (insert-buffer, set-selective-display)
4829 (delete-completion-window):
4830 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4831 (speedbar-recenter):
4832 * startup.el (fancy-splash-head):
4833 * textmodes/ispell.el (ispell-command-loop):
4834 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4835 * tutorial.el (help-with-tutorial):
4836 * vc/add-log.el (add-change-log-entry):
4837 * vc/compare-w.el (compare-windows):
4838 * vc/ediff-help.el (ediff-indent-help-message):
4839 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4840 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4841 (ediff-setup-control-frame):
4842 * vc/emerge.el (emerge-position-region):
4843 * vc/pcvs-util.el (cvs-bury-buffer):
4844 * window.el (walk-windows, mouse-autoselect-window-select):
4845 * winner.el (winner-set-conf, winner-undo): Related users changed.
4846
4847 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4848
4849 * frameset.el (frameset--set-id): Doc fix.
4850 (frameset-frame-id, frameset-frame-id-equal-p)
4851 (frameset-locate-frame-id): New functions.
4852 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4853 (frameset-restore): Use them.
4854
4855 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4856
4857 Do not call to `selected-frame' where it is assumed by default.
4858 Affected functions are `raise-frame', `redraw-frame',
4859 `frame-first-window', `frame-terminal' and `delete-frame'.
4860 * calendar/appt.el (appt-disp-window):
4861 * epg.el (epg-wait-for-completion):
4862 * follow.el (follow-delete-other-windows-and-split)
4863 (follow-avoid-tail-recenter):
4864 * international/mule.el (set-terminal-coding-system):
4865 * mail/rmail.el (rmail-mail-return):
4866 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4867 * progmodes/f90.el (f90-add-imenu-menu):
4868 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4869 * server.el (server-switch-buffer):
4870 * simple.el (delete-completion-window):
4871 * talk.el (talk):
4872 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4873 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4874 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4875 * vc/ediff.el (ediff-documentation): Related users changed.
4876 * frame.el (selected-terminal): Remove the leftover.
4877
4878 2013-08-05 Glenn Morris <rgm@gnu.org>
4879
4880 * calendar/calendar.el (calendar-generate-month):
4881 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4882 (calendar-generate-month, calendar-font-lock-keywords):
4883 Fix for calendar-day-header-width > length of any day name.
4884
4885 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4886
4887 * desktop.el (desktop-clear): Use new name of sort predicate.
4888
4889 * frameset.el (frameset): Add docstring. Move :version property to its
4890 own `version' slot.
4891 (frameset-copy): Rename from copy-frameset.
4892 (frameset-p): Check more thoroughly.
4893 (frameset-prop): Do not check for :version, which is no longer a prop.
4894 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4895 Use new :never value instead of t.
4896 (frameset-filter-alist): Expand and clarify docstring.
4897 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4898 (frameset-filter-minibuffer, frameset-filter-save-param)
4899 (frameset-filter-restore-param, frameset-filter-iconified):
4900 Add pointer to docstring of frameset-filter-alist.
4901 (frameset-filter-params): Rename filter values to be more meaningful:
4902 :never instead of t, and reverse the meanings of :save and :restore.
4903 (frameset--process-minibuffer-frames): Clarify error message.
4904 (frameset-save): Avoid unnecessary and confusing call to framep.
4905 Use new BOA constructor for framesets.
4906 (frameset--reuse-list): Doc fix.
4907 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4908 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4909 (frameset-minibufferless-first-p): Doc fix.
4910 Rename from frameset-sort-frames-for-deletion.
4911 (frameset-restore): Doc fixes. Use new function names.
4912 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4913
4914 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4915
4916 * desktop.el (desktop-restore-forces-onscreen)
4917 (desktop-restore-reuses-frames): Document :keyword constant values.
4918 (desktop-filter-parameters-alist): Remove, now identical to
4919 frameset-filter-alist.
4920 (desktop--filter-tty*): Remove, moved to frameset.el.
4921 (desktop-save-frameset, desktop-restore-frameset):
4922 Do not pass :filters argument.
4923
4924 * frameset.el (frameset-live-filter-alist)
4925 (frameset-persistent-filter-alist): New variables.
4926 (frameset-filter-alist): Use them. Add autoload cookie.
4927 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4928 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4929 `frameset--id' (it's supposed to be internal to frameset.el).
4930 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4931 (frameset--initial-params): New function.
4932 (frameset--get-frame): Use it. Doc fix.
4933 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4934 Accept :all, not 'all.
4935 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4936 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4937 with fbound symbols. Fix frame id matching, and remove matching ids if
4938 the frame being restored is deleted. Obey :delete.
4939
4940 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4941
4942 * subr.el (macrop): New function.
4943 (text-clone--maintaining): New var.
4944 (text-clone--maintain): Rename from text-clone-maintain. Use it
4945 instead of inhibit-modification-hooks.
4946
4947 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4948 a proxy, so as handle autoloads and redefinitions of the target.
4949 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4950
4951 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4952 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4953 (pcase--mutually-exclusive-p): New function.
4954 (pcase--split-consp): Use it.
4955 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4956 mutually exclusive with the current predicate.
4957
4958 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4959 (edebug-macrop): Remove. Use `macrop' instead.
4960 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4961 (ad-macro-p):
4962 * eshell/esh-cmd.el (eshell-macrop):
4963 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4964
4965 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4966
4967 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4968 (advice-mapc): New function, using it.
4969 (advice-function-member-p): New function.
4970 (advice--normalize): Store the cdr in advice--saved-rewrite since
4971 that's the part that will be changed.
4972 (advice--symbol-function): New function.
4973 (advice-remove): Handle removal before the function is defined.
4974 Adjust to new advice--saved-rewrite.
4975 (advice-member-p): Use advice-function-member-p and
4976 advice--symbol-function.
4977
4978 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4979
4980 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4981 (frameset-filter-minibuffer): Doc fix.
4982 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4983 (frameset--set-id, frameset--process-minibuffer-frames)
4984 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4985 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4986
4987 * desktop.el (desktop-clear): Only delete frames when called
4988 interactively and desktop-restore-frames is non-nil. Doc fix.
4989 (desktop-read): Set desktop-saved-frameset to nil.
4990
4991 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4992
4993 * vc/vc.el (vc-ignore): Rewrite.
4994 (vc-default-ignore-completion-table):
4995 (vc--read-lines):
4996 (vc--add-line, vc--remove-regexp): New functions.
4997
4998 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4999 (vc-svn-ignore-completion-table): New function.
5000
5001 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5002 (vc-hg-ignore-completion-table):
5003 (vc-hg-find-ignore-file): New functions.
5004
5005 * vc/vc-git.el (vc-git-ignore): Rewrite.
5006 (vc-git-ignore-completion-table):
5007 (vc-git-find-ignore-file): New functions.
5008
5009 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5010
5011 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5012 (vc-bzr-ignore-completion-table):
5013 (vc-bzr-find-ignore-file): New functions.
5014
5015 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5016
5017 * frameset.el (frameset-prop): New function and setter.
5018 (frameset-save): Do not modify frame list passed by the caller.
5019
5020 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5021
5022 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5023
5024 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5025
5026 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5027 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5028
5029 * custom.el (custom-initialize-default, custom-initialize-set)
5030 (custom-initialize-reset, custom-initialize-changed): Affect the
5031 toplevel-default-value (bug#6275, bug#14586).
5032 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5033 for bug#6275.
5034
5035 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5036
5037 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5038 Add cl-def* expressions.
5039
5040 * frameset.el (frameset-filter-params): Fix order of arguments.
5041
5042 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5043
5044 Move code related to saving frames to frameset.el.
5045 * desktop.el: Require frameset.
5046 (desktop-restore-frames): Doc fix.
5047 (desktop-restore-reuses-frames): Rename from
5048 desktop-restoring-reuses-frames.
5049 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5050 (desktop-clear): Clear frames too.
5051 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5052 (desktop--filter-tty*, desktop-save, desktop-read):
5053 Use frameset functions.
5054 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5055 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5056 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5057 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5058 (desktop--process-minibuffer-frames, desktop-save-frames)
5059 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5060 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5061 (desktop--sort-states, desktop-restoring-frames-p)
5062 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5063 (desktop-restoring-frameset-p, desktop-restore-frameset)
5064 (desktop--check-dont-save, desktop-save-frameset): New functions.
5065 (desktop--app-id): New constant.
5066 (desktop-first-buffer, desktop-buffer-ok-count)
5067 (desktop-buffer-fail-count): Move before first use.
5068 * frameset.el: New file.
5069
5070 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5071
5072 * files.el: Use lexical-binding.
5073 (dir-locals-read-from-file): Remove unused `err' variable.
5074 (hack-dir-local-variables--warned-coding): New var.
5075 (hack-dir-local-variables): Use it to avoid repeated warnings.
5076 (make-backup-file-name--default-function): New function.
5077 (make-backup-file-name-function): Use it as default.
5078 (buffer-stale--default-function): New function.
5079 (buffer-stale-function): Use it as default.
5080 (revert-buffer-insert-file-contents--default-function): New function.
5081 (revert-buffer-insert-file-contents-function): Use it as default.
5082 (insert-directory): Avoid add-to-list.
5083
5084 * autorevert.el (auto-revert-handler): Simplify.
5085 Use buffer-stale--default-function.
5086
5087 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5088
5089 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5090
5091 * whitespace.el (whitespace-ensure-local-variables): New function.
5092 (whitespace-cleanup-region): Call it.
5093 (whitespace-turn-on): Call it.
5094
5095 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5096
5097 Complete file name handlers.
5098
5099 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5100 (tramp-handle-verify-visited-file-modtime)
5101 (tramp-handle-file-notify-rm-watch): New functions.
5102 (tramp-call-process): Do not bind `default-directory'.
5103
5104 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5105 Order alphabetically.
5106 [access-file, add-name-to-file, dired-call-process]:
5107 [dired-compress-file, file-acl, file-notify-rm-watch]:
5108 [file-ownership-preserved-p, file-selinux-context]:
5109 [make-directory-internal, make-symbolic-link, set-file-acl]:
5110 [set-file-selinux-context, set-visited-file-modtime]:
5111 [verify-visited-file-modtime]: Add handler.
5112 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5113
5114 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5115 [file-notify-add-watch, file-notify-rm-watch]:
5116 [set-file-times, set-visited-file-modtime]:
5117 [verify-visited-file-modtime]: Add handler.
5118 (with-tramp-gvfs-error-message)
5119 (tramp-gvfs-handle-set-visited-file-modtime)
5120 (tramp-gvfs-fuse-file-name): Remove.
5121 (tramp-gvfs-handle-file-notify-add-watch)
5122 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5123 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5124
5125 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5126 Order alphabetically.
5127 [file-notify-rm-watch ]: Use default Tramp handler.
5128 [executable-find]: Remove private handler.
5129 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5130 `default-directory'.
5131 (tramp-sh-handle-executable-find)
5132 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5133 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5134 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5135 Do not use `format' in `tramp-message'.
5136
5137 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5138 [file-notify-rm-watch, set-visited-file-modtime]:
5139 [verify-visited-file-modtime]: Add handler.
5140 (tramp-smb-call-winexe): Do not bind `default-directory'.
5141
5142 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5143
5144 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5145
5146 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5147
5148 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5149 use it.
5150 (log-view-diff-changeset): Same.
5151 (log-view-diff-common): Call backend command `previous-revision'
5152 to find out the previous revision, in both cases. Swap the
5153 variables `to' and `fr', so that `fr' usually refers to the
5154 earlier revision (Bug#14989).
5155
5156 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5157
5158 * ibuf-ext.el (ibuffer-filter-by-filename):
5159 Make it work with dired buffers too.
5160
5161 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5162
5163 * emacs-lisp/re-builder.el (reb-color-display-p):
5164 * files.el (save-buffers-kill-terminal):
5165 * net/browse-url.el (browse-url):
5166 * server.el (server-save-buffers-kill-terminal):
5167 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5168 Prefer nil to selected-frame for the first arg of frame-parameter.
5169
5170 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5171
5172 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5173
5174 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5175
5176 * minibuffer.el (completion--twq-all): Try and preserve each
5177 completion's case choice (bug#14907).
5178
5179 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5180
5181 * net/network-stream.el (open-network-stream): Mention the new
5182 :nogreeting parameter.
5183 (network-stream-open-starttls): Use the :nogreeting parameter
5184 (bug#14938).
5185
5186 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5187
5188 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5189 more natural than popping.
5190
5191 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5192 (shr-urlify): Highlight under mouse.
5193
5194 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5195
5196 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5197
5198 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5199
5200 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5201 buffer for output.
5202
5203 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5204 point-min==1. Fix search string. Fix parentheses missing.
5205
5206 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5207 assume point-min==1. Fix search string. Fix parentheses missing.
5208
5209 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5210
5211 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5212 buffer for output.
5213
5214 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5215
5216 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5217 initial frame is minibuffer-less. (Bug#14841)
5218
5219 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5220
5221 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5222 option.
5223
5224 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5225 (tramp-maybe-open-connection): Use it.
5226
5227 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5228
5229 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5230 minimal set of parameters passed when creating a frame, because
5231 the minibuffer status of a frame cannot be changed later.
5232
5233 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5234
5235 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5236 replace-regexp-in-string and inadvertent omissions in previous change.
5237 (todo-filter-items): Ensure only file names are comma-separated in
5238 name of filtered items buffer.
5239
5240 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5241
5242 * desktop.el: Optionally force offscreen frames back onscreen.
5243 (desktop-restoring-reuses-frames): New option.
5244 (desktop--compute-pos, desktop--move-onscreen): New functions.
5245 (desktop--make-frame): Use desktop--move-onscreen.
5246
5247 2013-07-27 Alan Mackenzie <acm@muc.de>
5248
5249 Fontify a Java generic method as a function.
5250 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5251 value to t.
5252
5253 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5254
5255 * calendar/todo-mode.el: Add command to rename todo files.
5256 (todo-rename-file): New command.
5257 (todo-key-bindings-t): Add key binding for it. Change the
5258 bindings of todo-filter-regexp-items(-multifile) to use `x'
5259 instead of `r', since the latter is better suited to the new
5260 renaming command.
5261
5262 2013-07-27 Alan Mackenzie <acm@muc.de>
5263
5264 Make Java try-with-resources statement parse properly.
5265 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5266 (c-block-stmt-1-2-key): New language constants/variables.
5267 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5268 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5269 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5270 with c-block-stmt-1-2-key.
5271
5272 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5273
5274 * desktop.el (desktop--make-frame): Apply most frame parameters after
5275 creating the frame to force (partially or totally) offscreen frames to
5276 be restored as such.
5277
5278 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5279
5280 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5281 (Bug#14948)
5282
5283 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5284
5285 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5286 `base' arg of backtrace-frame.
5287
5288 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5289
5290 * simple.el (list-processes): Doc fix.
5291
5292 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5293
5294 * desktop.el (desktop--select-frame):
5295 Try harder to reuse existing frames.
5296
5297 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5298
5299 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5300 (edebug-eval): Use backtrace-eval.
5301 (edebug--display, edebug--recursive-edit): Don't let-bind the
5302 edebug-outer-* vars that keep track of variables we locally let-bind.
5303 (edebug-outside-excursion): Don't restore outside values of locally
5304 let-bound vars.
5305 (edebug--display): Use user-error.
5306 (cl-lexical-debug, cl-debug-env): Remove.
5307
5308 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5309
5310 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5311 are restored to be sure that they are visible before deleting any
5312 remaining ones.
5313
5314 2013-07-26 Matthias Meulien <orontee@gmail.com>
5315
5316 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5317 vc-print-root-log. (Bug#14948)
5318
5319 2013-07-26 Richard Stallman <rms@gnu.org>
5320
5321 Add aliases for encrypting mail.
5322 * epa.el (epa-mail-aliases): New option.
5323 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5324 Bind inhibit-read-only so read-only text doesn't ruin everything.
5325 (epa-mail-default-recipients): New subroutine broken out.
5326 Handle epa-mail-aliases.
5327
5328 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5329
5330 Add support for lexical variables to the debugger's `e' command.
5331 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5332 vars, except for debugger-outer-match-data.
5333 (debugger-frame-number): Move check for "on a function call" from
5334 callers into it. Add `skip-base' argument.
5335 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5336 (debugger-env-macro): Only reset the state stored in non-variables,
5337 i.e. current-buffer and match-data.
5338 (debugger-eval-expression): Rewrite using backtrace-eval.
5339 * subr.el (internal--called-interactively-p--get-frame): Remove.
5340 (called-interactively-p):
5341 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5342 `base' arg of backtrace-frame instead.
5343
5344 2013-07-26 Glenn Morris <rgm@gnu.org>
5345
5346 * align.el (align-regexp): Doc fix. (Bug#14857)
5347 (align-region): Explicit error if subexpression missing/does not match.
5348
5349 * simple.el (global-visual-line-mode):
5350 Do not duplicate the mode lighter. (Bug#14858)
5351
5352 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5353
5354 * window.el (display-buffer): In display-buffer bind
5355 split-window-keep-point to t, bug#14829.
5356
5357 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5358
5359 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5360 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5361 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5362 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5363 Change accordingly.
5364 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5365 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5366
5367 2013-07-25 Glenn Morris <rgm@gnu.org>
5368
5369 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5370
5371 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5372
5373 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5374 parameter to modify-frame-parameters if the value has not changed;
5375 this is a workaround for bug#14949.
5376 (desktop--make-frame): On cl-delete-if call, check parameter name,
5377 not full parameter.
5378
5379 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5380
5381 * vc/vc.el (vc-ignore): New function.
5382
5383 * vc/vc-svn.el (vc-svn-ignore): New function.
5384
5385 * vc/vc-hg.el (vc-hg-ignore): New function.
5386
5387 * vc/vc-git.el (vc-git-ignore): New function.
5388
5389 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5390 (vc-dir-ignore): New function.
5391
5392 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5393 (cvs-append-to-ignore): Move here from pcvs.el.
5394
5395 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5396
5397 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5398
5399 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5400
5401 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5402 (desktop-restore-frames): Warn when deleting an existing frame failed.
5403
5404 2013-07-24 Glenn Morris <rgm@gnu.org>
5405
5406 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5407
5408 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5409
5410 * filenotify.el (file-notify-supported-p):
5411 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5412 Remove functions.
5413
5414 * autorevert.el (auto-revert-use-notify):
5415 (auto-revert-notify-add-watch):
5416 * net/tramp.el (tramp-file-name-for-operation):
5417 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5418 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5419 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5420 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5421 Remove `file-notify-supported-p' entry.
5422
5423 2013-07-24 Glenn Morris <rgm@gnu.org>
5424
5425 * printing.el: Replace all uses of deleted ps-windows-system,
5426 ps-lp-system, ps-flatten-list with lpr- versions.
5427
5428 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5429
5430 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5431 checked with memq (bug#14935).
5432
5433 * files.el (revert-buffer-function): Use a non-nil default.
5434 (revert-buffer-preserve-modes): Declare var to
5435 provide access to the `preserve-modes' argument.
5436 (revert-buffer): Let-bind it.
5437 (revert-buffer--default): New function, extracted from revert-buffer.
5438
5439 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5440
5441 * lpr.el: Signal print errors more prominently.
5442 (print-region-function): Don't default to nil.
5443 (lpr-print-region): New function, extracted from print-region-1.
5444 Check lpr's return value and signal an error in case of problem.
5445 (print-region-1): Use it.
5446 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5447 versions instead.
5448 (ps-printer-name): Default to nil.
5449 (ps-printer-name-option): Default to lpr-printer-switch.
5450 (ps-print-region-function): Don't default to nil.
5451 (ps-postscript-code-directory): Simplify default.
5452 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5453 (ps-string-list, ps-eval-switch, ps-flatten-list)
5454 (ps-flatten-list-1): Remove.
5455 (ps-multibyte-buffer): Avoid setq.
5456 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5457 (print-region-function, ps-print-region-function): Don't set them here.
5458
5459 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5460
5461 * ido.el (ido-fractionp):
5462 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5463 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5464 (ido-max-directory-size, ido-max-dir-file-cache)
5465 (ido-decorations): Doc fix.
5466
5467 * ansi-color.el: Fix old URL.
5468
5469 2013-07-23 Michael R. Mauger <michael@mauger.com>
5470
5471 * progmodes/sql.el: Version 3.3
5472 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5473 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5474 (sql-interactive-remove-continuation-prompt): Rewrite, use
5475 functions above. Fix continuation prompt and complete output line
5476 handling.
5477 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5478 redirected output buffer.
5479 (sql-mode): Restore deleted code (Bug#13591).
5480
5481 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5482
5483 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5484
5485 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5486
5487 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5488
5489 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5490 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5491 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5492
5493 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5494
5495 * desktop.el (desktop-clear): Simplify; remove useless checks
5496 against invalid buffer names.
5497 (desktop-list*): Use cl-list*.
5498 (desktop-buffer-info, desktop-create-buffer): Simplify.
5499
5500 2013-07-23 Leo Liu <sdl.web@gmail.com>
5501
5502 * bookmark.el (bookmark-make-record): Restore NAME as a default
5503 value. (Bug#14933)
5504
5505 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5506
5507 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5508 extracted from autoload--insert-text.
5509 (autoload--insert-text): Remove.
5510 (autoload--print-cookie-text): New function, extracted from
5511 autoload--insert-cookie-text.
5512 (autoload--insert-cookie-text): Remove.
5513 (autoload-generate-file-autoloads): Adjust calls accordingly.
5514
5515 * winner.el (winner-hook-installed-p): Remove.
5516 (winner-mode): Simplify accordingly.
5517
5518 * subr.el (add-to-list): Fix compiler-macro when `append' is
5519 not constant. Don't use `cl-member' for the base case.
5520
5521 * progmodes/subword.el: Fix boundary case (bug#13758).
5522 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5523 own group.
5524 (subword-backward-regexp): Make it a constant.
5525 (subword-forward-internal): Don't treat a trailing capital as the
5526 beginning of a word.
5527
5528 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5529
5530 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5531 global value of tabulated-list-revert-hook (bug#14930).
5532
5533 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5534
5535 * desktop.el: Require 'cl-lib.
5536 (desktop-before-saving-frames-functions): New hook.
5537 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5538 for frames being saved. Rename from desktop--save-minibuffer-frames.
5539 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5540 Do not save frames with non-nil `desktop-dont-save' parameter.
5541 Filter out deleted frames.
5542 (desktop--find-frame): Use cl-find-if.
5543 (desktop--select-frame): Use cl-(first|second|third) to access values
5544 of desktop-mini.
5545 (desktop--make-frame): Use cl-delete-if.
5546 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5547 (desktop-restore-frames): Use cl-(first|second|third) to access values
5548 of desktop-mini. Look for visible frame at the end, not while
5549 restoring frames.
5550
5551 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5552 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5553 Use string-match-p, looking-at-p (bug#14927).
5554
5555 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5556
5557 * desktop.el (desktop-saved-frame-states):
5558 Rename from desktop--saved-states; all users changed.
5559 (desktop-save-frames): Rename from desktop--save-frames.
5560 Do not save state to desktop file.
5561 (desktop-save): Save desktop-saved-frame-states to desktop file
5562 and reset to nil.
5563 (desktop-restoring-frames-p): New function.
5564 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5565 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5566 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5567
5568 * desktop.el: Correctly restore iconified frames.
5569 (desktop--filter-iconified-position): New function.
5570 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5571
5572 2013-07-20 Glenn Morris <rgm@gnu.org>
5573
5574 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5575 Let `message' do the formatting.
5576 (def-gdb-preempt-display-buffer): Add explicit format.
5577
5578 * image-dired.el (image-dired-track-original-file):
5579 Use with-current-buffer.
5580 (image-dired-track-thumbnail): Use with-current-buffer.
5581 Avoid changing point of wrong window.
5582
5583 * image-dired.el (image-dired-track-original-file):
5584 Avoid changing point of wrong window. (Bug#14909)
5585
5586 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5587
5588 * progmodes/gdb-mi.el (gdb-done-or-error):
5589 Guard against "%" in gdb output. (Bug#14127)
5590
5591 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5592
5593 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5594 (Bug#14826)
5595
5596 * international/mule.el (coding-system-iso-2022-flags): Fix last
5597 change.
5598
5599 2013-07-20 Kenichi Handa <handa@gnu.org>
5600
5601 * international/mule.el (coding-system-iso-2022-flags):
5602 Add `8-bit-level-4'. (Bug#8522)
5603
5604 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5605
5606 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5607 (bug#14815).
5608
5609 * net/eww.el (eww-process-text-input): Allow inputting when the
5610 point is at the start of the line, as the properties aren't
5611 front-sticky.
5612
5613 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5614 degenerate widths.
5615
5616 2013-07-19 Richard Stallman <rms@gnu.org>
5617
5618 * epa.el (epa-popup-info-window): Doc fix.
5619
5620 * subr.el (split-string): New arg TRIM.
5621
5622 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5623
5624 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5625 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5626
5627 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5628
5629 * filenotify.el (file-notify--library): Rename from
5630 `file-notify-support'. Do not autoload. Adapt all uses.
5631 (file-notify-supported-p): New defun.
5632
5633 * autorevert.el (auto-revert-use-notify):
5634 Use `file-notify-supported-p' instead of `file-notify-support'.
5635 Adapt docstring.
5636 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5637
5638 * net/tramp.el (tramp-file-name-for-operation):
5639 Add `file-notify-supported-p'.
5640
5641 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5642 New defun.
5643 (tramp-sh-file-name-handler-alist): Add it as handler for
5644 `file-notify-supported-p '.
5645
5646 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5647 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5648 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5649 Add `ignore' as handler for `file-notify-*' functions.
5650
5651 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5652
5653 * simple.el (line-move-partial, line-move): Don't start vscroll or
5654 scroll-up if the current line is not taller than the window.
5655 (Bug#14881)
5656
5657 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5658
5659 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5660 highlight question marks in the method names as strings.
5661 (ruby-block-beg-keywords): Inline.
5662 (ruby-font-lock-keyword-beg-re): Extract from
5663 `ruby-font-lock-keywords'.
5664
5665 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5666
5667 * frame.el (blink-cursor-blinks): New defcustom.
5668 (blink-cursor-blinks-done): New defvar.
5669 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5670 (blink-cursor-timer-function): Check if number of blinks has been
5671 done on X and NS.
5672 (blink-cursor-suspend, blink-cursor-check): New defuns.
5673
5674 2013-07-15 Glenn Morris <rgm@gnu.org>
5675
5676 * edmacro.el (edmacro-format-keys): Fix previous change.
5677
5678 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5679
5680 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5681 The hack didn't work outside English locales anyway.
5682
5683 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5684
5685 * simple.el (define-alternatives): Rename from alternatives-define,
5686 per RMS' suggestion.
5687
5688 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5689
5690 * desktop.el (desktop-restore-frames): Change default to t.
5691 (desktop-restore-in-current-display): Now offer more options.
5692 (desktop-restoring-reuses-frames): New customization option.
5693 (desktop--saved-states): Doc fix.
5694 (desktop-filter-parameters-alist): New variable, renamed and expanded
5695 from desktop--excluded-frame-parameters.
5696 (desktop--target-display): New variable.
5697 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5698 (desktop--filter-tty*, desktop--filter-*-color)
5699 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5700 (desktop--filter-save-desktop-parm)
5701 (desktop-restore-in-original-display-p): New functions.
5702 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5703 (desktop--save-minibuffer-frames): New function, inspired by a similar
5704 function from Martin Rudalics.
5705 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5706 (desktop--restore-in-this-display-p): Remove.
5707 (desktop--find-frame): Rename from desktop--find-frame-in-display
5708 and add predicate argument.
5709 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5710 (desktop--reuse-list): New variable.
5711 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5712 New functions.
5713 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5714
5715 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5716
5717 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5718
5719 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5720
5721 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5722 Highlight conversion methods on Kernel.
5723
5724 2013-07-13 Alan Mackenzie <acm@muc.de>
5725
5726 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5727 and comment it out. This out-commenting enables certain C++
5728 declarations to be parsed correctly.
5729
5730 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5731
5732 * international/mule.el (define-coding-system): Doc fix.
5733
5734 * simple.el (default-font-height): Don't call font-info if the
5735 frame's default font didn't change since the frame was created.
5736 (Bug#14838)
5737
5738 2013-07-13 Leo Liu <sdl.web@gmail.com>
5739
5740 * ido.el (ido-read-file-name): Guard against non-symbol value.
5741
5742 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5743
5744 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5745 in nested defuns.
5746
5747 2013-07-13 Leo Liu <sdl.web@gmail.com>
5748
5749 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5750 ido-set-matches call. (Bug#6852)
5751
5752 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5753
5754 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5755 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5756 Ruby 2.0.
5757 (ruby-font-lock-keywords): Distinguish calls to functions with
5758 module-like names from module references. Highlight character
5759 literals.
5760
5761 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5762
5763 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5764 (gdb-send): Handle continued commands. (Bug#14847)
5765
5766 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5767
5768 * desktop.el (desktop--v2s): Remove unused local variable.
5769 (desktop-save-buffer): Make defvar-local; adjust docstring.
5770 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5771 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5772
5773 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5774
5775 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5776
5777 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5778
5779 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5780 (Bug#14842)
5781
5782 2013-07-12 Glenn Morris <rgm@gnu.org>
5783
5784 * doc-view.el: Require cl-lib at runtime too.
5785 (doc-view-remove-if): Remove.
5786 (doc-view-search-next-match, doc-view-search-previous-match):
5787 Use cl-remove-if.
5788
5789 * edmacro.el: Require cl-lib at runtime too.
5790 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5791 (edmacro-mismatch, edmacro-subseq): Remove.
5792
5793 * shadowfile.el: Require cl-lib.
5794 (shadow-remove-if): Remove.
5795 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5796 Use cl-remove-if.
5797
5798 * wid-edit.el: Require cl-lib.
5799 (widget-choose): Use cl-remove-if.
5800 (widget-remove-if): Remove.
5801
5802 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5803 (ebrowse-delete-if-not): Remove.
5804 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5805 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5806 Use cl-delete-if-not.
5807
5808 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5809
5810 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5811 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5812
5813 2013-07-12 Leo Liu <sdl.web@gmail.com>
5814
5815 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5816
5817 2013-07-11 Glenn Morris <rgm@gnu.org>
5818
5819 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5820 (edebug-gensym-index, edebug-gensym):
5821 Remove reimplementation of cl-gensym.
5822 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5823
5824 * thumbs.el: Require cl-lib at run-time too.
5825 (thumbs-gensym-counter, thumbs-gensym):
5826 Remove reimplementation of cl-gensym.
5827 (thumbs-temp-file): Use cl-gensym.
5828
5829 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5830 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5831 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5832 (ert--union, ert--gensym-counter, ert--gensym-counter)
5833 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5834 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5835 (ert-make-test-unbound, ert--expand-should-1)
5836 (ert--expand-should, ert--should-error-handle-error)
5837 (should-error, ert--explain-equal-rec)
5838 (ert--plist-difference-explanation, ert-select-tests)
5839 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5840 Use cl-lib functions rather than reimplementations.
5841
5842 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5843
5844 * net/tramp.el (tramp-methods): Extend docstring.
5845 (tramp-connection-timeout): New defcustom.
5846 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5847 (with-tramp-progress-reporter): Simplify.
5848 (tramp-process-actions): Improve messages.
5849
5850 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5851 * net/tramp-sh.el (tramp-maybe-open-connection):
5852 Use `tramp-connection-timeout'.
5853 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5854 (Bug#14808)
5855
5856 2013-07-11 Leo Liu <sdl.web@gmail.com>
5857
5858 * ido.el (ido-read-file-name): Conform to the requirements of
5859 read-file-name. (Bug#11861)
5860 (ido-read-directory-name): Conform to the requirements of
5861 read-directory-name.
5862
5863 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5864
5865 * subr.el (delay-warning): New function.
5866
5867 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5868
5869 * simple.el (default-line-height): New function.
5870 (line-move-partial, line-move): Use it instead of computing the
5871 line height inline.
5872 (line-move-partial): Always compute ROWH. If the last line is
5873 partially-visible, but its text is completely visible, allow
5874 cursor to enter such a partially-visible line.
5875
5876 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5877
5878 Improve error messages. (Bug#14808)
5879
5880 * net/tramp.el (tramp-current-connection): New defvar, moved from
5881 tramp-sh.el.
5882 (tramp-message-show-progress-reporter-message): Remove, not
5883 needed anymore.
5884 (tramp-error-with-buffer): Show message in minibuffer.
5885 Discard input before waiting. Reset connection timestamp.
5886 (with-tramp-progress-reporter): Improve messages.
5887 (tramp-process-actions): Use progress reporter. Delete process in
5888 case of error. Improve messages.
5889
5890 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5891 Call `tramp-error-with-buffer' with vector and buffer.
5892 (tramp-current-connection): Remove.
5893 (tramp-maybe-open-connection): The car of
5894 `tramp-current-connection' are the first 3 slots of the vector.
5895
5896 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5897
5898 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5899 inside continued strings.
5900
5901 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5902
5903 Timestamp fixes for undo (Bug#14824).
5904 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5905
5906 2013-07-10 Leo Liu <sdl.web@gmail.com>
5907
5908 * files.el (require-final-newline): Allow safe local value.
5909 (Bug#14834)
5910
5911 2013-07-09 Leo Liu <sdl.web@gmail.com>
5912
5913 * ido.el (ido-read-directory-name): Handle fallback.
5914 (ido-read-file-name): Update DIR to ido-current-directory.
5915 (Bug#1516)
5916 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5917
5918 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5919
5920 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5921 "autoload". Remove "warn lower camel case" section, previously
5922 commented out. Highlight negation char. Do not highlight the
5923 target in singleton method definitions.
5924
5925 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5926
5927 * faces.el (tty-setup-hook): Declare the hook.
5928
5929 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5930 and detect when a guard/pred depends on local vars (bug#14773).
5931 (pcase--u1): Adjust caller.
5932
5933 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5934
5935 * simple.el (line-move-partial, line-move): Account for
5936 line-spacing.
5937 (line-move-partial): Avoid setting vscroll when the last
5938 partially-visible line in window is of default height.
5939
5940 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5941
5942 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5943 been used a while.
5944
5945 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5946
5947 * subr.el (read-quoted-char): Remove unused local variable `char'.
5948
5949 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5950
5951 * ediff.el (ediff-version): Version update.
5952 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5953 (ediff-merge-with-ancestor-command, ediff-directories-command)
5954 (ediff-directories3-command, ediff-merge-directories-command)
5955 (ediff-merge-directories-with-ancestor-command): New functions.
5956 All are command-line interfaces to ediff: to facilitate calling
5957 Emacs with the appropriate ediff functions invoked.
5958
5959 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5960 (viper-save-kill-buffer): Check if buffer is modified.
5961
5962 * viper.el (viper-version): Version update.
5963 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5964
5965 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5966
5967 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5968 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5969 (viper-intercept-ESC-key): Simplify.
5970 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5971 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5972 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5973 (viper-setup-ESC-to-escape): New functions.
5974 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5975 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5976
5977 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5978
5979 * simple.el (default-font-height, window-screen-lines):
5980 New functions.
5981 (line-move, line-move-partial): Use them instead of
5982 frame-char-height and window-text-height. This makes scrolling
5983 text smoother when the buffer's default face uses a font that is
5984 different from the frame's default font.
5985
5986 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5987
5988 * files.el (write-file): Do not display confirm dialog for NS,
5989 it does its own dialog, which can't be cancelled (Bug#14578).
5990
5991 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5992
5993 * simple.el (line-move-partial): Adjust the row returned by
5994 posn-at-point for the current window-vscroll. (Bug#14567)
5995
5996 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5997
5998 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5999 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6000 spaces.
6001
6002 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6003
6004 * window.el (window-state-put-stale-windows): New variable.
6005 (window--state-put-2): Save list of windows without matching buffer.
6006 (window-state-put): Remove "bufferless" windows if possible.
6007
6008 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6009
6010 * simple.el (alternatives-define): Remove leftover :group keyword.
6011 Tweak docstring.
6012
6013 2013-07-06 Leo Liu <sdl.web@gmail.com>
6014
6015 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6016 (ido-enable-virtual-buffers): New variable.
6017 (ido-buffer-internal, ido-toggle-virtual-buffers)
6018 (ido-make-buffer-list): Use it.
6019 (ido-exhibit): Support turning on and off virtual buffers
6020 automatically.
6021
6022 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6023
6024 * simple.el (alternatives-define): New macro.
6025
6026 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6027
6028 * subr.el (read-quoted-char): Use read-key.
6029 (sit-for): Let read-event decode tty input (bug#14782).
6030
6031 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6032
6033 * calendar/todo-mode.el: Add handling of file deletion, both by
6034 mode command and externally. Fix various related bugs.
6035 Clarify Commentary and improve some documentation strings and code.
6036 (todo-delete-file): New command.
6037 (todo-check-file): New function.
6038 (todo-show): Handle external deletion of the file we're trying to
6039 show (bug#14688). Replace called-interactively-p by an optional
6040 prefix argument to avoid problematic interaction with catch form
6041 when byte compiled (bug#14702).
6042 (todo-quit): Handle external deletion of the archive's todo file.
6043 Make sure the buffer that was visiting the archive file is still
6044 live before trying to bury it.
6045 (todo-category-completions): Handle external deletion of any
6046 category completion files.
6047 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6048 of todo files, in case of external deletion.
6049 (todo-add-file): Replace unnecessary setq by let-binding.
6050 (todo-find-archive): Check whether there are any archives.
6051 Replace unnecessary setq by let-binding.
6052 (todo-archive-done-item): Use find-file-noselect to get the
6053 archive buffer whether or not the archive already exists.
6054 Remove superfluous code. Use file size instead of buffer-file-name to
6055 check if the archive is new; if it is, update list of archives.
6056 (todo-default-todo-file): Allow nil to be a valid value for when
6057 there are no todo files.
6058 (todo-reevaluate-default-file-defcustom): Use corrected definition
6059 of todo-default-todo-file.
6060 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6061 (todo-delete-category, todo-show-categories-table)
6062 (todo-category-number): Clarify comment.
6063 (todo-filter-items): Clarify documentation string.
6064 (todo-show-current-file, todo-display-as-todo-file)
6065 (todo-reset-and-enable-done-separator): Tweak documentation string.
6066 (todo-done-separator): Make separator length window-width, since
6067 bug#2749 is now fixed.
6068
6069 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6070
6071 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6072 Support both "gvfs-monitor-dir" and "inotifywait".
6073 (tramp-sh-file-inotifywait-process-filter): Rename from
6074 `tramp-sh-file-notify-process-filter'.
6075 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6076 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6077
6078 2013-07-05 Leo Liu <sdl.web@gmail.com>
6079
6080 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6081
6082 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6083
6084 * frame.el (display-pixel-height, display-pixel-width)
6085 (display-mm-height, display-mm-width): Mention behavior on
6086 multi-monitor setups in docstrings.
6087 (w32-display-monitor-attributes-list): Declare function.
6088 (display-monitor-attributes-list): Use it.
6089
6090 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6091
6092 * filenotify.el: New package.
6093
6094 * autorevert.el (top): Require filenotify.el.
6095 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6096 instead.
6097 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6098 (auto-revert-notify-handler): Use `file-notify-*' functions.
6099
6100 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6101
6102 * net/tramp.el (tramp-file-name-for-operation):
6103 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6104
6105 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6106 for `file-notify-add-watch' and `file-notify-rm-watch'.
6107 (tramp-process-sentinel): Improve trace.
6108 (tramp-sh-handle-file-notify-add-watch)
6109 (tramp-sh-file-notify-process-filter)
6110 (tramp-sh-handle-file-notify-rm-watch)
6111 (tramp-get-remote-inotifywait): New defuns.
6112
6113 2013-07-03 Juri Linkov <juri@jurta.org>
6114
6115 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6116 call of `occur-read-primary-args' to interactive spec.
6117
6118 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6119 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6120
6121 2013-07-03 Matthias Meulien <orontee@gmail.com>
6122
6123 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6124 `Buffer-menu-multi-occur'. Add it to the menu.
6125 (Buffer-menu-mode): Document it in docstring.
6126 (Buffer-menu-multi-occur): New command. (Bug#14673)
6127
6128 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6129
6130 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6131 keywords and built-ins.
6132
6133 2013-07-03 Glenn Morris <rgm@gnu.org>
6134
6135 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6136
6137 Make info-xref checks case-sensitive by default
6138 * info.el (Info-find-node, Info-find-in-tag-table)
6139 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6140 Add option for exact case matching of nodes.
6141 * info-xref.el (info-xref): New custom group.
6142 (info-xref-case-fold): New option.
6143 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6144
6145 2013-07-03 Leo Liu <sdl.web@gmail.com>
6146
6147 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6148
6149 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6150
6151 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6152 middle of block statement initially, lower the depth. Remove
6153 FIXME comment, not longer valid. Remove middle of block statement
6154 detection, no need to do that anymore since we've been using
6155 `ruby-parse-region' here.
6156
6157 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6158
6159 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6160
6161 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6162
6163 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6164
6165 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6166
6167 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6168 (desktop-restore-in-current-display): New customization option.
6169 (desktop--excluded-frame-parameters): Add `font'.
6170 (desktop--save-frames): Rename from desktop--save-windows.
6171 (desktop--restore-in-this-display-p): New function.
6172 (desktop--make-full-frame): Remove unwanted width/height from
6173 full(width|height) frames.
6174 (desktop--restore-frames): Rename from desktop--restore-windows.
6175 Obey desktop-restore-current-display. Do not delete old frames or
6176 select a new frame unless we were able to restore at least one frame.
6177
6178 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6179
6180 * files.el (find-file-noselect): Simplify conditional expression.
6181
6182 * remember.el (remember-append-to-file):
6183 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6184
6185 Add `remember-notes' function to store random notes across Emacs
6186 restarts.
6187 * remember.el (remember-data-file): Add :set callback to affect
6188 notes buffer (if any).
6189 (remember-notes): New command.
6190 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6191 New defcustoms for the `remember-notes' function.
6192 (remember-notes-save-and-bury-buffer): New command.
6193 (remember-notes-mode-map): New variable.
6194 (remember-mode): New minor mode.
6195 (remember-notes--kill-buffer-query): New function.
6196 * startup.el (initial-buffer-choice): Add notes to custom type.
6197
6198 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6199
6200 * bindings.el (right-char, left-char): Don't call sit-for, this is
6201 no longer needed. Use arithmetic comparison only for numerical
6202 arguments.
6203
6204 * international/mule-cmds.el (select-safe-coding-system):
6205 Handle the case of FROM being a string correctly. (Bug#14755)
6206
6207 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6208
6209 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6210 progression on degenerate tables.
6211 (shr-rescale-image): ImageMagick animated images currently don't work.
6212
6213 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6214
6215 Some fixes and improvements for desktop frame restoration.
6216 It is still experimental and disabled by default.
6217 * desktop.el (desktop--save-windows): Put the selected frame at
6218 the head of the list.
6219 (desktop--make-full-frame): New function.
6220 (desktop--restore-windows): Try to re-select the frame that was
6221 selected upon saving. Do not abort if some frames fail to restore,
6222 just show an error message and continue. Set up maximized frames
6223 so they have default non-maximized dimensions.
6224
6225 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6226
6227 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6228 Don't start heredoc inside a string or comment.
6229
6230 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6231
6232 * bindings.el (visual-order-cursor-movement): New defcustom.
6233 (right-char, left-char): Provide visual-order cursor motion by
6234 calling move-point-visually. Update the doc strings.
6235
6236 2013-06-28 Kenichi Handa <handa@gnu.org>
6237
6238 * international/mule.el (define-coding-system): New coding system
6239 properties :inhibit-null-byte-detection,
6240 :inhibit-iso-escape-detection, and :prefer-utf-8.
6241 (set-buffer-file-coding-system): If :charset-list property of
6242 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6243 appropriate for setting.
6244
6245 * international/mule-cmds.el (select-safe-coding-system):
6246 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6247 multibyte characters, return utf-8 (or one of its siblings).
6248
6249 * international/mule-conf.el (prefer-utf-8): New coding system.
6250 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6251 files.
6252
6253 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6254
6255 * net/shr.el (shr-render-region): New function.
6256
6257 * net/eww.el: Autoload `eww-browse-url'.
6258
6259 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6260
6261 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6262 Adapt to `package-desc-version' being a list.
6263 Use `package--ac-desc-version' to retrieve version from a package
6264 archive element.
6265
6266 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6267
6268 New experimental feature to save&restore window and frame setup.
6269 * desktop.el (desktop-save-windows): New defcustom.
6270 (desktop--saved-states): New var.
6271 (desktop--excluded-frame-parameters): New defconst.
6272 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6273 (desktop--restore-windows, desktop--save-windows): New functions.
6274 (desktop-save): Call `desktop--save-windows'.
6275 (desktop-read): Call `desktop--restore-windows'.
6276
6277 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6278
6279 * net/shr.el (add-face-text-property): Remove compat definition.
6280
6281 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6282
6283 * info.el (Info-try-follow-nearest-node): Move search for footnote
6284 above search for node name to prevent missing a footnote (bug#14717).
6285
6286 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6287
6288 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6289
6290 2013-06-27 Leo Liu <sdl.web@gmail.com>
6291
6292 * net/eww.el (eww-read-bookmarks): Check file size.
6293
6294 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6295
6296 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6297 advice--pending if newdef is nil or an autoload (bug#13820).
6298 (advice-mapc): New function.
6299
6300 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6301
6302 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6303 probably.
6304 (eww-mode-map): Add a menu bar.
6305 (eww-add-bookmark): New command.
6306 (eww-bookmark-mode): New mode and commands.
6307 (eww-add-bookmark): Remove newlines from the title.
6308 (eww-bookmark-browse): Don't bug out if it's the only window.
6309
6310 2013-06-26 Glenn Morris <rgm@gnu.org>
6311
6312 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6313 (hfy-size): Handle ttys. (Bug#14668)
6314
6315 * info-xref.el: Update for Texinfo 5 change in *note format.
6316 (info-xref-node-re, info-xref-note-re): New constants.
6317 (info-xref-check-buffer): Use info-xref-note-re.
6318
6319 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6320
6321 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6322
6323 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6324 nil terminate the loop (bug#14718).
6325
6326 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6327
6328 * net/eww.el: Rework history traversal. When going forward/back,
6329 put these actions into the history, too, so that they can be
6330 replayed.
6331 (eww-render): Move the history reset to the correct buffer.
6332
6333 2013-06-25 Juri Linkov <juri@jurta.org>
6334
6335 * files-x.el (modify-dir-local-variable): Change the header comment
6336 in the file with directory local variables. (Bug#14692)
6337
6338 * files-x.el (read-file-local-variable-value): Add `default'.
6339 (Bug#14710)
6340
6341 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6342
6343 * net/eww.el (eww-make-unique-file-name): Create a unique file
6344 name before saving to entering `y' accidentally asynchronously.
6345
6346 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6347
6348 * net/eww.el (eww-download): New command and keystroke.
6349
6350 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6351
6352 * net/eww.el (eww-copy-page-url): Change name of command.
6353
6354 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6355 be more consistent with Info and dired.
6356
6357 * net/eww.el (eww-mode-map): Ditto.
6358
6359 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6360
6361 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6362 packages from archives.
6363 (package-archive-contents): Change format; include obsolete packages.
6364 (package-desc): Use `dir' to mark builtin packages.
6365 (package--from-builtin): Set the `dir' field to `builtin'.
6366 (generated-autoload-file, version-control): Declare.
6367 (package-compute-transaction): Change first arg and return value to be
6368 lists of package-descs. Adjust to new package-archive-contents format.
6369 (package--add-to-archive-contents): Adjust to new
6370 package-archive-contents format.
6371 (package-download-transaction): Arg is now a list of package-descs.
6372 (package-install): If `pkg' is a package name, pass it as
6373 a requirement, so it is subject to the usual (e.g. disabled) checks.
6374 (describe-package): Accept package-desc as well.
6375 (describe-package-1): Describe a specific package-desc. Add links to
6376 other package-descs for the same package name.
6377 (package-menu-describe-package): Pass the actual package-desc.
6378 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6379 works correctly.
6380 (package-desc-status): New function.
6381 (package-menu--refresh): New function, extracted
6382 from package-menu--generate.
6383 (package-menu--generate): Use it.
6384 (package-delete): Update package-alist.
6385 (package-menu-execute): Don't call package-initialize.
6386
6387 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6388 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6389 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6390 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6391 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6392 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6393
6394 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6395
6396 * window.el (window--state-get-1): Workaround for bug#14527.
6397 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6398
6399 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6400
6401 * net/eww.el (eww-back-url): Implement the history by stashing all
6402 the data into a list.
6403 (eww-forward-url): Allow going forward in the history, too.
6404
6405 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6406
6407 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6408 for values and use read--expression for expressions (bug#14710).
6409 (read-file-local-variable): Avoid setq.
6410 (read-file-local-variable-mode): Use minor-mode-list.
6411
6412 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6413
6414 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6415 for DOI URLs.
6416
6417 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6418
6419 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6420 Update imenu-support when dialect changes.
6421
6422 2013-06-25 Leo Liu <sdl.web@gmail.com>
6423
6424 * ido.el (ido-read-internal): Allow forward slash on windows.
6425
6426 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6427
6428 * net/eww.el (eww): Start of strings is \\`, not ^.
6429
6430 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6431
6432 * net/shr.el (shr-browse-url): Fix interactive spec.
6433
6434 * net/eww.el (eww): Add a trailing slash to domain names.
6435
6436 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6437
6438 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6439
6440 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6441
6442 * net/shr.el (shr-browse-url): Use an external browser if given a
6443 prefix.
6444
6445 * net/eww.el (eww-external-browser): Move to shr.
6446
6447 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6448
6449 * net/eww.el (eww): Work more correctly for file: URLs.
6450 (eww-detect-charset): Allow quoted charsets.
6451 (eww-yank-page-url): New command and keystroke.
6452
6453 2013-06-24 Daiki Ueno <ueno@gnu.org>
6454
6455 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6456 file name of gpg executable.
6457 (epg-context-program): New function.
6458 (epg-context-home-directory): New function.
6459 (epg-context-set-program): New function.
6460 (epg-context-set-home-directory): New function.
6461 (epg--start): Use `epg-context-program' instead of
6462 'epg-gpg-program'.
6463 (epg--list-keys-1): Likewise.
6464
6465 2013-06-24 Leo Liu <sdl.web@gmail.com>
6466
6467 * ido.el (ido-read-internal): Fix bug#14620.
6468
6469 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6470
6471 * faces.el (face-documentation): Simplify.
6472 (read-face-attribute, tty-find-type, x-resolve-font-name):
6473 Use `string-match-p'.
6474 (list-faces-display): Use `string-match-p'. Simplify.
6475 (face-spec-recalc): Check face to avoid face alias loops.
6476 (read-color): Use `string-match-p' and non-capturing parenthesis.
6477
6478 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6479
6480 * net/shr.el (shr-rescale-image): Use the new
6481 :max-width/:max-height functionality.
6482
6483 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6484
6485 * net/eww.el (eww-search-prefix): New variable.
6486 (eww): Use it.
6487 (eww-external-browser): New variable.
6488 (eww-mode-map): New keystroke.
6489 (eww-browse-with-external-browser): New command.
6490
6491 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6492
6493 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6494
6495 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6496 Don't skip aligning the next header field when padding is 0;
6497 otherwise, field width is not respected unless the title is as
6498 wide as the field.
6499
6500 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6501
6502 * emacs-lisp/package.el (package-el-version): Remove.
6503 (package-process-define-package): Fix inf-loop.
6504 (package-install): Allow symbols as arguments again.
6505
6506 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6507
6508 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6509 add some more keyword-like methods.
6510 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6511
6512 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6513
6514 * bs.el (bs-buffer-show-mark): Make defvar-local.
6515 (bs-mode): Use setq-local.
6516
6517 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6518 (emacs-lock--try-unlocking): Make defvar-local.
6519
6520 2013-06-22 Glenn Morris <rgm@gnu.org>
6521
6522 * play/cookie1.el (cookie-apropos): Minor simplification.
6523
6524 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6525
6526 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6527
6528 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6529 `regexp-opt', it breaks the build during dumping.
6530
6531 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6532
6533 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6534 Highlight keyword-like methods on Kernel and Module with
6535 font-lock-builtin-face.
6536 (auto-mode-alist): Consolidate different entries into one regexp
6537 and add more *file-s.
6538
6539 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6540
6541 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6542
6543 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6544 (diary-entry): Use it in the action of this button type instead of
6545 diary-goto-entry.
6546
6547 * calendar/todo-mode.el: New version.
6548 (todo-add-category): Append new category to end of file and give
6549 it the highest number, instead of putting it at the beginning and
6550 giving it 0. Incorporate noninteractive functionality.
6551 (todo-forward-category): Adapt to 1-based category numbering.
6552 Allow skipping over archived categories.
6553 (todo-backward-category): Derive from todo-forward-category.
6554 (todo-backward-item, todo-forward-item): Make noninteractive and
6555 delegate interactive part to new commands. Make sensitive to done items.
6556 (todo-categories): Make value an alist of category names and
6557 vectors of item counts.
6558 (todo-category-beg): Make a defconst.
6559 (todo-category-number): Use 1 instead of 0 as initial value.
6560 (todo-category-select): Make sensitive to overlays, optional item
6561 highlighting and done items.
6562 (todo-delete-item): Make sensitive to overlays and marked and done items.
6563 (todo-edit-item): Make sensitive to overlays and editing of
6564 date/time header optional. Add format checks.
6565 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6566 no-op if point is not on an item. Advertise using todo-edit-quit.
6567 (todo-edit-mode): Make sensitive to new format, font-locking, and
6568 multiple todo files.
6569 (todo-insert-item, todo-insert-item-here): Derive from
6570 todo-basic-insert-item and extend functionality.
6571 (todo-item-end, todo-item-start): Make sensitive to done items.
6572 (todo-item-string): Don't return text properties. Restore point.
6573 (todo-jump-to-category): Make sensitive to multiple todo files and
6574 todo archives. Use extended category completion.
6575 (todo-lower-item, todo-raise-item): Rename to *-priority and
6576 derive from todo-set-item-priority.
6577 (todo-mode): Derive from special-mode. Make sensitive to new
6578 format, font-locking and multiple todo files. Make read-only.
6579 (todo-mode-map): Don't suppress digit keys, so they can supply
6580 prefix arguments. Add many new key bindings.
6581 (todo-prefix): Insert as an overlay instead of file text.
6582 Change semantics from diary date expression to purely visual mark.
6583 (todo-print): Rename to todo-print-buffer. Make buffer display
6584 features printable. Remove option to restrict number of items
6585 printed. Add option to print to file.
6586 (todo-print-function): Rename to todo-print-buffer-function.
6587 (todo-quit): Extend to handle exiting new todo modes.
6588 (todo-remove-item): Make sensitive to overlays.
6589 (todo-save): Extend to buffers of filtered items.
6590 (todo-show): Make sensitive to done items, multiple todo files and
6591 new todo modes. Offer to convert legacy todo file before creating
6592 first new todo file.
6593 (todo-show-priorities): Rename to todo-top-priorities.
6594 Change semantics of value 0.
6595 (todo-top-priorities): Rename to todo-filter-top-priorities,
6596 derive from todo-filter-items and extend functionality.
6597 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6598 and extend functionality to other types of filtered items.
6599 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6600 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6601 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6602 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6603 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6604 (todo-edit-mode-hook, todo-entry-prefix-function)
6605 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6606 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6607 (todo-initials, todo-insert-threshold, todo-item-string-start)
6608 (todo-line-string, todo-menu, todo-mode-hook)
6609 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6610 (todo-print-priorities, todo-remove-separator)
6611 (todo-save-top-priorities-too, todo-string-count-lines)
6612 (todo-string-multiline-p, todo-time-string-format)
6613 (todo-tmp-buffer-name): Remove.
6614 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6615 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6616 (todo-edit-category-diary-inclusion)
6617 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6618 (todo-edit-file, todo-edit-item-date-day)
6619 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6620 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6621 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6622 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6623 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6624 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6625 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6626 (todo-filter-top-priorities-multifile, todo-find-archive)
6627 (todo-find-filtered-items-file, todo-go-to-source-item)
6628 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6629 (todo-jump-to-archive-category, todo-lower-category)
6630 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6631 (todo-move-category, todo-move-item, todo-next-button)
6632 (todo-next-item, todo-padded-string, todo-powerset)
6633 (todo-previous-button, todo-previous-item)
6634 (todo-print-buffer-to-file, todo-raise-category)
6635 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6636 (todo-set-category-number, todo-set-item-priority)
6637 (todo-set-top-priorities-in-category)
6638 (todo-set-top-priorities-in-file, todo-show-categories-table)
6639 (todo-sort-categories-alphabetically-or-numerically)
6640 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6641 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6642 (todo-toggle-item-header, todo-toggle-item-highlighting)
6643 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6644 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6645 (todo-unarchive-items, todo-unmark-category): New commands.
6646 (todo-absolute-file-name, todo-add-to-buffer-list)
6647 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6648 (todo-basic-insert-item, todo-category-completions)
6649 (todo-category-number, todo-category-string-matcher-1)
6650 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6651 (todo-check-format, todo-clear-matches)
6652 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6653 (todo-current-category, todo-date-string-matcher)
6654 (todo-define-insertion-command, todo-diary-expired-matcher)
6655 (todo-diary-goto-entry, todo-diary-item-p)
6656 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6657 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6658 (todo-done-item-section-p, todo-done-separator)
6659 (todo-done-string-matcher, todo-files, todo-filter-items)
6660 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6661 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6662 (todo-insert-category-line, todo-insert-item-from-calendar)
6663 (todo-insert-sort-button, todo-insert-with-overlays)
6664 (todo-insertion-command-name, todo-insertion-key-bindings)
6665 (todo-label-to-key, todo-longest-category-name-length)
6666 (todo-make-categories-list, todo-mode-external-set)
6667 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6668 (todo-modes-set-3, todo-multiple-filter-files)
6669 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6670 (todo-read-category, todo-read-date, todo-read-dayname)
6671 (todo-read-file-name, todo-read-time)
6672 (todo-reevaluate-category-completions-files-defcustom)
6673 (todo-reevaluate-default-file-defcustom)
6674 (todo-reevaluate-filelist-defcustoms)
6675 (todo-reevaluate-filter-files-defcustom)
6676 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6677 (todo-reset-done-separator, todo-reset-done-separator-string)
6678 (todo-reset-done-string, todo-reset-global-current-todo-file)
6679 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6680 (todo-reset-prefix, todo-set-categories)
6681 (todo-set-date-from-calendar, todo-set-show-current-file)
6682 (todo-set-top-priorities, todo-short-file-name)
6683 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6684 (todo-total-item-counts, todo-update-buffer-list)
6685 (todo-update-categories-display, todo-update-categories-sexp)
6686 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6687 New functions.
6688 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6689 New major modes.
6690 (todo-categories, todo-display, todo-edit, todo-faces)
6691 (todo-filtered): New defgroups.
6692 (todo-archived-only, todo-button, todo-category-string, todo-date)
6693 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6694 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6695 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6696 (todo-add-item-if-new-category, todo-always-add-time-string)
6697 (todo-categories-align, todo-categories-archived-label)
6698 (todo-categories-category-label, todo-categories-diary-label)
6699 (todo-categories-done-label, todo-categories-number-separator)
6700 (todo-categories-todo-label, todo-categories-totals-label)
6701 (todo-category-completions-files, todo-completion-ignore-case)
6702 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6703 (todo-done-separator-string, todo-done-string)
6704 (todo-files-function, todo-filter-done-items, todo-filter-files)
6705 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6706 (todo-initial-category, todo-initial-file, todo-item-mark)
6707 (todo-legacy-date-time-regexp, todo-mode-line-function)
6708 (todo-nondiary-marker, todo-number-prefix)
6709 (todo-print-buffer-function, todo-show-current-file)
6710 (todo-show-done-only, todo-show-first, todo-show-with-done)
6711 (todo-skip-archived-categories, todo-top-priorities-overrides)
6712 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6713 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6714 New defcustoms.
6715 (todo-category-done, todo-date-pattern, todo-date-string-start)
6716 (todo-diary-items-buffer, todo-done-string-start)
6717 (todo-filtered-items-buffer, todo-item-start)
6718 (todo-month-abbrev-array, todo-month-name-array)
6719 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6720 (todo-top-priorities-buffer): New defconsts.
6721 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6722 (todo-categories-with-marks, todo-category-string-face)
6723 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6724 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6725 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6726 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6727 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6728 (todo-font-lock-keywords, todo-global-current-todo-file)
6729 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6730 (todo-insertion-commands-args)
6731 (todo-insertion-commands-args-genlist)
6732 (todo-insertion-commands-names, todo-insertion-map)
6733 (todo-key-bindings-t, todo-key-bindings-t+a)
6734 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6735 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6736 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6737 (todo-visited): New variables.
6738
6739 2013-06-21 Glenn Morris <rgm@gnu.org>
6740
6741 * play/cookie1.el (cookie-apropos): Add optional display argument.
6742 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6743 (psychoanalyze-pinhead): Use cookie-doctor.
6744
6745 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6746
6747 * emacs-lisp/package.el (tar-get-file-descriptor)
6748 (tar--extract): Declare.
6749
6750 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6751
6752 Extend flymake's warning predicate to be a function (bug#14217).
6753 * progmodes/flymake.el (flymake-warning-predicate): New.
6754 (flymake-parse-line): Use it.
6755 (flymake-warning-re): Make obsolete alias to
6756 `flymake-warning-predicate'.
6757
6758 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6759
6760 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6761 (package-obsolete-list): Remove.
6762 (package-activate): Remove min-version argument. Add `force' argument.
6763 Adjust to new package-alist format.
6764 (package-mark-obsolete): Remove.
6765 (package-unpack): Force reload of the package's autoloads.
6766 (package-installed-p): Check builtins if the installed package is not
6767 recent enough.
6768 (package-initialize): Don't reset package-obsolete-list.
6769 Don't specify which package version to activate.
6770 (package-process-define-package, describe-package-1)
6771 (package-menu--generate): Adjust to new package-alist format.
6772
6773 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6774
6775 * allout-widgets.el (allout-widgets-mode-off)
6776 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6777 (allout-widgets-post-command-business)
6778 (allout-widgets-after-copy-or-kill-function)
6779 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6780 (allout-decorate-item-and-context)
6781 (allout-graphics-modification-handler): Fix typos in docstrings.
6782 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6783
6784 * cmuscheme.el (scheme-start-file): Doc fix.
6785 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6786 (scheme-input-filter): Use `string-match-p'.
6787
6788 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6789
6790 * dired-x.el: Use Dired consistently in docstrings.
6791
6792 * dired.el: Use Dired consistently in docstrings.
6793 (dired-readin, dired-mode): Use `setq-local'.
6794 (dired-switches-alist): Make defvar-local.
6795 (dired-buffers-for-dir): Use `zerop'.
6796 (dired-safe-switches-p, dired-switches-escape-p)
6797 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6798 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6799 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6800 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6801 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6802 (dired-toggle-marks, dired-mark-files-containing-regexp)
6803 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6804 (dired-flag-auto-save-files, dired-flag-backup-files):
6805 Use `looking-at-p'.
6806 (dired-mark-files-regexp, dired-build-subdir-alist):
6807 Use `string-match-p', `looking-at-p'.
6808
6809 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6810 (direct-print-region-helper): Use `string-match-p'.
6811
6812 2013-06-21 Leo Liu <sdl.web@gmail.com>
6813
6814 * comint.el (comint-redirect-results-list-from-process):
6815 Fix infinite loop.
6816
6817 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6818
6819 * net/eww.el (eww-update-header-line-format): Quote % characters.
6820
6821 2013-06-21 Glenn Morris <rgm@gnu.org>
6822
6823 * play/cookie1.el (cookie): New custom group.
6824 (cookie-file): New option.
6825 (cookie-check-file): New function.
6826 (cookie): Make it interactive. Make start and end messages optional.
6827 Interactively, display the result. Default to cookie-file.
6828 (cookie-insert): Default to cookie-file.
6829 (cookie-snarf): Make start and end messages optional.
6830 Default to cookie-file. Use with-temp-buffer.
6831 (cookie-read): Rename from read-cookie.
6832 Make start and end messages optional. Default to cookie-file.
6833 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6834 Do not autoload it.
6835 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6836 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6837
6838 2013-06-21 Leo Liu <sdl.web@gmail.com>
6839
6840 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6841
6842 2013-06-21 Glenn Morris <rgm@gnu.org>
6843
6844 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6845
6846 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6847 Daniel Hackney <dan@haxney.org>
6848
6849 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6850 Consolidate the single-file vs tarball code.
6851 (package-desc-suffix): New function.
6852 (package-desc-full-name): Don't bother inlining it.
6853 (package-load-descriptor): Return the new package-desc.
6854 (package-mark-obsolete): Remove unused arg `package'.
6855 (package-unpack): Make it work for single files as well.
6856 Make it update package-alist.
6857 (package--make-autoloads-and-stuff): Rename from
6858 package--make-autoloads-and-compile. Don't compile any more.
6859 (package--compile): New function.
6860 (package-generate-description-file): New function, extracted from
6861 package-unpack-single.
6862 (package-unpack-single): Remove.
6863 (package--with-work-buffer): Add indentation and debugging info.
6864 (package-download-single): Remove.
6865 (package-install-from-archive): Rename from package-download-tar, make
6866 it take a pkg-desc, and make it work for single files as well.
6867 (package-download-transaction): Simplify.
6868 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6869 external tar program.
6870 (package-install-from-buffer): Remove `pkg-desc' argument.
6871 Use package-tar-file-info for tar-mode buffers.
6872 (package-install-file): Simplify accordingly.
6873 (package-archive-base): Change to take a pkg-desc.
6874 * tar-mode.el (tar--check-descriptor): New function, extracted from
6875 tar-get-descriptor.
6876 (tar-get-descriptor): Use it.
6877 (tar-get-file-descriptor): New function.
6878 (tar--extract): New function, extracted from tar-extract.
6879 (tar--extract): Use it.
6880 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6881 case the summary uses non-ascii. Adjust to new calling convention of
6882 package-tar-file-info.
6883
6884 2013-06-21 Leo Liu <sdl.web@gmail.com>
6885
6886 * comint.el (comint-redirect-results-list-from-process):
6887 Fix random delay. (Bug#14681)
6888
6889 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6890
6891 * profiler.el (profiler-format-number): Use log, not log10.
6892
6893 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6894
6895 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6896
6897 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6898
6899 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6900 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6901 yet available.
6902 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6903 (AUTOGENEL): ... here.
6904 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6905 (cl--defsubst-expand): Use it.
6906
6907 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6908
6909 * subr.el (log10): Move here from C code, and declare as obsolete.
6910 All uses of (log10 X) replaced with (log X 10).
6911
6912 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6913
6914 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6915 Declare with `defvar-local'.
6916 (tabulated-list-use-header-line, tabulated-list-entries)
6917 (tabulated-list-padding, tabulated-list-printer)
6918 (tabulated-list-sort-key): Declare with `defvar-local'.
6919 (tabulated-list-init-header, tabulated-list-print-fake-header):
6920 Use `setq-local'.
6921
6922 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6923
6924 * arc-mode.el (archive-mode): Add `archive-write-file' to
6925 `write-contents-functions' also for remote files. (Bug#14652)
6926
6927 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6928
6929 * cus-edit.el (custom-commands): Fix typos.
6930 (custom-display): Fix tooltip text.
6931 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6932 Fix typos in docstrings.
6933 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6934 (custom-unlispify-menu-entry, custom-magic-value-create)
6935 (custom-add-see-also, custom-group-value-create): Use ?\s.
6936 (custom-guess-type, customize-apropos, editable-field)
6937 (custom-face-value-create): Use `string-match-p'.
6938 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6939
6940 * custom.el (custom-load-symbol): Use `string-match-p'.
6941
6942 * ansi-color.el: Convert to lexical binding.
6943 (ansi-colors): Fix URL.
6944 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6945 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6946 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6947
6948 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6949
6950 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6951
6952 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6953
6954 2013-06-19 Tom Tromey <tromey@redhat.com>
6955
6956 * net/eww.el (eww-top-url): Remove.
6957 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6958 (eww-render): Set new variables. Don't set eww-top-url.
6959 (eww-handle-link): Handle "prev", "home", and "contents".
6960 Downcase the rel text.
6961 (eww-top-url): Choose best top URL.
6962
6963 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6964
6965 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6966 relying in widget.el. Using widget.el leads to too many
6967 user interface inconsistencies.
6968 (eww-self-insert): Implement entering commands in text fields.
6969 (eww-process-text-input): New function to make text input field editing
6970 work.
6971 (eww-submit): Rewrite to use the new-style form methods.
6972 (eww-select-display): Display the correct selected item.
6973 (eww-change-select): Implement changing the select value.
6974 (eww-toggle-checkbox): Implement radio/checkboxes.
6975 (eww-update-field): Fix compilation error.
6976 (eww-tag-textarea): Implement <textarea>.
6977
6978 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6979 we don't shadow mode-specific bindings.
6980
6981 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6982 nothing to push.
6983
6984 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6985
6986 2013-06-19 Glenn Morris <rgm@gnu.org>
6987
6988 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6989
6990 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6991
6992 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6993 not needed.
6994
6995 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6996
6997 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6998
6999 * net/browse-url.el (browse-url-browser-function):
7000 `eww-browse-url' has the right calling signature, `eww' does not.
7001
7002 2013-06-19 Glenn Morris <rgm@gnu.org>
7003
7004 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7005 Only eval autoloaded macros.
7006 (byte-compile-autoload): Only give the macro warning for macros.
7007
7008 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7009 (ps-underlined-faces): Declare.
7010
7011 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7012 (speedbar-add-supported-extension): Declare.
7013
7014 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7015 Don't include a date stamp in the header of the generated file;
7016 it leads to needless differences between output files.
7017
7018 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7019
7020 * net/secrets.el (secrets-struct-secret-content-type):
7021 Replace check of introspection data by a test call of "CreateItem".
7022 Some servers do not offer introspection.
7023
7024 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7025
7026 * electric.el (electric-pair-mode): Improve interaction with
7027 electric-layout-mode.
7028 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7029 (electric-pair-syntax): Use text-mode-syntax-table in comments
7030 and strings.
7031 (electric-pair--insert): New function.
7032 (electric-pair-post-self-insert-function): Use it and
7033 electric--after-char-pos.
7034
7035 2013-06-19 Leo Liu <sdl.web@gmail.com>
7036
7037 * progmodes/octave.el (octave-help): Fix regexp.
7038
7039 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7040
7041 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7042 (shr-table-horizontal-line): Allow nil as a value, and change the
7043 default.
7044 (shr-insert-table-ruler): Respect the nil value.
7045
7046 2013-06-18 Tom Tromey <tromey@barimba>
7047
7048 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7049 New defvars.
7050 (eww-open-file): New defun.
7051 (eww-render): Initialize new variables.
7052 (eww-display-html): Handle "link" and "a".
7053 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7054 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7055 (eww-back-url): Rename from eww-previous-url.
7056 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7057 New defuns.
7058
7059 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7060
7061 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7062 Distinguish ternary operator tokens from slash symbol and slash
7063 char literal.
7064
7065 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7066
7067 Convert symbol prettification into minor mode and global minor mode.
7068
7069 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7070 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7071 (prettify-symbols--keywords): Rename from
7072 `prog-prettify-symbols-alist' and make a local defvar.
7073 (prettify-symbols--compose-symbol): Rename from
7074 `prog--prettify-font-lock-compose-symbol'.
7075 (prettify-symbols--make-keywords): Rename from
7076 `prog-prettify-font-lock-symbols-keywords' and simplify.
7077 (prog-prettify-install): Remove.
7078 (prettify-symbols-mode): New minor mode, based on
7079 `prog-prettify-install'.
7080 (turn-on-prettify-symbols-mode): New function.
7081 (global-prettify-symbols-mode): New globalized minor mode.
7082
7083 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7084 * progmodes/cfengine.el (cfengine3-mode):
7085 * progmodes/perl-mode.el (perl-mode): Don't call
7086 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7087
7088 2013-06-18 Juri Linkov <juri@jurta.org>
7089
7090 * files-x.el (modify-file-local-variable-message): New function.
7091 (modify-file-local-variable)
7092 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7093 and call `modify-file-local-variable-message' when it's non-nil.
7094 (add-file-local-variable, delete-file-local-variable)
7095 (add-file-local-variable-prop-line)
7096 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7097 and use it. (Bug#9820)
7098
7099 2013-06-18 Juri Linkov <juri@jurta.org>
7100
7101 * emulation/vi.el (vi-shell-op):
7102 * emulation/vip.el (vip-execute-com, ex-command):
7103 * emulation/viper-cmd.el (viper-exec-bang):
7104 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7105 the call of `shell-command-on-region'. (Bug#14637)
7106
7107 * simple.el (shell-command-on-region): Doc fix.
7108
7109 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7110
7111 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7112 (bug#14633).
7113
7114 2013-06-18 Glenn Morris <rgm@gnu.org>
7115
7116 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7117
7118 * newcomment.el (comment-search-forward, comment-search-backward):
7119 Doc fix. (Bug#14376)
7120
7121 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7122
7123 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7124 (buffer-face-mode-invoke): Doc fix.
7125
7126 2013-06-18 Matthias Meulien <orontee@gmail.com>
7127
7128 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7129 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7130
7131 2013-06-18 Glenn Morris <rgm@gnu.org>
7132
7133 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7134 Replace obsolete function generic-make-keywords with its expansion.
7135
7136 * progmodes/python.el (ffap-alist): Declare.
7137
7138 * textmodes/reftex.el (bibtex-mode-map): Declare.
7139
7140 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7141
7142 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7143 (package-unpack, package-unpack-single): Return the pkg-dir.
7144 (package-download-transaction): Use it to update package-alist.
7145
7146 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7147
7148 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7149 possible choice.
7150
7151 2013-06-17 Juri Linkov <juri@jurta.org>
7152
7153 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7154
7155 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7156
7157 * emacs-lisp/package.el (package-load-descriptor):
7158 Remove `with-syntax-table' call, `read' doesn't need it.
7159 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7160
7161 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7162
7163 * startup.el (command-line): Expand package name returned by
7164 `package--description-file' (bug#14639).
7165
7166 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7167
7168 * emacs-lisp/package.el (package-load-descriptor): Do not call
7169 `emacs-lisp-mode', just use its syntax table.
7170
7171 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7172
7173 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7174 `font-lock-extra-managed-props' if any prettifying keyword is added.
7175 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7176 (prog-mode): Use `setq-local'.
7177
7178 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7179
7180 * international/characters.el (standard-case-table): Set syntax of ?»
7181 and ?« to punctuation.
7182
7183 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7184
7185 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7186 Save relevant match data before calling `syntax-ppss' (bug#14595).
7187
7188 2013-06-15 Juri Linkov <juri@jurta.org>
7189
7190 * files-x.el (modify-file-local-variable-prop-line): Add local
7191 variables to the end of the existing comment on the first line.
7192 Use `file-auto-mode-skip' to skip interpreter magic line,
7193 and also skip XML declaration.
7194
7195 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7196
7197 * startup.el (package--builtin-versions): New var.
7198 (package-subdirectory-regexp): Remove.
7199 (package--description-file): Hard code its value instead.
7200
7201 * emacs-lisp/package.el: Don't activate packages older than builtin.
7202 (package-obsolete-list): Rename from package-obsolete-alist, and make
7203 it into a simple list of package-desc.
7204 (package-strip-version): Remove.
7205 (package-built-in-p): Use package--builtin-versions.
7206 (package-mark-obsolete): Simplify.
7207 (package-process-define-package): Mark it obsolete if older than the
7208 builtin version.
7209 (package-handle-response): Use line-end-position.
7210 (package-read-archive-contents, package--download-one-archive):
7211 Simplify.
7212 (package--add-to-archive-contents): Skip if older than the builtin or
7213 installed version.
7214 (package-menu-describe-package): Fix last change.
7215 (package-list-unversioned): New var.
7216 (package-menu--generate): Use it.
7217
7218 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7219 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7220 (autoload-builtin-package-versions): New variable.
7221 (autoload-generate-file-autoloads): Use them.
7222 Remove the list of autoloaded functions/macros from the
7223 (autoload...) comments.
7224
7225 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7226
7227 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7228
7229 * simple.el (line-move-partial): Don't jump to the next screen
7230 line as soon as it becomes visible. Instead, continue enlarging
7231 the vscroll until the portion of a tall screen line that's left on
7232 display is about the height of the frame's default font.
7233 (Bug#14567)
7234
7235 2013-06-15 Glenn Morris <rgm@gnu.org>
7236
7237 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7238 compilation-error-regexp-alist void, or local while let-bound.
7239
7240 * progmodes/make-mode.el (makefile-mode-syntax-table):
7241 Treat "=" as punctuation. (Bug#14614)
7242
7243 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7244
7245 * help-fns.el (describe-variable):
7246 Add extra line for permanent-local variables.
7247
7248 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7249
7250 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7251 Add export, import, library. (Bug#9164)
7252 (library): Set indent function.
7253
7254 2013-06-14 Glenn Morris <rgm@gnu.org>
7255
7256 * term/xterm.el (xterm--query):
7257 Stop after first matching handler. (Bug#14615)
7258
7259 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7260
7261 Add support for dired in saveplace.
7262 * dired.el (dired-initial-position-hook): New variable.
7263 (dired-initial-position): Call hook to place cursor position.
7264 * saveplace.el (save-place-to-alist): Add dired position.
7265 (save-place-dired-hook): New function.
7266
7267 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7268
7269 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7270 through a symbol rather than letrec.
7271
7272 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7273 (package-desc): Add `dir' field.
7274 (package-desc-full-name): New function.
7275 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7276 (package-maybe-load-descriptor): Remove.
7277 (package-load-all-descriptors): Just call package-load-descriptor.
7278 (package--disabled-p): New function.
7279 (package-desc-vers, package-desc-doc): Remove aliases.
7280 (package--dir): Remove function.
7281 (package-activate): Check if a package is disabled.
7282 (package-process-define-package): New function, extracted from
7283 define-package.
7284 (define-package): Turn into a place holder.
7285 (package-unpack-single, package-tar-file-info):
7286 Use package--description-file.
7287 (package-compute-transaction): Use package--disabled-p.
7288 (package-download-transaction): Don't call
7289 package-maybe-load-descriptor since they're all loaded anyway.
7290 (package-install): Change argument to be a pkg-desc.
7291 (package-delete): Use a single pkg-desc argument.
7292 (describe-package-1): Use package-desc-dir instead of package--dir.
7293 Use package-desc property instead of package-symbol.
7294 (package-install-button-action): Adjust accordingly.
7295 (package--push): Rewrite.
7296 (package-menu--print-info): Adjust accordingly. Change the ID format
7297 to be a pkg-desc.
7298 (package-menu-describe-package, package-menu-get-status)
7299 (package-menu--find-upgrades, package-menu-mark-upgrades)
7300 (package-menu-execute, package-menu--name-predicate):
7301 Adjust accordingly.
7302 * startup.el (package--description-file): New function.
7303 (command-line): Use it.
7304 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7305 Use package-desc-version.
7306
7307 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7308 (byte-compile-preprocess): Use it.
7309 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7310 can't quite recognize.
7311 (byte-compile-add-to-list): Remove.
7312 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7313 (cconv-closure-convert): Add assertion.
7314
7315 * emacs-lisp/map-ynp.el: Use lexical-binding.
7316 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7317 Factor out some repeated code.
7318
7319 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7320
7321 * subr.el (with-eval-after-load): New macro.
7322 (eval-after-load): Allow form to be a function.
7323 take advantage of lexical-binding.
7324 (do-after-load-evaluation): Use dolist and adjust to new format.
7325 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7326
7327 2013-06-13 Juri Linkov <juri@jurta.org>
7328
7329 * replace.el (perform-replace): Display "symbol " and other search
7330 modes from `isearch-message-prefix' in the *Help* buffer.
7331
7332 * isearch.el (isearch-query-replace): Add " symbol" and other
7333 possible search modes from `isearch-message-prefix' to the prompt.
7334 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7335 when reading a regexp to collect.
7336
7337 2013-06-13 Juri Linkov <juri@jurta.org>
7338
7339 * isearch.el (word-search-regexp): Match whitespace if the search
7340 string begins or ends in whitespace. The LAX arg is applied to
7341 both ends of the search string. Use `regexp-quote' and explicit
7342 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7343 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7344 boundaries are replaced with symbol boundaries, and characters
7345 between symbols match non-word non-symbol syntax. (Bug#14602)
7346
7347 2013-06-13 Juri Linkov <juri@jurta.org>
7348
7349 * isearch.el (isearch-del-char): Don't exceed the length of
7350 `isearch-string' by the prefix arg. (Bug#14563)
7351
7352 2013-06-13 Juri Linkov <juri@jurta.org>
7353
7354 * isearch.el (isearch-yank-word, isearch-yank-line)
7355 (isearch-char-by-name, isearch-quote-char)
7356 (isearch-printing-char, isearch-process-search-char):
7357 Add optional count prefix arg. (Bug#14563)
7358
7359 * international/isearch-x.el
7360 (isearch-process-search-multibyte-characters):
7361 Add optional count prefix arg.
7362
7363 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7364
7365 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7366 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7367 lexical-binding.
7368
7369 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7370
7371 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7372
7373 2013-06-13 Glenn Morris <rgm@gnu.org>
7374
7375 * startup.el (tty-handle-args):
7376 Don't just discard "--" and anything after. (Bug#14608)
7377
7378 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7379
7380 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7381
7382 Implement changes in Secret Service API. Make it backward compatible.
7383 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7384 (secrets-create-item): Use it. Prefix properties with interface.
7385
7386 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7387
7388 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7389 (term-emulate-terminal): Respect term-suppress-hard-newline.
7390
7391 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7392
7393 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7394 Only remove a `thumb-file' overlay. (Bug#14548)
7395
7396 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7397
7398 * mail/reporter.el (reporter-submit-bug-report):
7399 Handle missing package-name. (Bug#14600)
7400
7401 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7402
7403 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7404 (reftex-citation-prompt, reftex-default-bibliography)
7405 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7406 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7407 (reftex-bib-sort-author, reftex-bib-sort-year)
7408 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7409 (reftex-extract-bib-entries-from-thebibliography)
7410 (reftex-get-bibkey-default, reftex-get-bib-names)
7411 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7412 (reftex-format-bib-entry, reftex-parse-bibitem)
7413 (reftex-format-bibitem, reftex-do-citation)
7414 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7415 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7416 (reftex-insert-bib-matches, reftex-format-citation)
7417 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7418 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7419 existing comments into docstrings.
7420
7421 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7422
7423 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7424
7425 2013-06-12 Andreas Schwab <schwab@suse.de>
7426
7427 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7428 for auto-save files.
7429
7430 2013-06-12 Glenn Morris <rgm@gnu.org>
7431
7432 * ido.el (ido-delete-ignored-files): Remove.
7433 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7434 Go back to calling ido-ignore-item-p directly.
7435
7436 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7437
7438 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7439
7440 * ido.el (ido-delete-ignored-files): New function,
7441 split from ido-make-file-list-1.
7442 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7443 (ido-make-file-list-1): Use ido-delete-ignored-files.
7444
7445 2013-06-12 Leo Liu <sdl.web@gmail.com>
7446
7447 * progmodes/octave.el (inferior-octave-startup)
7448 (inferior-octave-completion-table)
7449 (inferior-octave-track-window-width-change)
7450 (octave-eldoc-function-signatures, octave-help)
7451 (octave-find-definition): Use single quoted strings.
7452 (inferior-octave-startup-args): Change default value.
7453 (inferior-octave-startup): Do not hard code "-i" and
7454 "--no-line-editing".
7455 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7456 (inferior-octave-directory-tracker): Use it.
7457 (octave-goto-function-definition): Robustify.
7458 (octave-help): Support highlighting operators in 'See also'.
7459 (octave-find-definition): Find subfunctions only in Octave mode.
7460
7461 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7462
7463 * help-fns.el (help-fns--compiler-macro): If the handler function is
7464 named, then put a link to it.
7465 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7466 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7467 (cl-typep): Use it.
7468 (cl-eval-when): Simplify debug spec.
7469 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7470 compiler-macro function instead of setting `compiler-macro-file'.
7471
7472 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7473
7474 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7475 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7476
7477 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7478 Daniel Hackney <dan@haxney.org>
7479
7480 First part of Daniel Hackney's patch to package.el.
7481 * emacs-lisp/package.el: Use defstruct.
7482 (package-desc): New, main struct.
7483 (package--bi-desc, package--ac-desc): New structs, used to describe the
7484 format in external files.
7485 (package-desc-vers): Replace with package-desc-version accessor.
7486 (package-desc-doc): Replace with package-desc-summary accessor.
7487 (package-activate-1): Remove `package' arg since the pkg-vec now
7488 includes the name.
7489 (define-package): Use package-desc-from-define.
7490 (package-unpack-single): Change file-name arg to be a symbol.
7491 (package--add-to-archive-contents): Use package-desc-create and new
7492 accessor functions to package--ac-desc.
7493 (package-buffer-info, package-tar-file-info): Return a package-desc.
7494 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7495 arg to be a package-desc.
7496 (package-install-file): Adjust accordingly. Use \' to match EOS.
7497 (package--from-builtin): New function.
7498 (describe-package-1, package-menu--generate): Use it.
7499 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7500 (package-generate-autoloads): Idem and return the name of the file.
7501 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7502 Change pkg-info arg to be a package-desc.
7503 Use package-make-ac-desc.
7504 (package-upload-file): Use \' to match EOS.
7505 * finder.el (finder-compile-keywords): Use package-make-builtin.
7506
7507 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7508
7509 * vc/vc.el (vc-deduce-fileset): Change error message.
7510 (vc-read-backend): New function.
7511 (vc-next-action): Use it.
7512
7513 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7514
7515 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7516 (prolog-font-lock-keywords): Use regexp-opt instead.
7517 Don't manually highlight strings.
7518 (prolog-mode-variables): Simplify comment-start-skip.
7519 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7520
7521 * emacs-lisp/generic.el (generic--normalise-comments)
7522 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7523 (generic-mode-set-comments): Use them.
7524 (generic-bracket-support): Use setq-local.
7525 (generic-make-keywords-list): Declare obsolete.
7526
7527 2013-06-11 Glenn Morris <rgm@gnu.org>
7528
7529 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7530 Prettify after setting font-lock-defaults. (Bug#14574)
7531
7532 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7533
7534 * replace.el (query-replace, occur-read-regexp-defaults-function)
7535 (replace-search):
7536 * subr.el (declare-function, number-sequence, local-set-key)
7537 (substitute-key-definition, locate-user-emacs-file)
7538 (with-silent-modifications, split-string, eval-after-load):
7539 Fix typos, remove unneeded backslashes and reflow some docstrings.
7540
7541 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7542
7543 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7544 default for Elisp files.
7545
7546 2013-06-11 Glenn Morris <rgm@gnu.org>
7547
7548 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7549 although define-derived-mode was doing this anyway. (Bug#14583)
7550
7551 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7552
7553 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7554 Fix make-variable-buffer-local call to refer to the correct variable.
7555
7556 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7557
7558 * eshell/em-term.el (eshell-visual-commands)
7559 (eshell-visual-subcommands, eshell-visual-options):
7560 Add summary line to docstrings. Add cross-references.
7561
7562 2013-06-10 Glenn Morris <rgm@gnu.org>
7563
7564 * epa.el (epa-read-file-name): New function. (Bug#14510)
7565 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7566
7567 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7568
7569 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7570 output redirection to be ignored with visual commands.
7571
7572 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7573
7574 * eshell/em-term.el (eshell-visual-command-p): New function.
7575 (eshell-term-initialize): Move long lambda to separate function
7576 eshell-visual-command-p.
7577 * eshell/em-dirs.el (eshell-dirs-initialise):
7578 * eshell/em-script.el (eshell-script-initialize):
7579 Add missing #' to lambda.
7580
7581 2013-06-08 Leo Liu <sdl.web@gmail.com>
7582
7583 * progmodes/octave.el (octave-add-log-current-defun): New function.
7584 (octave-mode): Set add-log-current-defun-function.
7585 (octave-goto-function-definition): Do not move point if not found.
7586 (octave-find-definition): Enhance to try subfunctions first.
7587
7588 2013-06-08 Glenn Morris <rgm@gnu.org>
7589
7590 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7591 (byte-compile-backward-char, byte-compile-backward-word):
7592 Improve previous change, to handle non-explicit nil.
7593
7594 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7595
7596 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7597 (smie--opener/closer-at-point): New function.
7598 (smie--matching-block-data): Use it. Don't match from right after an
7599 opener or right before a closer. Obey smie-blink-matching-inners.
7600 Don't signal a mismatch for repeated inners like "switch..case..case".
7601
7602 2013-06-07 Leo Liu <sdl.web@gmail.com>
7603
7604 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7605 to t. (Bug#14303)
7606 (octave-function-header-regexp): Fix. (Bug#14570)
7607 (octave-help-mode-finish-hook, octave-help-mode-finish):
7608 Remove. Just use temp-buffer-show-hook.
7609
7610 * newcomment.el (comment-search-backward): Revert last change.
7611 (Bug#14434)
7612
7613 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7614
7615 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7616
7617 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7618 through xargs, to avoid failure due to MS-Windows limitations on
7619 command-line length.
7620
7621 2013-06-06 Glenn Morris <rgm@gnu.org>
7622
7623 * font-lock.el (lisp-font-lock-keywords-2):
7624 Treat user-error like error.
7625
7626 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7627 (byte-compile-backward-char, byte-compile-backward-word):
7628 Handle explicit nil arguments. (Bug#14565)
7629
7630 2013-06-05 Alan Mackenzie <acm@muc.de>
7631
7632 * isearch.el (isearch-allow-prefix): New user option.
7633 (isearch-other-meta-char): Don't exit isearch when a prefix
7634 argument is typed whilst `isearch-allow-prefix' is non-nil.
7635 (Bug#9706)
7636
7637 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7638
7639 * autorevert.el (auto-revert-notify-handler): Use memq.
7640 Hide assertion failure.
7641
7642 * skeleton.el: Use cl-lib.
7643 (skeleton-further-elements): Use defvar-local.
7644 (skeleton-insert): Use cl-progv.
7645
7646 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7647
7648 * progmodes/prog-mode.el (prog-prettify-symbols)
7649 (prog-prettify-install): Update docstrings.
7650
7651 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7652
7653 * simple.el: Move all the prog-mode code to prog-mode.el.
7654 * progmodes/prog-mode.el: New file.
7655 * loadup.el: Add prog-mode.el.
7656
7657 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7658
7659 * simple.el (prog-prettify-symbols): Add version.
7660 (prog-prettify-install): Add convenience function to prettify symbols.
7661
7662 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7663 (perl--augmented-font-lock-keywords-1)
7664 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7665 variables and use it.
7666
7667 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7668 (cfengine3-mode): Remove unneeded variable and use it.
7669
7670 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7671 (lisp--augmented-font-lock-keywords-1)
7672 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7673 Remove unneeded variables and use it.
7674
7675 2013-06-05 João Távora <joaotavora@gmail.com>
7676
7677 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7678 to point when opening the connection. (Bug#14380)
7679
7680 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7681
7682 * subr.el (load-history-regexp, load-history-filename-element)
7683 (eval-after-load, after-load-functions, do-after-load-evaluation)
7684 (eval-next-after-load, display-delayed-warnings)
7685 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7686 definition of save-match-data.
7687 (overriding-local-map): Remove accidental obsolescence declaration.
7688
7689 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7690
7691 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7692
7693 Generalize symbol prettify support to prog-mode and implement it
7694 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7695 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7696 (prog--prettify-font-lock-compose-symbol)
7697 (prog-prettify-font-lock-symbols-keywords): New variables and
7698 functions to support symbol prettification.
7699 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7700 (lisp--augmented-font-lock-keywords-1)
7701 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7702 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7703 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7704 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7705 Implement prettify of -> => :: strings.
7706 * progmodes/perl-mode.el (perl-prettify-symbols)
7707 (perl--font-lock-compose-symbol)
7708 (perl--font-lock-symbols-keywords): Move to prog-mode.
7709 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7710 (perl-font-lock-keywords-1)
7711 (perl-font-lock-keywords-2): Remove explicit prettify support.
7712 (perl--augmented-font-lock-keywords)
7713 (perl--augmented-font-lock-keywords-1)
7714 (perl--augmented-font-lock-keywords-2, perl-mode):
7715 Implement prettify support.
7716
7717 2013-06-05 Leo Liu <sdl.web@gmail.com>
7718
7719 Re-implement smie matching block highlight using
7720 show-paren-data-function. (Bug#14395)
7721 * emacs-lisp/smie.el (smie-matching-block-highlight)
7722 (smie--highlight-matching-block-overlay)
7723 (smie--highlight-matching-block-lastpos)
7724 (smie-highlight-matching-block)
7725 (smie-highlight-matching-block-mode): Remove.
7726 (smie--matching-block-data-cache): New variable.
7727 (smie--matching-block-data): New function.
7728 (smie-setup): Use smie--matching-block-data for
7729 show-paren-data-function.
7730
7731 * progmodes/octave.el (octave-mode-menu): Fix.
7732 (octave-find-definition): Skip garbage lines.
7733
7734 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7735
7736 Fix compilation error with simultaneous dynamic+lexical scoping.
7737 Add warning when a defvar appears after the first let-binding.
7738 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7739 (byte-compile-close-variables): Initialize it.
7740 (byte-compile--declare-var): New function.
7741 (byte-compile-file-form-defvar)
7742 (byte-compile-file-form-define-abbrev-table)
7743 (byte-compile-file-form-custom-declare-variable): Use it.
7744 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7745 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7746 (byte-compile-bind): Handle dynamic bindings that shadow
7747 lexical bindings.
7748 (byte-compile-unbind): Make arg non-optional.
7749 (byte-compile-let): Simplify.
7750 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7751 (cconv--analyse-function, cconv-analyse-form): Populate it.
7752 Protect byte-compile-bound-variables to limit the scope of defvars.
7753 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7754 Remove unneeded rule for `declare'.
7755
7756 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7757 so as to avoid depending on cl-adjoin at run-time.
7758 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7759
7760 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7761 (macroexp--warn-and-return): Use it.
7762
7763 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7764
7765 * lisp/subr.el: Convert to lexical binding.
7766 (overriding-local-map): Make obsolete.
7767 (add-to-list): Doc fix. Add compiler macro.
7768 (read-key): Swap values of local maps.
7769
7770 2013-06-05 Leo Liu <sdl.web@gmail.com>
7771
7772 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7773
7774 2013-06-04 Leo Liu <sdl.web@gmail.com>
7775
7776 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7777 (compilation-auto-jump): Suppress the "Mark set" message to give
7778 way to exit message.
7779
7780 2013-06-04 Alan Mackenzie <acm@muc.de>
7781
7782 Remove faulty optimisation from indentation calculation.
7783 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7784 search limit based on 2000 characters back from indent-point.
7785
7786 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7787
7788 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7789
7790 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7791
7792 * emacs-lisp/lisp.el: Use lexical-binding.
7793 (lisp--local-variables-1, lisp--local-variables): New functions.
7794 (lisp--local-variables-completion-table): New var.
7795 (lisp-completion-at-point): Use it complete let-bound vars.
7796
7797 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7798 eagerly (bug#14422).
7799
7800 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7801
7802 * autorevert.el (auto-revert-notify-enabled)
7803 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7804 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7805 (auto-revert-notify-handler): Handle also gfilenotify.
7806
7807 * subr.el (file-notify-handle-event): New defun. Replacing ...
7808 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7809 Remove.
7810
7811 2013-06-03 Juri Linkov <juri@jurta.org>
7812
7813 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7814 `M-s h .'. (Bug#14427)
7815
7816 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7817 command `hi-lock-face-symbol-at-point'.
7818 (hi-lock-face-symbol-at-point): New command.
7819 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7820 (hi-lock-menu): Add `highlight-symbol-at-point'.
7821 (hi-lock-mode): Doc fix.
7822
7823 * isearch.el (isearch-forward-symbol-at-point): New command.
7824 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7825 (isearch-highlight-regexp): Add a regexp which matches
7826 words/symbols for word/symbol mode.
7827
7828 * subr.el (find-tag-default-bounds): New function with the body
7829 mostly moved from `find-tag-default'.
7830 (find-tag-default): Move most code to `find-tag-default-bounds',
7831 call it and apply `buffer-substring-no-properties' afterwards.
7832
7833 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7834
7835 * eshell/em-term.el (eshell-term-initialize):
7836 Use `cl-intersection' rather than `intersection'.
7837
7838 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7839
7840 * vc/log-view.el: Doc fix.
7841 (log-view-mode-map): Copy keymap from `special-mode-map'.
7842
7843 2013-06-02 Eric Ludlam <zappo@gnu.org>
7844
7845 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7846 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7847 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7848 (eieio-unbound, eieio-default-superclass)
7849 (eieio--define-field-accessors, method-static, method-before)
7850 (method-primary, method-after, method-num-lists)
7851 (method-generic-before, method-generic-primary)
7852 (method-generic-after, method-num-slots)
7853 (eieio-specialized-key-to-generic-key)
7854 (eieio--check-type, class-v, class-p)
7855 (eieio-class-name, define-obsolete-function-alias)
7856 (eieio-class-parents-fast, eieio-class-children-fast)
7857 (same-class-fast-p, class-constructor, generic-p)
7858 (generic-primary-only-p, generic-primary-only-one-p)
7859 (class-option-assoc, class-option, eieio-object-p)
7860 (class-abstract-p, class-method-invocation-order)
7861 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7862 (eieio-class-un-autoload, eieio-defclass)
7863 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7864 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7865 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7866 (eieio-defgeneric-reset-generic-form)
7867 (eieio-defgeneric-form-primary-only)
7868 (eieio-defgeneric-reset-generic-form-primary-only)
7869 (eieio-defgeneric-form-primary-only-one)
7870 (eieio-defgeneric-reset-generic-form-primary-only-one)
7871 (eieio-unbind-method-implementations)
7872 (eieio--defmethod, eieio--typep)
7873 (eieio-perform-slot-validation, eieio-validate-slot-value)
7874 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7875 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7876 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7877 (eieio-slot-name-index, eieio-class-slot-name-index)
7878 (eieio-set-defaults, eieio-initarg-to-attribute)
7879 (eieio-attribute-to-initarg, eieio-c3-candidate)
7880 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7881 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7882 (eieio-class-precedence-list, eieio-generic-call-methodname)
7883 (eieio-generic-call-arglst, eieio-generic-call-key)
7884 (eieio-generic-call-next-method-list)
7885 (eieio-pre-method-execution-functions, eieio-generic-call)
7886 (eieio-generic-call-primary-only, eieiomt-method-list)
7887 (eieiomt-optimizing-obarray, eieiomt-install)
7888 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7889 (eieio-generic-form, eieio-defmethod, make-obsolete)
7890 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7891 (defclass): Remove `eval-and-compile' from macro.
7892 (call-next-method, shared-initialize): Instead of using
7893 `scoped-class' variable, use new eieio--scoped-class, and
7894 eieio--with-scoped-class.
7895 (initialize-instance): Rename local variable 'scoped-class' to
7896 'this-class' to remove ambiguitity from old global.
7897
7898 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7899 eieio.el.
7900 (eieio--scoped-class-stack): New variable.
7901 (eieio--scoped-class): New fcn.
7902 (eieio--with-scoped-class): New scoping macro.
7903 (eieio-defclass): Use pushnew instead of add-to-list.
7904 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7905 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7906 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7907 `scoped-class' variable, use new eieio--scoped-class, and
7908 eieio--with-scoped-class.
7909
7910 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7911
7912 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7913
7914 * eshell/esh-ext.el (eshell-external-command): Pass args to
7915 `eshell-find-interpreter'.
7916 (eshell-find-interpreter): Add new second parameter ARGS.
7917
7918 * eshell/em-script.el (eshell-script-initialize): Add second arg
7919 to the function added as MATCH to `eshell-interpreter-alist'.
7920
7921 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7922 the function added as MATCH to `eshell-interpreter-alist'.
7923
7924 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7925 (eshell-visual-options): New defcustom.
7926 (eshell-escape-control-x): Adapt docstring.
7927 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7928 `eshell-visual-options' in addition to `eshell-visual-commands'.
7929 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7930
7931 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7932
7933 * progmodes/python.el (python-indent-block-enders): Add break,
7934 continue and raise keywords.
7935
7936 2013-06-01 Glenn Morris <rgm@gnu.org>
7937
7938 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7939
7940 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7941 * progmodes/cc-cmds.el (delete-forward-p):
7942 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7943 * progmodes/cc-engine.el (buffer-syntactic-context):
7944 * progmodes/cc-fonts.el (face-property-instance):
7945 * progmodes/cc-mode.el (set-keymap-parents):
7946 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7947 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7948 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7949 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7950 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7951
7952 * progmodes/cc-vars.el (other): Emacs has this widget since
7953 at least 21.1, so don't (re)define it.
7954
7955 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7956 Replace the obsolete alias pcomplete-arg-quote-list.
7957
7958 2013-06-01 Leo Liu <sdl.web@gmail.com>
7959
7960 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7961 punctuation syntax.
7962 (inferior-octave-minimal-columns)
7963 (inferior-octave-last-column-width): New variables.
7964 (inferior-octave-track-window-width-change): New function.
7965 (inferior-octave-mode): Adjust column width so that Octave output,
7966 for example from 'ls', can fit into the window nicely.
7967
7968 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7969
7970 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7971 Highlight expansions inside regexp literals.
7972
7973 2013-05-31 Glenn Morris <rgm@gnu.org>
7974
7975 * obsolete/sym-comp.el (symbol-complete):
7976 Replace obsolete completion-annotate-function.
7977
7978 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7979
7980 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7981
7982 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7983 New function, checks if point is inside a literal that allows
7984 expression expansion.
7985 (ruby-syntax-propertize-expansion): Use it.
7986 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7987 around the body.
7988
7989 2013-05-30 Juri Linkov <juri@jurta.org>
7990
7991 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7992 to "\M-si".
7993 (isearch-invisible): New variable.
7994 (isearch-forward): Doc fix.
7995 (isearch-mode): Set `isearch-invisible'
7996 to the value of `search-invisible'.
7997 (isearch-toggle-case-fold): Doc fix.
7998 (isearch-toggle-invisible): New command.
7999 (isearch-query-replace): Let-bind `search-invisible'
8000 to the value of `isearch-invisible'.
8001 (isearch-search): Use `isearch-invisible' instead of
8002 `search-invisible'. Let-bind `search-invisible'
8003 to the value of `isearch-invisible'. (Bug#11378)
8004
8005 2013-05-30 Juri Linkov <juri@jurta.org>
8006
8007 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8008 call when `query-flag' is nil and `search-invisible' is non-nil.
8009 (Bug#11746)
8010
8011 2013-05-30 Glenn Morris <rgm@gnu.org>
8012
8013 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8014
8015 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8016 (cc-require): Suppress spurious "noruntime" warnings.
8017 (cc-require-when-compile): Use fboundp, for sake of compiler.
8018
8019 * progmodes/cc-mode.el: Move load of cc-vars before that of
8020 cc-langs (which in turn loads cc-vars), to quieten compiler.
8021
8022 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8023
8024 * paren.el: Simplify the code.
8025 (show-paren-mode): Always start the timer.
8026 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8027 (show-paren--overlay, show-paren--overlay-1): Rename from
8028 show-paren-overlay and show-paren-overlay-1, and initialize to an
8029 overlay rather than to nil.
8030 (show-paren-function): Misc cleanup and simplifications.
8031
8032 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8033
8034 * paren.el (show-paren-data-function): New hook.
8035 (show-paren--default): New function, extracted from show-paren-function.
8036 (show-paren-function): Use show-paren-data-function.
8037
8038 2013-05-30 Glenn Morris <rgm@gnu.org>
8039
8040 * ielm.el (ielm-map, ielm-complete-symbol):
8041 Use completion-at-point rather than obsolete functions.
8042 (inferior-emacs-lisp-mode): Doc fix.
8043 Set completion-at-point-functions, rather than
8044 comint-dynamic-complete-functions.
8045
8046 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8047 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8048 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8049
8050 * image.el (image-animated-p): Tweak definition.
8051
8052 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8053 (rlogin-process-connection-type): Tweak default. Add set-after.
8054 (rlogin-host): Doc fix.
8055 (rlogin): Tweak prompt.
8056 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8057
8058 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8059 * progmodes/tcl.el (inferior-tcl-mode-map):
8060 Use completion-at-point rather than obsolete alias.
8061
8062 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8063
8064 * minibuffer.el (read-file-name-completion-ignore-case):
8065 Move before completion--in-region, for eager macro expansion.
8066
8067 2013-05-29 Juri Linkov <juri@jurta.org>
8068
8069 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8070 for total count of matching lines. Add `global-matches' for total
8071 count of matches. Rename `matches' to `lines' for count of
8072 matching lines. Add `matches' for count of matches.
8073 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8074 to `prev-line' for line number of prev match endpt.
8075 Increment `matches' for every match. Print the number of
8076 matching lines in the header.
8077 (occur-context-lines): Rename `lines' to `curr-line'.
8078 Rename `prev-lines' to `prev-line'. (Bug#14017)
8079
8080 2013-05-29 Juri Linkov <juri@jurta.org>
8081
8082 * replace.el (perform-replace): Add `skip-read-only-count',
8083 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8084 Increment them for corresponding conditions and report the number
8085 of skipped occurrences in the final message. (Bug#11746)
8086 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8087 (replace-string, replace-regexp): Doc fix.
8088
8089 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8090
8091 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8092
8093 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8094 prog-mode-map (bug#14504).
8095
8096 2013-05-29 Leo Liu <sdl.web@gmail.com>
8097
8098 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8099 (octave-help): Small simplification.
8100
8101 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8102 off the highlight first.
8103
8104 2013-05-29 Glenn Morris <rgm@gnu.org>
8105
8106 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8107 Handle idlwave-last-system-routine-info-cons-cell being nil.
8108
8109 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8110 (idlwave-write-paths): Simplify via with-temp-buffer.
8111
8112 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8113 * emulation/cua-rect.el: Also load cua-base at run time.
8114
8115 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8116 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8117 (cperl-imenu-on-info): Require imenu.
8118
8119 2013-05-28 Alan Mackenzie <acm@muc.de>
8120
8121 Handle "capitalised keywords" correctly.
8122 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8123
8124 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8125
8126 * eshell/em-unix.el: Add -r option to cp.
8127
8128 2013-05-28 Glenn Morris <rgm@gnu.org>
8129
8130 * vc/vc-arch.el (vc-exec-after): Declare.
8131 (vc-switches): Autoload.
8132 * vc/vc-bzr.el: No need to require vc when compiling.
8133 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8134 (vc-resynch-buffer, vc-dir-refresh): Declare.
8135 (vc-setup-buffer, vc-switches): Autoload.
8136 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8137 (vc-resynch-buffer): Declare.
8138 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8139 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8140 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8141 (grep-read-regexp, grep-read-files, grep-expand-template)
8142 (vc-dir-refresh): Declare.
8143 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8144 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8145 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8146 * vc/vc-mtn.el (vc-exec-after): Declare.
8147 (vc-switches): Autoload.
8148 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8149 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8150 (vc-file-tree-walk): Declare.
8151 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8152 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8153 (vc-tag-precondition, vc-rename-master): Autoload.
8154 * vc/vc-svn.el (vc-exec-after): Declare.
8155 (vc-switches, vc-setup-buffer): Autoload.
8156 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8157 Autoload.
8158 (vc-resynch-buffer): Declare.
8159
8160 * obsolete/fast-lock.el (byte-compile-warnings):
8161 Don't warn about obsolete features in this obsolete file.
8162
8163 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8164 Move definition before use.
8165
8166 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8167 (dun-unix-verbs): Remove dun-zippy.
8168 (dun-zippy): Remove function.
8169
8170 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8171
8172 2013-05-27 Juri Linkov <juri@jurta.org>
8173
8174 * replace.el (replace-search): New function with code moved out
8175 from `perform-replace'.
8176 (replace-highlight, replace-dehighlight): Move function definitions
8177 up closer to `replace-search'. (Bug#11746)
8178
8179 2013-05-27 Juri Linkov <juri@jurta.org>
8180
8181 * replace.el (perform-replace): Ignore invisible matches.
8182 In addition to checking `query-replace-skip-read-only', also
8183 filter out matches by calling `run-hook-with-args-until-failure'
8184 on `isearch-filter-predicates', and also check `search-invisible'
8185 for t or call `isearch-range-invisible'.
8186 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8187
8188 2013-05-27 Juri Linkov <juri@jurta.org>
8189
8190 * isearch.el (isearch-filter-predicates): Rename from
8191 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8192 (isearch-message-prefix): Display text from the property
8193 `isearch-message-prefix' of the currently active filters.
8194 (isearch-search): Don't compare `isearch-filter-predicate' with
8195 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8196 on `isearch-filter-predicates'. Also check `search-invisible' for t
8197 or call `isearch-range-invisible'.
8198 (isearch-filter-visible): Make obsolete.
8199 (isearch-lazy-highlight-search):
8200 Call `run-hook-with-args-until-failure' on
8201 `isearch-filter-predicates' and use `isearch-range-invisible'.
8202
8203 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8204 `isearch-filter-predicates' instead of `funcall'ing
8205 `isearch-filter-predicate'.
8206 (Info-mode): Set `Info-isearch-filter' to
8207 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8208
8209 * dired-aux.el (dired-isearch-filter-predicate-orig):
8210 Remove variable.
8211 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8212 (dired-isearch-filenames-end): Add and remove
8213 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8214 instead of changing the value of `isearch-filter-predicate'.
8215 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8216 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8217 Put property `isearch-message-prefix' to "filename " on
8218 `dired-isearch-filter-filenames'.
8219
8220 * wdired.el (wdired-change-to-wdired-mode):
8221 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8222 locally instead of changing `isearch-filter-predicate'.
8223 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8224
8225 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8226
8227 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8228 return the commit hash (Bug#14459). Also set the
8229 `vc-git-detached' property.
8230 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8231 (vc-git-mode-line-string): Use the same help-echo format whether
8232 in detached mode or not, because we know the actual revision now.
8233 When in detached mode, shorten the revision to 7 chars.
8234
8235 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8236
8237 * emacs-lisp/easy-mmode.el (define-minor-mode):
8238 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8239 mode hook and provide a docstring.
8240
8241 2013-05-27 Alan Mackenzie <acm@muc.de>
8242
8243 Remove spurious syntax-table text properties inserted by C-y.
8244 * progmodes/cc-mode.el (c-after-change): Also clear hard
8245 syntax-table property with value nil.
8246
8247 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8248
8249 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8250 when reading the events; the buffer layout shall not be changed.
8251
8252 2013-05-27 Leo Liu <sdl.web@gmail.com>
8253
8254 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8255 New variable.
8256 (inferior-octave-directory-tracker): Automatically re-sync
8257 default-directory.
8258 (octave-help): Improve handling of 'See also'.
8259
8260 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8261
8262 * doc-view.el: Minor naming convention tweaks.
8263 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8264
8265 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8266 even if there's no `display' property yet (bug#14435).
8267
8268 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8269
8270 * subr.el (unmsys--file-name): Rename from reveal-filename.
8271
8272 * Makefile.in (custom-deps, finder-data, autoloads)
8273 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8274 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8275 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8276
8277 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8278
8279 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8280 error-completion on the first 2 args of condition-case (bug#14446).
8281 Don't burp at EOB.
8282
8283 2013-05-25 Leo Liu <sdl.web@gmail.com>
8284
8285 * comint.el (comint-previous-matching-input): Do not flood the
8286 *Messages* buffer with trivial messages.
8287
8288 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8289
8290 * progmodes/flymake.el (flymake-nop): Don't return a string.
8291 (flymake-set-at): Fix typo.
8292
8293 * simple.el (read--expression): New function, extracted from
8294 eval-expression. Set completion-at-point-functions (bug#14465).
8295 (eval-expression, eval-minibuffer): Use it.
8296
8297 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8298
8299 * progmodes/flymake.el (flymake-save-buffer-in-file)
8300 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8301 (flymake-selected-frame, flymake-log, flymake-ins-after)
8302 (flymake-set-at, flymake-get-buildfile-from-cache)
8303 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8304 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8305 Refine the doc string.
8306 (flymake-get-file-name-mode-and-masks): Reformat.
8307 (flymake-get-real-file-name-function): Fix a minor bug.
8308
8309 2013-05-24 Juri Linkov <juri@jurta.org>
8310
8311 * progmodes/grep.el (grep-mode-font-lock-keywords):
8312 Support =linenumber= format used by git-grep for lines with
8313 function names. (Bug#13549)
8314
8315 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8316
8317 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8318 0 after a semi-colon; it works better for smie-auto-fill.
8319 (octave--indent-new-comment-line): New function.
8320 (octave-indent-new-comment-line): Use it (indirectly).
8321 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8322 modify comment-line-break-function.
8323
8324 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8325 (smie-setup): Use add-function to set it.
8326
8327 2013-05-24 Sam Steingold <sds@gnu.org>
8328
8329 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8330 argument (before the `interactive' argument).
8331
8332 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8333
8334 * image-mode.el (image-mode-winprops): Add winprops to
8335 image-mode-winprops-alist before running
8336 image-mode-new-window-functions.
8337 * doc-view.el (doc-view-new-window-function): Don't delay
8338 doc-view-goto-page via timers (bug#14435).
8339
8340 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8341
8342 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8343 (doc-view-desktop-save-buffer): New function.
8344 (doc-view-restore-desktop-buffer): New function.
8345 (desktop-buffer-mode-handlers):
8346 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8347 handler.
8348 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8349 `desktop-save-buffer' function.
8350
8351 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8352
8353 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8354 (tramp-gvfs-file-name-handler): Raise a user error when
8355 `tramp-gvfs-enabled' is nil.
8356 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8357 Do not raise a user error when loading package. (Bug#14447)
8358
8359 * net/xesam.el: Move to obsolete/.
8360
8361 2013-05-24 Glenn Morris <rgm@gnu.org>
8362
8363 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8364
8365 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8366
8367 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8368 (Info-find-node, Man-getpage-in-background): Declare.
8369
8370 * mail/unrmail.el (unrmail):
8371 Replace obsolete detect-coding-with-priority.
8372
8373 * net/socks.el (socks-split-string): Use this rather than split-string.
8374 (socks-nslookup-host): Update for above change.
8375 (dynamic-choice, s5-dynamic-choice-match)
8376 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8377 Comment out unused code.
8378
8379 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8380 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8381 (gud-tooltip-echo-area): Make obsolete.
8382 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8383
8384 * progmodes/js.el (js--optimize-arglist): Declare.
8385
8386 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8387
8388 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8389 (ediff-window-C): Declare.
8390
8391 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8392 Tweak requires to silence compiler.
8393
8394 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8395 (he-search-string, he-tried-table, he-expand-list)
8396 (he-init-string, he-string-member, he-substitute-string)
8397 (he-reset-string): Declare.
8398
8399 * obsolete/options.el (list-options): Use custom-variable-p,
8400 rather than obsolete alias.
8401
8402 2013-05-23 Sam Steingold <sds@gnu.org>
8403
8404 * simple.el (shell-command-on-region): Pass the `replace' argument
8405 down to `call-process-region' to comply with the doc as reported on
8406 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8407
8408 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8409
8410 * emacs-lisp/smie.el (smie-indent-forward-token)
8411 (smie-indent-backward-token): Handle string tokens (bug#14381).
8412
8413 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8414
8415 * ielm.el (ielm-menu): New menu.
8416 (inferior-emacs-lisp-mode): Set comment-start.
8417
8418 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8419
8420 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8421 Fix deactivate action.
8422
8423 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8424 Add cleveref macros.
8425
8426 * lisp/textmodes/reftex-parse.el
8427 (reftex-locate-bibliography-files): Accept options for
8428 bibliography commands.
8429 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8430 Add addbibresource. Basic Biblatex support.
8431
8432 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8433
8434 * net/tramp-gvfs.el (top):
8435 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8436 when loading package. (Bug#14447)
8437
8438 2013-05-23 Glenn Morris <rgm@gnu.org>
8439
8440 * progmodes/js.el: No need to load comint when compiling.
8441 (ring-insert, comint-send-string, comint-send-input)
8442 (comint-last-input-end, ido-chop): Declare.
8443
8444 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8445 * vc/ediff-mult.el: Adjust requires.
8446 (ediff-directories-internal, ediff-directory-revisions-internal)
8447 (ediff-patch-file-internal): Declare.
8448 * vc/ediff-ptch.el: Adjust requires.
8449 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8450 (ediff-find-file): Autoload.
8451 * vc/ediff-util.el: No need to load ediff when compiling.
8452 (ediff-regions-internal): Declare.
8453 * vc/ediff-wind.el: Adjust requires.
8454 (ediff-compute-toolbar-width): Define when compiling.
8455 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8456 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8457 (dired-get-filename, dired-get-marked-files)
8458 (ediff-last-dir-patch, ediff-patch-default-directory)
8459 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8460 (ediff-patch-buffer-internal): Declare.
8461
8462 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8463 (ispell-process, ispell-buffer-local-words, lm-summary)
8464 (lm-section-start, lm-section-end): Declare.
8465 (checkdoc-ispell-init): Simplify.
8466
8467 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8468 (he-string-member, he-reset-string, he-substitute-string): Declare.
8469
8470 * eshell/em-ls.el: Adjust requires.
8471 (eshell-glob-regexp): Declare.
8472 * eshell/em-tramp.el: Adjust requires.
8473 (eshell-parse-command): Autoload.
8474 * eshell/em-xtra.el: Adjust requires.
8475 (eshell-parse-command): Autoload.
8476 * eshell/esh-ext.el: Adjust requires.
8477 (eshell-parse-command, eshell-close-handles): Autoload.
8478 * eshell/esh-io.el: Adjust requires.
8479 (eshell-output-filter): Autoload.
8480 * eshell/esh-util.el: No need to load tramp when compiling.
8481 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8482 Declare.
8483 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8484 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8485 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8486 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8487 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8488 * eshell/esh-opt.el, eshell/esh-proc.el:
8489 * eshell/esh-var.el: Adjust requires.
8490 * eshell/eshell.el: Do not require esh-util twice.
8491 (eshell-add-input-to-history): Declare.
8492 (eshell-command): Check history module is active before using it.
8493
8494 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8495
8496 2013-05-22 Leo Liu <sdl.web@gmail.com>
8497
8498 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8499
8500 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8501
8502 * autorevert.el (auto-revert-notify-add-watch)
8503 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8504 it indicates changes in file modification time.
8505
8506 2013-05-22 Glenn Morris <rgm@gnu.org>
8507
8508 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8509 Always delete the autoloaded function from the noruntime and
8510 unresolved functions lists.
8511
8512 * allout.el: No need to load epa, epg, overlay when compiling.
8513 (epg-context-set-passphrase-callback, epg-list-keys)
8514 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8515 (epg-key-user-id-list): Declare.
8516
8517 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8518 (viper-set-parsing-style-toggling-macro)
8519 (viper-set-emacs-state-searchstyle-macros):
8520 Use called-interactively-p on Emacs.
8521 (viper-looking-back): Make it an obsolete alias. Update callers.
8522 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8523 Use looking-back rather than viper-looking-back.
8524 (viper-tmp-insert-at-eob, viper-enlarge-region)
8525 (viper-read-string-with-history, viper-register-to-point)
8526 (viper-append-to-register, viper-change-state-to-vi)
8527 (viper-backward-char-carefully, viper-forward-char-carefully)
8528 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8529 (viper-change-state-to-emacs): Declare.
8530 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8531 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8532 * emulation/viper-mous.el: Do not load viper-cmd.
8533 (viper-backward-char-carefully, viper-forward-char-carefully)
8534 (viper-forward-word, viper-adjust-window): Declare.
8535
8536 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8537
8538 * progmodes/idlw-help.el (idlwave-help-fontify):
8539 Use called-interactively-p.
8540
8541 * term/w32console.el (w32-get-console-codepage)
8542 (w32-get-console-output-codepage): Declare.
8543
8544 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8545 Remove unnecessary declarations.
8546 (dframe-message): Doc fix.
8547
8548 * info.el (dframe-select-attached-frame, dframe-current-frame):
8549 Declare.
8550
8551 * speedbar.el (speedbar-message): Make it an obsolete alias.
8552 Update all callers.
8553 (speedbar-with-attached-buffer)
8554 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8555 (speedbar-with-writable): Use backquote.
8556 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8557 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8558 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8559 rather than speedbar- aliases.
8560 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8561 (speedbar-make-specialized-keymap, speedbar-insert-button)
8562 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8563 (speedbar-do-function-pointer): Declare.
8564 (rmail-speedbar-button, rmail-speedbar-find-file)
8565 (rmail-speedbar-move-message):
8566 Use dframe-with-attached-buffer rather than speedbar- alias.
8567 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8568 (dframe-message, speedbar-make-specialized-keymap)
8569 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8570 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8571 (speedbar-insert-button, dframe-select-attached-frame)
8572 (dframe-maybee-jump-to-attached-frame)
8573 (speedbar-change-initial-expansion-list)
8574 (speedbar-previously-used-expansion-list-name): Declare.
8575 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8576 Use dframe-message, dframe-with-attached-buffer rather than
8577 speedbar- aliases.
8578 (gud-sentinel): Silence compiler.
8579 * progmodes/vhdl-mode.el (speedbar-refresh)
8580 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8581 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8582 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8583 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8584 (speedbar-file-lists, speedbar-make-tag-line)
8585 (speedbar-line-directory, speedbar-goto-this-file)
8586 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8587 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8588 (speedbar-make-button, speedbar-reset-scanners)
8589 (speedbar-files-item-info, speedbar-line-text)
8590 (speedbar-find-file-in-frame, speedbar-set-timer)
8591 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8592 (speedbar-with-writable): Do not (re)define it.
8593 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8594 rather than speedbar- alias.
8595
8596 2013-05-21 Leo Liu <sdl.web@gmail.com>
8597
8598 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8599 menu items.
8600 (octave-mode): Tweak fill-nobreak-predicate.
8601 (inferior-octave-startup): Check process to avoid infinite loop.
8602 (inferior-octave): Pop to buffer first to show abornmal process
8603 exit information.
8604
8605 2013-05-21 Glenn Morris <rgm@gnu.org>
8606
8607 * printing.el (pr-menu-bar): Define when compiling.
8608
8609 2013-05-21 Leo Liu <sdl.web@gmail.com>
8610
8611 * progmodes/octave.el (octave-auto-fill): Remove.
8612 (octave-indent-new-comment-line): Improve.
8613 (octave-mode): Use auto fill mode through
8614 comment-line-break-function and fill-nobreak-predicate.
8615 (octave-goto-function-definition): Support DEFUN_DLD.
8616 (octave-beginning-of-defun): Small tweak.
8617 (octave-help): Show parent directory.
8618
8619 2013-05-21 Glenn Morris <rgm@gnu.org>
8620
8621 * files.el (dired-unmark):
8622 * progmodes/gud.el (gdb-input): Update declarations.
8623
8624 * calculator.el (electric, ehelp): No need to load when compiling.
8625 (Electric-command-loop, electric-describe-mode): Declare.
8626
8627 * doc-view.el (doc-view-current-converter-processes): Move before use.
8628
8629 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8630 Move MODE-set-explicitly definition before use.
8631
8632 * international/mule-diag.el (mule-diag):
8633 Don't use obsolete window-system-version.
8634
8635 * mail/feedmail.el (smtpmail): No need to load when compiling.
8636 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8637
8638 * mail/mail-utils.el (rfc822): No need to load when compiling.
8639 (rfc822-addresses): Autoload it.
8640 (mail-strip-quoted-names): Trivial simplification.
8641
8642 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8643 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8644
8645 * net/snmp-mode.el (tempo): Don't duplicate requires.
8646
8647 * progmodes/prolog.el (info): No need to load when compiling.
8648 (comint): Require before shell requires it.
8649 (Info-goto-node): Autoload it.
8650 (Info-follow-nearest-node): Declare.
8651 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8652
8653 * textmodes/artist.el (picture-mode-exit): Declare.
8654
8655 * textmodes/reftex-parse.el (reftex-parse-from-file):
8656 Trivial rewrite so the compiler can parse it better.
8657
8658 2013-05-20 Leo Liu <sdl.web@gmail.com>
8659
8660 * progmodes/octave.el (octave-help-mode-map)
8661 (octave-help-mode-finish-hook): New variables.
8662 (octave-help-mode, octave-help-mode-finish): New functions.
8663 (octave-help): Use octave-help-mode.
8664
8665 2013-05-20 Glenn Morris <rgm@gnu.org>
8666
8667 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8668
8669 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8670
8671 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8672 start at point, so that expansion starting right after opening
8673 slash in a regexp is recognized.
8674 (ruby-syntax-before-regexp-re): New defvar, extracted from
8675 ruby-syntax-propertize-function. Since the value of this regexp
8676 is looked up at runtime now, we should be able to turn
8677 `ruby-syntax-methods-before-regexp' into a defcustom later.
8678 (ruby-syntax-propertize-function): Split regexp matching into two
8679 parts, for opening and closing slashes. That allows us to skip
8680 over string interpolations and support multiline regexps.
8681 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8682 for them, which calls `ruby-syntax-propertize-expansion'.
8683 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8684 call to `ruby-syntax-propertize-function'.
8685 (ruby-syntax-propertize-expansion): Extracted from
8686 `ruby-syntax-propertize-expansions'. Handles one expansion.
8687 (ruby-syntax-propertize-percent-literal): Leave point right after
8688 the percent symbol, so that the expression expansion rule can
8689 propertize the contents.
8690 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8691 heredoc openers.
8692 (ruby-syntax-propertize-expansions): Remove.
8693
8694 2013-05-18 Juri Linkov <juri@jurta.org>
8695
8696 * man.el (Man-default-man-entry): Remove `-' from the end
8697 of the default value. (Bug#14400)
8698
8699 2013-05-18 Glenn Morris <rgm@gnu.org>
8700
8701 * comint.el (comint-password-prompt-regexp):
8702 Allow "password for XXX" where XXX contains colons (eg https://...).
8703
8704 2013-05-18 Leo Liu <sdl.web@gmail.com>
8705
8706 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8707 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8708 (octave-source-directories): Don't check process.
8709 (octave-source-directories, octave-find-definition): Doc fix.
8710
8711 2013-05-18 Glenn Morris <rgm@gnu.org>
8712
8713 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8714 Remove backspace/delete bindings. (Bug#14392)
8715
8716 * cus-dep.el (custom-make-dependencies): Sort the output.
8717 (custom-versions-load-alist): Convert comment to doc.
8718
8719 2013-05-17 Leo Liu <sdl.web@gmail.com>
8720
8721 * newcomment.el (comment-search-backward): Stricter in finding
8722 comment start. (Bug#14303)
8723
8724 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8725 (octave-comment-start-skip): Properly anchored.
8726
8727 2013-05-17 Leo Liu <sdl.web@gmail.com>
8728
8729 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8730 Clean up when turned off. (Bug#14395)
8731 (smie--highlight-matching-block-overlay): No longer buffer-local.
8732 (smie-highlight-matching-block): Adjust.
8733
8734 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8735
8736 Doc string fix for "nanoseconds" (Bug#14406).
8737 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8738 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8739
8740 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8741
8742 * calc/calc-units.el (math-extract-units): Preserve powers
8743 of units.
8744
8745 2013-05-17 Leo Liu <sdl.web@gmail.com>
8746
8747 * subr.el (delete-consecutive-dups): New function.
8748 * ido.el (ido-set-matches-1): Use it.
8749 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8750 * ido.el (ido-remove-consecutive-dups): Remove.
8751
8752 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8753
8754 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8755 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8756 regexp-opt's `words'.
8757
8758 2013-05-16 Leo Liu <sdl.web@gmail.com>
8759
8760 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8761 (smie--highlight-matching-block-overlay)
8762 (smie--highlight-matching-block-lastpos)
8763 (smie--highlight-matching-block-timer): New variables.
8764 (smie-highlight-matching-block): New function.
8765 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8766 (smie-setup): Conditionally enable smie-blink-matching-open.
8767
8768 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8769
8770 Sync with upstream verilog-mode r840.
8771 * progmodes/verilog-mode.el (verilog-mode-version)
8772 (verilog-mode-release-date): Update.
8773 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8774 (verilog-sig-tieoff): Fix string error on
8775 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8776 (verilog-read-decls): Fix parameters confusing
8777 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8778
8779 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8780
8781 * subr.el (reveal-filename): New function.
8782
8783 * loadup.el: Compute Emacs executable versions on MS-Windows,
8784 where executables have the .exe extension. Add a hard link
8785 emacs-XX.YY.ZZ.exe on MS-Windows.
8786
8787 * Makefile.in (XARGS_LIMIT): New variable.
8788 (custom-deps, finder-data, autoloads)
8789 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8790 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8791 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8792 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8793
8794 2013-05-16 Leo Liu <sdl.web@gmail.com>
8795
8796 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8797 (octave-mode-menu, octave-mode-map): Remove its uses.
8798
8799 2013-05-16 Reto Zimmermann <reto@gnu.org>
8800
8801 Sync with upstream vhdl mode v3.34.2.
8802 * progmodes/vhdl-mode.el: Use `push' throughout.
8803 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8804 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8805 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8806 (vhdl-actual-generic-name): New option to derive actual generic name.
8807 (vhdl-port-paste-signals): Replace formal by actual generics.
8808 (vhdl-beautify): New name for old group vhdl-align. Update users.
8809 (vhdl-beautify-options): New option.
8810 (vhdl-last-input-event): New compat alias. Use throughout.
8811 (vhdl-goto-line): Replace user level function `goto-line'.
8812 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8813 vhdl-fix-statement-buffer.
8814 (vhdl-create-mode-menu): Add some entries.
8815 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8816 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8817 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8818 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8819 to force statements on one line.
8820 (vhdl-remove-trailing-spaces-region):
8821 New, split from vhdl-remove-trailing-spaces.
8822 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8823 Respect vhdl-beautify-options.
8824 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8825 (vhdl-update-sensitivity-list): Not add with index if exists without.
8826 Not include array index with signal. Ignore keywords in comments.
8827 (vhdl-get-visible-signals): Regexp tweaks.
8828 (vhdl-template-component-inst): Handle empty library.
8829 (vhdl-template-type): Add template for 'enum' type.
8830 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8831 Use vhdl-replace-string.
8832 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8833 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8834 (vhdl-speedbar-initialize): Update for above name change.
8835 (vhdl-compose-wire-components): Fix in handling of constants.
8836 (vhdl-error-regexp-emacs-alist): New variable.
8837 (vhdl-error-regexp-add-emacs): New function;
8838 adds support for new compile.el (Emacs 22+)
8839 (vhdl-generate-makefile-1): Change target order for single lib. units.
8840 Allow use of absolute file names.
8841
8842 2013-05-16 Leo Liu <sdl.web@gmail.com>
8843
8844 * simple.el (prog-indent-sexp): Indent enclosing defun.
8845
8846 2013-05-15 Glenn Morris <rgm@gnu.org>
8847
8848 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8849 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8850 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8851 (whitespace-highlight): Move to whitespace group.
8852
8853 * comint.el (comint-source):
8854 * pcmpl-linux.el (pcmpl-linux):
8855 * shell.el (shell-faces):
8856 * eshell/esh-opt.el (eshell-opt):
8857 * international/ccl.el (ccl): Remove empty custom groups.
8858
8859 * completion.el (dynamic-completion-mode):
8860 * jit-lock.el (jit-lock-debug-mode):
8861 * minibuffer.el (completion-in-region-mode):
8862 * type-break.el (type-break-mode-line-message-mode)
8863 (type-break-query-mode):
8864 * emulation/tpu-edt.el (tpu-edt-mode):
8865 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8866 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8867 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8868
8869 * term/xterm.el (xterm): Change parent group to terminals.
8870
8871 * master.el (master): Remove empty custom group.
8872 (master-mode): Remove unused :group argument.
8873 * textmodes/refill.el (refill): Remove empty custom group.
8874 (refill-mode): Remove unused :group argument.
8875
8876 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8877
8878 * cus-dep.el: Provide a feature.
8879 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8880 Don't mistakenly ignore files whose basenames match a basename
8881 from preloaded-file-list (eg cedet/ede/simple.el).
8882 Add a fallback method for getting :group.
8883
8884 2013-05-15 Juri Linkov <juri@jurta.org>
8885
8886 * isearch.el (isearch-char-by-name): Rename from
8887 `isearch-insert-char-by-name'. Doc fix.
8888 (isearch-forward): Mention `isearch-char-by-name' in
8889 the docstring. (Bug#13348)
8890
8891 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8892 `exit-minibuffer' instead of
8893 `isearch-nonincremental-exit-minibuffer'.
8894 (isearch-edit-string): Remove mention of
8895 `isearch-nonincremental-exit-minibuffer' from docstring.
8896 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8897 (isearch-forward-exit-minibuffer)
8898 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8899
8900 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8901
8902 * loadup.el: Just use unversioned DOC.
8903
8904 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8905 literals as extending to EOB.
8906 (nxml-last-fontify-end): Remove unused variable.
8907 (nxml-after-change1): Use with-silent-modifications.
8908 (nxml-extend-after-change-region): Simplify.
8909 (nxml-extend-after-change-region1): Remove function.
8910 (nxml-after-change1): Don't adjust for dependent regions.
8911 (nxml-fontify-matcher): Simplify.
8912 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8913 (xmltok-add-dependent): Remove function.
8914 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8915 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8916 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8917 unclosed <[[, <?, comment, and other literals as extending to EOB.
8918 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8919 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8920 Remove functions.
8921 (rng-do-some-validation-1): Don't mark dependent regions.
8922 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8923 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8924 (nxml-clear-dependent-regions): Remove functions.
8925 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8926 (nxml-ensure-scan-up-to-date):
8927 Don't clear&mark dependent regions.
8928
8929 2013-05-15 Leo Liu <sdl.web@gmail.com>
8930
8931 * progmodes/octave.el (octave-goto-function-definition):
8932 Improve and fix callers.
8933
8934 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8935
8936 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8937 the setter (bug#14387).
8938
8939 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8940 surrounding group (bug#14402).
8941
8942 2013-05-14 Juri Linkov <juri@jurta.org>
8943
8944 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8945 (Bug#14390)
8946
8947 2013-05-14 Glenn Morris <rgm@gnu.org>
8948
8949 * progmodes/f90.el (f90-imenu-generic-expression):
8950 Fix typo in 2013-05-08 change. (Bug#14402)
8951
8952 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8953
8954 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8955 Remove signals for which replies are never received.
8956
8957 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8958
8959 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8960 (gdb-handler-alist, gdb-handler-number): Remove variables.
8961 (gdb-handler-list): New variable.
8962 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8963 (gdb-pending-handler-p, gdb-handle-reply)
8964 (gdb-remove-all-pending-triggers): New functions.
8965 (gdb-discard-unordered-replies): New defcustom.
8966 (gdb-handler): New defstruct.
8967 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8968 instead of gdb-pending-triggers. Update docstring.
8969 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8970 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8971 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8972 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8973 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8974 (gdb-frame-handler): Pending triggers are now automatically managed.
8975 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8976 Remove argument.
8977 (gdb-input): Automatically handles pending triggers. Update docstring.
8978 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8979 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8980 Update comments.
8981 (gdb-done-or-error): Now use gdb-handle-reply.
8982
8983 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8984
8985 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8986 gdb-debug-log.
8987
8988 2013-05-14 Glenn Morris <rgm@gnu.org>
8989
8990 * subr.el (user-emacs-directory-warning): New option.
8991 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8992
8993 2013-05-14 Leo Liu <sdl.web@gmail.com>
8994
8995 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8996 during redisplay.
8997 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8998 (octave-font-lock-texinfo-comment): Fix invalid search bound
8999 error: wrong side of point.
9000
9001 2013-05-14 Glenn Morris <rgm@gnu.org>
9002
9003 * progmodes/flymake.el (flymake-xml-program): New option.
9004 (flymake-xml-init): Use it.
9005
9006 * term/xterm.el: Provide a feature.
9007
9008 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9009
9010 2013-05-13 Glenn Morris <rgm@gnu.org>
9011
9012 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9013 Add compat aliases as a hack workaround. (Bug#14384)
9014
9015 2013-05-13 Leo Liu <sdl.web@gmail.com>
9016
9017 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9018 ###, and %!.
9019 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9020 C-M-q.
9021 (octave-comment-start-skip): Include %!.
9022 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9023
9024 2013-05-12 Leo Liu <sdl.web@gmail.com>
9025
9026 * progmodes/octave.el (inferior-octave-startup): Store the value
9027 of __octave_srcdir__ for octave-source-directories.
9028 (inferior-octave-check-process): New function refactored out of
9029 inferior-octave-send-list-and-digest.
9030 (octave-source-directories)
9031 (octave-find-definition-filename-function): New variables.
9032 (octave-source-directories)
9033 (octave-find-definition-default-filename): New functions.
9034 (octave-find-definition): Improve to find functions implemented in C++.
9035
9036 2013-05-12 Glenn Morris <rgm@gnu.org>
9037
9038 * calendar/diary-lib.el (diary-outlook-format-1):
9039 Don't include dayname in the output. (Bug#14349)
9040
9041 2013-05-11 Glenn Morris <rgm@gnu.org>
9042
9043 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9044
9045 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9046 Treat cc-provide like provide.
9047
9048 2013-05-11 Kevin Ryde <user42@zip.com.au>
9049
9050 * cus-dep.el (custom-make-dependencies):
9051 Use generated-autoload-load-name for the sake of files such
9052 such cedet/semantic/bovine/c.el, where the base file name
9053 is not in load-path. (Bug#5277)
9054
9055 2013-05-11 Glenn Morris <rgm@gnu.org>
9056
9057 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9058 Provide features.
9059
9060 2013-05-11 Leo Liu <sdl.web@gmail.com>
9061
9062 * progmodes/octave.el (octave-indent-comment): Improve.
9063 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9064 (octave-eldoc-function-signatures, octave-eldoc-function):
9065 New functions.
9066 (octave-mode, inferior-octave-mode): Add eldoc support.
9067
9068 2013-05-11 Richard Stallman <rms@gnu.org>
9069
9070 * epa.el (epa-decrypt-file): Take output file name as argument
9071 and read it using `interactive'.
9072
9073 2013-05-11 Leo Liu <sdl.web@gmail.com>
9074
9075 * progmodes/octave.el (octave-beginning-of-line)
9076 (octave-end-of-line): Check before using up-list because it jumps
9077 out of more syntactic contructs since moving to smie.
9078 (octave-indent-comment): New function.
9079 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9080 (octave-begin-keywords, octave-end-keywords)
9081 (octave-reserved-words, octave-smie-bnf-table)
9082 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9083
9084 2013-05-11 Glenn Morris <rgm@gnu.org>
9085
9086 * faces.el (internal-face-x-get-resource):
9087 * frame.el (ns-display-monitor-attributes-list):
9088 * calc/calc-aent.el (math-to-radians-2):
9089 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9090 Fix declarations.
9091
9092 * calc/calc-menu.el: Make it loadable in isolation.
9093
9094 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9095 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9096 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9097 (eudc-bbdb-query-internal): Require 'bbdb.
9098
9099 * lpr.el (lpr-headers-switches):
9100 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9101
9102 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9103
9104 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9105
9106 * term.el (term-set-escape-char): Make it idempotent.
9107
9108 2013-05-10 Leo Liu <sdl.web@gmail.com>
9109
9110 * progmodes/octave.el (inferior-octave-completion-table):
9111 No longer a function and all uses changed. Use cache to speed up
9112 completion due to bug#11906.
9113 (octave-beginning-of-defun): Re-write to be more general.
9114
9115 2013-05-10 Glenn Morris <rgm@gnu.org>
9116
9117 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9118
9119 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9120
9121 * comint.el (comint-redirect-send-command-to-process): Use :around
9122 rather than :override for comint-redirect-filter.
9123 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9124 Call it instead of comint-redirect-original-filter-function (which
9125 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9126
9127 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9128
9129 * frame.el (display-monitor-attributes-list): Add NS case.
9130 (ns-display-monitor-attributes-list): Declare.
9131
9132 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9133
9134 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9135
9136 2013-05-09 Glenn Morris <rgm@gnu.org>
9137
9138 * international/fontset.el (vertical-centering-font-regexp):
9139 Set standard-value.
9140
9141 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9142
9143 * bookmark.el (bookmark-search-delay):
9144 * cus-start.el (vertical-centering-font-regexp):
9145 * ps-mule.el (ps-mule-font-info-database-default):
9146 * ps-print.el (ps-default-fg, ps-default-bg):
9147 * type-break.el (type-break-good-break-interval):
9148 * whitespace.el (whitespace-indentation-regexp)
9149 (whitespace-space-after-tab-regexp):
9150 * emacs-lisp/testcover.el (testcover-1value-functions)
9151 (testcover-noreturn-functions, testcover-progn-functions)
9152 (testcover-prog1-functions):
9153 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9154 * eshell/em-glob.el (eshell-glob-translate-alist):
9155 * play/tetris.el (tetris-tty-colors):
9156 * progmodes/cpp.el (cpp-face-default-list):
9157 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9158 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9159 (idlwave-help-browser-generic-args):
9160 * progmodes/make-mode.el (makefile-special-targets-list):
9161 * progmodes/python.el (python-shell-virtualenv-path):
9162 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9163 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9164 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9165 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9166 * textmodes/reftex-vars.el (reftex-format-label-function):
9167 * textmodes/remember.el (remember-diary-file): Fix custom types.
9168
9169 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9170 Add :version.
9171
9172 2013-05-09 Leo Liu <sdl.web@gmail.com>
9173
9174 * progmodes/octave.el (inferior-octave-completion-at-point):
9175 Restore file completion. (Bug#14300)
9176 (inferior-octave-startup): Fix incorrect highlighting for the
9177 first prompt.
9178
9179 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9180
9181 * progmodes/ruby-mode.el: First cut at SMIE support.
9182 (ruby-use-smie): New var.
9183 (ruby-smie-grammar): New constant.
9184 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9185 (ruby-smie--forward-token, ruby-smie--backward-token)
9186 (ruby-smie-rules): New functions.
9187 (ruby-mode-variables): Setup SMIE if applicable.
9188
9189 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9190
9191 * simple.el (line-move-visual): Signal beginning/end of buffer
9192 only if vertical-motion moved less than it was requested. Avoids
9193 silly incorrect error messages when there are display strings with
9194 multiple newlines at EOL.
9195
9196 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9197
9198 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9199 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9200 (prolog-char-quote-workaround):
9201 * progmodes/cperl-mode.el (cperl-under-as-char):
9202 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9203 Mark as obsolete.
9204 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9205 their declaration.
9206 (vhdl-mode-syntax-table-init): Remove.
9207
9208 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9209 last change.
9210
9211 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9212 syntax for "_".
9213 (ld-script-font-lock-keywords):
9214 Change regexps to use things like \_< and \_>.
9215
9216 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9217 Change all regexps to use things like \_< and \_>.
9218
9219 * progmodes/autoconf.el (autoconf-definition-regexp)
9220 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9221 Handle a _ with symbol syntax.
9222 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9223
9224 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9225 Consolidate declaration.
9226 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9227 the declaration.
9228 (ada-create-syntax-table): Remove.
9229 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9230 already has the right syntax nowadays.
9231 (ada-goto-next-word): Don't change the syntax of "_".
9232
9233 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9234 with-wrapper-hook.
9235
9236 2013-05-08 Sam Steingold <sds@gnu.org>
9237
9238 * thingatpt.el (thing-at-point): Accept optional second argument
9239 NO-PROPERTIES to strip the text properties from the return value.
9240 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9241 to `thing-at-point' instead of stripping the properties ourselves.
9242 Also, when `thing-at-point' fails to find a url, prepend "http://"
9243 to the filename at point on the assumption that the user is
9244 pointing at something like gnu.org/gnu.
9245
9246 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9247
9248 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9249 * faces.el (crm-separator):
9250 Silence byte-compiler.
9251
9252 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9253 (tool-bar-map): Remove unneeded defvars.
9254
9255 2013-05-08 Leo Liu <sdl.web@gmail.com>
9256
9257 Re-work a fix for bug#10994 based on Le Wang's patch.
9258 * ido.el (ido-remove-consecutive-dups): New helper.
9259 (ido-completing-read): Use it.
9260 (ido-chop): Revert fix for bug#10994.
9261
9262 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9263
9264 * cus-edit.el (custom-save-variables):
9265 Pretty-print long values. (Bug#14187)
9266
9267 2013-05-08 Glenn Morris <rgm@gnu.org>
9268
9269 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9270 (m4-mode-syntax-table): Init in the defvar.
9271 (m4-mode-abbrev-table): Let define-derived-mode define it.
9272
9273 2013-05-08 Tom Tromey <tromey@redhat.com>
9274
9275 * progmodes/m4-mode.el (m4-mode-syntax-table):
9276 Do not treat "_" as word constituent. (Bug#14167)
9277
9278 2013-05-07 Glenn Morris <rgm@gnu.org>
9279
9280 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9281 Remove explicit eshell-isearch-cancel-map.
9282
9283 * progmodes/f90.el (f90-smart-end-names): New option.
9284 (f90-smart-end): Doc fix.
9285 (f90-end-block-optional-name): New constant.
9286 (f90-block-match): Respect f90-smart-end-names.
9287
9288 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9289
9290 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9291 about implicit semi-colons (bug#14218).
9292
9293 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9294
9295 * frame.el (display-monitor-attributes-list)
9296 (frame-monitor-attributes): New functions.
9297
9298 2013-05-06 Leo Liu <sdl.web@gmail.com>
9299
9300 * progmodes/octave.el (octave-syntax-propertize-function): Change
9301 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9302 (octave-font-lock-keywords): Use octave-operator-regexp.
9303 (octave-completion-at-point): Rename from
9304 octave-completion-at-point-function.
9305 (inferior-octave-directory-tracker): Robustify.
9306 (octave-text-functions): Remove and fix its uses. No such things
9307 any more.
9308
9309 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9310
9311 * emacs-lisp/trace.el (trace--display-buffer): New function.
9312 (trace-make-advice): Use it.
9313
9314 2013-05-06 Juri Linkov <juri@jurta.org>
9315
9316 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9317 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9318 Doc fix.
9319 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9320 in the help string. (Bug#12985)
9321
9322 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9323
9324 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9325
9326 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9327
9328 * progmodes/perl-mode.el: Add support for here documents.
9329 (perl-syntax-propertize-function): Match here-doc markers.
9330 (perl-syntax-propertize-special-constructs): Find their end.
9331 (perl-imenu-generic-expression): Use [:alnum:].
9332
9333 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9334 (advice--add-function): Refresh the advice if already present
9335 (bug#14317).
9336
9337 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9338
9339 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9340
9341 2013-05-06 Glenn Morris <rgm@gnu.org>
9342
9343 * w32-fns.el (w32-charset-info-alist): Declare.
9344
9345 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9346 of its defcustom properties.
9347 (eshell-cmpl-initialize): No need to load pcomplete.
9348
9349 * generic-x.el: No need to require comint when compiling.
9350
9351 * net/eudc-export.el: Make it loadable without bbdb.
9352 (top-level): Use require rather than load-library.
9353 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9354 (eudc-batch-export-records-to-bbdb)
9355 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9356 Require bbdb.
9357
9358 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9359
9360 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9361 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9362 some tweaks, instead.
9363
9364 2013-05-05 Leo Liu <sdl.web@gmail.com>
9365
9366 * progmodes/octave.el (octave-font-lock-keywords)
9367 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9368 (inferior-octave-send-list-and-digest): Improve error message.
9369 (octave-mode, inferior-octave-mode): Use setq-local.
9370 (octave-help): Set info-lookup-mode.
9371
9372 2013-05-05 Richard Stallman <rms@gnu.org>
9373
9374 * vc/compare-w.el (compare-windows-whitespace):
9375 Treat no-break space as whitespace.
9376
9377 * mail/rmailsum.el (rmail-summary-rmail-update):
9378 Detect empty summary and don't change selected message.
9379 (rmail-summary-goto-msg): Likewise.
9380
9381 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9382 Doc fixes, rename args.
9383
9384 2013-05-05 Alan Mackenzie <acm@muc.de>
9385
9386 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9387
9388 2013-05-05 Juri Linkov <juri@jurta.org>
9389
9390 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9391 to not add the length of the summary segment to the return value.
9392 (Bug#14125)
9393
9394 2013-05-05 Leo Liu <sdl.web@gmail.com>
9395
9396 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9397 (inferior-octave-output-filter): Remove.
9398 (octave-send-region, inferior-octave-startup): Fix callers.
9399 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9400 (octave-binary-file-extensions): New user variable.
9401 (octave-find-definition): Confirm if opening binary files.
9402 (octave-help-file): Use octave-find-definition to get the binary
9403 confirmation.
9404 (octave-help): Adjust for octave-help-file change.
9405
9406 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9407
9408 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9409 Merge the two entries that handle function definitions.
9410 (pascal--syntax-propertize): New const.
9411 (pascal-mode): Use it. Use setq-local.
9412
9413 2013-05-04 Glenn Morris <rgm@gnu.org>
9414
9415 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9416 (diary-from-outlook): Respect diary-from-outlook-function.
9417
9418 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9419
9420 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9421 Move the declaration from C.
9422 (read-minibuffer, eval-minibuffer): Move from C.
9423 (completion-setup-function): Avoid minibuffer-completion-contents.
9424
9425 2013-05-03 Leo Liu <sdl.web@gmail.com>
9426
9427 * progmodes/octave.el (octave-font-lock-keywords): Do not
9428 dehighlight 'end' in comments or strings.
9429 (octave-completing-read, octave-goto-function-definition):
9430 New helpers.
9431 (octave-help-buffer): New user variable.
9432 (octave-help-file, octave-help-function): New button types.
9433 (octave-help): New command and bind it to C-h ;.
9434 (octave-find-definition): New command and bind it to M-.
9435 (user-error): Alias to error if not defined.
9436
9437 2013-05-02 Leo Liu <sdl.web@gmail.com>
9438
9439 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9440 for \. (bug#14332)
9441 (octave-font-lock-keywords): Include [ and {.
9442
9443 2013-05-02 Leo Liu <sdl.web@gmail.com>
9444
9445 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9446 (inferior-octave): Remove calling comint-mode and return the buffer.
9447 (inferior-octave-startup): Cosmetic changes.
9448
9449 2013-05-02 Leo Liu <sdl.web@gmail.com>
9450
9451 * progmodes/octave.el (octave-syntax-propertize-function):
9452 Include the case when ' is at line beginning. (Bug#14336)
9453
9454 2013-05-02 Glenn Morris <rgm@gnu.org>
9455
9456 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9457 * desktop.el (vc-dir-mode): Just autoload it here.
9458
9459 2013-05-02 Alan Mackenzie <acm@muc.de>
9460
9461 Eliminate variable c-standard-font-lock-fontify-region-function.
9462 * progmodes/cc-mode.el
9463 (c-standard-font-lock-fontify-region-function): Remove.
9464 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9465
9466 2013-05-01 Leo Liu <sdl.web@gmail.com>
9467
9468 * progmodes/octave.el: Compatible with older emacs-24 releases.
9469 (inferior-octave-has-built-in-variables): Remove. Built-in
9470 variables were removed from Octave in 2007.
9471 (inferior-octave-startup): Fix uses.
9472 (comint-line-beginning-position): Remove compatibility code for
9473 emacs 21.
9474
9475 2013-05-01 Juri Linkov <juri@jurta.org>
9476
9477 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9478
9479 2013-05-01 Juri Linkov <juri@jurta.org>
9480
9481 * comint.el (comint-previous-matching-input): Don't print message
9482 "History item: %d" when `isearch-mode' is active.
9483 (comint-history-isearch-message): Print message "History item: %d"
9484 when `comint-input-ring-index' is not empty and this function is
9485 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9486
9487 2013-05-01 Leo Liu <sdl.web@gmail.com>
9488
9489 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9490 definitions. Use completion-at-point to insert keywords.
9491 (octave-abbrev-start): Remove.
9492 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9493
9494 2013-04-30 Leo Liu <sdl.web@gmail.com>
9495
9496 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9497 change.
9498
9499 2013-04-30 Alan Mackenzie <acm@muc.de>
9500
9501 Handle arbitrarily long C++ member initialisation lists.
9502 * progmodes/cc-engine.el (c-back-over-member-initializers):
9503 new function.
9504 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9505 (most) member init lists.
9506
9507 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9508
9509 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9510 variable.
9511
9512 2013-04-30 Leo Liu <sdl.web@gmail.com>
9513
9514 * progmodes/octave.el (octave-variables): Remove. No builtin
9515 variables any more. All converted to functions.
9516 (octave-font-lock-keywords, octave-completion-at-point-function):
9517 Fix uses.
9518 (octave-font-lock-texinfo-comment): New user variable.
9519 (octave-texinfo-font-lock-keywords): New variable for texinfo
9520 comment block.
9521 (octave-function-comment-block): New face.
9522 (octave-font-lock-texinfo-comment): New function.
9523 (octave-mode): Font lock texinfo comment block.
9524
9525 2013-04-29 Leo Liu <sdl.web@gmail.com>
9526
9527 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9528 indexing expression.
9529 (octave-continuation-string): Do not use \.
9530 (inferior-octave-complete-impossible): Remove.
9531 (inferior-octave-completion-table)
9532 (inferior-octave-completion-at-point): Remove its uses.
9533 (inferior-octave-startup): completion_matches was introduced to
9534 Octave in 1996 so safe to assume it.
9535 (octave-function-file-comment): Improve to follow how Octave does it.
9536 (octave-update-function-file-comment): Tweak.
9537
9538 2013-04-29 Leo Liu <sdl.web@gmail.com>
9539
9540 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9541 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9542 (octave-function-file-comment): Fix typo.
9543 (octave-sync-function-file-names): Use read-char-choice.
9544
9545 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9546
9547 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9548 to t for the less important warnings.
9549
9550 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9551
9552 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9553
9554 2013-04-27 Glenn Morris <rgm@gnu.org>
9555
9556 * vc/log-view.el (log-view-current-entry):
9557 Treat "---" separator lines as part of the following rev. (Bug#14169)
9558
9559 2013-04-27 Juri Linkov <juri@jurta.org>
9560
9561 * subr.el (read-number): Doc fix about using it by interactive
9562 code letter `n'. (Bug#14254)
9563
9564 2013-04-27 Juri Linkov <juri@jurta.org>
9565
9566 * desktop.el (desktop-auto-save-timeout): New option.
9567 (desktop-file-checksum): New variable.
9568 (desktop-save): Add optional arg `auto-save' and don't auto-save
9569 if nothing changed.
9570 (desktop-auto-save-timer): New variable.
9571 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9572 (after-init-hook): Call `desktop-auto-save-set-timer'.
9573 Suggested by Reuben Thomas <rrt@sc3d.org> in
9574 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9575
9576 2013-04-27 Leo Liu <sdl.web@gmail.com>
9577
9578 * progmodes/octave.el (octave-function-file-p)
9579 (octave-skip-comment-forward, octave-function-file-comment)
9580 (octave-update-function-file-comment): New functions.
9581 (octave-mode-map): Bind C-c ; to
9582 octave-update-function-file-comment.
9583 (octave-mode-menu): Add octave-update-function-file-comment.
9584 (octave-mode, inferior-octave-mode): Fix doc-string.
9585 (octave-insert-defun): Conform to Octave's coding convention.
9586 (Bug#14285)
9587
9588 * files.el (basic-save-buffer): Don't let errors in
9589 before-save-hook prevent saving buffer.
9590
9591 2013-04-20 Roland Winkler <winkler@gnu.org>
9592
9593 * faces.el (read-face-name): Use completing-read if arg multiple
9594 is nil.
9595
9596 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9597
9598 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9599 displayed, move point to after the totals line.
9600 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9601 for the details.
9602
9603 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9604
9605 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9606 Add current dir to the load-path.
9607 (package-generate-autoloads): Don't rely on
9608 autoload-ensure-default-file.
9609
9610 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9611
9612 * textmodes/remember.el (remember-store-in-files): Document that
9613 the file name format is passed to `format-time-string'.
9614
9615 2013-04-26 Leo Liu <sdl.web@gmail.com>
9616
9617 * progmodes/octave.el (octave-sync-function-file-names): New function.
9618 (octave-mode): Use it in before-save-hook.
9619
9620 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9621
9622 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9623 (bug#14274).
9624
9625 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9626 \n and comment, even if it's not an implicit ; (bug#14218).
9627
9628 2013-04-26 Glenn Morris <rgm@gnu.org>
9629
9630 * subr.el (read-number): Once more use `read' rather than
9631 `string-to-number', to trap non-numeric input. (Bug#14254)
9632
9633 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9634
9635 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9636 Use `syntax-multiline' text property consistently instead of
9637 `font-lock-multiline'. (Bug#14237)
9638
9639 2013-04-26 Glenn Morris <rgm@gnu.org>
9640
9641 * emacs-lisp/shadow.el (list-load-path-shadows):
9642 No longer necessary to check for duplicate simple.el, since
9643 2012-07-07 change to init_lread to not include installation lisp
9644 directories in load-path when running uninstalled. (Bug#14270)
9645
9646 2013-04-26 Leo Liu <sdl.web@gmail.com>
9647
9648 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9649 (octave-mode, inferior-octave-mode): Use setq-local.
9650 (octave-not-in-string-or-comment-p): Rename to
9651 octave-in-string-or-comment-p.
9652 (octave-in-comment-p, octave-in-string-p)
9653 (octave-in-string-or-comment-p): Replace defsubst with defun.
9654
9655 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9656
9657 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9658
9659 2013-04-25 Bastien Guerry <bzg@gnu.org>
9660
9661 * textmodes/remember.el (remember-data-directory)
9662 (remember-directory-file-name-format): Fix custom types.
9663
9664 2013-04-25 Leo Liu <sdl.web@gmail.com>
9665
9666 * progmodes/octave.el (octave-completion-at-point-function):
9667 Make use of inferior octave process.
9668 (octave-initialize-completions): Remove.
9669 (inferior-octave-completion-table): New function.
9670 (inferior-octave-completion-at-point): Use it.
9671 (octave-completion-alist): Remove.
9672
9673 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9674
9675 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9676 (opascal-mode-syntax-table): New var.
9677 (opascal-literal-kind, opascal-is-literal-end)
9678 (opascal-literal-token-at): Rewrite.
9679 (opascal--literal-start-re, opascal-font-lock-keywords)
9680 (opascal--syntax-propertize): New constants.
9681 (opascal-font-lock-defaults): Adjust.
9682 (opascal-mode): Use them. Set comment-<foo> variables as well.
9683 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9684 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9685 (delphi-other-face, opascal-other-face): Remove face variables.
9686 (opascal-save-state): Remove macro.
9687 (opascal-fontifying-progress-step): Remove constant.
9688 (opascal--ignore-changes): Remove var.
9689 (opascal-set-token-property, opascal-parse-next-literal)
9690 (opascal-is-stable-literal, opascal-complete-literal)
9691 (opascal-is-literal-start, opascal-face-of)
9692 (opascal-parse-region, opascal-parse-region-until-stable)
9693 (opascal-fontify-region, opascal-after-change)
9694 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9695 (opascal-debug-parse-region, opascal-debug-parse-window)
9696 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9697 (opascal-debug-fontify-buffer): Remove.
9698 (opascal-debug-mode-map): Adjust accordingly.
9699
9700 2013-04-25 Leo Liu <sdl.web@gmail.com>
9701
9702 Merge octave-mod.el and octave-inf.el into octave.el with some
9703 cleanups.
9704 * progmodes/octave.el: New file renamed from octave-mod.el.
9705 * progmodes/octave-inf.el: Merged into octave.el.
9706 * progmodes/octave-mod.el: Renamed to octave.el.
9707
9708 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9709
9710 * textmodes/reftex-vars.el
9711 (reftex-label-ignored-macros-and-environments): New defcustom.
9712
9713 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9714
9715 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9716
9717 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9718 (smie-indent-keyword): Improve the check to ensure that the next
9719 comment is really on the same line.
9720 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9721
9722 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9723 semi-colons if the line is not otherwise empty (bug#14218).
9724
9725 2013-04-25 Glenn Morris <rgm@gnu.org>
9726
9727 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9728
9729 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9730
9731 * progmodes/opascal.el (opascal-set-token-property): Rename from
9732 opascal-set-text-properties and only set `token' (bug#14134).
9733 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9734 (opascal-literal-text-properties): Remove.
9735 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9736 Adjust callers.
9737
9738 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9739
9740 * textmodes/remember.el (remember-handler-functions): Add an
9741 option for a new handler `remember-store-in-files'.
9742 (remember-data-directory, remember-directory-file-name-format):
9743 New options.
9744 (remember-store-in-files): New function to store remember notes
9745 as separate files within a directory.
9746
9747 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9748
9749 * progmodes/compile.el (compilation-next-error-function):
9750 Pass "formats" to compilation-find-file (bug#11777).
9751
9752 2013-04-24 Glenn Morris <rgm@gnu.org>
9753
9754 * vc/vc-bzr.el (vc-bzr-print-log):
9755 * vc/vc-hg.el (vc-hg-print-log):
9756 * vc/vc-svn.el (vc-svn-print-log):
9757 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9758
9759 * vc/vc-bzr.el (vc-bzr-print-log):
9760 * vc/vc-cvs.el (vc-cvs-print-log):
9761 * vc/vc-git.el (vc-git-print-log):
9762 * vc/vc-hg.el (vc-hg-print-log):
9763 * vc/vc-mtn.el (vc-mtn-print-log):
9764 * vc/vc-rcs.el (vc-rcs-print-log):
9765 * vc/vc-sccs.el (vc-sccs-print-log):
9766 * vc/vc-svn.el (vc-svn-print-log):
9767 * vc/vc.el (vc-print-log-internal): Doc fixes.
9768
9769 2013-04-23 Glenn Morris <rgm@gnu.org>
9770
9771 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9772 Remove venerable code attempting to avoid substitute-command-keys.
9773
9774 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9775
9776 * textmodes/reftex-vars.el (reftex-label-regexps):
9777 Call `reftex-compile-variables' after changes to this variable.
9778
9779 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9780
9781 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9782 Use lexical-binding.
9783 (jit-lock-force-redisplay): Use markers, check buffer's continued
9784 existence and beware narrowed buffers.
9785 (jit-lock-fontify-now): Adjust call accordingly.
9786
9787 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9788
9789 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9790 to avoid misleading the user.
9791
9792 2013-04-22 Leo Liu <sdl.web@gmail.com>
9793
9794 * info-look.el: Prefer latex2e.info. (Bug#14240)
9795
9796 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9797
9798 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9799
9800 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9801 * net/tramp.el (tramp-call-process): ... here.
9802 (tramp-set-completion-function, tramp-parse-putty):
9803 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9804 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9805 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9806 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9807 (tramp-call-local-coding-command): Use `tramp-call-process'
9808 instead of `tramp-compat-call-process'.
9809
9810 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9811 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9812 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9813 (tramp-find-inline-compress): Improve traces.
9814 (tramp-maybe-send-script): Check for Perl binary.
9815 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9816
9817 2013-04-22 Daiki Ueno <ueno@gnu.org>
9818
9819 * epg.el (epg-context-pinentry-mode): New function.
9820 (epg-context-set-pinentry-mode): New function.
9821 (epg--start): Pass --pinentry-mode option to gpg command.
9822
9823 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9824
9825 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9826 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9827 `completion-at-point'. (Bug#13774)
9828
9829 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9830 default key binding for `describe-distribution' has been moved to
9831 `C-h C-o'. (Bug#13970)
9832
9833 2013-04-21 Glenn Morris <rgm@gnu.org>
9834
9835 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9836 Add doc strings.
9837 (vc-print-log): Clarify interactive prompt.
9838
9839 2013-04-20 Glenn Morris <rgm@gnu.org>
9840
9841 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9842 No longer include timestamp etc information.
9843
9844 2013-04-20 Roland Winkler <winkler@gnu.org>
9845
9846 * faces.el (read-face-name): Bug fix, return just one face if arg
9847 multiple is nil. (Bug#14209)
9848
9849 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9850
9851 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9852 (remove-function): Autoload.
9853
9854 * comint.el (comint-redirect-original-filter-function): Remove.
9855 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9856 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9857 (vc-cvs-annotate-command):
9858 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9859 * progmodes/prolog.el (prolog-consult-compile):
9860 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9861 Use add/remove-function instead.
9862 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9863 (gud-tooltip-process-output, gud-tooltip-tips):
9864 Use add/remove-function instead.
9865 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9866 (scheme-interaction-mode, exit-scheme-interaction-mode):
9867 Use add/remove-function instead.
9868
9869 * vc/vc-dispatcher.el: Use lexical-binding.
9870 (vc--process-sentinel): Rename from vc-process-sentinel.
9871 Change last arg to be the code to run. Don't use vc-previous-sentinel
9872 and vc-sentinel-commands any more.
9873 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9874 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9875
9876 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9877
9878 * progmodes/sh-script.el (sh-imenu-generic-expression):
9879 Handle function names with a single character. (Bug#14111)
9880
9881 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9882
9883 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9884 for subroutines defined in an eval (bug#14182).
9885
9886 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9887
9888 * bookmark.el (bookmark-completing-read): Improve handling of empty
9889 string (bug#14176).
9890
9891 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9892
9893 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9894
9895 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9896
9897 New faster Imenu implementation (bug#14058).
9898 * progmodes/python.el:
9899 (python-imenu-prev-index-position):
9900 (python-imenu-format-item-label-function)
9901 (python-imenu-format-parent-item-label-function)
9902 (python-imenu-format-parent-item-jump-label-function):
9903 New vars.
9904 (python-imenu-format-item-label)
9905 (python-imenu-format-parent-item-label)
9906 (python-imenu-format-parent-item-jump-label)
9907 (python-imenu--put-parent, python-imenu--build-tree)
9908 (python-imenu-create-index, python-imenu-create-flat-index)
9909 (python-util-popn): New functions.
9910 (python-mode): Set imenu-create-index-function to
9911 python-imenu-create-index.
9912
9913 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9914
9915 * winner.el (winner-active-region): Use region-active-p, activate-mark
9916 and deactivate-mark (bug#14225).
9917
9918 * simple.el (deactivate-mark): Don't inline it.
9919
9920 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9921
9922 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9923
9924 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9925
9926 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9927 file extensions from the archive-mode entry in order to prefer
9928 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9929
9930 2013-04-18 Leo Liu <sdl.web@gmail.com>
9931
9932 * bindings.el (help-event-list): Add ?\?.
9933
9934 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9935
9936 * subr.el (with-wrapper-hook): Declare obsolete.
9937 * simple.el (filter-buffer-substring-function): New hook.
9938 (filter-buffer-substring): Use it.
9939 (filter-buffer-substring-functions): Mark obsolete.
9940 * minibuffer.el (completion-in-region-function): New hook.
9941 (completion-in-region): Use it.
9942 (completion-in-region-functions): Mark obsolete.
9943 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9944 * abbrev.el (abbrev-expand-function): New hook.
9945 (expand-abbrev): Use it.
9946 (abbrev-expand-functions): Mark obsolete.
9947 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9948 and :filter-return.
9949
9950 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9951
9952 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9953 and do not care about match data.
9954
9955 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9956
9957 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9958 completion tables when completing error conditions and
9959 `declare' arguments.
9960 (lisp-complete-symbol, field-complete): Mark as obsolete.
9961 (check-parens): Unmatched parens are user errors.
9962 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9963
9964 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9965
9966 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9967 command changed buffer (ie. `flyspell-pre-buffer' is not current
9968 buffer), which prevents making decisions based on invalid value of
9969 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9970 cause an error when `flyspell-pre-point' was nil after switching
9971 buffers.
9972 (flyspell-post-command-hook): No longer needs to change buffers when
9973 checking pre-word. While at it remove unnecessary progn.
9974
9975 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9976
9977 * textmodes/ispell.el (ispell-add-per-file-word-list):
9978 Fix `flyspell-correct-word-before-point' error when accepting
9979 words and `coment-padding' is an integer by using
9980 `comment-normalize-vars' (Bug #14214).
9981
9982 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9983
9984 New defun movement commands.
9985 * progmodes/python.el (python-nav--syntactically)
9986 (python-nav--forward-defun, python-nav-backward-defun)
9987 (python-nav-forward-defun): New functions.
9988
9989 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9990
9991 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9992 (python-syntax-context): Use named compiler-macro for backwards
9993 compatibility with Emacs 24.x.
9994
9995 2013-04-17 Leo Liu <sdl.web@gmail.com>
9996
9997 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9998 octave-hide-process-buffer.
9999
10000 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10001
10002 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10003 (bug#14216).
10004
10005 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10006
10007 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10008 Fix adjustment of offset when receiving incomplete responses from GDB
10009 (bug#14129).
10010
10011 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10012
10013 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10014 python-mode-abbrev-table.
10015 (python-skeleton-define): Adjust accordingly.
10016 (python-mode-abbrev-table): New table that inherits from it so that
10017 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10018
10019 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10020 (abbrev-symbol): Use it.
10021 (abbrev--before-point): Use it since we already handle inheritance.
10022
10023 2013-04-16 Leo Liu <sdl.web@gmail.com>
10024
10025 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10026 binding to info-lookup-symbol.
10027
10028 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10029
10030 * minibuffer.el (completion--twq-all):
10031 * term/ns-win.el (ns-initialize-window-system):
10032 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10033
10034 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10035
10036 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10037 global bindings.
10038
10039 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10040
10041 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10042
10043 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10044 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10045 to nil.
10046 (ruby-end-of-defun): Remove the unused arg, change the docstring
10047 to reflect that this function is only used as the value of
10048 `end-of-defun-function'.
10049 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10050 to reflect an earlier change that beginning/end-of-defun functions
10051 jump between methods in a class definition, as well as top-level
10052 functions.
10053
10054 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10055
10056 * minibuffer.el (minibuffer-complete): Don't just scroll
10057 a *Completions* that's been iconified.
10058 (minibuffer-force-complete): Make sure repetitions do cycle when going
10059 through completion-in-region -> minibuffer-complete.
10060
10061 2013-04-15 Alan Mackenzie <acm@muc.de>
10062
10063 Correct the placement of c-cpp-delimiters when there're #s not at
10064 col 0.
10065
10066 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10067 place a submatch around the #.
10068 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10069 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10070 on the #, not BOL.
10071
10072 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10073
10074 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10075 (advice--member-p): New arg `name'.
10076 (advice--add-function, advice-member-p): Use it (bug#14202).
10077
10078 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10079
10080 Reformulate java imenu-generic-expression.
10081 The old expression contained ill formed regexps.
10082
10083 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10084 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10085 (cc-imenu-java-method-arg-regexp): New defconsts.
10086 (cc-imenu-java-build-type-args-regex): New defun.
10087 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10088 handling of spaces in the regexp.
10089
10090 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10091
10092 * textmodes/ispell.el (ispell-command-loop): Remove
10093 flyspell highlight of a word when ispell accepts it (bug #14178).
10094
10095 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10096
10097 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10098 uses code from the previous `ange-ftp-run-real-handler'.
10099 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10100 only in case that function exist. This is needed for proper
10101 unloading of Tramp.
10102
10103 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10104
10105 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10106
10107 * textmodes/reftex.el (reftex-compile-variables): Use it.
10108
10109 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10110
10111 * files.el (normal-mode): Only use default major-mode if no other mode
10112 was specified.
10113
10114 * emacs-lisp/trace.el (trace-values): New function.
10115
10116 * files.el: Allow : in local variables (bug#14089).
10117 (hack-local-variable-regexp): New var.
10118 (hack-local-variables-prop-line, hack-local-variables): Use it.
10119
10120 2013-04-13 Roland Winkler <winkler@gnu.org>
10121
10122 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10123 data before it gets modified by bibtex-beginning-of-entry.
10124
10125 2013-04-13 Roland Winkler <winkler@gnu.org>
10126
10127 * textmodes/bibtex.el (bibtex-url): Doc fix.
10128
10129 2013-04-13 Roland Winkler <winkler@gnu.org>
10130
10131 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10132 does not visit a BibTeX file, exclude it from the list of buffers
10133 returned by bibtex-initialize.
10134
10135 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10136
10137 * window.el (split-window): Remove interactive form, since as a
10138 command this function is a special case of split-window-below.
10139 Correct doc string.
10140
10141 2013-04-12 Roland Winkler <winkler@gnu.org>
10142
10143 * faces.el (read-face-name): Do not override value of arg default.
10144 Allow single faces and strings as default values. Remove those
10145 elements from return value that are not faces.
10146 (describe-face): Simplify.
10147 (face-at-point): New optional args thing and multiple so that this
10148 function can provide the same functionality previously provided by
10149 read-face-name.
10150 (make-face-bold, make-face-unbold, make-face-italic)
10151 (make-face-unitalic, make-face-bold-italic, invert-face)
10152 (modify-face, read-face-and-attribute): Use face-at-point.
10153
10154 * cus-edit.el (customize-face, customize-face-other-window)
10155 * cus-theme.el (custom-theme-add-face)
10156 * face-remap.el (buffer-face-set)
10157 * facemenu.el (facemenu-set-face): Use face-at-point.
10158
10159 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10160
10161 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10162
10163 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10164
10165 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10166 off leading { and trailing } from field values.
10167
10168 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10169
10170 * emacs-lisp/timer.el (timer--check): New function.
10171 (timer--time, timer-set-function, timer-event-handler): Use it.
10172 (timer-set-idle-time): Simplify.
10173 (timer--activate): CSE.
10174 (timer-event-handler): Give more info in error message.
10175 (internal-timer-start-idle): New function, moved from C.
10176
10177 * mpc.el (mpc-proc): Add `restart' argument.
10178 (mpc-proc-cmd): Use it.
10179 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10180 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10181 less often.
10182
10183 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10184
10185 * progmodes/sh-script.el: Implement `sh-mode' own
10186 `add-log-current-defun-function' (bug#14112).
10187 (sh-current-defun-name): New function.
10188 (sh-mode): Use the function.
10189
10190 2013-04-09 Bastien Guerry <bzg@gnu.org>
10191
10192 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10193
10194 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10195
10196 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10197
10198 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10199 timer (bug#14156).
10200
10201 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10202
10203 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10204 declaration.
10205
10206 2013-04-07 Leo Liu <sdl.web@gmail.com>
10207
10208 * pcmpl-x.el: New file.
10209
10210 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10211
10212 Do not set x-display-name until X connection is established.
10213 This is needed to prevent from weird situation described at
10214 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10215 * frame.el (make-frame): Set x-display-name after call to
10216 window system initialization function, not before.
10217 * term/x-win.el (x-initialize-window-system): Add optional
10218 display argument and use it.
10219 * term/w32-win.el (w32-initialize-window-system):
10220 * term/ns-win.el (ns-initialize-window-system):
10221 * term/pc-win.el (msdos-initialize-window-system):
10222 Add compatible optional display argument.
10223
10224 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10225
10226 * files.el (normal-backup-enable-predicate): On MS-Windows and
10227 MS-DOS compare truenames of temporary-file-directory and of the
10228 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10229 don't fail comparison by compare-strings. Also, compare file
10230 names case-insensitively on MS-Windows and MS-DOS.
10231
10232 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10233
10234 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10235 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10236
10237 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10238
10239 * whitespace.el (whitespace-color-on, whitespace-color-off):
10240 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10241
10242 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10243
10244 * ispell.el (ispell-set-spellchecker-params):
10245 Really set `ispell-args' for all equivs.
10246
10247 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10248
10249 * ido.el (ido-completions): Use extra elements of ido-decorations
10250 (bug#14143).
10251 (ido-decorations): Update docstring.
10252
10253 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10254
10255 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10256 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10257 nil during initialization, in order not to miss changes since the
10258 file was opened. (Bug#14140)
10259
10260 2013-04-05 Leo Liu <sdl.web@gmail.com>
10261
10262 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10263
10264 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10265
10266 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10267
10268 2013-04-04 Glenn Morris <rgm@gnu.org>
10269
10270 * electric.el (electric-pair-inhibit-predicate): Add :version.
10271
10272 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10273
10274 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10275 when a package is required several times (bug#14082).
10276
10277 2013-04-04 Roland Winkler <winkler@gnu.org>
10278
10279 * faces.el (read-face-name): Behave as promised by the docstring.
10280 Assume that arg default is a list of faces.
10281 (describe-face): Call read-face-name with list of default faces.
10282
10283 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10284
10285 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10286 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10287 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10288 the header.
10289 (bookmark-exit-hook-internal): Save even if list is empty.
10290
10291 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10292
10293 * emacs-lisp/package.el (package-pinned-packages): New var.
10294 (package--add-to-archive-contents): Obey it (bug#14118).
10295
10296 2013-04-03 Alan Mackenzie <acm@muc.de>
10297
10298 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10299 Also adapt to the new values of element 7 of a parse state.
10300
10301 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10302 parameter `not-in-delimiter'. Handle being inside comment opener.
10303 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10304 character in case we're typing a '*' after a '/'.
10305 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10306 instead by passing the parameter to c-state-pp-to-literal.
10307
10308 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10309 for elt. 7 of a parse state.
10310
10311 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10312
10313 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10314 * international/latin1-disp.el, international/mule-util.el:
10315 * language/cyril-util.el, language/european.el, language/ind-util.el:
10316 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10317 * language/tibetan.el, language/viet-util.el:
10318 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10319
10320 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10321
10322 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10323 (electric-pair-post-self-insert-function): Use it.
10324 (electric-pair-default-inhibit): New function, extracted from
10325 electric-pair-post-self-insert-function.
10326
10327 2013-03-31 Roland Winkler <winkler@gnu.org>
10328
10329 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10330
10331 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10332
10333 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10334
10335 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10336
10337 Un-indent after "pass" and "return" statements (Bug#13888)
10338 * progmodes/python.el (python-indent-block-enders): New var.
10339 (python-indent-calculate-indentation): Use it.
10340
10341 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10342
10343 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10344 defun. Defining it as defalias could introduce too eager
10345 byte-compiler optimization. (Bug#14030)
10346
10347 2013-03-30 Chong Yidong <cyd@gnu.org>
10348
10349 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10350
10351 2013-03-30 Leo Liu <sdl.web@gmail.com>
10352
10353 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10354 (kmacro-execute-from-register): Pass the keyboard macro to
10355 kmacro-call-macro or repeating won't work correctly.
10356
10357 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10358
10359 * progmodes/subword.el: Back to using `forward-symbol'.
10360
10361 * subr.el (forward-whitespace, forward-symbol)
10362 (forward-same-syntax): Move from thingatpt.el.
10363
10364 2013-03-29 Leo Liu <sdl.web@gmail.com>
10365
10366 * kmacro.el (kmacro-to-register): New command.
10367 (kmacro-execute-from-register): New function.
10368 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10369
10370 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10371
10372 * mpc.el: Use defvar-local and setq-local.
10373 (mpc--proc-connect): Connection failures are not bugs.
10374 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10375 (mpc-volume-map): Bind to the up-events.
10376
10377 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10378
10379 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10380 instead of `forward-symbol'.
10381
10382 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10383
10384 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10385 (edebug--recursive-edit): Use it.
10386 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10387 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10388
10389 2013-03-28 Leo Liu <sdl.web@gmail.com>
10390
10391 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10392
10393 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10394
10395 * facemenu.el (list-colors-callback): New defvar.
10396 (list-colors-redisplay): New function.
10397 (list-colors-display): Install list-colors-redisplay as the
10398 revert-buffer-function. (Bug#14063)
10399
10400 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10401
10402 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10403 and suffixes don't overlap (bug#14061).
10404
10405 * case-table.el: Use lexical-binding.
10406 (case-table-get-table): New function.
10407 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10408
10409 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10410
10411 * progmodes/subword.el: Add `superword-mode' to do word motion
10412 over symbol_words (parallels and leverages `subword-mode' which
10413 does word motion inside MixedCaseWords).
10414
10415 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10416
10417 * eshell/em-unix.el: Move su and sudo to...
10418 * eshell/em-tramp.el: ...Eshell tramp module.
10419
10420 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10421
10422 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10423 Change return value to be a sexp. Delay `get-buffer' to after
10424 restoring the desktop (bug#13951).
10425
10426 2013-03-26 Leo Liu <sdl.web@gmail.com>
10427
10428 * register.el: Move semantic tag handling back to
10429 cedet/semantic/senator.el. (Bug#14052)
10430
10431 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10432
10433 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10434 into the prompt either (bug#13963).
10435
10436 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10437
10438 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10439 part of "(error-foo)".
10440
10441 2013-03-24 Juri Linkov <juri@jurta.org>
10442
10443 * replace.el (list-matching-lines-prefix-face): New defcustom.
10444 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10445 `occur-engine' if `face-differs-from-default-p' returns t.
10446 (occur-engine): Add `,' inside backquote construct to evaluate
10447 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10448 Pass `prefix-face' to the functions `occur-context-lines' and
10449 `occur-engine-add-prefix'.
10450 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10451 `prefix-face' and propertize the prefix with `prefix-face'.
10452 (Bug#14017)
10453
10454 2013-03-24 Leo Liu <sdl.web@gmail.com>
10455
10456 * nxml/rng-valid.el (rng-validate-while-idle)
10457 (rng-validate-quick-while-idle): Guard against deleted buffer.
10458 (Bug#13999)
10459
10460 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10461 is the last entry in kill-buffer-hook.
10462
10463 * files.el (kill-buffer-hook): Doc fix.
10464
10465 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10466
10467 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10468 Make it safe-local.
10469
10470 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10471
10472 2013-03-23 Leo Liu <sdl.web@gmail.com>
10473
10474 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10475 Remove.
10476
10477 * nxml/rng-valid.el (rng-validate-mode)
10478 (rng-after-change-function, rng-do-some-validation):
10479 * nxml/rng-maint.el (rng-validate-buffer):
10480 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10481 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10482 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10483 (nxml-extend-after-change-region): Use with-silent-modifications.
10484
10485 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10486 timer-idle-list.
10487
10488 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10489 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10490 timer-idle-list. (Bug#13999)
10491
10492 2013-03-23 Juri Linkov <juri@jurta.org>
10493
10494 * info.el (info-index-match): New face.
10495 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10496 main pattern and add text properties with the new face to matches
10497 in index entries relative to the beginning of the index entry.
10498 (Bug#14015)
10499
10500 2013-03-21 Eric Ludlam <zappo@gnu.org>
10501
10502 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10503 Inhibit read only while inserting objects.
10504
10505 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10506
10507 * progmodes/cfengine.el: Update docs to mention
10508 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10509 symbol motion. Remove "_" from the word syntax.
10510
10511 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10512
10513 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10514 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10515
10516 2013-03-20 Juri Linkov <juri@jurta.org>
10517
10518 * info.el (Info-next-reference-or-link)
10519 (Info-prev-reference-or-link): New functions.
10520 (Info-next-reference, Info-prev-reference): Use them.
10521 (Info-try-follow-nearest-node): Handle footnote navigation.
10522 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10523
10524 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10525
10526 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10527 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10528
10529 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10530
10531 Suppress unnecessary non-ASCII chatter during build process.
10532 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10533 (batch-skkdic-convert): Suppress most of the chatter.
10534 It's not needed so much now that machines are faster,
10535 and its non-ASCII component was confusing; see Dmitry Gutov in
10536 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10537
10538 2013-03-20 Leo Liu <sdl.web@gmail.com>
10539
10540 * ido.el (ido-chop): Fix bug#10994.
10541
10542 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10543
10544 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10545 Remove vars.
10546 (whitespace-color-on, whitespace-color-off):
10547 Use `font-lock-fontify-buffer' (Bug#13817).
10548
10549 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10550
10551 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10552 remapping in mode-line.
10553 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10554
10555 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10556
10557 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10558 value for `whitespace-line' face (Bug#13875).
10559 (whitespace-font-lock-keywords): Change description.
10560 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10561 the constructed keywords instead.
10562 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10563
10564 2013-03-19 Leo Liu <sdl.web@gmail.com>
10565
10566 * progmodes/compile.el (compilation-display-error): New command.
10567 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10568 C-o. (Bug#13992)
10569
10570 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10571
10572 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10573
10574 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10575
10576 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10577
10578 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10579
10580 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10581
10582 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10583 * net/tramp-gvfs.el (top):
10584 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10585 (tramp-handle-shell-command): Use it.
10586 (tramp-dissect-file-name): Raise an error when hostname is a
10587 method name, and neither method nor user is specified.
10588
10589 * net/trampver.el: Update release number.
10590
10591 2013-03-18 Leo Liu <sdl.web@gmail.com>
10592
10593 Make sure eldoc can be turned off properly.
10594 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10595 eldoc-mode.
10596 (eldoc-display-message-p): Revert last change.
10597 (eldoc-display-message-no-interference-p)
10598 (eldoc-print-current-symbol-info): Tweak.
10599
10600 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10601
10602 * doc-view.el (doc-view-new-window-function): Check the new window
10603 overlay's display property instead the char property of the
10604 buffer's first char. Use `with-selected-window' instead of
10605 `save-window-excursion' with `select-window'.
10606 (doc-view-document->bitmap): Check the current doc-view overlay's
10607 display property instead the char property of the buffer's first char.
10608
10609 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10610
10611 Automate the build of ja-dic.el (Bug#13984).
10612 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10613 from the input, rather than assume that it's been done for us by the
10614 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10615 the current date into a ja-dic.el comment, as that complicates
10616 regression testing.
10617
10618 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10619
10620 * whitespace.el: Fix double evaluation.
10621 (whitespace-space, whitespace-hspace, whitespace-tab)
10622 (whitespace-newline, whitespace-trailing, whitespace-line)
10623 (whitespace-space-before-tab, whitespace-indentation)
10624 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10625 obsolete defvars.
10626 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10627 (whitespace-color-on): Use a single font-lock-add-keywords call.
10628 Fix double-evaluation of face variables.
10629
10630 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10631
10632 * net/tramp-adb.el (tramp-adb-parse-device-names):
10633 Use `start-process' instead of `call-process'. Otherwise, the
10634 function might be blocked under MS Windows. (Bug#13299)
10635
10636 2013-03-17 Leo Liu <sdl.web@gmail.com>
10637
10638 Extend eldoc to display info in the mode-line. (Bug#13978)
10639 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10640 (eldoc-mode-line-string): New variable.
10641 (eldoc-minibuffer-message): New function.
10642 (eldoc-message-function): New variable.
10643 (eldoc-message): Use it.
10644 (eldoc-display-message-p)
10645 (eldoc-display-message-no-interference-p):
10646 Support eldoc-post-insert-mode.
10647
10648 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10649 (eval-expression): Run it.
10650
10651 2013-03-17 Roland Winkler <winkler@gnu.org>
10652
10653 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10654 strings in the list of return values.
10655
10656 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10657
10658 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10659 radix before checking for HMS forms.
10660
10661 2013-03-16 Leo Liu <sdl.web@gmail.com>
10662
10663 * progmodes/scheme.el: Add indentation and font-locking for λ.
10664 (Bug#13975)
10665
10666 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10667
10668 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10669 token before point (bug#13942).
10670
10671 2013-03-16 Leo Liu <sdl.web@gmail.com>
10672
10673 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10674
10675 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10676
10677 * startup.el (command-line-normalize-file-name): Fix handling of
10678 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10679 <xfq.free@gmail.com> in
10680 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10681
10682 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10683
10684 Sync with Tramp 2.2.7.
10685
10686 * net/trampver.el: Update release number.
10687
10688 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10689
10690 * doc-view.el: Fix bug#13887.
10691 (doc-view-insert-image): Don't modify overlay associated to
10692 non-live windows, and implement horizontal centering of image in
10693 case it's smaller than the window.
10694 (doc-view-new-window-function): Force redisplay of new windows on
10695 doc-view buffers.
10696
10697 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10698
10699 * saveplace.el (save-place-alist-to-file): Don't sort
10700 `save-place-alist', just pretty-print it (bug#13882).
10701
10702 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10703
10704 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10705 Check whether `default-file-name-coding-system' is bound.
10706 It isn't in XEmacs.
10707
10708 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10709
10710 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10711 backquotes for `obsolete' (bug#13929).
10712
10713 * international/mule.el (find-auto-coding): Include file name in
10714 obsolescence warning (bug#13922).
10715
10716 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10717
10718 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10719 for CFEngine 3-specific indentation.
10720 (cfengine3-indent-line): Use it. Fix up category regex.
10721 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10722
10723 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10724
10725 * type-break.el (type-break-file-name):
10726 * textmodes/remember.el (remember-data-file):
10727 * strokes.el (strokes-file):
10728 * shadowfile.el (shadow-initialize):
10729 * saveplace.el (save-place-file):
10730 * ps-bdf.el (bdf-cache-file):
10731 * progmodes/idlwave.el (idlwave-config-directory):
10732 * net/quickurl.el (quickurl-url-file):
10733 * international/kkc.el (kkc-init-file-name):
10734 * ido.el (ido-save-directory-list-file):
10735 * emulation/viper.el (viper-custom-file-name):
10736 * emulation/vip.el (vip-startup-file):
10737 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10738 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10739
10740 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10741
10742 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10743 * language/thai-word.el: Switch to UTF-8.
10744
10745 See ChangeLog.16 for earlier changes.
10746
10747 ;; Local Variables:
10748 ;; coding: utf-8
10749 ;; End:
10750
10751 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10752
10753 This file is part of GNU Emacs.
10754
10755 GNU Emacs is free software: you can redistribute it and/or modify
10756 it under the terms of the GNU General Public License as published by
10757 the Free Software Foundation, either version 3 of the License, or
10758 (at your option) any later version.
10759
10760 GNU Emacs is distributed in the hope that it will be useful,
10761 but WITHOUT ANY WARRANTY; without even the implied warranty of
10762 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10763 GNU General Public License for more details.
10764
10765 You should have received a copy of the GNU General Public License
10766 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.