Re-write flymake-highlight-line in flymake.el
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-08 Leo Liu <sdl.web@gmail.com>
2
3 * progmodes/flymake.el (flymake-highlight-line): Re-write.
4 (flymake-make-overlay): Remove arg MOUSE-FACE.
5 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6
7 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8
9 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
10 New function.
11 (redisplay-highlight-region-function): Use it.
12
13 * emulation/cua-base.el (cua--explicit-region-start)
14 (cua--last-region-shifted): Remove.
15 (cua--deactivate): Use deactivate-mark.
16 (cua--pre-command-handler-1): Don't handle shift-selection.
17 (cua--post-command-handler-1): Don't change transient-mark-mode.
18 (cua--select-keymaps): Use region-active-p rather than
19 cua--explicit-region-start or cua--last-region-shifted.
20 (cua-mode): Enable shift-select-mode.
21
22 2013-12-08 Leo Liu <sdl.web@gmail.com>
23
24 * progmodes/flymake.el (flymake-popup-current-error-menu):
25 Rename from flymake-display-err-menu-for-current-line. Reimplement.
26 (flymake-posn-at-point-as-event, flymake-popup-menu)
27 (flymake-make-emacs-menu): Remove. (Bug#16077)
28
29 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
30
31 * rect.el (rectangle-mark-mode): Activate mark even if
32 transient-mark-mode is off (bug#16066).
33 (rectangle--highlight-for-redisplay): Fix boundary condition when point
34 is > mark and at bolp.
35
36 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
37 (region-extract-function): Use it.
38 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
39 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
40 Delete functions.
41 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
42 kill-ring-save, kill-region, delete-char, delete-forward-char.
43 Ignore self-insert-iso.
44
45 * emulation/cua-gmrk.el (cua--init-global-mark):
46 Ignore `self-insert-iso'.
47
48 * emulation/cua-base.el (cua--prefix-copy-handler)
49 (cua--prefix-cut-handler): Rely on region-extract-function rather than
50 checking cua--rectangle.
51 (cua-delete-region): Use region-extract-function.
52 (cua-replace-region): Delete function.
53 (cua-copy-region, cua-cut-region): Obey region-extract-function.
54 (cua--pre-command-handler-1): Don't do the delete-selection thing.
55 (cua--self-insert-char-p): Ignore `self-insert-iso'.
56 (cua--init-keymaps): Don't remap delete-selection commands.
57 (cua-mode): Use delete-selection-mode instead of rolling our own
58 (bug#16085).
59
60 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
61 Obey region-extract-function.
62
63 Make registers and delete-selection-mode work on rectangles.
64 * register.el (describe-register-1): Don't modify the register's value.
65 (copy-to-register): Obey region-extract-function.
66 * delsel.el (delete-active-region): Obey region-extract-function.
67
68 2013-12-08 Leo Liu <sdl.web@gmail.com>
69
70 * progmodes/flymake.el (flymake, flymake-error-bitmap)
71 (flymake-warning-bitmap, flymake-fringe-indicator-position)
72 (flymake-compilation-prevents-syntax-check)
73 (flymake-start-syntax-check-on-newline)
74 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
75 (flymake-start-syntax-check-on-find-file, flymake-log-level)
76 (flymake-xml-program, flymake-master-file-dirs)
77 (flymake-master-file-count-limit)
78 (flymake-allowed-file-name-masks): Relocate.
79 (flymake-makehash, flymake-float-time)
80 (flymake-replace-regexp-in-string, flymake-split-string)
81 (flymake-get-temp-dir): Remove.
82 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
83 (flymake-current-row, flymake-selected-frame)
84 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
85 related functions. (Bug#16077)
86
87 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
88
89 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
90
91 2013-12-07 Tassilo Horn <tsdh@gnu.org>
92
93 * help-fns.el (describe-function-1): Use new advice-* functions
94 rather than old ad-* functions. Fix function type description and
95 source links for advised functions and subrs.
96
97 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
98
99 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
100
101 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
102
103 * progmodes/compile.el (compilation-start):
104 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
105
106 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
107 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
108
109 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
110
111 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
112 Touch up the last change.
113
114 2013-12-06 Leo Liu <sdl.web@gmail.com>
115
116 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
117 (inferior-octave-startup): Always use "octave> " for prompt.
118 (octave-goto-function-definition)
119 (octave-sync-function-file-names)
120 (octave-find-definition-default-filename): Remove redundant backquotes.
121
122 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
123
124 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
125 syntax for `?'.
126 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
127 where appropriate already.
128 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
129 end of method names (Bug#15874).
130
131 2013-12-06 Juri Linkov <juri@jurta.org>
132
133 * isearch.el (isearch--saved-overriding-local-map):
134 New internal variable.
135 (isearch-mode): Set it to the initial value of
136 `overriding-terminal-local-map'.
137 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
138 with `isearch--saved-overriding-local-map'. (Bug#16035)
139
140 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
141
142 * progmodes/octave.el (inferior-octave-completion-table):
143 Turn back into function, use `completion-table-with-cache'
144 (Bug#11906). Update all references.
145
146 * minibuffer.el (completion-table-with-cache): New function.
147
148 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
149
150 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
151
152 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
153
154 * net/eww.el (eww-current-source): New variable to store page
155 source.
156 (eww-display-html, eww-mode, eww-save-history)
157 (eww-restore-history): Use it.
158 (eww-view-source): New command to view page source.
159 Opportunistically uses `html-mode' to highlight the buffer.
160 (eww-mode-map): Install it.
161
162 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
163
164 * net/dbus.el (dbus-unregister-service)
165 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
166 Fix docstring.
167 (dbus-unregister-service): Skip :serial entries in
168 `dbus-registered-objects-table'.
169 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
170
171 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
172
173 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
174 around keywords with extra `split-string' argument.
175
176 2013-12-04 Martin Rudalics <rudalics@gmx.at>
177
178 * windmove.el (windmove-other-window-loc): Handle navigation
179 between windows (excluding the minibuffer window - Bug#16017).
180
181 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
182
183 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
184 in D-Bus type syntax.
185 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
186 preserve unibyte strings. (Bug#16048)
187
188 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
189
190 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
191 Call force-mode-line-update is the proper buffer (bug#16042).
192
193 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
194
195 * vc/log-edit.el (log-edit-add-new-comment): Rename to
196 `log-edit-remember-comment', make argument optional. Adjust all
197 callers.
198 (log-edit-mode): Add `log-edit-remember-comment' to
199 `kill-buffer-hook' locally.
200 (log-edit-kill-buffer): Don't remember comment explicitly since
201 the buffer is killed anyway.
202
203 2013-12-04 Juri Linkov <juri@jurta.org>
204
205 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
206 add-hook and remove-hook for multi-buffer search. (Bug#16035)
207
208 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
209
210 * notifications.el (notifications-close-notification): Call the
211 D-Bus method with ID being a `:uint32'. (Bug#16030)
212
213 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
214
215 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
216
217 2013-12-03 Juri Linkov <juri@jurta.org>
218
219 * progmodes/compile.el (compilation-start): Rename window alist
220 entry `no-display-ok' to `allow-no-window'.
221
222 * simple.el (shell-command): Add window alist entry
223 `allow-no-window' to `display-buffer'.
224 (async-shell-command): Doc fix.
225
226 * window.el (display-buffer-no-window): New action function.
227 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
228
229 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
230
231 * vc/log-edit.el (log-edit-set-header): Extract from
232 `log-edit-toggle-header'.
233 (log-edit-extract-headers): Separate the summary, when extracted
234 from header, from the rest of the message with an empty line.
235
236 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
237 line, if present, to the Summary header.
238
239 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
240
241 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
242 in current-buffer (bug#16029).
243
244 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
245
246 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
247 (debugger-mode-map): Bind it.
248 (debugger--backtrace-base): New function.
249 (debugger-eval-expression): Use it.
250 (debugger-frame-number): Skip local vars when present.
251 (debugger--locals-visible-p, debugger--insert-locals)
252 (debugger--show-locals, debugger--hide-locals): New functions.
253
254 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
255
256 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
257 "LC_ALL".
258 (tramp-get-remote-locale): New defun.
259 (tramp-open-connection-setup-interactive-shell): Use it.
260
261 2013-12-02 Leo Liu <sdl.web@gmail.com>
262
263 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
264
265 * progmodes/sh-script.el (sh-shell-process):
266 * progmodes/octave.el (inferior-octave-process-live-p):
267 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
268 (gdb-inferior-io-sentinel):
269 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
270
271 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
272
273 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
274 `save-selected-window' to `log-edit-hide-buf'. This makes
275 `log-edit-show-files' idempotent.
276 (log-edit-show-files): Mark the new window as dedicated.
277
278 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
279
280 * vc/log-edit.el (log-edit-mode-map): Add binding for
281 `log-edit-kill-biffer'.
282 (log-edit-hide-buf): Add a FIXME comment.
283 (log-edit-add-new-comment): New function, extracted from
284 `log-edit-done'.
285 (log-edit-done, log-edit-add-to-changelog): Use it.
286 (log-edit-kill-buffer): New command.
287
288 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
289
290 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
291 instead of killing the buffer.
292
293 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
294
295 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
296
297 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
298
299 * net/eww.el (eww-form-checkbox-selected-symbol)
300 (eww-form-checkbox-symbol): New customizable variable.
301 (eww-form-checkbox, eww-toggle-checkbox):
302 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
303
304 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
305 (shr--get-media-pref, shr--extract-best-source): New function.
306 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
307 no :src tag was specified.
308
309 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
310 (eww-render): Handle `eww-use-external-browser-for-content-type'.
311 Use \\` to match beginning of string instead of ^.
312 (eww-browse-with-external-browser): Provide optional URL parameter.
313 (eww-render): Set `eww-current-title' back to "".
314
315 * net/shr.el (shr-tag-video): Display content for video if no
316 poster is available.
317 (shr-tag-audio): Add support for <audio> tag.
318
319 * net/eww.el (eww-text-input-types): : New const.
320 (eww-process-text-input): Treat input types in
321 `eww-text-input-types' as text.
322
323 * net/shr.el (shr-tag-table): Fix comment typo.
324
325 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
326
327 * net/eww.el (eww-follow-link): New command to avoid reloading
328 pages when we follow #target links (bug#15243).
329 (eww-quit): Special mode buffers shouldn't query before exiting.
330
331 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
332
333 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
334 forms.
335
336 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
337
338 * net/eww.el (eww-restore-history): Update the window title after
339 moving in the history.
340 (eww-current-dom): New variable used to save the current DOM.
341
342 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
343
344 * vc/log-edit.el (log-edit-mode-map): Add binding for
345 `log-edit-beginning-of-line'.
346 (log-edit-setup-add-author): New user option.
347 (log-edit-beginning-of-line): New command.
348 (log-edit): Move major mode call above the contents setup so that
349 the local variable values are already applied.
350 (log-edit): Only insert "Author: " when
351 `log-edit-setup-add-author' is non-nil.
352 (log-edit): When SETUP is non-nil, position point after ": "
353 instead of point-min.
354
355 2013-12-01 Glenn Morris <rgm@gnu.org>
356
357 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
358
359 2013-11-30 Eli Zaretskii <eliz@gnu.org>
360
361 * startup.el (fancy-splash-frame): On MS-Windows, trigger
362 redisplay to make sure the initial frame gets a chance to become
363 visible. (Bug#16014)
364
365 2013-11-30 Martin Rudalics <rudalics@gmx.at>
366
367 Support resizing frames and windows pixelwise.
368 * cus-start.el (frame-resize-pixelwise)
369 (window-resize-pixelwise): New entries.
370 * emacs-lisp/debug.el (debug): Use window-total-height instead
371 of window-total-size.
372 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
373 * help.el (describe-bindings-internal): Call help-buffer
374 (temp-buffer-max-width): New option.
375 (resize-temp-buffer-window, help-window-setup)
376 (with-help-window): Rewrite.
377 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
378 dragging dividers.
379 * window.el (frame-char-size, window-min-pixel-height)
380 (window-safe-min-pixel-height, window-safe-min-pixel-width)
381 (window-min-pixel-width, window-safe-min-pixel-size)
382 (window-combination-p, window-safe-min-size)
383 (window-resizable-p, window--size-to-pixel)
384 (window--pixel-to-size, window--resize-apply-p): New functions.
385 (window-safe-min-height): Fix doc-string.
386 (window-size, window-min-size, window--min-size-1)
387 (window-sizable, window-sizable-p, window--min-delta-1)
388 (window-min-delta, window--max-delta-1, window-max-delta)
389 (window--resizable, window--resizable-p, window-resizable)
390 (window-full-height-p, window-full-width-p, window-at-side-p)
391 (window--in-direction-2, window-in-direction)
392 (window--resize-reset-1, window--resize-mini-window)
393 (window-resize, window-resize-no-error)
394 (window--resize-child-windows-normal)
395 (window--resize-child-windows, window--resize-siblings)
396 (window--resize-this-window, window--resize-root-window)
397 (window--resize-root-window-vertically)
398 (adjust-window-trailing-edge, enlarge-window, shrink-window)
399 (maximize-window, minimize-window, delete-window)
400 (quit-restore-window, window-split-min-size, split-window)
401 (balance-windows-2, balance-windows)
402 (balance-windows-area-adjust, balance-windows-area)
403 (window--state-get-1, window-state-get, window--state-put-1)
404 (window--state-put-2, window-state-put)
405 (display-buffer-record-window, window--display-buffer):
406 Make functions handle pixelwise sizing of windows.
407 (display-buffer--action-function-custom-type)
408 (display-buffer-fallback-action):
409 Add display-buffer-in-previous-window.
410 (display-buffer-use-some-window): Resize window to height it had
411 before.
412 (fit-window-to-buffer-horizontally): New option.
413 (fit-frame-to-buffer): Describe new values.
414 (fit-frame-to-buffer-bottom-margin): Replace with
415 fit-frame-to-buffer-margins.
416 (window--sanitize-margin): New function.
417 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
418 using window-text-pixel-size.
419
420 2013-11-30 Glenn Morris <rgm@gnu.org>
421
422 * emacs-lisp/bytecomp.el (byte-compile-form):
423 Make the `interactive-only' warning like the `obsolete' one.
424 * comint.el (comint-run):
425 * files.el (insert-file-literally, insert-file):
426 * replace.el (replace-string, replace-regexp):
427 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
428 (goto-line, insert-buffer, next-line, previous-line):
429 Tweak `interactive-only' spec.
430
431 Stop keeping (most) generated cedet grammar files in the repository.
432 * Makefile.in (semantic): New.
433 (compile-main): Depend on semantic.
434
435 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
436
437 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
438 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
439
440 * uniquify.el (uniquify-buffer-name-style): Change default.
441
442 * loadup.el: Preload "uniquify".
443
444 * time.el (display-time-update): Update all mode lines (bug#15999).
445
446 * electric.el (electric-indent-mode): Enable by default.
447 * loadup.el: Preload "electric".
448
449 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
450
451 * emacs-lisp/helpers.el (string-empty-p): New function.
452 (string-blank-p): New function.
453
454 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
455
456 * imenu.el (imenu--index-alist): Add missing dot to the docstring
457 (Bug#14029).
458
459 2013-11-29 Andreas Politz <politza@fh-trier.de>
460 * imenu.el (imenu--subalist-p): Don't error on non-conses and
461 allow non-lambda lists as functions.
462 (imenu--in-alist): Don't recurse into non-subalists.
463 (imenu): Don't pass function itself as an argument (Bug#14029).
464
465 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
466
467 * progmodes/python.el (python-mode-map): Remove binding for ":".
468 (python-indent-electric-colon): Remove command.
469 (python-indent-post-self-insert-function): Integrate the previous code
470 of python-indent-electric-colon. Make it conditional on
471 electric-indent-mode.
472 (python-mode): Add ?: to electric-indent-chars.
473 Move python-indent-post-self-insert-function to the end of
474 post-self-insert-hook.
475
476 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
477
478 * doc-view.el (doc-view-goto-page): Update mode-line.
479
480 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
481
482 2013-11-27 Glenn Morris <rgm@gnu.org>
483
484 * international/charprop.el, international/uni-bidi.el:
485 * international/uni-category.el, international/uni-combining.el:
486 * international/uni-comment.el, international/uni-decimal.el:
487 * international/uni-decomposition.el, international/uni-digit.el:
488 * international/uni-lowercase.el, international/uni-mirrored.el:
489 * international/uni-name.el, international/uni-numeric.el:
490 * international/uni-old-name.el, international/uni-titlecase.el:
491 * international/uni-uppercase.el:
492 Remove generated files from VCS repository.
493
494 2013-11-27 Eli Zaretskii <eliz@gnu.org>
495
496 * filenotify.el (file-notify-add-watch): Don't special-case
497 w32notify when computing the directory to watch.
498
499 2013-11-27 Glenn Morris <rgm@gnu.org>
500
501 Make bootstrap without generated uni-*.el files possible again.
502 * loadup.el: Update command-line-args checking for unidata-gen.
503 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
504 * composite.el, international/characters.el:
505 Handle unicode tables being undefined.
506
507 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
508 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
509 (compile-main): Depend on leim rule.
510 (leim): New rule.
511 * loadup.el: Move leim-list.el to leim/ subdirectory.
512 * startup.el (normal-top-level): No more leim directory.
513 * international/ja-dic-cnv.el (skkdic-convert):
514 Disable version-control and autoloads in output files.
515 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
516 Disable version-control and autoloads in output files.
517 * leim/quail: Move here from ../leim.
518 * leim/quail/hangul.el (hangul-input-method-activate):
519 Add autoload cookie.
520 (generated-autoload-load-name): Set file-local value.
521 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
522 (generated-autoload-load-name): Set file-local value.
523
524 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
525
526 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
527 (eww-add-bookmark): ask confirmation when add to bookmarks
528 (eww-quit): ask confirmation before quitting eww
529
530 2013-11-26 Eli Zaretskii <eliz@gnu.org>
531
532 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
533 reading output from Diff on MS-Windows and MS-DOS.
534
535 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
536
537 * emacs-lisp/helpers.el (string-reverse): New function.
538
539 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
540
541 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
542 names on MS Windows, like "/[::1]:".
543
544 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
545 SWITCHES.
546
547 2013-11-26 Glenn Morris <rgm@gnu.org>
548
549 * progmodes/python.el (python-indent-guess-indent-offset):
550 Avoid corner-case error. (Bug#15975)
551
552 Preload leim-list.el. (Bug#4789)
553 * loadup.el: Load leim-list.el when found.
554 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
555
556 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
557
558 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
559
560 * emacs-lisp/helpers.el (string-join): New function.
561
562 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
563
564 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
565 Mark as obsolete and replace it with a symbol property.
566 (byte-compile-form): Use new 'interactive-only property.
567 * comint.el, files.el, replace.el, simple.el:
568 Apply new 'interactive-only properly.
569
570 2013-11-25 Martin Rudalics <rudalics@gmx.at>
571
572 * window.el (display-buffer-at-bottom): Make sure that
573 split-window-sensibly creates the new window on bottom
574 (Bug#15961).
575
576 2013-11-23 David Kastrup <dak@gnu.org>
577
578 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
579 on the conflict markers when available.
580 (smerge--get-marker): New function.
581 (smerge-end-re, smerge-base-re): Add subgroup.
582
583 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
584
585 * frame.el (handle-focus-in, handle-focus-out): Add missing
586 interactive spec.
587
588 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
589
590 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
591 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
592
593 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
594
595 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
596 (gomoku--last-pos): New var.
597 (gomoku--intangible-chars): New const.
598 (gomoku--intangible): New function.
599 (gomoku-mode): Use it. Derive from special-mode.
600 (gomoku-move-up): Adjust line count.
601 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
602 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
603 Simplify accordingly.
604
605 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
606 Remove blink-cursor code.
607 (blink-cursor-timer-function, blink-cursor-suspend):
608 Don't special-case GUIs.
609 (blink-cursor-mode): Use focus-in/out-hook.
610
611 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
612
613 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
614 work when annotation is invisible (Bug#13886).
615
616 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
617
618 * json.el (json-alist-p): Only return non-nil if the alist has
619 simple keys (Bug#13518).
620
621 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
622
623 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
624 when control-statement is the first statement in a buffer (Bug#15956).
625
626 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
627
628 * imenu.el (imenu-generic-skip-comments-and-strings):
629 New option (Bug#15560).
630 (imenu--generic-function): Use it.
631
632 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
633
634 * minibuffer.el (completion--in-region-1): Scroll the correct
635 window. (Bug#13898)
636
637 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
638
639 * emacs-lisp/helpers.el: Add some string helpers.
640 (string-trim-left): Removes leading whitespace.
641 (string-trim-right): Removes trailing whitespace.
642 (string-trim): Removes leading and trailing whitespace.
643
644 * subr.el (string-suffix-p): New function.
645
646 2013-11-23 Glenn Morris <rgm@gnu.org>
647
648 * progmodes/python.el (python-shell-send-file):
649 Add option to delete file when done. (Bug#15647)
650 (python-shell-send-string, python-shell-send-region): Use it.
651
652 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
653
654 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
655 to set buffer-read-only to t, never to nil. (Bug#15938)
656
657 * textmodes/tex-mode.el (latex-noindent-environments):
658 Add safe-local-variable property. (Bug#15936)
659
660 2013-11-23 Glenn Morris <rgm@gnu.org>
661
662 * textmodes/enriched.el (enriched-mode): Doc fix.
663 * emacs-lisp/authors.el (authors-renamed-files-alist):
664 Add enriched.doc -> enriched.txt.
665
666 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
667
668 2013-11-22 Leo Liu <sdl.web@gmail.com>
669
670 * progmodes/octave.el (inferior-octave-startup): Spit out error
671 message.
672
673 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
674
675 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
676 Improve docstring.
677 Add :version.
678 (ruby-encoding-magic-comment-style): Add :version.
679
680 2013-11-22 Leo Liu <sdl.web@gmail.com>
681
682 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
683 (Bug#15076)
684 (octave-help-mode): Adapt to change to help-mode-finish to use
685 derived-mode-p on 2013-09-17.
686 (inferior-octave-prompt): Also match octave-gui.
687 (octave-kill-process): Don't ask twice. (Bug#10564)
688
689 2013-11-22 Leo Liu <sdl.web@gmail.com>
690
691 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
692 (inferior-octave-startup, inferior-octave-check-process)
693 (inferior-octave-track-window-width-change)
694 (octave-completion-at-point, octave-eldoc-function): Use it.
695 (octave-kill-process): Provide confirmation. (Bug#10564)
696
697 2013-11-21 Leo Liu <sdl.web@gmail.com>
698
699 * progmodes/octave.el (octave-mode, inferior-octave-mode):
700 Fix obsolete variable comment-use-global-state.
701
702 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
703
704 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
705 Add `octave-source-file'.
706 (octave-source-file): New function. (Bug#15935)
707
708 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
709
710 * net/eww.el (eww-local-regex): New variable.
711 (eww): Use it to detect localhost and similar.
712
713 2013-11-21 Leo Liu <sdl.web@gmail.com>
714
715 Add completion for command `ag'.
716 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
717 (pcomplete/ag): New function.
718 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
719
720 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
721
722 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
723 (bug#14646).
724 (make-obsolete): Remove interactive spec.
725
726 2013-11-21 Glenn Morris <rgm@gnu.org>
727
728 * startup.el (command-line-1): Use path-separator with -L.
729
730 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
731
732 * emacs-lisp/package.el (describe-package-1): Add package archive
733 to shown fields.
734
735 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
736
737 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
738 Change default to "# encoding: %s" to differentiate it from the
739 default Ruby encoding comment template.
740
741 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
742
743 * ses.el (ses-mode): Doc fix. (Bug#14748)
744
745 2013-11-20 Leo Liu <sdl.web@gmail.com>
746
747 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
748
749 2013-11-19 Dan Nicolaescu <dann@gnu.org>
750
751 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
752 when rebase or bisect are in progress.
753
754 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
755
756 * filenotify.el (file-notify-add-watch): Doc fix.
757
758 2013-11-19 Leo Liu <sdl.web@gmail.com>
759
760 * obsolete/rcompile.el: Mark obsolete.
761
762 * progmodes/compile.el (compilation-start)
763 (compilation-goto-locus, compilation-find-file):
764 Pass no-display-ok and handle nil value from display-buffer.
765 (Bug#13594)
766
767 * window.el (display-buffer-alist, display-buffer): Document the
768 new parameter no-display-ok. Return either a window or nil
769 but never a non-window value.
770
771 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
772
773 * electric.el (electric-indent-mode-map): Remove.
774 (electric-indent-mode): Change the global-map instead (bug#15915).
775
776 * textmodes/text-mode.el (paragraph-indent-minor-mode):
777 Use add-function.
778
779 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
780
781 * emacs-lisp/nadvice.el (remove-function): Align with
782 add-function's behavior.
783
784 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
785 (gdb--string-regexp): New constant.
786 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
787 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
788 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
789 submatch 1.
790 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
791 Adjust use accordingly.
792 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
793
794 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
795
796 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
797 interpolation curlies (Bug#15914).
798
799 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
800
801 * calc/calc.el (calc-context-sensitive-enter): New variable.
802 (calc-enter): Use `calc-context-sensitive-enter'.
803
804 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
805
806 * progmodes/cfengine.el: Version bump.
807 (cfengine-cf-promises): New defcustom to locate cf-promises.
808 (cfengine3-vartypes): Add new "data" type.
809 (cfengine3--current-word): New function to get current name-like
810 word or its bounds.
811 (cfengine3--current-function): New function to look up a CFEngine
812 function's definition.
813 (cfengine3-format-function-docstring): New function.
814 (cfengine3-make-syntax-cache): New function.
815 (cfengine3-documentation-function): New function: ElDoc glue.
816 (cfengine3-completion-function): New function: completion glue.
817 (cfengine3-mode): Set `compile-command',
818 `eldoc-documentation-function', and add to
819 `completion-at-point-functions'.
820
821 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
822
823 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
824 `tramp-current-connection'.
825
826 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
827
828 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
829 nil/self/true/false with "end of symbol".
830
831 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
832
833 * subr.el (version-regexp-alist): Fix a typo.
834
835 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
836
837 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
838 "en_US.utf8" and "LC_CTYPE" to "".
839 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
840 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
841
842 2013-11-15 Leo Liu <sdl.web@gmail.com>
843
844 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
845
846 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
847
848 * progmodes/gud.el (ctl-x-map):
849 Remove C-x SPC binding. (Bug#12342)
850 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
851
852 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
853
854 * subr.el (version-regexp-alist):
855 Recognize hg, svn and darcs versions as snapshot versions.
856
857 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
858 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
859 (ruby--encoding-comment-required-p): Extract from
860 `ruby-mode-set-encoding'.
861 (ruby-mode-set-encoding): Add the ability to always insert an
862 utf-8 encoding comment. Fix and simplify coding comment update
863 logic.
864
865 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
866
867 * net/tramp-gvfs.el (top): Run init code only when
868 `tramp-gvfs-enabled' is not nil.
869 (tramp-gvfs-enabled): Check also :system bus.
870
871 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
872
873 Sync with upstream verilog-mode revision 78e66ba.
874 * progmodes/verilog-mode.el (verilog-end-of-defun)
875 (verilog-type-completion, verilog-get-list): Remove unused funcs.
876 (verilog-get-end-of-defun): Remove unused argument.
877 (verilog-comment-depth): Remove unused local `e'.
878 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
879 Don't pass arg to verilog-get-end-of-defun.
880
881 2013-11-14 Glenn Morris <rgm@gnu.org>
882
883 * obsolete/assoc.el (aget): Prefix dynamic variable.
884
885 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
886
887 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
888
889 * widget.el, hfy-cmap.el: Remove bogus package version number.
890
891 2013-11-13 Glenn Morris <rgm@gnu.org>
892
893 * replace.el (replace-eval-replacement):
894 Try to give more helpful error message. (Bug#15836)
895
896 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
897 (archive-7z-update): Avoid custom type mismatches.
898
899 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
900
901 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
902
903 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
904 address can be empty.
905
906 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
907 Accept nil SWITCHES.
908 (tramp-gvfs-handle-write-region): Implement APPEND.
909
910 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
911
912 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
913 binary "|" operator and closing block args delimiter.
914 Remove FIXME comment referring to Ruby 1.8-only syntax.
915 (ruby-smie--implicit-semi-p): Not after "|" operator.
916 (ruby-smie--closing-pipe-p): New function.
917 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
918 (ruby-smie-rules): Indent after "|".
919
920 2013-11-12 Glenn Morris <rgm@gnu.org>
921
922 * ps-print.el (ps-face-attribute-list):
923 Handle anonymous faces. (Bug#15827)
924
925 2013-11-12 Martin Rudalics <rudalics@gmx.at>
926
927 * window.el (display-buffer-other-frame): Fix doc-string.
928 (Bug#15868)
929
930 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
931
932 * subr.el (force-mode-line-update): Delete, move to buffer.c.
933
934 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
935
936 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
937 (tramp-sh-handle-file-local-copy): Don't write a message when
938 saving temporary files.
939
940 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
941 both directories are remote.
942 (tramp-smb-handle-directory-files): Do not return double entries.
943 Do not expand full file names.
944 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
945 (tramp-smb-handle-write-region): Implement APPEND.
946 (tramp-smb-get-stat-capability): Fix a stupid bug.
947
948 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
949
950 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
951
952 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
953
954 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
955 throwing error over malformed let/let* (bug#15814).
956
957 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
958
959 * iswitchb.el (iswitchb-mode): Mark obsolete.
960
961 2013-11-11 Glenn Morris <rgm@gnu.org>
962
963 * international/uni-bidi.el, international/uni-category.el:
964 * international/uni-name.el, international/uni-numeric.el:
965 Regenerate for Unicode 6.3.0.
966
967 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
968
969 * net/tramp.el (tramp-methods):
970 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
971 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
972
973 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
974
975 * progmodes/sh-script.el (sh-font-lock-keywords-var):
976 Force highlighting text after Summary keyword in doc face for rpm.
977
978 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
979
980 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
981 available and the word has no wildcards, append one to the grep pattern.
982 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
983 (ispell-complete-word): Call `ispell-lookup-words' with the value
984 independent of `ispell-look-p'.
985
986 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
987
988 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
989 Not after "||".
990 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
991 their parent.
992
993 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
994
995 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
996 (ruby-font-lock-keywords): Use backquote.
997
998 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
999
1000 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1001 (ruby-smie--backward-token): Only consider full-string matches.
1002
1003 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1004
1005 * faces.el (describe-face): Add distant-foreground.
1006
1007 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1008
1009 * progmodes/ruby-mode.el: Improve encoding comment handling.
1010 (ruby-encoding-magic-comment-style): New option.
1011 (ruby-custom-encoding-magic-comment-template): New option.
1012 (ruby--insert-coding-comment, ruby--detect-encoding):
1013 New functions extracted from `ruby-mode-set-encoding'.
1014 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1015 to control the style of the auto-inserted encoding comment.
1016
1017 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1018
1019 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1020 Use `smie-backward-sexp' with token argument.
1021
1022 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1023
1024 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1025 Remove instrumentation code.
1026
1027 2013-11-08 Glenn Morris <rgm@gnu.org>
1028
1029 * progmodes/autoconf.el (autoconf-mode):
1030 Tweak comment-start-skip. (Bug#15822)
1031
1032 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1033
1034 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1035 at bobp (bug#15826).
1036 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1037
1038 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1039
1040 * man.el (Man-start-calling): New macro, extracted from
1041 Man-getpage-in-background.
1042 (Man-getpage-in-background): Use it.
1043 (Man-update-manpage): New command.
1044 (Man-mode-map): Bind it.
1045
1046 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1047
1048 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1049 of "and", "or", "&&" and "||".
1050 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1051 argument. Prohibit opening curly brace because it could only be a
1052 block opener in that position.
1053 (ruby-smie--forward-token, ruby-smie--backward-token):
1054 Separate "|" from "&" or "*" going after it. That can happen in block
1055 arguments.
1056 (ruby-smie--indent-to-stmt): New function, seeks the end of
1057 previous statement or beginning of buffer.
1058 (ruby-smie-rules): Use it.
1059 (ruby-smie-rules): Check if there's a ":" before a curly block
1060 opener candidate; if there is, it's a hash.
1061
1062 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1063
1064 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1065 (cl--block-wrapper): Fix last accidental change.
1066
1067 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1068
1069 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1070 Instrument, in order to hunt failure on hydra.
1071
1072 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1073
1074 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1075 malformed bindings form (bug#15814).
1076
1077 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1078
1079 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1080 "." compared to " @ ". This incidentally fixes some indentation
1081 examples with "do".
1082 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1083 (ruby-smie-grammar): New tokens: "and" and "or".
1084 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1085 Exclude "and" and "or". Remove "do" in order to work around token
1086 priorities.
1087 (ruby-smie-rules): Add all infix tokens. Handle the case of
1088 beginning-of-buffer.
1089
1090 2013-11-06 Glenn Morris <rgm@gnu.org>
1091
1092 * Makefile.in (setwins_almost, setwins_for_subdirs):
1093 Avoid accidental matches.
1094
1095 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1096
1097 * menu-bar.el (popup-menu): Use key-binding.
1098
1099 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1100
1101 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1102 menus, support also the menus produced by minor modes.
1103 (Bug#15817)
1104
1105 2013-11-06 Leo Liu <sdl.web@gmail.com>
1106
1107 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1108 DISTANCE to bound the search. All uses changed. (Bug#15808)
1109
1110 2013-11-06 Glenn Morris <rgm@gnu.org>
1111
1112 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1113 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1114 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1115
1116 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1117
1118 * electric.el (electric-indent-just-newline): New command.
1119 (electric-indent-mode-map): New keymap.
1120 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1121 Re-add :group which weren't redundant.
1122
1123 * electric.el (electric-indent-local-mode): New minor mode.
1124 (electric-indent-functions-without-reindent): New var.
1125 (electric-indent-post-self-insert-function): Use it.
1126 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1127
1128 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1129
1130 * international/quail.el (quail-help): Be more explicit about the
1131 meaning of the labels shown on the keys. (Bug#15800)
1132
1133 * startup.el (normal-top-level): Load the subdirs.el files before
1134 setting the locale environment. (Bug#15805)
1135
1136 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1137
1138 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1139 via arguments so as to get the right ones (bug#15418).
1140
1141 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1142
1143 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1144
1145 Fix problems found while writing a test suite.
1146
1147 * net/tramp-compat.el (tramp-compat-load): New defun.
1148 * net/tramp.el (tramp-handle-load): Use it.
1149
1150 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1151 "(numberp ok-if-already-exists)" correctly.
1152
1153 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1154
1155 * international/characters.el (glyphless-char-display-control):
1156 Add usage note.
1157
1158 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1159
1160 * progmodes/python.el (python-mode):
1161 * progmodes/scheme.el (scheme-mode):
1162 * progmodes/prolog.el (prolog-mode):
1163 * progmodes/ruby-mode.el (ruby-mode):
1164 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1165 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1166
1167 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1168
1169 * rect.el (rectangle--highlight-for-redisplay):
1170 * emacs-lisp/smie.el (smie--next-indent-change):
1171 Use buffer-chars-modified-tick.
1172
1173 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1174
1175 * electric.el (electric-indent-post-self-insert-function):
1176 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1177
1178 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1179
1180 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1181
1182 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1183
1184 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1185 (bug#15786).
1186
1187 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1188
1189 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1190
1191 * progmodes/python.el: Fix up last change.
1192 (python-shell--save-temp-file): New function.
1193 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1194 `string' comes from the current buffer.
1195 (python-shell-send-string-no-output): Remove `msg' arg.
1196 (python--use-fake-loc): New var.
1197 (python-shell-buffer-substring): Obey it. Try to compensate for the
1198 extra coding line added by python-shell--save-temp-file.
1199 (python-shell-send-region): Use python-shell--save-temp-file and
1200 python-shell-send-file directly. Add `nomain' argument.
1201 (python-shell-send-buffer): Use python-shell-send-region.
1202 (python-electric-pair-string-delimiter): New function.
1203 (python-mode): Use it.
1204
1205 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1206
1207 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1208 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1209 environment and decoding all of the default-directory's to here
1210 from command-line.
1211 (command-line): Decode also argv[0].
1212
1213 * loadup.el: Error out if default-directory is a multibyte string
1214 when we are dumping.
1215
1216 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1217
1218 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1219
1220 * emacs-lisp/package.el (package-menu-mode)
1221 (package-menu--print-info, package-menu--archive-predicate):
1222 Add Archive column to package list.
1223
1224 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1225
1226 Fix problems found while writing a test suite.
1227
1228 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1229 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1230 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1231 to nil when running original file name handler. Otherwise,
1232 there are problems with constructs like "$$FOO".
1233
1234 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1235 for `localname'.
1236
1237 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1238
1239 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1240
1241 * subr.el (version<, version<=, version=):
1242 Update docstrings with information for snapshot versions.
1243
1244 * helpers.el: New library for misc helper functions.
1245 (hash-table-keys): New function returning a list of hash keys.
1246 (hash-table-values): New function returning a list of hash values.
1247
1248 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1249
1250 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1251 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1252
1253 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1254
1255 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1256 checking whether point is after a 1-letter word.
1257
1258 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1259
1260 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1261 Don't infloop when expanding region over `multiline' syntax-type that
1262 begins a line (bug#15778).
1263
1264 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1265
1266 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1267 Make it into a proper minor mode.
1268 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1269 (rectangle-mark-mode-map): New keymap.
1270 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1271
1272 2013-11-04 Glenn Morris <rgm@gnu.org>
1273
1274 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1275
1276 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1277
1278 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1279 (ruby-smie-rules): Use smie-rule-parent instead.
1280
1281 * emacs-lisp/smie.el (smie-rule-parent): Always call
1282 smie-indent-virtual rather than only for hanging tokens.
1283 (smie--next-indent-change): New helper command.
1284
1285 2013-11-03 Glenn Morris <rgm@gnu.org>
1286
1287 * Makefile.in (abs_srcdir): Remove.
1288 (emacs): Unset EMACSLOADPATH.
1289
1290 2013-11-02 Glenn Morris <rgm@gnu.org>
1291
1292 * Makefile.in (EMACS): Use a relative filename.
1293 (abs_top_builddir): Remove.
1294 (custom-deps, finder-data, autoloads): Use --chdir.
1295
1296 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1297
1298 Use relative filenames in TAGS files.
1299 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1300 (lisptagsfiles4, TAGS): Use relative file names.
1301 (TAGS-LISP): Remove.
1302 (maintainer-clean): No more TAGS-LISP file.
1303
1304 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1305 (lisptagsfiles4): Use absolute filenames again.
1306 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1307 Remove all *loaddefs files, not just the first. Remove esh-groups.
1308 (maintainer-clean): Delete TAGS, TAGS-LISP.
1309
1310 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1311
1312 * emacs-lisp/package.el (package-version-join):
1313 Recognize snapshot versions.
1314
1315 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1316
1317 * subr.el (version-regexp-alist): Add support for snapshot versions.
1318
1319 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1320
1321 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1322 New function, replacement for `smie-rule-parent' for when we want to
1323 skip over our direct parent if it's an assignment token..
1324 (ruby-smie-rules): Use it.
1325
1326 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1327
1328 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1329 unconditionally. Remove now unnecessary forward declarations.
1330 Remove XEmacs-specific setup.
1331 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1332 (ruby-font-lock-syntactic-keywords)
1333 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1334 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1335 (ruby-here-doc-end-syntax): Remove.
1336 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1337 defined as function.
1338
1339 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1340
1341 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1342
1343 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1344
1345 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1346 table and abbrev table, `define-derived-mode' does that for us
1347 anyway.
1348
1349 2013-11-01 Glenn Morris <rgm@gnu.org>
1350
1351 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1352 files is atomic for some time, so no parallel compilation issues).
1353
1354 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1355
1356 * faces.el (face-x-resources): Add :distant-foreground.
1357 (region): Use :distant-foreground for gtk and ns.
1358
1359 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1360
1361 Allow multiple bibliographies when BibLaTeX is used rather than
1362 BibTeX.
1363 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1364 (reftex-locate-bibliography-files): Us it.
1365
1366 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1367
1368 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1369 allow comments in pbm files.
1370
1371 * term/w32-win.el (dynamic-library-alist): Support newer versions
1372 of libjpeg starting with v7: look only for the DLL from the
1373 version against which Emacs was built.
1374 Support versions of libpng beyond 1.4.x.
1375 Support libtiff v4.x.
1376
1377 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1378
1379 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1380 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1381 Add property :safe.
1382 (ruby-deep-arglist): Add property :type.
1383
1384 2013-10-31 Glenn Morris <rgm@gnu.org>
1385
1386 * Makefile.in (custom-deps, finder-data): No need to setq the target
1387 variables, we are in the right directory and the defaults work fine.
1388
1389 2013-10-30 Glenn Morris <rgm@gnu.org>
1390
1391 * Makefile.in (autoloads): Do not use abs_lisp.
1392
1393 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1394 `newline' does not respect `standard-output', so use `princ'.
1395
1396 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1397
1398 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1399 * buff-menu.el (Buffer-menu--unmark): New function.
1400 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1401
1402 2013-10-30 Glenn Morris <rgm@gnu.org>
1403
1404 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1405
1406 * emacs-lisp/package.el (lm-homepage): Declare.
1407
1408 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1409 Fix doc typos.
1410
1411 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1412
1413 * Makefile.in (finder-data, autoloads, update-subdirs)
1414 (compile-main, compile-clean, compile-always, bootstrap-clean):
1415 Check return value of cd.
1416 (compile-calc): Remove.
1417
1418 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1419
1420 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1421
1422 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1423 (byte-compile-and-folded): New function.
1424 (=, <, >, <=, >=): Use it.
1425
1426 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1427 (path-separator, null-device, buffer-file-coding-system)
1428 (lpr-headers-switches): Check system-type before modifying them.
1429 (find-buffer-file-type-coding-system): Mark obsolete.
1430 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1431 find-file-not-found-set-buffer-file-coding-system.
1432 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1433 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1434 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1435 (w32-direct-print-region-helper, w32-direct-print-region-function)
1436 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1437 * startup.el (normal-top-level-add-subdirs-to-load-path):
1438 * ps-print.el (ps-print-region-function):
1439 * lpr.el (print-region-function): Use new name.
1440
1441 * subr.el (custom-declare-variable-early): Remove function.
1442 (custom-declare-variable-list): Remove var.
1443 (error, user-error): Remove `while' loop.
1444 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1445 (user-emacs-directory-warning, locate-user-emacs-file):
1446 Move to files.el.
1447 * simple.el (read-quoted-char-radix, read-quoted-char):
1448 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1449 Move from subr.el.
1450 * custom.el (custom-declare-variable-list): Don't process
1451 custom-declare-variable-list.
1452
1453 * progmodes/python.el (python-shell-get-buffer): New function.
1454 (python-shell-get-process): Use it.
1455 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1456 Python which encoding was used. Don't split-string since we only care
1457 about the first line. Return the temp-file, if applicable.
1458 (python-shell-send-region): Tell compile.el how to turn locations in
1459 the temp-file into locations in the source buffer.
1460
1461 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1462
1463 * subr.el (undefined): Add missing behavior from the C code for
1464 unbound keys.
1465
1466 * rect.el: Use lexical-binding. Add new rectangular region support.
1467 (rectangle-mark): New command.
1468 (rectangle--region): New var.
1469 (deactivate-mark-hook): Reset rectangle--region.
1470 (rectangle--extract-region, rectangle--insert-for-yank)
1471 (rectangle--highlight-for-redisplay)
1472 (rectangle--unhighlight-for-redisplay): New functions.
1473 (region-extract-function, redisplay-unhighlight-region-function)
1474 (redisplay-highlight-region-function): Use them to handle
1475 rectangular region.
1476 * simple.el (region-extract-function): New var.
1477 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1478 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1479 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1480 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1481 (redisplay-unhighlight-region-function)
1482 (redisplay-highlight-region-function): New vars.
1483 (redisplay--update-region-highlight): New function.
1484 (pre-redisplay-function): Use it.
1485 (exchange-point-and-mark): Don't deactivate the mark before
1486 reactivate-it anyway.
1487 * comint.el (comint-kill-region): Remove yank-handler argument.
1488 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1489 (delete-char): Remove property, since it's now part of their
1490 default behavior.
1491 (self-insert-iso): Remove property since this command doesn't exist.
1492
1493 * emacs-lisp/package.el (package--download-one-archive)
1494 (describe-package-1): Don't query the user about final newline.
1495
1496 2013-10-29 Daniel Colascione <dancol@dancol.org>
1497
1498 * net/tramp.el (tramp-methods): Document new functionality.
1499 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1500 tramp-hostname-checker if method provides one instead of scanning
1501 argument list for "%h" to decide hostname acceptability.
1502
1503 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1504
1505 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1506 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1507 Handle COPY-CONTENTS. (Bug#15737)
1508
1509 2013-10-28 Daiki Ueno <ueno@gnu.org>
1510
1511 * epa-file.el
1512 (epa-file-cache-passphrase-for-symmetric-encryption):
1513 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1514
1515 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1516
1517 * image.el (defimage):
1518 (image-load-path): Doc fixes.
1519
1520 2013-10-27 Alan Mackenzie <acm@muc.de>
1521
1522 Indent statements in macros following "##" correctly.
1523 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1524 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1525
1526 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1527
1528 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1529
1530 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1531
1532 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1533 after `=' is probably a new expression.
1534
1535 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1536
1537 * man.el (man-imenu-title): New option.
1538 (Man-mode-map): Add menu. (Bug#15722)
1539 (Man-mode): Add imenu to menu.
1540
1541 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1542
1543 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1544 specific in what the first arg can be: a non-keyword word,
1545 string/regexp/percent literal opener, opening paren, or unary
1546 operator followed directly by word.
1547
1548 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1549
1550 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1551 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1552 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1553 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1554 Remove vars, they do not apply any more.
1555 (prolog-mode-abbrev-table): Remove redundant declaration.
1556 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1557 (prolog-use-smie): Remove.
1558 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1559 supported by prolog-electric-if-then-else-flag.
1560 (prolog-mode-variables, prolog-menu): Use setq-local.
1561 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1562 Remove binding to `Backspace' since this key doesn't exist anyway.
1563 Remove bindings for electric self-inserting keys.
1564 (prog-mode): Assume it's defined.
1565 (prolog-post-self-insert): New function.
1566 (prolog-mode): Use it.
1567 (prolog-indent-line, prolog-indent-level)
1568 (prolog-find-indent-of-matching-paren)
1569 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1570 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1571 (prolog-goto-next-paren, prolog-in-string-or-comment)
1572 (prolog-tokenize, prolog-inside-mline-comment)
1573 (prolog-find-start-of-mline-comment): Remove functions.
1574 (prolog-find-unmatched-paren, prolog-clause-end)
1575 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1576 (prolog-electric--if-then-else): Rename from
1577 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1578 (prolog-tokenize-searchkey): Remove const.
1579 (prolog-clause-info): Use forward-sexp.
1580 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1581 (prolog-electric-if-then-else): Remove commands.
1582 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1583 for use in post-self-insert-hook.
1584 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1585 for use in post-self-insert-hook.
1586 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1587 for use in post-self-insert-hook.
1588 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1589 adapt it for use in post-self-insert-hook.
1590
1591 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1592
1593 * emacs-lisp/ert.el (ert-run-tests-interactively):
1594 Use `completing-read'. (Bug#9756)
1595
1596 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1597
1598 * simple.el (line-move): Call line-move-1 instead of
1599 line-move-visual when the current window hscroll is zero, but
1600 temporary-goal-column indicates we will need to hscroll as result
1601 of the movement. (Bug#15712)
1602
1603 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1604
1605 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1606 capitalization. Use :visible instead of :active.
1607 Fix `ruby-indent-exp' reference. Add menu items for the generic
1608 commands that are used with SMIE.
1609 (ruby-do-end-to-brace): Insert space after `{'.
1610
1611 2013-10-25 John Anthony <john@jo.hnanthony.com>
1612
1613 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1614
1615 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1616
1617 2013-10-25 Glenn Morris <rgm@gnu.org>
1618
1619 * vc/vc.el (vc-print-log): Don't use a working revision unless
1620 one was explicitly specified. (Bug#15322)
1621
1622 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1623
1624 * subr.el (add-to-list): Preserve return value in compiler-macro
1625 (bug#15692).
1626
1627 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1628
1629 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1630 result. Ask user to retry using '-all' flag. (Bug#15701)
1631
1632 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1633
1634 * emacs-lisp/smie.el: New smie-config system.
1635 (smie-config): New defcustom.
1636 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1637 (smie-config-guess, smie-config-save): New commands.
1638 (smie-config--mode-local, smie-config--buffer-local)
1639 (smie-config--trace, smie-config--modefuns): New vars.
1640 (smie-config--advice, smie-config--mode-hook)
1641 (smie-config--setter, smie-config-local, smie-config--get-trace)
1642 (smie-config--guess-value, smie-config--guess): New functions.
1643 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1644 text properties. Treat "string fence" syntax like string syntax.
1645
1646 * progmodes/sh-script.el (sh-use-smie): Change default.
1647 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1648 (sh-var-value): Simplify by CSE.
1649 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1650 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1651 is used.
1652 (sh-guess-basic-offset): Use cl-incf.
1653 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1654
1655 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1656
1657 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1658 (bug#15699).
1659
1660 2013-10-24 Glenn Morris <rgm@gnu.org>
1661
1662 * Makefile.in (abs_top_srcdir): Remove.
1663 (update-subdirs): Use relative path to update-subdirs.
1664
1665 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1666
1667 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1668 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1669 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1670 Call unmsys--file-name before expand-file-name, not after it.
1671
1672 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1673
1674 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1675 (ert-test-skipped): New error.
1676 (ert-skip, ert-stats-skipped): New defuns.
1677 (ert--skip-unless): New macro.
1678 (ert-test-skipped): New struct.
1679 (ert--run-test-debugger, ert-test-result-type-p)
1680 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1681 (ert--stats-set-test-and-result, ert-char-for-test-result)
1682 (ert-string-for-test-result, ert-run-tests-batch)
1683 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1684 Handle skipped tests. (Bug#9803)
1685
1686 2013-10-24 Glenn Morris <rgm@gnu.org>
1687
1688 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1689
1690 * Makefile.in (abs_top_srcdir): New, set by configure.
1691 (update-subdirs): Correct build-aux location.
1692
1693 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1694
1695 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1696 value, whether we could auto-deduce `backend', or not.
1697
1698 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1699 with parameters" example. Simplify the "is it block or is it
1700 hash" check, but also make it more thorough.
1701
1702 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1703
1704 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1705
1706 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1707
1708 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1709 { if it is hanging.
1710
1711 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1712 :before ";".
1713
1714 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1715
1716 * progmodes/compile.el (compilation-directory-matcher)
1717 (compilation-page-delimiter):
1718 Support GNU Make-4.0 directory quoting. (Bug#15678)
1719
1720 2013-10-23 Leo Liu <sdl.web@gmail.com>
1721
1722 * ido.el (ido-tidy): Handle read-only text.
1723
1724 2013-10-23 Glenn Morris <rgm@gnu.org>
1725
1726 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1727 (emacs, compile, compile-always):
1728 Quote entities that might contain whitespace.
1729 (custom-deps, finder-data, autoloads): Use abs_lisp.
1730 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1731 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1732 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1733
1734 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1735
1736 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1737 Use `following-char'.
1738
1739 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1740
1741 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1742 * progmodes/ruby-mode.el (ruby-smie-rules):
1743 Remove corresponding workaround. Fix indentation rule of ";" so it
1744 also applies when ";" is the parent.
1745
1746 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1747
1748 * frame.el (display-screens, display-pixel-height)
1749 (display-pixel-width, display-mm-width, display-backing-store)
1750 (display-save-under, display-planes, display-color-cells)
1751 (display-visual-class, display-monitor-attributes-list):
1752 Mention the optional ‘display’ argument in doc strings.
1753
1754 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1755
1756 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1757 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1758
1759 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1760
1761 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1762 TODO. Add "." after " @ ".
1763 (ruby-smie--at-dot-call): New function. Checks if point at method
1764 call with explicit target.
1765 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1766 to the method name tokens when it precedes them.
1767 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1768 (ruby-smie-rules): Add rule for indentation before and after "."
1769 token.
1770
1771 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1772
1773 * textmodes/remember.el (remember-diary-extract-entries):
1774 Avoid add-to-list.
1775
1776 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1777 an instruction.
1778
1779 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1780
1781 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1782 (ruby-smie--implicit-semi-p): Add new operator chars.
1783
1784 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1785 `smie-down-list'.
1786 (ruby-smie--args-separator-p): Check that there's no newline
1787 between method call and its arguments.
1788
1789 2013-10-20 Alan Mackenzie <acm@muc.de>
1790
1791 Allow comma separated lists after Java "implements".
1792
1793 * progmodes/cc-engine.el (c-backward-over-enum-header):
1794 Parse commas.
1795 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1796 from a "disallowed" list in enum fontification.
1797
1798 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1799
1800 * startup.el (default-frame-background-mode): Remove unused defvar.
1801
1802 * progmodes/verilog-mode.el (verilog-mode): Don't set
1803 comment-indent-function globally.
1804
1805 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1806
1807 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1808 Move Info menu item creation to ns-win.el.
1809
1810 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1811 in menu bar.
1812
1813 * menu-bar.el: Move GNUStep specific menus...
1814
1815 * term/ns-win.el (ns-initialize-window-system): ... to here.
1816
1817 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1818
1819 * simple.el (newline): Only run post-self-insert-hook when
1820 called interactively.
1821
1822 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1823
1824 * icomplete.el (icomplete-with-completion-tables): Add :version.
1825
1826 2013-10-19 Alan Mackenzie <acm@muc.de>
1827
1828 Fix fontification bugs with constructors and const.
1829
1830 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1831 CASE 2) Remove the check for the absence of a suffix construct
1832 after a function declaration with only types (no identifiers) in
1833 the parentheses. Also, accept a function declaration with just a
1834 type inside the parentheses, if this type can be positively
1835 recognised as such, or if a prefix keyword like "explicit" nails
1836 down the construct as a declaration.
1837
1838 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1839
1840 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1841 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1842 the problem whereby selecting a menu item that leads to a
1843 minibuffer prompt moves the cursor out of the minibuffer window,
1844 making it hard to type at the prompt. Suggested by Stefan Monnier
1845 <monnier@iro.umontreal.ca>.
1846
1847 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1848
1849 * menu-bar.el: Don't make Services menu.
1850
1851 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1852
1853 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1854 (ffap-alist): Use ffap-c++-mode for c++-mode.
1855 (ffap-c++-path): New variable.
1856 (ffap-c++-mode): New function.
1857
1858 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1859
1860 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1861
1862 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1863
1864 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1865 introduced on 2013-09-08, which results in an infinite loop
1866 requesting a password.
1867
1868 2013-10-18 Glenn Morris <rgm@gnu.org>
1869
1870 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1871
1872 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1873
1874 Sync with upstream verilog-mode revision 1a6ecec7.
1875 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1876 (verilog-mode-release-date): Remove.
1877 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1878 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1879 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1880 (verilog-auto-tieoff-ignore-regexp)
1881 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1882 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1883 (verilog-signals-with, verilog-dir-cache-preserving)
1884 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1885 Doc fixes.
1886 (verilog-case-fold): New option, to control case folding in
1887 regexp searches, bug597.
1888 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1889 (verilog-string-match-fold, verilog-in-paren-count)
1890 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1891 (verilog-at-close-struct-p): New functions.
1892 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1893 (verilog-forward-sexp, verilog-set-auto-endcomments):
1894 (verilog-leap-to-case-head): Handle "unique0" case.
1895 (verilog-in-constraint-re): New constant.
1896 (verilog-keywords, verilog-type-font-keywords):
1897 Add some SystemVerilog 1800-2012 keywords.
1898 (verilog-label-be): Remove unimplemented argument, bug669.
1899 (verilog-batch-execute-func): When batch expanding clear
1900 create-lockfiles to prevent spurious user locks when a file ends
1901 up not changing.
1902 (verilog-calculate-indent, verilog-calc-1)
1903 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1904 (verilog-do-indent): Fix indentation of nested constraints
1905 and structures.
1906 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1907 (verilog-auto-inst-param): Use verilog-string-match-fold.
1908 (verilog-read-inst-module-matcher):
1909 Fix AUTOINST on gate primitives with #1.
1910 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1911 Reads all user-defined typed variables.
1912 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1913 (verilog-signals-matching-regexp)
1914 (verilog-signals-not-matching-regexp, verilog-auto):
1915 Respect verilog-case-fold.
1916 (verilog-diff-report): Fix line count.
1917 (verilog-auto-assign-modport): Remove unused local `modi'.
1918 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1919 better handle multidimensional arrays.
1920 Fix packed array ports misadding bit index in AUTOINST, bug637.
1921 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1922 to not double-declare existing outputs and inputs, respectively.
1923 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1924 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1925 (verilog-sk-uvm-component): New skeleton.
1926 (verilog-submit-bug-report): Add verilog-case-fold,
1927 remove verilog-mode-release-date.
1928
1929 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1930
1931 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1932 as before.
1933
1934 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1935
1936 * textmodes/remember.el (remember): set buffer-offer-save in
1937 remember buffers (bug#13566).
1938
1939 2013-10-18 Daniel Colascione <dancol@dancol.org>
1940
1941 When evaluating forms in ielm, direct standard output to ielm
1942 buffer. Add new ielm-return-for-effect command. Remove trailing
1943 whitespace throughout.
1944
1945 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1946 (ielm-return-for-effect): New command.
1947 (ielm-send-input): Accept optional `for-effect' parameter.
1948 (ielm-eval-input): Accept optional `for-effect' parameter.
1949 Bind `standard-output' to stream we create using
1950 `ielm-standard-output-impl'. Suppress printing result when
1951 `for-effect'.
1952 (ielm-standard-output-impl): New function.
1953 (inferior-emacs-lisp-mode): Explain new features in documentation.
1954
1955 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1956
1957 Code cleanup.
1958
1959 * net/tramp.el (tramp-debug-message): Do not check for connection
1960 buffer.
1961 (tramp-message): Use "vector" connection property.
1962
1963 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1964 (tramp-equal-remote, tramp-eshell-directory-change)
1965 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1966 (tramp-adb-handle-rename-file)
1967 * net/tramp-cmds.el (tramp-list-remote-buffers)
1968 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1969 * net/tramp-compat.el (tramp-compat-process-running-p)
1970 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1971 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1972 (tramp-gvfs-handle-rename-file)
1973 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1974 (tramp-set-file-uid-gid)
1975 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1976 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1977 of `file-remote-p'.
1978
1979 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1980 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1981 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1982 (tramp-gw-open-network-stream): Suppress unrelated traces.
1983
1984 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1985 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1986 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1987 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1988 connection property.
1989
1990 * net/tramp-cache.el (top): Suppress traces when reading
1991 persistency file.
1992
1993 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1994 Refactor common code. Improve debug message.
1995 (tramp-maybe-open-connection)
1996 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1997 connection buffer too early.
1998
1999 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2000 from `tramp-smb-actions-with-acl'.
2001 (tramp-smb-actions-set-acl): New defconst.
2002 (tramp-smb-handle-copy-directory)
2003 (tramp-smb-action-get-acl): New defun, renamed from
2004 `tramp-smb-action-with-acl'.
2005 (tramp-smb-action-set-acl): New defun.
2006 (tramp-smb-handle-set-file-acl): Rewrite.
2007
2008 2013-10-17 Glenn Morris <rgm@gnu.org>
2009
2010 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2011
2012 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2013
2014 * skeleton.el (skeleton-newline): Remove.
2015 (skeleton-internal-1): Use (insert "\n") instead.
2016
2017 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2018 let-bindings.
2019
2020 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2021 forward-sexp-function while we redo its job (bug#15613).
2022
2023 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2024
2025 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2026 represented by lists.
2027
2028 2013-10-16 Glenn Morris <rgm@gnu.org>
2029
2030 * tmm.el (tmm--history): New dynamic variable.
2031 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2032
2033 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2034
2035 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2036 (tramp-smb-errors): Add error messages.
2037 (tramp-smb-actions-with-acl): New defconst.
2038 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2039 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2040 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2041 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2042 (tramp-smb-get-stat-capability): Fix tests.
2043
2044 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2045
2046 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2047 (bug#15580).
2048
2049 2013-10-16 Glenn Morris <rgm@gnu.org>
2050
2051 * ansi-color.el (ansi-color-drop-regexp):
2052 Add 1J, 1K, 2K. (Bug#15617)
2053
2054 * files.el (hack-local-variables--warned-lexical): New.
2055 (hack-local-variables):
2056 Warn about misplaced lexical-binding. (Bug#15616)
2057
2058 * net/eww.el (eww-render): Always set eww-current-url,
2059 and update header line. (Bug#15622)
2060 (eww-display-html): ... Rather than just doing it here.
2061
2062 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2063
2064 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2065 menu navigations commands.
2066
2067 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2068
2069 * progmodes/subword.el (subword-capitalize): Be careful when
2070 the search for [[:alpha:]] fails (bug#15580).
2071
2072 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2073
2074 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2075 to commands that scroll the menu.
2076
2077 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2078
2079 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2080 Handle methods ending with `?' and `!'.
2081
2082 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2083
2084 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2085 `japanese-cp932' to `cp932' to fix the problem where saving a
2086 source file written in Shift_JIS twice would end up having
2087 `coding: japanese-cp932' which Ruby could not recognize.
2088 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2089 in `ruby-encoding-map'.
2090 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2091 doesn't need to be explicitly declared in magic comment.
2092 (ruby-encoding-map): Add type declaration for better customize UI.
2093
2094 2013-10-13 Glenn Morris <rgm@gnu.org>
2095
2096 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2097 Occur buffers are read-only. http://bugs.debian.org/720775
2098
2099 * emacs-lisp/authors.el (authors-fixed-entries):
2100 Comment out old alpha stuff.
2101
2102 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2103
2104 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2105 to `after-save-hook' instead of `before-save-hook'.
2106 (ruby-mode-set-encoding): Use the value of coding system used to
2107 write the file. Call `basic-save-buffer-1' after modifying the
2108 buffer.
2109
2110 2013-10-13 Alan Mackenzie <acm@muc.de>
2111
2112 Fix indentation/fontification of Java enum with
2113 "implements"/generic.
2114
2115 * progmodes/cc-engine.el (c-backward-over-enum-header):
2116 Extracted from the three other places and enhanced to handle generics.
2117 (c-inside-bracelist-p): Uses new function above.
2118 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2119 function above.
2120 (c-font-lock-enum-tail): Uses new function above.
2121
2122 2013-10-13 Kenichi Handa <handa@gnu.org>
2123
2124 * international/mule-cmds.el (select-safe-coding-system): Remove a
2125 superfluous condition in chekcing whether a coding system is safe
2126 or not.
2127
2128 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2129
2130 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2131
2132 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2133
2134 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2135
2136 2013-10-13 Glenn Morris <rgm@gnu.org>
2137
2138 * menu-bar.el (menu-bar-update-buffers):
2139 Unify Buffers menu prompt string. (Bug#15576)
2140
2141 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2142
2143 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2144 Add some entries.
2145 (authors-fixed-entries): Use accented form of name.
2146
2147 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2148
2149 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2150 method calls (bug#15594).
2151 (ruby-smie--args-separator-p): New function.
2152 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2153 recognize paren-free method calls.
2154
2155 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2156 internals of universal-argument.
2157
2158 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2159
2160 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2161 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2162 dropped menu on second mouse click on the menu bar.
2163
2164 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2165
2166 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2167 (explicit-shell-file-name): Declare.
2168 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2169 (sh-completion-at-point-function): New function.
2170 (sh-mode): Use it.
2171 (sh-smie--keyword-p): Remove unused argument.
2172 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2173 vars.
2174 (sh-set-shell): Always setup SMIE, even if we use the
2175 old indentation code.
2176
2177 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2178
2179 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2180 cases of ? and =.
2181 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2182 predicate would return nil are almost non-existent.
2183 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2184
2185 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2186 cache also after commands that modify the buffer but don't move
2187 point.
2188
2189 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2190
2191 * env.el (substitute-env-in-file-name): New function.
2192 (substitute-env-vars): Extend the meaning of the optional arg.
2193
2194 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2195
2196 * term/w32-win.el (dynamic-library-alist): Define separate lists
2197 of GIF DLLs for versions before and after 5.0.0 of giflib.
2198 (Bug#15531)
2199
2200 2013-10-10 João Távora <joaotavora@gmail.com>
2201
2202 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2203 not locked, use last revision and current source as
2204 defaults. (Bug#15569)
2205
2206 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2207
2208 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2209 menu-bar is hidden.
2210
2211 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2212
2213 * window.el (pop-to-buffer-same-window): Fix doc-string.
2214 (Bug#15492)
2215
2216 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2217
2218 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2219
2220 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2221
2222 * calendar/icalendar.el (icalendar-import-file):
2223 Fix interactive spec. (Bug#15482)
2224
2225 2013-10-10 Glenn Morris <rgm@gnu.org>
2226
2227 * desktop.el (desktop-save): Default to saving in .emacs.d,
2228 since PWD is no longer in desktop-path by default. (Bug#15319)
2229
2230 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2231 now that text mode has a menu with the same entry.
2232 (menu-bar-text-mode-auto-fill): Remove now unused func.
2233 * textmodes/text-mode.el (text-mode-map):
2234 Use auto-fill help text from menu-bar.el.
2235
2236 2013-10-10 John Anthony <john@jo.hnanthony.com>
2237
2238 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2239
2240 2013-10-09 Juri Linkov <juri@jurta.org>
2241
2242 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2243 instead of this-command-keys. Add universal-argument-more and
2244 universal-argument-minus to the list of prefix commands. (Bug#15568)
2245
2246 2013-10-09 Glenn Morris <rgm@gnu.org>
2247
2248 * vc/vc-svn.el (vc-svn-create-repo):
2249 Expand paths in file://... url. (Bug#15446)
2250
2251 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2252 Add some entries.
2253 (authors): Remove unused local variables.
2254
2255 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2256
2257 * profiler.el: Create a more coherent calltree from partial backtraces.
2258 (profiler-format): Hide the tail with `invisible' so that C-s can still
2259 find the hidden elements.
2260 (profiler-calltree-depth): Don't recurse so enthusiastically.
2261 (profiler-function-equal): New hash-table-test.
2262 (profiler-calltree-build-unified): New function.
2263 (profiler-calltree-build): Use it.
2264 (profiler-report-make-name-part): Indent the calltree less.
2265 (profiler-report-mode): Add visibility specs for profiler-format.
2266 (profiler-report-expand-entry, profiler-report-toggle-entry):
2267 Expand the whole subtree when provided with a prefix arg.
2268
2269 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2270
2271 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2272 iuwu-mod token.
2273 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2274 hanging iuwu-mod token.
2275 (ruby-smie--forward-token): Do not include a dot after a token in
2276 that token.
2277 (ruby-smie--backward-token): Likewise.
2278
2279 2013-10-08 Juri Linkov <juri@jurta.org>
2280
2281 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2282 to isearch-other-control-char.
2283 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2284 and isearch-post-command-hook to post-command-hook.
2285 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2286 and isearch-post-command-hook from post-command-hook.
2287 (isearch-unread-key-sequence)
2288 (isearch-reread-key-sequence-naturally)
2289 (isearch-lookup-scroll-key, isearch-other-control-char)
2290 (isearch-other-meta-char): Remove functions.
2291 (isearch-pre-command-hook, isearch-post-command-hook):
2292 New functions based on isearch-other-meta-char rewritten
2293 relying on the new behavior of overriding-terminal-local-map
2294 that does not replace the local keymaps any more. (Bug#15200)
2295
2296 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2297
2298 Support menus on text-mode terminals.
2299 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2300 functionality.
2301
2302 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2303
2304 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2305 Move here from mouse.el.
2306 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2307 and arrow keys.
2308 (tty-menu-navigation-map): New map for TTY menu navigation.
2309
2310 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2311
2312 * frame.el (display-mouse-p): Report text-mode mouse as available
2313 on w32.
2314 (display-popup-menus-p): Report availability if mouse is
2315 available; don't condition on window-system.
2316
2317 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2318 (tty-menu-selected-face): New faces.
2319
2320 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2321
2322 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2323 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2324 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2325 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2326 New constants.
2327 (lisp-mode-variables): New `elisp' argument.
2328 (emacs-lisp-mode): Use it.
2329 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2330 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2331
2332 * indent.el: Use lexical-binding.
2333 (indent-region): Add progress reporter.
2334 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2335 last step.
2336 (indent--next-tab-stop): New function to implement this behavior.
2337 (tab-to-tab-stop, move-to-tab-stop): Use it.
2338
2339 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2340
2341 * indent.el (indent-rigidly--current-indentation): New function.
2342 (indent-rigidly-map): New var.
2343 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2344
2345 2013-10-08 Bastien Guerry <bzg@gnu.org>
2346
2347 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2348
2349 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2350
2351 * progmodes/perl-mode.el: Use lexical-binding.
2352 Remove redundant :group args.
2353 (perl-nochange): Change default to be closer to other major modes's
2354 standard behavior.
2355 (perl-indent-line): Don't consider text on current line as a
2356 valid beginning of function from which to indent.
2357
2358 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2359 with more than one argument (bug#15538).
2360
2361 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2362
2363 * vc/pcvs.el: Use lexical-binding.
2364 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2365 environment of `eval'.
2366 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2367 than a list of expressions. Adjust callers.
2368 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2369
2370 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2371
2372 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2373 case of the dot in a chained method call being on the following line.
2374
2375 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2376
2377 * electric.el (electric-indent-inhibit): New var.
2378 (electric-indent-post-self-insert-function): Use it.
2379 * progmodes/python.el (python-mode): Set it.
2380
2381 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2382 open braces.
2383
2384 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2385
2386 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2387 (css-mode): Use electric-indent-chars.
2388
2389 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2390 (font-lock-beg, font-lock-end): Move before first use.
2391 (nxml-mode): Use syntax-propertize-function.
2392 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2393 (nxml-extend-after-change-region): Remove.
2394 * nxml/xmltok.el: Use lexical-binding.
2395 (xmltok-save): Use `declare'.
2396 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2397 * nxml/nxml-util.el: Use lexical-binding.
2398 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2399 Use `declare'.
2400 * nxml/nxml-ns.el: Use lexical-binding.
2401 (nxml-ns-save): Use `declare'.
2402 (nxml-ns-prefixes-for): Avoid add-to-list.
2403 * nxml/rng-match.el: Use lexical-binding.
2404 (rng--ipattern): Use cl-defstruct.
2405 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2406 (rng-cons-group-after, rng-subst-group-after)
2407 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2408 Use closures instead of `(lambda...).
2409
2410 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2411
2412 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2413 of BEG and END.
2414
2415 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2416 Use `tramp-handle-insert-file-contents'.
2417 (tramp-gvfs-handle-insert-file-contents): Remove function.
2418
2419 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2420 Use `save-restriction' in order to keep markers.
2421
2422 * net/trampver.el: Update release number.
2423
2424 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2425
2426 * progmodes/compile.el (compilation-parse-errors):
2427 Use compilation--put-prop.
2428 (compilation--ensure-parse): Check compilation-multiline.
2429
2430 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2431
2432 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2433 lexical-binding.
2434
2435 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2436
2437 * progmodes/ruby-mode.el: Fix recently added tests.
2438 (ruby-smie-grammar): Add - and +.
2439 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2440 (ruby-smie--backward-id): New functions.
2441 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2442 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2443 any more.
2444
2445 2013-10-07 Leo Liu <sdl.web@gmail.com>
2446
2447 * register.el (register-preview-delay)
2448 (register-preview-functions): New variables.
2449 (register-read-with-preview, register-preview)
2450 (register-describe-oneline): New functions.
2451 (point-to-register, window-configuration-to-register)
2452 (frame-configuration-to-register, jump-to-register)
2453 (number-to-register, view-register, insert-register)
2454 (copy-to-register, append-to-register, prepend-to-register)
2455 (copy-rectangle-to-register): Use register-read-with-preview to
2456 read register. (Bug#15525)
2457
2458 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2459
2460 * net/network-stream.el (network-stream-open-starttls): Don't add
2461 --insecure if it's already present, because that gnutls-cli
2462 rejects getting that parameter twice.
2463
2464 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2465
2466 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2467 keyword, too.
2468
2469 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2470
2471 * newcomment.el (comment-use-global-state): Change default value
2472 to t, mark obsolete (Bug#15251).
2473 (comment-beginning): In addition to `comment-to-syntax', check the
2474 value of `comment-use-global-state'.
2475
2476 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2477
2478 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2479 (ruby-comment-column): Follow the global default, by default.
2480 (ruby-smie-grammar): Add assignment syntax.
2481 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2482 open-paren, a comma, or a \.
2483 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2484 and line continuations.
2485 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2486 followed by implicit semi-colons. Add rule for string concatenation
2487 and for indentation at BOB.
2488 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2489
2490 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2491 calling next-sexp, since next-token may have skipped chars which
2492 next-sexp doesn't know should be skipped!
2493
2494 2013-10-05 Leo Liu <sdl.web@gmail.com>
2495
2496 * progmodes/octave.el (octave-send-region):
2497 Call compilation-forget-errors.
2498
2499 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2500
2501 * vc/vc-svn.el (vc-svn-find-admin-dir):
2502 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2503 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2504 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2505 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2506
2507 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2508
2509 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2510
2511 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2512
2513 * subr.el (read-passwd): Hide chars even when called within a context
2514 where after-change-functions is disabled (bug#15501).
2515 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2516 until we removed ourself from overriding-terminal-local-map.
2517
2518 2013-10-04 Leo Liu <sdl.web@gmail.com>
2519
2520 * progmodes/octave.el (inferior-octave-mode):
2521 Call compilation-forget-errors.
2522
2523 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2524
2525 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2526
2527 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2528
2529 * net/secrets.el (secrets-create-collection): Add optional
2530 argument ALIAS. Use proper Label keyword. Append ALIAS as
2531 dbus-call-method argument. (Bug#15516)
2532
2533 2013-10-04 Leo Liu <sdl.web@gmail.com>
2534
2535 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2536 (inferior-octave-compilation-font-lock-keywords): New variables.
2537 (compilation-error-regexp-alist)
2538 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2539 (inferior-octave-mode): Use compilation-shell-minor-mode.
2540
2541 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2542
2543 * minibuffer.el (completion--replace): Be careful that `end' might be
2544 a marker.
2545
2546 2013-10-03 Daiki Ueno <ueno@gnu.org>
2547
2548 Add support for package signature checking.
2549 * emacs-lisp/package.el (url-http-file-exists-p)
2550 (epg-make-context, epg-context-set-home-directory)
2551 (epg-verify-string, epg-context-result-for)
2552 (epg-signature-status, epg-signature-to-string)
2553 (epg-check-configuration, epg-configuration)
2554 (epg-import-keys-from-file): Declare.
2555 (package-check-signature): New user option.
2556 (package-unsigned-archives): New user option.
2557 (package-desc): Add `signed' field.
2558 (package-load-descriptor): Set `signed' field if .signed file exists.
2559 (package--archive-file-exists-p): New function.
2560 (package--check-signature): New function.
2561 (package-install-from-archive): Check package signature.
2562 (package--download-one-archive): Check archive signature.
2563 (package-delete): Remove .signed file.
2564 (package-import-keyring): New command.
2565 (package-refresh-contents): Import default keyring.
2566 (package-desc-status): Add "unsigned" status.
2567 (describe-package-1, package-menu--print-info)
2568 (package-menu-mark-delete, package-menu--find-upgrades)
2569 (package-menu--status-predicate): Support "unsigned" status.
2570
2571 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2572
2573 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2574 the new compilation scheme using the new byte-codes.
2575
2576 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2577 (byte-pophandler): New byte codes.
2578 (byte-goto-ops): Adjust accordingly.
2579 (byte-compile--use-old-handlers): New var.
2580 (byte-compile-catch): Use new byte codes depending on
2581 byte-compile--use-old-handlers.
2582 (byte-compile-condition-case--old): Rename from
2583 byte-compile-condition-case.
2584 (byte-compile-condition-case--new): New function.
2585 (byte-compile-condition-case): New function that dispatches depending
2586 on byte-compile--use-old-handlers.
2587 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2588 when we can.
2589
2590 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2591 Optimize under `condition-case' and `catch' if
2592 byte-compile--use-old-handlers is nil.
2593 (disassemble-offset): Handle new bytecodes.
2594
2595 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2596
2597 * subr.el (error): Use `declare'.
2598 (decode-char, encode-char): Use advertised-calling-convention instead
2599 of the docstring to discourage use of the `restriction' arg.
2600
2601 2013-10-03 Daiki Ueno <ueno@gnu.org>
2602
2603 * epg.el (epg-verify-file): Add a comment saying that it does not
2604 notify verification error as a return value nor a signal.
2605 (epg-verify-string): Ditto.
2606
2607 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2608
2609 * progmodes/compile.el (compilation-start): Try globbing the arg to
2610 `cd' (bug#15417).
2611
2612 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2613
2614 Sync with Tramp 2.2.8.
2615
2616 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2617 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2618 * net/trampver.el: Update release number.
2619
2620 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2621
2622 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2623 and default-process-coding-system for darwin only.
2624
2625 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2626
2627 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2628
2629 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2630
2631 * vc/vc-git.el (vc-git-grep): Disable pager.
2632
2633 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2634
2635 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2636 Use :url instead of :homepage, as per
2637 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2638
2639 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2640 non-nil, use `syntax-ppss' (Bug#15251).
2641
2642 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2643
2644 * progmodes/octave.el (inferior-octave-startup-file):
2645 Prefer ~/.emacs.d/init_octave.m.
2646
2647 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2648
2649 * emacs-lisp/package.el (package-desc-from-define):
2650 Accept additional arguments as plist, convert them to an alist and store
2651 them in the `extras' slot.
2652 (package-generate-description-file): Convert extras alist back to
2653 plist and append to the `define-package' form arguments.
2654 (package--alist-to-plist): New function.
2655 (package--ac-desc): Add `extras' slot.
2656 (package--add-to-archive-contents): Check if the archive-contents
2657 vector is long enough, and if it is, pass its `extras' slot value
2658 to `package-desc-create'.
2659 (package-buffer-info): Call `lm-homepage', pass the returned value
2660 to `package-desc-from-define'.
2661 (describe-package-1): Render the homepage button (Bug#13291).
2662
2663 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2664 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2665
2666 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2667
2668 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2669 and default-process-coding-system to utf-8-unix (Bug#15402).
2670
2671 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2672
2673 * subr.el (looking-back): Do not recommend using looking-back.
2674
2675 2013-09-28 Alan Mackenzie <acm@muc.de>
2676
2677 Fix indentation/fontification of Java enum with "implements".
2678
2679 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2680 regexp which matches "implements", etc., in Java.
2681 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2682 specifier clauses coming after "enum".
2683 * progmodes/cc-fonts.el (c-font-lock-declarations)
2684 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2685 after "enum".
2686
2687 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2688
2689 * faces.el (region): Change ns_selection_color to
2690 ns_selection_fg_color, add ns_selection_bg_color.
2691
2692 2013-09-28 Leo Liu <sdl.web@gmail.com>
2693
2694 * progmodes/octave.el (inferior-octave-completion-table)
2695 (inferior-octave-completion-at-point): Minor tweaks.
2696
2697 * textmodes/ispell.el (ispell-lookup-words): Rename from
2698 lookup-words. (Bug#15460)
2699 (lookup-words): Obsolete.
2700 (ispell-complete-word, ispell-command-loop): All uses changed.
2701
2702 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2703
2704 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2705 (octave-mode-menu): Add octave-send-buffer.
2706 (octave-send-buffer): New function.
2707
2708 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2709
2710 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2711 octave-lookfor.
2712 (octave-mode-menu): Add octave-lookfor.
2713 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2714 octave-lookfor.
2715 (octave-lookfor): New function.
2716
2717 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2718
2719 * emacs-lisp/cl-macs.el:
2720 (cl--loop-destr-temps): Remove.
2721 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2722 its convention.
2723 (cl--loop-set-iterator-function): New function.
2724 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2725 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2726 Bind `it' with `let' instead of substituting it with `cl-subst'.
2727 (cl--unused-var-p): New function.
2728 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2729 Eliminate some unused variable warnings (bug#15326).
2730
2731 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2732
2733 * doc-view.el (doc-view-scale-reset): Rename from
2734 `doc-view-reset-zoom-level'.
2735 (doc-view-scale-adjust): New command.
2736 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2737 `doc-view-scale-adjust'.
2738
2739 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2740
2741 * doc-view.el (doc-view-reset-zoom-level): New command.
2742 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2743 zoom commands (bug#15466).
2744
2745 2013-09-26 Kenichi Handa <handa@gnu.org>
2746
2747 * international/quail.el (quail-help): Make it not a command.
2748
2749 2013-09-26 Leo Liu <sdl.web@gmail.com>
2750
2751 * minibuffer.el (completion-all-sorted-completions): Make args
2752 optional as they are.
2753
2754 2013-09-25 Daniel Colascione <dancol@dancol.org>
2755
2756 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2757 specs are and that they're not evaluated.
2758
2759 2013-09-24 Sam Steingold <sds@gnu.org>
2760
2761 * midnight.el (clean-buffer-list-kill-regexps)
2762 (clean-buffer-list-kill-buffer-names): Update for the new Man
2763 buffer naming which includes the object name.
2764
2765 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2766
2767 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2768 (eshell-parse-command, eshell-parse-pipeline): Use it since
2769 eshell-separate-commands requires a dynamic scoped var.
2770 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2771
2772 2013-09-23 Leo Liu <sdl.web@gmail.com>
2773
2774 * autoinsert.el (auto-insert-alist): Make the value of
2775 lexical-binding match its file setting.
2776
2777 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2778
2779 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2780
2781 * autoarg.el (autoarg-kp-digit-argument):
2782 * electric.el (Electric-command-loop):
2783 * kmacro.el (kmacro-step-edit-insert):
2784 Do not set universal-argument-num-events.
2785
2786 2013-09-22 Leo Liu <sdl.web@gmail.com>
2787
2788 * files.el (interpreter-mode-alist): Add octave.
2789
2790 2013-09-21 Alan Mackenzie <acm@muc.de>
2791
2792 C++: fontify identifier in declaration following "public:" correctly.
2793 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2794 to match "public", etc.
2795 (c-decl-prefix-re): Add ":" into the C++ value.
2796 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2797 bit. Add a check for a ":" preceded by "public", etc.
2798
2799 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2800
2801 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2802 recognized by GDB 7.5 and later.
2803
2804 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2805
2806 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2807
2808 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2809
2810 * subr.el (internal--call-interactively): New const.
2811 (called-interactively-p): Use it (bug#3984).
2812
2813 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2814
2815 * vc/pcvs.el (cvs-mode-ignore):
2816 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2817 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2818
2819 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2820
2821 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2822 (eshell-ls-orig-insert-directory): Remove.
2823 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2824 (eshell-ls-use-in-dired): Use advice-add/remove.
2825 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2826 Add `orig-fun' arg for use in :around advice.
2827 Make it check (redundantly) eshell-ls-use-in-dired.
2828
2829 2013-09-19 Glenn Morris <rgm@gnu.org>
2830
2831 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2832
2833 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2834
2835 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2836
2837 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2838
2839 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2840 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2841 (tramp-get-remote-python): New defuns.
2842 (tramp-get-remote-uid-with-perl)
2843 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2844 contributed by yary <not.com@gmail.com> (tiny change).
2845 (tramp-get-remote-uid-with-python)
2846 (tramp-get-remote-gid-with-python): New defuns. Python code
2847 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2848 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2849
2850 2013-09-19 Glenn Morris <rgm@gnu.org>
2851
2852 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2853
2854 * eshell/em-unix.el (eshell-remove-entries):
2855 Rename argument to avoid name-clash with global `top-level'.
2856
2857 * eshell/esh-proc.el (eshell-kill-process-function):
2858 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2859 (eshell-reset-after-proc): Remove unused arg `proc'.
2860
2861 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2862 (directory-files-and-attributes): Mark unused arg.
2863
2864 * eshell/em-unix.el (eshell-remove-entries):
2865 Remove unused arg `path'. Update callers.
2866
2867 * eshell/em-hist.el (eshell-hist-parse-arguments):
2868 Remove unused arg `silent'. Update callers.
2869
2870 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2871 Fix (f)boundp mix-up.
2872
2873 * eshell/em-smart.el (eshell-smart-scroll-window)
2874 (eshell-disable-after-change):
2875 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2876
2877 2013-09-18 Alan Mackenzie <acm@muc.de>
2878
2879 Fix fontification of type when followed by "const".
2880 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2881 "known" types from fontification.
2882
2883 2013-09-18 Glenn Morris <rgm@gnu.org>
2884
2885 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2886 (chart-face-list): Drop Emacsen without display-color-p.
2887
2888 * net/eww.el (libxml-parse-html-region): Declare.
2889 (eww-display-html): Explicit error if no libxml2 support.
2890
2891 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2892
2893 * image.el (image-type-from-buffer, image-multi-frame-p):
2894 Remove --without-x warning/error.
2895
2896 * mouse.el (mouse-yank-primary):
2897 * term.el (term-mouse-paste):
2898 Reorder to silence --without-x compilation.
2899
2900 * mpc.el (doc-view-mode): Silence --without-x compilation.
2901
2902 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2903 Silence --without-x compilation.
2904
2905 * progmodes/gud.el (gud-find-file, gud-mode):
2906 Silence --without-x compilation.
2907 (tooltip-mode): Declare.
2908
2909 * wdired.el (dired-backup-overwrite): Remove declaration.
2910 (wdired-mode-map): Add doc string.
2911
2912 * custom.el (x-get-resource): Declare.
2913
2914 * eshell/em-glob.el (ange-cache):
2915 * eshell/em-unix.el (ange-cache): Declare.
2916
2917 * faces.el (x-display-list, x-open-connection, x-get-resource):
2918 Declare.
2919
2920 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2921 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2922 Declare.
2923
2924 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2925
2926 * net/gnutls.el (gnutls-log-level): Declare.
2927
2928 * net/shr.el (image-size, image-animate): Declare.
2929
2930 * simple.el (font-info): Declare.
2931
2932 * subr.el (x-popup-dialog): Declare.
2933
2934 * term/common-win.el (x-select-enable-primary)
2935 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2936 Declare.
2937
2938 * term/ns-win.el (x-handle-args): Declare.
2939
2940 * term/x-win.el (x-select-enable-clipboard): Declare.
2941
2942 * term/w32-win.el (create-default-fontset): Declare.
2943
2944 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2945 Declare.
2946
2947 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2948 (fit-frame-to-buffer): Explicit error if --without-x.
2949 (mouse-autoselect-window-select): Silence compiler.
2950
2951 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2952
2953 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2954 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2955 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2956 * eshell/esh-util.el (eshell-sublist):
2957 Remove unused local variables.
2958
2959 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2960
2961 * textmodes/two-column.el: Make 2C-split work for --without-x.
2962 (scroll-bar-columns): Autoload.
2963 (top-level): Require fringe when compiling.
2964
2965 2013-09-18 Leo Liu <sdl.web@gmail.com>
2966
2967 * subr.el (add-hook): Robustify to handle closure as well.
2968
2969 2013-09-17 Glenn Morris <rgm@gnu.org>
2970
2971 * simple.el (messages-buffer-mode-map): Unbind "g".
2972
2973 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2974
2975 * help-mode.el (help-mode-finish): Use derived-mode-p.
2976 Remove obsolete highlighting.
2977
2978 * play/life.el (life-mode): Use define-derived-mode. Derive from
2979 special-mode.
2980 (life): Let-bind inhibit-read-only.
2981 (life-setup): Avoid `setq'. Use `life-mode'.
2982
2983 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2984 which should not be needed any more.
2985 (package-menu-refresh, package-menu-describe-package): Use user-error.
2986
2987 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2988 (eshell-post-rewrite-command-hook): Make obsolete.
2989 (eshell-parse-command): Simplify.
2990 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2991 (eshell--cmd): Declare.
2992 (eshell-parse-pipeline): Remove unused var `final-p'.
2993 Pass a dynvar to eshell-post-rewrite-command-hook.
2994 Implement the new eshell-post-rewrite-command-function.
2995 (eshell-invoke-directly): Remove unused arg `input'.
2996 * eshell/esh-io.el (eshell-io-initialize):
2997 Use eshell-post-rewrite-command-function (bug#15399).
2998 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2999 adjust to new calling convention.
3000 (eshell-create-handles): Rename args to avoid clashing with dynvar
3001 `standard-output'.
3002
3003 2013-09-17 Glenn Morris <rgm@gnu.org>
3004
3005 * simple.el (messages-buffer-mode): New major mode.
3006 (messages-buffer): New function.
3007 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3008 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3009 (ert-run-test): Use `messages-buffer' function.
3010 (ert--force-message-log-buffer-truncation): Ignore read-only.
3011 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3012 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3013
3014 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3015
3016 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3017
3018 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3019
3020 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3021
3022 * icomplete.el (icomplete-in-buffer): New var.
3023 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3024 vars and replace them with functions.
3025 (icomplete-minibuffer-setup): Adjust accordingly.
3026 (icomplete--completion-table, icomplete--completion-predicate)
3027 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3028 New functions.
3029 (icomplete-forward-completions, icomplete-backward-completions)
3030 (icomplete-simple-completing-p, icomplete-exhibit)
3031 (icomplete-completions): Use them.
3032 (icomplete--in-region-buffer): New var.
3033 (icomplete--in-region-setup): New function.
3034 (icomplete-mode): Use it.
3035
3036 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3037 (bug#15379).
3038 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3039 return args and options.
3040 (eshell-eval-using-options): Use the new return value of
3041 eshell--do-opts to set the options's vars in their scope.
3042 (eshell--set-option): Rename from eshell-set-option.
3043 Add arg `opt-vals'.
3044 (eshell--process-option): Rename from eshell-process-option.
3045 Add arg `opt-vals'.
3046 (eshell--process-args): Use an `opt-vals' alist to store the options's
3047 values during their processing and return them additionally to the
3048 remaining args.
3049
3050 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3051
3052 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3053 continuation character an operator, as far as indentation is
3054 concerned (Bug#15369).
3055
3056 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3057
3058 * window.el (window--state-put-2): Don't process buffer state
3059 when buffer doesn't exist any more (Bug#15382).
3060
3061 2013-09-15 Glenn Morris <rgm@gnu.org>
3062
3063 * eshell/em-unix.el (eshell/rm):
3064 Make -f ignore missing files. (Bug#15373)
3065
3066 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3067 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3068 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3069
3070 2013-09-14 Glenn Morris <rgm@gnu.org>
3071
3072 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3073
3074 2013-09-13 Glenn Morris <rgm@gnu.org>
3075
3076 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3077 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3078
3079 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3080
3081 * frame.el (x-focus-frame): Mark as declared in frame.c.
3082
3083 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3084
3085 * ls-lisp.el: Use advice-add.
3086 (original-insert-directory): Remove.
3087 (ls-lisp--insert-directory): Rename from insert-directory; add
3088 `orig-fun' argument.
3089 (insert-directory): Advise.
3090
3091 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3092
3093 * term.el (term-emulate-terminal): Decode the command string
3094 before passing it to term-command-hook. (Bug#15337)
3095
3096 2013-09-13 Glenn Morris <rgm@gnu.org>
3097
3098 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3099
3100 * eshell/esh-ext.el (eshell-search-path): Declare.
3101
3102 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3103 Otherwise an error occurs if eshell-dirs module not loaded.
3104
3105 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3106
3107 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3108
3109 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3110 `tramp-check-proper-host'. Check for a valid method name.
3111
3112 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3113 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3114 * net/tramp-sh.el (tramp-maybe-open-connection):
3115 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3116
3117 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3118 also for hash values.
3119
3120 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3121
3122 * term/ns-win.el (parameters): Don't declare as dynamic.
3123 (before-make-frame-hook): Don't add ineffective function.
3124
3125 * eshell/*.el: Use lexical-binding (bug#15231).
3126
3127 2013-09-12 Kenichi Handa <handa@gnu.org>
3128
3129 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3130
3131 2013-09-12 Glenn Morris <rgm@gnu.org>
3132
3133 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3134 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3135
3136 * subr.el (do-after-load-evaluation): Also give compiler warnings
3137 when obsolete files are used (except by obsolete files).
3138
3139 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3140 in the status output, assume `filename' is the first. (Bug#15322)
3141
3142 * vc/vc.el (vc-deduce-fileset): Doc fix.
3143
3144 * calc/calc-help.el (Info-goto-node):
3145 * progmodes/cperl-mode.el (Info-find-node):
3146 * vc/ediff.el (Info-goto-node): Update declarations.
3147
3148 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3149
3150 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3151 (vc-bzr-pull): Require vc-dispatcher.
3152 * vc/vc-git.el (vc-compilation-mode): Declare.
3153 (vc-git-pull): Require vc-dispatcher.
3154
3155 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3156
3157 * progmodes/octave.el (help-button-action): Declare.
3158
3159 * shell.el (shell-directory-tracker): Output error as a message
3160 rather than just returning it as a string.
3161 (shell-process-pushd): Remove useless use of message.
3162
3163 * dframe.el (dframe-timer-fn):
3164 * files.el (dir-locals-read-from-file):
3165 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3166 (mpc-format):
3167 * reveal.el (reveal-post-command):
3168 * saveplace.el (load-save-place-alist-from-file):
3169 * shell.el (shell-resync-dirs):
3170 * w32-common-fns.el (x-get-selection-value):
3171 * emacs-lisp/copyright.el (copyright-find-copyright):
3172 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3173 * emulation/tpu-edt.el (tpu-copy-keyfile):
3174 * play/bubbles.el (bubbles--mark-neighbourhood):
3175 * progmodes/executable.el
3176 (executable-make-buffer-file-executable-if-script-p):
3177 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3178
3179 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3180
3181 Cleanup Eshell to rely less on dynamic scoping.
3182 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3183 last-value, and ext-command here. Bind `args' closer to `body'.
3184 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3185 (eshell--args): Declare new dynamic var.
3186 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3187 last-value, and ext-command. Pass `args' to `body'.
3188 (eshell-process-args): Bind eshell--args.
3189 (eshell-set-option): Use eshell--args.
3190 * eshell/eshell.el (eshell): Use derived-mode-p.
3191 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3192 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3193 (eshell-glob-function): Declare.
3194 * eshell/esh-util.el: Require cl-lib.
3195 (eshell-read-hosts-file): Avoid add-to-list.
3196 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3197 `err'.
3198 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3199 Declare.
3200 (eshell/diff): Remove unused var `err'.
3201 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3202 `killflag'.
3203 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3204 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3205 first use.
3206 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3207 Move declaration before first use.
3208 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3209 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3210 rely on cl-return.
3211
3212 2013-09-12 Glenn Morris <rgm@gnu.org>
3213
3214 * term/ns-win.el (global-map): Remove binding for ispell-next,
3215 deleted 1999-05-29. (Bug#15357)
3216
3217 2013-09-11 Glenn Morris <rgm@gnu.org>
3218
3219 * echistory.el (electric-command-history): Remove call to deleted func.
3220
3221 * play/landmark.el (landmark-mode): Fix typos.
3222
3223 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3224 Check cvs-sort-ignore-file is bound.
3225
3226 * savehist.el: No need for cl when compiling on Emacs.
3227
3228 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3229
3230 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3231 (bug#15338).
3232 (eshell-self-insert-command, eshell-send-invisible):
3233 Remove unused argument.
3234 (eshell-handle-control-codes): Remove unused var `orig'.
3235 Avoid delete-backward-char.
3236
3237 * files.el (set-auto-mode): Simplify a bit further.
3238
3239 2013-09-11 Glenn Morris <rgm@gnu.org>
3240
3241 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3242 (set-auto-mode): Don't regexp-quote elements.
3243 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3244 * progmodes/cc-mode.el (interpreter-mode-alist):
3245 * progmodes/ruby-mode.el (interpreter-mode-alist):
3246 Revert previous change.
3247
3248 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3249
3250 * play/snake.el (snake-mode):
3251 * play/mpuz.el (mpuz-mode):
3252 * play/landmark.el (lm-mode):
3253 * play/blackbox.el (blackbox-mode):
3254 * play/5x5.el (5x5-mode):
3255 * obsolete/options.el (Edit-options-mode):
3256 * net/quickurl.el (quickurl-list-mode):
3257 * net/newst-treeview.el (newsticker-treeview-mode):
3258 * mail/rmailsum.el (rmail-summary-mode):
3259 * mail/mspools.el (mspools-mode):
3260 * locate.el (locate-mode):
3261 * ibuffer.el (ibuffer-mode):
3262 * emulation/ws-mode.el (wordstar-mode):
3263 * emacs-lisp/debug.el (debugger-mode):
3264 * array.el (array-mode):
3265 * net/eudc.el (eudc-mode): Use define-derived-mode.
3266 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3267 Move initialization into declaration.
3268 (mairix-searches-mode): Use define-derived-mode.
3269 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3270 (eudc-edit-hotlist): Use dolist.
3271 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3272 (Man-mode): Use define-derived-mode.
3273 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3274 (Info-edit-mode): Use define-derived-mode.
3275 (Info-cease-edit): Use Info-mode.
3276 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3277 into declaration.
3278 (eshell-mode): Use define-derived-mode.
3279 * chistory.el (command-history-mode-map): Rename from
3280 command-history-map.
3281 (command-history-mode): Use define-derived-mode.
3282 (Command-history-setup): Remove function.
3283 * calc/calc.el (calc-trail-mode-map): New var.
3284 (calc-trail-mode): Use define-derived-mode.
3285 (calc-trail-buffer): Set calc-main-buffer manually.
3286 * bookmark.el (bookmark-insert-annotation): New function.
3287 (bookmark-edit-annotation): Use it.
3288 (bookmark-edit-annotation-mode): Make it a proper major mode.
3289 (bookmark-send-edited-annotation): Use derived-mode-p.
3290 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3291 closer to its ideal place. Use \' to match EOS.
3292
3293 * profiler.el (profiler-calltree-find): Use function-equal.
3294
3295 2013-09-10 Glenn Morris <rgm@gnu.org>
3296
3297 * files.el (interpreter-mode-alist): Convert to regexps.
3298 (set-auto-mode): Adapt for this. (Bug#15306)
3299 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3300 Comment out unused variable.
3301 * progmodes/cc-mode.el (interpreter-mode-alist):
3302 * progmodes/python.el (interpreter-mode-alist):
3303 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3304 * progmodes/sh-script.el (sh-set-shell):
3305 No longer use interpreter-mode-alist to get list of shells.
3306
3307 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3308
3309 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3310
3311 * simple.el: Use set-temporary-overlay-map for universal-argument.
3312 (universal-argument-map): Don't use default-bindings (bug#15317).
3313 Bind switch-frame explicitly. Replace universal-argument-minus with
3314 a conditional binding.
3315 (universal-argument-num-events, saved-overriding-map): Remove.
3316 (restore-overriding-map): Remove.
3317 (universal-argument--mode): Rename from save&set-overriding-map,
3318 and rewrite.
3319 (universal-argument, universal-argument-more, negative-argument)
3320 (digit-argument): Adjust accordingly.
3321 (universal-argument-minus): Remove.
3322 (universal-argument-other-key): Remove.
3323
3324 * subr.el (with-demoted-errors): Add `format' argument.
3325
3326 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3327
3328 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3329 `tramp-cleanup-connection'.
3330
3331 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3332 parameters KEEP-DEBUG and KEEP-PASSWORD.
3333
3334 * net/tramp.el (tramp-file-name-handler):
3335 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3336 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3337 (tramp-maybe-open-connection):
3338 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3339 Use `tramp-cleanup-connection'.
3340
3341 * net/tramp-sh.el (tramp-maybe-open-connection):
3342 Catch 'uname-changed inside the progress reporter.
3343
3344 2013-09-10 Glenn Morris <rgm@gnu.org>
3345
3346 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3347
3348 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3349 returns "alternate access method" in mode (eg "-rw-r--r--.").
3350
3351 2013-09-08 Glenn Morris <rgm@gnu.org>
3352
3353 * saveplace.el (load-save-place-alist-from-file):
3354 Demote errors. (Bug#15305)
3355
3356 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3357
3358 Improve compatibility with older Emacsen, and XEmacs.
3359
3360 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3361 only if it is bound. It isn't for XEmacs.
3362 (with-tramp-progress-reporter): Do not let-bind `result'.
3363 This yields to scoping errors in XEmacs.
3364 (tramp-handle-make-auto-save-file-name): New function, moved from
3365 tramp-sh.el.
3366
3367 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3368 for `make-auto-save-file-name'.
3369 (tramp-adb--gnu-switches-to-ash):
3370 Use `tramp-compat-replace-regexp-in-string'.
3371
3372 * net/tramp-cache.el (tramp-cache-print): Call
3373 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3374
3375 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3376 bound. It isn't for XEmacs.
3377
3378 * net/tramp-compat.el (tramp-compat-copy-file):
3379 Catch `wrong-number-of-arguments' error.
3380 (tramp-compat-replace-regexp-in-string): New defun.
3381
3382 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3383 for `make-auto-save-file-name'.
3384 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3385 `copy-file'.
3386 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3387 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3388 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3389
3390 * net/tramp-gw.el (tramp-gw-open-network-stream):
3391 Use `tramp-compat-replace-regexp-in-string'.
3392
3393 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3394 Call `tramp-handle-make-auto-save-file-name'.
3395 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3396 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3397 (tramp-sh-file-inotifywait-process-filter):
3398 Use `tramp-compat-replace-regexp-in-string'.
3399 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3400
3401 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3402 for `make-auto-save-file-name'.
3403 (tramp-smb-handle-copy-directory):
3404 Call `tramp-compat-replace-regexp-in-string'.
3405 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3406 (tramp-smb-handle-copy-file): Improve error message.
3407 (tramp-smb-handle-rename-file): Rename directly only in case
3408 `newname' does not exist yet. This is a restriction of smbclient.
3409 (tramp-smb-maybe-open-connection): Rerun the function only when
3410 `auth-sources' is non-nil.
3411
3412 2013-09-08 Kenichi Handa <handa@gnu.org>
3413
3414 * international/characters.el: Set category "^" (Combining) for
3415 more characters.
3416
3417 2013-09-07 Alan Mackenzie <acm@muc.de>
3418
3419 Correctly fontify Java class constructors.
3420 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3421 in Java Mode.
3422 (c-recognize-typeless-decls): Set the Java value to t.
3423 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3424 While handling a "(", add a check for, effectively, Java, and handle a
3425 "typeless" declaration there.
3426
3427 2013-09-07 Roland Winkler <winkler@gnu.org>
3428
3429 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3430 field subtitle for entry type book.
3431
3432 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3433
3434 * minibuffer.el: Make minibuffer-complete call completion-in-region
3435 rather than other way around.
3436 (completion--some, completion-pcm--find-all-completions):
3437 Don't delay signals when debugging.
3438 (minibuffer-completion-contents): Beware fields within the
3439 minibuffer contents.
3440 (completion-all-sorted-completions): Use defvar-local.
3441 (completion--do-completion, completion--cache-all-sorted-completions)
3442 (completion-all-sorted-completions, minibuffer-force-complete):
3443 Add args `beg' and `end'.
3444 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3445 (minibuffer-complete): Use completion-in-region.
3446 (completion-complete-and-exit): New fun, extracted from
3447 minibuffer-complete-and-exit.
3448 (minibuffer-complete-and-exit): Use it.
3449 (completion--complete-and-exit): Rename from
3450 minibuffer--complete-and-exit.
3451 (completion-in-region--single-word): New function, extracted from
3452 minibuffer-complete-word.
3453 (minibuffer-complete-word): Use it.
3454 (display-completion-list): Make `common-substring' argument obsolete.
3455 (completion--in-region): Call completion--in-region-1 instead of
3456 minibuffer-complete.
3457 (completion-help-at-point): Pass boundaries to
3458 minibuffer-completion-help as args rather than via an overlay.
3459 (completion-pcm--string->pattern): Use `any-delim'.
3460 (completion-pcm--optimize-pattern): New function.
3461 (completion-pcm--pattern->regex): Handle `any-delim'.
3462 * icomplete.el (icomplete-forward-completions)
3463 (icomplete-backward-completions, icomplete-completions):
3464 Adjust calls to completion-all-sorted-completions and
3465 completion--cache-all-sorted-completions.
3466 (icomplete-with-completion-tables): Default to t.
3467 * emacs-lisp/crm.el (crm--current-element): Rename from
3468 crm--select-current-element. Don't put an overlay but return the
3469 boundaries instead.
3470 (crm--completion-command): Take two new args to bind to the boundaries.
3471 (crm-completion-help): Adjust accordingly.
3472 (crm-complete): Use completion-in-region.
3473 (crm-complete-word): Use completion-in-region--single-word.
3474 (crm-complete-and-exit): Use completion-complete-and-exit.
3475
3476 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3477
3478 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3479 than dynamically.
3480
3481 2013-09-06 Juri Linkov <juri@jurta.org>
3482
3483 * info.el (Info-display-images-node): When image file doesn't exist
3484 display text version of the image if it's provided in the Info file.
3485 Otherwise, display the location of missing image from SRC attribute.
3486 Add help-echo text property from ALT attribute. (Bug#15279)
3487
3488 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3489
3490 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3491 (edit-abbrevs-mode): Use define-derived-mode.
3492
3493 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3494 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3495 that it's defined.
3496 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3497 Use define-derived-mode.
3498
3499 * epg.el (epg-start-encrypt): Minor CSE simplification.
3500
3501 2013-09-06 William Xu <william.xwl@gmail.com>
3502
3503 * arc-mode.el: Add support for 7za (bug#15264).
3504 (archive-7z-program): New var.
3505 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3506 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3507 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3508
3509 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3510
3511 Remove URL syntax.
3512
3513 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3514 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3515 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3516 (tramp-postfix-host-format, tramp-file-name-regexp)
3517 (tramp-completion-file-name-regexp)
3518 (tramp-completion-dissect-file-name)
3519 (tramp-handle-substitute-in-file-name): Remove 'url case.
3520 (tramp-file-name-regexp-url)
3521 (tramp-completion-file-name-regexp-url): Remove constants.
3522
3523 2013-09-06 Glenn Morris <rgm@gnu.org>
3524
3525 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3526
3527 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3528
3529 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3530 keywords" below "here-doc beginnings" (Bug#15270).
3531
3532 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3533
3534 * subr.el (pop): Use `car-safe'.
3535 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3536 to detect unused `pop' return value.
3537
3538 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3539 var `block-regexp'.
3540 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3541 (python-fill-string): Remove unused var `marker'.
3542 (python-skeleton-add-menu-items): Remove unused var `items'.
3543
3544 * international/mule-cmds.el: Require CL.
3545 (find-coding-systems-for-charsets): Avoid add-to-list.
3546 (sanitize-coding-system-list): New function, extracted from
3547 select-safe-coding-system-interactively.
3548 (select-safe-coding-system-interactively): Use it.
3549 (read-input-method-name): Accept symbols for `default'.
3550
3551 * emacs-lisp/advice.el (defadvice): Add indent rule.
3552
3553 2013-09-05 Daniel Hackney <dan@haxney.org>
3554
3555 * dired-x.el:
3556 * net/ange-ftp.el:
3557 * net/browse-url.el:
3558 * net/dbus.el:
3559 * net/eudc.el:
3560 * net/eudcb-ldap.el:
3561 * net/eww.el:
3562 * net/imap.el:
3563 * printing.el:
3564 * vc/ediff-diff.el:
3565 * vc/ediff-init.el:
3566 * vc/ediff-merg.el:
3567 * vc/ediff-mult.el:
3568 * vc/ediff-util.el:
3569 * vc/ediff-wind.el:
3570 * vc/ediff.el:
3571 * vc/emerge.el:
3572 * vc/pcvs.el:
3573 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3574 byte compiler. Remove some unused let-bound variables.
3575
3576 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3577
3578 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3579 a "ref-cell", since it gets better optimized (bug#14883).
3580
3581 2013-09-05 Glenn Morris <rgm@gnu.org>
3582
3583 * progmodes/cc-awk.el (c-forward-sws): Declare.
3584
3585 2013-09-04 Glenn Morris <rgm@gnu.org>
3586
3587 * generic-x.el [rul-generic-mode]: Require cc-mode.
3588 (c++-mode-syntax-table): Declare.
3589 (rul-generic-mode-syntax-table): Init in the defvar.
3590
3591 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3592
3593 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3594 (vc-do-command, vc-set-async-update):
3595 * vc/vc-mtn.el (vc-mtn-dir-status):
3596 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3597 (vc-hg-pull, vc-hg-merge-branch):
3598 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3599 (vc-git-merge-branch):
3600 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3601 (vc-cvs-dir-status-files):
3602 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3603 (vc-bzr-dir-status-files):
3604 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3605 * vc/vc-annotate.el: Use lexical-binding.
3606 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3607 (vc-sentinel-movepoint): Declare.
3608 (vc-annotate): Don't use `goto-line'.
3609 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3610 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3611 (vc-sentinel-movepoint): Declare.
3612 * vc/vc-svn.el: Use lexical-binding.
3613 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3614 * vc/vc-sccs.el:
3615 * vc/vc-rcs.el: Use lexical-binding.
3616
3617 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3618 `deleted'. Don't drop errors silently.
3619
3620 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3621
3622 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3623
3624 * vc/vc.el (vc-ignore): Rewrite.
3625 (vc-default-ignore): New function.
3626 (vc-default-ignore-completion-table): Use find-ignore-file.
3627
3628 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3629 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3630 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3631 Remove. Most code moved to vc.el.
3632
3633 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3634
3635 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3636 * net/tramp-smb.el (tramp-smb-get-file-entries):
3637 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3638 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3639
3640 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3641 Update call to it.
3642 (eww-change-select): Remove unused var `properties'.
3643 (eww-make-unique-file-name): Remove unused var `base'.
3644
3645 * finder.el (finder-compile-keywords): Don't mess with windows.
3646
3647 * calculator.el (calculator-funcall): Fix typo in last change.
3648
3649 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3650
3651 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3652 <pkg>-autoloads.el file stop us.
3653
3654 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3655 warnings, and factor out common code.
3656
3657 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3658
3659 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3660 two-character operators and whether the character preceding them
3661 changes their meaning (Bug#15208).
3662
3663 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3664
3665 Format code sent to Python shell for robustness.
3666 * progmodes/python.el (python-shell-buffer-substring):
3667 New function.
3668 (python-shell-send-region, python-shell-send-buffer): Use it.
3669
3670 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3671
3672 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3673 * net/tramp.el (tramp-user-error): ... here.
3674 (tramp-find-method, tramp-check-proper-host)
3675 (tramp-dissect-file-name, tramp-debug-message)
3676 (tramp-handle-shell-command):
3677 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3678 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3679
3680 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3681
3682 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3683
3684 * avoid.el (mouse-avoidance-point-position)
3685 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3686 returns nil.
3687
3688 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3689
3690 * progmodes/python.el (python-shell-completion-get-completions):
3691 Drop use of deleted `comint-last-prompt-overlay'.
3692 (python-nav-if-name-main): New command.
3693
3694 2013-09-01 Glenn Morris <rgm@gnu.org>
3695
3696 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3697 Avoid leading space in $wins. Otherwise the sed command used by
3698 eg compile-main ends up containing "/*.el". (Bug#15170)
3699
3700 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3701
3702 2013-08-30 Glenn Morris <rgm@gnu.org>
3703
3704 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3705 Fix is-this-a-directory logic. (Bug#15220)
3706
3707 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3708
3709 * textmodes/css-mode.el: Use SMIE.
3710 (css-smie-grammar): New var.
3711 (css-smie--forward-token, css-smie--backward-token)
3712 (css-smie-rules): New functions.
3713 (css-mode): Use them.
3714 (css-navigation-syntax-table): Remove var.
3715 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3716 (css-indent-calculate, css-indent-line): Remove functions.
3717
3718 Misc changes to reduce use of `(lambda...); and other cleanups.
3719 * cus-edit.el: Use lexical-binding.
3720 (customize-push-and-save, customize-apropos)
3721 (custom-buffer-create-internal): Use closures.
3722 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3723 * progmodes/ada-xref.el: Use setq.
3724 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3725 * dframe.el: Use lexical-binding.
3726 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3727 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3728 * descr-text.el: Use lexical-binding.
3729 (describe-text-widget, describe-text-sexp, describe-property-list):
3730 Use closures.
3731 * comint.el (comint-history-isearch-push-state): Use a closure.
3732 * calculator.el: Use lexical-binding.
3733 (calculator-number-to-string): Make it work with lexical-binding.
3734 (calculator-funcall): Same and use cl-letf.
3735
3736 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3737 (lisp--company-doc-string, lisp--company-location): New functions.
3738 (lisp-completion-at-point): Use them to improve Company support.
3739
3740 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3741 params of lambda expressions.
3742 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3743 (ruby-smie--opening-pipe-p): New function.
3744 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3745 symbols and matched |...| for formal params.
3746 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3747 from being treated as hanging. Handle "rescue".
3748
3749 2013-08-29 Glenn Morris <rgm@gnu.org>
3750
3751 * progmodes/cc-engine.el (c-pull-open-brace):
3752 Move definition before use.
3753
3754 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3755
3756 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3757 are immutable. Don't use `unsafe' any more.
3758 (cl--defsubst-expand): Don't substitute at the same time as keeping
3759 a residual unused let-binding. Don't use `unsafe' any more.
3760
3761 2013-08-29 Glenn Morris <rgm@gnu.org>
3762
3763 * calendar/cal-china.el (calendar-chinese-year-cache):
3764 Recenter on 2015.
3765
3766 * nxml/nxml-util.el (nxml-debug-clear-inside):
3767 Use cl-loop rather than loop.
3768
3769 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3770
3771 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3772
3773 2013-08-28 Glenn Morris <rgm@gnu.org>
3774
3775 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3776
3777 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3778
3779 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3780
3781 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3782
3783 * simple.el (repeat-complex-command--called-interactively-skip):
3784 New function.
3785 (repeat-complex-command): Use it (bug#14136).
3786
3787 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3788 (c-define-abbrev-table): Add `doc' argument.
3789 (c-mode-abbrev-table, c++-mode-abbrev-table)
3790 (objc-mode-abbrev-table, java-mode-abbrev-table)
3791 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3792 (awk-mode-abbrev-table): Use it.
3793 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3794 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3795 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3796 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3797 Move initialization into the declaration; and remove any
3798 autoload cookie.
3799
3800 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3801 and dynamic let binding.
3802
3803 * vc/smerge-mode.el: Remove redundant :group args.
3804
3805 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3806 to load-path.
3807
3808 2013-08-28 Juri Linkov <juri@jurta.org>
3809
3810 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3811 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3812 (isearch-other-meta-char): Handle an undefined shifted printing
3813 character by downshifting it. (Bug#15200)
3814
3815 2013-08-28 Juri Linkov <juri@jurta.org>
3816
3817 * isearch.el (isearch-search): Change regexp error message for
3818 non-regexp searches. (Bug#15166)
3819
3820 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3821
3822 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3823 for portability to hosts where /bin/sh has problems.
3824
3825 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3826
3827 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3828
3829 2013-08-27 Juri Linkov <juri@jurta.org>
3830
3831 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3832 in the keyboard macro. (Bug#15126)
3833
3834 2013-08-27 Juri Linkov <juri@jurta.org>
3835
3836 * isearch.el (isearch-quote-char): Comment out converting unibyte
3837 to multibyte, thus syncing with its `quoted-insert' counterpart.
3838 (Bug#15166)
3839
3840 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3841
3842 * window.el (display-buffer-use-some-window): Add missing
3843 argument in call of get-largest-window (Bug#15185).
3844 Reported by Stephen Leake.
3845
3846 2013-08-27 Glenn Morris <rgm@gnu.org>
3847
3848 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3849
3850 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3851
3852 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3853 from a matcher-function unless there's no more matches (bug#15161).
3854
3855 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3856
3857 * minibuffer.el: Revert change from 2013-08-20.
3858
3859 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3860 with text property `tramp-default', if appropriate.
3861 (tramp-check-proper-host): New defun.
3862 (tramp-dissect-file-name): Do not check hostname. Revert change
3863 of 2013-03-18.
3864 (tramp-backtrace): Make VEC-OR-PROC optional.
3865
3866 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3867 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3868 * net/tramp-sh.el (tramp-maybe-open-connection):
3869 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3870 Apply `tramp-check-proper-host'.
3871
3872 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3873
3874 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3875 lambda expression in order to have `describe-variable' display it.
3876
3877 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3878
3879 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3880 BUF can be optional. (Bug#15186)
3881
3882 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3883
3884 * progmodes/flymake.el (flymake-get-real-file-name-function):
3885 Fix broken customization. (Bug#15184)
3886
3887 2013-08-25 Alan Mackenzie <acm@muc.de>
3888
3889 Improve indentation of bracelists defined by macros (without "=").
3890
3891 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3892 expansion begins with "{", regard it as bracelist when it doesn't
3893 contain a ";".
3894
3895 Parse C++ inher-intro when there's a template split over 2 lines.
3896
3897 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3898 rigorously the search for "class" etc. followed by ":".
3899
3900 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3901 random languages a regexp which never matches rather than nil.
3902
3903 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3904
3905 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3906 (c-awk-regexp-one-line-possibly-open-char-list-re)
3907 (c-awk-one-line-possibly-open-regexp-re)
3908 (c-awk-one-line-non-syn-ws*-re): Remove.
3909 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3910 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3911 (c-awk-space*-unclosed-regexp-/-re): New constants.
3912 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3913 aren't regexp delimiters.
3914
3915 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3916 handling for a rare situation in AWK Mode involving unterminated
3917 strings/regexps.
3918
3919 2013-08-23 Glenn Morris <rgm@gnu.org>
3920
3921 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3922
3923 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3924
3925 * files.el (create-file-buffer): If the result would begin with
3926 spaces, prepend a "|" instead of removing them. (Bug#15162)
3927
3928 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3929
3930 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3931 text-properties (bug#15155).
3932
3933 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3934 exist any more.
3935 (calc-keypad-redraw): Remove unused var `pad'.
3936 (calc-keypad-press): Remove unused var `menu'.
3937
3938 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3939
3940 * window.el (display-buffer-pop-up-frame):
3941 Call pop-up-frame-function with BUFFER current so `make-frame' will
3942 use it as the new frame's buffer (Bug#15133).
3943
3944 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3945
3946 * calendar/timeclock.el: Minor cleanups.
3947 (timeclock-ask-before-exiting, timeclock-use-display-time):
3948 Use `symbol'.
3949 (timeclock-modeline-display): Define as alias before the
3950 actual definition.
3951 (timeclock-mode-line-display): Use define-minor-mode.
3952 (timeclock-day-list-template): Make it a function, add an argument.
3953 (timeclock-day-list-required, timeclock-day-list-length)
3954 (timeclock-day-list-debt, timeclock-day-list-span)
3955 (timeclock-day-list-break): Adjust calls accordingly.
3956
3957 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3958
3959 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3960 Use read--expression so that completion works again.
3961
3962 2013-08-21 Sam Steingold <sds@gnu.org>
3963
3964 Add rudimentary inferior shell interaction
3965 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3966 (sh-set-shell): Reset it.
3967 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3968 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3969
3970 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3971
3972 * align.el: Use lexical-binding.
3973 (align-region): Simplify accordingly.
3974
3975 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3976
3977 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3978
3979 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3980 `non-essential' up.
3981
3982 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3983
3984 * net/tramp.el:
3985 * net/tramp-adb.el:
3986 * net/tramp-cmds.el:
3987 * net/tramp-ftp.el:
3988 * net/tramp-gvfs.el:
3989 * net/tramp-gw.el:
3990 * net/tramp-sh.el: Don't wrap external variable declarations by
3991 `eval-when-compile'.
3992
3993 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3994
3995 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3996 now that Emacs supports ImageMagick animations.
3997
3998 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3999
4000 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4001 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4002
4003 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4004
4005 * window.el (mouse-autoselect-window-select): Do autoselect when
4006 mouse pointer is on margin.
4007
4008 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4009
4010 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4011
4012 2013-08-16 Glenn Morris <rgm@gnu.org>
4013
4014 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4015 Handle "Remote Directory" response of some clients. (Bug#15058)
4016
4017 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4018 Tweak warning. (Bug#14926)
4019
4020 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4021 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4022
4023 * image-mode.el (image-mode-map): Add menu items to reverse,
4024 increase, decrease, reset animation speed.
4025 (image--set-speed, image-increase-speed, image-decrease-speed)
4026 (image-reverse-speed, image-reset-speed): New functions.
4027 (image-mode-map): Add bindings for speed commands.
4028
4029 * image.el (image-animate-get-speed, image-animate-set-speed):
4030 New functions.
4031 (image-animate-timeout): Respect image :speed property.
4032
4033 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4034
4035 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4036 previous line (bug#15101).
4037 (debugger-eval-expression, debugger-record-expression):
4038 Use read--expression (bug#15102).
4039
4040 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4041
4042 Remove byte compiler warnings, visible when compiling with
4043 `byte-compile-force-lexical-warnings' set to t.
4044
4045 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4046 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4047 (tramp-handle-unhandled-file-name-directory)
4048 (tramp-handle-file-notify-add-watch, tramp-action-login)
4049 (tramp-action-succeed, tramp-action-permission-denied)
4050 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4051 arguments with "_".
4052
4053 * net/tramp-adb.el (tramp-adb-parse-device-names)
4054 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4055 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4056 (tramp-adb-handle-file-truename): Remove unused arguments.
4057
4058 * net/tramp-cache.el (tramp-flush-directory-property)
4059 (tramp-flush-connection-property, tramp-list-connections)
4060 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4061
4062 * net/tramp-compat.el (tramp-compat-make-temp-file):
4063 Rename FILENAME to F.
4064
4065 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4066 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4067 (tramp-zeroconf-parse-workstation-device-names)
4068 (tramp-zeroconf-parse-webdav-device-names)
4069 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4070
4071 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4072 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4073
4074 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4075 arguments.
4076 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4077 (tramp-sh-handle-insert-file-contents-literally)
4078 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4079 with "_".
4080 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4081 Remove unused variables.
4082
4083 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4084 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4085 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4086
4087 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4088 Make them a defconst.
4089 (tramp-uuencode-region): Remove unused variable.
4090
4091 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4092
4093 * frameset.el (frameset--prop-setter): New function.
4094 (frameset-prop): Add gv-setter declaration.
4095 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4096 parameter was already set in FILTERED. Doc fix.
4097 (frameset--record-minibuffer-relationships): Allow saving a
4098 minibufferless frame without its corresponding minibuffer frame.
4099 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4100 frame, if the frame id matches.
4101 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4102 frames before orphaned ones.
4103 (frameset-restore): Warn about orphaned windows, instead of error out.
4104
4105 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4106
4107 * window.el (window-make-atom): Don't overwrite parameter
4108 already present.
4109 (display-buffer-in-atom-window): Handle special case where we
4110 split an already atomic window.
4111 (window--major-non-side-window, display-buffer-in-side-window)
4112 (window--side-check): Ignore minibuffer window when walking
4113 window tree.
4114 (window-deletable-p): Return 'frame only if no other frame uses
4115 our minibuffer window.
4116 (record-window-buffer): Run buffer-list-update-hook.
4117 (split-window): Make sure window--check-frame won't destroy an
4118 existing atomic window in case the new window gets nested
4119 inside.
4120 (display-buffer-at-bottom): Ignore minibuffer window when
4121 walking window tree. Don't split a side window.
4122 (pop-to-buffer): Don't set-buffer here, the select-window call
4123 should do that.
4124 (mouse-autoselect-window-select): Autoselect only if we are in the
4125 text portion of the window.
4126
4127 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4128
4129 * net/shr.el (shr-parse-image-data): New function to grab both the
4130 data itself and the Content-Type.
4131 (shr-put-image): Use it.
4132
4133 * net/eww.el (eww-display-image): Ditto.
4134
4135 * image.el (image-content-type-suffixes): New variable.
4136
4137 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4138
4139 * progmodes/python.el (python-imenu--build-tree)
4140 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4141
4142 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4143
4144 * simple.el (backward-word): Mention the optional argument.
4145
4146 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4147
4148 * frameset.el (frameset--make): Rename constructor from make-frameset.
4149 (frameset-p, frameset-valid-p): Don't autoload.
4150 (frameset-valid-p): Use normal accessors.
4151
4152 2013-08-13 Glenn Morris <rgm@gnu.org>
4153
4154 * progmodes/compile.el (compile-command): Tweak example in doc.
4155 * obsolete/scribe.el (scribe-mode):
4156 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4157
4158 * mail/feedmail.el (feedmail-confirm-outgoing)
4159 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4160
4161 * cus-start.el (truncate-partial-width-windows): Fix type.
4162
4163 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4164
4165 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4166
4167 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4168
4169 * emacs-lisp/timer.el (timer--time-setter): New function.
4170 (timer--time): Use it as gv-setter.
4171
4172 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4173 setter is not a symbol.
4174
4175 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4176
4177 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4178 if sending fails. This makes debugging easier.
4179
4180 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4181
4182 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4183 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4184 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4185
4186 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4187
4188 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4189
4190 2013-08-12 Glenn Morris <rgm@gnu.org>
4191
4192 * format.el (format-annotate-function):
4193 Handle read-only text properties in the source. (Bug#14887)
4194
4195 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4196
4197 * net/eww.el (eww-display-html): Ignore coding system errors.
4198 One web site uses "utf-8lias" as the coding system.
4199
4200 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4201
4202 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4203
4204 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4205
4206 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4207 (tutorial--detailed-help): Remove unused local variables.
4208 (tutorial--save-tutorial-to): Use ignore-errors.
4209 (help-with-tutorial): Use looking-at-p.
4210
4211 * view.el (view-buffer-other-window, view-buffer-other-frame):
4212 Mark unused arguments.
4213
4214 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4215 (woman-select-symbol-fonts, woman, woman-find-file)
4216 (woman-insert-file-contents, woman-non-underline-faces):
4217 Use string-match-p.
4218 (woman1-unquote): Move declaration.
4219
4220 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4221 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4222 argument. Remove unused local variable.
4223 (xml-parse-elem-type): Use string-match-p.
4224 (xml-substitute-numeric-entities): Use ignore-errors.
4225
4226 * calculator.el (calculator): Mark unused argument.
4227 (calculator-paste, calculator-quit, calculator-integer-p):
4228 Use ignore-errors.
4229 (calculator-string-to-number, calculator-decimal, calculator-exp)
4230 (calculator-op-or-exp): Use string-match-p.
4231
4232 * dired.el (dired-buffer-more-recently-used-p): Declare.
4233 (dired-insert-set-properties, dired-insert-old-subdirs):
4234 Use ignore-errors.
4235
4236 * dired-aux.el (dired-compress): Use ignore-errors.
4237 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4238 (dired-do-async-shell-command, dired-do-shell-command)
4239 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4240 (dired-insert-subdir-validate): Use string-match-p.
4241 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4242 (dired-add-entry): Use string-match-p, looking-at-p.
4243 (dired-insert-subdir-newpos): Remove unused local variable.
4244
4245 * filenotify.el (file-notify-callback): Remove unused local variable.
4246
4247 * filesets.el (filesets-error): Mark unused argument.
4248 (filesets-which-command-p, filesets-filter-dir-names)
4249 (filesets-directory-files, filesets-get-external-viewer)
4250 (filesets-ingroup-get-data): Use string-match-p.
4251
4252 * find-file.el (ff-other-file-name, ff-other-file-name)
4253 (ff-find-the-other-file, ff-cc-hh-converter):
4254 Remove unused local variables.
4255 (ff-get-file-name): Use string-match-p.
4256 (ff-all-dirs-under): Use ignore-errors.
4257
4258 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4259 (follow-select-if-visible): Remove unused local variable.
4260
4261 * forms.el (read-file-filter): Move declaration.
4262 (forms--make-format, forms--make-parser, forms-insert-record):
4263 Quote function with #'.
4264 (forms--update): Use string-match-p. Quote function with #'.
4265
4266 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4267 (help-make-xrefs): Use looking-at-p.
4268 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4269
4270 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4271 (ibuffer-confirm-operation-on): Use string-match-p.
4272
4273 * msb.el (msb-item-handler, msb-dired-item-handler):
4274 Mark unused arguments.
4275
4276 * ses.el (ses-decode-cell-symbol)
4277 (ses-kill-override): Remove unused local variable.
4278 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4279 (ses-load): Use ignore-errors, looking-at-p.
4280 (ses-jump-safe): Use ignore-errors.
4281 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4282
4283 * tabify.el (untabify, tabify): Mark unused arguments.
4284
4285 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4286 Mark unused argument.
4287 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4288 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4289
4290 * emacs-lisp/timer.el (timer--time): Define setter with
4291 gv-define-setter to avoid deprecation warning.
4292
4293 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4294 (*record-cmpl-statistics-p*): Remove (was commented out).
4295 (cmpl-statistics-block): Remove (body was commented out).
4296 All callers changed.
4297 (add-completions-from-buffer, load-completions-from-file):
4298 Remove unused variables.
4299
4300 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4301
4302 * filecache.el (file-cache-delete-file-list):
4303 Print message only when told so.
4304 (file-cache-files-matching): Use #' in mapconcat argument.
4305
4306 * ffap.el (ffap-url-at-point): Fix reference to variable
4307 thing-at-point-default-mail-uri-scheme.
4308
4309 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4310
4311 * subr.el (define-error): New function.
4312 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4313 error-file-not-found and define with define-error.
4314 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4315 and define with define-error.
4316 * userlock.el (file-locked, file-supersession):
4317 * simple.el (mark-inactive):
4318 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4319 * progmodes/ada-mode.el (ada-mode-errors):
4320 * play/life.el (life-extinct):
4321 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4322 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4323 * nxml/rng-util.el (rng-error):
4324 * nxml/rng-uri.el (rng-uri-error):
4325 * nxml/rng-match.el (rng-compile-error):
4326 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4327 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4328 * nxml/nxml-rap.el (nxml-scan-error):
4329 * nxml/nxml-outln.el (nxml-outline-error):
4330 * net/soap-client.el (soap-error):
4331 * net/gnutls.el (gnutls-error):
4332 * net/ange-ftp.el (ftp-error):
4333 * mpc.el (mpc-proc-error):
4334 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4335 (json-number-format, json-string-escape, json-string-format)
4336 (json-key-format, json-object-format):
4337 * jka-compr.el (compression-error):
4338 * international/quail.el (quail-error):
4339 * international/kkc.el (kkc-error):
4340 * emacs-lisp/ert.el (ert-test-failed):
4341 * calc/calc.el (calc-error, inexact-result, math-overflow)
4342 (math-underflow):
4343 * bookmark.el (bookmark-error-no-filename):
4344 * epg.el (epg-error): Define with define-error.
4345
4346 * time.el (display-time-event-handler)
4347 (display-time-next-load-average): Don't call sit-for since it seems
4348 unnecessary (bug#15045).
4349
4350 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4351 Use #' instead of ' to quote functions.
4352 (checkdoc-output-mode): Use setq-local.
4353 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4354 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4355 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4356 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4357 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4358 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4359 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4360 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4361
4362 * ido.el (ido-completion-help): Fix up compiler warning.
4363
4364 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4365
4366 * frameset.el (frameset-p): Add autoload cookie.
4367 (frameset--jump-to-register): New function, based on code moved from
4368 register.el.
4369 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4370
4371 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4372 (frameset-restore, frameset-save, frameset-session-filter-alist):
4373 Remove declarations.
4374 (register-alist): Doc fix.
4375 (frameset-to-register): Move to frameset.el.
4376 (jump-to-register, describe-register-1): Remove frameset-specific code.
4377
4378 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4379
4380 * allout-widgets.el (allout-widgets-pre-command-business)
4381 (allout-widgets-post-command-business)
4382 (allout-widgets-after-change-handler)
4383 (allout-decorate-item-and-context, allout-set-boundary-marker)
4384 (allout-body-modification-handler)
4385 (allout-graphics-modification-handler): Mark ignored arguments.
4386 (allout-widgets-post-command-business)
4387 (allout-widgets-exposure-change-processor)
4388 (allout-widgets-exposure-undo-processor)
4389 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4390 (allout-parse-item-at-point, allout-decorate-item-guides)
4391 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4392 * allout.el (epa-passphrase-callback-function): Declare.
4393 (allout-overlay-insert-in-front-handler)
4394 (allout-overlay-interior-modification-handler)
4395 (allout-isearch-end-handler, allout-chart-siblings)
4396 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4397 (allout-yank-processing, allout-process-exposed)
4398 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4399 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4400 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4401 (lisp-indent-defform): Mark ignored arguments.
4402 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4403 (calculate-lisp-indent): Remove unused variables.
4404 * international/characters.el (indian-2-column, arabic-2-column)
4405 (tibetan): Mark ignored arguments.
4406 (use-cjk-char-width-table): Mark ignored arguments.
4407 Remove unused variables.
4408 * international/fontset.el (build-default-fontset-data)
4409 (x-compose-font-name, create-fontset-from-fontset-spec):
4410 Mark ignored arguments.
4411 (fontset-plain-name): Remove unused variables.
4412 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4413 (keyboard-coding-system): Mark ignored arguments.
4414 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4415 * help.el (resize-temp-buffer-window):
4416 * window.el (display-buffer-in-major-side-window)
4417 (display-buffer-in-side-window, display-buffer-in-previous-window):
4418 Remove unused variables.
4419 * isearch.el (isearch-forward-symbol):
4420 * version.el (emacs-bzr-version-bzr):
4421 * international/mule-cmds.el (current-language-environment):
4422 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4423 (x-handle-display):
4424 * term/pc-win.el (x-list-fonts, x-display-planes)
4425 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4426 (x-server-version, x-display-screens, x-display-mm-height)
4427 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4428 (x-selection-owner-p, x-own-selection-internal)
4429 (x-disown-selection-internal, x-get-selection-internal)
4430 (msdos-initialize-window-system):
4431 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4432 * term/x-win.el (x-handle-no-bitmap-icon):
4433 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4434 (vc-default-find-file-hook, vc-default-extra-menu):
4435 Mark ignored arguments.
4436
4437 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4438
4439 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4440 break-condition in the context of the debugged code (bug#12685).
4441
4442 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4443
4444 * comint.el:
4445 Do not use an overlay to highlight the last prompt. (Bug#14744)
4446 (comint-mode): Make comint-last-prompt buffer local.
4447 (comint-last-prompt): New variable.
4448 (comint-last-prompt-overlay): Remove. Superseded by
4449 comint-last-prompt.
4450 (comint-snapshot-last-prompt, comint-output-filter):
4451 Use comint-last-prompt.
4452
4453 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4454
4455 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4456 (frameset-save): Check validity of the resulting frameset.
4457
4458 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4459
4460 * ido.el (ido-record-command): Add doc string.
4461
4462 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4463
4464 * frameset.el (frameset): Do not disable creation of the default
4465 frameset-p predicate. Doc fix.
4466 (frameset-valid-p): New function, copied from the old predicate-p.
4467 Add additional checks.
4468 (frameset-restore): Check with frameset-valid-p.
4469 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4470 (frameset-name, frameset-description, frameset-properties)
4471 (frameset-states): Add docstring.
4472 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4473 (frameset-filter-alist): Doc fixes.
4474
4475 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4476
4477 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4478
4479 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4480
4481 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4482 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4483 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4484 (byte-compile-normal-call): Remove obsolescence check.
4485
4486 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4487
4488 * frameset.el (frameset-restore): Doc fix.
4489
4490 * register.el (frameset-frame-id, frameset-frame-with-id)
4491 (frameset-p, frameset-restore, frameset-save): Declare.
4492 (register-alist): Document framesets.
4493 (frameset-session-filter-alist): Declare.
4494 (frameset-to-register): New function.
4495 (jump-to-register): Implement jumping to framesets. Doc fix.
4496 (describe-register-1): Describe framesets.
4497
4498 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4499
4500 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4501
4502 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4503 Use lexical-binding.
4504
4505 * frameset.el (frameset): Use type vector, not list (incompatible
4506 change). Do not declare a new constructor, use the default one.
4507 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4508 `name' and `description', respectively, and add read-only slot
4509 `timestamp'. Doc fixes.
4510 (frameset-copy, frameset-persistent-filter-alist)
4511 (frameset-filter-alist, frameset-switch-to-gui-p)
4512 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4513 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4514 (frameset-filter-iconified, frameset-keep-original-display-p):
4515 Doc fixes.
4516 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4517 Rename from frameset-filter-(save|restore)-param. All callers changed.
4518 Doc fix.
4519 (frameset-p): Adapt to change to vector and be more thorough.
4520 Change arg name to OBJECT. Doc fix.
4521 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4522 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4523 All callers changed.
4524 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4525 All callers changed.
4526 (frameset--record-minibuffer-relationships): Rename from
4527 frameset--process-minibuffer-frames. All callers changed.
4528 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4529 Use new default constructor (again). Doc fix.
4530 (frameset--find-frame-if): Rename from `frameset--find-frame.
4531 All callers changed.
4532 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4533 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4534 Doc fix.
4535 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4536 PARAMETERS and WINDOW-STATE, respectively.
4537 (frameset-restore): Add new keyword argument PREDICATE.
4538 Reset frameset--target-display to nil. Doc fix.
4539
4540 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4541
4542 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4543 (bat-mode): Use it.
4544 (bat-mode-syntax-table): Mark \n as end-of-comment.
4545 (bat-font-lock-keywords): Remove comment rule.
4546
4547 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4548 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4549
4550 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4551 (byte-compile-callargs-warn): Use `push'.
4552 (byte-compile-arglist-warn): Ignore higher-order "calls".
4553 (byte-compile-file-form-autoload): Use `pcase'.
4554 (byte-compile-function-form): If quoting a symbol, check that it exists.
4555
4556 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4557
4558 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4559 and add a few popular commands found in batch files.
4560 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4561 (dos-mode): Doc fixes.
4562
4563 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4564
4565 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4566 (dos-mode): Use setq-local. Add space after "rem".
4567 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4568 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4569
4570 2013-08-07 Arni Magnusson <arnima@hafro.is>
4571
4572 * progmodes/dos.el: New file.
4573 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4574 dos-mode.
4575
4576 2013-08-06 Glenn Morris <rgm@gnu.org>
4577
4578 * calendar/calendar.el: Add new faces, and day-header-array.
4579 (calendar-weekday-header, calendar-weekend-header)
4580 (calendar-month-header): New faces.
4581 (calendar-day-header-construct): New function.
4582 (calendar-day-header-width): Also :set calendar-day-header-array.
4583 (calendar-american-month-header, calendar-european-month-header)
4584 (calendar-iso-month-header): Use calendar- faces.
4585 (calendar-generate-month):
4586 Use calendar-day-header-array for day headers; apply faces to them.
4587 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4588 (calendar-abbrev-construct): Add optional maxlen argument.
4589 (calendar-day-name-array): Doc fix.
4590 (calendar-day-name-array, calendar-abbrev-length)
4591 (calendar-day-abbrev-array):
4592 Also :set calendar-day-header-array, and maybe redraw.
4593 (calendar-day-header-array): New option. (Bug#15007)
4594 (calendar-font-lock-keywords): Set to nil and make obsolete.
4595 (calendar-day-name): Add option to use header array.
4596
4597 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4598
4599 * net/shr.el (shr-render-td): Remove debugging.
4600 (shr-render-td): Make width computation consistent by defaulting
4601 all zero-width columns to 10 characters. This may not be optimal,
4602 but it's at least consistent.
4603 (shr-make-table-1): Redo last change to fix the real problem in
4604 colspan handling.
4605
4606 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4607
4608 * files.el (cache-long-line-scans):
4609 Make obsolete alias to `cache-long-scans'.
4610
4611 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4612
4613 * frameset.el (frameset, frameset-filter-alist)
4614 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4615 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4616 (frameset-compute-pos): Rename from frameset--compute-pos,
4617 and add docstring.
4618 (frameset-move-onscreen): Use frameset-compute-pos.
4619 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4620
4621 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4622 Fix typos in docstrings.
4623
4624 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4625
4626 * frame.el (get-other-frame): Tiny cleanup.
4627
4628 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4629
4630 * vc/vc.el (vc-default-ignore-completion-table):
4631 Silence byte-compiler warning.
4632
4633 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4634 slot , which can indeed be nil.
4635 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4636 Move entry for `left' from persistent to live filter alist.
4637 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4638 Doc fixes.
4639 (frameset-filter-params): When restoring a frame, copy items added to
4640 `filtered', to avoid unwittingly modifying the original parameters.
4641 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4642 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4643
4644 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4645 to use looking-at-p instead of looking-at. (Bug#15028)
4646
4647 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4648
4649 Revert introduction of isearch-filter-predicates (bug#14714).
4650 Rely on add-function instead.
4651 * isearch.el (isearch-filter-predicates): Rename it back to
4652 isearch-filter-predicate.
4653 (isearch-message-prefix): Use advice-function-mapc and advice
4654 properties to get the isearch-message-prefix.
4655 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4656 instead of run-hook-with-args-until-failure.
4657 (isearch-filter-visible): Not obsolete any more.
4658 * loadup.el: Preload nadvice.
4659 * replace.el (perform-replace): Revert to funcall
4660 instead of run-hook-with-args-until-failure.
4661 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4662 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4663 dired-isearch-filenames-toggle; make it into a proper minor mode.
4664 Use add/remove-function.
4665 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4666 Call the minor-mode rather than add/remove-hook.
4667 (dired-isearch-filter-filenames):
4668 Remove isearch-message-prefix property.
4669 * info.el (Info--search-loop): New function, extracted from Info-search.
4670 Funcall isearch-filter-predicate instead of
4671 run-hook-with-args-until-failure isearch-filter-predicates.
4672 (Info-search): Use it.
4673 (Info-mode): Use isearch-filter-predicate instead of
4674 isearch-filter-predicates.
4675
4676 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4677
4678 Do not call to `selected-window' where it is assumed by default.
4679 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4680 `window-hscroll', `window-width', `window-height', `window-buffer',
4681 `window-frame', `window-start', `window-point', `next-window'
4682 and `window-display-table'.
4683 * abbrev.el (abbrev--default-expand):
4684 * bs.el (bs--show-with-configuration):
4685 * buff-menu.el (Buffer-menu-mouse-select):
4686 * calc/calc.el (calc):
4687 * calendar/calendar.el (calendar-generate-window):
4688 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4689 (diary-make-entry):
4690 * comint.el (send-invisible, comint-dynamic-complete-filename)
4691 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4692 * completion.el (complete):
4693 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4694 * disp-table.el (describe-current-display-table):
4695 * doc-view.el (doc-view-insert-image):
4696 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4697 * ehelp.el (with-electric-help):
4698 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4699 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4700 * emacs-lisp/helper.el (Helper-help-scroller):
4701 * emulation/cua-base.el (cua--post-command-handler-1):
4702 * eshell/esh-mode.el (eshell-output-filter):
4703 * ffap.el (ffap-gnus-wrapper):
4704 * help-macro.el (make-help-screen):
4705 * hilit-chg.el (highlight-compare-buffers):
4706 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4707 * hl-line.el (global-hl-line-highlight):
4708 * icomplete.el (icomplete-simple-completing-p):
4709 * isearch.el (isearch-done):
4710 * jit-lock.el (jit-lock-stealth-fontify):
4711 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4712 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4713 * mpc.el (mpc-tagbrowser, mpc):
4714 * net/rcirc.el (rcirc-any-buffer):
4715 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4716 * play/landmark.el (landmark-max-width, landmark-max-height):
4717 * play/zone.el (zone):
4718 * progmodes/compile.el (compilation-goto-locus):
4719 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4720 * progmodes/etags.el (find-tag-other-window):
4721 * progmodes/fortran.el (fortran-column-ruler):
4722 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4723 * progmodes/verilog-mode.el (verilog-point-text):
4724 * reposition.el (reposition-window):
4725 * rot13.el (toggle-rot13-mode):
4726 * server.el (server-switch-buffer):
4727 * shell.el (shell-dynamic-complete-command)
4728 (shell-dynamic-complete-environment-variable):
4729 * simple.el (insert-buffer, set-selective-display)
4730 (delete-completion-window):
4731 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4732 (speedbar-recenter):
4733 * startup.el (fancy-splash-head):
4734 * textmodes/ispell.el (ispell-command-loop):
4735 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4736 * tutorial.el (help-with-tutorial):
4737 * vc/add-log.el (add-change-log-entry):
4738 * vc/compare-w.el (compare-windows):
4739 * vc/ediff-help.el (ediff-indent-help-message):
4740 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4741 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4742 (ediff-setup-control-frame):
4743 * vc/emerge.el (emerge-position-region):
4744 * vc/pcvs-util.el (cvs-bury-buffer):
4745 * window.el (walk-windows, mouse-autoselect-window-select):
4746 * winner.el (winner-set-conf, winner-undo): Related users changed.
4747
4748 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4749
4750 * frameset.el (frameset--set-id): Doc fix.
4751 (frameset-frame-id, frameset-frame-id-equal-p)
4752 (frameset-locate-frame-id): New functions.
4753 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4754 (frameset-restore): Use them.
4755
4756 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4757
4758 Do not call to `selected-frame' where it is assumed by default.
4759 Affected functions are `raise-frame', `redraw-frame',
4760 `frame-first-window', `frame-terminal' and `delete-frame'.
4761 * calendar/appt.el (appt-disp-window):
4762 * epg.el (epg-wait-for-completion):
4763 * follow.el (follow-delete-other-windows-and-split)
4764 (follow-avoid-tail-recenter):
4765 * international/mule.el (set-terminal-coding-system):
4766 * mail/rmail.el (rmail-mail-return):
4767 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4768 * progmodes/f90.el (f90-add-imenu-menu):
4769 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4770 * server.el (server-switch-buffer):
4771 * simple.el (delete-completion-window):
4772 * talk.el (talk):
4773 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4774 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4775 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4776 * vc/ediff.el (ediff-documentation): Related users changed.
4777 * frame.el (selected-terminal): Remove the leftover.
4778
4779 2013-08-05 Glenn Morris <rgm@gnu.org>
4780
4781 * calendar/calendar.el (calendar-generate-month):
4782 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4783 (calendar-generate-month, calendar-font-lock-keywords):
4784 Fix for calendar-day-header-width > length of any day name.
4785
4786 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4787
4788 * desktop.el (desktop-clear): Use new name of sort predicate.
4789
4790 * frameset.el (frameset): Add docstring. Move :version property to its
4791 own `version' slot.
4792 (frameset-copy): Rename from copy-frameset.
4793 (frameset-p): Check more thoroughly.
4794 (frameset-prop): Do not check for :version, which is no longer a prop.
4795 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4796 Use new :never value instead of t.
4797 (frameset-filter-alist): Expand and clarify docstring.
4798 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4799 (frameset-filter-minibuffer, frameset-filter-save-param)
4800 (frameset-filter-restore-param, frameset-filter-iconified):
4801 Add pointer to docstring of frameset-filter-alist.
4802 (frameset-filter-params): Rename filter values to be more meaningful:
4803 :never instead of t, and reverse the meanings of :save and :restore.
4804 (frameset--process-minibuffer-frames): Clarify error message.
4805 (frameset-save): Avoid unnecessary and confusing call to framep.
4806 Use new BOA constructor for framesets.
4807 (frameset--reuse-list): Doc fix.
4808 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4809 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4810 (frameset-minibufferless-first-p): Doc fix.
4811 Rename from frameset-sort-frames-for-deletion.
4812 (frameset-restore): Doc fixes. Use new function names.
4813 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4814
4815 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4816
4817 * desktop.el (desktop-restore-forces-onscreen)
4818 (desktop-restore-reuses-frames): Document :keyword constant values.
4819 (desktop-filter-parameters-alist): Remove, now identical to
4820 frameset-filter-alist.
4821 (desktop--filter-tty*): Remove, moved to frameset.el.
4822 (desktop-save-frameset, desktop-restore-frameset):
4823 Do not pass :filters argument.
4824
4825 * frameset.el (frameset-live-filter-alist)
4826 (frameset-persistent-filter-alist): New variables.
4827 (frameset-filter-alist): Use them. Add autoload cookie.
4828 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4829 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4830 `frameset--id' (it's supposed to be internal to frameset.el).
4831 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4832 (frameset--initial-params): New function.
4833 (frameset--get-frame): Use it. Doc fix.
4834 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4835 Accept :all, not 'all.
4836 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4837 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4838 with fbound symbols. Fix frame id matching, and remove matching ids if
4839 the frame being restored is deleted. Obey :delete.
4840
4841 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4842
4843 * subr.el (macrop): New function.
4844 (text-clone--maintaining): New var.
4845 (text-clone--maintain): Rename from text-clone-maintain. Use it
4846 instead of inhibit-modification-hooks.
4847
4848 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4849 a proxy, so as handle autoloads and redefinitions of the target.
4850 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4851
4852 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4853 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4854 (pcase--mutually-exclusive-p): New function.
4855 (pcase--split-consp): Use it.
4856 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4857 mutually exclusive with the current predicate.
4858
4859 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4860 (edebug-macrop): Remove. Use `macrop' instead.
4861 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4862 (ad-macro-p):
4863 * eshell/esh-cmd.el (eshell-macrop):
4864 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4865
4866 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4867
4868 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4869 (advice-mapc): New function, using it.
4870 (advice-function-member-p): New function.
4871 (advice--normalize): Store the cdr in advice--saved-rewrite since
4872 that's the part that will be changed.
4873 (advice--symbol-function): New function.
4874 (advice-remove): Handle removal before the function is defined.
4875 Adjust to new advice--saved-rewrite.
4876 (advice-member-p): Use advice-function-member-p and
4877 advice--symbol-function.
4878
4879 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4880
4881 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4882 (frameset-filter-minibuffer): Doc fix.
4883 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4884 (frameset--set-id, frameset--process-minibuffer-frames)
4885 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4886 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4887
4888 * desktop.el (desktop-clear): Only delete frames when called
4889 interactively and desktop-restore-frames is non-nil. Doc fix.
4890 (desktop-read): Set desktop-saved-frameset to nil.
4891
4892 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4893
4894 * vc/vc.el (vc-ignore): Rewrite.
4895 (vc-default-ignore-completion-table):
4896 (vc--read-lines):
4897 (vc--add-line, vc--remove-regexp): New functions.
4898
4899 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4900 (vc-svn-ignore-completion-table): New function.
4901
4902 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4903 (vc-hg-ignore-completion-table):
4904 (vc-hg-find-ignore-file): New functions.
4905
4906 * vc/vc-git.el (vc-git-ignore): Rewrite.
4907 (vc-git-ignore-completion-table):
4908 (vc-git-find-ignore-file): New functions.
4909
4910 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4911
4912 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4913 (vc-bzr-ignore-completion-table):
4914 (vc-bzr-find-ignore-file): New functions.
4915
4916 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4917
4918 * frameset.el (frameset-prop): New function and setter.
4919 (frameset-save): Do not modify frame list passed by the caller.
4920
4921 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4922
4923 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4924
4925 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4926
4927 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4928 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4929
4930 * custom.el (custom-initialize-default, custom-initialize-set)
4931 (custom-initialize-reset, custom-initialize-changed): Affect the
4932 toplevel-default-value (bug#6275, bug#14586).
4933 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4934 for bug#6275.
4935
4936 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4937
4938 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4939 Add cl-def* expressions.
4940
4941 * frameset.el (frameset-filter-params): Fix order of arguments.
4942
4943 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4944
4945 Move code related to saving frames to frameset.el.
4946 * desktop.el: Require frameset.
4947 (desktop-restore-frames): Doc fix.
4948 (desktop-restore-reuses-frames): Rename from
4949 desktop-restoring-reuses-frames.
4950 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4951 (desktop-clear): Clear frames too.
4952 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4953 (desktop--filter-tty*, desktop-save, desktop-read):
4954 Use frameset functions.
4955 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4956 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4957 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4958 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4959 (desktop--process-minibuffer-frames, desktop-save-frames)
4960 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4961 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4962 (desktop--sort-states, desktop-restoring-frames-p)
4963 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4964 (desktop-restoring-frameset-p, desktop-restore-frameset)
4965 (desktop--check-dont-save, desktop-save-frameset): New functions.
4966 (desktop--app-id): New constant.
4967 (desktop-first-buffer, desktop-buffer-ok-count)
4968 (desktop-buffer-fail-count): Move before first use.
4969 * frameset.el: New file.
4970
4971 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4972
4973 * files.el: Use lexical-binding.
4974 (dir-locals-read-from-file): Remove unused `err' variable.
4975 (hack-dir-local-variables--warned-coding): New var.
4976 (hack-dir-local-variables): Use it to avoid repeated warnings.
4977 (make-backup-file-name--default-function): New function.
4978 (make-backup-file-name-function): Use it as default.
4979 (buffer-stale--default-function): New function.
4980 (buffer-stale-function): Use it as default.
4981 (revert-buffer-insert-file-contents--default-function): New function.
4982 (revert-buffer-insert-file-contents-function): Use it as default.
4983 (insert-directory): Avoid add-to-list.
4984
4985 * autorevert.el (auto-revert-handler): Simplify.
4986 Use buffer-stale--default-function.
4987
4988 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4989
4990 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4991
4992 * whitespace.el (whitespace-ensure-local-variables): New function.
4993 (whitespace-cleanup-region): Call it.
4994 (whitespace-turn-on): Call it.
4995
4996 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4997
4998 Complete file name handlers.
4999
5000 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5001 (tramp-handle-verify-visited-file-modtime)
5002 (tramp-handle-file-notify-rm-watch): New functions.
5003 (tramp-call-process): Do not bind `default-directory'.
5004
5005 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5006 Order alphabetically.
5007 [access-file, add-name-to-file, dired-call-process]:
5008 [dired-compress-file, file-acl, file-notify-rm-watch]:
5009 [file-ownership-preserved-p, file-selinux-context]:
5010 [make-directory-internal, make-symbolic-link, set-file-acl]:
5011 [set-file-selinux-context, set-visited-file-modtime]:
5012 [verify-visited-file-modtime]: Add handler.
5013 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5014
5015 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5016 [file-notify-add-watch, file-notify-rm-watch]:
5017 [set-file-times, set-visited-file-modtime]:
5018 [verify-visited-file-modtime]: Add handler.
5019 (with-tramp-gvfs-error-message)
5020 (tramp-gvfs-handle-set-visited-file-modtime)
5021 (tramp-gvfs-fuse-file-name): Remove.
5022 (tramp-gvfs-handle-file-notify-add-watch)
5023 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5024 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5025
5026 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5027 Order alphabetically.
5028 [file-notify-rm-watch ]: Use default Tramp handler.
5029 [executable-find]: Remove private handler.
5030 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5031 `default-directory'.
5032 (tramp-sh-handle-executable-find)
5033 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5034 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5035 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5036 Do not use `format' in `tramp-message'.
5037
5038 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5039 [file-notify-rm-watch, set-visited-file-modtime]:
5040 [verify-visited-file-modtime]: Add handler.
5041 (tramp-smb-call-winexe): Do not bind `default-directory'.
5042
5043 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5044
5045 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5046
5047 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5048
5049 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5050 use it.
5051 (log-view-diff-changeset): Same.
5052 (log-view-diff-common): Call backend command `previous-revision'
5053 to find out the previous revision, in both cases. Swap the
5054 variables `to' and `fr', so that `fr' usually refers to the
5055 earlier revision (Bug#14989).
5056
5057 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5058
5059 * ibuf-ext.el (ibuffer-filter-by-filename):
5060 Make it work with dired buffers too.
5061
5062 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5063
5064 * emacs-lisp/re-builder.el (reb-color-display-p):
5065 * files.el (save-buffers-kill-terminal):
5066 * net/browse-url.el (browse-url):
5067 * server.el (server-save-buffers-kill-terminal):
5068 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5069 Prefer nil to selected-frame for the first arg of frame-parameter.
5070
5071 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5072
5073 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5074
5075 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5076
5077 * minibuffer.el (completion--twq-all): Try and preserve each
5078 completion's case choice (bug#14907).
5079
5080 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5081
5082 * net/network-stream.el (open-network-stream): Mention the new
5083 :nogreeting parameter.
5084 (network-stream-open-starttls): Use the :nogreeting parameter
5085 (bug#14938).
5086
5087 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5088
5089 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5090 more natural than popping.
5091
5092 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5093 (shr-urlify): Highlight under mouse.
5094
5095 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5096
5097 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5098
5099 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5100
5101 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5102 buffer for output.
5103
5104 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5105 point-min==1. Fix search string. Fix parentheses missing.
5106
5107 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5108 assume point-min==1. Fix search string. Fix parentheses missing.
5109
5110 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5111
5112 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5113 buffer for output.
5114
5115 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5116
5117 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5118 initial frame is minibuffer-less. (Bug#14841)
5119
5120 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5121
5122 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5123 option.
5124
5125 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5126 (tramp-maybe-open-connection): Use it.
5127
5128 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5129
5130 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5131 minimal set of parameters passed when creating a frame, because
5132 the minibuffer status of a frame cannot be changed later.
5133
5134 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5135
5136 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5137 replace-regexp-in-string and inadvertent omissions in previous change.
5138 (todo-filter-items): Ensure only file names are comma-separated in
5139 name of filtered items buffer.
5140
5141 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5142
5143 * desktop.el: Optionally force offscreen frames back onscreen.
5144 (desktop-restoring-reuses-frames): New option.
5145 (desktop--compute-pos, desktop--move-onscreen): New functions.
5146 (desktop--make-frame): Use desktop--move-onscreen.
5147
5148 2013-07-27 Alan Mackenzie <acm@muc.de>
5149
5150 Fontify a Java generic method as a function.
5151 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5152 value to t.
5153
5154 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5155
5156 * calendar/todo-mode.el: Add command to rename todo files.
5157 (todo-rename-file): New command.
5158 (todo-key-bindings-t): Add key binding for it. Change the
5159 bindings of todo-filter-regexp-items(-multifile) to use `x'
5160 instead of `r', since the latter is better suited to the new
5161 renaming command.
5162
5163 2013-07-27 Alan Mackenzie <acm@muc.de>
5164
5165 Make Java try-with-resources statement parse properly.
5166 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5167 (c-block-stmt-1-2-key): New language constants/variables.
5168 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5169 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5170 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5171 with c-block-stmt-1-2-key.
5172
5173 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5174
5175 * desktop.el (desktop--make-frame): Apply most frame parameters after
5176 creating the frame to force (partially or totally) offscreen frames to
5177 be restored as such.
5178
5179 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5180
5181 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5182 (Bug#14948)
5183
5184 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5185
5186 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5187 `base' arg of backtrace-frame.
5188
5189 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5190
5191 * simple.el (list-processes): Doc fix.
5192
5193 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5194
5195 * desktop.el (desktop--select-frame):
5196 Try harder to reuse existing frames.
5197
5198 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5199
5200 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5201 (edebug-eval): Use backtrace-eval.
5202 (edebug--display, edebug--recursive-edit): Don't let-bind the
5203 edebug-outer-* vars that keep track of variables we locally let-bind.
5204 (edebug-outside-excursion): Don't restore outside values of locally
5205 let-bound vars.
5206 (edebug--display): Use user-error.
5207 (cl-lexical-debug, cl-debug-env): Remove.
5208
5209 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5210
5211 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5212 are restored to be sure that they are visible before deleting any
5213 remaining ones.
5214
5215 2013-07-26 Matthias Meulien <orontee@gmail.com>
5216
5217 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5218 vc-print-root-log. (Bug#14948)
5219
5220 2013-07-26 Richard Stallman <rms@gnu.org>
5221
5222 Add aliases for encrypting mail.
5223 * epa.el (epa-mail-aliases): New option.
5224 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5225 Bind inhibit-read-only so read-only text doesn't ruin everything.
5226 (epa-mail-default-recipients): New subroutine broken out.
5227 Handle epa-mail-aliases.
5228
5229 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5230
5231 Add support for lexical variables to the debugger's `e' command.
5232 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5233 vars, except for debugger-outer-match-data.
5234 (debugger-frame-number): Move check for "on a function call" from
5235 callers into it. Add `skip-base' argument.
5236 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5237 (debugger-env-macro): Only reset the state stored in non-variables,
5238 i.e. current-buffer and match-data.
5239 (debugger-eval-expression): Rewrite using backtrace-eval.
5240 * subr.el (internal--called-interactively-p--get-frame): Remove.
5241 (called-interactively-p):
5242 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5243 `base' arg of backtrace-frame instead.
5244
5245 2013-07-26 Glenn Morris <rgm@gnu.org>
5246
5247 * align.el (align-regexp): Doc fix. (Bug#14857)
5248 (align-region): Explicit error if subexpression missing/does not match.
5249
5250 * simple.el (global-visual-line-mode):
5251 Do not duplicate the mode lighter. (Bug#14858)
5252
5253 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5254
5255 * window.el (display-buffer): In display-buffer bind
5256 split-window-keep-point to t, bug#14829.
5257
5258 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5259
5260 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5261 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5262 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5263 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5264 Change accordingly.
5265 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5266 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5267
5268 2013-07-25 Glenn Morris <rgm@gnu.org>
5269
5270 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5271
5272 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5273
5274 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5275 parameter to modify-frame-parameters if the value has not changed;
5276 this is a workaround for bug#14949.
5277 (desktop--make-frame): On cl-delete-if call, check parameter name,
5278 not full parameter.
5279
5280 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5281
5282 * vc/vc.el (vc-ignore): New function.
5283
5284 * vc/vc-svn.el (vc-svn-ignore): New function.
5285
5286 * vc/vc-hg.el (vc-hg-ignore): New function.
5287
5288 * vc/vc-git.el (vc-git-ignore): New function.
5289
5290 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5291 (vc-dir-ignore): New function.
5292
5293 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5294 (cvs-append-to-ignore): Move here from pcvs.el.
5295
5296 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5297
5298 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5299
5300 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5301
5302 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5303 (desktop-restore-frames): Warn when deleting an existing frame failed.
5304
5305 2013-07-24 Glenn Morris <rgm@gnu.org>
5306
5307 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5308
5309 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5310
5311 * filenotify.el (file-notify-supported-p):
5312 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5313 Remove functions.
5314
5315 * autorevert.el (auto-revert-use-notify):
5316 (auto-revert-notify-add-watch):
5317 * net/tramp.el (tramp-file-name-for-operation):
5318 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5319 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5320 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5321 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5322 Remove `file-notify-supported-p' entry.
5323
5324 2013-07-24 Glenn Morris <rgm@gnu.org>
5325
5326 * printing.el: Replace all uses of deleted ps-windows-system,
5327 ps-lp-system, ps-flatten-list with lpr- versions.
5328
5329 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5330
5331 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5332 checked with memq (bug#14935).
5333
5334 * files.el (revert-buffer-function): Use a non-nil default.
5335 (revert-buffer-preserve-modes): Declare var to
5336 provide access to the `preserve-modes' argument.
5337 (revert-buffer): Let-bind it.
5338 (revert-buffer--default): New function, extracted from revert-buffer.
5339
5340 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5341
5342 * lpr.el: Signal print errors more prominently.
5343 (print-region-function): Don't default to nil.
5344 (lpr-print-region): New function, extracted from print-region-1.
5345 Check lpr's return value and signal an error in case of problem.
5346 (print-region-1): Use it.
5347 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5348 versions instead.
5349 (ps-printer-name): Default to nil.
5350 (ps-printer-name-option): Default to lpr-printer-switch.
5351 (ps-print-region-function): Don't default to nil.
5352 (ps-postscript-code-directory): Simplify default.
5353 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5354 (ps-string-list, ps-eval-switch, ps-flatten-list)
5355 (ps-flatten-list-1): Remove.
5356 (ps-multibyte-buffer): Avoid setq.
5357 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5358 (print-region-function, ps-print-region-function): Don't set them here.
5359
5360 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5361
5362 * ido.el (ido-fractionp):
5363 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5364 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5365 (ido-max-directory-size, ido-max-dir-file-cache)
5366 (ido-decorations): Doc fix.
5367
5368 * ansi-color.el: Fix old URL.
5369
5370 2013-07-23 Michael R. Mauger <michael@mauger.com>
5371
5372 * progmodes/sql.el: Version 3.3
5373 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5374 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5375 (sql-interactive-remove-continuation-prompt): Rewrite, use
5376 functions above. Fix continuation prompt and complete output line
5377 handling.
5378 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5379 redirected output buffer.
5380 (sql-mode): Restore deleted code (Bug#13591).
5381
5382 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5383
5384 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5385
5386 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5387
5388 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5389
5390 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5391 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5392 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5393
5394 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5395
5396 * desktop.el (desktop-clear): Simplify; remove useless checks
5397 against invalid buffer names.
5398 (desktop-list*): Use cl-list*.
5399 (desktop-buffer-info, desktop-create-buffer): Simplify.
5400
5401 2013-07-23 Leo Liu <sdl.web@gmail.com>
5402
5403 * bookmark.el (bookmark-make-record): Restore NAME as a default
5404 value. (Bug#14933)
5405
5406 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5407
5408 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5409 extracted from autoload--insert-text.
5410 (autoload--insert-text): Remove.
5411 (autoload--print-cookie-text): New function, extracted from
5412 autoload--insert-cookie-text.
5413 (autoload--insert-cookie-text): Remove.
5414 (autoload-generate-file-autoloads): Adjust calls accordingly.
5415
5416 * winner.el (winner-hook-installed-p): Remove.
5417 (winner-mode): Simplify accordingly.
5418
5419 * subr.el (add-to-list): Fix compiler-macro when `append' is
5420 not constant. Don't use `cl-member' for the base case.
5421
5422 * progmodes/subword.el: Fix boundary case (bug#13758).
5423 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5424 own group.
5425 (subword-backward-regexp): Make it a constant.
5426 (subword-forward-internal): Don't treat a trailing capital as the
5427 beginning of a word.
5428
5429 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5430
5431 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5432 global value of tabulated-list-revert-hook (bug#14930).
5433
5434 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5435
5436 * desktop.el: Require 'cl-lib.
5437 (desktop-before-saving-frames-functions): New hook.
5438 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5439 for frames being saved. Rename from desktop--save-minibuffer-frames.
5440 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5441 Do not save frames with non-nil `desktop-dont-save' parameter.
5442 Filter out deleted frames.
5443 (desktop--find-frame): Use cl-find-if.
5444 (desktop--select-frame): Use cl-(first|second|third) to access values
5445 of desktop-mini.
5446 (desktop--make-frame): Use cl-delete-if.
5447 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5448 (desktop-restore-frames): Use cl-(first|second|third) to access values
5449 of desktop-mini. Look for visible frame at the end, not while
5450 restoring frames.
5451
5452 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5453 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5454 Use string-match-p, looking-at-p (bug#14927).
5455
5456 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5457
5458 * desktop.el (desktop-saved-frame-states):
5459 Rename from desktop--saved-states; all users changed.
5460 (desktop-save-frames): Rename from desktop--save-frames.
5461 Do not save state to desktop file.
5462 (desktop-save): Save desktop-saved-frame-states to desktop file
5463 and reset to nil.
5464 (desktop-restoring-frames-p): New function.
5465 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5466 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5467 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5468
5469 * desktop.el: Correctly restore iconified frames.
5470 (desktop--filter-iconified-position): New function.
5471 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5472
5473 2013-07-20 Glenn Morris <rgm@gnu.org>
5474
5475 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5476 Let `message' do the formatting.
5477 (def-gdb-preempt-display-buffer): Add explicit format.
5478
5479 * image-dired.el (image-dired-track-original-file):
5480 Use with-current-buffer.
5481 (image-dired-track-thumbnail): Use with-current-buffer.
5482 Avoid changing point of wrong window.
5483
5484 * image-dired.el (image-dired-track-original-file):
5485 Avoid changing point of wrong window. (Bug#14909)
5486
5487 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5488
5489 * progmodes/gdb-mi.el (gdb-done-or-error):
5490 Guard against "%" in gdb output. (Bug#14127)
5491
5492 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5493
5494 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5495 (Bug#14826)
5496
5497 * international/mule.el (coding-system-iso-2022-flags): Fix last
5498 change.
5499
5500 2013-07-20 Kenichi Handa <handa@gnu.org>
5501
5502 * international/mule.el (coding-system-iso-2022-flags):
5503 Add `8-bit-level-4'. (Bug#8522)
5504
5505 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5506
5507 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5508 (bug#14815).
5509
5510 * net/eww.el (eww-process-text-input): Allow inputting when the
5511 point is at the start of the line, as the properties aren't
5512 front-sticky.
5513
5514 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5515 degenerate widths.
5516
5517 2013-07-19 Richard Stallman <rms@gnu.org>
5518
5519 * epa.el (epa-popup-info-window): Doc fix.
5520
5521 * subr.el (split-string): New arg TRIM.
5522
5523 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5524
5525 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5526 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5527
5528 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5529
5530 * filenotify.el (file-notify--library): Rename from
5531 `file-notify-support'. Do not autoload. Adapt all uses.
5532 (file-notify-supported-p): New defun.
5533
5534 * autorevert.el (auto-revert-use-notify):
5535 Use `file-notify-supported-p' instead of `file-notify-support'.
5536 Adapt docstring.
5537 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5538
5539 * net/tramp.el (tramp-file-name-for-operation):
5540 Add `file-notify-supported-p'.
5541
5542 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5543 New defun.
5544 (tramp-sh-file-name-handler-alist): Add it as handler for
5545 `file-notify-supported-p '.
5546
5547 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5548 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5549 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5550 Add `ignore' as handler for `file-notify-*' functions.
5551
5552 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5553
5554 * simple.el (line-move-partial, line-move): Don't start vscroll or
5555 scroll-up if the current line is not taller than the window.
5556 (Bug#14881)
5557
5558 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5559
5560 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5561 highlight question marks in the method names as strings.
5562 (ruby-block-beg-keywords): Inline.
5563 (ruby-font-lock-keyword-beg-re): Extract from
5564 `ruby-font-lock-keywords'.
5565
5566 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5567
5568 * frame.el (blink-cursor-blinks): New defcustom.
5569 (blink-cursor-blinks-done): New defvar.
5570 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5571 (blink-cursor-timer-function): Check if number of blinks has been
5572 done on X and NS.
5573 (blink-cursor-suspend, blink-cursor-check): New defuns.
5574
5575 2013-07-15 Glenn Morris <rgm@gnu.org>
5576
5577 * edmacro.el (edmacro-format-keys): Fix previous change.
5578
5579 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5580
5581 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5582 The hack didn't work outside English locales anyway.
5583
5584 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5585
5586 * simple.el (define-alternatives): Rename from alternatives-define,
5587 per RMS' suggestion.
5588
5589 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5590
5591 * desktop.el (desktop-restore-frames): Change default to t.
5592 (desktop-restore-in-current-display): Now offer more options.
5593 (desktop-restoring-reuses-frames): New customization option.
5594 (desktop--saved-states): Doc fix.
5595 (desktop-filter-parameters-alist): New variable, renamed and expanded
5596 from desktop--excluded-frame-parameters.
5597 (desktop--target-display): New variable.
5598 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5599 (desktop--filter-tty*, desktop--filter-*-color)
5600 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5601 (desktop--filter-save-desktop-parm)
5602 (desktop-restore-in-original-display-p): New functions.
5603 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5604 (desktop--save-minibuffer-frames): New function, inspired by a similar
5605 function from Martin Rudalics.
5606 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5607 (desktop--restore-in-this-display-p): Remove.
5608 (desktop--find-frame): Rename from desktop--find-frame-in-display
5609 and add predicate argument.
5610 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5611 (desktop--reuse-list): New variable.
5612 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5613 New functions.
5614 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5615
5616 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5617
5618 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5619
5620 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5621
5622 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5623 Highlight conversion methods on Kernel.
5624
5625 2013-07-13 Alan Mackenzie <acm@muc.de>
5626
5627 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5628 and comment it out. This out-commenting enables certain C++
5629 declarations to be parsed correctly.
5630
5631 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5632
5633 * international/mule.el (define-coding-system): Doc fix.
5634
5635 * simple.el (default-font-height): Don't call font-info if the
5636 frame's default font didn't change since the frame was created.
5637 (Bug#14838)
5638
5639 2013-07-13 Leo Liu <sdl.web@gmail.com>
5640
5641 * ido.el (ido-read-file-name): Guard against non-symbol value.
5642
5643 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5644
5645 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5646 in nested defuns.
5647
5648 2013-07-13 Leo Liu <sdl.web@gmail.com>
5649
5650 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5651 ido-set-matches call. (Bug#6852)
5652
5653 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5654
5655 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5656 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5657 Ruby 2.0.
5658 (ruby-font-lock-keywords): Distinguish calls to functions with
5659 module-like names from module references. Highlight character
5660 literals.
5661
5662 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5663
5664 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5665 (gdb-send): Handle continued commands. (Bug#14847)
5666
5667 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5668
5669 * desktop.el (desktop--v2s): Remove unused local variable.
5670 (desktop-save-buffer): Make defvar-local; adjust docstring.
5671 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5672 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5673
5674 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5675
5676 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5677
5678 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5679
5680 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5681 (Bug#14842)
5682
5683 2013-07-12 Glenn Morris <rgm@gnu.org>
5684
5685 * doc-view.el: Require cl-lib at runtime too.
5686 (doc-view-remove-if): Remove.
5687 (doc-view-search-next-match, doc-view-search-previous-match):
5688 Use cl-remove-if.
5689
5690 * edmacro.el: Require cl-lib at runtime too.
5691 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5692 (edmacro-mismatch, edmacro-subseq): Remove.
5693
5694 * shadowfile.el: Require cl-lib.
5695 (shadow-remove-if): Remove.
5696 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5697 Use cl-remove-if.
5698
5699 * wid-edit.el: Require cl-lib.
5700 (widget-choose): Use cl-remove-if.
5701 (widget-remove-if): Remove.
5702
5703 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5704 (ebrowse-delete-if-not): Remove.
5705 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5706 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5707 Use cl-delete-if-not.
5708
5709 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5710
5711 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5712 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5713
5714 2013-07-12 Leo Liu <sdl.web@gmail.com>
5715
5716 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5717
5718 2013-07-11 Glenn Morris <rgm@gnu.org>
5719
5720 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5721 (edebug-gensym-index, edebug-gensym):
5722 Remove reimplementation of cl-gensym.
5723 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5724
5725 * thumbs.el: Require cl-lib at run-time too.
5726 (thumbs-gensym-counter, thumbs-gensym):
5727 Remove reimplementation of cl-gensym.
5728 (thumbs-temp-file): Use cl-gensym.
5729
5730 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5731 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5732 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5733 (ert--union, ert--gensym-counter, ert--gensym-counter)
5734 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5735 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5736 (ert-make-test-unbound, ert--expand-should-1)
5737 (ert--expand-should, ert--should-error-handle-error)
5738 (should-error, ert--explain-equal-rec)
5739 (ert--plist-difference-explanation, ert-select-tests)
5740 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5741 Use cl-lib functions rather than reimplementations.
5742
5743 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5744
5745 * net/tramp.el (tramp-methods): Extend docstring.
5746 (tramp-connection-timeout): New defcustom.
5747 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5748 (with-tramp-progress-reporter): Simplify.
5749 (tramp-process-actions): Improve messages.
5750
5751 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5752 * net/tramp-sh.el (tramp-maybe-open-connection):
5753 Use `tramp-connection-timeout'.
5754 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5755 (Bug#14808)
5756
5757 2013-07-11 Leo Liu <sdl.web@gmail.com>
5758
5759 * ido.el (ido-read-file-name): Conform to the requirements of
5760 read-file-name. (Bug#11861)
5761 (ido-read-directory-name): Conform to the requirements of
5762 read-directory-name.
5763
5764 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5765
5766 * subr.el (delay-warning): New function.
5767
5768 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5769
5770 * simple.el (default-line-height): New function.
5771 (line-move-partial, line-move): Use it instead of computing the
5772 line height inline.
5773 (line-move-partial): Always compute ROWH. If the last line is
5774 partially-visible, but its text is completely visible, allow
5775 cursor to enter such a partially-visible line.
5776
5777 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5778
5779 Improve error messages. (Bug#14808)
5780
5781 * net/tramp.el (tramp-current-connection): New defvar, moved from
5782 tramp-sh.el.
5783 (tramp-message-show-progress-reporter-message): Remove, not
5784 needed anymore.
5785 (tramp-error-with-buffer): Show message in minibuffer.
5786 Discard input before waiting. Reset connection timestamp.
5787 (with-tramp-progress-reporter): Improve messages.
5788 (tramp-process-actions): Use progress reporter. Delete process in
5789 case of error. Improve messages.
5790
5791 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5792 Call `tramp-error-with-buffer' with vector and buffer.
5793 (tramp-current-connection): Remove.
5794 (tramp-maybe-open-connection): The car of
5795 `tramp-current-connection' are the first 3 slots of the vector.
5796
5797 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5798
5799 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5800 inside continued strings.
5801
5802 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5803
5804 Timestamp fixes for undo (Bug#14824).
5805 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5806
5807 2013-07-10 Leo Liu <sdl.web@gmail.com>
5808
5809 * files.el (require-final-newline): Allow safe local value.
5810 (Bug#14834)
5811
5812 2013-07-09 Leo Liu <sdl.web@gmail.com>
5813
5814 * ido.el (ido-read-directory-name): Handle fallback.
5815 (ido-read-file-name): Update DIR to ido-current-directory.
5816 (Bug#1516)
5817 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5818
5819 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5820
5821 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5822 "autoload". Remove "warn lower camel case" section, previously
5823 commented out. Highlight negation char. Do not highlight the
5824 target in singleton method definitions.
5825
5826 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5827
5828 * faces.el (tty-setup-hook): Declare the hook.
5829
5830 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5831 and detect when a guard/pred depends on local vars (bug#14773).
5832 (pcase--u1): Adjust caller.
5833
5834 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5835
5836 * simple.el (line-move-partial, line-move): Account for
5837 line-spacing.
5838 (line-move-partial): Avoid setting vscroll when the last
5839 partially-visible line in window is of default height.
5840
5841 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5842
5843 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5844 been used a while.
5845
5846 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5847
5848 * subr.el (read-quoted-char): Remove unused local variable `char'.
5849
5850 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5851
5852 * ediff.el (ediff-version): Version update.
5853 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5854 (ediff-merge-with-ancestor-command, ediff-directories-command)
5855 (ediff-directories3-command, ediff-merge-directories-command)
5856 (ediff-merge-directories-with-ancestor-command): New functions.
5857 All are command-line interfaces to ediff: to facilitate calling
5858 Emacs with the appropriate ediff functions invoked.
5859
5860 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5861 (viper-save-kill-buffer): Check if buffer is modified.
5862
5863 * viper.el (viper-version): Version update.
5864 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5865
5866 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5867
5868 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5869 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5870 (viper-intercept-ESC-key): Simplify.
5871 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5872 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5873 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5874 (viper-setup-ESC-to-escape): New functions.
5875 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5876 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5877
5878 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5879
5880 * simple.el (default-font-height, window-screen-lines):
5881 New functions.
5882 (line-move, line-move-partial): Use them instead of
5883 frame-char-height and window-text-height. This makes scrolling
5884 text smoother when the buffer's default face uses a font that is
5885 different from the frame's default font.
5886
5887 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5888
5889 * files.el (write-file): Do not display confirm dialog for NS,
5890 it does its own dialog, which can't be cancelled (Bug#14578).
5891
5892 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5893
5894 * simple.el (line-move-partial): Adjust the row returned by
5895 posn-at-point for the current window-vscroll. (Bug#14567)
5896
5897 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5898
5899 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5900 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5901 spaces.
5902
5903 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5904
5905 * window.el (window-state-put-stale-windows): New variable.
5906 (window--state-put-2): Save list of windows without matching buffer.
5907 (window-state-put): Remove "bufferless" windows if possible.
5908
5909 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5910
5911 * simple.el (alternatives-define): Remove leftover :group keyword.
5912 Tweak docstring.
5913
5914 2013-07-06 Leo Liu <sdl.web@gmail.com>
5915
5916 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5917 (ido-enable-virtual-buffers): New variable.
5918 (ido-buffer-internal, ido-toggle-virtual-buffers)
5919 (ido-make-buffer-list): Use it.
5920 (ido-exhibit): Support turning on and off virtual buffers
5921 automatically.
5922
5923 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5924
5925 * simple.el (alternatives-define): New macro.
5926
5927 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5928
5929 * subr.el (read-quoted-char): Use read-key.
5930 (sit-for): Let read-event decode tty input (bug#14782).
5931
5932 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5933
5934 * calendar/todo-mode.el: Add handling of file deletion, both by
5935 mode command and externally. Fix various related bugs.
5936 Clarify Commentary and improve some documentation strings and code.
5937 (todo-delete-file): New command.
5938 (todo-check-file): New function.
5939 (todo-show): Handle external deletion of the file we're trying to
5940 show (bug#14688). Replace called-interactively-p by an optional
5941 prefix argument to avoid problematic interaction with catch form
5942 when byte compiled (bug#14702).
5943 (todo-quit): Handle external deletion of the archive's todo file.
5944 Make sure the buffer that was visiting the archive file is still
5945 live before trying to bury it.
5946 (todo-category-completions): Handle external deletion of any
5947 category completion files.
5948 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5949 of todo files, in case of external deletion.
5950 (todo-add-file): Replace unnecessary setq by let-binding.
5951 (todo-find-archive): Check whether there are any archives.
5952 Replace unnecessary setq by let-binding.
5953 (todo-archive-done-item): Use find-file-noselect to get the
5954 archive buffer whether or not the archive already exists.
5955 Remove superfluous code. Use file size instead of buffer-file-name to
5956 check if the archive is new; if it is, update list of archives.
5957 (todo-default-todo-file): Allow nil to be a valid value for when
5958 there are no todo files.
5959 (todo-reevaluate-default-file-defcustom): Use corrected definition
5960 of todo-default-todo-file.
5961 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5962 (todo-delete-category, todo-show-categories-table)
5963 (todo-category-number): Clarify comment.
5964 (todo-filter-items): Clarify documentation string.
5965 (todo-show-current-file, todo-display-as-todo-file)
5966 (todo-reset-and-enable-done-separator): Tweak documentation string.
5967 (todo-done-separator): Make separator length window-width, since
5968 bug#2749 is now fixed.
5969
5970 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5971
5972 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5973 Support both "gvfs-monitor-dir" and "inotifywait".
5974 (tramp-sh-file-inotifywait-process-filter): Rename from
5975 `tramp-sh-file-notify-process-filter'.
5976 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5977 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5978
5979 2013-07-05 Leo Liu <sdl.web@gmail.com>
5980
5981 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5982
5983 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5984
5985 * frame.el (display-pixel-height, display-pixel-width)
5986 (display-mm-height, display-mm-width): Mention behavior on
5987 multi-monitor setups in docstrings.
5988 (w32-display-monitor-attributes-list): Declare function.
5989 (display-monitor-attributes-list): Use it.
5990
5991 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5992
5993 * filenotify.el: New package.
5994
5995 * autorevert.el (top): Require filenotify.el.
5996 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5997 instead.
5998 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5999 (auto-revert-notify-handler): Use `file-notify-*' functions.
6000
6001 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6002
6003 * net/tramp.el (tramp-file-name-for-operation):
6004 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6005
6006 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6007 for `file-notify-add-watch' and `file-notify-rm-watch'.
6008 (tramp-process-sentinel): Improve trace.
6009 (tramp-sh-handle-file-notify-add-watch)
6010 (tramp-sh-file-notify-process-filter)
6011 (tramp-sh-handle-file-notify-rm-watch)
6012 (tramp-get-remote-inotifywait): New defuns.
6013
6014 2013-07-03 Juri Linkov <juri@jurta.org>
6015
6016 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6017 call of `occur-read-primary-args' to interactive spec.
6018
6019 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6020 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6021
6022 2013-07-03 Matthias Meulien <orontee@gmail.com>
6023
6024 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6025 `Buffer-menu-multi-occur'. Add it to the menu.
6026 (Buffer-menu-mode): Document it in docstring.
6027 (Buffer-menu-multi-occur): New command. (Bug#14673)
6028
6029 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6030
6031 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6032 keywords and built-ins.
6033
6034 2013-07-03 Glenn Morris <rgm@gnu.org>
6035
6036 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6037
6038 Make info-xref checks case-sensitive by default
6039 * info.el (Info-find-node, Info-find-in-tag-table)
6040 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6041 Add option for exact case matching of nodes.
6042 * info-xref.el (info-xref): New custom group.
6043 (info-xref-case-fold): New option.
6044 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6045
6046 2013-07-03 Leo Liu <sdl.web@gmail.com>
6047
6048 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6049
6050 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6051
6052 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6053 middle of block statement initially, lower the depth. Remove
6054 FIXME comment, not longer valid. Remove middle of block statement
6055 detection, no need to do that anymore since we've been using
6056 `ruby-parse-region' here.
6057
6058 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6059
6060 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6061
6062 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6063
6064 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6065
6066 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6067
6068 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6069 (desktop-restore-in-current-display): New customization option.
6070 (desktop--excluded-frame-parameters): Add `font'.
6071 (desktop--save-frames): Rename from desktop--save-windows.
6072 (desktop--restore-in-this-display-p): New function.
6073 (desktop--make-full-frame): Remove unwanted width/height from
6074 full(width|height) frames.
6075 (desktop--restore-frames): Rename from desktop--restore-windows.
6076 Obey desktop-restore-current-display. Do not delete old frames or
6077 select a new frame unless we were able to restore at least one frame.
6078
6079 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6080
6081 * files.el (find-file-noselect): Simplify conditional expression.
6082
6083 * remember.el (remember-append-to-file):
6084 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6085
6086 Add `remember-notes' function to store random notes across Emacs
6087 restarts.
6088 * remember.el (remember-data-file): Add :set callback to affect
6089 notes buffer (if any).
6090 (remember-notes): New command.
6091 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6092 New defcustoms for the `remember-notes' function.
6093 (remember-notes-save-and-bury-buffer): New command.
6094 (remember-notes-mode-map): New variable.
6095 (remember-mode): New minor mode.
6096 (remember-notes--kill-buffer-query): New function.
6097 * startup.el (initial-buffer-choice): Add notes to custom type.
6098
6099 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6100
6101 * bindings.el (right-char, left-char): Don't call sit-for, this is
6102 no longer needed. Use arithmetic comparison only for numerical
6103 arguments.
6104
6105 * international/mule-cmds.el (select-safe-coding-system):
6106 Handle the case of FROM being a string correctly. (Bug#14755)
6107
6108 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6109
6110 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6111 progression on degenerate tables.
6112 (shr-rescale-image): ImageMagick animated images currently don't work.
6113
6114 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6115
6116 Some fixes and improvements for desktop frame restoration.
6117 It is still experimental and disabled by default.
6118 * desktop.el (desktop--save-windows): Put the selected frame at
6119 the head of the list.
6120 (desktop--make-full-frame): New function.
6121 (desktop--restore-windows): Try to re-select the frame that was
6122 selected upon saving. Do not abort if some frames fail to restore,
6123 just show an error message and continue. Set up maximized frames
6124 so they have default non-maximized dimensions.
6125
6126 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6127
6128 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6129 Don't start heredoc inside a string or comment.
6130
6131 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6132
6133 * bindings.el (visual-order-cursor-movement): New defcustom.
6134 (right-char, left-char): Provide visual-order cursor motion by
6135 calling move-point-visually. Update the doc strings.
6136
6137 2013-06-28 Kenichi Handa <handa@gnu.org>
6138
6139 * international/mule.el (define-coding-system): New coding system
6140 properties :inhibit-null-byte-detection,
6141 :inhibit-iso-escape-detection, and :prefer-utf-8.
6142 (set-buffer-file-coding-system): If :charset-list property of
6143 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6144 appropriate for setting.
6145
6146 * international/mule-cmds.el (select-safe-coding-system):
6147 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6148 multibyte characters, return utf-8 (or one of its siblings).
6149
6150 * international/mule-conf.el (prefer-utf-8): New coding system.
6151 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6152 files.
6153
6154 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6155
6156 * net/shr.el (shr-render-region): New function.
6157
6158 * net/eww.el: Autoload `eww-browse-url'.
6159
6160 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6161
6162 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6163 Adapt to `package-desc-version' being a list.
6164 Use `package--ac-desc-version' to retrieve version from a package
6165 archive element.
6166
6167 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6168
6169 New experimental feature to save&restore window and frame setup.
6170 * desktop.el (desktop-save-windows): New defcustom.
6171 (desktop--saved-states): New var.
6172 (desktop--excluded-frame-parameters): New defconst.
6173 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6174 (desktop--restore-windows, desktop--save-windows): New functions.
6175 (desktop-save): Call `desktop--save-windows'.
6176 (desktop-read): Call `desktop--restore-windows'.
6177
6178 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6179
6180 * net/shr.el (add-face-text-property): Remove compat definition.
6181
6182 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6183
6184 * info.el (Info-try-follow-nearest-node): Move search for footnote
6185 above search for node name to prevent missing a footnote (bug#14717).
6186
6187 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6188
6189 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6190
6191 2013-06-27 Leo Liu <sdl.web@gmail.com>
6192
6193 * net/eww.el (eww-read-bookmarks): Check file size.
6194
6195 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6196
6197 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6198 advice--pending if newdef is nil or an autoload (bug#13820).
6199 (advice-mapc): New function.
6200
6201 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6202
6203 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6204 probably.
6205 (eww-mode-map): Add a menu bar.
6206 (eww-add-bookmark): New command.
6207 (eww-bookmark-mode): New mode and commands.
6208 (eww-add-bookmark): Remove newlines from the title.
6209 (eww-bookmark-browse): Don't bug out if it's the only window.
6210
6211 2013-06-26 Glenn Morris <rgm@gnu.org>
6212
6213 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6214 (hfy-size): Handle ttys. (Bug#14668)
6215
6216 * info-xref.el: Update for Texinfo 5 change in *note format.
6217 (info-xref-node-re, info-xref-note-re): New constants.
6218 (info-xref-check-buffer): Use info-xref-note-re.
6219
6220 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6221
6222 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6223
6224 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6225 nil terminate the loop (bug#14718).
6226
6227 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6228
6229 * net/eww.el: Rework history traversal. When going forward/back,
6230 put these actions into the history, too, so that they can be
6231 replayed.
6232 (eww-render): Move the history reset to the correct buffer.
6233
6234 2013-06-25 Juri Linkov <juri@jurta.org>
6235
6236 * files-x.el (modify-dir-local-variable): Change the header comment
6237 in the file with directory local variables. (Bug#14692)
6238
6239 * files-x.el (read-file-local-variable-value): Add `default'.
6240 (Bug#14710)
6241
6242 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6243
6244 * net/eww.el (eww-make-unique-file-name): Create a unique file
6245 name before saving to entering `y' accidentally asynchronously.
6246
6247 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6248
6249 * net/eww.el (eww-download): New command and keystroke.
6250
6251 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6252
6253 * net/eww.el (eww-copy-page-url): Change name of command.
6254
6255 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6256 be more consistent with Info and dired.
6257
6258 * net/eww.el (eww-mode-map): Ditto.
6259
6260 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6261
6262 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6263 packages from archives.
6264 (package-archive-contents): Change format; include obsolete packages.
6265 (package-desc): Use `dir' to mark builtin packages.
6266 (package--from-builtin): Set the `dir' field to `builtin'.
6267 (generated-autoload-file, version-control): Declare.
6268 (package-compute-transaction): Change first arg and return value to be
6269 lists of package-descs. Adjust to new package-archive-contents format.
6270 (package--add-to-archive-contents): Adjust to new
6271 package-archive-contents format.
6272 (package-download-transaction): Arg is now a list of package-descs.
6273 (package-install): If `pkg' is a package name, pass it as
6274 a requirement, so it is subject to the usual (e.g. disabled) checks.
6275 (describe-package): Accept package-desc as well.
6276 (describe-package-1): Describe a specific package-desc. Add links to
6277 other package-descs for the same package name.
6278 (package-menu-describe-package): Pass the actual package-desc.
6279 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6280 works correctly.
6281 (package-desc-status): New function.
6282 (package-menu--refresh): New function, extracted
6283 from package-menu--generate.
6284 (package-menu--generate): Use it.
6285 (package-delete): Update package-alist.
6286 (package-menu-execute): Don't call package-initialize.
6287
6288 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6289 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6290 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6291 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6292 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6293 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6294
6295 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6296
6297 * window.el (window--state-get-1): Workaround for bug#14527.
6298 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6299
6300 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6301
6302 * net/eww.el (eww-back-url): Implement the history by stashing all
6303 the data into a list.
6304 (eww-forward-url): Allow going forward in the history, too.
6305
6306 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6307
6308 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6309 for values and use read--expression for expressions (bug#14710).
6310 (read-file-local-variable): Avoid setq.
6311 (read-file-local-variable-mode): Use minor-mode-list.
6312
6313 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6314
6315 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6316 for DOI URLs.
6317
6318 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6319
6320 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6321 Update imenu-support when dialect changes.
6322
6323 2013-06-25 Leo Liu <sdl.web@gmail.com>
6324
6325 * ido.el (ido-read-internal): Allow forward slash on windows.
6326
6327 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6328
6329 * net/eww.el (eww): Start of strings is \\`, not ^.
6330
6331 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6332
6333 * net/shr.el (shr-browse-url): Fix interactive spec.
6334
6335 * net/eww.el (eww): Add a trailing slash to domain names.
6336
6337 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6338
6339 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6340
6341 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6342
6343 * net/shr.el (shr-browse-url): Use an external browser if given a
6344 prefix.
6345
6346 * net/eww.el (eww-external-browser): Move to shr.
6347
6348 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6349
6350 * net/eww.el (eww): Work more correctly for file: URLs.
6351 (eww-detect-charset): Allow quoted charsets.
6352 (eww-yank-page-url): New command and keystroke.
6353
6354 2013-06-24 Daiki Ueno <ueno@gnu.org>
6355
6356 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6357 file name of gpg executable.
6358 (epg-context-program): New function.
6359 (epg-context-home-directory): New function.
6360 (epg-context-set-program): New function.
6361 (epg-context-set-home-directory): New function.
6362 (epg--start): Use `epg-context-program' instead of
6363 'epg-gpg-program'.
6364 (epg--list-keys-1): Likewise.
6365
6366 2013-06-24 Leo Liu <sdl.web@gmail.com>
6367
6368 * ido.el (ido-read-internal): Fix bug#14620.
6369
6370 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6371
6372 * faces.el (face-documentation): Simplify.
6373 (read-face-attribute, tty-find-type, x-resolve-font-name):
6374 Use `string-match-p'.
6375 (list-faces-display): Use `string-match-p'. Simplify.
6376 (face-spec-recalc): Check face to avoid face alias loops.
6377 (read-color): Use `string-match-p' and non-capturing parenthesis.
6378
6379 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6380
6381 * net/shr.el (shr-rescale-image): Use the new
6382 :max-width/:max-height functionality.
6383
6384 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6385
6386 * net/eww.el (eww-search-prefix): New variable.
6387 (eww): Use it.
6388 (eww-external-browser): New variable.
6389 (eww-mode-map): New keystroke.
6390 (eww-browse-with-external-browser): New command.
6391
6392 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6393
6394 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6395
6396 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6397 Don't skip aligning the next header field when padding is 0;
6398 otherwise, field width is not respected unless the title is as
6399 wide as the field.
6400
6401 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6402
6403 * emacs-lisp/package.el (package-el-version): Remove.
6404 (package-process-define-package): Fix inf-loop.
6405 (package-install): Allow symbols as arguments again.
6406
6407 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6408
6409 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6410 add some more keyword-like methods.
6411 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6412
6413 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6414
6415 * bs.el (bs-buffer-show-mark): Make defvar-local.
6416 (bs-mode): Use setq-local.
6417
6418 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6419 (emacs-lock--try-unlocking): Make defvar-local.
6420
6421 2013-06-22 Glenn Morris <rgm@gnu.org>
6422
6423 * play/cookie1.el (cookie-apropos): Minor simplification.
6424
6425 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6426
6427 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6428
6429 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6430 `regexp-opt', it breaks the build during dumping.
6431
6432 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6433
6434 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6435 Highlight keyword-like methods on Kernel and Module with
6436 font-lock-builtin-face.
6437 (auto-mode-alist): Consolidate different entries into one regexp
6438 and add more *file-s.
6439
6440 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6441
6442 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6443
6444 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6445 (diary-entry): Use it in the action of this button type instead of
6446 diary-goto-entry.
6447
6448 * calendar/todo-mode.el: New version.
6449 (todo-add-category): Append new category to end of file and give
6450 it the highest number, instead of putting it at the beginning and
6451 giving it 0. Incorporate noninteractive functionality.
6452 (todo-forward-category): Adapt to 1-based category numbering.
6453 Allow skipping over archived categories.
6454 (todo-backward-category): Derive from todo-forward-category.
6455 (todo-backward-item, todo-forward-item): Make noninteractive and
6456 delegate interactive part to new commands. Make sensitive to done items.
6457 (todo-categories): Make value an alist of category names and
6458 vectors of item counts.
6459 (todo-category-beg): Make a defconst.
6460 (todo-category-number): Use 1 instead of 0 as initial value.
6461 (todo-category-select): Make sensitive to overlays, optional item
6462 highlighting and done items.
6463 (todo-delete-item): Make sensitive to overlays and marked and done items.
6464 (todo-edit-item): Make sensitive to overlays and editing of
6465 date/time header optional. Add format checks.
6466 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6467 no-op if point is not on an item. Advertise using todo-edit-quit.
6468 (todo-edit-mode): Make sensitive to new format, font-locking, and
6469 multiple todo files.
6470 (todo-insert-item, todo-insert-item-here): Derive from
6471 todo-basic-insert-item and extend functionality.
6472 (todo-item-end, todo-item-start): Make sensitive to done items.
6473 (todo-item-string): Don't return text properties. Restore point.
6474 (todo-jump-to-category): Make sensitive to multiple todo files and
6475 todo archives. Use extended category completion.
6476 (todo-lower-item, todo-raise-item): Rename to *-priority and
6477 derive from todo-set-item-priority.
6478 (todo-mode): Derive from special-mode. Make sensitive to new
6479 format, font-locking and multiple todo files. Make read-only.
6480 (todo-mode-map): Don't suppress digit keys, so they can supply
6481 prefix arguments. Add many new key bindings.
6482 (todo-prefix): Insert as an overlay instead of file text.
6483 Change semantics from diary date expression to purely visual mark.
6484 (todo-print): Rename to todo-print-buffer. Make buffer display
6485 features printable. Remove option to restrict number of items
6486 printed. Add option to print to file.
6487 (todo-print-function): Rename to todo-print-buffer-function.
6488 (todo-quit): Extend to handle exiting new todo modes.
6489 (todo-remove-item): Make sensitive to overlays.
6490 (todo-save): Extend to buffers of filtered items.
6491 (todo-show): Make sensitive to done items, multiple todo files and
6492 new todo modes. Offer to convert legacy todo file before creating
6493 first new todo file.
6494 (todo-show-priorities): Rename to todo-top-priorities.
6495 Change semantics of value 0.
6496 (todo-top-priorities): Rename to todo-filter-top-priorities,
6497 derive from todo-filter-items and extend functionality.
6498 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6499 and extend functionality to other types of filtered items.
6500 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6501 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6502 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6503 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6504 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6505 (todo-edit-mode-hook, todo-entry-prefix-function)
6506 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6507 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6508 (todo-initials, todo-insert-threshold, todo-item-string-start)
6509 (todo-line-string, todo-menu, todo-mode-hook)
6510 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6511 (todo-print-priorities, todo-remove-separator)
6512 (todo-save-top-priorities-too, todo-string-count-lines)
6513 (todo-string-multiline-p, todo-time-string-format)
6514 (todo-tmp-buffer-name): Remove.
6515 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6516 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6517 (todo-edit-category-diary-inclusion)
6518 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6519 (todo-edit-file, todo-edit-item-date-day)
6520 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6521 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6522 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6523 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6524 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6525 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6526 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6527 (todo-filter-top-priorities-multifile, todo-find-archive)
6528 (todo-find-filtered-items-file, todo-go-to-source-item)
6529 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6530 (todo-jump-to-archive-category, todo-lower-category)
6531 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6532 (todo-move-category, todo-move-item, todo-next-button)
6533 (todo-next-item, todo-padded-string, todo-powerset)
6534 (todo-previous-button, todo-previous-item)
6535 (todo-print-buffer-to-file, todo-raise-category)
6536 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6537 (todo-set-category-number, todo-set-item-priority)
6538 (todo-set-top-priorities-in-category)
6539 (todo-set-top-priorities-in-file, todo-show-categories-table)
6540 (todo-sort-categories-alphabetically-or-numerically)
6541 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6542 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6543 (todo-toggle-item-header, todo-toggle-item-highlighting)
6544 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6545 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6546 (todo-unarchive-items, todo-unmark-category): New commands.
6547 (todo-absolute-file-name, todo-add-to-buffer-list)
6548 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6549 (todo-basic-insert-item, todo-category-completions)
6550 (todo-category-number, todo-category-string-matcher-1)
6551 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6552 (todo-check-format, todo-clear-matches)
6553 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6554 (todo-current-category, todo-date-string-matcher)
6555 (todo-define-insertion-command, todo-diary-expired-matcher)
6556 (todo-diary-goto-entry, todo-diary-item-p)
6557 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6558 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6559 (todo-done-item-section-p, todo-done-separator)
6560 (todo-done-string-matcher, todo-files, todo-filter-items)
6561 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6562 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6563 (todo-insert-category-line, todo-insert-item-from-calendar)
6564 (todo-insert-sort-button, todo-insert-with-overlays)
6565 (todo-insertion-command-name, todo-insertion-key-bindings)
6566 (todo-label-to-key, todo-longest-category-name-length)
6567 (todo-make-categories-list, todo-mode-external-set)
6568 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6569 (todo-modes-set-3, todo-multiple-filter-files)
6570 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6571 (todo-read-category, todo-read-date, todo-read-dayname)
6572 (todo-read-file-name, todo-read-time)
6573 (todo-reevaluate-category-completions-files-defcustom)
6574 (todo-reevaluate-default-file-defcustom)
6575 (todo-reevaluate-filelist-defcustoms)
6576 (todo-reevaluate-filter-files-defcustom)
6577 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6578 (todo-reset-done-separator, todo-reset-done-separator-string)
6579 (todo-reset-done-string, todo-reset-global-current-todo-file)
6580 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6581 (todo-reset-prefix, todo-set-categories)
6582 (todo-set-date-from-calendar, todo-set-show-current-file)
6583 (todo-set-top-priorities, todo-short-file-name)
6584 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6585 (todo-total-item-counts, todo-update-buffer-list)
6586 (todo-update-categories-display, todo-update-categories-sexp)
6587 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6588 New functions.
6589 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6590 New major modes.
6591 (todo-categories, todo-display, todo-edit, todo-faces)
6592 (todo-filtered): New defgroups.
6593 (todo-archived-only, todo-button, todo-category-string, todo-date)
6594 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6595 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6596 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6597 (todo-add-item-if-new-category, todo-always-add-time-string)
6598 (todo-categories-align, todo-categories-archived-label)
6599 (todo-categories-category-label, todo-categories-diary-label)
6600 (todo-categories-done-label, todo-categories-number-separator)
6601 (todo-categories-todo-label, todo-categories-totals-label)
6602 (todo-category-completions-files, todo-completion-ignore-case)
6603 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6604 (todo-done-separator-string, todo-done-string)
6605 (todo-files-function, todo-filter-done-items, todo-filter-files)
6606 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6607 (todo-initial-category, todo-initial-file, todo-item-mark)
6608 (todo-legacy-date-time-regexp, todo-mode-line-function)
6609 (todo-nondiary-marker, todo-number-prefix)
6610 (todo-print-buffer-function, todo-show-current-file)
6611 (todo-show-done-only, todo-show-first, todo-show-with-done)
6612 (todo-skip-archived-categories, todo-top-priorities-overrides)
6613 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6614 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6615 New defcustoms.
6616 (todo-category-done, todo-date-pattern, todo-date-string-start)
6617 (todo-diary-items-buffer, todo-done-string-start)
6618 (todo-filtered-items-buffer, todo-item-start)
6619 (todo-month-abbrev-array, todo-month-name-array)
6620 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6621 (todo-top-priorities-buffer): New defconsts.
6622 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6623 (todo-categories-with-marks, todo-category-string-face)
6624 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6625 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6626 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6627 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6628 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6629 (todo-font-lock-keywords, todo-global-current-todo-file)
6630 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6631 (todo-insertion-commands-args)
6632 (todo-insertion-commands-args-genlist)
6633 (todo-insertion-commands-names, todo-insertion-map)
6634 (todo-key-bindings-t, todo-key-bindings-t+a)
6635 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6636 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6637 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6638 (todo-visited): New variables.
6639
6640 2013-06-21 Glenn Morris <rgm@gnu.org>
6641
6642 * play/cookie1.el (cookie-apropos): Add optional display argument.
6643 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6644 (psychoanalyze-pinhead): Use cookie-doctor.
6645
6646 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6647
6648 * emacs-lisp/package.el (tar-get-file-descriptor)
6649 (tar--extract): Declare.
6650
6651 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6652
6653 Extend flymake's warning predicate to be a function (bug#14217).
6654 * progmodes/flymake.el (flymake-warning-predicate): New.
6655 (flymake-parse-line): Use it.
6656 (flymake-warning-re): Make obsolete alias to
6657 `flymake-warning-predicate'.
6658
6659 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6660
6661 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6662 (package-obsolete-list): Remove.
6663 (package-activate): Remove min-version argument. Add `force' argument.
6664 Adjust to new package-alist format.
6665 (package-mark-obsolete): Remove.
6666 (package-unpack): Force reload of the package's autoloads.
6667 (package-installed-p): Check builtins if the installed package is not
6668 recent enough.
6669 (package-initialize): Don't reset package-obsolete-list.
6670 Don't specify which package version to activate.
6671 (package-process-define-package, describe-package-1)
6672 (package-menu--generate): Adjust to new package-alist format.
6673
6674 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6675
6676 * allout-widgets.el (allout-widgets-mode-off)
6677 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6678 (allout-widgets-post-command-business)
6679 (allout-widgets-after-copy-or-kill-function)
6680 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6681 (allout-decorate-item-and-context)
6682 (allout-graphics-modification-handler): Fix typos in docstrings.
6683 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6684
6685 * cmuscheme.el (scheme-start-file): Doc fix.
6686 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6687 (scheme-input-filter): Use `string-match-p'.
6688
6689 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6690
6691 * dired-x.el: Use Dired consistently in docstrings.
6692
6693 * dired.el: Use Dired consistently in docstrings.
6694 (dired-readin, dired-mode): Use `setq-local'.
6695 (dired-switches-alist): Make defvar-local.
6696 (dired-buffers-for-dir): Use `zerop'.
6697 (dired-safe-switches-p, dired-switches-escape-p)
6698 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6699 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6700 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6701 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6702 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6703 (dired-toggle-marks, dired-mark-files-containing-regexp)
6704 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6705 (dired-flag-auto-save-files, dired-flag-backup-files):
6706 Use `looking-at-p'.
6707 (dired-mark-files-regexp, dired-build-subdir-alist):
6708 Use `string-match-p', `looking-at-p'.
6709
6710 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6711 (direct-print-region-helper): Use `string-match-p'.
6712
6713 2013-06-21 Leo Liu <sdl.web@gmail.com>
6714
6715 * comint.el (comint-redirect-results-list-from-process):
6716 Fix infinite loop.
6717
6718 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6719
6720 * net/eww.el (eww-update-header-line-format): Quote % characters.
6721
6722 2013-06-21 Glenn Morris <rgm@gnu.org>
6723
6724 * play/cookie1.el (cookie): New custom group.
6725 (cookie-file): New option.
6726 (cookie-check-file): New function.
6727 (cookie): Make it interactive. Make start and end messages optional.
6728 Interactively, display the result. Default to cookie-file.
6729 (cookie-insert): Default to cookie-file.
6730 (cookie-snarf): Make start and end messages optional.
6731 Default to cookie-file. Use with-temp-buffer.
6732 (cookie-read): Rename from read-cookie.
6733 Make start and end messages optional. Default to cookie-file.
6734 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6735 Do not autoload it.
6736 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6737 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6738
6739 2013-06-21 Leo Liu <sdl.web@gmail.com>
6740
6741 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6742
6743 2013-06-21 Glenn Morris <rgm@gnu.org>
6744
6745 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6746
6747 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6748 Daniel Hackney <dan@haxney.org>
6749
6750 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6751 Consolidate the single-file vs tarball code.
6752 (package-desc-suffix): New function.
6753 (package-desc-full-name): Don't bother inlining it.
6754 (package-load-descriptor): Return the new package-desc.
6755 (package-mark-obsolete): Remove unused arg `package'.
6756 (package-unpack): Make it work for single files as well.
6757 Make it update package-alist.
6758 (package--make-autoloads-and-stuff): Rename from
6759 package--make-autoloads-and-compile. Don't compile any more.
6760 (package--compile): New function.
6761 (package-generate-description-file): New function, extracted from
6762 package-unpack-single.
6763 (package-unpack-single): Remove.
6764 (package--with-work-buffer): Add indentation and debugging info.
6765 (package-download-single): Remove.
6766 (package-install-from-archive): Rename from package-download-tar, make
6767 it take a pkg-desc, and make it work for single files as well.
6768 (package-download-transaction): Simplify.
6769 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6770 external tar program.
6771 (package-install-from-buffer): Remove `pkg-desc' argument.
6772 Use package-tar-file-info for tar-mode buffers.
6773 (package-install-file): Simplify accordingly.
6774 (package-archive-base): Change to take a pkg-desc.
6775 * tar-mode.el (tar--check-descriptor): New function, extracted from
6776 tar-get-descriptor.
6777 (tar-get-descriptor): Use it.
6778 (tar-get-file-descriptor): New function.
6779 (tar--extract): New function, extracted from tar-extract.
6780 (tar--extract): Use it.
6781 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6782 case the summary uses non-ascii. Adjust to new calling convention of
6783 package-tar-file-info.
6784
6785 2013-06-21 Leo Liu <sdl.web@gmail.com>
6786
6787 * comint.el (comint-redirect-results-list-from-process):
6788 Fix random delay. (Bug#14681)
6789
6790 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6791
6792 * profiler.el (profiler-format-number): Use log, not log10.
6793
6794 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6795
6796 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6797
6798 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6799
6800 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6801 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6802 yet available.
6803 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6804 (AUTOGENEL): ... here.
6805 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6806 (cl--defsubst-expand): Use it.
6807
6808 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6809
6810 * subr.el (log10): Move here from C code, and declare as obsolete.
6811 All uses of (log10 X) replaced with (log X 10).
6812
6813 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6814
6815 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6816 Declare with `defvar-local'.
6817 (tabulated-list-use-header-line, tabulated-list-entries)
6818 (tabulated-list-padding, tabulated-list-printer)
6819 (tabulated-list-sort-key): Declare with `defvar-local'.
6820 (tabulated-list-init-header, tabulated-list-print-fake-header):
6821 Use `setq-local'.
6822
6823 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6824
6825 * arc-mode.el (archive-mode): Add `archive-write-file' to
6826 `write-contents-functions' also for remote files. (Bug#14652)
6827
6828 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6829
6830 * cus-edit.el (custom-commands): Fix typos.
6831 (custom-display): Fix tooltip text.
6832 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6833 Fix typos in docstrings.
6834 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6835 (custom-unlispify-menu-entry, custom-magic-value-create)
6836 (custom-add-see-also, custom-group-value-create): Use ?\s.
6837 (custom-guess-type, customize-apropos, editable-field)
6838 (custom-face-value-create): Use `string-match-p'.
6839 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6840
6841 * custom.el (custom-load-symbol): Use `string-match-p'.
6842
6843 * ansi-color.el: Convert to lexical binding.
6844 (ansi-colors): Fix URL.
6845 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6846 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6847 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6848
6849 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6850
6851 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6852
6853 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6854
6855 2013-06-19 Tom Tromey <tromey@redhat.com>
6856
6857 * net/eww.el (eww-top-url): Remove.
6858 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6859 (eww-render): Set new variables. Don't set eww-top-url.
6860 (eww-handle-link): Handle "prev", "home", and "contents".
6861 Downcase the rel text.
6862 (eww-top-url): Choose best top URL.
6863
6864 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6865
6866 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6867 relying in widget.el. Using widget.el leads to too many
6868 user interface inconsistencies.
6869 (eww-self-insert): Implement entering commands in text fields.
6870 (eww-process-text-input): New function to make text input field editing
6871 work.
6872 (eww-submit): Rewrite to use the new-style form methods.
6873 (eww-select-display): Display the correct selected item.
6874 (eww-change-select): Implement changing the select value.
6875 (eww-toggle-checkbox): Implement radio/checkboxes.
6876 (eww-update-field): Fix compilation error.
6877 (eww-tag-textarea): Implement <textarea>.
6878
6879 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6880 we don't shadow mode-specific bindings.
6881
6882 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6883 nothing to push.
6884
6885 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6886
6887 2013-06-19 Glenn Morris <rgm@gnu.org>
6888
6889 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6890
6891 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6892
6893 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6894 not needed.
6895
6896 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6897
6898 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6899
6900 * net/browse-url.el (browse-url-browser-function):
6901 `eww-browse-url' has the right calling signature, `eww' does not.
6902
6903 2013-06-19 Glenn Morris <rgm@gnu.org>
6904
6905 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6906 Only eval autoloaded macros.
6907 (byte-compile-autoload): Only give the macro warning for macros.
6908
6909 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6910 (ps-underlined-faces): Declare.
6911
6912 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6913 (speedbar-add-supported-extension): Declare.
6914
6915 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6916 Don't include a date stamp in the header of the generated file;
6917 it leads to needless differences between output files.
6918
6919 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6920
6921 * net/secrets.el (secrets-struct-secret-content-type):
6922 Replace check of introspection data by a test call of "CreateItem".
6923 Some servers do not offer introspection.
6924
6925 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6926
6927 * electric.el (electric-pair-mode): Improve interaction with
6928 electric-layout-mode.
6929 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6930 (electric-pair-syntax): Use text-mode-syntax-table in comments
6931 and strings.
6932 (electric-pair--insert): New function.
6933 (electric-pair-post-self-insert-function): Use it and
6934 electric--after-char-pos.
6935
6936 2013-06-19 Leo Liu <sdl.web@gmail.com>
6937
6938 * progmodes/octave.el (octave-help): Fix regexp.
6939
6940 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6941
6942 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6943 (shr-table-horizontal-line): Allow nil as a value, and change the
6944 default.
6945 (shr-insert-table-ruler): Respect the nil value.
6946
6947 2013-06-18 Tom Tromey <tromey@barimba>
6948
6949 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6950 New defvars.
6951 (eww-open-file): New defun.
6952 (eww-render): Initialize new variables.
6953 (eww-display-html): Handle "link" and "a".
6954 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6955 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6956 (eww-back-url): Rename from eww-previous-url.
6957 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6958 New defuns.
6959
6960 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6961
6962 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6963 Distinguish ternary operator tokens from slash symbol and slash
6964 char literal.
6965
6966 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6967
6968 Convert symbol prettification into minor mode and global minor mode.
6969
6970 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6971 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6972 (prettify-symbols--keywords): Rename from
6973 `prog-prettify-symbols-alist' and make a local defvar.
6974 (prettify-symbols--compose-symbol): Rename from
6975 `prog--prettify-font-lock-compose-symbol'.
6976 (prettify-symbols--make-keywords): Rename from
6977 `prog-prettify-font-lock-symbols-keywords' and simplify.
6978 (prog-prettify-install): Remove.
6979 (prettify-symbols-mode): New minor mode, based on
6980 `prog-prettify-install'.
6981 (turn-on-prettify-symbols-mode): New function.
6982 (global-prettify-symbols-mode): New globalized minor mode.
6983
6984 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6985 * progmodes/cfengine.el (cfengine3-mode):
6986 * progmodes/perl-mode.el (perl-mode): Don't call
6987 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6988
6989 2013-06-18 Juri Linkov <juri@jurta.org>
6990
6991 * files-x.el (modify-file-local-variable-message): New function.
6992 (modify-file-local-variable)
6993 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6994 and call `modify-file-local-variable-message' when it's non-nil.
6995 (add-file-local-variable, delete-file-local-variable)
6996 (add-file-local-variable-prop-line)
6997 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6998 and use it. (Bug#9820)
6999
7000 2013-06-18 Juri Linkov <juri@jurta.org>
7001
7002 * emulation/vi.el (vi-shell-op):
7003 * emulation/vip.el (vip-execute-com, ex-command):
7004 * emulation/viper-cmd.el (viper-exec-bang):
7005 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7006 the call of `shell-command-on-region'. (Bug#14637)
7007
7008 * simple.el (shell-command-on-region): Doc fix.
7009
7010 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7011
7012 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7013 (bug#14633).
7014
7015 2013-06-18 Glenn Morris <rgm@gnu.org>
7016
7017 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7018
7019 * newcomment.el (comment-search-forward, comment-search-backward):
7020 Doc fix. (Bug#14376)
7021
7022 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7023
7024 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7025 (buffer-face-mode-invoke): Doc fix.
7026
7027 2013-06-18 Matthias Meulien <orontee@gmail.com>
7028
7029 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7030 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7031
7032 2013-06-18 Glenn Morris <rgm@gnu.org>
7033
7034 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7035 Replace obsolete function generic-make-keywords with its expansion.
7036
7037 * progmodes/python.el (ffap-alist): Declare.
7038
7039 * textmodes/reftex.el (bibtex-mode-map): Declare.
7040
7041 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7042
7043 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7044 (package-unpack, package-unpack-single): Return the pkg-dir.
7045 (package-download-transaction): Use it to update package-alist.
7046
7047 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7048
7049 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7050 possible choice.
7051
7052 2013-06-17 Juri Linkov <juri@jurta.org>
7053
7054 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7055
7056 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7057
7058 * emacs-lisp/package.el (package-load-descriptor):
7059 Remove `with-syntax-table' call, `read' doesn't need it.
7060 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7061
7062 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7063
7064 * startup.el (command-line): Expand package name returned by
7065 `package--description-file' (bug#14639).
7066
7067 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7068
7069 * emacs-lisp/package.el (package-load-descriptor): Do not call
7070 `emacs-lisp-mode', just use its syntax table.
7071
7072 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7073
7074 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7075 `font-lock-extra-managed-props' if any prettifying keyword is added.
7076 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7077 (prog-mode): Use `setq-local'.
7078
7079 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7080
7081 * international/characters.el (standard-case-table): Set syntax of ?»
7082 and ?« to punctuation.
7083
7084 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7085
7086 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7087 Save relevant match data before calling `syntax-ppss' (bug#14595).
7088
7089 2013-06-15 Juri Linkov <juri@jurta.org>
7090
7091 * files-x.el (modify-file-local-variable-prop-line): Add local
7092 variables to the end of the existing comment on the first line.
7093 Use `file-auto-mode-skip' to skip interpreter magic line,
7094 and also skip XML declaration.
7095
7096 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7097
7098 * startup.el (package--builtin-versions): New var.
7099 (package-subdirectory-regexp): Remove.
7100 (package--description-file): Hard code its value instead.
7101
7102 * emacs-lisp/package.el: Don't activate packages older than builtin.
7103 (package-obsolete-list): Rename from package-obsolete-alist, and make
7104 it into a simple list of package-desc.
7105 (package-strip-version): Remove.
7106 (package-built-in-p): Use package--builtin-versions.
7107 (package-mark-obsolete): Simplify.
7108 (package-process-define-package): Mark it obsolete if older than the
7109 builtin version.
7110 (package-handle-response): Use line-end-position.
7111 (package-read-archive-contents, package--download-one-archive):
7112 Simplify.
7113 (package--add-to-archive-contents): Skip if older than the builtin or
7114 installed version.
7115 (package-menu-describe-package): Fix last change.
7116 (package-list-unversioned): New var.
7117 (package-menu--generate): Use it.
7118
7119 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7120 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7121 (autoload-builtin-package-versions): New variable.
7122 (autoload-generate-file-autoloads): Use them.
7123 Remove the list of autoloaded functions/macros from the
7124 (autoload...) comments.
7125
7126 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7127
7128 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7129
7130 * simple.el (line-move-partial): Don't jump to the next screen
7131 line as soon as it becomes visible. Instead, continue enlarging
7132 the vscroll until the portion of a tall screen line that's left on
7133 display is about the height of the frame's default font.
7134 (Bug#14567)
7135
7136 2013-06-15 Glenn Morris <rgm@gnu.org>
7137
7138 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7139 compilation-error-regexp-alist void, or local while let-bound.
7140
7141 * progmodes/make-mode.el (makefile-mode-syntax-table):
7142 Treat "=" as punctuation. (Bug#14614)
7143
7144 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7145
7146 * help-fns.el (describe-variable):
7147 Add extra line for permanent-local variables.
7148
7149 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7150
7151 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7152 Add export, import, library. (Bug#9164)
7153 (library): Set indent function.
7154
7155 2013-06-14 Glenn Morris <rgm@gnu.org>
7156
7157 * term/xterm.el (xterm--query):
7158 Stop after first matching handler. (Bug#14615)
7159
7160 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7161
7162 Add support for dired in saveplace.
7163 * dired.el (dired-initial-position-hook): New variable.
7164 (dired-initial-position): Call hook to place cursor position.
7165 * saveplace.el (save-place-to-alist): Add dired position.
7166 (save-place-dired-hook): New function.
7167
7168 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7169
7170 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7171 through a symbol rather than letrec.
7172
7173 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7174 (package-desc): Add `dir' field.
7175 (package-desc-full-name): New function.
7176 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7177 (package-maybe-load-descriptor): Remove.
7178 (package-load-all-descriptors): Just call package-load-descriptor.
7179 (package--disabled-p): New function.
7180 (package-desc-vers, package-desc-doc): Remove aliases.
7181 (package--dir): Remove function.
7182 (package-activate): Check if a package is disabled.
7183 (package-process-define-package): New function, extracted from
7184 define-package.
7185 (define-package): Turn into a place holder.
7186 (package-unpack-single, package-tar-file-info):
7187 Use package--description-file.
7188 (package-compute-transaction): Use package--disabled-p.
7189 (package-download-transaction): Don't call
7190 package-maybe-load-descriptor since they're all loaded anyway.
7191 (package-install): Change argument to be a pkg-desc.
7192 (package-delete): Use a single pkg-desc argument.
7193 (describe-package-1): Use package-desc-dir instead of package--dir.
7194 Use package-desc property instead of package-symbol.
7195 (package-install-button-action): Adjust accordingly.
7196 (package--push): Rewrite.
7197 (package-menu--print-info): Adjust accordingly. Change the ID format
7198 to be a pkg-desc.
7199 (package-menu-describe-package, package-menu-get-status)
7200 (package-menu--find-upgrades, package-menu-mark-upgrades)
7201 (package-menu-execute, package-menu--name-predicate):
7202 Adjust accordingly.
7203 * startup.el (package--description-file): New function.
7204 (command-line): Use it.
7205 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7206 Use package-desc-version.
7207
7208 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7209 (byte-compile-preprocess): Use it.
7210 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7211 can't quite recognize.
7212 (byte-compile-add-to-list): Remove.
7213 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7214 (cconv-closure-convert): Add assertion.
7215
7216 * emacs-lisp/map-ynp.el: Use lexical-binding.
7217 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7218 Factor out some repeated code.
7219
7220 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7221
7222 * subr.el (with-eval-after-load): New macro.
7223 (eval-after-load): Allow form to be a function.
7224 take advantage of lexical-binding.
7225 (do-after-load-evaluation): Use dolist and adjust to new format.
7226 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7227
7228 2013-06-13 Juri Linkov <juri@jurta.org>
7229
7230 * replace.el (perform-replace): Display "symbol " and other search
7231 modes from `isearch-message-prefix' in the *Help* buffer.
7232
7233 * isearch.el (isearch-query-replace): Add " symbol" and other
7234 possible search modes from `isearch-message-prefix' to the prompt.
7235 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7236 when reading a regexp to collect.
7237
7238 2013-06-13 Juri Linkov <juri@jurta.org>
7239
7240 * isearch.el (word-search-regexp): Match whitespace if the search
7241 string begins or ends in whitespace. The LAX arg is applied to
7242 both ends of the search string. Use `regexp-quote' and explicit
7243 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7244 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7245 boundaries are replaced with symbol boundaries, and characters
7246 between symbols match non-word non-symbol syntax. (Bug#14602)
7247
7248 2013-06-13 Juri Linkov <juri@jurta.org>
7249
7250 * isearch.el (isearch-del-char): Don't exceed the length of
7251 `isearch-string' by the prefix arg. (Bug#14563)
7252
7253 2013-06-13 Juri Linkov <juri@jurta.org>
7254
7255 * isearch.el (isearch-yank-word, isearch-yank-line)
7256 (isearch-char-by-name, isearch-quote-char)
7257 (isearch-printing-char, isearch-process-search-char):
7258 Add optional count prefix arg. (Bug#14563)
7259
7260 * international/isearch-x.el
7261 (isearch-process-search-multibyte-characters):
7262 Add optional count prefix arg.
7263
7264 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7265
7266 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7267 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7268 lexical-binding.
7269
7270 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7271
7272 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7273
7274 2013-06-13 Glenn Morris <rgm@gnu.org>
7275
7276 * startup.el (tty-handle-args):
7277 Don't just discard "--" and anything after. (Bug#14608)
7278
7279 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7280
7281 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7282
7283 Implement changes in Secret Service API. Make it backward compatible.
7284 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7285 (secrets-create-item): Use it. Prefix properties with interface.
7286
7287 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7288
7289 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7290 (term-emulate-terminal): Respect term-suppress-hard-newline.
7291
7292 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7293
7294 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7295 Only remove a `thumb-file' overlay. (Bug#14548)
7296
7297 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7298
7299 * mail/reporter.el (reporter-submit-bug-report):
7300 Handle missing package-name. (Bug#14600)
7301
7302 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7303
7304 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7305 (reftex-citation-prompt, reftex-default-bibliography)
7306 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7307 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7308 (reftex-bib-sort-author, reftex-bib-sort-year)
7309 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7310 (reftex-extract-bib-entries-from-thebibliography)
7311 (reftex-get-bibkey-default, reftex-get-bib-names)
7312 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7313 (reftex-format-bib-entry, reftex-parse-bibitem)
7314 (reftex-format-bibitem, reftex-do-citation)
7315 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7316 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7317 (reftex-insert-bib-matches, reftex-format-citation)
7318 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7319 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7320 existing comments into docstrings.
7321
7322 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7323
7324 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7325
7326 2013-06-12 Andreas Schwab <schwab@suse.de>
7327
7328 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7329 for auto-save files.
7330
7331 2013-06-12 Glenn Morris <rgm@gnu.org>
7332
7333 * ido.el (ido-delete-ignored-files): Remove.
7334 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7335 Go back to calling ido-ignore-item-p directly.
7336
7337 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7338
7339 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7340
7341 * ido.el (ido-delete-ignored-files): New function,
7342 split from ido-make-file-list-1.
7343 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7344 (ido-make-file-list-1): Use ido-delete-ignored-files.
7345
7346 2013-06-12 Leo Liu <sdl.web@gmail.com>
7347
7348 * progmodes/octave.el (inferior-octave-startup)
7349 (inferior-octave-completion-table)
7350 (inferior-octave-track-window-width-change)
7351 (octave-eldoc-function-signatures, octave-help)
7352 (octave-find-definition): Use single quoted strings.
7353 (inferior-octave-startup-args): Change default value.
7354 (inferior-octave-startup): Do not hard code "-i" and
7355 "--no-line-editing".
7356 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7357 (inferior-octave-directory-tracker): Use it.
7358 (octave-goto-function-definition): Robustify.
7359 (octave-help): Support highlighting operators in 'See also'.
7360 (octave-find-definition): Find subfunctions only in Octave mode.
7361
7362 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7363
7364 * help-fns.el (help-fns--compiler-macro): If the handler function is
7365 named, then put a link to it.
7366 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7367 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7368 (cl-typep): Use it.
7369 (cl-eval-when): Simplify debug spec.
7370 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7371 compiler-macro function instead of setting `compiler-macro-file'.
7372
7373 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7374
7375 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7376 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7377
7378 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7379 Daniel Hackney <dan@haxney.org>
7380
7381 First part of Daniel Hackney's patch to package.el.
7382 * emacs-lisp/package.el: Use defstruct.
7383 (package-desc): New, main struct.
7384 (package--bi-desc, package--ac-desc): New structs, used to describe the
7385 format in external files.
7386 (package-desc-vers): Replace with package-desc-version accessor.
7387 (package-desc-doc): Replace with package-desc-summary accessor.
7388 (package-activate-1): Remove `package' arg since the pkg-vec now
7389 includes the name.
7390 (define-package): Use package-desc-from-define.
7391 (package-unpack-single): Change file-name arg to be a symbol.
7392 (package--add-to-archive-contents): Use package-desc-create and new
7393 accessor functions to package--ac-desc.
7394 (package-buffer-info, package-tar-file-info): Return a package-desc.
7395 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7396 arg to be a package-desc.
7397 (package-install-file): Adjust accordingly. Use \' to match EOS.
7398 (package--from-builtin): New function.
7399 (describe-package-1, package-menu--generate): Use it.
7400 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7401 (package-generate-autoloads): Idem and return the name of the file.
7402 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7403 Change pkg-info arg to be a package-desc.
7404 Use package-make-ac-desc.
7405 (package-upload-file): Use \' to match EOS.
7406 * finder.el (finder-compile-keywords): Use package-make-builtin.
7407
7408 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7409
7410 * vc/vc.el (vc-deduce-fileset): Change error message.
7411 (vc-read-backend): New function.
7412 (vc-next-action): Use it.
7413
7414 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7415
7416 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7417 (prolog-font-lock-keywords): Use regexp-opt instead.
7418 Don't manually highlight strings.
7419 (prolog-mode-variables): Simplify comment-start-skip.
7420 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7421
7422 * emacs-lisp/generic.el (generic--normalise-comments)
7423 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7424 (generic-mode-set-comments): Use them.
7425 (generic-bracket-support): Use setq-local.
7426 (generic-make-keywords-list): Declare obsolete.
7427
7428 2013-06-11 Glenn Morris <rgm@gnu.org>
7429
7430 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7431 Prettify after setting font-lock-defaults. (Bug#14574)
7432
7433 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7434
7435 * replace.el (query-replace, occur-read-regexp-defaults-function)
7436 (replace-search):
7437 * subr.el (declare-function, number-sequence, local-set-key)
7438 (substitute-key-definition, locate-user-emacs-file)
7439 (with-silent-modifications, split-string, eval-after-load):
7440 Fix typos, remove unneeded backslashes and reflow some docstrings.
7441
7442 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7443
7444 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7445 default for Elisp files.
7446
7447 2013-06-11 Glenn Morris <rgm@gnu.org>
7448
7449 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7450 although define-derived-mode was doing this anyway. (Bug#14583)
7451
7452 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7453
7454 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7455 Fix make-variable-buffer-local call to refer to the correct variable.
7456
7457 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7458
7459 * eshell/em-term.el (eshell-visual-commands)
7460 (eshell-visual-subcommands, eshell-visual-options):
7461 Add summary line to docstrings. Add cross-references.
7462
7463 2013-06-10 Glenn Morris <rgm@gnu.org>
7464
7465 * epa.el (epa-read-file-name): New function. (Bug#14510)
7466 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7467
7468 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7469
7470 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7471 output redirection to be ignored with visual commands.
7472
7473 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7474
7475 * eshell/em-term.el (eshell-visual-command-p): New function.
7476 (eshell-term-initialize): Move long lambda to separate function
7477 eshell-visual-command-p.
7478 * eshell/em-dirs.el (eshell-dirs-initialise):
7479 * eshell/em-script.el (eshell-script-initialize):
7480 Add missing #' to lambda.
7481
7482 2013-06-08 Leo Liu <sdl.web@gmail.com>
7483
7484 * progmodes/octave.el (octave-add-log-current-defun): New function.
7485 (octave-mode): Set add-log-current-defun-function.
7486 (octave-goto-function-definition): Do not move point if not found.
7487 (octave-find-definition): Enhance to try subfunctions first.
7488
7489 2013-06-08 Glenn Morris <rgm@gnu.org>
7490
7491 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7492 (byte-compile-backward-char, byte-compile-backward-word):
7493 Improve previous change, to handle non-explicit nil.
7494
7495 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7496
7497 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7498 (smie--opener/closer-at-point): New function.
7499 (smie--matching-block-data): Use it. Don't match from right after an
7500 opener or right before a closer. Obey smie-blink-matching-inners.
7501 Don't signal a mismatch for repeated inners like "switch..case..case".
7502
7503 2013-06-07 Leo Liu <sdl.web@gmail.com>
7504
7505 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7506 to t. (Bug#14303)
7507 (octave-function-header-regexp): Fix. (Bug#14570)
7508 (octave-help-mode-finish-hook, octave-help-mode-finish):
7509 Remove. Just use temp-buffer-show-hook.
7510
7511 * newcomment.el (comment-search-backward): Revert last change.
7512 (Bug#14434)
7513
7514 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7515
7516 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7517
7518 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7519 through xargs, to avoid failure due to MS-Windows limitations on
7520 command-line length.
7521
7522 2013-06-06 Glenn Morris <rgm@gnu.org>
7523
7524 * font-lock.el (lisp-font-lock-keywords-2):
7525 Treat user-error like error.
7526
7527 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7528 (byte-compile-backward-char, byte-compile-backward-word):
7529 Handle explicit nil arguments. (Bug#14565)
7530
7531 2013-06-05 Alan Mackenzie <acm@muc.de>
7532
7533 * isearch.el (isearch-allow-prefix): New user option.
7534 (isearch-other-meta-char): Don't exit isearch when a prefix
7535 argument is typed whilst `isearch-allow-prefix' is non-nil.
7536 (Bug#9706)
7537
7538 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7539
7540 * autorevert.el (auto-revert-notify-handler): Use memq.
7541 Hide assertion failure.
7542
7543 * skeleton.el: Use cl-lib.
7544 (skeleton-further-elements): Use defvar-local.
7545 (skeleton-insert): Use cl-progv.
7546
7547 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7548
7549 * progmodes/prog-mode.el (prog-prettify-symbols)
7550 (prog-prettify-install): Update docstrings.
7551
7552 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7553
7554 * simple.el: Move all the prog-mode code to prog-mode.el.
7555 * progmodes/prog-mode.el: New file.
7556 * loadup.el: Add prog-mode.el.
7557
7558 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7559
7560 * simple.el (prog-prettify-symbols): Add version.
7561 (prog-prettify-install): Add convenience function to prettify symbols.
7562
7563 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7564 (perl--augmented-font-lock-keywords-1)
7565 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7566 variables and use it.
7567
7568 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7569 (cfengine3-mode): Remove unneeded variable and use it.
7570
7571 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7572 (lisp--augmented-font-lock-keywords-1)
7573 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7574 Remove unneeded variables and use it.
7575
7576 2013-06-05 João Távora <joaotavora@gmail.com>
7577
7578 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7579 to point when opening the connection. (Bug#14380)
7580
7581 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7582
7583 * subr.el (load-history-regexp, load-history-filename-element)
7584 (eval-after-load, after-load-functions, do-after-load-evaluation)
7585 (eval-next-after-load, display-delayed-warnings)
7586 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7587 definition of save-match-data.
7588 (overriding-local-map): Remove accidental obsolescence declaration.
7589
7590 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7591
7592 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7593
7594 Generalize symbol prettify support to prog-mode and implement it
7595 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7596 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7597 (prog--prettify-font-lock-compose-symbol)
7598 (prog-prettify-font-lock-symbols-keywords): New variables and
7599 functions to support symbol prettification.
7600 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7601 (lisp--augmented-font-lock-keywords-1)
7602 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7603 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7604 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7605 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7606 Implement prettify of -> => :: strings.
7607 * progmodes/perl-mode.el (perl-prettify-symbols)
7608 (perl--font-lock-compose-symbol)
7609 (perl--font-lock-symbols-keywords): Move to prog-mode.
7610 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7611 (perl-font-lock-keywords-1)
7612 (perl-font-lock-keywords-2): Remove explicit prettify support.
7613 (perl--augmented-font-lock-keywords)
7614 (perl--augmented-font-lock-keywords-1)
7615 (perl--augmented-font-lock-keywords-2, perl-mode):
7616 Implement prettify support.
7617
7618 2013-06-05 Leo Liu <sdl.web@gmail.com>
7619
7620 Re-implement smie matching block highlight using
7621 show-paren-data-function. (Bug#14395)
7622 * emacs-lisp/smie.el (smie-matching-block-highlight)
7623 (smie--highlight-matching-block-overlay)
7624 (smie--highlight-matching-block-lastpos)
7625 (smie-highlight-matching-block)
7626 (smie-highlight-matching-block-mode): Remove.
7627 (smie--matching-block-data-cache): New variable.
7628 (smie--matching-block-data): New function.
7629 (smie-setup): Use smie--matching-block-data for
7630 show-paren-data-function.
7631
7632 * progmodes/octave.el (octave-mode-menu): Fix.
7633 (octave-find-definition): Skip garbage lines.
7634
7635 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7636
7637 Fix compilation error with simultaneous dynamic+lexical scoping.
7638 Add warning when a defvar appears after the first let-binding.
7639 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7640 (byte-compile-close-variables): Initialize it.
7641 (byte-compile--declare-var): New function.
7642 (byte-compile-file-form-defvar)
7643 (byte-compile-file-form-define-abbrev-table)
7644 (byte-compile-file-form-custom-declare-variable): Use it.
7645 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7646 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7647 (byte-compile-bind): Handle dynamic bindings that shadow
7648 lexical bindings.
7649 (byte-compile-unbind): Make arg non-optional.
7650 (byte-compile-let): Simplify.
7651 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7652 (cconv--analyse-function, cconv-analyse-form): Populate it.
7653 Protect byte-compile-bound-variables to limit the scope of defvars.
7654 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7655 Remove unneeded rule for `declare'.
7656
7657 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7658 so as to avoid depending on cl-adjoin at run-time.
7659 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7660
7661 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7662 (macroexp--warn-and-return): Use it.
7663
7664 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7665
7666 * lisp/subr.el: Convert to lexical binding.
7667 (overriding-local-map): Make obsolete.
7668 (add-to-list): Doc fix. Add compiler macro.
7669 (read-key): Swap values of local maps.
7670
7671 2013-06-05 Leo Liu <sdl.web@gmail.com>
7672
7673 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7674
7675 2013-06-04 Leo Liu <sdl.web@gmail.com>
7676
7677 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7678 (compilation-auto-jump): Suppress the "Mark set" message to give
7679 way to exit message.
7680
7681 2013-06-04 Alan Mackenzie <acm@muc.de>
7682
7683 Remove faulty optimisation from indentation calculation.
7684 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7685 search limit based on 2000 characters back from indent-point.
7686
7687 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7688
7689 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7690
7691 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7692
7693 * emacs-lisp/lisp.el: Use lexical-binding.
7694 (lisp--local-variables-1, lisp--local-variables): New functions.
7695 (lisp--local-variables-completion-table): New var.
7696 (lisp-completion-at-point): Use it complete let-bound vars.
7697
7698 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7699 eagerly (bug#14422).
7700
7701 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7702
7703 * autorevert.el (auto-revert-notify-enabled)
7704 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7705 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7706 (auto-revert-notify-handler): Handle also gfilenotify.
7707
7708 * subr.el (file-notify-handle-event): New defun. Replacing ...
7709 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7710 Remove.
7711
7712 2013-06-03 Juri Linkov <juri@jurta.org>
7713
7714 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7715 `M-s h .'. (Bug#14427)
7716
7717 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7718 command `hi-lock-face-symbol-at-point'.
7719 (hi-lock-face-symbol-at-point): New command.
7720 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7721 (hi-lock-menu): Add `highlight-symbol-at-point'.
7722 (hi-lock-mode): Doc fix.
7723
7724 * isearch.el (isearch-forward-symbol-at-point): New command.
7725 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7726 (isearch-highlight-regexp): Add a regexp which matches
7727 words/symbols for word/symbol mode.
7728
7729 * subr.el (find-tag-default-bounds): New function with the body
7730 mostly moved from `find-tag-default'.
7731 (find-tag-default): Move most code to `find-tag-default-bounds',
7732 call it and apply `buffer-substring-no-properties' afterwards.
7733
7734 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7735
7736 * eshell/em-term.el (eshell-term-initialize):
7737 Use `cl-intersection' rather than `intersection'.
7738
7739 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7740
7741 * vc/log-view.el: Doc fix.
7742 (log-view-mode-map): Copy keymap from `special-mode-map'.
7743
7744 2013-06-02 Eric Ludlam <zappo@gnu.org>
7745
7746 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7747 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7748 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7749 (eieio-unbound, eieio-default-superclass)
7750 (eieio--define-field-accessors, method-static, method-before)
7751 (method-primary, method-after, method-num-lists)
7752 (method-generic-before, method-generic-primary)
7753 (method-generic-after, method-num-slots)
7754 (eieio-specialized-key-to-generic-key)
7755 (eieio--check-type, class-v, class-p)
7756 (eieio-class-name, define-obsolete-function-alias)
7757 (eieio-class-parents-fast, eieio-class-children-fast)
7758 (same-class-fast-p, class-constructor, generic-p)
7759 (generic-primary-only-p, generic-primary-only-one-p)
7760 (class-option-assoc, class-option, eieio-object-p)
7761 (class-abstract-p, class-method-invocation-order)
7762 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7763 (eieio-class-un-autoload, eieio-defclass)
7764 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7765 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7766 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7767 (eieio-defgeneric-reset-generic-form)
7768 (eieio-defgeneric-form-primary-only)
7769 (eieio-defgeneric-reset-generic-form-primary-only)
7770 (eieio-defgeneric-form-primary-only-one)
7771 (eieio-defgeneric-reset-generic-form-primary-only-one)
7772 (eieio-unbind-method-implementations)
7773 (eieio--defmethod, eieio--typep)
7774 (eieio-perform-slot-validation, eieio-validate-slot-value)
7775 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7776 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7777 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7778 (eieio-slot-name-index, eieio-class-slot-name-index)
7779 (eieio-set-defaults, eieio-initarg-to-attribute)
7780 (eieio-attribute-to-initarg, eieio-c3-candidate)
7781 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7782 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7783 (eieio-class-precedence-list, eieio-generic-call-methodname)
7784 (eieio-generic-call-arglst, eieio-generic-call-key)
7785 (eieio-generic-call-next-method-list)
7786 (eieio-pre-method-execution-functions, eieio-generic-call)
7787 (eieio-generic-call-primary-only, eieiomt-method-list)
7788 (eieiomt-optimizing-obarray, eieiomt-install)
7789 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7790 (eieio-generic-form, eieio-defmethod, make-obsolete)
7791 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7792 (defclass): Remove `eval-and-compile' from macro.
7793 (call-next-method, shared-initialize): Instead of using
7794 `scoped-class' variable, use new eieio--scoped-class, and
7795 eieio--with-scoped-class.
7796 (initialize-instance): Rename local variable 'scoped-class' to
7797 'this-class' to remove ambiguitity from old global.
7798
7799 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7800 eieio.el.
7801 (eieio--scoped-class-stack): New variable.
7802 (eieio--scoped-class): New fcn.
7803 (eieio--with-scoped-class): New scoping macro.
7804 (eieio-defclass): Use pushnew instead of add-to-list.
7805 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7806 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7807 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7808 `scoped-class' variable, use new eieio--scoped-class, and
7809 eieio--with-scoped-class.
7810
7811 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7812
7813 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7814
7815 * eshell/esh-ext.el (eshell-external-command): Pass args to
7816 `eshell-find-interpreter'.
7817 (eshell-find-interpreter): Add new second parameter ARGS.
7818
7819 * eshell/em-script.el (eshell-script-initialize): Add second arg
7820 to the function added as MATCH to `eshell-interpreter-alist'.
7821
7822 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7823 the function added as MATCH to `eshell-interpreter-alist'.
7824
7825 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7826 (eshell-visual-options): New defcustom.
7827 (eshell-escape-control-x): Adapt docstring.
7828 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7829 `eshell-visual-options' in addition to `eshell-visual-commands'.
7830 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7831
7832 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7833
7834 * progmodes/python.el (python-indent-block-enders): Add break,
7835 continue and raise keywords.
7836
7837 2013-06-01 Glenn Morris <rgm@gnu.org>
7838
7839 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7840
7841 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7842 * progmodes/cc-cmds.el (delete-forward-p):
7843 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7844 * progmodes/cc-engine.el (buffer-syntactic-context):
7845 * progmodes/cc-fonts.el (face-property-instance):
7846 * progmodes/cc-mode.el (set-keymap-parents):
7847 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7848 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7849 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7850 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7851 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7852
7853 * progmodes/cc-vars.el (other): Emacs has this widget since
7854 at least 21.1, so don't (re)define it.
7855
7856 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7857 Replace the obsolete alias pcomplete-arg-quote-list.
7858
7859 2013-06-01 Leo Liu <sdl.web@gmail.com>
7860
7861 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7862 punctuation syntax.
7863 (inferior-octave-minimal-columns)
7864 (inferior-octave-last-column-width): New variables.
7865 (inferior-octave-track-window-width-change): New function.
7866 (inferior-octave-mode): Adjust column width so that Octave output,
7867 for example from 'ls', can fit into the window nicely.
7868
7869 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7870
7871 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7872 Highlight expansions inside regexp literals.
7873
7874 2013-05-31 Glenn Morris <rgm@gnu.org>
7875
7876 * obsolete/sym-comp.el (symbol-complete):
7877 Replace obsolete completion-annotate-function.
7878
7879 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7880
7881 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7882
7883 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7884 New function, checks if point is inside a literal that allows
7885 expression expansion.
7886 (ruby-syntax-propertize-expansion): Use it.
7887 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7888 around the body.
7889
7890 2013-05-30 Juri Linkov <juri@jurta.org>
7891
7892 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7893 to "\M-si".
7894 (isearch-invisible): New variable.
7895 (isearch-forward): Doc fix.
7896 (isearch-mode): Set `isearch-invisible'
7897 to the value of `search-invisible'.
7898 (isearch-toggle-case-fold): Doc fix.
7899 (isearch-toggle-invisible): New command.
7900 (isearch-query-replace): Let-bind `search-invisible'
7901 to the value of `isearch-invisible'.
7902 (isearch-search): Use `isearch-invisible' instead of
7903 `search-invisible'. Let-bind `search-invisible'
7904 to the value of `isearch-invisible'. (Bug#11378)
7905
7906 2013-05-30 Juri Linkov <juri@jurta.org>
7907
7908 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7909 call when `query-flag' is nil and `search-invisible' is non-nil.
7910 (Bug#11746)
7911
7912 2013-05-30 Glenn Morris <rgm@gnu.org>
7913
7914 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7915
7916 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7917 (cc-require): Suppress spurious "noruntime" warnings.
7918 (cc-require-when-compile): Use fboundp, for sake of compiler.
7919
7920 * progmodes/cc-mode.el: Move load of cc-vars before that of
7921 cc-langs (which in turn loads cc-vars), to quieten compiler.
7922
7923 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7924
7925 * paren.el: Simplify the code.
7926 (show-paren-mode): Always start the timer.
7927 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7928 (show-paren--overlay, show-paren--overlay-1): Rename from
7929 show-paren-overlay and show-paren-overlay-1, and initialize to an
7930 overlay rather than to nil.
7931 (show-paren-function): Misc cleanup and simplifications.
7932
7933 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7934
7935 * paren.el (show-paren-data-function): New hook.
7936 (show-paren--default): New function, extracted from show-paren-function.
7937 (show-paren-function): Use show-paren-data-function.
7938
7939 2013-05-30 Glenn Morris <rgm@gnu.org>
7940
7941 * ielm.el (ielm-map, ielm-complete-symbol):
7942 Use completion-at-point rather than obsolete functions.
7943 (inferior-emacs-lisp-mode): Doc fix.
7944 Set completion-at-point-functions, rather than
7945 comint-dynamic-complete-functions.
7946
7947 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7948 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7949 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7950
7951 * image.el (image-animated-p): Tweak definition.
7952
7953 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7954 (rlogin-process-connection-type): Tweak default. Add set-after.
7955 (rlogin-host): Doc fix.
7956 (rlogin): Tweak prompt.
7957 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7958
7959 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7960 * progmodes/tcl.el (inferior-tcl-mode-map):
7961 Use completion-at-point rather than obsolete alias.
7962
7963 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7964
7965 * minibuffer.el (read-file-name-completion-ignore-case):
7966 Move before completion--in-region, for eager macro expansion.
7967
7968 2013-05-29 Juri Linkov <juri@jurta.org>
7969
7970 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7971 for total count of matching lines. Add `global-matches' for total
7972 count of matches. Rename `matches' to `lines' for count of
7973 matching lines. Add `matches' for count of matches.
7974 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7975 to `prev-line' for line number of prev match endpt.
7976 Increment `matches' for every match. Print the number of
7977 matching lines in the header.
7978 (occur-context-lines): Rename `lines' to `curr-line'.
7979 Rename `prev-lines' to `prev-line'. (Bug#14017)
7980
7981 2013-05-29 Juri Linkov <juri@jurta.org>
7982
7983 * replace.el (perform-replace): Add `skip-read-only-count',
7984 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7985 Increment them for corresponding conditions and report the number
7986 of skipped occurrences in the final message. (Bug#11746)
7987 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7988 (replace-string, replace-regexp): Doc fix.
7989
7990 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7991
7992 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7993
7994 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7995 prog-mode-map (bug#14504).
7996
7997 2013-05-29 Leo Liu <sdl.web@gmail.com>
7998
7999 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8000 (octave-help): Small simplification.
8001
8002 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8003 off the highlight first.
8004
8005 2013-05-29 Glenn Morris <rgm@gnu.org>
8006
8007 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8008 Handle idlwave-last-system-routine-info-cons-cell being nil.
8009
8010 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8011 (idlwave-write-paths): Simplify via with-temp-buffer.
8012
8013 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8014 * emulation/cua-rect.el: Also load cua-base at run time.
8015
8016 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8017 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8018 (cperl-imenu-on-info): Require imenu.
8019
8020 2013-05-28 Alan Mackenzie <acm@muc.de>
8021
8022 Handle "capitalised keywords" correctly.
8023 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8024
8025 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8026
8027 * eshell/em-unix.el: Add -r option to cp.
8028
8029 2013-05-28 Glenn Morris <rgm@gnu.org>
8030
8031 * vc/vc-arch.el (vc-exec-after): Declare.
8032 (vc-switches): Autoload.
8033 * vc/vc-bzr.el: No need to require vc when compiling.
8034 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8035 (vc-resynch-buffer, vc-dir-refresh): Declare.
8036 (vc-setup-buffer, vc-switches): Autoload.
8037 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8038 (vc-resynch-buffer): Declare.
8039 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8040 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8041 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8042 (grep-read-regexp, grep-read-files, grep-expand-template)
8043 (vc-dir-refresh): Declare.
8044 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8045 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8046 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8047 * vc/vc-mtn.el (vc-exec-after): Declare.
8048 (vc-switches): Autoload.
8049 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8050 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8051 (vc-file-tree-walk): Declare.
8052 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8053 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8054 (vc-tag-precondition, vc-rename-master): Autoload.
8055 * vc/vc-svn.el (vc-exec-after): Declare.
8056 (vc-switches, vc-setup-buffer): Autoload.
8057 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8058 Autoload.
8059 (vc-resynch-buffer): Declare.
8060
8061 * obsolete/fast-lock.el (byte-compile-warnings):
8062 Don't warn about obsolete features in this obsolete file.
8063
8064 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8065 Move definition before use.
8066
8067 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8068 (dun-unix-verbs): Remove dun-zippy.
8069 (dun-zippy): Remove function.
8070
8071 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8072
8073 2013-05-27 Juri Linkov <juri@jurta.org>
8074
8075 * replace.el (replace-search): New function with code moved out
8076 from `perform-replace'.
8077 (replace-highlight, replace-dehighlight): Move function definitions
8078 up closer to `replace-search'. (Bug#11746)
8079
8080 2013-05-27 Juri Linkov <juri@jurta.org>
8081
8082 * replace.el (perform-replace): Ignore invisible matches.
8083 In addition to checking `query-replace-skip-read-only', also
8084 filter out matches by calling `run-hook-with-args-until-failure'
8085 on `isearch-filter-predicates', and also check `search-invisible'
8086 for t or call `isearch-range-invisible'.
8087 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8088
8089 2013-05-27 Juri Linkov <juri@jurta.org>
8090
8091 * isearch.el (isearch-filter-predicates): Rename from
8092 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8093 (isearch-message-prefix): Display text from the property
8094 `isearch-message-prefix' of the currently active filters.
8095 (isearch-search): Don't compare `isearch-filter-predicate' with
8096 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8097 on `isearch-filter-predicates'. Also check `search-invisible' for t
8098 or call `isearch-range-invisible'.
8099 (isearch-filter-visible): Make obsolete.
8100 (isearch-lazy-highlight-search):
8101 Call `run-hook-with-args-until-failure' on
8102 `isearch-filter-predicates' and use `isearch-range-invisible'.
8103
8104 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8105 `isearch-filter-predicates' instead of `funcall'ing
8106 `isearch-filter-predicate'.
8107 (Info-mode): Set `Info-isearch-filter' to
8108 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8109
8110 * dired-aux.el (dired-isearch-filter-predicate-orig):
8111 Remove variable.
8112 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8113 (dired-isearch-filenames-end): Add and remove
8114 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8115 instead of changing the value of `isearch-filter-predicate'.
8116 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8117 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8118 Put property `isearch-message-prefix' to "filename " on
8119 `dired-isearch-filter-filenames'.
8120
8121 * wdired.el (wdired-change-to-wdired-mode):
8122 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8123 locally instead of changing `isearch-filter-predicate'.
8124 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8125
8126 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8127
8128 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8129 return the commit hash (Bug#14459). Also set the
8130 `vc-git-detached' property.
8131 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8132 (vc-git-mode-line-string): Use the same help-echo format whether
8133 in detached mode or not, because we know the actual revision now.
8134 When in detached mode, shorten the revision to 7 chars.
8135
8136 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8137
8138 * emacs-lisp/easy-mmode.el (define-minor-mode):
8139 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8140 mode hook and provide a docstring.
8141
8142 2013-05-27 Alan Mackenzie <acm@muc.de>
8143
8144 Remove spurious syntax-table text properties inserted by C-y.
8145 * progmodes/cc-mode.el (c-after-change): Also clear hard
8146 syntax-table property with value nil.
8147
8148 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8149
8150 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8151 when reading the events; the buffer layout shall not be changed.
8152
8153 2013-05-27 Leo Liu <sdl.web@gmail.com>
8154
8155 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8156 New variable.
8157 (inferior-octave-directory-tracker): Automatically re-sync
8158 default-directory.
8159 (octave-help): Improve handling of 'See also'.
8160
8161 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8162
8163 * doc-view.el: Minor naming convention tweaks.
8164 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8165
8166 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8167 even if there's no `display' property yet (bug#14435).
8168
8169 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8170
8171 * subr.el (unmsys--file-name): Rename from reveal-filename.
8172
8173 * Makefile.in (custom-deps, finder-data, autoloads)
8174 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8175 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8176 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8177
8178 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8179
8180 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8181 error-completion on the first 2 args of condition-case (bug#14446).
8182 Don't burp at EOB.
8183
8184 2013-05-25 Leo Liu <sdl.web@gmail.com>
8185
8186 * comint.el (comint-previous-matching-input): Do not flood the
8187 *Messages* buffer with trivial messages.
8188
8189 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8190
8191 * progmodes/flymake.el (flymake-nop): Don't return a string.
8192 (flymake-set-at): Fix typo.
8193
8194 * simple.el (read--expression): New function, extracted from
8195 eval-expression. Set completion-at-point-functions (bug#14465).
8196 (eval-expression, eval-minibuffer): Use it.
8197
8198 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8199
8200 * progmodes/flymake.el (flymake-save-buffer-in-file)
8201 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8202 (flymake-selected-frame, flymake-log, flymake-ins-after)
8203 (flymake-set-at, flymake-get-buildfile-from-cache)
8204 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8205 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8206 Refine the doc string.
8207 (flymake-get-file-name-mode-and-masks): Reformat.
8208 (flymake-get-real-file-name-function): Fix a minor bug.
8209
8210 2013-05-24 Juri Linkov <juri@jurta.org>
8211
8212 * progmodes/grep.el (grep-mode-font-lock-keywords):
8213 Support =linenumber= format used by git-grep for lines with
8214 function names. (Bug#13549)
8215
8216 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8217
8218 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8219 0 after a semi-colon; it works better for smie-auto-fill.
8220 (octave--indent-new-comment-line): New function.
8221 (octave-indent-new-comment-line): Use it (indirectly).
8222 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8223 modify comment-line-break-function.
8224
8225 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8226 (smie-setup): Use add-function to set it.
8227
8228 2013-05-24 Sam Steingold <sds@gnu.org>
8229
8230 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8231 argument (before the `interactive' argument).
8232
8233 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8234
8235 * image-mode.el (image-mode-winprops): Add winprops to
8236 image-mode-winprops-alist before running
8237 image-mode-new-window-functions.
8238 * doc-view.el (doc-view-new-window-function): Don't delay
8239 doc-view-goto-page via timers (bug#14435).
8240
8241 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8242
8243 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8244 (doc-view-desktop-save-buffer): New function.
8245 (doc-view-restore-desktop-buffer): New function.
8246 (desktop-buffer-mode-handlers):
8247 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8248 handler.
8249 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8250 `desktop-save-buffer' function.
8251
8252 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8253
8254 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8255 (tramp-gvfs-file-name-handler): Raise a user error when
8256 `tramp-gvfs-enabled' is nil.
8257 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8258 Do not raise a user error when loading package. (Bug#14447)
8259
8260 * net/xesam.el: Move to obsolete/.
8261
8262 2013-05-24 Glenn Morris <rgm@gnu.org>
8263
8264 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8265
8266 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8267
8268 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8269 (Info-find-node, Man-getpage-in-background): Declare.
8270
8271 * mail/unrmail.el (unrmail):
8272 Replace obsolete detect-coding-with-priority.
8273
8274 * net/socks.el (socks-split-string): Use this rather than split-string.
8275 (socks-nslookup-host): Update for above change.
8276 (dynamic-choice, s5-dynamic-choice-match)
8277 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8278 Comment out unused code.
8279
8280 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8281 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8282 (gud-tooltip-echo-area): Make obsolete.
8283 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8284
8285 * progmodes/js.el (js--optimize-arglist): Declare.
8286
8287 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8288
8289 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8290 (ediff-window-C): Declare.
8291
8292 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8293 Tweak requires to silence compiler.
8294
8295 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8296 (he-search-string, he-tried-table, he-expand-list)
8297 (he-init-string, he-string-member, he-substitute-string)
8298 (he-reset-string): Declare.
8299
8300 * obsolete/options.el (list-options): Use custom-variable-p,
8301 rather than obsolete alias.
8302
8303 2013-05-23 Sam Steingold <sds@gnu.org>
8304
8305 * simple.el (shell-command-on-region): Pass the `replace' argument
8306 down to `call-process-region' to comply with the doc as reported on
8307 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8308
8309 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8310
8311 * emacs-lisp/smie.el (smie-indent-forward-token)
8312 (smie-indent-backward-token): Handle string tokens (bug#14381).
8313
8314 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8315
8316 * ielm.el (ielm-menu): New menu.
8317 (inferior-emacs-lisp-mode): Set comment-start.
8318
8319 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8320
8321 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8322 Fix deactivate action.
8323
8324 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8325 Add cleveref macros.
8326
8327 * lisp/textmodes/reftex-parse.el
8328 (reftex-locate-bibliography-files): Accept options for
8329 bibliography commands.
8330 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8331 Add addbibresource. Basic Biblatex support.
8332
8333 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8334
8335 * net/tramp-gvfs.el (top):
8336 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8337 when loading package. (Bug#14447)
8338
8339 2013-05-23 Glenn Morris <rgm@gnu.org>
8340
8341 * progmodes/js.el: No need to load comint when compiling.
8342 (ring-insert, comint-send-string, comint-send-input)
8343 (comint-last-input-end, ido-chop): Declare.
8344
8345 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8346 * vc/ediff-mult.el: Adjust requires.
8347 (ediff-directories-internal, ediff-directory-revisions-internal)
8348 (ediff-patch-file-internal): Declare.
8349 * vc/ediff-ptch.el: Adjust requires.
8350 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8351 (ediff-find-file): Autoload.
8352 * vc/ediff-util.el: No need to load ediff when compiling.
8353 (ediff-regions-internal): Declare.
8354 * vc/ediff-wind.el: Adjust requires.
8355 (ediff-compute-toolbar-width): Define when compiling.
8356 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8357 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8358 (dired-get-filename, dired-get-marked-files)
8359 (ediff-last-dir-patch, ediff-patch-default-directory)
8360 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8361 (ediff-patch-buffer-internal): Declare.
8362
8363 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8364 (ispell-process, ispell-buffer-local-words, lm-summary)
8365 (lm-section-start, lm-section-end): Declare.
8366 (checkdoc-ispell-init): Simplify.
8367
8368 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8369 (he-string-member, he-reset-string, he-substitute-string): Declare.
8370
8371 * eshell/em-ls.el: Adjust requires.
8372 (eshell-glob-regexp): Declare.
8373 * eshell/em-tramp.el: Adjust requires.
8374 (eshell-parse-command): Autoload.
8375 * eshell/em-xtra.el: Adjust requires.
8376 (eshell-parse-command): Autoload.
8377 * eshell/esh-ext.el: Adjust requires.
8378 (eshell-parse-command, eshell-close-handles): Autoload.
8379 * eshell/esh-io.el: Adjust requires.
8380 (eshell-output-filter): Autoload.
8381 * eshell/esh-util.el: No need to load tramp when compiling.
8382 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8383 Declare.
8384 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8385 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8386 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8387 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8388 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8389 * eshell/esh-opt.el, eshell/esh-proc.el:
8390 * eshell/esh-var.el: Adjust requires.
8391 * eshell/eshell.el: Do not require esh-util twice.
8392 (eshell-add-input-to-history): Declare.
8393 (eshell-command): Check history module is active before using it.
8394
8395 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8396
8397 2013-05-22 Leo Liu <sdl.web@gmail.com>
8398
8399 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8400
8401 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8402
8403 * autorevert.el (auto-revert-notify-add-watch)
8404 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8405 it indicates changes in file modification time.
8406
8407 2013-05-22 Glenn Morris <rgm@gnu.org>
8408
8409 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8410 Always delete the autoloaded function from the noruntime and
8411 unresolved functions lists.
8412
8413 * allout.el: No need to load epa, epg, overlay when compiling.
8414 (epg-context-set-passphrase-callback, epg-list-keys)
8415 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8416 (epg-key-user-id-list): Declare.
8417
8418 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8419 (viper-set-parsing-style-toggling-macro)
8420 (viper-set-emacs-state-searchstyle-macros):
8421 Use called-interactively-p on Emacs.
8422 (viper-looking-back): Make it an obsolete alias. Update callers.
8423 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8424 Use looking-back rather than viper-looking-back.
8425 (viper-tmp-insert-at-eob, viper-enlarge-region)
8426 (viper-read-string-with-history, viper-register-to-point)
8427 (viper-append-to-register, viper-change-state-to-vi)
8428 (viper-backward-char-carefully, viper-forward-char-carefully)
8429 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8430 (viper-change-state-to-emacs): Declare.
8431 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8432 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8433 * emulation/viper-mous.el: Do not load viper-cmd.
8434 (viper-backward-char-carefully, viper-forward-char-carefully)
8435 (viper-forward-word, viper-adjust-window): Declare.
8436
8437 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8438
8439 * progmodes/idlw-help.el (idlwave-help-fontify):
8440 Use called-interactively-p.
8441
8442 * term/w32console.el (w32-get-console-codepage)
8443 (w32-get-console-output-codepage): Declare.
8444
8445 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8446 Remove unnecessary declarations.
8447 (dframe-message): Doc fix.
8448
8449 * info.el (dframe-select-attached-frame, dframe-current-frame):
8450 Declare.
8451
8452 * speedbar.el (speedbar-message): Make it an obsolete alias.
8453 Update all callers.
8454 (speedbar-with-attached-buffer)
8455 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8456 (speedbar-with-writable): Use backquote.
8457 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8458 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8459 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8460 rather than speedbar- aliases.
8461 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8462 (speedbar-make-specialized-keymap, speedbar-insert-button)
8463 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8464 (speedbar-do-function-pointer): Declare.
8465 (rmail-speedbar-button, rmail-speedbar-find-file)
8466 (rmail-speedbar-move-message):
8467 Use dframe-with-attached-buffer rather than speedbar- alias.
8468 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8469 (dframe-message, speedbar-make-specialized-keymap)
8470 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8471 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8472 (speedbar-insert-button, dframe-select-attached-frame)
8473 (dframe-maybee-jump-to-attached-frame)
8474 (speedbar-change-initial-expansion-list)
8475 (speedbar-previously-used-expansion-list-name): Declare.
8476 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8477 Use dframe-message, dframe-with-attached-buffer rather than
8478 speedbar- aliases.
8479 (gud-sentinel): Silence compiler.
8480 * progmodes/vhdl-mode.el (speedbar-refresh)
8481 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8482 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8483 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8484 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8485 (speedbar-file-lists, speedbar-make-tag-line)
8486 (speedbar-line-directory, speedbar-goto-this-file)
8487 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8488 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8489 (speedbar-make-button, speedbar-reset-scanners)
8490 (speedbar-files-item-info, speedbar-line-text)
8491 (speedbar-find-file-in-frame, speedbar-set-timer)
8492 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8493 (speedbar-with-writable): Do not (re)define it.
8494 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8495 rather than speedbar- alias.
8496
8497 2013-05-21 Leo Liu <sdl.web@gmail.com>
8498
8499 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8500 menu items.
8501 (octave-mode): Tweak fill-nobreak-predicate.
8502 (inferior-octave-startup): Check process to avoid infinite loop.
8503 (inferior-octave): Pop to buffer first to show abornmal process
8504 exit information.
8505
8506 2013-05-21 Glenn Morris <rgm@gnu.org>
8507
8508 * printing.el (pr-menu-bar): Define when compiling.
8509
8510 2013-05-21 Leo Liu <sdl.web@gmail.com>
8511
8512 * progmodes/octave.el (octave-auto-fill): Remove.
8513 (octave-indent-new-comment-line): Improve.
8514 (octave-mode): Use auto fill mode through
8515 comment-line-break-function and fill-nobreak-predicate.
8516 (octave-goto-function-definition): Support DEFUN_DLD.
8517 (octave-beginning-of-defun): Small tweak.
8518 (octave-help): Show parent directory.
8519
8520 2013-05-21 Glenn Morris <rgm@gnu.org>
8521
8522 * files.el (dired-unmark):
8523 * progmodes/gud.el (gdb-input): Update declarations.
8524
8525 * calculator.el (electric, ehelp): No need to load when compiling.
8526 (Electric-command-loop, electric-describe-mode): Declare.
8527
8528 * doc-view.el (doc-view-current-converter-processes): Move before use.
8529
8530 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8531 Move MODE-set-explicitly definition before use.
8532
8533 * international/mule-diag.el (mule-diag):
8534 Don't use obsolete window-system-version.
8535
8536 * mail/feedmail.el (smtpmail): No need to load when compiling.
8537 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8538
8539 * mail/mail-utils.el (rfc822): No need to load when compiling.
8540 (rfc822-addresses): Autoload it.
8541 (mail-strip-quoted-names): Trivial simplification.
8542
8543 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8544 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8545
8546 * net/snmp-mode.el (tempo): Don't duplicate requires.
8547
8548 * progmodes/prolog.el (info): No need to load when compiling.
8549 (comint): Require before shell requires it.
8550 (Info-goto-node): Autoload it.
8551 (Info-follow-nearest-node): Declare.
8552 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8553
8554 * textmodes/artist.el (picture-mode-exit): Declare.
8555
8556 * textmodes/reftex-parse.el (reftex-parse-from-file):
8557 Trivial rewrite so the compiler can parse it better.
8558
8559 2013-05-20 Leo Liu <sdl.web@gmail.com>
8560
8561 * progmodes/octave.el (octave-help-mode-map)
8562 (octave-help-mode-finish-hook): New variables.
8563 (octave-help-mode, octave-help-mode-finish): New functions.
8564 (octave-help): Use octave-help-mode.
8565
8566 2013-05-20 Glenn Morris <rgm@gnu.org>
8567
8568 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8569
8570 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8571
8572 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8573 start at point, so that expansion starting right after opening
8574 slash in a regexp is recognized.
8575 (ruby-syntax-before-regexp-re): New defvar, extracted from
8576 ruby-syntax-propertize-function. Since the value of this regexp
8577 is looked up at runtime now, we should be able to turn
8578 `ruby-syntax-methods-before-regexp' into a defcustom later.
8579 (ruby-syntax-propertize-function): Split regexp matching into two
8580 parts, for opening and closing slashes. That allows us to skip
8581 over string interpolations and support multiline regexps.
8582 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8583 for them, which calls `ruby-syntax-propertize-expansion'.
8584 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8585 call to `ruby-syntax-propertize-function'.
8586 (ruby-syntax-propertize-expansion): Extracted from
8587 `ruby-syntax-propertize-expansions'. Handles one expansion.
8588 (ruby-syntax-propertize-percent-literal): Leave point right after
8589 the percent symbol, so that the expression expansion rule can
8590 propertize the contents.
8591 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8592 heredoc openers.
8593 (ruby-syntax-propertize-expansions): Remove.
8594
8595 2013-05-18 Juri Linkov <juri@jurta.org>
8596
8597 * man.el (Man-default-man-entry): Remove `-' from the end
8598 of the default value. (Bug#14400)
8599
8600 2013-05-18 Glenn Morris <rgm@gnu.org>
8601
8602 * comint.el (comint-password-prompt-regexp):
8603 Allow "password for XXX" where XXX contains colons (eg https://...).
8604
8605 2013-05-18 Leo Liu <sdl.web@gmail.com>
8606
8607 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8608 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8609 (octave-source-directories): Don't check process.
8610 (octave-source-directories, octave-find-definition): Doc fix.
8611
8612 2013-05-18 Glenn Morris <rgm@gnu.org>
8613
8614 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8615 Remove backspace/delete bindings. (Bug#14392)
8616
8617 * cus-dep.el (custom-make-dependencies): Sort the output.
8618 (custom-versions-load-alist): Convert comment to doc.
8619
8620 2013-05-17 Leo Liu <sdl.web@gmail.com>
8621
8622 * newcomment.el (comment-search-backward): Stricter in finding
8623 comment start. (Bug#14303)
8624
8625 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8626 (octave-comment-start-skip): Properly anchored.
8627
8628 2013-05-17 Leo Liu <sdl.web@gmail.com>
8629
8630 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8631 Clean up when turned off. (Bug#14395)
8632 (smie--highlight-matching-block-overlay): No longer buffer-local.
8633 (smie-highlight-matching-block): Adjust.
8634
8635 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8636
8637 Doc string fix for "nanoseconds" (Bug#14406).
8638 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8639 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8640
8641 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8642
8643 * calc/calc-units.el (math-extract-units): Preserve powers
8644 of units.
8645
8646 2013-05-17 Leo Liu <sdl.web@gmail.com>
8647
8648 * subr.el (delete-consecutive-dups): New function.
8649 * ido.el (ido-set-matches-1): Use it.
8650 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8651 * ido.el (ido-remove-consecutive-dups): Remove.
8652
8653 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8654
8655 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8656 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8657 regexp-opt's `words'.
8658
8659 2013-05-16 Leo Liu <sdl.web@gmail.com>
8660
8661 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8662 (smie--highlight-matching-block-overlay)
8663 (smie--highlight-matching-block-lastpos)
8664 (smie--highlight-matching-block-timer): New variables.
8665 (smie-highlight-matching-block): New function.
8666 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8667 (smie-setup): Conditionally enable smie-blink-matching-open.
8668
8669 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8670
8671 Sync with upstream verilog-mode r840.
8672 * progmodes/verilog-mode.el (verilog-mode-version)
8673 (verilog-mode-release-date): Update.
8674 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8675 (verilog-sig-tieoff): Fix string error on
8676 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8677 (verilog-read-decls): Fix parameters confusing
8678 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8679
8680 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8681
8682 * subr.el (reveal-filename): New function.
8683
8684 * loadup.el: Compute Emacs executable versions on MS-Windows,
8685 where executables have the .exe extension. Add a hard link
8686 emacs-XX.YY.ZZ.exe on MS-Windows.
8687
8688 * Makefile.in (XARGS_LIMIT): New variable.
8689 (custom-deps, finder-data, autoloads)
8690 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8691 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8692 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8693 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8694
8695 2013-05-16 Leo Liu <sdl.web@gmail.com>
8696
8697 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8698 (octave-mode-menu, octave-mode-map): Remove its uses.
8699
8700 2013-05-16 Reto Zimmermann <reto@gnu.org>
8701
8702 Sync with upstream vhdl mode v3.34.2.
8703 * progmodes/vhdl-mode.el: Use `push' throughout.
8704 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8705 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8706 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8707 (vhdl-actual-generic-name): New option to derive actual generic name.
8708 (vhdl-port-paste-signals): Replace formal by actual generics.
8709 (vhdl-beautify): New name for old group vhdl-align. Update users.
8710 (vhdl-beautify-options): New option.
8711 (vhdl-last-input-event): New compat alias. Use throughout.
8712 (vhdl-goto-line): Replace user level function `goto-line'.
8713 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8714 vhdl-fix-statement-buffer.
8715 (vhdl-create-mode-menu): Add some entries.
8716 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8717 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8718 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8719 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8720 to force statements on one line.
8721 (vhdl-remove-trailing-spaces-region):
8722 New, split from vhdl-remove-trailing-spaces.
8723 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8724 Respect vhdl-beautify-options.
8725 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8726 (vhdl-update-sensitivity-list): Not add with index if exists without.
8727 Not include array index with signal. Ignore keywords in comments.
8728 (vhdl-get-visible-signals): Regexp tweaks.
8729 (vhdl-template-component-inst): Handle empty library.
8730 (vhdl-template-type): Add template for 'enum' type.
8731 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8732 Use vhdl-replace-string.
8733 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8734 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8735 (vhdl-speedbar-initialize): Update for above name change.
8736 (vhdl-compose-wire-components): Fix in handling of constants.
8737 (vhdl-error-regexp-emacs-alist): New variable.
8738 (vhdl-error-regexp-add-emacs): New function;
8739 adds support for new compile.el (Emacs 22+)
8740 (vhdl-generate-makefile-1): Change target order for single lib. units.
8741 Allow use of absolute file names.
8742
8743 2013-05-16 Leo Liu <sdl.web@gmail.com>
8744
8745 * simple.el (prog-indent-sexp): Indent enclosing defun.
8746
8747 2013-05-15 Glenn Morris <rgm@gnu.org>
8748
8749 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8750 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8751 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8752 (whitespace-highlight): Move to whitespace group.
8753
8754 * comint.el (comint-source):
8755 * pcmpl-linux.el (pcmpl-linux):
8756 * shell.el (shell-faces):
8757 * eshell/esh-opt.el (eshell-opt):
8758 * international/ccl.el (ccl): Remove empty custom groups.
8759
8760 * completion.el (dynamic-completion-mode):
8761 * jit-lock.el (jit-lock-debug-mode):
8762 * minibuffer.el (completion-in-region-mode):
8763 * type-break.el (type-break-mode-line-message-mode)
8764 (type-break-query-mode):
8765 * emulation/tpu-edt.el (tpu-edt-mode):
8766 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8767 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8768 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8769
8770 * term/xterm.el (xterm): Change parent group to terminals.
8771
8772 * master.el (master): Remove empty custom group.
8773 (master-mode): Remove unused :group argument.
8774 * textmodes/refill.el (refill): Remove empty custom group.
8775 (refill-mode): Remove unused :group argument.
8776
8777 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8778
8779 * cus-dep.el: Provide a feature.
8780 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8781 Don't mistakenly ignore files whose basenames match a basename
8782 from preloaded-file-list (eg cedet/ede/simple.el).
8783 Add a fallback method for getting :group.
8784
8785 2013-05-15 Juri Linkov <juri@jurta.org>
8786
8787 * isearch.el (isearch-char-by-name): Rename from
8788 `isearch-insert-char-by-name'. Doc fix.
8789 (isearch-forward): Mention `isearch-char-by-name' in
8790 the docstring. (Bug#13348)
8791
8792 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8793 `exit-minibuffer' instead of
8794 `isearch-nonincremental-exit-minibuffer'.
8795 (isearch-edit-string): Remove mention of
8796 `isearch-nonincremental-exit-minibuffer' from docstring.
8797 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8798 (isearch-forward-exit-minibuffer)
8799 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8800
8801 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8802
8803 * loadup.el: Just use unversioned DOC.
8804
8805 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8806 literals as extending to EOB.
8807 (nxml-last-fontify-end): Remove unused variable.
8808 (nxml-after-change1): Use with-silent-modifications.
8809 (nxml-extend-after-change-region): Simplify.
8810 (nxml-extend-after-change-region1): Remove function.
8811 (nxml-after-change1): Don't adjust for dependent regions.
8812 (nxml-fontify-matcher): Simplify.
8813 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8814 (xmltok-add-dependent): Remove function.
8815 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8816 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8817 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8818 unclosed <[[, <?, comment, and other literals as extending to EOB.
8819 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8820 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8821 Remove functions.
8822 (rng-do-some-validation-1): Don't mark dependent regions.
8823 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8824 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8825 (nxml-clear-dependent-regions): Remove functions.
8826 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8827 (nxml-ensure-scan-up-to-date):
8828 Don't clear&mark dependent regions.
8829
8830 2013-05-15 Leo Liu <sdl.web@gmail.com>
8831
8832 * progmodes/octave.el (octave-goto-function-definition):
8833 Improve and fix callers.
8834
8835 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8836
8837 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8838 the setter (bug#14387).
8839
8840 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8841 surrounding group (bug#14402).
8842
8843 2013-05-14 Juri Linkov <juri@jurta.org>
8844
8845 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8846 (Bug#14390)
8847
8848 2013-05-14 Glenn Morris <rgm@gnu.org>
8849
8850 * progmodes/f90.el (f90-imenu-generic-expression):
8851 Fix typo in 2013-05-08 change. (Bug#14402)
8852
8853 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8854
8855 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8856 Remove signals for which replies are never received.
8857
8858 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8859
8860 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8861 (gdb-handler-alist, gdb-handler-number): Remove variables.
8862 (gdb-handler-list): New variable.
8863 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8864 (gdb-pending-handler-p, gdb-handle-reply)
8865 (gdb-remove-all-pending-triggers): New functions.
8866 (gdb-discard-unordered-replies): New defcustom.
8867 (gdb-handler): New defstruct.
8868 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8869 instead of gdb-pending-triggers. Update docstring.
8870 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8871 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8872 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8873 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8874 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8875 (gdb-frame-handler): Pending triggers are now automatically managed.
8876 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8877 Remove argument.
8878 (gdb-input): Automatically handles pending triggers. Update docstring.
8879 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8880 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8881 Update comments.
8882 (gdb-done-or-error): Now use gdb-handle-reply.
8883
8884 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8885
8886 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8887 gdb-debug-log.
8888
8889 2013-05-14 Glenn Morris <rgm@gnu.org>
8890
8891 * subr.el (user-emacs-directory-warning): New option.
8892 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8893
8894 2013-05-14 Leo Liu <sdl.web@gmail.com>
8895
8896 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8897 during redisplay.
8898 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8899 (octave-font-lock-texinfo-comment): Fix invalid search bound
8900 error: wrong side of point.
8901
8902 2013-05-14 Glenn Morris <rgm@gnu.org>
8903
8904 * progmodes/flymake.el (flymake-xml-program): New option.
8905 (flymake-xml-init): Use it.
8906
8907 * term/xterm.el: Provide a feature.
8908
8909 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8910
8911 2013-05-13 Glenn Morris <rgm@gnu.org>
8912
8913 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8914 Add compat aliases as a hack workaround. (Bug#14384)
8915
8916 2013-05-13 Leo Liu <sdl.web@gmail.com>
8917
8918 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8919 ###, and %!.
8920 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8921 C-M-q.
8922 (octave-comment-start-skip): Include %!.
8923 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8924
8925 2013-05-12 Leo Liu <sdl.web@gmail.com>
8926
8927 * progmodes/octave.el (inferior-octave-startup): Store the value
8928 of __octave_srcdir__ for octave-source-directories.
8929 (inferior-octave-check-process): New function refactored out of
8930 inferior-octave-send-list-and-digest.
8931 (octave-source-directories)
8932 (octave-find-definition-filename-function): New variables.
8933 (octave-source-directories)
8934 (octave-find-definition-default-filename): New functions.
8935 (octave-find-definition): Improve to find functions implemented in C++.
8936
8937 2013-05-12 Glenn Morris <rgm@gnu.org>
8938
8939 * calendar/diary-lib.el (diary-outlook-format-1):
8940 Don't include dayname in the output. (Bug#14349)
8941
8942 2013-05-11 Glenn Morris <rgm@gnu.org>
8943
8944 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8945
8946 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8947 Treat cc-provide like provide.
8948
8949 2013-05-11 Kevin Ryde <user42@zip.com.au>
8950
8951 * cus-dep.el (custom-make-dependencies):
8952 Use generated-autoload-load-name for the sake of files such
8953 such cedet/semantic/bovine/c.el, where the base file name
8954 is not in load-path. (Bug#5277)
8955
8956 2013-05-11 Glenn Morris <rgm@gnu.org>
8957
8958 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8959 Provide features.
8960
8961 2013-05-11 Leo Liu <sdl.web@gmail.com>
8962
8963 * progmodes/octave.el (octave-indent-comment): Improve.
8964 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8965 (octave-eldoc-function-signatures, octave-eldoc-function):
8966 New functions.
8967 (octave-mode, inferior-octave-mode): Add eldoc support.
8968
8969 2013-05-11 Richard Stallman <rms@gnu.org>
8970
8971 * epa.el (epa-decrypt-file): Take output file name as argument
8972 and read it using `interactive'.
8973
8974 2013-05-11 Leo Liu <sdl.web@gmail.com>
8975
8976 * progmodes/octave.el (octave-beginning-of-line)
8977 (octave-end-of-line): Check before using up-list because it jumps
8978 out of more syntactic contructs since moving to smie.
8979 (octave-indent-comment): New function.
8980 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8981 (octave-begin-keywords, octave-end-keywords)
8982 (octave-reserved-words, octave-smie-bnf-table)
8983 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8984
8985 2013-05-11 Glenn Morris <rgm@gnu.org>
8986
8987 * faces.el (internal-face-x-get-resource):
8988 * frame.el (ns-display-monitor-attributes-list):
8989 * calc/calc-aent.el (math-to-radians-2):
8990 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8991 Fix declarations.
8992
8993 * calc/calc-menu.el: Make it loadable in isolation.
8994
8995 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8996 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8997 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8998 (eudc-bbdb-query-internal): Require 'bbdb.
8999
9000 * lpr.el (lpr-headers-switches):
9001 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9002
9003 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9004
9005 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9006
9007 * term.el (term-set-escape-char): Make it idempotent.
9008
9009 2013-05-10 Leo Liu <sdl.web@gmail.com>
9010
9011 * progmodes/octave.el (inferior-octave-completion-table):
9012 No longer a function and all uses changed. Use cache to speed up
9013 completion due to bug#11906.
9014 (octave-beginning-of-defun): Re-write to be more general.
9015
9016 2013-05-10 Glenn Morris <rgm@gnu.org>
9017
9018 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9019
9020 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9021
9022 * comint.el (comint-redirect-send-command-to-process): Use :around
9023 rather than :override for comint-redirect-filter.
9024 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9025 Call it instead of comint-redirect-original-filter-function (which
9026 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9027
9028 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9029
9030 * frame.el (display-monitor-attributes-list): Add NS case.
9031 (ns-display-monitor-attributes-list): Declare.
9032
9033 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9034
9035 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9036
9037 2013-05-09 Glenn Morris <rgm@gnu.org>
9038
9039 * international/fontset.el (vertical-centering-font-regexp):
9040 Set standard-value.
9041
9042 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9043
9044 * bookmark.el (bookmark-search-delay):
9045 * cus-start.el (vertical-centering-font-regexp):
9046 * ps-mule.el (ps-mule-font-info-database-default):
9047 * ps-print.el (ps-default-fg, ps-default-bg):
9048 * type-break.el (type-break-good-break-interval):
9049 * whitespace.el (whitespace-indentation-regexp)
9050 (whitespace-space-after-tab-regexp):
9051 * emacs-lisp/testcover.el (testcover-1value-functions)
9052 (testcover-noreturn-functions, testcover-progn-functions)
9053 (testcover-prog1-functions):
9054 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9055 * eshell/em-glob.el (eshell-glob-translate-alist):
9056 * play/tetris.el (tetris-tty-colors):
9057 * progmodes/cpp.el (cpp-face-default-list):
9058 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9059 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9060 (idlwave-help-browser-generic-args):
9061 * progmodes/make-mode.el (makefile-special-targets-list):
9062 * progmodes/python.el (python-shell-virtualenv-path):
9063 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9064 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9065 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9066 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9067 * textmodes/reftex-vars.el (reftex-format-label-function):
9068 * textmodes/remember.el (remember-diary-file): Fix custom types.
9069
9070 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9071 Add :version.
9072
9073 2013-05-09 Leo Liu <sdl.web@gmail.com>
9074
9075 * progmodes/octave.el (inferior-octave-completion-at-point):
9076 Restore file completion. (Bug#14300)
9077 (inferior-octave-startup): Fix incorrect highlighting for the
9078 first prompt.
9079
9080 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9081
9082 * progmodes/ruby-mode.el: First cut at SMIE support.
9083 (ruby-use-smie): New var.
9084 (ruby-smie-grammar): New constant.
9085 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9086 (ruby-smie--forward-token, ruby-smie--backward-token)
9087 (ruby-smie-rules): New functions.
9088 (ruby-mode-variables): Setup SMIE if applicable.
9089
9090 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9091
9092 * simple.el (line-move-visual): Signal beginning/end of buffer
9093 only if vertical-motion moved less than it was requested. Avoids
9094 silly incorrect error messages when there are display strings with
9095 multiple newlines at EOL.
9096
9097 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9098
9099 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9100 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9101 (prolog-char-quote-workaround):
9102 * progmodes/cperl-mode.el (cperl-under-as-char):
9103 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9104 Mark as obsolete.
9105 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9106 their declaration.
9107 (vhdl-mode-syntax-table-init): Remove.
9108
9109 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9110 last change.
9111
9112 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9113 syntax for "_".
9114 (ld-script-font-lock-keywords):
9115 Change regexps to use things like \_< and \_>.
9116
9117 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9118 Change all regexps to use things like \_< and \_>.
9119
9120 * progmodes/autoconf.el (autoconf-definition-regexp)
9121 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9122 Handle a _ with symbol syntax.
9123 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9124
9125 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9126 Consolidate declaration.
9127 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9128 the declaration.
9129 (ada-create-syntax-table): Remove.
9130 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9131 already has the right syntax nowadays.
9132 (ada-goto-next-word): Don't change the syntax of "_".
9133
9134 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9135 with-wrapper-hook.
9136
9137 2013-05-08 Sam Steingold <sds@gnu.org>
9138
9139 * thingatpt.el (thing-at-point): Accept optional second argument
9140 NO-PROPERTIES to strip the text properties from the return value.
9141 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9142 to `thing-at-point' instead of stripping the properties ourselves.
9143 Also, when `thing-at-point' fails to find a url, prepend "http://"
9144 to the filename at point on the assumption that the user is
9145 pointing at something like gnu.org/gnu.
9146
9147 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9148
9149 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9150 * faces.el (crm-separator):
9151 Silence byte-compiler.
9152
9153 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9154 (tool-bar-map): Remove unneeded defvars.
9155
9156 2013-05-08 Leo Liu <sdl.web@gmail.com>
9157
9158 Re-work a fix for bug#10994 based on Le Wang's patch.
9159 * ido.el (ido-remove-consecutive-dups): New helper.
9160 (ido-completing-read): Use it.
9161 (ido-chop): Revert fix for bug#10994.
9162
9163 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9164
9165 * cus-edit.el (custom-save-variables):
9166 Pretty-print long values. (Bug#14187)
9167
9168 2013-05-08 Glenn Morris <rgm@gnu.org>
9169
9170 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9171 (m4-mode-syntax-table): Init in the defvar.
9172 (m4-mode-abbrev-table): Let define-derived-mode define it.
9173
9174 2013-05-08 Tom Tromey <tromey@redhat.com>
9175
9176 * progmodes/m4-mode.el (m4-mode-syntax-table):
9177 Do not treat "_" as word constituent. (Bug#14167)
9178
9179 2013-05-07 Glenn Morris <rgm@gnu.org>
9180
9181 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9182 Remove explicit eshell-isearch-cancel-map.
9183
9184 * progmodes/f90.el (f90-smart-end-names): New option.
9185 (f90-smart-end): Doc fix.
9186 (f90-end-block-optional-name): New constant.
9187 (f90-block-match): Respect f90-smart-end-names.
9188
9189 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9190
9191 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9192 about implicit semi-colons (bug#14218).
9193
9194 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9195
9196 * frame.el (display-monitor-attributes-list)
9197 (frame-monitor-attributes): New functions.
9198
9199 2013-05-06 Leo Liu <sdl.web@gmail.com>
9200
9201 * progmodes/octave.el (octave-syntax-propertize-function): Change
9202 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9203 (octave-font-lock-keywords): Use octave-operator-regexp.
9204 (octave-completion-at-point): Rename from
9205 octave-completion-at-point-function.
9206 (inferior-octave-directory-tracker): Robustify.
9207 (octave-text-functions): Remove and fix its uses. No such things
9208 any more.
9209
9210 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9211
9212 * emacs-lisp/trace.el (trace--display-buffer): New function.
9213 (trace-make-advice): Use it.
9214
9215 2013-05-06 Juri Linkov <juri@jurta.org>
9216
9217 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9218 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9219 Doc fix.
9220 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9221 in the help string. (Bug#12985)
9222
9223 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9224
9225 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9226
9227 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9228
9229 * progmodes/perl-mode.el: Add support for here documents.
9230 (perl-syntax-propertize-function): Match here-doc markers.
9231 (perl-syntax-propertize-special-constructs): Find their end.
9232 (perl-imenu-generic-expression): Use [:alnum:].
9233
9234 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9235 (advice--add-function): Refresh the advice if already present
9236 (bug#14317).
9237
9238 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9239
9240 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9241
9242 2013-05-06 Glenn Morris <rgm@gnu.org>
9243
9244 * w32-fns.el (w32-charset-info-alist): Declare.
9245
9246 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9247 of its defcustom properties.
9248 (eshell-cmpl-initialize): No need to load pcomplete.
9249
9250 * generic-x.el: No need to require comint when compiling.
9251
9252 * net/eudc-export.el: Make it loadable without bbdb.
9253 (top-level): Use require rather than load-library.
9254 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9255 (eudc-batch-export-records-to-bbdb)
9256 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9257 Require bbdb.
9258
9259 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9260
9261 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9262 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9263 some tweaks, instead.
9264
9265 2013-05-05 Leo Liu <sdl.web@gmail.com>
9266
9267 * progmodes/octave.el (octave-font-lock-keywords)
9268 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9269 (inferior-octave-send-list-and-digest): Improve error message.
9270 (octave-mode, inferior-octave-mode): Use setq-local.
9271 (octave-help): Set info-lookup-mode.
9272
9273 2013-05-05 Richard Stallman <rms@gnu.org>
9274
9275 * vc/compare-w.el (compare-windows-whitespace):
9276 Treat no-break space as whitespace.
9277
9278 * mail/rmailsum.el (rmail-summary-rmail-update):
9279 Detect empty summary and don't change selected message.
9280 (rmail-summary-goto-msg): Likewise.
9281
9282 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9283 Doc fixes, rename args.
9284
9285 2013-05-05 Alan Mackenzie <acm@muc.de>
9286
9287 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9288
9289 2013-05-05 Juri Linkov <juri@jurta.org>
9290
9291 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9292 to not add the length of the summary segment to the return value.
9293 (Bug#14125)
9294
9295 2013-05-05 Leo Liu <sdl.web@gmail.com>
9296
9297 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9298 (inferior-octave-output-filter): Remove.
9299 (octave-send-region, inferior-octave-startup): Fix callers.
9300 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9301 (octave-binary-file-extensions): New user variable.
9302 (octave-find-definition): Confirm if opening binary files.
9303 (octave-help-file): Use octave-find-definition to get the binary
9304 confirmation.
9305 (octave-help): Adjust for octave-help-file change.
9306
9307 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9308
9309 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9310 Merge the two entries that handle function definitions.
9311 (pascal--syntax-propertize): New const.
9312 (pascal-mode): Use it. Use setq-local.
9313
9314 2013-05-04 Glenn Morris <rgm@gnu.org>
9315
9316 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9317 (diary-from-outlook): Respect diary-from-outlook-function.
9318
9319 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9320
9321 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9322 Move the declaration from C.
9323 (read-minibuffer, eval-minibuffer): Move from C.
9324 (completion-setup-function): Avoid minibuffer-completion-contents.
9325
9326 2013-05-03 Leo Liu <sdl.web@gmail.com>
9327
9328 * progmodes/octave.el (octave-font-lock-keywords): Do not
9329 dehighlight 'end' in comments or strings.
9330 (octave-completing-read, octave-goto-function-definition):
9331 New helpers.
9332 (octave-help-buffer): New user variable.
9333 (octave-help-file, octave-help-function): New button types.
9334 (octave-help): New command and bind it to C-h ;.
9335 (octave-find-definition): New command and bind it to M-.
9336 (user-error): Alias to error if not defined.
9337
9338 2013-05-02 Leo Liu <sdl.web@gmail.com>
9339
9340 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9341 for \. (bug#14332)
9342 (octave-font-lock-keywords): Include [ and {.
9343
9344 2013-05-02 Leo Liu <sdl.web@gmail.com>
9345
9346 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9347 (inferior-octave): Remove calling comint-mode and return the buffer.
9348 (inferior-octave-startup): Cosmetic changes.
9349
9350 2013-05-02 Leo Liu <sdl.web@gmail.com>
9351
9352 * progmodes/octave.el (octave-syntax-propertize-function):
9353 Include the case when ' is at line beginning. (Bug#14336)
9354
9355 2013-05-02 Glenn Morris <rgm@gnu.org>
9356
9357 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9358 * desktop.el (vc-dir-mode): Just autoload it here.
9359
9360 2013-05-02 Alan Mackenzie <acm@muc.de>
9361
9362 Eliminate variable c-standard-font-lock-fontify-region-function.
9363 * progmodes/cc-mode.el
9364 (c-standard-font-lock-fontify-region-function): Remove.
9365 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9366
9367 2013-05-01 Leo Liu <sdl.web@gmail.com>
9368
9369 * progmodes/octave.el: Compatible with older emacs-24 releases.
9370 (inferior-octave-has-built-in-variables): Remove. Built-in
9371 variables were removed from Octave in 2007.
9372 (inferior-octave-startup): Fix uses.
9373 (comint-line-beginning-position): Remove compatibility code for
9374 emacs 21.
9375
9376 2013-05-01 Juri Linkov <juri@jurta.org>
9377
9378 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9379
9380 2013-05-01 Juri Linkov <juri@jurta.org>
9381
9382 * comint.el (comint-previous-matching-input): Don't print message
9383 "History item: %d" when `isearch-mode' is active.
9384 (comint-history-isearch-message): Print message "History item: %d"
9385 when `comint-input-ring-index' is not empty and this function is
9386 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9387
9388 2013-05-01 Leo Liu <sdl.web@gmail.com>
9389
9390 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9391 definitions. Use completion-at-point to insert keywords.
9392 (octave-abbrev-start): Remove.
9393 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9394
9395 2013-04-30 Leo Liu <sdl.web@gmail.com>
9396
9397 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9398 change.
9399
9400 2013-04-30 Alan Mackenzie <acm@muc.de>
9401
9402 Handle arbitrarily long C++ member initialisation lists.
9403 * progmodes/cc-engine.el (c-back-over-member-initializers):
9404 new function.
9405 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9406 (most) member init lists.
9407
9408 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9409
9410 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9411 variable.
9412
9413 2013-04-30 Leo Liu <sdl.web@gmail.com>
9414
9415 * progmodes/octave.el (octave-variables): Remove. No builtin
9416 variables any more. All converted to functions.
9417 (octave-font-lock-keywords, octave-completion-at-point-function):
9418 Fix uses.
9419 (octave-font-lock-texinfo-comment): New user variable.
9420 (octave-texinfo-font-lock-keywords): New variable for texinfo
9421 comment block.
9422 (octave-function-comment-block): New face.
9423 (octave-font-lock-texinfo-comment): New function.
9424 (octave-mode): Font lock texinfo comment block.
9425
9426 2013-04-29 Leo Liu <sdl.web@gmail.com>
9427
9428 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9429 indexing expression.
9430 (octave-continuation-string): Do not use \.
9431 (inferior-octave-complete-impossible): Remove.
9432 (inferior-octave-completion-table)
9433 (inferior-octave-completion-at-point): Remove its uses.
9434 (inferior-octave-startup): completion_matches was introduced to
9435 Octave in 1996 so safe to assume it.
9436 (octave-function-file-comment): Improve to follow how Octave does it.
9437 (octave-update-function-file-comment): Tweak.
9438
9439 2013-04-29 Leo Liu <sdl.web@gmail.com>
9440
9441 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9442 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9443 (octave-function-file-comment): Fix typo.
9444 (octave-sync-function-file-names): Use read-char-choice.
9445
9446 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9447
9448 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9449 to t for the less important warnings.
9450
9451 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9452
9453 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9454
9455 2013-04-27 Glenn Morris <rgm@gnu.org>
9456
9457 * vc/log-view.el (log-view-current-entry):
9458 Treat "---" separator lines as part of the following rev. (Bug#14169)
9459
9460 2013-04-27 Juri Linkov <juri@jurta.org>
9461
9462 * subr.el (read-number): Doc fix about using it by interactive
9463 code letter `n'. (Bug#14254)
9464
9465 2013-04-27 Juri Linkov <juri@jurta.org>
9466
9467 * desktop.el (desktop-auto-save-timeout): New option.
9468 (desktop-file-checksum): New variable.
9469 (desktop-save): Add optional arg `auto-save' and don't auto-save
9470 if nothing changed.
9471 (desktop-auto-save-timer): New variable.
9472 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9473 (after-init-hook): Call `desktop-auto-save-set-timer'.
9474 Suggested by Reuben Thomas <rrt@sc3d.org> in
9475 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9476
9477 2013-04-27 Leo Liu <sdl.web@gmail.com>
9478
9479 * progmodes/octave.el (octave-function-file-p)
9480 (octave-skip-comment-forward, octave-function-file-comment)
9481 (octave-update-function-file-comment): New functions.
9482 (octave-mode-map): Bind C-c ; to
9483 octave-update-function-file-comment.
9484 (octave-mode-menu): Add octave-update-function-file-comment.
9485 (octave-mode, inferior-octave-mode): Fix doc-string.
9486 (octave-insert-defun): Conform to Octave's coding convention.
9487 (Bug#14285)
9488
9489 * files.el (basic-save-buffer): Don't let errors in
9490 before-save-hook prevent saving buffer.
9491
9492 2013-04-20 Roland Winkler <winkler@gnu.org>
9493
9494 * faces.el (read-face-name): Use completing-read if arg multiple
9495 is nil.
9496
9497 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9498
9499 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9500 displayed, move point to after the totals line.
9501 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9502 for the details.
9503
9504 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9505
9506 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9507 Add current dir to the load-path.
9508 (package-generate-autoloads): Don't rely on
9509 autoload-ensure-default-file.
9510
9511 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9512
9513 * textmodes/remember.el (remember-store-in-files): Document that
9514 the file name format is passed to `format-time-string'.
9515
9516 2013-04-26 Leo Liu <sdl.web@gmail.com>
9517
9518 * progmodes/octave.el (octave-sync-function-file-names): New function.
9519 (octave-mode): Use it in before-save-hook.
9520
9521 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9522
9523 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9524 (bug#14274).
9525
9526 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9527 \n and comment, even if it's not an implicit ; (bug#14218).
9528
9529 2013-04-26 Glenn Morris <rgm@gnu.org>
9530
9531 * subr.el (read-number): Once more use `read' rather than
9532 `string-to-number', to trap non-numeric input. (Bug#14254)
9533
9534 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9535
9536 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9537 Use `syntax-multiline' text property consistently instead of
9538 `font-lock-multiline'. (Bug#14237)
9539
9540 2013-04-26 Glenn Morris <rgm@gnu.org>
9541
9542 * emacs-lisp/shadow.el (list-load-path-shadows):
9543 No longer necessary to check for duplicate simple.el, since
9544 2012-07-07 change to init_lread to not include installation lisp
9545 directories in load-path when running uninstalled. (Bug#14270)
9546
9547 2013-04-26 Leo Liu <sdl.web@gmail.com>
9548
9549 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9550 (octave-mode, inferior-octave-mode): Use setq-local.
9551 (octave-not-in-string-or-comment-p): Rename to
9552 octave-in-string-or-comment-p.
9553 (octave-in-comment-p, octave-in-string-p)
9554 (octave-in-string-or-comment-p): Replace defsubst with defun.
9555
9556 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9557
9558 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9559
9560 2013-04-25 Bastien Guerry <bzg@gnu.org>
9561
9562 * textmodes/remember.el (remember-data-directory)
9563 (remember-directory-file-name-format): Fix custom types.
9564
9565 2013-04-25 Leo Liu <sdl.web@gmail.com>
9566
9567 * progmodes/octave.el (octave-completion-at-point-function):
9568 Make use of inferior octave process.
9569 (octave-initialize-completions): Remove.
9570 (inferior-octave-completion-table): New function.
9571 (inferior-octave-completion-at-point): Use it.
9572 (octave-completion-alist): Remove.
9573
9574 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9575
9576 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9577 (opascal-mode-syntax-table): New var.
9578 (opascal-literal-kind, opascal-is-literal-end)
9579 (opascal-literal-token-at): Rewrite.
9580 (opascal--literal-start-re, opascal-font-lock-keywords)
9581 (opascal--syntax-propertize): New constants.
9582 (opascal-font-lock-defaults): Adjust.
9583 (opascal-mode): Use them. Set comment-<foo> variables as well.
9584 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9585 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9586 (delphi-other-face, opascal-other-face): Remove face variables.
9587 (opascal-save-state): Remove macro.
9588 (opascal-fontifying-progress-step): Remove constant.
9589 (opascal--ignore-changes): Remove var.
9590 (opascal-set-token-property, opascal-parse-next-literal)
9591 (opascal-is-stable-literal, opascal-complete-literal)
9592 (opascal-is-literal-start, opascal-face-of)
9593 (opascal-parse-region, opascal-parse-region-until-stable)
9594 (opascal-fontify-region, opascal-after-change)
9595 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9596 (opascal-debug-parse-region, opascal-debug-parse-window)
9597 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9598 (opascal-debug-fontify-buffer): Remove.
9599 (opascal-debug-mode-map): Adjust accordingly.
9600
9601 2013-04-25 Leo Liu <sdl.web@gmail.com>
9602
9603 Merge octave-mod.el and octave-inf.el into octave.el with some
9604 cleanups.
9605 * progmodes/octave.el: New file renamed from octave-mod.el.
9606 * progmodes/octave-inf.el: Merged into octave.el.
9607 * progmodes/octave-mod.el: Renamed to octave.el.
9608
9609 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9610
9611 * textmodes/reftex-vars.el
9612 (reftex-label-ignored-macros-and-environments): New defcustom.
9613
9614 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9615
9616 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9617
9618 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9619 (smie-indent-keyword): Improve the check to ensure that the next
9620 comment is really on the same line.
9621 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9622
9623 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9624 semi-colons if the line is not otherwise empty (bug#14218).
9625
9626 2013-04-25 Glenn Morris <rgm@gnu.org>
9627
9628 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9629
9630 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9631
9632 * progmodes/opascal.el (opascal-set-token-property): Rename from
9633 opascal-set-text-properties and only set `token' (bug#14134).
9634 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9635 (opascal-literal-text-properties): Remove.
9636 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9637 Adjust callers.
9638
9639 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9640
9641 * textmodes/remember.el (remember-handler-functions): Add an
9642 option for a new handler `remember-store-in-files'.
9643 (remember-data-directory, remember-directory-file-name-format):
9644 New options.
9645 (remember-store-in-files): New function to store remember notes
9646 as separate files within a directory.
9647
9648 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9649
9650 * progmodes/compile.el (compilation-next-error-function):
9651 Pass "formats" to compilation-find-file (bug#11777).
9652
9653 2013-04-24 Glenn Morris <rgm@gnu.org>
9654
9655 * vc/vc-bzr.el (vc-bzr-print-log):
9656 * vc/vc-hg.el (vc-hg-print-log):
9657 * vc/vc-svn.el (vc-svn-print-log):
9658 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9659
9660 * vc/vc-bzr.el (vc-bzr-print-log):
9661 * vc/vc-cvs.el (vc-cvs-print-log):
9662 * vc/vc-git.el (vc-git-print-log):
9663 * vc/vc-hg.el (vc-hg-print-log):
9664 * vc/vc-mtn.el (vc-mtn-print-log):
9665 * vc/vc-rcs.el (vc-rcs-print-log):
9666 * vc/vc-sccs.el (vc-sccs-print-log):
9667 * vc/vc-svn.el (vc-svn-print-log):
9668 * vc/vc.el (vc-print-log-internal): Doc fixes.
9669
9670 2013-04-23 Glenn Morris <rgm@gnu.org>
9671
9672 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9673 Remove venerable code attempting to avoid substitute-command-keys.
9674
9675 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9676
9677 * textmodes/reftex-vars.el (reftex-label-regexps):
9678 Call `reftex-compile-variables' after changes to this variable.
9679
9680 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9681
9682 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9683 Use lexical-binding.
9684 (jit-lock-force-redisplay): Use markers, check buffer's continued
9685 existence and beware narrowed buffers.
9686 (jit-lock-fontify-now): Adjust call accordingly.
9687
9688 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9689
9690 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9691 to avoid misleading the user.
9692
9693 2013-04-22 Leo Liu <sdl.web@gmail.com>
9694
9695 * info-look.el: Prefer latex2e.info. (Bug#14240)
9696
9697 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9698
9699 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9700
9701 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9702 * net/tramp.el (tramp-call-process): ... here.
9703 (tramp-set-completion-function, tramp-parse-putty):
9704 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9705 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9706 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9707 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9708 (tramp-call-local-coding-command): Use `tramp-call-process'
9709 instead of `tramp-compat-call-process'.
9710
9711 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9712 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9713 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9714 (tramp-find-inline-compress): Improve traces.
9715 (tramp-maybe-send-script): Check for Perl binary.
9716 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9717
9718 2013-04-22 Daiki Ueno <ueno@gnu.org>
9719
9720 * epg.el (epg-context-pinentry-mode): New function.
9721 (epg-context-set-pinentry-mode): New function.
9722 (epg--start): Pass --pinentry-mode option to gpg command.
9723
9724 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9725
9726 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9727 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9728 `completion-at-point'. (Bug#13774)
9729
9730 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9731 default key binding for `describe-distribution' has been moved to
9732 `C-h C-o'. (Bug#13970)
9733
9734 2013-04-21 Glenn Morris <rgm@gnu.org>
9735
9736 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9737 Add doc strings.
9738 (vc-print-log): Clarify interactive prompt.
9739
9740 2013-04-20 Glenn Morris <rgm@gnu.org>
9741
9742 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9743 No longer include timestamp etc information.
9744
9745 2013-04-20 Roland Winkler <winkler@gnu.org>
9746
9747 * faces.el (read-face-name): Bug fix, return just one face if arg
9748 multiple is nil. (Bug#14209)
9749
9750 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9751
9752 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9753 (remove-function): Autoload.
9754
9755 * comint.el (comint-redirect-original-filter-function): Remove.
9756 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9757 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9758 (vc-cvs-annotate-command):
9759 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9760 * progmodes/prolog.el (prolog-consult-compile):
9761 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9762 Use add/remove-function instead.
9763 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9764 (gud-tooltip-process-output, gud-tooltip-tips):
9765 Use add/remove-function instead.
9766 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9767 (scheme-interaction-mode, exit-scheme-interaction-mode):
9768 Use add/remove-function instead.
9769
9770 * vc/vc-dispatcher.el: Use lexical-binding.
9771 (vc--process-sentinel): Rename from vc-process-sentinel.
9772 Change last arg to be the code to run. Don't use vc-previous-sentinel
9773 and vc-sentinel-commands any more.
9774 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9775 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9776
9777 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9778
9779 * progmodes/sh-script.el (sh-imenu-generic-expression):
9780 Handle function names with a single character. (Bug#14111)
9781
9782 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9783
9784 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9785 for subroutines defined in an eval (bug#14182).
9786
9787 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9788
9789 * bookmark.el (bookmark-completing-read): Improve handling of empty
9790 string (bug#14176).
9791
9792 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9793
9794 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9795
9796 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9797
9798 New faster Imenu implementation (bug#14058).
9799 * progmodes/python.el:
9800 (python-imenu-prev-index-position):
9801 (python-imenu-format-item-label-function)
9802 (python-imenu-format-parent-item-label-function)
9803 (python-imenu-format-parent-item-jump-label-function):
9804 New vars.
9805 (python-imenu-format-item-label)
9806 (python-imenu-format-parent-item-label)
9807 (python-imenu-format-parent-item-jump-label)
9808 (python-imenu--put-parent, python-imenu--build-tree)
9809 (python-imenu-create-index, python-imenu-create-flat-index)
9810 (python-util-popn): New functions.
9811 (python-mode): Set imenu-create-index-function to
9812 python-imenu-create-index.
9813
9814 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9815
9816 * winner.el (winner-active-region): Use region-active-p, activate-mark
9817 and deactivate-mark (bug#14225).
9818
9819 * simple.el (deactivate-mark): Don't inline it.
9820
9821 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9822
9823 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9824
9825 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9826
9827 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9828 file extensions from the archive-mode entry in order to prefer
9829 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9830
9831 2013-04-18 Leo Liu <sdl.web@gmail.com>
9832
9833 * bindings.el (help-event-list): Add ?\?.
9834
9835 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9836
9837 * subr.el (with-wrapper-hook): Declare obsolete.
9838 * simple.el (filter-buffer-substring-function): New hook.
9839 (filter-buffer-substring): Use it.
9840 (filter-buffer-substring-functions): Mark obsolete.
9841 * minibuffer.el (completion-in-region-function): New hook.
9842 (completion-in-region): Use it.
9843 (completion-in-region-functions): Mark obsolete.
9844 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9845 * abbrev.el (abbrev-expand-function): New hook.
9846 (expand-abbrev): Use it.
9847 (abbrev-expand-functions): Mark obsolete.
9848 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9849 and :filter-return.
9850
9851 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9852
9853 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9854 and do not care about match data.
9855
9856 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9857
9858 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9859 completion tables when completing error conditions and
9860 `declare' arguments.
9861 (lisp-complete-symbol, field-complete): Mark as obsolete.
9862 (check-parens): Unmatched parens are user errors.
9863 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9864
9865 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9866
9867 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9868 command changed buffer (ie. `flyspell-pre-buffer' is not current
9869 buffer), which prevents making decisions based on invalid value of
9870 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9871 cause an error when `flyspell-pre-point' was nil after switching
9872 buffers.
9873 (flyspell-post-command-hook): No longer needs to change buffers when
9874 checking pre-word. While at it remove unnecessary progn.
9875
9876 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9877
9878 * textmodes/ispell.el (ispell-add-per-file-word-list):
9879 Fix `flyspell-correct-word-before-point' error when accepting
9880 words and `coment-padding' is an integer by using
9881 `comment-normalize-vars' (Bug #14214).
9882
9883 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9884
9885 New defun movement commands.
9886 * progmodes/python.el (python-nav--syntactically)
9887 (python-nav--forward-defun, python-nav-backward-defun)
9888 (python-nav-forward-defun): New functions.
9889
9890 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9891
9892 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9893 (python-syntax-context): Use named compiler-macro for backwards
9894 compatibility with Emacs 24.x.
9895
9896 2013-04-17 Leo Liu <sdl.web@gmail.com>
9897
9898 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9899 octave-hide-process-buffer.
9900
9901 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9902
9903 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9904 (bug#14216).
9905
9906 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9907
9908 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9909 Fix adjustment of offset when receiving incomplete responses from GDB
9910 (bug#14129).
9911
9912 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9913
9914 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9915 python-mode-abbrev-table.
9916 (python-skeleton-define): Adjust accordingly.
9917 (python-mode-abbrev-table): New table that inherits from it so that
9918 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9919
9920 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9921 (abbrev-symbol): Use it.
9922 (abbrev--before-point): Use it since we already handle inheritance.
9923
9924 2013-04-16 Leo Liu <sdl.web@gmail.com>
9925
9926 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9927 binding to info-lookup-symbol.
9928
9929 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9930
9931 * minibuffer.el (completion--twq-all):
9932 * term/ns-win.el (ns-initialize-window-system):
9933 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9934
9935 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9936
9937 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9938 global bindings.
9939
9940 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9941
9942 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9943
9944 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9945 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9946 to nil.
9947 (ruby-end-of-defun): Remove the unused arg, change the docstring
9948 to reflect that this function is only used as the value of
9949 `end-of-defun-function'.
9950 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9951 to reflect an earlier change that beginning/end-of-defun functions
9952 jump between methods in a class definition, as well as top-level
9953 functions.
9954
9955 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9956
9957 * minibuffer.el (minibuffer-complete): Don't just scroll
9958 a *Completions* that's been iconified.
9959 (minibuffer-force-complete): Make sure repetitions do cycle when going
9960 through completion-in-region -> minibuffer-complete.
9961
9962 2013-04-15 Alan Mackenzie <acm@muc.de>
9963
9964 Correct the placement of c-cpp-delimiters when there're #s not at
9965 col 0.
9966
9967 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9968 place a submatch around the #.
9969 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9970 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9971 on the #, not BOL.
9972
9973 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9974
9975 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9976 (advice--member-p): New arg `name'.
9977 (advice--add-function, advice-member-p): Use it (bug#14202).
9978
9979 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9980
9981 Reformulate java imenu-generic-expression.
9982 The old expression contained ill formed regexps.
9983
9984 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9985 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9986 (cc-imenu-java-method-arg-regexp): New defconsts.
9987 (cc-imenu-java-build-type-args-regex): New defun.
9988 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9989 handling of spaces in the regexp.
9990
9991 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9992
9993 * textmodes/ispell.el (ispell-command-loop): Remove
9994 flyspell highlight of a word when ispell accepts it (bug #14178).
9995
9996 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9997
9998 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9999 uses code from the previous `ange-ftp-run-real-handler'.
10000 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10001 only in case that function exist. This is needed for proper
10002 unloading of Tramp.
10003
10004 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10005
10006 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10007
10008 * textmodes/reftex.el (reftex-compile-variables): Use it.
10009
10010 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10011
10012 * files.el (normal-mode): Only use default major-mode if no other mode
10013 was specified.
10014
10015 * emacs-lisp/trace.el (trace-values): New function.
10016
10017 * files.el: Allow : in local variables (bug#14089).
10018 (hack-local-variable-regexp): New var.
10019 (hack-local-variables-prop-line, hack-local-variables): Use it.
10020
10021 2013-04-13 Roland Winkler <winkler@gnu.org>
10022
10023 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10024 data before it gets modified by bibtex-beginning-of-entry.
10025
10026 2013-04-13 Roland Winkler <winkler@gnu.org>
10027
10028 * textmodes/bibtex.el (bibtex-url): Doc fix.
10029
10030 2013-04-13 Roland Winkler <winkler@gnu.org>
10031
10032 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10033 does not visit a BibTeX file, exclude it from the list of buffers
10034 returned by bibtex-initialize.
10035
10036 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10037
10038 * window.el (split-window): Remove interactive form, since as a
10039 command this function is a special case of split-window-below.
10040 Correct doc string.
10041
10042 2013-04-12 Roland Winkler <winkler@gnu.org>
10043
10044 * faces.el (read-face-name): Do not override value of arg default.
10045 Allow single faces and strings as default values. Remove those
10046 elements from return value that are not faces.
10047 (describe-face): Simplify.
10048 (face-at-point): New optional args thing and multiple so that this
10049 function can provide the same functionality previously provided by
10050 read-face-name.
10051 (make-face-bold, make-face-unbold, make-face-italic)
10052 (make-face-unitalic, make-face-bold-italic, invert-face)
10053 (modify-face, read-face-and-attribute): Use face-at-point.
10054
10055 * cus-edit.el (customize-face, customize-face-other-window)
10056 * cus-theme.el (custom-theme-add-face)
10057 * face-remap.el (buffer-face-set)
10058 * facemenu.el (facemenu-set-face): Use face-at-point.
10059
10060 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10061
10062 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10063
10064 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10065
10066 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10067 off leading { and trailing } from field values.
10068
10069 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10070
10071 * emacs-lisp/timer.el (timer--check): New function.
10072 (timer--time, timer-set-function, timer-event-handler): Use it.
10073 (timer-set-idle-time): Simplify.
10074 (timer--activate): CSE.
10075 (timer-event-handler): Give more info in error message.
10076 (internal-timer-start-idle): New function, moved from C.
10077
10078 * mpc.el (mpc-proc): Add `restart' argument.
10079 (mpc-proc-cmd): Use it.
10080 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10081 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10082 less often.
10083
10084 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10085
10086 * progmodes/sh-script.el: Implement `sh-mode' own
10087 `add-log-current-defun-function' (bug#14112).
10088 (sh-current-defun-name): New function.
10089 (sh-mode): Use the function.
10090
10091 2013-04-09 Bastien Guerry <bzg@gnu.org>
10092
10093 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10094
10095 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10096
10097 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10098
10099 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10100 timer (bug#14156).
10101
10102 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10103
10104 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10105 declaration.
10106
10107 2013-04-07 Leo Liu <sdl.web@gmail.com>
10108
10109 * pcmpl-x.el: New file.
10110
10111 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10112
10113 Do not set x-display-name until X connection is established.
10114 This is needed to prevent from weird situation described at
10115 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10116 * frame.el (make-frame): Set x-display-name after call to
10117 window system initialization function, not before.
10118 * term/x-win.el (x-initialize-window-system): Add optional
10119 display argument and use it.
10120 * term/w32-win.el (w32-initialize-window-system):
10121 * term/ns-win.el (ns-initialize-window-system):
10122 * term/pc-win.el (msdos-initialize-window-system):
10123 Add compatible optional display argument.
10124
10125 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10126
10127 * files.el (normal-backup-enable-predicate): On MS-Windows and
10128 MS-DOS compare truenames of temporary-file-directory and of the
10129 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10130 don't fail comparison by compare-strings. Also, compare file
10131 names case-insensitively on MS-Windows and MS-DOS.
10132
10133 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10134
10135 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10136 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10137
10138 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10139
10140 * whitespace.el (whitespace-color-on, whitespace-color-off):
10141 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10142
10143 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10144
10145 * ispell.el (ispell-set-spellchecker-params):
10146 Really set `ispell-args' for all equivs.
10147
10148 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10149
10150 * ido.el (ido-completions): Use extra elements of ido-decorations
10151 (bug#14143).
10152 (ido-decorations): Update docstring.
10153
10154 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10155
10156 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10157 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10158 nil during initialization, in order not to miss changes since the
10159 file was opened. (Bug#14140)
10160
10161 2013-04-05 Leo Liu <sdl.web@gmail.com>
10162
10163 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10164
10165 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10166
10167 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10168
10169 2013-04-04 Glenn Morris <rgm@gnu.org>
10170
10171 * electric.el (electric-pair-inhibit-predicate): Add :version.
10172
10173 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10174
10175 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10176 when a package is required several times (bug#14082).
10177
10178 2013-04-04 Roland Winkler <winkler@gnu.org>
10179
10180 * faces.el (read-face-name): Behave as promised by the docstring.
10181 Assume that arg default is a list of faces.
10182 (describe-face): Call read-face-name with list of default faces.
10183
10184 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10185
10186 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10187 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10188 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10189 the header.
10190 (bookmark-exit-hook-internal): Save even if list is empty.
10191
10192 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10193
10194 * emacs-lisp/package.el (package-pinned-packages): New var.
10195 (package--add-to-archive-contents): Obey it (bug#14118).
10196
10197 2013-04-03 Alan Mackenzie <acm@muc.de>
10198
10199 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10200 Also adapt to the new values of element 7 of a parse state.
10201
10202 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10203 parameter `not-in-delimiter'. Handle being inside comment opener.
10204 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10205 character in case we're typing a '*' after a '/'.
10206 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10207 instead by passing the parameter to c-state-pp-to-literal.
10208
10209 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10210 for elt. 7 of a parse state.
10211
10212 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10213
10214 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10215 * international/latin1-disp.el, international/mule-util.el:
10216 * language/cyril-util.el, language/european.el, language/ind-util.el:
10217 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10218 * language/tibetan.el, language/viet-util.el:
10219 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10220
10221 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10222
10223 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10224 (electric-pair-post-self-insert-function): Use it.
10225 (electric-pair-default-inhibit): New function, extracted from
10226 electric-pair-post-self-insert-function.
10227
10228 2013-03-31 Roland Winkler <winkler@gnu.org>
10229
10230 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10231
10232 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10233
10234 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10235
10236 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10237
10238 Un-indent after "pass" and "return" statements (Bug#13888)
10239 * progmodes/python.el (python-indent-block-enders): New var.
10240 (python-indent-calculate-indentation): Use it.
10241
10242 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10243
10244 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10245 defun. Defining it as defalias could introduce too eager
10246 byte-compiler optimization. (Bug#14030)
10247
10248 2013-03-30 Chong Yidong <cyd@gnu.org>
10249
10250 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10251
10252 2013-03-30 Leo Liu <sdl.web@gmail.com>
10253
10254 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10255 (kmacro-execute-from-register): Pass the keyboard macro to
10256 kmacro-call-macro or repeating won't work correctly.
10257
10258 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10259
10260 * progmodes/subword.el: Back to using `forward-symbol'.
10261
10262 * subr.el (forward-whitespace, forward-symbol)
10263 (forward-same-syntax): Move from thingatpt.el.
10264
10265 2013-03-29 Leo Liu <sdl.web@gmail.com>
10266
10267 * kmacro.el (kmacro-to-register): New command.
10268 (kmacro-execute-from-register): New function.
10269 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10270
10271 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10272
10273 * mpc.el: Use defvar-local and setq-local.
10274 (mpc--proc-connect): Connection failures are not bugs.
10275 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10276 (mpc-volume-map): Bind to the up-events.
10277
10278 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10279
10280 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10281 instead of `forward-symbol'.
10282
10283 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10284
10285 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10286 (edebug--recursive-edit): Use it.
10287 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10288 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10289
10290 2013-03-28 Leo Liu <sdl.web@gmail.com>
10291
10292 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10293
10294 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10295
10296 * facemenu.el (list-colors-callback): New defvar.
10297 (list-colors-redisplay): New function.
10298 (list-colors-display): Install list-colors-redisplay as the
10299 revert-buffer-function. (Bug#14063)
10300
10301 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10302
10303 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10304 and suffixes don't overlap (bug#14061).
10305
10306 * case-table.el: Use lexical-binding.
10307 (case-table-get-table): New function.
10308 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10309
10310 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10311
10312 * progmodes/subword.el: Add `superword-mode' to do word motion
10313 over symbol_words (parallels and leverages `subword-mode' which
10314 does word motion inside MixedCaseWords).
10315
10316 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10317
10318 * eshell/em-unix.el: Move su and sudo to...
10319 * eshell/em-tramp.el: ...Eshell tramp module.
10320
10321 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10322
10323 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10324 Change return value to be a sexp. Delay `get-buffer' to after
10325 restoring the desktop (bug#13951).
10326
10327 2013-03-26 Leo Liu <sdl.web@gmail.com>
10328
10329 * register.el: Move semantic tag handling back to
10330 cedet/semantic/senator.el. (Bug#14052)
10331
10332 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10333
10334 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10335 into the prompt either (bug#13963).
10336
10337 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10338
10339 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10340 part of "(error-foo)".
10341
10342 2013-03-24 Juri Linkov <juri@jurta.org>
10343
10344 * replace.el (list-matching-lines-prefix-face): New defcustom.
10345 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10346 `occur-engine' if `face-differs-from-default-p' returns t.
10347 (occur-engine): Add `,' inside backquote construct to evaluate
10348 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10349 Pass `prefix-face' to the functions `occur-context-lines' and
10350 `occur-engine-add-prefix'.
10351 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10352 `prefix-face' and propertize the prefix with `prefix-face'.
10353 (Bug#14017)
10354
10355 2013-03-24 Leo Liu <sdl.web@gmail.com>
10356
10357 * nxml/rng-valid.el (rng-validate-while-idle)
10358 (rng-validate-quick-while-idle): Guard against deleted buffer.
10359 (Bug#13999)
10360
10361 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10362 is the last entry in kill-buffer-hook.
10363
10364 * files.el (kill-buffer-hook): Doc fix.
10365
10366 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10367
10368 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10369 Make it safe-local.
10370
10371 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10372
10373 2013-03-23 Leo Liu <sdl.web@gmail.com>
10374
10375 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10376 Remove.
10377
10378 * nxml/rng-valid.el (rng-validate-mode)
10379 (rng-after-change-function, rng-do-some-validation):
10380 * nxml/rng-maint.el (rng-validate-buffer):
10381 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10382 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10383 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10384 (nxml-extend-after-change-region): Use with-silent-modifications.
10385
10386 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10387 timer-idle-list.
10388
10389 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10390 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10391 timer-idle-list. (Bug#13999)
10392
10393 2013-03-23 Juri Linkov <juri@jurta.org>
10394
10395 * info.el (info-index-match): New face.
10396 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10397 main pattern and add text properties with the new face to matches
10398 in index entries relative to the beginning of the index entry.
10399 (Bug#14015)
10400
10401 2013-03-21 Eric Ludlam <zappo@gnu.org>
10402
10403 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10404 Inhibit read only while inserting objects.
10405
10406 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10407
10408 * progmodes/cfengine.el: Update docs to mention
10409 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10410 symbol motion. Remove "_" from the word syntax.
10411
10412 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10413
10414 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10415 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10416
10417 2013-03-20 Juri Linkov <juri@jurta.org>
10418
10419 * info.el (Info-next-reference-or-link)
10420 (Info-prev-reference-or-link): New functions.
10421 (Info-next-reference, Info-prev-reference): Use them.
10422 (Info-try-follow-nearest-node): Handle footnote navigation.
10423 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10424
10425 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10426
10427 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10428 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10429
10430 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10431
10432 Suppress unnecessary non-ASCII chatter during build process.
10433 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10434 (batch-skkdic-convert): Suppress most of the chatter.
10435 It's not needed so much now that machines are faster,
10436 and its non-ASCII component was confusing; see Dmitry Gutov in
10437 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10438
10439 2013-03-20 Leo Liu <sdl.web@gmail.com>
10440
10441 * ido.el (ido-chop): Fix bug#10994.
10442
10443 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10444
10445 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10446 Remove vars.
10447 (whitespace-color-on, whitespace-color-off):
10448 Use `font-lock-fontify-buffer' (Bug#13817).
10449
10450 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10451
10452 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10453 remapping in mode-line.
10454 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10455
10456 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10457
10458 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10459 value for `whitespace-line' face (Bug#13875).
10460 (whitespace-font-lock-keywords): Change description.
10461 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10462 the constructed keywords instead.
10463 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10464
10465 2013-03-19 Leo Liu <sdl.web@gmail.com>
10466
10467 * progmodes/compile.el (compilation-display-error): New command.
10468 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10469 C-o. (Bug#13992)
10470
10471 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10472
10473 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10474
10475 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10476
10477 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10478
10479 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10480
10481 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10482
10483 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10484 * net/tramp-gvfs.el (top):
10485 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10486 (tramp-handle-shell-command): Use it.
10487 (tramp-dissect-file-name): Raise an error when hostname is a
10488 method name, and neither method nor user is specified.
10489
10490 * net/trampver.el: Update release number.
10491
10492 2013-03-18 Leo Liu <sdl.web@gmail.com>
10493
10494 Make sure eldoc can be turned off properly.
10495 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10496 eldoc-mode.
10497 (eldoc-display-message-p): Revert last change.
10498 (eldoc-display-message-no-interference-p)
10499 (eldoc-print-current-symbol-info): Tweak.
10500
10501 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10502
10503 * doc-view.el (doc-view-new-window-function): Check the new window
10504 overlay's display property instead the char property of the
10505 buffer's first char. Use `with-selected-window' instead of
10506 `save-window-excursion' with `select-window'.
10507 (doc-view-document->bitmap): Check the current doc-view overlay's
10508 display property instead the char property of the buffer's first char.
10509
10510 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10511
10512 Automate the build of ja-dic.el (Bug#13984).
10513 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10514 from the input, rather than assume that it's been done for us by the
10515 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10516 the current date into a ja-dic.el comment, as that complicates
10517 regression testing.
10518
10519 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10520
10521 * whitespace.el: Fix double evaluation.
10522 (whitespace-space, whitespace-hspace, whitespace-tab)
10523 (whitespace-newline, whitespace-trailing, whitespace-line)
10524 (whitespace-space-before-tab, whitespace-indentation)
10525 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10526 obsolete defvars.
10527 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10528 (whitespace-color-on): Use a single font-lock-add-keywords call.
10529 Fix double-evaluation of face variables.
10530
10531 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10532
10533 * net/tramp-adb.el (tramp-adb-parse-device-names):
10534 Use `start-process' instead of `call-process'. Otherwise, the
10535 function might be blocked under MS Windows. (Bug#13299)
10536
10537 2013-03-17 Leo Liu <sdl.web@gmail.com>
10538
10539 Extend eldoc to display info in the mode-line. (Bug#13978)
10540 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10541 (eldoc-mode-line-string): New variable.
10542 (eldoc-minibuffer-message): New function.
10543 (eldoc-message-function): New variable.
10544 (eldoc-message): Use it.
10545 (eldoc-display-message-p)
10546 (eldoc-display-message-no-interference-p):
10547 Support eldoc-post-insert-mode.
10548
10549 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10550 (eval-expression): Run it.
10551
10552 2013-03-17 Roland Winkler <winkler@gnu.org>
10553
10554 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10555 strings in the list of return values.
10556
10557 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10558
10559 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10560 radix before checking for HMS forms.
10561
10562 2013-03-16 Leo Liu <sdl.web@gmail.com>
10563
10564 * progmodes/scheme.el: Add indentation and font-locking for λ.
10565 (Bug#13975)
10566
10567 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10568
10569 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10570 token before point (bug#13942).
10571
10572 2013-03-16 Leo Liu <sdl.web@gmail.com>
10573
10574 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10575
10576 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10577
10578 * startup.el (command-line-normalize-file-name): Fix handling of
10579 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10580 <xfq.free@gmail.com> in
10581 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10582
10583 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10584
10585 Sync with Tramp 2.2.7.
10586
10587 * net/trampver.el: Update release number.
10588
10589 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10590
10591 * doc-view.el: Fix bug#13887.
10592 (doc-view-insert-image): Don't modify overlay associated to
10593 non-live windows, and implement horizontal centering of image in
10594 case it's smaller than the window.
10595 (doc-view-new-window-function): Force redisplay of new windows on
10596 doc-view buffers.
10597
10598 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10599
10600 * saveplace.el (save-place-alist-to-file): Don't sort
10601 `save-place-alist', just pretty-print it (bug#13882).
10602
10603 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10604
10605 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10606 Check whether `default-file-name-coding-system' is bound.
10607 It isn't in XEmacs.
10608
10609 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10610
10611 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10612 backquotes for `obsolete' (bug#13929).
10613
10614 * international/mule.el (find-auto-coding): Include file name in
10615 obsolescence warning (bug#13922).
10616
10617 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10618
10619 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10620 for CFEngine 3-specific indentation.
10621 (cfengine3-indent-line): Use it. Fix up category regex.
10622 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10623
10624 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10625
10626 * type-break.el (type-break-file-name):
10627 * textmodes/remember.el (remember-data-file):
10628 * strokes.el (strokes-file):
10629 * shadowfile.el (shadow-initialize):
10630 * saveplace.el (save-place-file):
10631 * ps-bdf.el (bdf-cache-file):
10632 * progmodes/idlwave.el (idlwave-config-directory):
10633 * net/quickurl.el (quickurl-url-file):
10634 * international/kkc.el (kkc-init-file-name):
10635 * ido.el (ido-save-directory-list-file):
10636 * emulation/viper.el (viper-custom-file-name):
10637 * emulation/vip.el (vip-startup-file):
10638 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10639 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10640
10641 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10642
10643 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10644 * language/thai-word.el: Switch to UTF-8.
10645
10646 See ChangeLog.16 for earlier changes.
10647
10648 ;; Local Variables:
10649 ;; coding: utf-8
10650 ;; End:
10651
10652 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10653
10654 This file is part of GNU Emacs.
10655
10656 GNU Emacs is free software: you can redistribute it and/or modify
10657 it under the terms of the GNU General Public License as published by
10658 the Free Software Foundation, either version 3 of the License, or
10659 (at your option) any later version.
10660
10661 GNU Emacs is distributed in the hope that it will be useful,
10662 but WITHOUT ANY WARRANTY; without even the implied warranty of
10663 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10664 GNU General Public License for more details.
10665
10666 You should have received a copy of the GNU General Public License
10667 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.