* progmodes/octave.el (inferior-octave-prompt): Use shy groups.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-06 Leo Liu <sdl.web@gmail.com>
2
3 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
4 (inferior-octave-startup): Always use "octave> " for prompt.
5 (octave-goto-function-definition)
6 (octave-sync-function-file-names)
7 (octave-find-definition-default-filename): Remove redundant backquotes.
8
9 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
10
11 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
12 syntax for `?'.
13 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
14 where appropriate already.
15 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
16 end of method names (Bug#15874).
17
18 2013-12-06 Juri Linkov <juri@jurta.org>
19
20 * isearch.el (isearch--saved-overriding-local-map):
21 New internal variable.
22 (isearch-mode): Set it to the initial value of
23 `overriding-terminal-local-map'.
24 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
25 with `isearch--saved-overriding-local-map'. (Bug#16035)
26
27 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
28
29 * progmodes/octave.el (inferior-octave-completion-table): Turn
30 back into function, use `completion-table-with-cache'
31 (Bug#11906). Update all references.
32
33 * minibuffer.el (completion-table-with-cache): New function.
34
35 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
36
37 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
38
39 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
40
41 * net/eww.el (eww-current-source): New variable to store page
42 source.
43 (eww-display-html, eww-mode, eww-save-history)
44 (eww-restore-history): Use it.
45 (eww-view-source): New command to view page source.
46 Opportunistically uses `html-mode' to highlight the buffer.
47 (eww-mode-map): Install it.
48
49 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
50
51 * net/dbus.el (dbus-unregister-service)
52 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
53 Fix docstring.
54 (dbus-unregister-service): Skip :serial entries in
55 `dbus-registered-objects-table'.
56 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
57
58 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
59
60 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
61 around keywords with extra `split-string' argument.
62
63 2013-12-04 Martin Rudalics <rudalics@gmx.at>
64
65 * windmove.el (windmove-other-window-loc): Handle navigation
66 between windows (excluding the minibuffer window - Bug#16017).
67
68 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
69
70 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
71 in D-Bus type syntax.
72 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
73 preserve unibyte strings. (Bug#16048)
74
75 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
76
77 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
78 Call force-mode-line-update is the proper buffer (bug#16042).
79
80 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
81
82 * vc/log-edit.el (log-edit-add-new-comment): Rename to
83 `log-edit-remember-comment', make argument optional. Adjust all
84 callers.
85 (log-edit-mode): Add `log-edit-remember-comment' to
86 `kill-buffer-hook' locally.
87 (log-edit-kill-buffer): Don't remember comment explicitly since
88 the buffer is killed anyway.
89
90 2013-12-04 Juri Linkov <juri@jurta.org>
91
92 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
93 add-hook and remove-hook for multi-buffer search. (Bug#16035)
94
95 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
96
97 * notifications.el (notifications-close-notification): Call the
98 D-Bus method with ID being a `:uint32'. (Bug#16030)
99
100 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
101
102 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
103
104 2013-12-03 Juri Linkov <juri@jurta.org>
105
106 * progmodes/compile.el (compilation-start): Rename window alist
107 entry `no-display-ok' to `allow-no-window'.
108
109 * simple.el (shell-command): Add window alist entry
110 `allow-no-window' to `display-buffer'.
111 (async-shell-command): Doc fix.
112
113 * window.el (display-buffer-no-window): New action function.
114 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
115
116 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
117
118 * vc/log-edit.el (log-edit-set-header): Extract from
119 `log-edit-toggle-header'.
120 (log-edit-extract-headers): Separate the summary, when extracted
121 from header, from the rest of the message with an empty line.
122
123 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
124 line, if present, to the Summary header.
125
126 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
127
128 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
129 in current-buffer (bug#16029).
130
131 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
132
133 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
134 (debugger-mode-map): Bind it.
135 (debugger--backtrace-base): New function.
136 (debugger-eval-expression): Use it.
137 (debugger-frame-number): Skip local vars when present.
138 (debugger--locals-visible-p, debugger--insert-locals)
139 (debugger--show-locals, debugger--hide-locals): New functions.
140
141 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
142
143 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
144 "LC_ALL".
145 (tramp-get-remote-locale): New defun.
146 (tramp-open-connection-setup-interactive-shell): Use it.
147
148 2013-12-02 Leo Liu <sdl.web@gmail.com>
149
150 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
151
152 * progmodes/sh-script.el (sh-shell-process):
153 * progmodes/octave.el (inferior-octave-process-live-p):
154 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
155 (gdb-inferior-io-sentinel):
156 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
157
158 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
159
160 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
161 `save-selected-window' to `log-edit-hide-buf'. This makes
162 `log-edit-show-files' idempotent.
163 (log-edit-show-files): Mark the new window as dedicated.
164
165 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
166
167 * vc/log-edit.el (log-edit-mode-map): Add binding for
168 `log-edit-kill-biffer'.
169 (log-edit-hide-buf): Add a FIXME comment.
170 (log-edit-add-new-comment): New function, extracted from
171 `log-edit-done'.
172 (log-edit-done, log-edit-add-to-changelog): Use it.
173 (log-edit-kill-buffer): New command.
174
175 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
176
177 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
178 instead of killing the buffer.
179
180 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
181
182 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
183
184 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
185
186 * net/eww.el (eww-form-checkbox-selected-symbol)
187 (eww-form-checkbox-symbol): New customizable variable.
188 (eww-form-checkbox, eww-toggle-checkbox):
189 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
190
191 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
192 (shr--get-media-pref, shr--extract-best-source): New function.
193 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
194 no :src tag was specified.
195
196 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
197 (eww-render): Handle `eww-use-external-browser-for-content-type'.
198 Use \\` to match beginning of string instead of ^.
199 (eww-browse-with-external-browser): Provide optional URL parameter.
200 (eww-render): Set `eww-current-title' back to "".
201
202 * net/shr.el (shr-tag-video): Display content for video if no
203 poster is available.
204 (shr-tag-audio): Add support for <audio> tag.
205
206 * net/eww.el (eww-text-input-types): : New const.
207 (eww-process-text-input): Treat input types in
208 `eww-text-input-types' as text.
209
210 * net/shr.el (shr-tag-table): Fix comment typo.
211
212 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
213
214 * net/eww.el (eww-follow-link): New command to avoid reloading
215 pages when we follow #target links (bug#15243).
216 (eww-quit): Special mode buffers shouldn't query before exiting.
217
218 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
219
220 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
221 forms.
222
223 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
224
225 * net/eww.el (eww-restore-history): Update the window title after
226 moving in the history.
227 (eww-current-dom): New variable used to save the current DOM.
228
229 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
230
231 * vc/log-edit.el (log-edit-mode-map): Add binding for
232 `log-edit-beginning-of-line'.
233 (log-edit-setup-add-author): New user option.
234 (log-edit-beginning-of-line): New command.
235 (log-edit): Move major mode call above the contents setup so that
236 the local variable values are already applied.
237 (log-edit): Only insert "Author: " when
238 `log-edit-setup-add-author' is non-nil.
239 (log-edit): When SETUP is non-nil, position point after ": "
240 instead of point-min.
241
242 2013-12-01 Glenn Morris <rgm@gnu.org>
243
244 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
245
246 2013-11-30 Eli Zaretskii <eliz@gnu.org>
247
248 * startup.el (fancy-splash-frame): On MS-Windows, trigger
249 redisplay to make sure the initial frame gets a chance to become
250 visible. (Bug#16014)
251
252 2013-11-30 Martin Rudalics <rudalics@gmx.at>
253
254 Support resizing frames and windows pixelwise.
255 * cus-start.el (frame-resize-pixelwise)
256 (window-resize-pixelwise): New entries.
257 * emacs-lisp/debug.el (debug): Use window-total-height instead
258 of window-total-size.
259 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
260 * help.el (describe-bindings-internal): Call help-buffer
261 (temp-buffer-max-width): New option.
262 (resize-temp-buffer-window, help-window-setup)
263 (with-help-window): Rewrite.
264 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
265 dragging dividers.
266 * window.el (frame-char-size, window-min-pixel-height)
267 (window-safe-min-pixel-height, window-safe-min-pixel-width)
268 (window-min-pixel-width, window-safe-min-pixel-size)
269 (window-combination-p, window-safe-min-size)
270 (window-resizable-p, window--size-to-pixel)
271 (window--pixel-to-size, window--resize-apply-p): New functions.
272 (window-safe-min-height): Fix doc-string.
273 (window-size, window-min-size, window--min-size-1)
274 (window-sizable, window-sizable-p, window--min-delta-1)
275 (window-min-delta, window--max-delta-1, window-max-delta)
276 (window--resizable, window--resizable-p, window-resizable)
277 (window-full-height-p, window-full-width-p, window-at-side-p)
278 (window--in-direction-2, window-in-direction)
279 (window--resize-reset-1, window--resize-mini-window)
280 (window-resize, window-resize-no-error)
281 (window--resize-child-windows-normal)
282 (window--resize-child-windows, window--resize-siblings)
283 (window--resize-this-window, window--resize-root-window)
284 (window--resize-root-window-vertically)
285 (adjust-window-trailing-edge, enlarge-window, shrink-window)
286 (maximize-window, minimize-window, delete-window)
287 (quit-restore-window, window-split-min-size, split-window)
288 (balance-windows-2, balance-windows)
289 (balance-windows-area-adjust, balance-windows-area)
290 (window--state-get-1, window-state-get, window--state-put-1)
291 (window--state-put-2, window-state-put)
292 (display-buffer-record-window, window--display-buffer):
293 Make functions handle pixelwise sizing of windows.
294 (display-buffer--action-function-custom-type)
295 (display-buffer-fallback-action):
296 Add display-buffer-in-previous-window.
297 (display-buffer-use-some-window): Resize window to height it had
298 before.
299 (fit-window-to-buffer-horizontally): New option.
300 (fit-frame-to-buffer): Describe new values.
301 (fit-frame-to-buffer-bottom-margin): Replace with
302 fit-frame-to-buffer-margins.
303 (window--sanitize-margin): New function.
304 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
305 using window-text-pixel-size.
306
307 2013-11-30 Glenn Morris <rgm@gnu.org>
308
309 * emacs-lisp/bytecomp.el (byte-compile-form):
310 Make the `interactive-only' warning like the `obsolete' one.
311 * comint.el (comint-run):
312 * files.el (insert-file-literally, insert-file):
313 * replace.el (replace-string, replace-regexp):
314 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
315 (goto-line, insert-buffer, next-line, previous-line):
316 Tweak `interactive-only' spec.
317
318 Stop keeping (most) generated cedet grammar files in the repository.
319 * Makefile.in (semantic): New.
320 (compile-main): Depend on semantic.
321
322 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
323
324 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
325 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
326
327 * uniquify.el (uniquify-buffer-name-style): Change default.
328
329 * loadup.el: Preload "uniquify".
330
331 * time.el (display-time-update): Update all mode lines (bug#15999).
332
333 * electric.el (electric-indent-mode): Enable by default.
334 * loadup.el: Preload "electric".
335
336 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
337
338 * emacs-lisp/helpers.el (string-empty-p): New function.
339 (string-blank-p): New function.
340
341 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
342
343 * imenu.el (imenu--index-alist): Add missing dot to the docstring
344 (Bug#14029).
345
346 2013-11-29 Andreas Politz <politza@fh-trier.de>
347 * imenu.el (imenu--subalist-p): Don't error on non-conses and
348 allow non-lambda lists as functions.
349 (imenu--in-alist): Don't recurse into non-subalists.
350 (imenu): Don't pass function itself as an argument (Bug#14029).
351
352 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
353
354 * progmodes/python.el (python-mode-map): Remove binding for ":".
355 (python-indent-electric-colon): Remove command.
356 (python-indent-post-self-insert-function): Integrate the previous code
357 of python-indent-electric-colon. Make it conditional on
358 electric-indent-mode.
359 (python-mode): Add ?: to electric-indent-chars.
360 Move python-indent-post-self-insert-function to the end of
361 post-self-insert-hook.
362
363 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
364
365 * doc-view.el (doc-view-goto-page): Update mode-line.
366
367 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
368
369 2013-11-27 Glenn Morris <rgm@gnu.org>
370
371 * international/charprop.el, international/uni-bidi.el:
372 * international/uni-category.el, international/uni-combining.el:
373 * international/uni-comment.el, international/uni-decimal.el:
374 * international/uni-decomposition.el, international/uni-digit.el:
375 * international/uni-lowercase.el, international/uni-mirrored.el:
376 * international/uni-name.el, international/uni-numeric.el:
377 * international/uni-old-name.el, international/uni-titlecase.el:
378 * international/uni-uppercase.el:
379 Remove generated files from VCS repository.
380
381 2013-11-27 Eli Zaretskii <eliz@gnu.org>
382
383 * filenotify.el (file-notify-add-watch): Don't special-case
384 w32notify when computing the directory to watch.
385
386 2013-11-27 Glenn Morris <rgm@gnu.org>
387
388 Make bootstrap without generated uni-*.el files possible again.
389 * loadup.el: Update command-line-args checking for unidata-gen.
390 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
391 * composite.el, international/characters.el:
392 Handle unicode tables being undefined.
393
394 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
395 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
396 (compile-main): Depend on leim rule.
397 (leim): New rule.
398 * loadup.el: Move leim-list.el to leim/ subdirectory.
399 * startup.el (normal-top-level): No more leim directory.
400 * international/ja-dic-cnv.el (skkdic-convert):
401 Disable version-control and autoloads in output files.
402 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
403 Disable version-control and autoloads in output files.
404 * leim/quail: Move here from ../leim.
405 * leim/quail/hangul.el (hangul-input-method-activate):
406 Add autoload cookie.
407 (generated-autoload-load-name): Set file-local value.
408 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
409 (generated-autoload-load-name): Set file-local value.
410
411 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
412
413 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
414 (eww-add-bookmark): ask confirmation when add to bookmarks
415 (eww-quit): ask confirmation before quitting eww
416
417 2013-11-26 Eli Zaretskii <eliz@gnu.org>
418
419 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
420 reading output from Diff on MS-Windows and MS-DOS.
421
422 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
423
424 * emacs-lisp/helpers.el (string-reverse): New function.
425
426 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
427
428 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
429 names on MS Windows, like "/[::1]:".
430
431 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
432 SWITCHES.
433
434 2013-11-26 Glenn Morris <rgm@gnu.org>
435
436 * progmodes/python.el (python-indent-guess-indent-offset):
437 Avoid corner-case error. (Bug#15975)
438
439 Preload leim-list.el. (Bug#4789)
440 * loadup.el: Load leim-list.el when found.
441 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
442
443 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
444
445 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
446
447 * emacs-lisp/helpers.el (string-join): New function.
448
449 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
450
451 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
452 Mark as obsolete and replace it with a symbol property.
453 (byte-compile-form): Use new 'interactive-only property.
454 * comint.el, files.el, replace.el, simple.el:
455 Apply new 'interactive-only properly.
456
457 2013-11-25 Martin Rudalics <rudalics@gmx.at>
458
459 * window.el (display-buffer-at-bottom): Make sure that
460 split-window-sensibly creates the new window on bottom
461 (Bug#15961).
462
463 2013-11-23 David Kastrup <dak@gnu.org>
464
465 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
466 on the conflict markers when available.
467 (smerge--get-marker): New function.
468 (smerge-end-re, smerge-base-re): Add subgroup.
469
470 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
471
472 * frame.el (handle-focus-in, handle-focus-out): Add missing
473 interactive spec.
474
475 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
476
477 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
478 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
479
480 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
481
482 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
483 (gomoku--last-pos): New var.
484 (gomoku--intangible-chars): New const.
485 (gomoku--intangible): New function.
486 (gomoku-mode): Use it. Derive from special-mode.
487 (gomoku-move-up): Adjust line count.
488 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
489 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
490 Simplify accordingly.
491
492 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
493 Remove blink-cursor code.
494 (blink-cursor-timer-function, blink-cursor-suspend):
495 Don't special-case GUIs.
496 (blink-cursor-mode): Use focus-in/out-hook.
497
498 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
499
500 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
501 work when annotation is invisible (Bug#13886).
502
503 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
504
505 * json.el (json-alist-p): Only return non-nil if the alist has
506 simple keys (Bug#13518).
507
508 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
509
510 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
511 when control-statement is the first statement in a buffer (Bug#15956).
512
513 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
514
515 * imenu.el (imenu-generic-skip-comments-and-strings):
516 New option (Bug#15560).
517 (imenu--generic-function): Use it.
518
519 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
520
521 * minibuffer.el (completion--in-region-1): Scroll the correct
522 window. (Bug#13898)
523
524 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
525
526 * emacs-lisp/helpers.el: Add some string helpers.
527 (string-trim-left): Removes leading whitespace.
528 (string-trim-right): Removes trailing whitespace.
529 (string-trim): Removes leading and trailing whitespace.
530
531 * subr.el (string-suffix-p): New function.
532
533 2013-11-23 Glenn Morris <rgm@gnu.org>
534
535 * progmodes/python.el (python-shell-send-file):
536 Add option to delete file when done. (Bug#15647)
537 (python-shell-send-string, python-shell-send-region): Use it.
538
539 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
540
541 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
542 to set buffer-read-only to t, never to nil. (Bug#15938)
543
544 * textmodes/tex-mode.el (latex-noindent-environments):
545 Add safe-local-variable property. (Bug#15936)
546
547 2013-11-23 Glenn Morris <rgm@gnu.org>
548
549 * textmodes/enriched.el (enriched-mode): Doc fix.
550 * emacs-lisp/authors.el (authors-renamed-files-alist):
551 Add enriched.doc -> enriched.txt.
552
553 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
554
555 2013-11-22 Leo Liu <sdl.web@gmail.com>
556
557 * progmodes/octave.el (inferior-octave-startup): Spit out error
558 message.
559
560 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
561
562 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
563 Improve docstring.
564 Add :version.
565 (ruby-encoding-magic-comment-style): Add :version.
566
567 2013-11-22 Leo Liu <sdl.web@gmail.com>
568
569 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
570 (Bug#15076)
571 (octave-help-mode): Adapt to change to help-mode-finish to use
572 derived-mode-p on 2013-09-17.
573 (inferior-octave-prompt): Also match octave-gui.
574 (octave-kill-process): Don't ask twice. (Bug#10564)
575
576 2013-11-22 Leo Liu <sdl.web@gmail.com>
577
578 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
579 (inferior-octave-startup, inferior-octave-check-process)
580 (inferior-octave-track-window-width-change)
581 (octave-completion-at-point, octave-eldoc-function): Use it.
582 (octave-kill-process): Provide confirmation. (Bug#10564)
583
584 2013-11-21 Leo Liu <sdl.web@gmail.com>
585
586 * progmodes/octave.el (octave-mode, inferior-octave-mode):
587 Fix obsolete variable comment-use-global-state.
588
589 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
590
591 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
592 Add `octave-source-file'.
593 (octave-source-file): New function. (Bug#15935)
594
595 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
596
597 * net/eww.el (eww-local-regex): New variable.
598 (eww): Use it to detect localhost and similar.
599
600 2013-11-21 Leo Liu <sdl.web@gmail.com>
601
602 Add completion for command `ag'.
603 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
604 (pcomplete/ag): New function.
605 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
606
607 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
608
609 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
610 (bug#14646).
611 (make-obsolete): Remove interactive spec.
612
613 2013-11-21 Glenn Morris <rgm@gnu.org>
614
615 * startup.el (command-line-1): Use path-separator with -L.
616
617 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
618
619 * emacs-lisp/package.el (describe-package-1): Add package archive
620 to shown fields.
621
622 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
623
624 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
625 Change default to "# encoding: %s" to differentiate it from the
626 default Ruby encoding comment template.
627
628 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
629
630 * ses.el (ses-mode): Doc fix. (Bug#14748)
631
632 2013-11-20 Leo Liu <sdl.web@gmail.com>
633
634 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
635
636 2013-11-19 Dan Nicolaescu <dann@gnu.org>
637
638 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
639 when rebase or bisect are in progress.
640
641 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
642
643 * filenotify.el (file-notify-add-watch): Doc fix.
644
645 2013-11-19 Leo Liu <sdl.web@gmail.com>
646
647 * obsolete/rcompile.el: Mark obsolete.
648
649 * progmodes/compile.el (compilation-start)
650 (compilation-goto-locus, compilation-find-file):
651 Pass no-display-ok and handle nil value from display-buffer.
652 (Bug#13594)
653
654 * window.el (display-buffer-alist, display-buffer): Document the
655 new parameter no-display-ok. Return either a window or nil
656 but never a non-window value.
657
658 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
659
660 * electric.el (electric-indent-mode-map): Remove.
661 (electric-indent-mode): Change the global-map instead (bug#15915).
662
663 * textmodes/text-mode.el (paragraph-indent-minor-mode):
664 Use add-function.
665
666 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
667
668 * emacs-lisp/nadvice.el (remove-function): Align with
669 add-function's behavior.
670
671 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
672 (gdb--string-regexp): New constant.
673 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
674 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
675 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
676 submatch 1.
677 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
678 Adjust use accordingly.
679 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
680
681 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
682
683 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
684 interpolation curlies (Bug#15914).
685
686 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
687
688 * calc/calc.el (calc-context-sensitive-enter): New variable.
689 (calc-enter): Use `calc-context-sensitive-enter'.
690
691 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
692
693 * progmodes/cfengine.el: Version bump.
694 (cfengine-cf-promises): New defcustom to locate cf-promises.
695 (cfengine3-vartypes): Add new "data" type.
696 (cfengine3--current-word): New function to get current name-like
697 word or its bounds.
698 (cfengine3--current-function): New function to look up a CFEngine
699 function's definition.
700 (cfengine3-format-function-docstring): New function.
701 (cfengine3-make-syntax-cache): New function.
702 (cfengine3-documentation-function): New function: ElDoc glue.
703 (cfengine3-completion-function): New function: completion glue.
704 (cfengine3-mode): Set `compile-command',
705 `eldoc-documentation-function', and add to
706 `completion-at-point-functions'.
707
708 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
709
710 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
711 `tramp-current-connection'.
712
713 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
714
715 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
716 nil/self/true/false with "end of symbol".
717
718 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
719
720 * subr.el (version-regexp-alist): Fix a typo.
721
722 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
723
724 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
725 "en_US.utf8" and "LC_CTYPE" to "".
726 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
727 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
728
729 2013-11-15 Leo Liu <sdl.web@gmail.com>
730
731 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
732
733 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
734
735 * progmodes/gud.el (ctl-x-map):
736 Remove C-x SPC binding. (Bug#12342)
737 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
738
739 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
740
741 * subr.el (version-regexp-alist):
742 Recognize hg, svn and darcs versions as snapshot versions.
743
744 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
745 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
746 (ruby--encoding-comment-required-p): Extract from
747 `ruby-mode-set-encoding'.
748 (ruby-mode-set-encoding): Add the ability to always insert an
749 utf-8 encoding comment. Fix and simplify coding comment update
750 logic.
751
752 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
753
754 * net/tramp-gvfs.el (top): Run init code only when
755 `tramp-gvfs-enabled' is not nil.
756 (tramp-gvfs-enabled): Check also :system bus.
757
758 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
759
760 Sync with upstream verilog-mode revision 78e66ba.
761 * progmodes/verilog-mode.el (verilog-end-of-defun)
762 (verilog-type-completion, verilog-get-list): Remove unused funcs.
763 (verilog-get-end-of-defun): Remove unused argument.
764 (verilog-comment-depth): Remove unused local `e'.
765 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
766 Don't pass arg to verilog-get-end-of-defun.
767
768 2013-11-14 Glenn Morris <rgm@gnu.org>
769
770 * obsolete/assoc.el (aget): Prefix dynamic variable.
771
772 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
773
774 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
775
776 * widget.el, hfy-cmap.el: Remove bogus package version number.
777
778 2013-11-13 Glenn Morris <rgm@gnu.org>
779
780 * replace.el (replace-eval-replacement):
781 Try to give more helpful error message. (Bug#15836)
782
783 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
784 (archive-7z-update): Avoid custom type mismatches.
785
786 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
787
788 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
789
790 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
791 address can be empty.
792
793 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
794 Accept nil SWITCHES.
795 (tramp-gvfs-handle-write-region): Implement APPEND.
796
797 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
798
799 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
800 binary "|" operator and closing block args delimiter.
801 Remove FIXME comment referring to Ruby 1.8-only syntax.
802 (ruby-smie--implicit-semi-p): Not after "|" operator.
803 (ruby-smie--closing-pipe-p): New function.
804 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
805 (ruby-smie-rules): Indent after "|".
806
807 2013-11-12 Glenn Morris <rgm@gnu.org>
808
809 * ps-print.el (ps-face-attribute-list):
810 Handle anonymous faces. (Bug#15827)
811
812 2013-11-12 Martin Rudalics <rudalics@gmx.at>
813
814 * window.el (display-buffer-other-frame): Fix doc-string.
815 (Bug#15868)
816
817 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
818
819 * subr.el (force-mode-line-update): Delete, move to buffer.c.
820
821 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
822
823 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
824 (tramp-sh-handle-file-local-copy): Don't write a message when
825 saving temporary files.
826
827 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
828 both directories are remote.
829 (tramp-smb-handle-directory-files): Do not return double entries.
830 Do not expand full file names.
831 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
832 (tramp-smb-handle-write-region): Implement APPEND.
833 (tramp-smb-get-stat-capability): Fix a stupid bug.
834
835 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
836
837 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
838
839 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
840
841 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
842 throwing error over malformed let/let* (bug#15814).
843
844 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
845
846 * iswitchb.el (iswitchb-mode): Mark obsolete.
847
848 2013-11-11 Glenn Morris <rgm@gnu.org>
849
850 * international/uni-bidi.el, international/uni-category.el:
851 * international/uni-name.el, international/uni-numeric.el:
852 Regenerate for Unicode 6.3.0.
853
854 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
855
856 * net/tramp.el (tramp-methods):
857 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
858 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
859
860 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
861
862 * progmodes/sh-script.el (sh-font-lock-keywords-var):
863 Force highlighting text after Summary keyword in doc face for rpm.
864
865 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
866
867 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
868 available and the word has no wildcards, append one to the grep pattern.
869 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
870 (ispell-complete-word): Call `ispell-lookup-words' with the value
871 independent of `ispell-look-p'.
872
873 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
874
875 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
876 Not after "||".
877 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
878 their parent.
879
880 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
881
882 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
883 (ruby-font-lock-keywords): Use backquote.
884
885 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
886
887 * progmodes/ruby-mode.el (ruby-smie--forward-token)
888 (ruby-smie--backward-token): Only consider full-string matches.
889
890 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
891
892 * faces.el (describe-face): Add distant-foreground.
893
894 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
895
896 * progmodes/ruby-mode.el: Improve encoding comment handling.
897 (ruby-encoding-magic-comment-style): New option.
898 (ruby-custom-encoding-magic-comment-template): New option.
899 (ruby--insert-coding-comment, ruby--detect-encoding):
900 New functions extracted from `ruby-mode-set-encoding'.
901 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
902 to control the style of the auto-inserted encoding comment.
903
904 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
905
906 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
907 Use `smie-backward-sexp' with token argument.
908
909 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
910
911 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
912 Remove instrumentation code.
913
914 2013-11-08 Glenn Morris <rgm@gnu.org>
915
916 * progmodes/autoconf.el (autoconf-mode):
917 Tweak comment-start-skip. (Bug#15822)
918
919 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
920
921 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
922 at bobp (bug#15826).
923 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
924
925 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
926
927 * man.el (Man-start-calling): New macro, extracted from
928 Man-getpage-in-background.
929 (Man-getpage-in-background): Use it.
930 (Man-update-manpage): New command.
931 (Man-mode-map): Bind it.
932
933 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
934
935 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
936 of "and", "or", "&&" and "||".
937 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
938 argument. Prohibit opening curly brace because it could only be a
939 block opener in that position.
940 (ruby-smie--forward-token, ruby-smie--backward-token):
941 Separate "|" from "&" or "*" going after it. That can happen in block
942 arguments.
943 (ruby-smie--indent-to-stmt): New function, seeks the end of
944 previous statement or beginning of buffer.
945 (ruby-smie-rules): Use it.
946 (ruby-smie-rules): Check if there's a ":" before a curly block
947 opener candidate; if there is, it's a hash.
948
949 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
950
951 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
952 (cl--block-wrapper): Fix last accidental change.
953
954 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
955
956 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
957 Instrument, in order to hunt failure on hydra.
958
959 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
960
961 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
962 malformed bindings form (bug#15814).
963
964 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
965
966 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
967 "." compared to " @ ". This incidentally fixes some indentation
968 examples with "do".
969 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
970 (ruby-smie-grammar): New tokens: "and" and "or".
971 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
972 Exclude "and" and "or". Remove "do" in order to work around token
973 priorities.
974 (ruby-smie-rules): Add all infix tokens. Handle the case of
975 beginning-of-buffer.
976
977 2013-11-06 Glenn Morris <rgm@gnu.org>
978
979 * Makefile.in (setwins_almost, setwins_for_subdirs):
980 Avoid accidental matches.
981
982 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
983
984 * menu-bar.el (popup-menu): Use key-binding.
985
986 2013-11-06 Eli Zaretskii <eliz@gnu.org>
987
988 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
989 menus, support also the menus produced by minor modes.
990 (Bug#15817)
991
992 2013-11-06 Leo Liu <sdl.web@gmail.com>
993
994 * thingatpt.el (thing-at-point-looking-at): Add optional arg
995 DISTANCE to bound the search. All uses changed. (Bug#15808)
996
997 2013-11-06 Glenn Morris <rgm@gnu.org>
998
999 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1000 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1001 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1002
1003 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1004
1005 * electric.el (electric-indent-just-newline): New command.
1006 (electric-indent-mode-map): New keymap.
1007 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1008 Re-add :group which weren't redundant.
1009
1010 * electric.el (electric-indent-local-mode): New minor mode.
1011 (electric-indent-functions-without-reindent): New var.
1012 (electric-indent-post-self-insert-function): Use it.
1013 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1014
1015 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1016
1017 * international/quail.el (quail-help): Be more explicit about the
1018 meaning of the labels shown on the keys. (Bug#15800)
1019
1020 * startup.el (normal-top-level): Load the subdirs.el files before
1021 setting the locale environment. (Bug#15805)
1022
1023 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1024
1025 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1026 via arguments so as to get the right ones (bug#15418).
1027
1028 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1029
1030 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1031
1032 Fix problems found while writing a test suite.
1033
1034 * net/tramp-compat.el (tramp-compat-load): New defun.
1035 * net/tramp.el (tramp-handle-load): Use it.
1036
1037 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1038 "(numberp ok-if-already-exists)" correctly.
1039
1040 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1041
1042 * international/characters.el (glyphless-char-display-control):
1043 Add usage note.
1044
1045 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1046
1047 * progmodes/python.el (python-mode):
1048 * progmodes/scheme.el (scheme-mode):
1049 * progmodes/prolog.el (prolog-mode):
1050 * progmodes/ruby-mode.el (ruby-mode):
1051 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1052 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1053
1054 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1055
1056 * rect.el (rectangle--highlight-for-redisplay):
1057 * emacs-lisp/smie.el (smie--next-indent-change):
1058 Use buffer-chars-modified-tick.
1059
1060 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1061
1062 * electric.el (electric-indent-post-self-insert-function):
1063 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1064
1065 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1066
1067 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1068
1069 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1070
1071 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1072 (bug#15786).
1073
1074 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1075
1076 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1077
1078 * progmodes/python.el: Fix up last change.
1079 (python-shell--save-temp-file): New function.
1080 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1081 `string' comes from the current buffer.
1082 (python-shell-send-string-no-output): Remove `msg' arg.
1083 (python--use-fake-loc): New var.
1084 (python-shell-buffer-substring): Obey it. Try to compensate for the
1085 extra coding line added by python-shell--save-temp-file.
1086 (python-shell-send-region): Use python-shell--save-temp-file and
1087 python-shell-send-file directly. Add `nomain' argument.
1088 (python-shell-send-buffer): Use python-shell-send-region.
1089 (python-electric-pair-string-delimiter): New function.
1090 (python-mode): Use it.
1091
1092 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1093
1094 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1095 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1096 environment and decoding all of the default-directory's to here
1097 from command-line.
1098 (command-line): Decode also argv[0].
1099
1100 * loadup.el: Error out if default-directory is a multibyte string
1101 when we are dumping.
1102
1103 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1104
1105 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1106
1107 * emacs-lisp/package.el (package-menu-mode)
1108 (package-menu--print-info, package-menu--archive-predicate):
1109 Add Archive column to package list.
1110
1111 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1112
1113 Fix problems found while writing a test suite.
1114
1115 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1116 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1117 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1118 to nil when running original file name handler. Otherwise,
1119 there are problems with constructs like "$$FOO".
1120
1121 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1122 for `localname'.
1123
1124 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1125
1126 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1127
1128 * subr.el (version<, version<=, version=):
1129 Update docstrings with information for snapshot versions.
1130
1131 * helpers.el: New library for misc helper functions.
1132 (hash-table-keys): New function returning a list of hash keys.
1133 (hash-table-values): New function returning a list of hash values.
1134
1135 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1136
1137 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1138 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1139
1140 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1141
1142 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1143 checking whether point is after a 1-letter word.
1144
1145 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1146
1147 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1148 Don't infloop when expanding region over `multiline' syntax-type that
1149 begins a line (bug#15778).
1150
1151 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1152
1153 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1154 Make it into a proper minor mode.
1155 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1156 (rectangle-mark-mode-map): New keymap.
1157 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1158
1159 2013-11-04 Glenn Morris <rgm@gnu.org>
1160
1161 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1162
1163 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1164
1165 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1166 (ruby-smie-rules): Use smie-rule-parent instead.
1167
1168 * emacs-lisp/smie.el (smie-rule-parent): Always call
1169 smie-indent-virtual rather than only for hanging tokens.
1170 (smie--next-indent-change): New helper command.
1171
1172 2013-11-03 Glenn Morris <rgm@gnu.org>
1173
1174 * Makefile.in (abs_srcdir): Remove.
1175 (emacs): Unset EMACSLOADPATH.
1176
1177 2013-11-02 Glenn Morris <rgm@gnu.org>
1178
1179 * Makefile.in (EMACS): Use a relative filename.
1180 (abs_top_builddir): Remove.
1181 (custom-deps, finder-data, autoloads): Use --chdir.
1182
1183 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1184
1185 Use relative filenames in TAGS files.
1186 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1187 (lisptagsfiles4, TAGS): Use relative file names.
1188 (TAGS-LISP): Remove.
1189 (maintainer-clean): No more TAGS-LISP file.
1190
1191 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1192 (lisptagsfiles4): Use absolute filenames again.
1193 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1194 Remove all *loaddefs files, not just the first. Remove esh-groups.
1195 (maintainer-clean): Delete TAGS, TAGS-LISP.
1196
1197 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1198
1199 * emacs-lisp/package.el (package-version-join):
1200 Recognize snapshot versions.
1201
1202 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1203
1204 * subr.el (version-regexp-alist): Add support for snapshot versions.
1205
1206 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1207
1208 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1209 New function, replacement for `smie-rule-parent' for when we want to
1210 skip over our direct parent if it's an assignment token..
1211 (ruby-smie-rules): Use it.
1212
1213 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1214
1215 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1216 unconditionally. Remove now unnecessary forward declarations.
1217 Remove XEmacs-specific setup.
1218 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1219 (ruby-font-lock-syntactic-keywords)
1220 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1221 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1222 (ruby-here-doc-end-syntax): Remove.
1223 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1224 defined as function.
1225
1226 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1227
1228 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1229
1230 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1231
1232 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1233 table and abbrev table, `define-derived-mode' does that for us
1234 anyway.
1235
1236 2013-11-01 Glenn Morris <rgm@gnu.org>
1237
1238 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1239 files is atomic for some time, so no parallel compilation issues).
1240
1241 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1242
1243 * faces.el (face-x-resources): Add :distant-foreground.
1244 (region): Use :distant-foreground for gtk and ns.
1245
1246 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1247
1248 Allow multiple bibliographies when BibLaTeX is used rather than
1249 BibTeX.
1250 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1251 (reftex-locate-bibliography-files): Us it.
1252
1253 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1254
1255 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1256 allow comments in pbm files.
1257
1258 * term/w32-win.el (dynamic-library-alist): Support newer versions
1259 of libjpeg starting with v7: look only for the DLL from the
1260 version against which Emacs was built.
1261 Support versions of libpng beyond 1.4.x.
1262 Support libtiff v4.x.
1263
1264 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1265
1266 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1267 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1268 Add property :safe.
1269 (ruby-deep-arglist): Add property :type.
1270
1271 2013-10-31 Glenn Morris <rgm@gnu.org>
1272
1273 * Makefile.in (custom-deps, finder-data): No need to setq the target
1274 variables, we are in the right directory and the defaults work fine.
1275
1276 2013-10-30 Glenn Morris <rgm@gnu.org>
1277
1278 * Makefile.in (autoloads): Do not use abs_lisp.
1279
1280 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1281 `newline' does not respect `standard-output', so use `princ'.
1282
1283 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1284
1285 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1286 * buff-menu.el (Buffer-menu--unmark): New function.
1287 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1288
1289 2013-10-30 Glenn Morris <rgm@gnu.org>
1290
1291 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1292
1293 * emacs-lisp/package.el (lm-homepage): Declare.
1294
1295 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1296 Fix doc typos.
1297
1298 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1299
1300 * Makefile.in (finder-data, autoloads, update-subdirs)
1301 (compile-main, compile-clean, compile-always, bootstrap-clean):
1302 Check return value of cd.
1303 (compile-calc): Remove.
1304
1305 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1306
1307 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1308
1309 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1310 (byte-compile-and-folded): New function.
1311 (=, <, >, <=, >=): Use it.
1312
1313 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1314 (path-separator, null-device, buffer-file-coding-system)
1315 (lpr-headers-switches): Check system-type before modifying them.
1316 (find-buffer-file-type-coding-system): Mark obsolete.
1317 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1318 find-file-not-found-set-buffer-file-coding-system.
1319 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1320 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1321 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1322 (w32-direct-print-region-helper, w32-direct-print-region-function)
1323 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1324 * startup.el (normal-top-level-add-subdirs-to-load-path):
1325 * ps-print.el (ps-print-region-function):
1326 * lpr.el (print-region-function): Use new name.
1327
1328 * subr.el (custom-declare-variable-early): Remove function.
1329 (custom-declare-variable-list): Remove var.
1330 (error, user-error): Remove `while' loop.
1331 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1332 (user-emacs-directory-warning, locate-user-emacs-file):
1333 Move to files.el.
1334 * simple.el (read-quoted-char-radix, read-quoted-char):
1335 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1336 Move from subr.el.
1337 * custom.el (custom-declare-variable-list): Don't process
1338 custom-declare-variable-list.
1339
1340 * progmodes/python.el (python-shell-get-buffer): New function.
1341 (python-shell-get-process): Use it.
1342 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1343 Python which encoding was used. Don't split-string since we only care
1344 about the first line. Return the temp-file, if applicable.
1345 (python-shell-send-region): Tell compile.el how to turn locations in
1346 the temp-file into locations in the source buffer.
1347
1348 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1349
1350 * subr.el (undefined): Add missing behavior from the C code for
1351 unbound keys.
1352
1353 * rect.el: Use lexical-binding. Add new rectangular region support.
1354 (rectangle-mark): New command.
1355 (rectangle--region): New var.
1356 (deactivate-mark-hook): Reset rectangle--region.
1357 (rectangle--extract-region, rectangle--insert-for-yank)
1358 (rectangle--highlight-for-redisplay)
1359 (rectangle--unhighlight-for-redisplay): New functions.
1360 (region-extract-function, redisplay-unhighlight-region-function)
1361 (redisplay-highlight-region-function): Use them to handle
1362 rectangular region.
1363 * simple.el (region-extract-function): New var.
1364 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1365 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1366 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1367 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1368 (redisplay-unhighlight-region-function)
1369 (redisplay-highlight-region-function): New vars.
1370 (redisplay--update-region-highlight): New function.
1371 (pre-redisplay-function): Use it.
1372 (exchange-point-and-mark): Don't deactivate the mark before
1373 reactivate-it anyway.
1374 * comint.el (comint-kill-region): Remove yank-handler argument.
1375 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1376 (delete-char): Remove property, since it's now part of their
1377 default behavior.
1378 (self-insert-iso): Remove property since this command doesn't exist.
1379
1380 * emacs-lisp/package.el (package--download-one-archive)
1381 (describe-package-1): Don't query the user about final newline.
1382
1383 2013-10-29 Daniel Colascione <dancol@dancol.org>
1384
1385 * net/tramp.el (tramp-methods): Document new functionality.
1386 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1387 tramp-hostname-checker if method provides one instead of scanning
1388 argument list for "%h" to decide hostname acceptability.
1389
1390 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1391
1392 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1393 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1394 Handle COPY-CONTENTS. (Bug#15737)
1395
1396 2013-10-28 Daiki Ueno <ueno@gnu.org>
1397
1398 * epa-file.el
1399 (epa-file-cache-passphrase-for-symmetric-encryption):
1400 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1401
1402 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1403
1404 * image.el (defimage):
1405 (image-load-path): Doc fixes.
1406
1407 2013-10-27 Alan Mackenzie <acm@muc.de>
1408
1409 Indent statements in macros following "##" correctly.
1410 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1411 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1412
1413 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1414
1415 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1416
1417 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1418
1419 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1420 after `=' is probably a new expression.
1421
1422 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1423
1424 * man.el (man-imenu-title): New option.
1425 (Man-mode-map): Add menu. (Bug#15722)
1426 (Man-mode): Add imenu to menu.
1427
1428 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1429
1430 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1431 specific in what the first arg can be: a non-keyword word,
1432 string/regexp/percent literal opener, opening paren, or unary
1433 operator followed directly by word.
1434
1435 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1436
1437 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1438 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1439 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1440 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1441 Remove vars, they do not apply any more.
1442 (prolog-mode-abbrev-table): Remove redundant declaration.
1443 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1444 (prolog-use-smie): Remove.
1445 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1446 supported by prolog-electric-if-then-else-flag.
1447 (prolog-mode-variables, prolog-menu): Use setq-local.
1448 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1449 Remove binding to `Backspace' since this key doesn't exist anyway.
1450 Remove bindings for electric self-inserting keys.
1451 (prog-mode): Assume it's defined.
1452 (prolog-post-self-insert): New function.
1453 (prolog-mode): Use it.
1454 (prolog-indent-line, prolog-indent-level)
1455 (prolog-find-indent-of-matching-paren)
1456 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1457 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1458 (prolog-goto-next-paren, prolog-in-string-or-comment)
1459 (prolog-tokenize, prolog-inside-mline-comment)
1460 (prolog-find-start-of-mline-comment): Remove functions.
1461 (prolog-find-unmatched-paren, prolog-clause-end)
1462 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1463 (prolog-electric--if-then-else): Rename from
1464 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1465 (prolog-tokenize-searchkey): Remove const.
1466 (prolog-clause-info): Use forward-sexp.
1467 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1468 (prolog-electric-if-then-else): Remove commands.
1469 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1470 for use in post-self-insert-hook.
1471 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1472 for use in post-self-insert-hook.
1473 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1474 for use in post-self-insert-hook.
1475 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1476 adapt it for use in post-self-insert-hook.
1477
1478 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1479
1480 * emacs-lisp/ert.el (ert-run-tests-interactively):
1481 Use `completing-read'. (Bug#9756)
1482
1483 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1484
1485 * simple.el (line-move): Call line-move-1 instead of
1486 line-move-visual when the current window hscroll is zero, but
1487 temporary-goal-column indicates we will need to hscroll as result
1488 of the movement. (Bug#15712)
1489
1490 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1491
1492 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1493 capitalization. Use :visible instead of :active.
1494 Fix `ruby-indent-exp' reference. Add menu items for the generic
1495 commands that are used with SMIE.
1496 (ruby-do-end-to-brace): Insert space after `{'.
1497
1498 2013-10-25 John Anthony <john@jo.hnanthony.com>
1499
1500 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1501
1502 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1503
1504 2013-10-25 Glenn Morris <rgm@gnu.org>
1505
1506 * vc/vc.el (vc-print-log): Don't use a working revision unless
1507 one was explicitly specified. (Bug#15322)
1508
1509 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1510
1511 * subr.el (add-to-list): Preserve return value in compiler-macro
1512 (bug#15692).
1513
1514 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1515
1516 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1517 result. Ask user to retry using '-all' flag. (Bug#15701)
1518
1519 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1520
1521 * emacs-lisp/smie.el: New smie-config system.
1522 (smie-config): New defcustom.
1523 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1524 (smie-config-guess, smie-config-save): New commands.
1525 (smie-config--mode-local, smie-config--buffer-local)
1526 (smie-config--trace, smie-config--modefuns): New vars.
1527 (smie-config--advice, smie-config--mode-hook)
1528 (smie-config--setter, smie-config-local, smie-config--get-trace)
1529 (smie-config--guess-value, smie-config--guess): New functions.
1530 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1531 text properties. Treat "string fence" syntax like string syntax.
1532
1533 * progmodes/sh-script.el (sh-use-smie): Change default.
1534 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1535 (sh-var-value): Simplify by CSE.
1536 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1537 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1538 is used.
1539 (sh-guess-basic-offset): Use cl-incf.
1540 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1541
1542 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1543
1544 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1545 (bug#15699).
1546
1547 2013-10-24 Glenn Morris <rgm@gnu.org>
1548
1549 * Makefile.in (abs_top_srcdir): Remove.
1550 (update-subdirs): Use relative path to update-subdirs.
1551
1552 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1553
1554 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1555 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1556 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1557 Call unmsys--file-name before expand-file-name, not after it.
1558
1559 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1560
1561 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1562 (ert-test-skipped): New error.
1563 (ert-skip, ert-stats-skipped): New defuns.
1564 (ert--skip-unless): New macro.
1565 (ert-test-skipped): New struct.
1566 (ert--run-test-debugger, ert-test-result-type-p)
1567 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1568 (ert--stats-set-test-and-result, ert-char-for-test-result)
1569 (ert-string-for-test-result, ert-run-tests-batch)
1570 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1571 Handle skipped tests. (Bug#9803)
1572
1573 2013-10-24 Glenn Morris <rgm@gnu.org>
1574
1575 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1576
1577 * Makefile.in (abs_top_srcdir): New, set by configure.
1578 (update-subdirs): Correct build-aux location.
1579
1580 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1581
1582 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1583 value, whether we could auto-deduce `backend', or not.
1584
1585 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1586 with parameters" example. Simplify the "is it block or is it
1587 hash" check, but also make it more thorough.
1588
1589 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1590
1591 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1592
1593 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1594
1595 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1596 { if it is hanging.
1597
1598 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1599 :before ";".
1600
1601 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1602
1603 * progmodes/compile.el (compilation-directory-matcher)
1604 (compilation-page-delimiter):
1605 Support GNU Make-4.0 directory quoting. (Bug#15678)
1606
1607 2013-10-23 Leo Liu <sdl.web@gmail.com>
1608
1609 * ido.el (ido-tidy): Handle read-only text.
1610
1611 2013-10-23 Glenn Morris <rgm@gnu.org>
1612
1613 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1614 (emacs, compile, compile-always):
1615 Quote entities that might contain whitespace.
1616 (custom-deps, finder-data, autoloads): Use abs_lisp.
1617 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1618 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1619 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1620
1621 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1622
1623 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1624 Use `following-char'.
1625
1626 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1627
1628 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1629 * progmodes/ruby-mode.el (ruby-smie-rules):
1630 Remove corresponding workaround. Fix indentation rule of ";" so it
1631 also applies when ";" is the parent.
1632
1633 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1634
1635 * frame.el (display-screens, display-pixel-height)
1636 (display-pixel-width, display-mm-width, display-backing-store)
1637 (display-save-under, display-planes, display-color-cells)
1638 (display-visual-class, display-monitor-attributes-list):
1639 Mention the optional ‘display’ argument in doc strings.
1640
1641 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1642
1643 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1644 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1645
1646 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1647
1648 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1649 TODO. Add "." after " @ ".
1650 (ruby-smie--at-dot-call): New function. Checks if point at method
1651 call with explicit target.
1652 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1653 to the method name tokens when it precedes them.
1654 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1655 (ruby-smie-rules): Add rule for indentation before and after "."
1656 token.
1657
1658 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1659
1660 * textmodes/remember.el (remember-diary-extract-entries):
1661 Avoid add-to-list.
1662
1663 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1664 an instruction.
1665
1666 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1667
1668 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1669 (ruby-smie--implicit-semi-p): Add new operator chars.
1670
1671 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1672 `smie-down-list'.
1673 (ruby-smie--args-separator-p): Check that there's no newline
1674 between method call and its arguments.
1675
1676 2013-10-20 Alan Mackenzie <acm@muc.de>
1677
1678 Allow comma separated lists after Java "implements".
1679
1680 * progmodes/cc-engine.el (c-backward-over-enum-header):
1681 Parse commas.
1682 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1683 from a "disallowed" list in enum fontification.
1684
1685 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1686
1687 * startup.el (default-frame-background-mode): Remove unused defvar.
1688
1689 * progmodes/verilog-mode.el (verilog-mode): Don't set
1690 comment-indent-function globally.
1691
1692 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1693
1694 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1695 Move Info menu item creation to ns-win.el.
1696
1697 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1698 in menu bar.
1699
1700 * menu-bar.el: Move GNUStep specific menus...
1701
1702 * term/ns-win.el (ns-initialize-window-system): ... to here.
1703
1704 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1705
1706 * simple.el (newline): Only run post-self-insert-hook when
1707 called interactively.
1708
1709 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1710
1711 * icomplete.el (icomplete-with-completion-tables): Add :version.
1712
1713 2013-10-19 Alan Mackenzie <acm@muc.de>
1714
1715 Fix fontification bugs with constructors and const.
1716
1717 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1718 CASE 2) Remove the check for the absence of a suffix construct
1719 after a function declaration with only types (no identifiers) in
1720 the parentheses. Also, accept a function declaration with just a
1721 type inside the parentheses, if this type can be positively
1722 recognised as such, or if a prefix keyword like "explicit" nails
1723 down the construct as a declaration.
1724
1725 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1726
1727 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1728 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1729 the problem whereby selecting a menu item that leads to a
1730 minibuffer prompt moves the cursor out of the minibuffer window,
1731 making it hard to type at the prompt. Suggested by Stefan Monnier
1732 <monnier@iro.umontreal.ca>.
1733
1734 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1735
1736 * menu-bar.el: Don't make Services menu.
1737
1738 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1739
1740 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1741 (ffap-alist): Use ffap-c++-mode for c++-mode.
1742 (ffap-c++-path): New variable.
1743 (ffap-c++-mode): New function.
1744
1745 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1746
1747 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1748
1749 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1750
1751 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1752 introduced on 2013-09-08, which results in an infinite loop
1753 requesting a password.
1754
1755 2013-10-18 Glenn Morris <rgm@gnu.org>
1756
1757 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1758
1759 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1760
1761 Sync with upstream verilog-mode revision 1a6ecec7.
1762 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1763 (verilog-mode-release-date): Remove.
1764 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1765 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1766 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1767 (verilog-auto-tieoff-ignore-regexp)
1768 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1769 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1770 (verilog-signals-with, verilog-dir-cache-preserving)
1771 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1772 Doc fixes.
1773 (verilog-case-fold): New option, to control case folding in
1774 regexp searches, bug597.
1775 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1776 (verilog-string-match-fold, verilog-in-paren-count)
1777 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1778 (verilog-at-close-struct-p): New functions.
1779 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1780 (verilog-forward-sexp, verilog-set-auto-endcomments):
1781 (verilog-leap-to-case-head): Handle "unique0" case.
1782 (verilog-in-constraint-re): New constant.
1783 (verilog-keywords, verilog-type-font-keywords):
1784 Add some SystemVerilog 1800-2012 keywords.
1785 (verilog-label-be): Remove unimplemented argument, bug669.
1786 (verilog-batch-execute-func): When batch expanding clear
1787 create-lockfiles to prevent spurious user locks when a file ends
1788 up not changing.
1789 (verilog-calculate-indent, verilog-calc-1)
1790 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1791 (verilog-do-indent): Fix indentation of nested constraints
1792 and structures.
1793 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1794 (verilog-auto-inst-param): Use verilog-string-match-fold.
1795 (verilog-read-inst-module-matcher):
1796 Fix AUTOINST on gate primitives with #1.
1797 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1798 Reads all user-defined typed variables.
1799 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1800 (verilog-signals-matching-regexp)
1801 (verilog-signals-not-matching-regexp, verilog-auto):
1802 Respect verilog-case-fold.
1803 (verilog-diff-report): Fix line count.
1804 (verilog-auto-assign-modport): Remove unused local `modi'.
1805 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1806 better handle multidimensional arrays.
1807 Fix packed array ports misadding bit index in AUTOINST, bug637.
1808 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1809 to not double-declare existing outputs and inputs, respectively.
1810 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1811 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1812 (verilog-sk-uvm-component): New skeleton.
1813 (verilog-submit-bug-report): Add verilog-case-fold,
1814 remove verilog-mode-release-date.
1815
1816 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1817
1818 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1819 as before.
1820
1821 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1822
1823 * textmodes/remember.el (remember): set buffer-offer-save in
1824 remember buffers (bug#13566).
1825
1826 2013-10-18 Daniel Colascione <dancol@dancol.org>
1827
1828 When evaluating forms in ielm, direct standard output to ielm
1829 buffer. Add new ielm-return-for-effect command. Remove trailing
1830 whitespace throughout.
1831
1832 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1833 (ielm-return-for-effect): New command.
1834 (ielm-send-input): Accept optional `for-effect' parameter.
1835 (ielm-eval-input): Accept optional `for-effect' parameter.
1836 Bind `standard-output' to stream we create using
1837 `ielm-standard-output-impl'. Suppress printing result when
1838 `for-effect'.
1839 (ielm-standard-output-impl): New function.
1840 (inferior-emacs-lisp-mode): Explain new features in documentation.
1841
1842 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1843
1844 Code cleanup.
1845
1846 * net/tramp.el (tramp-debug-message): Do not check for connection
1847 buffer.
1848 (tramp-message): Use "vector" connection property.
1849
1850 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1851 (tramp-equal-remote, tramp-eshell-directory-change)
1852 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1853 (tramp-adb-handle-rename-file)
1854 * net/tramp-cmds.el (tramp-list-remote-buffers)
1855 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1856 * net/tramp-compat.el (tramp-compat-process-running-p)
1857 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1858 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1859 (tramp-gvfs-handle-rename-file)
1860 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1861 (tramp-set-file-uid-gid)
1862 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1863 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1864 of `file-remote-p'.
1865
1866 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1867 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1868 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1869 (tramp-gw-open-network-stream): Suppress unrelated traces.
1870
1871 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1872 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1873 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1874 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1875 connection property.
1876
1877 * net/tramp-cache.el (top): Suppress traces when reading
1878 persistency file.
1879
1880 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1881 Refactor common code. Improve debug message.
1882 (tramp-maybe-open-connection)
1883 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1884 connection buffer too early.
1885
1886 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1887 from `tramp-smb-actions-with-acl'.
1888 (tramp-smb-actions-set-acl): New defconst.
1889 (tramp-smb-handle-copy-directory)
1890 (tramp-smb-action-get-acl): New defun, renamed from
1891 `tramp-smb-action-with-acl'.
1892 (tramp-smb-action-set-acl): New defun.
1893 (tramp-smb-handle-set-file-acl): Rewrite.
1894
1895 2013-10-17 Glenn Morris <rgm@gnu.org>
1896
1897 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1898
1899 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1900
1901 * skeleton.el (skeleton-newline): Remove.
1902 (skeleton-internal-1): Use (insert "\n") instead.
1903
1904 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1905 let-bindings.
1906
1907 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1908 forward-sexp-function while we redo its job (bug#15613).
1909
1910 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1911
1912 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1913 represented by lists.
1914
1915 2013-10-16 Glenn Morris <rgm@gnu.org>
1916
1917 * tmm.el (tmm--history): New dynamic variable.
1918 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1919
1920 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
1921
1922 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1923 (tramp-smb-errors): Add error messages.
1924 (tramp-smb-actions-with-acl): New defconst.
1925 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1926 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1927 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1928 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1929 (tramp-smb-get-stat-capability): Fix tests.
1930
1931 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1932
1933 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1934 (bug#15580).
1935
1936 2013-10-16 Glenn Morris <rgm@gnu.org>
1937
1938 * ansi-color.el (ansi-color-drop-regexp):
1939 Add 1J, 1K, 2K. (Bug#15617)
1940
1941 * files.el (hack-local-variables--warned-lexical): New.
1942 (hack-local-variables):
1943 Warn about misplaced lexical-binding. (Bug#15616)
1944
1945 * net/eww.el (eww-render): Always set eww-current-url,
1946 and update header line. (Bug#15622)
1947 (eww-display-html): ... Rather than just doing it here.
1948
1949 2013-10-15 Eli Zaretskii <eliz@gnu.org>
1950
1951 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1952 menu navigations commands.
1953
1954 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1955
1956 * progmodes/subword.el (subword-capitalize): Be careful when
1957 the search for [[:alpha:]] fails (bug#15580).
1958
1959 2013-10-14 Eli Zaretskii <eliz@gnu.org>
1960
1961 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1962 to commands that scroll the menu.
1963
1964 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1965
1966 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1967 Handle methods ending with `?' and `!'.
1968
1969 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
1970
1971 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1972 `japanese-cp932' to `cp932' to fix the problem where saving a
1973 source file written in Shift_JIS twice would end up having
1974 `coding: japanese-cp932' which Ruby could not recognize.
1975 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1976 in `ruby-encoding-map'.
1977 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1978 doesn't need to be explicitly declared in magic comment.
1979 (ruby-encoding-map): Add type declaration for better customize UI.
1980
1981 2013-10-13 Glenn Morris <rgm@gnu.org>
1982
1983 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1984 Occur buffers are read-only. http://bugs.debian.org/720775
1985
1986 * emacs-lisp/authors.el (authors-fixed-entries):
1987 Comment out old alpha stuff.
1988
1989 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1990
1991 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1992 to `after-save-hook' instead of `before-save-hook'.
1993 (ruby-mode-set-encoding): Use the value of coding system used to
1994 write the file. Call `basic-save-buffer-1' after modifying the
1995 buffer.
1996
1997 2013-10-13 Alan Mackenzie <acm@muc.de>
1998
1999 Fix indentation/fontification of Java enum with
2000 "implements"/generic.
2001
2002 * progmodes/cc-engine.el (c-backward-over-enum-header):
2003 Extracted from the three other places and enhanced to handle generics.
2004 (c-inside-bracelist-p): Uses new function above.
2005 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2006 function above.
2007 (c-font-lock-enum-tail): Uses new function above.
2008
2009 2013-10-13 Kenichi Handa <handa@gnu.org>
2010
2011 * international/mule-cmds.el (select-safe-coding-system): Remove a
2012 superfluous condition in chekcing whether a coding system is safe
2013 or not.
2014
2015 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2016
2017 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2018
2019 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2020
2021 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2022
2023 2013-10-13 Glenn Morris <rgm@gnu.org>
2024
2025 * menu-bar.el (menu-bar-update-buffers):
2026 Unify Buffers menu prompt string. (Bug#15576)
2027
2028 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2029
2030 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2031 Add some entries.
2032 (authors-fixed-entries): Use accented form of name.
2033
2034 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2035
2036 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2037 method calls (bug#15594).
2038 (ruby-smie--args-separator-p): New function.
2039 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2040 recognize paren-free method calls.
2041
2042 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2043 internals of universal-argument.
2044
2045 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2046
2047 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2048 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2049 dropped menu on second mouse click on the menu bar.
2050
2051 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2052
2053 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2054 (explicit-shell-file-name): Declare.
2055 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2056 (sh-completion-at-point-function): New function.
2057 (sh-mode): Use it.
2058 (sh-smie--keyword-p): Remove unused argument.
2059 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2060 vars.
2061 (sh-set-shell): Always setup SMIE, even if we use the
2062 old indentation code.
2063
2064 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2065
2066 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2067 cases of ? and =.
2068 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2069 predicate would return nil are almost non-existent.
2070 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2071
2072 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2073 cache also after commands that modify the buffer but don't move
2074 point.
2075
2076 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2077
2078 * env.el (substitute-env-in-file-name): New function.
2079 (substitute-env-vars): Extend the meaning of the optional arg.
2080
2081 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2082
2083 * term/w32-win.el (dynamic-library-alist): Define separate lists
2084 of GIF DLLs for versions before and after 5.0.0 of giflib.
2085 (Bug#15531)
2086
2087 2013-10-10 João Távora <joaotavora@gmail.com>
2088
2089 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2090 not locked, use last revision and current source as
2091 defaults. (Bug#15569)
2092
2093 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2094
2095 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2096 menu-bar is hidden.
2097
2098 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2099
2100 * window.el (pop-to-buffer-same-window): Fix doc-string.
2101 (Bug#15492)
2102
2103 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2104
2105 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2106
2107 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2108
2109 * calendar/icalendar.el (icalendar-import-file):
2110 Fix interactive spec. (Bug#15482)
2111
2112 2013-10-10 Glenn Morris <rgm@gnu.org>
2113
2114 * desktop.el (desktop-save): Default to saving in .emacs.d,
2115 since PWD is no longer in desktop-path by default. (Bug#15319)
2116
2117 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2118 now that text mode has a menu with the same entry.
2119 (menu-bar-text-mode-auto-fill): Remove now unused func.
2120 * textmodes/text-mode.el (text-mode-map):
2121 Use auto-fill help text from menu-bar.el.
2122
2123 2013-10-10 John Anthony <john@jo.hnanthony.com>
2124
2125 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2126
2127 2013-10-09 Juri Linkov <juri@jurta.org>
2128
2129 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2130 instead of this-command-keys. Add universal-argument-more and
2131 universal-argument-minus to the list of prefix commands. (Bug#15568)
2132
2133 2013-10-09 Glenn Morris <rgm@gnu.org>
2134
2135 * vc/vc-svn.el (vc-svn-create-repo):
2136 Expand paths in file://... url. (Bug#15446)
2137
2138 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2139 Add some entries.
2140 (authors): Remove unused local variables.
2141
2142 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2143
2144 * profiler.el: Create a more coherent calltree from partial backtraces.
2145 (profiler-format): Hide the tail with `invisible' so that C-s can still
2146 find the hidden elements.
2147 (profiler-calltree-depth): Don't recurse so enthusiastically.
2148 (profiler-function-equal): New hash-table-test.
2149 (profiler-calltree-build-unified): New function.
2150 (profiler-calltree-build): Use it.
2151 (profiler-report-make-name-part): Indent the calltree less.
2152 (profiler-report-mode): Add visibility specs for profiler-format.
2153 (profiler-report-expand-entry, profiler-report-toggle-entry):
2154 Expand the whole subtree when provided with a prefix arg.
2155
2156 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2157
2158 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2159 iuwu-mod token.
2160 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2161 hanging iuwu-mod token.
2162 (ruby-smie--forward-token): Do not include a dot after a token in
2163 that token.
2164 (ruby-smie--backward-token): Likewise.
2165
2166 2013-10-08 Juri Linkov <juri@jurta.org>
2167
2168 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2169 to isearch-other-control-char.
2170 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2171 and isearch-post-command-hook to post-command-hook.
2172 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2173 and isearch-post-command-hook from post-command-hook.
2174 (isearch-unread-key-sequence)
2175 (isearch-reread-key-sequence-naturally)
2176 (isearch-lookup-scroll-key, isearch-other-control-char)
2177 (isearch-other-meta-char): Remove functions.
2178 (isearch-pre-command-hook, isearch-post-command-hook):
2179 New functions based on isearch-other-meta-char rewritten
2180 relying on the new behavior of overriding-terminal-local-map
2181 that does not replace the local keymaps any more. (Bug#15200)
2182
2183 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2184
2185 Support menus on text-mode terminals.
2186 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2187 functionality.
2188
2189 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2190
2191 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2192 Move here from mouse.el.
2193 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2194 and arrow keys.
2195 (tty-menu-navigation-map): New map for TTY menu navigation.
2196
2197 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2198
2199 * frame.el (display-mouse-p): Report text-mode mouse as available
2200 on w32.
2201 (display-popup-menus-p): Report availability if mouse is
2202 available; don't condition on window-system.
2203
2204 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2205 (tty-menu-selected-face): New faces.
2206
2207 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2208
2209 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2210 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2211 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2212 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2213 New constants.
2214 (lisp-mode-variables): New `elisp' argument.
2215 (emacs-lisp-mode): Use it.
2216 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2217 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2218
2219 * indent.el: Use lexical-binding.
2220 (indent-region): Add progress reporter.
2221 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2222 last step.
2223 (indent--next-tab-stop): New function to implement this behavior.
2224 (tab-to-tab-stop, move-to-tab-stop): Use it.
2225
2226 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2227
2228 * indent.el (indent-rigidly--current-indentation): New function.
2229 (indent-rigidly-map): New var.
2230 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2231
2232 2013-10-08 Bastien Guerry <bzg@gnu.org>
2233
2234 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2235
2236 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2237
2238 * progmodes/perl-mode.el: Use lexical-binding.
2239 Remove redundant :group args.
2240 (perl-nochange): Change default to be closer to other major modes's
2241 standard behavior.
2242 (perl-indent-line): Don't consider text on current line as a
2243 valid beginning of function from which to indent.
2244
2245 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2246 with more than one argument (bug#15538).
2247
2248 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2249
2250 * vc/pcvs.el: Use lexical-binding.
2251 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2252 environment of `eval'.
2253 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2254 than a list of expressions. Adjust callers.
2255 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2256
2257 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2258
2259 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2260 case of the dot in a chained method call being on the following line.
2261
2262 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2263
2264 * electric.el (electric-indent-inhibit): New var.
2265 (electric-indent-post-self-insert-function): Use it.
2266 * progmodes/python.el (python-mode): Set it.
2267
2268 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2269 open braces.
2270
2271 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2272
2273 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2274 (css-mode): Use electric-indent-chars.
2275
2276 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2277 (font-lock-beg, font-lock-end): Move before first use.
2278 (nxml-mode): Use syntax-propertize-function.
2279 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2280 (nxml-extend-after-change-region): Remove.
2281 * nxml/xmltok.el: Use lexical-binding.
2282 (xmltok-save): Use `declare'.
2283 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2284 * nxml/nxml-util.el: Use lexical-binding.
2285 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2286 Use `declare'.
2287 * nxml/nxml-ns.el: Use lexical-binding.
2288 (nxml-ns-save): Use `declare'.
2289 (nxml-ns-prefixes-for): Avoid add-to-list.
2290 * nxml/rng-match.el: Use lexical-binding.
2291 (rng--ipattern): Use cl-defstruct.
2292 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2293 (rng-cons-group-after, rng-subst-group-after)
2294 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2295 Use closures instead of `(lambda...).
2296
2297 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2298
2299 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2300 of BEG and END.
2301
2302 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2303 Use `tramp-handle-insert-file-contents'.
2304 (tramp-gvfs-handle-insert-file-contents): Remove function.
2305
2306 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2307 Use `save-restriction' in order to keep markers.
2308
2309 * net/trampver.el: Update release number.
2310
2311 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2312
2313 * progmodes/compile.el (compilation-parse-errors):
2314 Use compilation--put-prop.
2315 (compilation--ensure-parse): Check compilation-multiline.
2316
2317 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2318
2319 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2320 lexical-binding.
2321
2322 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2323
2324 * progmodes/ruby-mode.el: Fix recently added tests.
2325 (ruby-smie-grammar): Add - and +.
2326 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2327 (ruby-smie--backward-id): New functions.
2328 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2329 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2330 any more.
2331
2332 2013-10-07 Leo Liu <sdl.web@gmail.com>
2333
2334 * register.el (register-preview-delay)
2335 (register-preview-functions): New variables.
2336 (register-read-with-preview, register-preview)
2337 (register-describe-oneline): New functions.
2338 (point-to-register, window-configuration-to-register)
2339 (frame-configuration-to-register, jump-to-register)
2340 (number-to-register, view-register, insert-register)
2341 (copy-to-register, append-to-register, prepend-to-register)
2342 (copy-rectangle-to-register): Use register-read-with-preview to
2343 read register. (Bug#15525)
2344
2345 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2346
2347 * net/network-stream.el (network-stream-open-starttls): Don't add
2348 --insecure if it's already present, because that gnutls-cli
2349 rejects getting that parameter twice.
2350
2351 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2352
2353 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2354 keyword, too.
2355
2356 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2357
2358 * newcomment.el (comment-use-global-state): Change default value
2359 to t, mark obsolete (Bug#15251).
2360 (comment-beginning): In addition to `comment-to-syntax', check the
2361 value of `comment-use-global-state'.
2362
2363 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2364
2365 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2366 (ruby-comment-column): Follow the global default, by default.
2367 (ruby-smie-grammar): Add assignment syntax.
2368 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2369 open-paren, a comma, or a \.
2370 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2371 and line continuations.
2372 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2373 followed by implicit semi-colons. Add rule for string concatenation
2374 and for indentation at BOB.
2375 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2376
2377 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2378 calling next-sexp, since next-token may have skipped chars which
2379 next-sexp doesn't know should be skipped!
2380
2381 2013-10-05 Leo Liu <sdl.web@gmail.com>
2382
2383 * progmodes/octave.el (octave-send-region):
2384 Call compilation-forget-errors.
2385
2386 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2387
2388 * vc/vc-svn.el (vc-svn-find-admin-dir):
2389 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2390 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2391 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2392 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2393
2394 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2395
2396 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2397
2398 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2399
2400 * subr.el (read-passwd): Hide chars even when called within a context
2401 where after-change-functions is disabled (bug#15501).
2402 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2403 until we removed ourself from overriding-terminal-local-map.
2404
2405 2013-10-04 Leo Liu <sdl.web@gmail.com>
2406
2407 * progmodes/octave.el (inferior-octave-mode):
2408 Call compilation-forget-errors.
2409
2410 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2411
2412 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2413
2414 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2415
2416 * net/secrets.el (secrets-create-collection): Add optional
2417 argument ALIAS. Use proper Label keyword. Append ALIAS as
2418 dbus-call-method argument. (Bug#15516)
2419
2420 2013-10-04 Leo Liu <sdl.web@gmail.com>
2421
2422 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2423 (inferior-octave-compilation-font-lock-keywords): New variables.
2424 (compilation-error-regexp-alist)
2425 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2426 (inferior-octave-mode): Use compilation-shell-minor-mode.
2427
2428 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2429
2430 * minibuffer.el (completion--replace): Be careful that `end' might be
2431 a marker.
2432
2433 2013-10-03 Daiki Ueno <ueno@gnu.org>
2434
2435 Add support for package signature checking.
2436 * emacs-lisp/package.el (url-http-file-exists-p)
2437 (epg-make-context, epg-context-set-home-directory)
2438 (epg-verify-string, epg-context-result-for)
2439 (epg-signature-status, epg-signature-to-string)
2440 (epg-check-configuration, epg-configuration)
2441 (epg-import-keys-from-file): Declare.
2442 (package-check-signature): New user option.
2443 (package-unsigned-archives): New user option.
2444 (package-desc): Add `signed' field.
2445 (package-load-descriptor): Set `signed' field if .signed file exists.
2446 (package--archive-file-exists-p): New function.
2447 (package--check-signature): New function.
2448 (package-install-from-archive): Check package signature.
2449 (package--download-one-archive): Check archive signature.
2450 (package-delete): Remove .signed file.
2451 (package-import-keyring): New command.
2452 (package-refresh-contents): Import default keyring.
2453 (package-desc-status): Add "unsigned" status.
2454 (describe-package-1, package-menu--print-info)
2455 (package-menu-mark-delete, package-menu--find-upgrades)
2456 (package-menu--status-predicate): Support "unsigned" status.
2457
2458 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2459
2460 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2461 the new compilation scheme using the new byte-codes.
2462
2463 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2464 (byte-pophandler): New byte codes.
2465 (byte-goto-ops): Adjust accordingly.
2466 (byte-compile--use-old-handlers): New var.
2467 (byte-compile-catch): Use new byte codes depending on
2468 byte-compile--use-old-handlers.
2469 (byte-compile-condition-case--old): Rename from
2470 byte-compile-condition-case.
2471 (byte-compile-condition-case--new): New function.
2472 (byte-compile-condition-case): New function that dispatches depending
2473 on byte-compile--use-old-handlers.
2474 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2475 when we can.
2476
2477 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2478 Optimize under `condition-case' and `catch' if
2479 byte-compile--use-old-handlers is nil.
2480 (disassemble-offset): Handle new bytecodes.
2481
2482 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2483
2484 * subr.el (error): Use `declare'.
2485 (decode-char, encode-char): Use advertised-calling-convention instead
2486 of the docstring to discourage use of the `restriction' arg.
2487
2488 2013-10-03 Daiki Ueno <ueno@gnu.org>
2489
2490 * epg.el (epg-verify-file): Add a comment saying that it does not
2491 notify verification error as a return value nor a signal.
2492 (epg-verify-string): Ditto.
2493
2494 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2495
2496 * progmodes/compile.el (compilation-start): Try globbing the arg to
2497 `cd' (bug#15417).
2498
2499 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2500
2501 Sync with Tramp 2.2.8.
2502
2503 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2504 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2505 * net/trampver.el: Update release number.
2506
2507 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2508
2509 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2510 and default-process-coding-system for darwin only.
2511
2512 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2513
2514 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2515
2516 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2517
2518 * vc/vc-git.el (vc-git-grep): Disable pager.
2519
2520 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2521
2522 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2523 Use :url instead of :homepage, as per
2524 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2525
2526 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2527 non-nil, use `syntax-ppss' (Bug#15251).
2528
2529 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2530
2531 * progmodes/octave.el (inferior-octave-startup-file):
2532 Prefer ~/.emacs.d/init_octave.m.
2533
2534 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2535
2536 * emacs-lisp/package.el (package-desc-from-define):
2537 Accept additional arguments as plist, convert them to an alist and store
2538 them in the `extras' slot.
2539 (package-generate-description-file): Convert extras alist back to
2540 plist and append to the `define-package' form arguments.
2541 (package--alist-to-plist): New function.
2542 (package--ac-desc): Add `extras' slot.
2543 (package--add-to-archive-contents): Check if the archive-contents
2544 vector is long enough, and if it is, pass its `extras' slot value
2545 to `package-desc-create'.
2546 (package-buffer-info): Call `lm-homepage', pass the returned value
2547 to `package-desc-from-define'.
2548 (describe-package-1): Render the homepage button (Bug#13291).
2549
2550 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2551 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2552
2553 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2554
2555 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2556 and default-process-coding-system to utf-8-unix (Bug#15402).
2557
2558 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2559
2560 * subr.el (looking-back): Do not recommend using looking-back.
2561
2562 2013-09-28 Alan Mackenzie <acm@muc.de>
2563
2564 Fix indentation/fontification of Java enum with "implements".
2565
2566 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2567 regexp which matches "implements", etc., in Java.
2568 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2569 specifier clauses coming after "enum".
2570 * progmodes/cc-fonts.el (c-font-lock-declarations)
2571 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2572 after "enum".
2573
2574 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2575
2576 * faces.el (region): Change ns_selection_color to
2577 ns_selection_fg_color, add ns_selection_bg_color.
2578
2579 2013-09-28 Leo Liu <sdl.web@gmail.com>
2580
2581 * progmodes/octave.el (inferior-octave-completion-table)
2582 (inferior-octave-completion-at-point): Minor tweaks.
2583
2584 * textmodes/ispell.el (ispell-lookup-words): Rename from
2585 lookup-words. (Bug#15460)
2586 (lookup-words): Obsolete.
2587 (ispell-complete-word, ispell-command-loop): All uses changed.
2588
2589 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2590
2591 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2592 (octave-mode-menu): Add octave-send-buffer.
2593 (octave-send-buffer): New function.
2594
2595 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2596
2597 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2598 octave-lookfor.
2599 (octave-mode-menu): Add octave-lookfor.
2600 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2601 octave-lookfor.
2602 (octave-lookfor): New function.
2603
2604 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2605
2606 * emacs-lisp/cl-macs.el:
2607 (cl--loop-destr-temps): Remove.
2608 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2609 its convention.
2610 (cl--loop-set-iterator-function): New function.
2611 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2612 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2613 Bind `it' with `let' instead of substituting it with `cl-subst'.
2614 (cl--unused-var-p): New function.
2615 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2616 Eliminate some unused variable warnings (bug#15326).
2617
2618 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2619
2620 * doc-view.el (doc-view-scale-reset): Rename from
2621 `doc-view-reset-zoom-level'.
2622 (doc-view-scale-adjust): New command.
2623 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2624 `doc-view-scale-adjust'.
2625
2626 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2627
2628 * doc-view.el (doc-view-reset-zoom-level): New command.
2629 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2630 zoom commands (bug#15466).
2631
2632 2013-09-26 Kenichi Handa <handa@gnu.org>
2633
2634 * international/quail.el (quail-help): Make it not a command.
2635
2636 2013-09-26 Leo Liu <sdl.web@gmail.com>
2637
2638 * minibuffer.el (completion-all-sorted-completions): Make args
2639 optional as they are.
2640
2641 2013-09-25 Daniel Colascione <dancol@dancol.org>
2642
2643 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2644 specs are and that they're not evaluated.
2645
2646 2013-09-24 Sam Steingold <sds@gnu.org>
2647
2648 * midnight.el (clean-buffer-list-kill-regexps)
2649 (clean-buffer-list-kill-buffer-names): Update for the new Man
2650 buffer naming which includes the object name.
2651
2652 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2653
2654 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2655 (eshell-parse-command, eshell-parse-pipeline): Use it since
2656 eshell-separate-commands requires a dynamic scoped var.
2657 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2658
2659 2013-09-23 Leo Liu <sdl.web@gmail.com>
2660
2661 * autoinsert.el (auto-insert-alist): Make the value of
2662 lexical-binding match its file setting.
2663
2664 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2665
2666 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2667
2668 * autoarg.el (autoarg-kp-digit-argument):
2669 * electric.el (Electric-command-loop):
2670 * kmacro.el (kmacro-step-edit-insert):
2671 Do not set universal-argument-num-events.
2672
2673 2013-09-22 Leo Liu <sdl.web@gmail.com>
2674
2675 * files.el (interpreter-mode-alist): Add octave.
2676
2677 2013-09-21 Alan Mackenzie <acm@muc.de>
2678
2679 C++: fontify identifier in declaration following "public:" correctly.
2680 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2681 to match "public", etc.
2682 (c-decl-prefix-re): Add ":" into the C++ value.
2683 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2684 bit. Add a check for a ":" preceded by "public", etc.
2685
2686 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2687
2688 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2689 recognized by GDB 7.5 and later.
2690
2691 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2692
2693 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2694
2695 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2696
2697 * subr.el (internal--call-interactively): New const.
2698 (called-interactively-p): Use it (bug#3984).
2699
2700 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2701
2702 * vc/pcvs.el (cvs-mode-ignore):
2703 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2704 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2705
2706 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2707
2708 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2709 (eshell-ls-orig-insert-directory): Remove.
2710 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2711 (eshell-ls-use-in-dired): Use advice-add/remove.
2712 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2713 Add `orig-fun' arg for use in :around advice.
2714 Make it check (redundantly) eshell-ls-use-in-dired.
2715
2716 2013-09-19 Glenn Morris <rgm@gnu.org>
2717
2718 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2719
2720 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2721
2722 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2723
2724 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2725
2726 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2727 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2728 (tramp-get-remote-python): New defuns.
2729 (tramp-get-remote-uid-with-perl)
2730 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2731 contributed by yary <not.com@gmail.com> (tiny change).
2732 (tramp-get-remote-uid-with-python)
2733 (tramp-get-remote-gid-with-python): New defuns. Python code
2734 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2735 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2736
2737 2013-09-19 Glenn Morris <rgm@gnu.org>
2738
2739 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2740
2741 * eshell/em-unix.el (eshell-remove-entries):
2742 Rename argument to avoid name-clash with global `top-level'.
2743
2744 * eshell/esh-proc.el (eshell-kill-process-function):
2745 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2746 (eshell-reset-after-proc): Remove unused arg `proc'.
2747
2748 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2749 (directory-files-and-attributes): Mark unused arg.
2750
2751 * eshell/em-unix.el (eshell-remove-entries):
2752 Remove unused arg `path'. Update callers.
2753
2754 * eshell/em-hist.el (eshell-hist-parse-arguments):
2755 Remove unused arg `silent'. Update callers.
2756
2757 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2758 Fix (f)boundp mix-up.
2759
2760 * eshell/em-smart.el (eshell-smart-scroll-window)
2761 (eshell-disable-after-change):
2762 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2763
2764 2013-09-18 Alan Mackenzie <acm@muc.de>
2765
2766 Fix fontification of type when followed by "const".
2767 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2768 "known" types from fontification.
2769
2770 2013-09-18 Glenn Morris <rgm@gnu.org>
2771
2772 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2773 (chart-face-list): Drop Emacsen without display-color-p.
2774
2775 * net/eww.el (libxml-parse-html-region): Declare.
2776 (eww-display-html): Explicit error if no libxml2 support.
2777
2778 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2779
2780 * image.el (image-type-from-buffer, image-multi-frame-p):
2781 Remove --without-x warning/error.
2782
2783 * mouse.el (mouse-yank-primary):
2784 * term.el (term-mouse-paste):
2785 Reorder to silence --without-x compilation.
2786
2787 * mpc.el (doc-view-mode): Silence --without-x compilation.
2788
2789 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2790 Silence --without-x compilation.
2791
2792 * progmodes/gud.el (gud-find-file, gud-mode):
2793 Silence --without-x compilation.
2794 (tooltip-mode): Declare.
2795
2796 * wdired.el (dired-backup-overwrite): Remove declaration.
2797 (wdired-mode-map): Add doc string.
2798
2799 * custom.el (x-get-resource): Declare.
2800
2801 * eshell/em-glob.el (ange-cache):
2802 * eshell/em-unix.el (ange-cache): Declare.
2803
2804 * faces.el (x-display-list, x-open-connection, x-get-resource):
2805 Declare.
2806
2807 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2808 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2809 Declare.
2810
2811 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2812
2813 * net/gnutls.el (gnutls-log-level): Declare.
2814
2815 * net/shr.el (image-size, image-animate): Declare.
2816
2817 * simple.el (font-info): Declare.
2818
2819 * subr.el (x-popup-dialog): Declare.
2820
2821 * term/common-win.el (x-select-enable-primary)
2822 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2823 Declare.
2824
2825 * term/ns-win.el (x-handle-args): Declare.
2826
2827 * term/x-win.el (x-select-enable-clipboard): Declare.
2828
2829 * term/w32-win.el (create-default-fontset): Declare.
2830
2831 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2832 Declare.
2833
2834 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2835 (fit-frame-to-buffer): Explicit error if --without-x.
2836 (mouse-autoselect-window-select): Silence compiler.
2837
2838 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2839
2840 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2841 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2842 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2843 * eshell/esh-util.el (eshell-sublist):
2844 Remove unused local variables.
2845
2846 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2847
2848 * textmodes/two-column.el: Make 2C-split work for --without-x.
2849 (scroll-bar-columns): Autoload.
2850 (top-level): Require fringe when compiling.
2851
2852 2013-09-18 Leo Liu <sdl.web@gmail.com>
2853
2854 * subr.el (add-hook): Robustify to handle closure as well.
2855
2856 2013-09-17 Glenn Morris <rgm@gnu.org>
2857
2858 * simple.el (messages-buffer-mode-map): Unbind "g".
2859
2860 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2861
2862 * help-mode.el (help-mode-finish): Use derived-mode-p.
2863 Remove obsolete highlighting.
2864
2865 * play/life.el (life-mode): Use define-derived-mode. Derive from
2866 special-mode.
2867 (life): Let-bind inhibit-read-only.
2868 (life-setup): Avoid `setq'. Use `life-mode'.
2869
2870 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2871 which should not be needed any more.
2872 (package-menu-refresh, package-menu-describe-package): Use user-error.
2873
2874 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2875 (eshell-post-rewrite-command-hook): Make obsolete.
2876 (eshell-parse-command): Simplify.
2877 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2878 (eshell--cmd): Declare.
2879 (eshell-parse-pipeline): Remove unused var `final-p'.
2880 Pass a dynvar to eshell-post-rewrite-command-hook.
2881 Implement the new eshell-post-rewrite-command-function.
2882 (eshell-invoke-directly): Remove unused arg `input'.
2883 * eshell/esh-io.el (eshell-io-initialize):
2884 Use eshell-post-rewrite-command-function (bug#15399).
2885 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2886 adjust to new calling convention.
2887 (eshell-create-handles): Rename args to avoid clashing with dynvar
2888 `standard-output'.
2889
2890 2013-09-17 Glenn Morris <rgm@gnu.org>
2891
2892 * simple.el (messages-buffer-mode): New major mode.
2893 (messages-buffer): New function.
2894 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2895 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2896 (ert-run-test): Use `messages-buffer' function.
2897 (ert--force-message-log-buffer-truncation): Ignore read-only.
2898 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2899 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2900
2901 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2902
2903 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2904
2905 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2906
2907 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2908
2909 * icomplete.el (icomplete-in-buffer): New var.
2910 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2911 vars and replace them with functions.
2912 (icomplete-minibuffer-setup): Adjust accordingly.
2913 (icomplete--completion-table, icomplete--completion-predicate)
2914 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2915 New functions.
2916 (icomplete-forward-completions, icomplete-backward-completions)
2917 (icomplete-simple-completing-p, icomplete-exhibit)
2918 (icomplete-completions): Use them.
2919 (icomplete--in-region-buffer): New var.
2920 (icomplete--in-region-setup): New function.
2921 (icomplete-mode): Use it.
2922
2923 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2924 (bug#15379).
2925 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2926 return args and options.
2927 (eshell-eval-using-options): Use the new return value of
2928 eshell--do-opts to set the options's vars in their scope.
2929 (eshell--set-option): Rename from eshell-set-option.
2930 Add arg `opt-vals'.
2931 (eshell--process-option): Rename from eshell-process-option.
2932 Add arg `opt-vals'.
2933 (eshell--process-args): Use an `opt-vals' alist to store the options's
2934 values during their processing and return them additionally to the
2935 remaining args.
2936
2937 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2938
2939 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2940 continuation character an operator, as far as indentation is
2941 concerned (Bug#15369).
2942
2943 2013-09-15 Martin Rudalics <rudalics@gmx.at>
2944
2945 * window.el (window--state-put-2): Don't process buffer state
2946 when buffer doesn't exist any more (Bug#15382).
2947
2948 2013-09-15 Glenn Morris <rgm@gnu.org>
2949
2950 * eshell/em-unix.el (eshell/rm):
2951 Make -f ignore missing files. (Bug#15373)
2952
2953 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2954 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2955 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2956
2957 2013-09-14 Glenn Morris <rgm@gnu.org>
2958
2959 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2960
2961 2013-09-13 Glenn Morris <rgm@gnu.org>
2962
2963 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2964 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2965
2966 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2967
2968 * frame.el (x-focus-frame): Mark as declared in frame.c.
2969
2970 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2971
2972 * ls-lisp.el: Use advice-add.
2973 (original-insert-directory): Remove.
2974 (ls-lisp--insert-directory): Rename from insert-directory; add
2975 `orig-fun' argument.
2976 (insert-directory): Advise.
2977
2978 2013-09-13 Eli Zaretskii <eliz@gnu.org>
2979
2980 * term.el (term-emulate-terminal): Decode the command string
2981 before passing it to term-command-hook. (Bug#15337)
2982
2983 2013-09-13 Glenn Morris <rgm@gnu.org>
2984
2985 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2986
2987 * eshell/esh-ext.el (eshell-search-path): Declare.
2988
2989 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2990 Otherwise an error occurs if eshell-dirs module not loaded.
2991
2992 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2993
2994 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
2995
2996 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2997 `tramp-check-proper-host'. Check for a valid method name.
2998
2999 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3000 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3001 * net/tramp-sh.el (tramp-maybe-open-connection):
3002 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3003
3004 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3005 also for hash values.
3006
3007 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3008
3009 * term/ns-win.el (parameters): Don't declare as dynamic.
3010 (before-make-frame-hook): Don't add ineffective function.
3011
3012 * eshell/*.el: Use lexical-binding (bug#15231).
3013
3014 2013-09-12 Kenichi Handa <handa@gnu.org>
3015
3016 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3017
3018 2013-09-12 Glenn Morris <rgm@gnu.org>
3019
3020 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3021 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3022
3023 * subr.el (do-after-load-evaluation): Also give compiler warnings
3024 when obsolete files are used (except by obsolete files).
3025
3026 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3027 in the status output, assume `filename' is the first. (Bug#15322)
3028
3029 * vc/vc.el (vc-deduce-fileset): Doc fix.
3030
3031 * calc/calc-help.el (Info-goto-node):
3032 * progmodes/cperl-mode.el (Info-find-node):
3033 * vc/ediff.el (Info-goto-node): Update declarations.
3034
3035 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3036
3037 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3038 (vc-bzr-pull): Require vc-dispatcher.
3039 * vc/vc-git.el (vc-compilation-mode): Declare.
3040 (vc-git-pull): Require vc-dispatcher.
3041
3042 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3043
3044 * progmodes/octave.el (help-button-action): Declare.
3045
3046 * shell.el (shell-directory-tracker): Output error as a message
3047 rather than just returning it as a string.
3048 (shell-process-pushd): Remove useless use of message.
3049
3050 * dframe.el (dframe-timer-fn):
3051 * files.el (dir-locals-read-from-file):
3052 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3053 (mpc-format):
3054 * reveal.el (reveal-post-command):
3055 * saveplace.el (load-save-place-alist-from-file):
3056 * shell.el (shell-resync-dirs):
3057 * w32-common-fns.el (x-get-selection-value):
3058 * emacs-lisp/copyright.el (copyright-find-copyright):
3059 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3060 * emulation/tpu-edt.el (tpu-copy-keyfile):
3061 * play/bubbles.el (bubbles--mark-neighbourhood):
3062 * progmodes/executable.el
3063 (executable-make-buffer-file-executable-if-script-p):
3064 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3065
3066 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3067
3068 Cleanup Eshell to rely less on dynamic scoping.
3069 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3070 last-value, and ext-command here. Bind `args' closer to `body'.
3071 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3072 (eshell--args): Declare new dynamic var.
3073 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3074 last-value, and ext-command. Pass `args' to `body'.
3075 (eshell-process-args): Bind eshell--args.
3076 (eshell-set-option): Use eshell--args.
3077 * eshell/eshell.el (eshell): Use derived-mode-p.
3078 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3079 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3080 (eshell-glob-function): Declare.
3081 * eshell/esh-util.el: Require cl-lib.
3082 (eshell-read-hosts-file): Avoid add-to-list.
3083 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3084 `err'.
3085 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3086 Declare.
3087 (eshell/diff): Remove unused var `err'.
3088 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3089 `killflag'.
3090 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3091 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3092 first use.
3093 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3094 Move declaration before first use.
3095 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3096 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3097 rely on cl-return.
3098
3099 2013-09-12 Glenn Morris <rgm@gnu.org>
3100
3101 * term/ns-win.el (global-map): Remove binding for ispell-next,
3102 deleted 1999-05-29. (Bug#15357)
3103
3104 2013-09-11 Glenn Morris <rgm@gnu.org>
3105
3106 * echistory.el (electric-command-history): Remove call to deleted func.
3107
3108 * play/landmark.el (landmark-mode): Fix typos.
3109
3110 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3111 Check cvs-sort-ignore-file is bound.
3112
3113 * savehist.el: No need for cl when compiling on Emacs.
3114
3115 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3116
3117 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3118 (bug#15338).
3119 (eshell-self-insert-command, eshell-send-invisible):
3120 Remove unused argument.
3121 (eshell-handle-control-codes): Remove unused var `orig'.
3122 Avoid delete-backward-char.
3123
3124 * files.el (set-auto-mode): Simplify a bit further.
3125
3126 2013-09-11 Glenn Morris <rgm@gnu.org>
3127
3128 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3129 (set-auto-mode): Don't regexp-quote elements.
3130 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3131 * progmodes/cc-mode.el (interpreter-mode-alist):
3132 * progmodes/ruby-mode.el (interpreter-mode-alist):
3133 Revert previous change.
3134
3135 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3136
3137 * play/snake.el (snake-mode):
3138 * play/mpuz.el (mpuz-mode):
3139 * play/landmark.el (lm-mode):
3140 * play/blackbox.el (blackbox-mode):
3141 * play/5x5.el (5x5-mode):
3142 * obsolete/options.el (Edit-options-mode):
3143 * net/quickurl.el (quickurl-list-mode):
3144 * net/newst-treeview.el (newsticker-treeview-mode):
3145 * mail/rmailsum.el (rmail-summary-mode):
3146 * mail/mspools.el (mspools-mode):
3147 * locate.el (locate-mode):
3148 * ibuffer.el (ibuffer-mode):
3149 * emulation/ws-mode.el (wordstar-mode):
3150 * emacs-lisp/debug.el (debugger-mode):
3151 * array.el (array-mode):
3152 * net/eudc.el (eudc-mode): Use define-derived-mode.
3153 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3154 Move initialization into declaration.
3155 (mairix-searches-mode): Use define-derived-mode.
3156 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3157 (eudc-edit-hotlist): Use dolist.
3158 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3159 (Man-mode): Use define-derived-mode.
3160 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3161 (Info-edit-mode): Use define-derived-mode.
3162 (Info-cease-edit): Use Info-mode.
3163 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3164 into declaration.
3165 (eshell-mode): Use define-derived-mode.
3166 * chistory.el (command-history-mode-map): Rename from
3167 command-history-map.
3168 (command-history-mode): Use define-derived-mode.
3169 (Command-history-setup): Remove function.
3170 * calc/calc.el (calc-trail-mode-map): New var.
3171 (calc-trail-mode): Use define-derived-mode.
3172 (calc-trail-buffer): Set calc-main-buffer manually.
3173 * bookmark.el (bookmark-insert-annotation): New function.
3174 (bookmark-edit-annotation): Use it.
3175 (bookmark-edit-annotation-mode): Make it a proper major mode.
3176 (bookmark-send-edited-annotation): Use derived-mode-p.
3177 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3178 closer to its ideal place. Use \' to match EOS.
3179
3180 * profiler.el (profiler-calltree-find): Use function-equal.
3181
3182 2013-09-10 Glenn Morris <rgm@gnu.org>
3183
3184 * files.el (interpreter-mode-alist): Convert to regexps.
3185 (set-auto-mode): Adapt for this. (Bug#15306)
3186 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3187 Comment out unused variable.
3188 * progmodes/cc-mode.el (interpreter-mode-alist):
3189 * progmodes/python.el (interpreter-mode-alist):
3190 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3191 * progmodes/sh-script.el (sh-set-shell):
3192 No longer use interpreter-mode-alist to get list of shells.
3193
3194 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3195
3196 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3197
3198 * simple.el: Use set-temporary-overlay-map for universal-argument.
3199 (universal-argument-map): Don't use default-bindings (bug#15317).
3200 Bind switch-frame explicitly. Replace universal-argument-minus with
3201 a conditional binding.
3202 (universal-argument-num-events, saved-overriding-map): Remove.
3203 (restore-overriding-map): Remove.
3204 (universal-argument--mode): Rename from save&set-overriding-map,
3205 and rewrite.
3206 (universal-argument, universal-argument-more, negative-argument)
3207 (digit-argument): Adjust accordingly.
3208 (universal-argument-minus): Remove.
3209 (universal-argument-other-key): Remove.
3210
3211 * subr.el (with-demoted-errors): Add `format' argument.
3212
3213 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3214
3215 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3216 `tramp-cleanup-connection'.
3217
3218 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3219 parameters KEEP-DEBUG and KEEP-PASSWORD.
3220
3221 * net/tramp.el (tramp-file-name-handler):
3222 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3223 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3224 (tramp-maybe-open-connection):
3225 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3226 Use `tramp-cleanup-connection'.
3227
3228 * net/tramp-sh.el (tramp-maybe-open-connection):
3229 Catch 'uname-changed inside the progress reporter.
3230
3231 2013-09-10 Glenn Morris <rgm@gnu.org>
3232
3233 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3234
3235 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3236 returns "alternate access method" in mode (eg "-rw-r--r--.").
3237
3238 2013-09-08 Glenn Morris <rgm@gnu.org>
3239
3240 * saveplace.el (load-save-place-alist-from-file):
3241 Demote errors. (Bug#15305)
3242
3243 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3244
3245 Improve compatibility with older Emacsen, and XEmacs.
3246
3247 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3248 only if it is bound. It isn't for XEmacs.
3249 (with-tramp-progress-reporter): Do not let-bind `result'.
3250 This yields to scoping errors in XEmacs.
3251 (tramp-handle-make-auto-save-file-name): New function, moved from
3252 tramp-sh.el.
3253
3254 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3255 for `make-auto-save-file-name'.
3256 (tramp-adb--gnu-switches-to-ash):
3257 Use `tramp-compat-replace-regexp-in-string'.
3258
3259 * net/tramp-cache.el (tramp-cache-print): Call
3260 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3261
3262 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3263 bound. It isn't for XEmacs.
3264
3265 * net/tramp-compat.el (tramp-compat-copy-file):
3266 Catch `wrong-number-of-arguments' error.
3267 (tramp-compat-replace-regexp-in-string): New defun.
3268
3269 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3270 for `make-auto-save-file-name'.
3271 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3272 `copy-file'.
3273 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3274 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3275 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3276
3277 * net/tramp-gw.el (tramp-gw-open-network-stream):
3278 Use `tramp-compat-replace-regexp-in-string'.
3279
3280 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3281 Call `tramp-handle-make-auto-save-file-name'.
3282 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3283 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3284 (tramp-sh-file-inotifywait-process-filter):
3285 Use `tramp-compat-replace-regexp-in-string'.
3286 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3287
3288 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3289 for `make-auto-save-file-name'.
3290 (tramp-smb-handle-copy-directory):
3291 Call `tramp-compat-replace-regexp-in-string'.
3292 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3293 (tramp-smb-handle-copy-file): Improve error message.
3294 (tramp-smb-handle-rename-file): Rename directly only in case
3295 `newname' does not exist yet. This is a restriction of smbclient.
3296 (tramp-smb-maybe-open-connection): Rerun the function only when
3297 `auth-sources' is non-nil.
3298
3299 2013-09-08 Kenichi Handa <handa@gnu.org>
3300
3301 * international/characters.el: Set category "^" (Combining) for
3302 more characters.
3303
3304 2013-09-07 Alan Mackenzie <acm@muc.de>
3305
3306 Correctly fontify Java class constructors.
3307 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3308 in Java Mode.
3309 (c-recognize-typeless-decls): Set the Java value to t.
3310 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3311 While handling a "(", add a check for, effectively, Java, and handle a
3312 "typeless" declaration there.
3313
3314 2013-09-07 Roland Winkler <winkler@gnu.org>
3315
3316 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3317 field subtitle for entry type book.
3318
3319 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3320
3321 * minibuffer.el: Make minibuffer-complete call completion-in-region
3322 rather than other way around.
3323 (completion--some, completion-pcm--find-all-completions):
3324 Don't delay signals when debugging.
3325 (minibuffer-completion-contents): Beware fields within the
3326 minibuffer contents.
3327 (completion-all-sorted-completions): Use defvar-local.
3328 (completion--do-completion, completion--cache-all-sorted-completions)
3329 (completion-all-sorted-completions, minibuffer-force-complete):
3330 Add args `beg' and `end'.
3331 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3332 (minibuffer-complete): Use completion-in-region.
3333 (completion-complete-and-exit): New fun, extracted from
3334 minibuffer-complete-and-exit.
3335 (minibuffer-complete-and-exit): Use it.
3336 (completion--complete-and-exit): Rename from
3337 minibuffer--complete-and-exit.
3338 (completion-in-region--single-word): New function, extracted from
3339 minibuffer-complete-word.
3340 (minibuffer-complete-word): Use it.
3341 (display-completion-list): Make `common-substring' argument obsolete.
3342 (completion--in-region): Call completion--in-region-1 instead of
3343 minibuffer-complete.
3344 (completion-help-at-point): Pass boundaries to
3345 minibuffer-completion-help as args rather than via an overlay.
3346 (completion-pcm--string->pattern): Use `any-delim'.
3347 (completion-pcm--optimize-pattern): New function.
3348 (completion-pcm--pattern->regex): Handle `any-delim'.
3349 * icomplete.el (icomplete-forward-completions)
3350 (icomplete-backward-completions, icomplete-completions):
3351 Adjust calls to completion-all-sorted-completions and
3352 completion--cache-all-sorted-completions.
3353 (icomplete-with-completion-tables): Default to t.
3354 * emacs-lisp/crm.el (crm--current-element): Rename from
3355 crm--select-current-element. Don't put an overlay but return the
3356 boundaries instead.
3357 (crm--completion-command): Take two new args to bind to the boundaries.
3358 (crm-completion-help): Adjust accordingly.
3359 (crm-complete): Use completion-in-region.
3360 (crm-complete-word): Use completion-in-region--single-word.
3361 (crm-complete-and-exit): Use completion-complete-and-exit.
3362
3363 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3364
3365 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3366 than dynamically.
3367
3368 2013-09-06 Juri Linkov <juri@jurta.org>
3369
3370 * info.el (Info-display-images-node): When image file doesn't exist
3371 display text version of the image if it's provided in the Info file.
3372 Otherwise, display the location of missing image from SRC attribute.
3373 Add help-echo text property from ALT attribute. (Bug#15279)
3374
3375 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3376
3377 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3378 (edit-abbrevs-mode): Use define-derived-mode.
3379
3380 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3381 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3382 that it's defined.
3383 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3384 Use define-derived-mode.
3385
3386 * epg.el (epg-start-encrypt): Minor CSE simplification.
3387
3388 2013-09-06 William Xu <william.xwl@gmail.com>
3389
3390 * arc-mode.el: Add support for 7za (bug#15264).
3391 (archive-7z-program): New var.
3392 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3393 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3394 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3395
3396 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3397
3398 Remove URL syntax.
3399
3400 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3401 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3402 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3403 (tramp-postfix-host-format, tramp-file-name-regexp)
3404 (tramp-completion-file-name-regexp)
3405 (tramp-completion-dissect-file-name)
3406 (tramp-handle-substitute-in-file-name): Remove 'url case.
3407 (tramp-file-name-regexp-url)
3408 (tramp-completion-file-name-regexp-url): Remove constants.
3409
3410 2013-09-06 Glenn Morris <rgm@gnu.org>
3411
3412 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3413
3414 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3415
3416 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3417 keywords" below "here-doc beginnings" (Bug#15270).
3418
3419 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3420
3421 * subr.el (pop): Use `car-safe'.
3422 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3423 to detect unused `pop' return value.
3424
3425 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3426 var `block-regexp'.
3427 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3428 (python-fill-string): Remove unused var `marker'.
3429 (python-skeleton-add-menu-items): Remove unused var `items'.
3430
3431 * international/mule-cmds.el: Require CL.
3432 (find-coding-systems-for-charsets): Avoid add-to-list.
3433 (sanitize-coding-system-list): New function, extracted from
3434 select-safe-coding-system-interactively.
3435 (select-safe-coding-system-interactively): Use it.
3436 (read-input-method-name): Accept symbols for `default'.
3437
3438 * emacs-lisp/advice.el (defadvice): Add indent rule.
3439
3440 2013-09-05 Daniel Hackney <dan@haxney.org>
3441
3442 * dired-x.el:
3443 * net/ange-ftp.el:
3444 * net/browse-url.el:
3445 * net/dbus.el:
3446 * net/eudc.el:
3447 * net/eudcb-ldap.el:
3448 * net/eww.el:
3449 * net/imap.el:
3450 * printing.el:
3451 * vc/ediff-diff.el:
3452 * vc/ediff-init.el:
3453 * vc/ediff-merg.el:
3454 * vc/ediff-mult.el:
3455 * vc/ediff-util.el:
3456 * vc/ediff-wind.el:
3457 * vc/ediff.el:
3458 * vc/emerge.el:
3459 * vc/pcvs.el:
3460 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3461 byte compiler. Remove some unused let-bound variables.
3462
3463 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3464
3465 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3466 a "ref-cell", since it gets better optimized (bug#14883).
3467
3468 2013-09-05 Glenn Morris <rgm@gnu.org>
3469
3470 * progmodes/cc-awk.el (c-forward-sws): Declare.
3471
3472 2013-09-04 Glenn Morris <rgm@gnu.org>
3473
3474 * generic-x.el [rul-generic-mode]: Require cc-mode.
3475 (c++-mode-syntax-table): Declare.
3476 (rul-generic-mode-syntax-table): Init in the defvar.
3477
3478 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3479
3480 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3481 (vc-do-command, vc-set-async-update):
3482 * vc/vc-mtn.el (vc-mtn-dir-status):
3483 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3484 (vc-hg-pull, vc-hg-merge-branch):
3485 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3486 (vc-git-merge-branch):
3487 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3488 (vc-cvs-dir-status-files):
3489 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3490 (vc-bzr-dir-status-files):
3491 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3492 * vc/vc-annotate.el: Use lexical-binding.
3493 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3494 (vc-sentinel-movepoint): Declare.
3495 (vc-annotate): Don't use `goto-line'.
3496 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3497 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3498 (vc-sentinel-movepoint): Declare.
3499 * vc/vc-svn.el: Use lexical-binding.
3500 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3501 * vc/vc-sccs.el:
3502 * vc/vc-rcs.el: Use lexical-binding.
3503
3504 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3505 `deleted'. Don't drop errors silently.
3506
3507 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3508
3509 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3510
3511 * vc/vc.el (vc-ignore): Rewrite.
3512 (vc-default-ignore): New function.
3513 (vc-default-ignore-completion-table): Use find-ignore-file.
3514
3515 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3516 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3517 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3518 Remove. Most code moved to vc.el.
3519
3520 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3521
3522 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3523 * net/tramp-smb.el (tramp-smb-get-file-entries):
3524 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3525 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3526
3527 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3528 Update call to it.
3529 (eww-change-select): Remove unused var `properties'.
3530 (eww-make-unique-file-name): Remove unused var `base'.
3531
3532 * finder.el (finder-compile-keywords): Don't mess with windows.
3533
3534 * calculator.el (calculator-funcall): Fix typo in last change.
3535
3536 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3537
3538 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3539 <pkg>-autoloads.el file stop us.
3540
3541 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3542 warnings, and factor out common code.
3543
3544 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3545
3546 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3547 two-character operators and whether the character preceding them
3548 changes their meaning (Bug#15208).
3549
3550 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3551
3552 Format code sent to Python shell for robustness.
3553 * progmodes/python.el (python-shell-buffer-substring):
3554 New function.
3555 (python-shell-send-region, python-shell-send-buffer): Use it.
3556
3557 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3558
3559 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3560 * net/tramp.el (tramp-user-error): ... here.
3561 (tramp-find-method, tramp-check-proper-host)
3562 (tramp-dissect-file-name, tramp-debug-message)
3563 (tramp-handle-shell-command):
3564 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3565 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3566
3567 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3568
3569 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3570
3571 * avoid.el (mouse-avoidance-point-position)
3572 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3573 returns nil.
3574
3575 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3576
3577 * progmodes/python.el (python-shell-completion-get-completions):
3578 Drop use of deleted `comint-last-prompt-overlay'.
3579 (python-nav-if-name-main): New command.
3580
3581 2013-09-01 Glenn Morris <rgm@gnu.org>
3582
3583 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3584 Avoid leading space in $wins. Otherwise the sed command used by
3585 eg compile-main ends up containing "/*.el". (Bug#15170)
3586
3587 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3588
3589 2013-08-30 Glenn Morris <rgm@gnu.org>
3590
3591 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3592 Fix is-this-a-directory logic. (Bug#15220)
3593
3594 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3595
3596 * textmodes/css-mode.el: Use SMIE.
3597 (css-smie-grammar): New var.
3598 (css-smie--forward-token, css-smie--backward-token)
3599 (css-smie-rules): New functions.
3600 (css-mode): Use them.
3601 (css-navigation-syntax-table): Remove var.
3602 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3603 (css-indent-calculate, css-indent-line): Remove functions.
3604
3605 Misc changes to reduce use of `(lambda...); and other cleanups.
3606 * cus-edit.el: Use lexical-binding.
3607 (customize-push-and-save, customize-apropos)
3608 (custom-buffer-create-internal): Use closures.
3609 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3610 * progmodes/ada-xref.el: Use setq.
3611 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3612 * dframe.el: Use lexical-binding.
3613 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3614 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3615 * descr-text.el: Use lexical-binding.
3616 (describe-text-widget, describe-text-sexp, describe-property-list):
3617 Use closures.
3618 * comint.el (comint-history-isearch-push-state): Use a closure.
3619 * calculator.el: Use lexical-binding.
3620 (calculator-number-to-string): Make it work with lexical-binding.
3621 (calculator-funcall): Same and use cl-letf.
3622
3623 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3624 (lisp--company-doc-string, lisp--company-location): New functions.
3625 (lisp-completion-at-point): Use them to improve Company support.
3626
3627 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3628 params of lambda expressions.
3629 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3630 (ruby-smie--opening-pipe-p): New function.
3631 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3632 symbols and matched |...| for formal params.
3633 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3634 from being treated as hanging. Handle "rescue".
3635
3636 2013-08-29 Glenn Morris <rgm@gnu.org>
3637
3638 * progmodes/cc-engine.el (c-pull-open-brace):
3639 Move definition before use.
3640
3641 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3642
3643 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3644 are immutable. Don't use `unsafe' any more.
3645 (cl--defsubst-expand): Don't substitute at the same time as keeping
3646 a residual unused let-binding. Don't use `unsafe' any more.
3647
3648 2013-08-29 Glenn Morris <rgm@gnu.org>
3649
3650 * calendar/cal-china.el (calendar-chinese-year-cache):
3651 Recenter on 2015.
3652
3653 * nxml/nxml-util.el (nxml-debug-clear-inside):
3654 Use cl-loop rather than loop.
3655
3656 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3657
3658 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3659
3660 2013-08-28 Glenn Morris <rgm@gnu.org>
3661
3662 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3663
3664 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3665
3666 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3667
3668 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3669
3670 * simple.el (repeat-complex-command--called-interactively-skip):
3671 New function.
3672 (repeat-complex-command): Use it (bug#14136).
3673
3674 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3675 (c-define-abbrev-table): Add `doc' argument.
3676 (c-mode-abbrev-table, c++-mode-abbrev-table)
3677 (objc-mode-abbrev-table, java-mode-abbrev-table)
3678 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3679 (awk-mode-abbrev-table): Use it.
3680 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3681 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3682 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3683 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3684 Move initialization into the declaration; and remove any
3685 autoload cookie.
3686
3687 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3688 and dynamic let binding.
3689
3690 * vc/smerge-mode.el: Remove redundant :group args.
3691
3692 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3693 to load-path.
3694
3695 2013-08-28 Juri Linkov <juri@jurta.org>
3696
3697 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3698 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3699 (isearch-other-meta-char): Handle an undefined shifted printing
3700 character by downshifting it. (Bug#15200)
3701
3702 2013-08-28 Juri Linkov <juri@jurta.org>
3703
3704 * isearch.el (isearch-search): Change regexp error message for
3705 non-regexp searches. (Bug#15166)
3706
3707 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3708
3709 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3710 for portability to hosts where /bin/sh has problems.
3711
3712 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3713
3714 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3715
3716 2013-08-27 Juri Linkov <juri@jurta.org>
3717
3718 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3719 in the keyboard macro. (Bug#15126)
3720
3721 2013-08-27 Juri Linkov <juri@jurta.org>
3722
3723 * isearch.el (isearch-quote-char): Comment out converting unibyte
3724 to multibyte, thus syncing with its `quoted-insert' counterpart.
3725 (Bug#15166)
3726
3727 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3728
3729 * window.el (display-buffer-use-some-window): Add missing
3730 argument in call of get-largest-window (Bug#15185).
3731 Reported by Stephen Leake.
3732
3733 2013-08-27 Glenn Morris <rgm@gnu.org>
3734
3735 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3736
3737 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3738
3739 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3740 from a matcher-function unless there's no more matches (bug#15161).
3741
3742 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3743
3744 * minibuffer.el: Revert change from 2013-08-20.
3745
3746 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3747 with text property `tramp-default', if appropriate.
3748 (tramp-check-proper-host): New defun.
3749 (tramp-dissect-file-name): Do not check hostname. Revert change
3750 of 2013-03-18.
3751 (tramp-backtrace): Make VEC-OR-PROC optional.
3752
3753 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3754 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3755 * net/tramp-sh.el (tramp-maybe-open-connection):
3756 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3757 Apply `tramp-check-proper-host'.
3758
3759 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3760
3761 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3762 lambda expression in order to have `describe-variable' display it.
3763
3764 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3765
3766 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3767 BUF can be optional. (Bug#15186)
3768
3769 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3770
3771 * progmodes/flymake.el (flymake-get-real-file-name-function):
3772 Fix broken customization. (Bug#15184)
3773
3774 2013-08-25 Alan Mackenzie <acm@muc.de>
3775
3776 Improve indentation of bracelists defined by macros (without "=").
3777
3778 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3779 expansion begins with "{", regard it as bracelist when it doesn't
3780 contain a ";".
3781
3782 Parse C++ inher-intro when there's a template split over 2 lines.
3783
3784 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3785 rigorously the search for "class" etc. followed by ":".
3786
3787 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3788 random languages a regexp which never matches rather than nil.
3789
3790 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3791
3792 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3793 (c-awk-regexp-one-line-possibly-open-char-list-re)
3794 (c-awk-one-line-possibly-open-regexp-re)
3795 (c-awk-one-line-non-syn-ws*-re): Remove.
3796 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3797 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3798 (c-awk-space*-unclosed-regexp-/-re): New constants.
3799 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3800 aren't regexp delimiters.
3801
3802 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3803 handling for a rare situation in AWK Mode involving unterminated
3804 strings/regexps.
3805
3806 2013-08-23 Glenn Morris <rgm@gnu.org>
3807
3808 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3809
3810 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3811
3812 * files.el (create-file-buffer): If the result would begin with
3813 spaces, prepend a "|" instead of removing them. (Bug#15162)
3814
3815 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3816
3817 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3818 text-properties (bug#15155).
3819
3820 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3821 exist any more.
3822 (calc-keypad-redraw): Remove unused var `pad'.
3823 (calc-keypad-press): Remove unused var `menu'.
3824
3825 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3826
3827 * window.el (display-buffer-pop-up-frame):
3828 Call pop-up-frame-function with BUFFER current so `make-frame' will
3829 use it as the new frame's buffer (Bug#15133).
3830
3831 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3832
3833 * calendar/timeclock.el: Minor cleanups.
3834 (timeclock-ask-before-exiting, timeclock-use-display-time):
3835 Use `symbol'.
3836 (timeclock-modeline-display): Define as alias before the
3837 actual definition.
3838 (timeclock-mode-line-display): Use define-minor-mode.
3839 (timeclock-day-list-template): Make it a function, add an argument.
3840 (timeclock-day-list-required, timeclock-day-list-length)
3841 (timeclock-day-list-debt, timeclock-day-list-span)
3842 (timeclock-day-list-break): Adjust calls accordingly.
3843
3844 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3845
3846 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3847 Use read--expression so that completion works again.
3848
3849 2013-08-21 Sam Steingold <sds@gnu.org>
3850
3851 Add rudimentary inferior shell interaction
3852 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3853 (sh-set-shell): Reset it.
3854 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3855 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3856
3857 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3858
3859 * align.el: Use lexical-binding.
3860 (align-region): Simplify accordingly.
3861
3862 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3863
3864 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3865
3866 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3867 `non-essential' up.
3868
3869 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3870
3871 * net/tramp.el:
3872 * net/tramp-adb.el:
3873 * net/tramp-cmds.el:
3874 * net/tramp-ftp.el:
3875 * net/tramp-gvfs.el:
3876 * net/tramp-gw.el:
3877 * net/tramp-sh.el: Don't wrap external variable declarations by
3878 `eval-when-compile'.
3879
3880 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3881
3882 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3883 now that Emacs supports ImageMagick animations.
3884
3885 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3886
3887 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3888 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3889
3890 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3891
3892 * window.el (mouse-autoselect-window-select): Do autoselect when
3893 mouse pointer is on margin.
3894
3895 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3896
3897 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3898
3899 2013-08-16 Glenn Morris <rgm@gnu.org>
3900
3901 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3902 Handle "Remote Directory" response of some clients. (Bug#15058)
3903
3904 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3905 Tweak warning. (Bug#14926)
3906
3907 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3908 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3909
3910 * image-mode.el (image-mode-map): Add menu items to reverse,
3911 increase, decrease, reset animation speed.
3912 (image--set-speed, image-increase-speed, image-decrease-speed)
3913 (image-reverse-speed, image-reset-speed): New functions.
3914 (image-mode-map): Add bindings for speed commands.
3915
3916 * image.el (image-animate-get-speed, image-animate-set-speed):
3917 New functions.
3918 (image-animate-timeout): Respect image :speed property.
3919
3920 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3921
3922 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3923 previous line (bug#15101).
3924 (debugger-eval-expression, debugger-record-expression):
3925 Use read--expression (bug#15102).
3926
3927 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
3928
3929 Remove byte compiler warnings, visible when compiling with
3930 `byte-compile-force-lexical-warnings' set to t.
3931
3932 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3933 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3934 (tramp-handle-unhandled-file-name-directory)
3935 (tramp-handle-file-notify-add-watch, tramp-action-login)
3936 (tramp-action-succeed, tramp-action-permission-denied)
3937 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3938 arguments with "_".
3939
3940 * net/tramp-adb.el (tramp-adb-parse-device-names)
3941 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3942 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3943 (tramp-adb-handle-file-truename): Remove unused arguments.
3944
3945 * net/tramp-cache.el (tramp-flush-directory-property)
3946 (tramp-flush-connection-property, tramp-list-connections)
3947 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3948
3949 * net/tramp-compat.el (tramp-compat-make-temp-file):
3950 Rename FILENAME to F.
3951
3952 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3953 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3954 (tramp-zeroconf-parse-workstation-device-names)
3955 (tramp-zeroconf-parse-webdav-device-names)
3956 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3957
3958 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3959 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3960
3961 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3962 arguments.
3963 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3964 (tramp-sh-handle-insert-file-contents-literally)
3965 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3966 with "_".
3967 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3968 Remove unused variables.
3969
3970 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3971 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3972 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3973
3974 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3975 Make them a defconst.
3976 (tramp-uuencode-region): Remove unused variable.
3977
3978 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
3979
3980 * frameset.el (frameset--prop-setter): New function.
3981 (frameset-prop): Add gv-setter declaration.
3982 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3983 parameter was already set in FILTERED. Doc fix.
3984 (frameset--record-minibuffer-relationships): Allow saving a
3985 minibufferless frame without its corresponding minibuffer frame.
3986 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3987 frame, if the frame id matches.
3988 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3989 frames before orphaned ones.
3990 (frameset-restore): Warn about orphaned windows, instead of error out.
3991
3992 2013-08-14 Martin Rudalics <rudalics@gmx.at>
3993
3994 * window.el (window-make-atom): Don't overwrite parameter
3995 already present.
3996 (display-buffer-in-atom-window): Handle special case where we
3997 split an already atomic window.
3998 (window--major-non-side-window, display-buffer-in-side-window)
3999 (window--side-check): Ignore minibuffer window when walking
4000 window tree.
4001 (window-deletable-p): Return 'frame only if no other frame uses
4002 our minibuffer window.
4003 (record-window-buffer): Run buffer-list-update-hook.
4004 (split-window): Make sure window--check-frame won't destroy an
4005 existing atomic window in case the new window gets nested
4006 inside.
4007 (display-buffer-at-bottom): Ignore minibuffer window when
4008 walking window tree. Don't split a side window.
4009 (pop-to-buffer): Don't set-buffer here, the select-window call
4010 should do that.
4011 (mouse-autoselect-window-select): Autoselect only if we are in the
4012 text portion of the window.
4013
4014 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4015
4016 * net/shr.el (shr-parse-image-data): New function to grab both the
4017 data itself and the Content-Type.
4018 (shr-put-image): Use it.
4019
4020 * net/eww.el (eww-display-image): Ditto.
4021
4022 * image.el (image-content-type-suffixes): New variable.
4023
4024 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4025
4026 * progmodes/python.el (python-imenu--build-tree)
4027 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4028
4029 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4030
4031 * simple.el (backward-word): Mention the optional argument.
4032
4033 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4034
4035 * frameset.el (frameset--make): Rename constructor from make-frameset.
4036 (frameset-p, frameset-valid-p): Don't autoload.
4037 (frameset-valid-p): Use normal accessors.
4038
4039 2013-08-13 Glenn Morris <rgm@gnu.org>
4040
4041 * progmodes/compile.el (compile-command): Tweak example in doc.
4042 * obsolete/scribe.el (scribe-mode):
4043 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4044
4045 * mail/feedmail.el (feedmail-confirm-outgoing)
4046 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4047
4048 * cus-start.el (truncate-partial-width-windows): Fix type.
4049
4050 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4051
4052 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4053
4054 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4055
4056 * emacs-lisp/timer.el (timer--time-setter): New function.
4057 (timer--time): Use it as gv-setter.
4058
4059 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4060 setter is not a symbol.
4061
4062 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4063
4064 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4065 if sending fails. This makes debugging easier.
4066
4067 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4068
4069 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4070 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4071 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4072
4073 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4074
4075 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4076
4077 2013-08-12 Glenn Morris <rgm@gnu.org>
4078
4079 * format.el (format-annotate-function):
4080 Handle read-only text properties in the source. (Bug#14887)
4081
4082 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4083
4084 * net/eww.el (eww-display-html): Ignore coding system errors.
4085 One web site uses "utf-8lias" as the coding system.
4086
4087 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4088
4089 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4090
4091 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4092
4093 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4094 (tutorial--detailed-help): Remove unused local variables.
4095 (tutorial--save-tutorial-to): Use ignore-errors.
4096 (help-with-tutorial): Use looking-at-p.
4097
4098 * view.el (view-buffer-other-window, view-buffer-other-frame):
4099 Mark unused arguments.
4100
4101 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4102 (woman-select-symbol-fonts, woman, woman-find-file)
4103 (woman-insert-file-contents, woman-non-underline-faces):
4104 Use string-match-p.
4105 (woman1-unquote): Move declaration.
4106
4107 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4108 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4109 argument. Remove unused local variable.
4110 (xml-parse-elem-type): Use string-match-p.
4111 (xml-substitute-numeric-entities): Use ignore-errors.
4112
4113 * calculator.el (calculator): Mark unused argument.
4114 (calculator-paste, calculator-quit, calculator-integer-p):
4115 Use ignore-errors.
4116 (calculator-string-to-number, calculator-decimal, calculator-exp)
4117 (calculator-op-or-exp): Use string-match-p.
4118
4119 * dired.el (dired-buffer-more-recently-used-p): Declare.
4120 (dired-insert-set-properties, dired-insert-old-subdirs):
4121 Use ignore-errors.
4122
4123 * dired-aux.el (dired-compress): Use ignore-errors.
4124 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4125 (dired-do-async-shell-command, dired-do-shell-command)
4126 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4127 (dired-insert-subdir-validate): Use string-match-p.
4128 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4129 (dired-add-entry): Use string-match-p, looking-at-p.
4130 (dired-insert-subdir-newpos): Remove unused local variable.
4131
4132 * filenotify.el (file-notify-callback): Remove unused local variable.
4133
4134 * filesets.el (filesets-error): Mark unused argument.
4135 (filesets-which-command-p, filesets-filter-dir-names)
4136 (filesets-directory-files, filesets-get-external-viewer)
4137 (filesets-ingroup-get-data): Use string-match-p.
4138
4139 * find-file.el (ff-other-file-name, ff-other-file-name)
4140 (ff-find-the-other-file, ff-cc-hh-converter):
4141 Remove unused local variables.
4142 (ff-get-file-name): Use string-match-p.
4143 (ff-all-dirs-under): Use ignore-errors.
4144
4145 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4146 (follow-select-if-visible): Remove unused local variable.
4147
4148 * forms.el (read-file-filter): Move declaration.
4149 (forms--make-format, forms--make-parser, forms-insert-record):
4150 Quote function with #'.
4151 (forms--update): Use string-match-p. Quote function with #'.
4152
4153 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4154 (help-make-xrefs): Use looking-at-p.
4155 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4156
4157 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4158 (ibuffer-confirm-operation-on): Use string-match-p.
4159
4160 * msb.el (msb-item-handler, msb-dired-item-handler):
4161 Mark unused arguments.
4162
4163 * ses.el (ses-decode-cell-symbol)
4164 (ses-kill-override): Remove unused local variable.
4165 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4166 (ses-load): Use ignore-errors, looking-at-p.
4167 (ses-jump-safe): Use ignore-errors.
4168 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4169
4170 * tabify.el (untabify, tabify): Mark unused arguments.
4171
4172 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4173 Mark unused argument.
4174 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4175 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4176
4177 * emacs-lisp/timer.el (timer--time): Define setter with
4178 gv-define-setter to avoid deprecation warning.
4179
4180 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4181 (*record-cmpl-statistics-p*): Remove (was commented out).
4182 (cmpl-statistics-block): Remove (body was commented out).
4183 All callers changed.
4184 (add-completions-from-buffer, load-completions-from-file):
4185 Remove unused variables.
4186
4187 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4188
4189 * filecache.el (file-cache-delete-file-list):
4190 Print message only when told so.
4191 (file-cache-files-matching): Use #' in mapconcat argument.
4192
4193 * ffap.el (ffap-url-at-point): Fix reference to variable
4194 thing-at-point-default-mail-uri-scheme.
4195
4196 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4197
4198 * subr.el (define-error): New function.
4199 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4200 error-file-not-found and define with define-error.
4201 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4202 and define with define-error.
4203 * userlock.el (file-locked, file-supersession):
4204 * simple.el (mark-inactive):
4205 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4206 * progmodes/ada-mode.el (ada-mode-errors):
4207 * play/life.el (life-extinct):
4208 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4209 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4210 * nxml/rng-util.el (rng-error):
4211 * nxml/rng-uri.el (rng-uri-error):
4212 * nxml/rng-match.el (rng-compile-error):
4213 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4214 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4215 * nxml/nxml-rap.el (nxml-scan-error):
4216 * nxml/nxml-outln.el (nxml-outline-error):
4217 * net/soap-client.el (soap-error):
4218 * net/gnutls.el (gnutls-error):
4219 * net/ange-ftp.el (ftp-error):
4220 * mpc.el (mpc-proc-error):
4221 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4222 (json-number-format, json-string-escape, json-string-format)
4223 (json-key-format, json-object-format):
4224 * jka-compr.el (compression-error):
4225 * international/quail.el (quail-error):
4226 * international/kkc.el (kkc-error):
4227 * emacs-lisp/ert.el (ert-test-failed):
4228 * calc/calc.el (calc-error, inexact-result, math-overflow)
4229 (math-underflow):
4230 * bookmark.el (bookmark-error-no-filename):
4231 * epg.el (epg-error): Define with define-error.
4232
4233 * time.el (display-time-event-handler)
4234 (display-time-next-load-average): Don't call sit-for since it seems
4235 unnecessary (bug#15045).
4236
4237 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4238 Use #' instead of ' to quote functions.
4239 (checkdoc-output-mode): Use setq-local.
4240 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4241 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4242 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4243 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4244 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4245 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4246 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4247 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4248
4249 * ido.el (ido-completion-help): Fix up compiler warning.
4250
4251 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4252
4253 * frameset.el (frameset-p): Add autoload cookie.
4254 (frameset--jump-to-register): New function, based on code moved from
4255 register.el.
4256 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4257
4258 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4259 (frameset-restore, frameset-save, frameset-session-filter-alist):
4260 Remove declarations.
4261 (register-alist): Doc fix.
4262 (frameset-to-register): Move to frameset.el.
4263 (jump-to-register, describe-register-1): Remove frameset-specific code.
4264
4265 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4266
4267 * allout-widgets.el (allout-widgets-pre-command-business)
4268 (allout-widgets-post-command-business)
4269 (allout-widgets-after-change-handler)
4270 (allout-decorate-item-and-context, allout-set-boundary-marker)
4271 (allout-body-modification-handler)
4272 (allout-graphics-modification-handler): Mark ignored arguments.
4273 (allout-widgets-post-command-business)
4274 (allout-widgets-exposure-change-processor)
4275 (allout-widgets-exposure-undo-processor)
4276 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4277 (allout-parse-item-at-point, allout-decorate-item-guides)
4278 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4279 * allout.el (epa-passphrase-callback-function): Declare.
4280 (allout-overlay-insert-in-front-handler)
4281 (allout-overlay-interior-modification-handler)
4282 (allout-isearch-end-handler, allout-chart-siblings)
4283 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4284 (allout-yank-processing, allout-process-exposed)
4285 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4286 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4287 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4288 (lisp-indent-defform): Mark ignored arguments.
4289 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4290 (calculate-lisp-indent): Remove unused variables.
4291 * international/characters.el (indian-2-column, arabic-2-column)
4292 (tibetan): Mark ignored arguments.
4293 (use-cjk-char-width-table): Mark ignored arguments.
4294 Remove unused variables.
4295 * international/fontset.el (build-default-fontset-data)
4296 (x-compose-font-name, create-fontset-from-fontset-spec):
4297 Mark ignored arguments.
4298 (fontset-plain-name): Remove unused variables.
4299 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4300 (keyboard-coding-system): Mark ignored arguments.
4301 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4302 * help.el (resize-temp-buffer-window):
4303 * window.el (display-buffer-in-major-side-window)
4304 (display-buffer-in-side-window, display-buffer-in-previous-window):
4305 Remove unused variables.
4306 * isearch.el (isearch-forward-symbol):
4307 * version.el (emacs-bzr-version-bzr):
4308 * international/mule-cmds.el (current-language-environment):
4309 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4310 (x-handle-display):
4311 * term/pc-win.el (x-list-fonts, x-display-planes)
4312 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4313 (x-server-version, x-display-screens, x-display-mm-height)
4314 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4315 (x-selection-owner-p, x-own-selection-internal)
4316 (x-disown-selection-internal, x-get-selection-internal)
4317 (msdos-initialize-window-system):
4318 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4319 * term/x-win.el (x-handle-no-bitmap-icon):
4320 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4321 (vc-default-find-file-hook, vc-default-extra-menu):
4322 Mark ignored arguments.
4323
4324 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4325
4326 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4327 break-condition in the context of the debugged code (bug#12685).
4328
4329 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4330
4331 * comint.el:
4332 Do not use an overlay to highlight the last prompt. (Bug#14744)
4333 (comint-mode): Make comint-last-prompt buffer local.
4334 (comint-last-prompt): New variable.
4335 (comint-last-prompt-overlay): Remove. Superseded by
4336 comint-last-prompt.
4337 (comint-snapshot-last-prompt, comint-output-filter):
4338 Use comint-last-prompt.
4339
4340 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4341
4342 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4343 (frameset-save): Check validity of the resulting frameset.
4344
4345 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4346
4347 * ido.el (ido-record-command): Add doc string.
4348
4349 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4350
4351 * frameset.el (frameset): Do not disable creation of the default
4352 frameset-p predicate. Doc fix.
4353 (frameset-valid-p): New function, copied from the old predicate-p.
4354 Add additional checks.
4355 (frameset-restore): Check with frameset-valid-p.
4356 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4357 (frameset-name, frameset-description, frameset-properties)
4358 (frameset-states): Add docstring.
4359 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4360 (frameset-filter-alist): Doc fixes.
4361
4362 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4363
4364 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4365
4366 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4367
4368 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4369 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4370 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4371 (byte-compile-normal-call): Remove obsolescence check.
4372
4373 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4374
4375 * frameset.el (frameset-restore): Doc fix.
4376
4377 * register.el (frameset-frame-id, frameset-frame-with-id)
4378 (frameset-p, frameset-restore, frameset-save): Declare.
4379 (register-alist): Document framesets.
4380 (frameset-session-filter-alist): Declare.
4381 (frameset-to-register): New function.
4382 (jump-to-register): Implement jumping to framesets. Doc fix.
4383 (describe-register-1): Describe framesets.
4384
4385 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4386
4387 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4388
4389 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4390 Use lexical-binding.
4391
4392 * frameset.el (frameset): Use type vector, not list (incompatible
4393 change). Do not declare a new constructor, use the default one.
4394 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4395 `name' and `description', respectively, and add read-only slot
4396 `timestamp'. Doc fixes.
4397 (frameset-copy, frameset-persistent-filter-alist)
4398 (frameset-filter-alist, frameset-switch-to-gui-p)
4399 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4400 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4401 (frameset-filter-iconified, frameset-keep-original-display-p):
4402 Doc fixes.
4403 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4404 Rename from frameset-filter-(save|restore)-param. All callers changed.
4405 Doc fix.
4406 (frameset-p): Adapt to change to vector and be more thorough.
4407 Change arg name to OBJECT. Doc fix.
4408 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4409 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4410 All callers changed.
4411 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4412 All callers changed.
4413 (frameset--record-minibuffer-relationships): Rename from
4414 frameset--process-minibuffer-frames. All callers changed.
4415 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4416 Use new default constructor (again). Doc fix.
4417 (frameset--find-frame-if): Rename from `frameset--find-frame.
4418 All callers changed.
4419 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4420 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4421 Doc fix.
4422 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4423 PARAMETERS and WINDOW-STATE, respectively.
4424 (frameset-restore): Add new keyword argument PREDICATE.
4425 Reset frameset--target-display to nil. Doc fix.
4426
4427 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4428
4429 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4430 (bat-mode): Use it.
4431 (bat-mode-syntax-table): Mark \n as end-of-comment.
4432 (bat-font-lock-keywords): Remove comment rule.
4433
4434 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4435 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4436
4437 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4438 (byte-compile-callargs-warn): Use `push'.
4439 (byte-compile-arglist-warn): Ignore higher-order "calls".
4440 (byte-compile-file-form-autoload): Use `pcase'.
4441 (byte-compile-function-form): If quoting a symbol, check that it exists.
4442
4443 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4444
4445 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4446 and add a few popular commands found in batch files.
4447 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4448 (dos-mode): Doc fixes.
4449
4450 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4451
4452 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4453 (dos-mode): Use setq-local. Add space after "rem".
4454 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4455 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4456
4457 2013-08-07 Arni Magnusson <arnima@hafro.is>
4458
4459 * progmodes/dos.el: New file.
4460 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4461 dos-mode.
4462
4463 2013-08-06 Glenn Morris <rgm@gnu.org>
4464
4465 * calendar/calendar.el: Add new faces, and day-header-array.
4466 (calendar-weekday-header, calendar-weekend-header)
4467 (calendar-month-header): New faces.
4468 (calendar-day-header-construct): New function.
4469 (calendar-day-header-width): Also :set calendar-day-header-array.
4470 (calendar-american-month-header, calendar-european-month-header)
4471 (calendar-iso-month-header): Use calendar- faces.
4472 (calendar-generate-month):
4473 Use calendar-day-header-array for day headers; apply faces to them.
4474 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4475 (calendar-abbrev-construct): Add optional maxlen argument.
4476 (calendar-day-name-array): Doc fix.
4477 (calendar-day-name-array, calendar-abbrev-length)
4478 (calendar-day-abbrev-array):
4479 Also :set calendar-day-header-array, and maybe redraw.
4480 (calendar-day-header-array): New option. (Bug#15007)
4481 (calendar-font-lock-keywords): Set to nil and make obsolete.
4482 (calendar-day-name): Add option to use header array.
4483
4484 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4485
4486 * net/shr.el (shr-render-td): Remove debugging.
4487 (shr-render-td): Make width computation consistent by defaulting
4488 all zero-width columns to 10 characters. This may not be optimal,
4489 but it's at least consistent.
4490 (shr-make-table-1): Redo last change to fix the real problem in
4491 colspan handling.
4492
4493 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4494
4495 * files.el (cache-long-line-scans):
4496 Make obsolete alias to `cache-long-scans'.
4497
4498 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4499
4500 * frameset.el (frameset, frameset-filter-alist)
4501 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4502 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4503 (frameset-compute-pos): Rename from frameset--compute-pos,
4504 and add docstring.
4505 (frameset-move-onscreen): Use frameset-compute-pos.
4506 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4507
4508 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4509 Fix typos in docstrings.
4510
4511 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4512
4513 * frame.el (get-other-frame): Tiny cleanup.
4514
4515 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4516
4517 * vc/vc.el (vc-default-ignore-completion-table):
4518 Silence byte-compiler warning.
4519
4520 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4521 slot , which can indeed be nil.
4522 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4523 Move entry for `left' from persistent to live filter alist.
4524 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4525 Doc fixes.
4526 (frameset-filter-params): When restoring a frame, copy items added to
4527 `filtered', to avoid unwittingly modifying the original parameters.
4528 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4529 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4530
4531 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4532 to use looking-at-p instead of looking-at. (Bug#15028)
4533
4534 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4535
4536 Revert introduction of isearch-filter-predicates (bug#14714).
4537 Rely on add-function instead.
4538 * isearch.el (isearch-filter-predicates): Rename it back to
4539 isearch-filter-predicate.
4540 (isearch-message-prefix): Use advice-function-mapc and advice
4541 properties to get the isearch-message-prefix.
4542 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4543 instead of run-hook-with-args-until-failure.
4544 (isearch-filter-visible): Not obsolete any more.
4545 * loadup.el: Preload nadvice.
4546 * replace.el (perform-replace): Revert to funcall
4547 instead of run-hook-with-args-until-failure.
4548 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4549 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4550 dired-isearch-filenames-toggle; make it into a proper minor mode.
4551 Use add/remove-function.
4552 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4553 Call the minor-mode rather than add/remove-hook.
4554 (dired-isearch-filter-filenames):
4555 Remove isearch-message-prefix property.
4556 * info.el (Info--search-loop): New function, extracted from Info-search.
4557 Funcall isearch-filter-predicate instead of
4558 run-hook-with-args-until-failure isearch-filter-predicates.
4559 (Info-search): Use it.
4560 (Info-mode): Use isearch-filter-predicate instead of
4561 isearch-filter-predicates.
4562
4563 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4564
4565 Do not call to `selected-window' where it is assumed by default.
4566 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4567 `window-hscroll', `window-width', `window-height', `window-buffer',
4568 `window-frame', `window-start', `window-point', `next-window'
4569 and `window-display-table'.
4570 * abbrev.el (abbrev--default-expand):
4571 * bs.el (bs--show-with-configuration):
4572 * buff-menu.el (Buffer-menu-mouse-select):
4573 * calc/calc.el (calc):
4574 * calendar/calendar.el (calendar-generate-window):
4575 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4576 (diary-make-entry):
4577 * comint.el (send-invisible, comint-dynamic-complete-filename)
4578 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4579 * completion.el (complete):
4580 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4581 * disp-table.el (describe-current-display-table):
4582 * doc-view.el (doc-view-insert-image):
4583 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4584 * ehelp.el (with-electric-help):
4585 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4586 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4587 * emacs-lisp/helper.el (Helper-help-scroller):
4588 * emulation/cua-base.el (cua--post-command-handler-1):
4589 * eshell/esh-mode.el (eshell-output-filter):
4590 * ffap.el (ffap-gnus-wrapper):
4591 * help-macro.el (make-help-screen):
4592 * hilit-chg.el (highlight-compare-buffers):
4593 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4594 * hl-line.el (global-hl-line-highlight):
4595 * icomplete.el (icomplete-simple-completing-p):
4596 * isearch.el (isearch-done):
4597 * jit-lock.el (jit-lock-stealth-fontify):
4598 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4599 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4600 * mpc.el (mpc-tagbrowser, mpc):
4601 * net/rcirc.el (rcirc-any-buffer):
4602 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4603 * play/landmark.el (landmark-max-width, landmark-max-height):
4604 * play/zone.el (zone):
4605 * progmodes/compile.el (compilation-goto-locus):
4606 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4607 * progmodes/etags.el (find-tag-other-window):
4608 * progmodes/fortran.el (fortran-column-ruler):
4609 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4610 * progmodes/verilog-mode.el (verilog-point-text):
4611 * reposition.el (reposition-window):
4612 * rot13.el (toggle-rot13-mode):
4613 * server.el (server-switch-buffer):
4614 * shell.el (shell-dynamic-complete-command)
4615 (shell-dynamic-complete-environment-variable):
4616 * simple.el (insert-buffer, set-selective-display)
4617 (delete-completion-window):
4618 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4619 (speedbar-recenter):
4620 * startup.el (fancy-splash-head):
4621 * textmodes/ispell.el (ispell-command-loop):
4622 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4623 * tutorial.el (help-with-tutorial):
4624 * vc/add-log.el (add-change-log-entry):
4625 * vc/compare-w.el (compare-windows):
4626 * vc/ediff-help.el (ediff-indent-help-message):
4627 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4628 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4629 (ediff-setup-control-frame):
4630 * vc/emerge.el (emerge-position-region):
4631 * vc/pcvs-util.el (cvs-bury-buffer):
4632 * window.el (walk-windows, mouse-autoselect-window-select):
4633 * winner.el (winner-set-conf, winner-undo): Related users changed.
4634
4635 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4636
4637 * frameset.el (frameset--set-id): Doc fix.
4638 (frameset-frame-id, frameset-frame-id-equal-p)
4639 (frameset-locate-frame-id): New functions.
4640 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4641 (frameset-restore): Use them.
4642
4643 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4644
4645 Do not call to `selected-frame' where it is assumed by default.
4646 Affected functions are `raise-frame', `redraw-frame',
4647 `frame-first-window', `frame-terminal' and `delete-frame'.
4648 * calendar/appt.el (appt-disp-window):
4649 * epg.el (epg-wait-for-completion):
4650 * follow.el (follow-delete-other-windows-and-split)
4651 (follow-avoid-tail-recenter):
4652 * international/mule.el (set-terminal-coding-system):
4653 * mail/rmail.el (rmail-mail-return):
4654 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4655 * progmodes/f90.el (f90-add-imenu-menu):
4656 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4657 * server.el (server-switch-buffer):
4658 * simple.el (delete-completion-window):
4659 * talk.el (talk):
4660 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4661 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4662 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4663 * vc/ediff.el (ediff-documentation): Related users changed.
4664 * frame.el (selected-terminal): Remove the leftover.
4665
4666 2013-08-05 Glenn Morris <rgm@gnu.org>
4667
4668 * calendar/calendar.el (calendar-generate-month):
4669 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4670 (calendar-generate-month, calendar-font-lock-keywords):
4671 Fix for calendar-day-header-width > length of any day name.
4672
4673 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4674
4675 * desktop.el (desktop-clear): Use new name of sort predicate.
4676
4677 * frameset.el (frameset): Add docstring. Move :version property to its
4678 own `version' slot.
4679 (frameset-copy): Rename from copy-frameset.
4680 (frameset-p): Check more thoroughly.
4681 (frameset-prop): Do not check for :version, which is no longer a prop.
4682 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4683 Use new :never value instead of t.
4684 (frameset-filter-alist): Expand and clarify docstring.
4685 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4686 (frameset-filter-minibuffer, frameset-filter-save-param)
4687 (frameset-filter-restore-param, frameset-filter-iconified):
4688 Add pointer to docstring of frameset-filter-alist.
4689 (frameset-filter-params): Rename filter values to be more meaningful:
4690 :never instead of t, and reverse the meanings of :save and :restore.
4691 (frameset--process-minibuffer-frames): Clarify error message.
4692 (frameset-save): Avoid unnecessary and confusing call to framep.
4693 Use new BOA constructor for framesets.
4694 (frameset--reuse-list): Doc fix.
4695 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4696 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4697 (frameset-minibufferless-first-p): Doc fix.
4698 Rename from frameset-sort-frames-for-deletion.
4699 (frameset-restore): Doc fixes. Use new function names.
4700 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4701
4702 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4703
4704 * desktop.el (desktop-restore-forces-onscreen)
4705 (desktop-restore-reuses-frames): Document :keyword constant values.
4706 (desktop-filter-parameters-alist): Remove, now identical to
4707 frameset-filter-alist.
4708 (desktop--filter-tty*): Remove, moved to frameset.el.
4709 (desktop-save-frameset, desktop-restore-frameset):
4710 Do not pass :filters argument.
4711
4712 * frameset.el (frameset-live-filter-alist)
4713 (frameset-persistent-filter-alist): New variables.
4714 (frameset-filter-alist): Use them. Add autoload cookie.
4715 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4716 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4717 `frameset--id' (it's supposed to be internal to frameset.el).
4718 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4719 (frameset--initial-params): New function.
4720 (frameset--get-frame): Use it. Doc fix.
4721 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4722 Accept :all, not 'all.
4723 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4724 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4725 with fbound symbols. Fix frame id matching, and remove matching ids if
4726 the frame being restored is deleted. Obey :delete.
4727
4728 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4729
4730 * subr.el (macrop): New function.
4731 (text-clone--maintaining): New var.
4732 (text-clone--maintain): Rename from text-clone-maintain. Use it
4733 instead of inhibit-modification-hooks.
4734
4735 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4736 a proxy, so as handle autoloads and redefinitions of the target.
4737 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4738
4739 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4740 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4741 (pcase--mutually-exclusive-p): New function.
4742 (pcase--split-consp): Use it.
4743 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4744 mutually exclusive with the current predicate.
4745
4746 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4747 (edebug-macrop): Remove. Use `macrop' instead.
4748 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4749 (ad-macro-p):
4750 * eshell/esh-cmd.el (eshell-macrop):
4751 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4752
4753 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4754
4755 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4756 (advice-mapc): New function, using it.
4757 (advice-function-member-p): New function.
4758 (advice--normalize): Store the cdr in advice--saved-rewrite since
4759 that's the part that will be changed.
4760 (advice--symbol-function): New function.
4761 (advice-remove): Handle removal before the function is defined.
4762 Adjust to new advice--saved-rewrite.
4763 (advice-member-p): Use advice-function-member-p and
4764 advice--symbol-function.
4765
4766 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4767
4768 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4769 (frameset-filter-minibuffer): Doc fix.
4770 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4771 (frameset--set-id, frameset--process-minibuffer-frames)
4772 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4773 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4774
4775 * desktop.el (desktop-clear): Only delete frames when called
4776 interactively and desktop-restore-frames is non-nil. Doc fix.
4777 (desktop-read): Set desktop-saved-frameset to nil.
4778
4779 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4780
4781 * vc/vc.el (vc-ignore): Rewrite.
4782 (vc-default-ignore-completion-table):
4783 (vc--read-lines):
4784 (vc--add-line, vc--remove-regexp): New functions.
4785
4786 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4787 (vc-svn-ignore-completion-table): New function.
4788
4789 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4790 (vc-hg-ignore-completion-table):
4791 (vc-hg-find-ignore-file): New functions.
4792
4793 * vc/vc-git.el (vc-git-ignore): Rewrite.
4794 (vc-git-ignore-completion-table):
4795 (vc-git-find-ignore-file): New functions.
4796
4797 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4798
4799 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4800 (vc-bzr-ignore-completion-table):
4801 (vc-bzr-find-ignore-file): New functions.
4802
4803 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4804
4805 * frameset.el (frameset-prop): New function and setter.
4806 (frameset-save): Do not modify frame list passed by the caller.
4807
4808 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4809
4810 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4811
4812 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4813
4814 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4815 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4816
4817 * custom.el (custom-initialize-default, custom-initialize-set)
4818 (custom-initialize-reset, custom-initialize-changed): Affect the
4819 toplevel-default-value (bug#6275, bug#14586).
4820 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4821 for bug#6275.
4822
4823 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4824
4825 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4826 Add cl-def* expressions.
4827
4828 * frameset.el (frameset-filter-params): Fix order of arguments.
4829
4830 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4831
4832 Move code related to saving frames to frameset.el.
4833 * desktop.el: Require frameset.
4834 (desktop-restore-frames): Doc fix.
4835 (desktop-restore-reuses-frames): Rename from
4836 desktop-restoring-reuses-frames.
4837 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4838 (desktop-clear): Clear frames too.
4839 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4840 (desktop--filter-tty*, desktop-save, desktop-read):
4841 Use frameset functions.
4842 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4843 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4844 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4845 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4846 (desktop--process-minibuffer-frames, desktop-save-frames)
4847 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4848 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4849 (desktop--sort-states, desktop-restoring-frames-p)
4850 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4851 (desktop-restoring-frameset-p, desktop-restore-frameset)
4852 (desktop--check-dont-save, desktop-save-frameset): New functions.
4853 (desktop--app-id): New constant.
4854 (desktop-first-buffer, desktop-buffer-ok-count)
4855 (desktop-buffer-fail-count): Move before first use.
4856 * frameset.el: New file.
4857
4858 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4859
4860 * files.el: Use lexical-binding.
4861 (dir-locals-read-from-file): Remove unused `err' variable.
4862 (hack-dir-local-variables--warned-coding): New var.
4863 (hack-dir-local-variables): Use it to avoid repeated warnings.
4864 (make-backup-file-name--default-function): New function.
4865 (make-backup-file-name-function): Use it as default.
4866 (buffer-stale--default-function): New function.
4867 (buffer-stale-function): Use it as default.
4868 (revert-buffer-insert-file-contents--default-function): New function.
4869 (revert-buffer-insert-file-contents-function): Use it as default.
4870 (insert-directory): Avoid add-to-list.
4871
4872 * autorevert.el (auto-revert-handler): Simplify.
4873 Use buffer-stale--default-function.
4874
4875 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4876
4877 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4878
4879 * whitespace.el (whitespace-ensure-local-variables): New function.
4880 (whitespace-cleanup-region): Call it.
4881 (whitespace-turn-on): Call it.
4882
4883 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4884
4885 Complete file name handlers.
4886
4887 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4888 (tramp-handle-verify-visited-file-modtime)
4889 (tramp-handle-file-notify-rm-watch): New functions.
4890 (tramp-call-process): Do not bind `default-directory'.
4891
4892 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4893 Order alphabetically.
4894 [access-file, add-name-to-file, dired-call-process]:
4895 [dired-compress-file, file-acl, file-notify-rm-watch]:
4896 [file-ownership-preserved-p, file-selinux-context]:
4897 [make-directory-internal, make-symbolic-link, set-file-acl]:
4898 [set-file-selinux-context, set-visited-file-modtime]:
4899 [verify-visited-file-modtime]: Add handler.
4900 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4901
4902 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4903 [file-notify-add-watch, file-notify-rm-watch]:
4904 [set-file-times, set-visited-file-modtime]:
4905 [verify-visited-file-modtime]: Add handler.
4906 (with-tramp-gvfs-error-message)
4907 (tramp-gvfs-handle-set-visited-file-modtime)
4908 (tramp-gvfs-fuse-file-name): Remove.
4909 (tramp-gvfs-handle-file-notify-add-watch)
4910 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4911 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4912
4913 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4914 Order alphabetically.
4915 [file-notify-rm-watch ]: Use default Tramp handler.
4916 [executable-find]: Remove private handler.
4917 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4918 `default-directory'.
4919 (tramp-sh-handle-executable-find)
4920 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4921 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4922 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4923 Do not use `format' in `tramp-message'.
4924
4925 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4926 [file-notify-rm-watch, set-visited-file-modtime]:
4927 [verify-visited-file-modtime]: Add handler.
4928 (tramp-smb-call-winexe): Do not bind `default-directory'.
4929
4930 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4931
4932 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4933
4934 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4935
4936 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4937 use it.
4938 (log-view-diff-changeset): Same.
4939 (log-view-diff-common): Call backend command `previous-revision'
4940 to find out the previous revision, in both cases. Swap the
4941 variables `to' and `fr', so that `fr' usually refers to the
4942 earlier revision (Bug#14989).
4943
4944 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
4945
4946 * ibuf-ext.el (ibuffer-filter-by-filename):
4947 Make it work with dired buffers too.
4948
4949 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4950
4951 * emacs-lisp/re-builder.el (reb-color-display-p):
4952 * files.el (save-buffers-kill-terminal):
4953 * net/browse-url.el (browse-url):
4954 * server.el (server-save-buffers-kill-terminal):
4955 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4956 Prefer nil to selected-frame for the first arg of frame-parameter.
4957
4958 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4959
4960 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4961
4962 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
4963
4964 * minibuffer.el (completion--twq-all): Try and preserve each
4965 completion's case choice (bug#14907).
4966
4967 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4968
4969 * net/network-stream.el (open-network-stream): Mention the new
4970 :nogreeting parameter.
4971 (network-stream-open-starttls): Use the :nogreeting parameter
4972 (bug#14938).
4973
4974 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4975
4976 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4977 more natural than popping.
4978
4979 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4980 (shr-urlify): Highlight under mouse.
4981
4982 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4983
4984 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4985
4986 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4987
4988 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4989 buffer for output.
4990
4991 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4992 point-min==1. Fix search string. Fix parentheses missing.
4993
4994 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
4995 assume point-min==1. Fix search string. Fix parentheses missing.
4996
4997 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4998
4999 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5000 buffer for output.
5001
5002 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5003
5004 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5005 initial frame is minibuffer-less. (Bug#14841)
5006
5007 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5008
5009 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5010 option.
5011
5012 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5013 (tramp-maybe-open-connection): Use it.
5014
5015 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5016
5017 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5018 minimal set of parameters passed when creating a frame, because
5019 the minibuffer status of a frame cannot be changed later.
5020
5021 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5022
5023 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5024 replace-regexp-in-string and inadvertent omissions in previous change.
5025 (todo-filter-items): Ensure only file names are comma-separated in
5026 name of filtered items buffer.
5027
5028 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5029
5030 * desktop.el: Optionally force offscreen frames back onscreen.
5031 (desktop-restoring-reuses-frames): New option.
5032 (desktop--compute-pos, desktop--move-onscreen): New functions.
5033 (desktop--make-frame): Use desktop--move-onscreen.
5034
5035 2013-07-27 Alan Mackenzie <acm@muc.de>
5036
5037 Fontify a Java generic method as a function.
5038 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5039 value to t.
5040
5041 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5042
5043 * calendar/todo-mode.el: Add command to rename todo files.
5044 (todo-rename-file): New command.
5045 (todo-key-bindings-t): Add key binding for it. Change the
5046 bindings of todo-filter-regexp-items(-multifile) to use `x'
5047 instead of `r', since the latter is better suited to the new
5048 renaming command.
5049
5050 2013-07-27 Alan Mackenzie <acm@muc.de>
5051
5052 Make Java try-with-resources statement parse properly.
5053 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5054 (c-block-stmt-1-2-key): New language constants/variables.
5055 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5056 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5057 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5058 with c-block-stmt-1-2-key.
5059
5060 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5061
5062 * desktop.el (desktop--make-frame): Apply most frame parameters after
5063 creating the frame to force (partially or totally) offscreen frames to
5064 be restored as such.
5065
5066 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5067
5068 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5069 (Bug#14948)
5070
5071 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5072
5073 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5074 `base' arg of backtrace-frame.
5075
5076 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5077
5078 * simple.el (list-processes): Doc fix.
5079
5080 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5081
5082 * desktop.el (desktop--select-frame):
5083 Try harder to reuse existing frames.
5084
5085 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5086
5087 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5088 (edebug-eval): Use backtrace-eval.
5089 (edebug--display, edebug--recursive-edit): Don't let-bind the
5090 edebug-outer-* vars that keep track of variables we locally let-bind.
5091 (edebug-outside-excursion): Don't restore outside values of locally
5092 let-bound vars.
5093 (edebug--display): Use user-error.
5094 (cl-lexical-debug, cl-debug-env): Remove.
5095
5096 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5097
5098 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5099 are restored to be sure that they are visible before deleting any
5100 remaining ones.
5101
5102 2013-07-26 Matthias Meulien <orontee@gmail.com>
5103
5104 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5105 vc-print-root-log. (Bug#14948)
5106
5107 2013-07-26 Richard Stallman <rms@gnu.org>
5108
5109 Add aliases for encrypting mail.
5110 * epa.el (epa-mail-aliases): New option.
5111 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5112 Bind inhibit-read-only so read-only text doesn't ruin everything.
5113 (epa-mail-default-recipients): New subroutine broken out.
5114 Handle epa-mail-aliases.
5115
5116 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5117
5118 Add support for lexical variables to the debugger's `e' command.
5119 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5120 vars, except for debugger-outer-match-data.
5121 (debugger-frame-number): Move check for "on a function call" from
5122 callers into it. Add `skip-base' argument.
5123 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5124 (debugger-env-macro): Only reset the state stored in non-variables,
5125 i.e. current-buffer and match-data.
5126 (debugger-eval-expression): Rewrite using backtrace-eval.
5127 * subr.el (internal--called-interactively-p--get-frame): Remove.
5128 (called-interactively-p):
5129 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5130 `base' arg of backtrace-frame instead.
5131
5132 2013-07-26 Glenn Morris <rgm@gnu.org>
5133
5134 * align.el (align-regexp): Doc fix. (Bug#14857)
5135 (align-region): Explicit error if subexpression missing/does not match.
5136
5137 * simple.el (global-visual-line-mode):
5138 Do not duplicate the mode lighter. (Bug#14858)
5139
5140 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5141
5142 * window.el (display-buffer): In display-buffer bind
5143 split-window-keep-point to t, bug#14829.
5144
5145 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5146
5147 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5148 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5149 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5150 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5151 Change accordingly.
5152 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5153 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5154
5155 2013-07-25 Glenn Morris <rgm@gnu.org>
5156
5157 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5158
5159 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5160
5161 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5162 parameter to modify-frame-parameters if the value has not changed;
5163 this is a workaround for bug#14949.
5164 (desktop--make-frame): On cl-delete-if call, check parameter name,
5165 not full parameter.
5166
5167 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5168
5169 * vc/vc.el (vc-ignore): New function.
5170
5171 * vc/vc-svn.el (vc-svn-ignore): New function.
5172
5173 * vc/vc-hg.el (vc-hg-ignore): New function.
5174
5175 * vc/vc-git.el (vc-git-ignore): New function.
5176
5177 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5178 (vc-dir-ignore): New function.
5179
5180 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5181 (cvs-append-to-ignore): Move here from pcvs.el.
5182
5183 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5184
5185 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5186
5187 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5188
5189 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5190 (desktop-restore-frames): Warn when deleting an existing frame failed.
5191
5192 2013-07-24 Glenn Morris <rgm@gnu.org>
5193
5194 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5195
5196 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5197
5198 * filenotify.el (file-notify-supported-p):
5199 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5200 Remove functions.
5201
5202 * autorevert.el (auto-revert-use-notify):
5203 (auto-revert-notify-add-watch):
5204 * net/tramp.el (tramp-file-name-for-operation):
5205 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5206 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5207 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5208 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5209 Remove `file-notify-supported-p' entry.
5210
5211 2013-07-24 Glenn Morris <rgm@gnu.org>
5212
5213 * printing.el: Replace all uses of deleted ps-windows-system,
5214 ps-lp-system, ps-flatten-list with lpr- versions.
5215
5216 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5217
5218 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5219 checked with memq (bug#14935).
5220
5221 * files.el (revert-buffer-function): Use a non-nil default.
5222 (revert-buffer-preserve-modes): Declare var to
5223 provide access to the `preserve-modes' argument.
5224 (revert-buffer): Let-bind it.
5225 (revert-buffer--default): New function, extracted from revert-buffer.
5226
5227 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5228
5229 * lpr.el: Signal print errors more prominently.
5230 (print-region-function): Don't default to nil.
5231 (lpr-print-region): New function, extracted from print-region-1.
5232 Check lpr's return value and signal an error in case of problem.
5233 (print-region-1): Use it.
5234 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5235 versions instead.
5236 (ps-printer-name): Default to nil.
5237 (ps-printer-name-option): Default to lpr-printer-switch.
5238 (ps-print-region-function): Don't default to nil.
5239 (ps-postscript-code-directory): Simplify default.
5240 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5241 (ps-string-list, ps-eval-switch, ps-flatten-list)
5242 (ps-flatten-list-1): Remove.
5243 (ps-multibyte-buffer): Avoid setq.
5244 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5245 (print-region-function, ps-print-region-function): Don't set them here.
5246
5247 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5248
5249 * ido.el (ido-fractionp):
5250 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5251 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5252 (ido-max-directory-size, ido-max-dir-file-cache)
5253 (ido-decorations): Doc fix.
5254
5255 * ansi-color.el: Fix old URL.
5256
5257 2013-07-23 Michael R. Mauger <michael@mauger.com>
5258
5259 * progmodes/sql.el: Version 3.3
5260 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5261 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5262 (sql-interactive-remove-continuation-prompt): Rewrite, use
5263 functions above. Fix continuation prompt and complete output line
5264 handling.
5265 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5266 redirected output buffer.
5267 (sql-mode): Restore deleted code (Bug#13591).
5268
5269 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5270
5271 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5272
5273 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5274
5275 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5276
5277 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5278 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5279 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5280
5281 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5282
5283 * desktop.el (desktop-clear): Simplify; remove useless checks
5284 against invalid buffer names.
5285 (desktop-list*): Use cl-list*.
5286 (desktop-buffer-info, desktop-create-buffer): Simplify.
5287
5288 2013-07-23 Leo Liu <sdl.web@gmail.com>
5289
5290 * bookmark.el (bookmark-make-record): Restore NAME as a default
5291 value. (Bug#14933)
5292
5293 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5294
5295 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5296 extracted from autoload--insert-text.
5297 (autoload--insert-text): Remove.
5298 (autoload--print-cookie-text): New function, extracted from
5299 autoload--insert-cookie-text.
5300 (autoload--insert-cookie-text): Remove.
5301 (autoload-generate-file-autoloads): Adjust calls accordingly.
5302
5303 * winner.el (winner-hook-installed-p): Remove.
5304 (winner-mode): Simplify accordingly.
5305
5306 * subr.el (add-to-list): Fix compiler-macro when `append' is
5307 not constant. Don't use `cl-member' for the base case.
5308
5309 * progmodes/subword.el: Fix boundary case (bug#13758).
5310 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5311 own group.
5312 (subword-backward-regexp): Make it a constant.
5313 (subword-forward-internal): Don't treat a trailing capital as the
5314 beginning of a word.
5315
5316 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5317
5318 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5319 global value of tabulated-list-revert-hook (bug#14930).
5320
5321 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5322
5323 * desktop.el: Require 'cl-lib.
5324 (desktop-before-saving-frames-functions): New hook.
5325 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5326 for frames being saved. Rename from desktop--save-minibuffer-frames.
5327 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5328 Do not save frames with non-nil `desktop-dont-save' parameter.
5329 Filter out deleted frames.
5330 (desktop--find-frame): Use cl-find-if.
5331 (desktop--select-frame): Use cl-(first|second|third) to access values
5332 of desktop-mini.
5333 (desktop--make-frame): Use cl-delete-if.
5334 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5335 (desktop-restore-frames): Use cl-(first|second|third) to access values
5336 of desktop-mini. Look for visible frame at the end, not while
5337 restoring frames.
5338
5339 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5340 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5341 Use string-match-p, looking-at-p (bug#14927).
5342
5343 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5344
5345 * desktop.el (desktop-saved-frame-states):
5346 Rename from desktop--saved-states; all users changed.
5347 (desktop-save-frames): Rename from desktop--save-frames.
5348 Do not save state to desktop file.
5349 (desktop-save): Save desktop-saved-frame-states to desktop file
5350 and reset to nil.
5351 (desktop-restoring-frames-p): New function.
5352 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5353 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5354 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5355
5356 * desktop.el: Correctly restore iconified frames.
5357 (desktop--filter-iconified-position): New function.
5358 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5359
5360 2013-07-20 Glenn Morris <rgm@gnu.org>
5361
5362 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5363 Let `message' do the formatting.
5364 (def-gdb-preempt-display-buffer): Add explicit format.
5365
5366 * image-dired.el (image-dired-track-original-file):
5367 Use with-current-buffer.
5368 (image-dired-track-thumbnail): Use with-current-buffer.
5369 Avoid changing point of wrong window.
5370
5371 * image-dired.el (image-dired-track-original-file):
5372 Avoid changing point of wrong window. (Bug#14909)
5373
5374 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5375
5376 * progmodes/gdb-mi.el (gdb-done-or-error):
5377 Guard against "%" in gdb output. (Bug#14127)
5378
5379 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5380
5381 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5382 (Bug#14826)
5383
5384 * international/mule.el (coding-system-iso-2022-flags): Fix last
5385 change.
5386
5387 2013-07-20 Kenichi Handa <handa@gnu.org>
5388
5389 * international/mule.el (coding-system-iso-2022-flags):
5390 Add `8-bit-level-4'. (Bug#8522)
5391
5392 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5393
5394 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5395 (bug#14815).
5396
5397 * net/eww.el (eww-process-text-input): Allow inputting when the
5398 point is at the start of the line, as the properties aren't
5399 front-sticky.
5400
5401 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5402 degenerate widths.
5403
5404 2013-07-19 Richard Stallman <rms@gnu.org>
5405
5406 * epa.el (epa-popup-info-window): Doc fix.
5407
5408 * subr.el (split-string): New arg TRIM.
5409
5410 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5411
5412 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5413 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5414
5415 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5416
5417 * filenotify.el (file-notify--library): Rename from
5418 `file-notify-support'. Do not autoload. Adapt all uses.
5419 (file-notify-supported-p): New defun.
5420
5421 * autorevert.el (auto-revert-use-notify):
5422 Use `file-notify-supported-p' instead of `file-notify-support'.
5423 Adapt docstring.
5424 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5425
5426 * net/tramp.el (tramp-file-name-for-operation):
5427 Add `file-notify-supported-p'.
5428
5429 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5430 New defun.
5431 (tramp-sh-file-name-handler-alist): Add it as handler for
5432 `file-notify-supported-p '.
5433
5434 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5435 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5436 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5437 Add `ignore' as handler for `file-notify-*' functions.
5438
5439 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5440
5441 * simple.el (line-move-partial, line-move): Don't start vscroll or
5442 scroll-up if the current line is not taller than the window.
5443 (Bug#14881)
5444
5445 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5446
5447 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5448 highlight question marks in the method names as strings.
5449 (ruby-block-beg-keywords): Inline.
5450 (ruby-font-lock-keyword-beg-re): Extract from
5451 `ruby-font-lock-keywords'.
5452
5453 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5454
5455 * frame.el (blink-cursor-blinks): New defcustom.
5456 (blink-cursor-blinks-done): New defvar.
5457 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5458 (blink-cursor-timer-function): Check if number of blinks has been
5459 done on X and NS.
5460 (blink-cursor-suspend, blink-cursor-check): New defuns.
5461
5462 2013-07-15 Glenn Morris <rgm@gnu.org>
5463
5464 * edmacro.el (edmacro-format-keys): Fix previous change.
5465
5466 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5467
5468 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5469 The hack didn't work outside English locales anyway.
5470
5471 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5472
5473 * simple.el (define-alternatives): Rename from alternatives-define,
5474 per RMS' suggestion.
5475
5476 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5477
5478 * desktop.el (desktop-restore-frames): Change default to t.
5479 (desktop-restore-in-current-display): Now offer more options.
5480 (desktop-restoring-reuses-frames): New customization option.
5481 (desktop--saved-states): Doc fix.
5482 (desktop-filter-parameters-alist): New variable, renamed and expanded
5483 from desktop--excluded-frame-parameters.
5484 (desktop--target-display): New variable.
5485 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5486 (desktop--filter-tty*, desktop--filter-*-color)
5487 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5488 (desktop--filter-save-desktop-parm)
5489 (desktop-restore-in-original-display-p): New functions.
5490 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5491 (desktop--save-minibuffer-frames): New function, inspired by a similar
5492 function from Martin Rudalics.
5493 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5494 (desktop--restore-in-this-display-p): Remove.
5495 (desktop--find-frame): Rename from desktop--find-frame-in-display
5496 and add predicate argument.
5497 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5498 (desktop--reuse-list): New variable.
5499 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5500 New functions.
5501 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5502
5503 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5504
5505 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5506
5507 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5508
5509 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5510 Highlight conversion methods on Kernel.
5511
5512 2013-07-13 Alan Mackenzie <acm@muc.de>
5513
5514 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5515 and comment it out. This out-commenting enables certain C++
5516 declarations to be parsed correctly.
5517
5518 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5519
5520 * international/mule.el (define-coding-system): Doc fix.
5521
5522 * simple.el (default-font-height): Don't call font-info if the
5523 frame's default font didn't change since the frame was created.
5524 (Bug#14838)
5525
5526 2013-07-13 Leo Liu <sdl.web@gmail.com>
5527
5528 * ido.el (ido-read-file-name): Guard against non-symbol value.
5529
5530 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5531
5532 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5533 in nested defuns.
5534
5535 2013-07-13 Leo Liu <sdl.web@gmail.com>
5536
5537 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5538 ido-set-matches call. (Bug#6852)
5539
5540 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5541
5542 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5543 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5544 Ruby 2.0.
5545 (ruby-font-lock-keywords): Distinguish calls to functions with
5546 module-like names from module references. Highlight character
5547 literals.
5548
5549 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5550
5551 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5552 (gdb-send): Handle continued commands. (Bug#14847)
5553
5554 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5555
5556 * desktop.el (desktop--v2s): Remove unused local variable.
5557 (desktop-save-buffer): Make defvar-local; adjust docstring.
5558 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5559 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5560
5561 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5562
5563 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5564
5565 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5566
5567 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5568 (Bug#14842)
5569
5570 2013-07-12 Glenn Morris <rgm@gnu.org>
5571
5572 * doc-view.el: Require cl-lib at runtime too.
5573 (doc-view-remove-if): Remove.
5574 (doc-view-search-next-match, doc-view-search-previous-match):
5575 Use cl-remove-if.
5576
5577 * edmacro.el: Require cl-lib at runtime too.
5578 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5579 (edmacro-mismatch, edmacro-subseq): Remove.
5580
5581 * shadowfile.el: Require cl-lib.
5582 (shadow-remove-if): Remove.
5583 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5584 Use cl-remove-if.
5585
5586 * wid-edit.el: Require cl-lib.
5587 (widget-choose): Use cl-remove-if.
5588 (widget-remove-if): Remove.
5589
5590 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5591 (ebrowse-delete-if-not): Remove.
5592 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5593 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5594 Use cl-delete-if-not.
5595
5596 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5597
5598 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5599 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5600
5601 2013-07-12 Leo Liu <sdl.web@gmail.com>
5602
5603 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5604
5605 2013-07-11 Glenn Morris <rgm@gnu.org>
5606
5607 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5608 (edebug-gensym-index, edebug-gensym):
5609 Remove reimplementation of cl-gensym.
5610 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5611
5612 * thumbs.el: Require cl-lib at run-time too.
5613 (thumbs-gensym-counter, thumbs-gensym):
5614 Remove reimplementation of cl-gensym.
5615 (thumbs-temp-file): Use cl-gensym.
5616
5617 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5618 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5619 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5620 (ert--union, ert--gensym-counter, ert--gensym-counter)
5621 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5622 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5623 (ert-make-test-unbound, ert--expand-should-1)
5624 (ert--expand-should, ert--should-error-handle-error)
5625 (should-error, ert--explain-equal-rec)
5626 (ert--plist-difference-explanation, ert-select-tests)
5627 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5628 Use cl-lib functions rather than reimplementations.
5629
5630 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5631
5632 * net/tramp.el (tramp-methods): Extend docstring.
5633 (tramp-connection-timeout): New defcustom.
5634 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5635 (with-tramp-progress-reporter): Simplify.
5636 (tramp-process-actions): Improve messages.
5637
5638 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5639 * net/tramp-sh.el (tramp-maybe-open-connection):
5640 Use `tramp-connection-timeout'.
5641 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5642 (Bug#14808)
5643
5644 2013-07-11 Leo Liu <sdl.web@gmail.com>
5645
5646 * ido.el (ido-read-file-name): Conform to the requirements of
5647 read-file-name. (Bug#11861)
5648 (ido-read-directory-name): Conform to the requirements of
5649 read-directory-name.
5650
5651 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5652
5653 * subr.el (delay-warning): New function.
5654
5655 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5656
5657 * simple.el (default-line-height): New function.
5658 (line-move-partial, line-move): Use it instead of computing the
5659 line height inline.
5660 (line-move-partial): Always compute ROWH. If the last line is
5661 partially-visible, but its text is completely visible, allow
5662 cursor to enter such a partially-visible line.
5663
5664 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5665
5666 Improve error messages. (Bug#14808)
5667
5668 * net/tramp.el (tramp-current-connection): New defvar, moved from
5669 tramp-sh.el.
5670 (tramp-message-show-progress-reporter-message): Remove, not
5671 needed anymore.
5672 (tramp-error-with-buffer): Show message in minibuffer.
5673 Discard input before waiting. Reset connection timestamp.
5674 (with-tramp-progress-reporter): Improve messages.
5675 (tramp-process-actions): Use progress reporter. Delete process in
5676 case of error. Improve messages.
5677
5678 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5679 Call `tramp-error-with-buffer' with vector and buffer.
5680 (tramp-current-connection): Remove.
5681 (tramp-maybe-open-connection): The car of
5682 `tramp-current-connection' are the first 3 slots of the vector.
5683
5684 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5685
5686 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5687 inside continued strings.
5688
5689 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5690
5691 Timestamp fixes for undo (Bug#14824).
5692 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5693
5694 2013-07-10 Leo Liu <sdl.web@gmail.com>
5695
5696 * files.el (require-final-newline): Allow safe local value.
5697 (Bug#14834)
5698
5699 2013-07-09 Leo Liu <sdl.web@gmail.com>
5700
5701 * ido.el (ido-read-directory-name): Handle fallback.
5702 (ido-read-file-name): Update DIR to ido-current-directory.
5703 (Bug#1516)
5704 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5705
5706 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5707
5708 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5709 "autoload". Remove "warn lower camel case" section, previously
5710 commented out. Highlight negation char. Do not highlight the
5711 target in singleton method definitions.
5712
5713 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5714
5715 * faces.el (tty-setup-hook): Declare the hook.
5716
5717 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5718 and detect when a guard/pred depends on local vars (bug#14773).
5719 (pcase--u1): Adjust caller.
5720
5721 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5722
5723 * simple.el (line-move-partial, line-move): Account for
5724 line-spacing.
5725 (line-move-partial): Avoid setting vscroll when the last
5726 partially-visible line in window is of default height.
5727
5728 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5729
5730 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5731 been used a while.
5732
5733 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5734
5735 * subr.el (read-quoted-char): Remove unused local variable `char'.
5736
5737 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5738
5739 * ediff.el (ediff-version): Version update.
5740 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5741 (ediff-merge-with-ancestor-command, ediff-directories-command)
5742 (ediff-directories3-command, ediff-merge-directories-command)
5743 (ediff-merge-directories-with-ancestor-command): New functions.
5744 All are command-line interfaces to ediff: to facilitate calling
5745 Emacs with the appropriate ediff functions invoked.
5746
5747 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5748 (viper-save-kill-buffer): Check if buffer is modified.
5749
5750 * viper.el (viper-version): Version update.
5751 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5752
5753 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5754
5755 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5756 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5757 (viper-intercept-ESC-key): Simplify.
5758 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5759 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5760 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5761 (viper-setup-ESC-to-escape): New functions.
5762 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5763 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5764
5765 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5766
5767 * simple.el (default-font-height, window-screen-lines):
5768 New functions.
5769 (line-move, line-move-partial): Use them instead of
5770 frame-char-height and window-text-height. This makes scrolling
5771 text smoother when the buffer's default face uses a font that is
5772 different from the frame's default font.
5773
5774 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5775
5776 * files.el (write-file): Do not display confirm dialog for NS,
5777 it does its own dialog, which can't be cancelled (Bug#14578).
5778
5779 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5780
5781 * simple.el (line-move-partial): Adjust the row returned by
5782 posn-at-point for the current window-vscroll. (Bug#14567)
5783
5784 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5785
5786 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5787 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5788 spaces.
5789
5790 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5791
5792 * window.el (window-state-put-stale-windows): New variable.
5793 (window--state-put-2): Save list of windows without matching buffer.
5794 (window-state-put): Remove "bufferless" windows if possible.
5795
5796 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5797
5798 * simple.el (alternatives-define): Remove leftover :group keyword.
5799 Tweak docstring.
5800
5801 2013-07-06 Leo Liu <sdl.web@gmail.com>
5802
5803 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5804 (ido-enable-virtual-buffers): New variable.
5805 (ido-buffer-internal, ido-toggle-virtual-buffers)
5806 (ido-make-buffer-list): Use it.
5807 (ido-exhibit): Support turning on and off virtual buffers
5808 automatically.
5809
5810 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5811
5812 * simple.el (alternatives-define): New macro.
5813
5814 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5815
5816 * subr.el (read-quoted-char): Use read-key.
5817 (sit-for): Let read-event decode tty input (bug#14782).
5818
5819 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5820
5821 * calendar/todo-mode.el: Add handling of file deletion, both by
5822 mode command and externally. Fix various related bugs.
5823 Clarify Commentary and improve some documentation strings and code.
5824 (todo-delete-file): New command.
5825 (todo-check-file): New function.
5826 (todo-show): Handle external deletion of the file we're trying to
5827 show (bug#14688). Replace called-interactively-p by an optional
5828 prefix argument to avoid problematic interaction with catch form
5829 when byte compiled (bug#14702).
5830 (todo-quit): Handle external deletion of the archive's todo file.
5831 Make sure the buffer that was visiting the archive file is still
5832 live before trying to bury it.
5833 (todo-category-completions): Handle external deletion of any
5834 category completion files.
5835 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5836 of todo files, in case of external deletion.
5837 (todo-add-file): Replace unnecessary setq by let-binding.
5838 (todo-find-archive): Check whether there are any archives.
5839 Replace unnecessary setq by let-binding.
5840 (todo-archive-done-item): Use find-file-noselect to get the
5841 archive buffer whether or not the archive already exists.
5842 Remove superfluous code. Use file size instead of buffer-file-name to
5843 check if the archive is new; if it is, update list of archives.
5844 (todo-default-todo-file): Allow nil to be a valid value for when
5845 there are no todo files.
5846 (todo-reevaluate-default-file-defcustom): Use corrected definition
5847 of todo-default-todo-file.
5848 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5849 (todo-delete-category, todo-show-categories-table)
5850 (todo-category-number): Clarify comment.
5851 (todo-filter-items): Clarify documentation string.
5852 (todo-show-current-file, todo-display-as-todo-file)
5853 (todo-reset-and-enable-done-separator): Tweak documentation string.
5854 (todo-done-separator): Make separator length window-width, since
5855 bug#2749 is now fixed.
5856
5857 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5858
5859 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5860 Support both "gvfs-monitor-dir" and "inotifywait".
5861 (tramp-sh-file-inotifywait-process-filter): Rename from
5862 `tramp-sh-file-notify-process-filter'.
5863 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5864 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5865
5866 2013-07-05 Leo Liu <sdl.web@gmail.com>
5867
5868 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5869
5870 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5871
5872 * frame.el (display-pixel-height, display-pixel-width)
5873 (display-mm-height, display-mm-width): Mention behavior on
5874 multi-monitor setups in docstrings.
5875 (w32-display-monitor-attributes-list): Declare function.
5876 (display-monitor-attributes-list): Use it.
5877
5878 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5879
5880 * filenotify.el: New package.
5881
5882 * autorevert.el (top): Require filenotify.el.
5883 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5884 instead.
5885 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5886 (auto-revert-notify-handler): Use `file-notify-*' functions.
5887
5888 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5889
5890 * net/tramp.el (tramp-file-name-for-operation):
5891 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5892
5893 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5894 for `file-notify-add-watch' and `file-notify-rm-watch'.
5895 (tramp-process-sentinel): Improve trace.
5896 (tramp-sh-handle-file-notify-add-watch)
5897 (tramp-sh-file-notify-process-filter)
5898 (tramp-sh-handle-file-notify-rm-watch)
5899 (tramp-get-remote-inotifywait): New defuns.
5900
5901 2013-07-03 Juri Linkov <juri@jurta.org>
5902
5903 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5904 call of `occur-read-primary-args' to interactive spec.
5905
5906 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5907 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5908
5909 2013-07-03 Matthias Meulien <orontee@gmail.com>
5910
5911 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5912 `Buffer-menu-multi-occur'. Add it to the menu.
5913 (Buffer-menu-mode): Document it in docstring.
5914 (Buffer-menu-multi-occur): New command. (Bug#14673)
5915
5916 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5917
5918 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5919 keywords and built-ins.
5920
5921 2013-07-03 Glenn Morris <rgm@gnu.org>
5922
5923 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5924
5925 Make info-xref checks case-sensitive by default
5926 * info.el (Info-find-node, Info-find-in-tag-table)
5927 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5928 Add option for exact case matching of nodes.
5929 * info-xref.el (info-xref): New custom group.
5930 (info-xref-case-fold): New option.
5931 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5932
5933 2013-07-03 Leo Liu <sdl.web@gmail.com>
5934
5935 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5936
5937 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5938
5939 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5940 middle of block statement initially, lower the depth. Remove
5941 FIXME comment, not longer valid. Remove middle of block statement
5942 detection, no need to do that anymore since we've been using
5943 `ruby-parse-region' here.
5944
5945 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5946
5947 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5948
5949 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5950
5951 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5952
5953 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
5954
5955 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5956 (desktop-restore-in-current-display): New customization option.
5957 (desktop--excluded-frame-parameters): Add `font'.
5958 (desktop--save-frames): Rename from desktop--save-windows.
5959 (desktop--restore-in-this-display-p): New function.
5960 (desktop--make-full-frame): Remove unwanted width/height from
5961 full(width|height) frames.
5962 (desktop--restore-frames): Rename from desktop--restore-windows.
5963 Obey desktop-restore-current-display. Do not delete old frames or
5964 select a new frame unless we were able to restore at least one frame.
5965
5966 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
5967
5968 * files.el (find-file-noselect): Simplify conditional expression.
5969
5970 * remember.el (remember-append-to-file):
5971 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5972
5973 Add `remember-notes' function to store random notes across Emacs
5974 restarts.
5975 * remember.el (remember-data-file): Add :set callback to affect
5976 notes buffer (if any).
5977 (remember-notes): New command.
5978 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5979 New defcustoms for the `remember-notes' function.
5980 (remember-notes-save-and-bury-buffer): New command.
5981 (remember-notes-mode-map): New variable.
5982 (remember-mode): New minor mode.
5983 (remember-notes--kill-buffer-query): New function.
5984 * startup.el (initial-buffer-choice): Add notes to custom type.
5985
5986 2013-06-30 Eli Zaretskii <eliz@gnu.org>
5987
5988 * bindings.el (right-char, left-char): Don't call sit-for, this is
5989 no longer needed. Use arithmetic comparison only for numerical
5990 arguments.
5991
5992 * international/mule-cmds.el (select-safe-coding-system):
5993 Handle the case of FROM being a string correctly. (Bug#14755)
5994
5995 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5996
5997 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5998 progression on degenerate tables.
5999 (shr-rescale-image): ImageMagick animated images currently don't work.
6000
6001 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6002
6003 Some fixes and improvements for desktop frame restoration.
6004 It is still experimental and disabled by default.
6005 * desktop.el (desktop--save-windows): Put the selected frame at
6006 the head of the list.
6007 (desktop--make-full-frame): New function.
6008 (desktop--restore-windows): Try to re-select the frame that was
6009 selected upon saving. Do not abort if some frames fail to restore,
6010 just show an error message and continue. Set up maximized frames
6011 so they have default non-maximized dimensions.
6012
6013 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6014
6015 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6016 Don't start heredoc inside a string or comment.
6017
6018 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6019
6020 * bindings.el (visual-order-cursor-movement): New defcustom.
6021 (right-char, left-char): Provide visual-order cursor motion by
6022 calling move-point-visually. Update the doc strings.
6023
6024 2013-06-28 Kenichi Handa <handa@gnu.org>
6025
6026 * international/mule.el (define-coding-system): New coding system
6027 properties :inhibit-null-byte-detection,
6028 :inhibit-iso-escape-detection, and :prefer-utf-8.
6029 (set-buffer-file-coding-system): If :charset-list property of
6030 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6031 appropriate for setting.
6032
6033 * international/mule-cmds.el (select-safe-coding-system):
6034 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6035 multibyte characters, return utf-8 (or one of its siblings).
6036
6037 * international/mule-conf.el (prefer-utf-8): New coding system.
6038 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6039 files.
6040
6041 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6042
6043 * net/shr.el (shr-render-region): New function.
6044
6045 * net/eww.el: Autoload `eww-browse-url'.
6046
6047 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6048
6049 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6050 Adapt to `package-desc-version' being a list.
6051 Use `package--ac-desc-version' to retrieve version from a package
6052 archive element.
6053
6054 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6055
6056 New experimental feature to save&restore window and frame setup.
6057 * desktop.el (desktop-save-windows): New defcustom.
6058 (desktop--saved-states): New var.
6059 (desktop--excluded-frame-parameters): New defconst.
6060 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6061 (desktop--restore-windows, desktop--save-windows): New functions.
6062 (desktop-save): Call `desktop--save-windows'.
6063 (desktop-read): Call `desktop--restore-windows'.
6064
6065 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6066
6067 * net/shr.el (add-face-text-property): Remove compat definition.
6068
6069 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6070
6071 * info.el (Info-try-follow-nearest-node): Move search for footnote
6072 above search for node name to prevent missing a footnote (bug#14717).
6073
6074 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6075
6076 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6077
6078 2013-06-27 Leo Liu <sdl.web@gmail.com>
6079
6080 * net/eww.el (eww-read-bookmarks): Check file size.
6081
6082 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6083
6084 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6085 advice--pending if newdef is nil or an autoload (bug#13820).
6086 (advice-mapc): New function.
6087
6088 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6089
6090 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6091 probably.
6092 (eww-mode-map): Add a menu bar.
6093 (eww-add-bookmark): New command.
6094 (eww-bookmark-mode): New mode and commands.
6095 (eww-add-bookmark): Remove newlines from the title.
6096 (eww-bookmark-browse): Don't bug out if it's the only window.
6097
6098 2013-06-26 Glenn Morris <rgm@gnu.org>
6099
6100 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6101 (hfy-size): Handle ttys. (Bug#14668)
6102
6103 * info-xref.el: Update for Texinfo 5 change in *note format.
6104 (info-xref-node-re, info-xref-note-re): New constants.
6105 (info-xref-check-buffer): Use info-xref-note-re.
6106
6107 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6108
6109 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6110
6111 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6112 nil terminate the loop (bug#14718).
6113
6114 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6115
6116 * net/eww.el: Rework history traversal. When going forward/back,
6117 put these actions into the history, too, so that they can be
6118 replayed.
6119 (eww-render): Move the history reset to the correct buffer.
6120
6121 2013-06-25 Juri Linkov <juri@jurta.org>
6122
6123 * files-x.el (modify-dir-local-variable): Change the header comment
6124 in the file with directory local variables. (Bug#14692)
6125
6126 * files-x.el (read-file-local-variable-value): Add `default'.
6127 (Bug#14710)
6128
6129 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6130
6131 * net/eww.el (eww-make-unique-file-name): Create a unique file
6132 name before saving to entering `y' accidentally asynchronously.
6133
6134 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6135
6136 * net/eww.el (eww-download): New command and keystroke.
6137
6138 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6139
6140 * net/eww.el (eww-copy-page-url): Change name of command.
6141
6142 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6143 be more consistent with Info and dired.
6144
6145 * net/eww.el (eww-mode-map): Ditto.
6146
6147 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6148
6149 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6150 packages from archives.
6151 (package-archive-contents): Change format; include obsolete packages.
6152 (package-desc): Use `dir' to mark builtin packages.
6153 (package--from-builtin): Set the `dir' field to `builtin'.
6154 (generated-autoload-file, version-control): Declare.
6155 (package-compute-transaction): Change first arg and return value to be
6156 lists of package-descs. Adjust to new package-archive-contents format.
6157 (package--add-to-archive-contents): Adjust to new
6158 package-archive-contents format.
6159 (package-download-transaction): Arg is now a list of package-descs.
6160 (package-install): If `pkg' is a package name, pass it as
6161 a requirement, so it is subject to the usual (e.g. disabled) checks.
6162 (describe-package): Accept package-desc as well.
6163 (describe-package-1): Describe a specific package-desc. Add links to
6164 other package-descs for the same package name.
6165 (package-menu-describe-package): Pass the actual package-desc.
6166 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6167 works correctly.
6168 (package-desc-status): New function.
6169 (package-menu--refresh): New function, extracted
6170 from package-menu--generate.
6171 (package-menu--generate): Use it.
6172 (package-delete): Update package-alist.
6173 (package-menu-execute): Don't call package-initialize.
6174
6175 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6176 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6177 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6178 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6179 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6180 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6181
6182 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6183
6184 * window.el (window--state-get-1): Workaround for bug#14527.
6185 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6186
6187 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6188
6189 * net/eww.el (eww-back-url): Implement the history by stashing all
6190 the data into a list.
6191 (eww-forward-url): Allow going forward in the history, too.
6192
6193 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6194
6195 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6196 for values and use read--expression for expressions (bug#14710).
6197 (read-file-local-variable): Avoid setq.
6198 (read-file-local-variable-mode): Use minor-mode-list.
6199
6200 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6201
6202 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6203 for DOI URLs.
6204
6205 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6206
6207 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6208 Update imenu-support when dialect changes.
6209
6210 2013-06-25 Leo Liu <sdl.web@gmail.com>
6211
6212 * ido.el (ido-read-internal): Allow forward slash on windows.
6213
6214 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6215
6216 * net/eww.el (eww): Start of strings is \\`, not ^.
6217
6218 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6219
6220 * net/shr.el (shr-browse-url): Fix interactive spec.
6221
6222 * net/eww.el (eww): Add a trailing slash to domain names.
6223
6224 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6225
6226 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6227
6228 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6229
6230 * net/shr.el (shr-browse-url): Use an external browser if given a
6231 prefix.
6232
6233 * net/eww.el (eww-external-browser): Move to shr.
6234
6235 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6236
6237 * net/eww.el (eww): Work more correctly for file: URLs.
6238 (eww-detect-charset): Allow quoted charsets.
6239 (eww-yank-page-url): New command and keystroke.
6240
6241 2013-06-24 Daiki Ueno <ueno@gnu.org>
6242
6243 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6244 file name of gpg executable.
6245 (epg-context-program): New function.
6246 (epg-context-home-directory): New function.
6247 (epg-context-set-program): New function.
6248 (epg-context-set-home-directory): New function.
6249 (epg--start): Use `epg-context-program' instead of
6250 'epg-gpg-program'.
6251 (epg--list-keys-1): Likewise.
6252
6253 2013-06-24 Leo Liu <sdl.web@gmail.com>
6254
6255 * ido.el (ido-read-internal): Fix bug#14620.
6256
6257 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6258
6259 * faces.el (face-documentation): Simplify.
6260 (read-face-attribute, tty-find-type, x-resolve-font-name):
6261 Use `string-match-p'.
6262 (list-faces-display): Use `string-match-p'. Simplify.
6263 (face-spec-recalc): Check face to avoid face alias loops.
6264 (read-color): Use `string-match-p' and non-capturing parenthesis.
6265
6266 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6267
6268 * net/shr.el (shr-rescale-image): Use the new
6269 :max-width/:max-height functionality.
6270
6271 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6272
6273 * net/eww.el (eww-search-prefix): New variable.
6274 (eww): Use it.
6275 (eww-external-browser): New variable.
6276 (eww-mode-map): New keystroke.
6277 (eww-browse-with-external-browser): New command.
6278
6279 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6280
6281 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6282
6283 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6284 Don't skip aligning the next header field when padding is 0;
6285 otherwise, field width is not respected unless the title is as
6286 wide as the field.
6287
6288 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6289
6290 * emacs-lisp/package.el (package-el-version): Remove.
6291 (package-process-define-package): Fix inf-loop.
6292 (package-install): Allow symbols as arguments again.
6293
6294 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6295
6296 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6297 add some more keyword-like methods.
6298 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6299
6300 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6301
6302 * bs.el (bs-buffer-show-mark): Make defvar-local.
6303 (bs-mode): Use setq-local.
6304
6305 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6306 (emacs-lock--try-unlocking): Make defvar-local.
6307
6308 2013-06-22 Glenn Morris <rgm@gnu.org>
6309
6310 * play/cookie1.el (cookie-apropos): Minor simplification.
6311
6312 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6313
6314 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6315
6316 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6317 `regexp-opt', it breaks the build during dumping.
6318
6319 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6320
6321 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6322 Highlight keyword-like methods on Kernel and Module with
6323 font-lock-builtin-face.
6324 (auto-mode-alist): Consolidate different entries into one regexp
6325 and add more *file-s.
6326
6327 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6328
6329 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6330
6331 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6332 (diary-entry): Use it in the action of this button type instead of
6333 diary-goto-entry.
6334
6335 * calendar/todo-mode.el: New version.
6336 (todo-add-category): Append new category to end of file and give
6337 it the highest number, instead of putting it at the beginning and
6338 giving it 0. Incorporate noninteractive functionality.
6339 (todo-forward-category): Adapt to 1-based category numbering.
6340 Allow skipping over archived categories.
6341 (todo-backward-category): Derive from todo-forward-category.
6342 (todo-backward-item, todo-forward-item): Make noninteractive and
6343 delegate interactive part to new commands. Make sensitive to done items.
6344 (todo-categories): Make value an alist of category names and
6345 vectors of item counts.
6346 (todo-category-beg): Make a defconst.
6347 (todo-category-number): Use 1 instead of 0 as initial value.
6348 (todo-category-select): Make sensitive to overlays, optional item
6349 highlighting and done items.
6350 (todo-delete-item): Make sensitive to overlays and marked and done items.
6351 (todo-edit-item): Make sensitive to overlays and editing of
6352 date/time header optional. Add format checks.
6353 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6354 no-op if point is not on an item. Advertise using todo-edit-quit.
6355 (todo-edit-mode): Make sensitive to new format, font-locking, and
6356 multiple todo files.
6357 (todo-insert-item, todo-insert-item-here): Derive from
6358 todo-basic-insert-item and extend functionality.
6359 (todo-item-end, todo-item-start): Make sensitive to done items.
6360 (todo-item-string): Don't return text properties. Restore point.
6361 (todo-jump-to-category): Make sensitive to multiple todo files and
6362 todo archives. Use extended category completion.
6363 (todo-lower-item, todo-raise-item): Rename to *-priority and
6364 derive from todo-set-item-priority.
6365 (todo-mode): Derive from special-mode. Make sensitive to new
6366 format, font-locking and multiple todo files. Make read-only.
6367 (todo-mode-map): Don't suppress digit keys, so they can supply
6368 prefix arguments. Add many new key bindings.
6369 (todo-prefix): Insert as an overlay instead of file text.
6370 Change semantics from diary date expression to purely visual mark.
6371 (todo-print): Rename to todo-print-buffer. Make buffer display
6372 features printable. Remove option to restrict number of items
6373 printed. Add option to print to file.
6374 (todo-print-function): Rename to todo-print-buffer-function.
6375 (todo-quit): Extend to handle exiting new todo modes.
6376 (todo-remove-item): Make sensitive to overlays.
6377 (todo-save): Extend to buffers of filtered items.
6378 (todo-show): Make sensitive to done items, multiple todo files and
6379 new todo modes. Offer to convert legacy todo file before creating
6380 first new todo file.
6381 (todo-show-priorities): Rename to todo-top-priorities.
6382 Change semantics of value 0.
6383 (todo-top-priorities): Rename to todo-filter-top-priorities,
6384 derive from todo-filter-items and extend functionality.
6385 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6386 and extend functionality to other types of filtered items.
6387 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6388 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6389 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6390 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6391 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6392 (todo-edit-mode-hook, todo-entry-prefix-function)
6393 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6394 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6395 (todo-initials, todo-insert-threshold, todo-item-string-start)
6396 (todo-line-string, todo-menu, todo-mode-hook)
6397 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6398 (todo-print-priorities, todo-remove-separator)
6399 (todo-save-top-priorities-too, todo-string-count-lines)
6400 (todo-string-multiline-p, todo-time-string-format)
6401 (todo-tmp-buffer-name): Remove.
6402 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6403 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6404 (todo-edit-category-diary-inclusion)
6405 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6406 (todo-edit-file, todo-edit-item-date-day)
6407 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6408 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6409 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6410 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6411 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6412 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6413 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6414 (todo-filter-top-priorities-multifile, todo-find-archive)
6415 (todo-find-filtered-items-file, todo-go-to-source-item)
6416 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6417 (todo-jump-to-archive-category, todo-lower-category)
6418 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6419 (todo-move-category, todo-move-item, todo-next-button)
6420 (todo-next-item, todo-padded-string, todo-powerset)
6421 (todo-previous-button, todo-previous-item)
6422 (todo-print-buffer-to-file, todo-raise-category)
6423 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6424 (todo-set-category-number, todo-set-item-priority)
6425 (todo-set-top-priorities-in-category)
6426 (todo-set-top-priorities-in-file, todo-show-categories-table)
6427 (todo-sort-categories-alphabetically-or-numerically)
6428 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6429 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6430 (todo-toggle-item-header, todo-toggle-item-highlighting)
6431 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6432 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6433 (todo-unarchive-items, todo-unmark-category): New commands.
6434 (todo-absolute-file-name, todo-add-to-buffer-list)
6435 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6436 (todo-basic-insert-item, todo-category-completions)
6437 (todo-category-number, todo-category-string-matcher-1)
6438 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6439 (todo-check-format, todo-clear-matches)
6440 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6441 (todo-current-category, todo-date-string-matcher)
6442 (todo-define-insertion-command, todo-diary-expired-matcher)
6443 (todo-diary-goto-entry, todo-diary-item-p)
6444 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6445 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6446 (todo-done-item-section-p, todo-done-separator)
6447 (todo-done-string-matcher, todo-files, todo-filter-items)
6448 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6449 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6450 (todo-insert-category-line, todo-insert-item-from-calendar)
6451 (todo-insert-sort-button, todo-insert-with-overlays)
6452 (todo-insertion-command-name, todo-insertion-key-bindings)
6453 (todo-label-to-key, todo-longest-category-name-length)
6454 (todo-make-categories-list, todo-mode-external-set)
6455 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6456 (todo-modes-set-3, todo-multiple-filter-files)
6457 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6458 (todo-read-category, todo-read-date, todo-read-dayname)
6459 (todo-read-file-name, todo-read-time)
6460 (todo-reevaluate-category-completions-files-defcustom)
6461 (todo-reevaluate-default-file-defcustom)
6462 (todo-reevaluate-filelist-defcustoms)
6463 (todo-reevaluate-filter-files-defcustom)
6464 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6465 (todo-reset-done-separator, todo-reset-done-separator-string)
6466 (todo-reset-done-string, todo-reset-global-current-todo-file)
6467 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6468 (todo-reset-prefix, todo-set-categories)
6469 (todo-set-date-from-calendar, todo-set-show-current-file)
6470 (todo-set-top-priorities, todo-short-file-name)
6471 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6472 (todo-total-item-counts, todo-update-buffer-list)
6473 (todo-update-categories-display, todo-update-categories-sexp)
6474 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6475 New functions.
6476 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6477 New major modes.
6478 (todo-categories, todo-display, todo-edit, todo-faces)
6479 (todo-filtered): New defgroups.
6480 (todo-archived-only, todo-button, todo-category-string, todo-date)
6481 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6482 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6483 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6484 (todo-add-item-if-new-category, todo-always-add-time-string)
6485 (todo-categories-align, todo-categories-archived-label)
6486 (todo-categories-category-label, todo-categories-diary-label)
6487 (todo-categories-done-label, todo-categories-number-separator)
6488 (todo-categories-todo-label, todo-categories-totals-label)
6489 (todo-category-completions-files, todo-completion-ignore-case)
6490 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6491 (todo-done-separator-string, todo-done-string)
6492 (todo-files-function, todo-filter-done-items, todo-filter-files)
6493 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6494 (todo-initial-category, todo-initial-file, todo-item-mark)
6495 (todo-legacy-date-time-regexp, todo-mode-line-function)
6496 (todo-nondiary-marker, todo-number-prefix)
6497 (todo-print-buffer-function, todo-show-current-file)
6498 (todo-show-done-only, todo-show-first, todo-show-with-done)
6499 (todo-skip-archived-categories, todo-top-priorities-overrides)
6500 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6501 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6502 New defcustoms.
6503 (todo-category-done, todo-date-pattern, todo-date-string-start)
6504 (todo-diary-items-buffer, todo-done-string-start)
6505 (todo-filtered-items-buffer, todo-item-start)
6506 (todo-month-abbrev-array, todo-month-name-array)
6507 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6508 (todo-top-priorities-buffer): New defconsts.
6509 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6510 (todo-categories-with-marks, todo-category-string-face)
6511 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6512 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6513 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6514 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6515 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6516 (todo-font-lock-keywords, todo-global-current-todo-file)
6517 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6518 (todo-insertion-commands-args)
6519 (todo-insertion-commands-args-genlist)
6520 (todo-insertion-commands-names, todo-insertion-map)
6521 (todo-key-bindings-t, todo-key-bindings-t+a)
6522 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6523 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6524 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6525 (todo-visited): New variables.
6526
6527 2013-06-21 Glenn Morris <rgm@gnu.org>
6528
6529 * play/cookie1.el (cookie-apropos): Add optional display argument.
6530 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6531 (psychoanalyze-pinhead): Use cookie-doctor.
6532
6533 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6534
6535 * emacs-lisp/package.el (tar-get-file-descriptor)
6536 (tar--extract): Declare.
6537
6538 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6539
6540 Extend flymake's warning predicate to be a function (bug#14217).
6541 * progmodes/flymake.el (flymake-warning-predicate): New.
6542 (flymake-parse-line): Use it.
6543 (flymake-warning-re): Make obsolete alias to
6544 `flymake-warning-predicate'.
6545
6546 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6547
6548 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6549 (package-obsolete-list): Remove.
6550 (package-activate): Remove min-version argument. Add `force' argument.
6551 Adjust to new package-alist format.
6552 (package-mark-obsolete): Remove.
6553 (package-unpack): Force reload of the package's autoloads.
6554 (package-installed-p): Check builtins if the installed package is not
6555 recent enough.
6556 (package-initialize): Don't reset package-obsolete-list.
6557 Don't specify which package version to activate.
6558 (package-process-define-package, describe-package-1)
6559 (package-menu--generate): Adjust to new package-alist format.
6560
6561 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6562
6563 * allout-widgets.el (allout-widgets-mode-off)
6564 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6565 (allout-widgets-post-command-business)
6566 (allout-widgets-after-copy-or-kill-function)
6567 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6568 (allout-decorate-item-and-context)
6569 (allout-graphics-modification-handler): Fix typos in docstrings.
6570 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6571
6572 * cmuscheme.el (scheme-start-file): Doc fix.
6573 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6574 (scheme-input-filter): Use `string-match-p'.
6575
6576 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6577
6578 * dired-x.el: Use Dired consistently in docstrings.
6579
6580 * dired.el: Use Dired consistently in docstrings.
6581 (dired-readin, dired-mode): Use `setq-local'.
6582 (dired-switches-alist): Make defvar-local.
6583 (dired-buffers-for-dir): Use `zerop'.
6584 (dired-safe-switches-p, dired-switches-escape-p)
6585 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6586 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6587 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6588 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6589 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6590 (dired-toggle-marks, dired-mark-files-containing-regexp)
6591 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6592 (dired-flag-auto-save-files, dired-flag-backup-files):
6593 Use `looking-at-p'.
6594 (dired-mark-files-regexp, dired-build-subdir-alist):
6595 Use `string-match-p', `looking-at-p'.
6596
6597 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6598 (direct-print-region-helper): Use `string-match-p'.
6599
6600 2013-06-21 Leo Liu <sdl.web@gmail.com>
6601
6602 * comint.el (comint-redirect-results-list-from-process):
6603 Fix infinite loop.
6604
6605 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6606
6607 * net/eww.el (eww-update-header-line-format): Quote % characters.
6608
6609 2013-06-21 Glenn Morris <rgm@gnu.org>
6610
6611 * play/cookie1.el (cookie): New custom group.
6612 (cookie-file): New option.
6613 (cookie-check-file): New function.
6614 (cookie): Make it interactive. Make start and end messages optional.
6615 Interactively, display the result. Default to cookie-file.
6616 (cookie-insert): Default to cookie-file.
6617 (cookie-snarf): Make start and end messages optional.
6618 Default to cookie-file. Use with-temp-buffer.
6619 (cookie-read): Rename from read-cookie.
6620 Make start and end messages optional. Default to cookie-file.
6621 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6622 Do not autoload it.
6623 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6624 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6625
6626 2013-06-21 Leo Liu <sdl.web@gmail.com>
6627
6628 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6629
6630 2013-06-21 Glenn Morris <rgm@gnu.org>
6631
6632 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6633
6634 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6635 Daniel Hackney <dan@haxney.org>
6636
6637 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6638 Consolidate the single-file vs tarball code.
6639 (package-desc-suffix): New function.
6640 (package-desc-full-name): Don't bother inlining it.
6641 (package-load-descriptor): Return the new package-desc.
6642 (package-mark-obsolete): Remove unused arg `package'.
6643 (package-unpack): Make it work for single files as well.
6644 Make it update package-alist.
6645 (package--make-autoloads-and-stuff): Rename from
6646 package--make-autoloads-and-compile. Don't compile any more.
6647 (package--compile): New function.
6648 (package-generate-description-file): New function, extracted from
6649 package-unpack-single.
6650 (package-unpack-single): Remove.
6651 (package--with-work-buffer): Add indentation and debugging info.
6652 (package-download-single): Remove.
6653 (package-install-from-archive): Rename from package-download-tar, make
6654 it take a pkg-desc, and make it work for single files as well.
6655 (package-download-transaction): Simplify.
6656 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6657 external tar program.
6658 (package-install-from-buffer): Remove `pkg-desc' argument.
6659 Use package-tar-file-info for tar-mode buffers.
6660 (package-install-file): Simplify accordingly.
6661 (package-archive-base): Change to take a pkg-desc.
6662 * tar-mode.el (tar--check-descriptor): New function, extracted from
6663 tar-get-descriptor.
6664 (tar-get-descriptor): Use it.
6665 (tar-get-file-descriptor): New function.
6666 (tar--extract): New function, extracted from tar-extract.
6667 (tar--extract): Use it.
6668 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6669 case the summary uses non-ascii. Adjust to new calling convention of
6670 package-tar-file-info.
6671
6672 2013-06-21 Leo Liu <sdl.web@gmail.com>
6673
6674 * comint.el (comint-redirect-results-list-from-process):
6675 Fix random delay. (Bug#14681)
6676
6677 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6678
6679 * profiler.el (profiler-format-number): Use log, not log10.
6680
6681 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6682
6683 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6684
6685 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6686
6687 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6688 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6689 yet available.
6690 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6691 (AUTOGENEL): ... here.
6692 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6693 (cl--defsubst-expand): Use it.
6694
6695 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6696
6697 * subr.el (log10): Move here from C code, and declare as obsolete.
6698 All uses of (log10 X) replaced with (log X 10).
6699
6700 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6701
6702 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6703 Declare with `defvar-local'.
6704 (tabulated-list-use-header-line, tabulated-list-entries)
6705 (tabulated-list-padding, tabulated-list-printer)
6706 (tabulated-list-sort-key): Declare with `defvar-local'.
6707 (tabulated-list-init-header, tabulated-list-print-fake-header):
6708 Use `setq-local'.
6709
6710 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6711
6712 * arc-mode.el (archive-mode): Add `archive-write-file' to
6713 `write-contents-functions' also for remote files. (Bug#14652)
6714
6715 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6716
6717 * cus-edit.el (custom-commands): Fix typos.
6718 (custom-display): Fix tooltip text.
6719 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6720 Fix typos in docstrings.
6721 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6722 (custom-unlispify-menu-entry, custom-magic-value-create)
6723 (custom-add-see-also, custom-group-value-create): Use ?\s.
6724 (custom-guess-type, customize-apropos, editable-field)
6725 (custom-face-value-create): Use `string-match-p'.
6726 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6727
6728 * custom.el (custom-load-symbol): Use `string-match-p'.
6729
6730 * ansi-color.el: Convert to lexical binding.
6731 (ansi-colors): Fix URL.
6732 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6733 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6734 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6735
6736 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6737
6738 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6739
6740 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6741
6742 2013-06-19 Tom Tromey <tromey@redhat.com>
6743
6744 * net/eww.el (eww-top-url): Remove.
6745 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6746 (eww-render): Set new variables. Don't set eww-top-url.
6747 (eww-handle-link): Handle "prev", "home", and "contents".
6748 Downcase the rel text.
6749 (eww-top-url): Choose best top URL.
6750
6751 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6752
6753 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6754 relying in widget.el. Using widget.el leads to too many
6755 user interface inconsistencies.
6756 (eww-self-insert): Implement entering commands in text fields.
6757 (eww-process-text-input): New function to make text input field editing
6758 work.
6759 (eww-submit): Rewrite to use the new-style form methods.
6760 (eww-select-display): Display the correct selected item.
6761 (eww-change-select): Implement changing the select value.
6762 (eww-toggle-checkbox): Implement radio/checkboxes.
6763 (eww-update-field): Fix compilation error.
6764 (eww-tag-textarea): Implement <textarea>.
6765
6766 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6767 we don't shadow mode-specific bindings.
6768
6769 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6770 nothing to push.
6771
6772 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6773
6774 2013-06-19 Glenn Morris <rgm@gnu.org>
6775
6776 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6777
6778 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6779
6780 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6781 not needed.
6782
6783 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6784
6785 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6786
6787 * net/browse-url.el (browse-url-browser-function):
6788 `eww-browse-url' has the right calling signature, `eww' does not.
6789
6790 2013-06-19 Glenn Morris <rgm@gnu.org>
6791
6792 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6793 Only eval autoloaded macros.
6794 (byte-compile-autoload): Only give the macro warning for macros.
6795
6796 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6797 (ps-underlined-faces): Declare.
6798
6799 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6800 (speedbar-add-supported-extension): Declare.
6801
6802 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6803 Don't include a date stamp in the header of the generated file;
6804 it leads to needless differences between output files.
6805
6806 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6807
6808 * net/secrets.el (secrets-struct-secret-content-type):
6809 Replace check of introspection data by a test call of "CreateItem".
6810 Some servers do not offer introspection.
6811
6812 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6813
6814 * electric.el (electric-pair-mode): Improve interaction with
6815 electric-layout-mode.
6816 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6817 (electric-pair-syntax): Use text-mode-syntax-table in comments
6818 and strings.
6819 (electric-pair--insert): New function.
6820 (electric-pair-post-self-insert-function): Use it and
6821 electric--after-char-pos.
6822
6823 2013-06-19 Leo Liu <sdl.web@gmail.com>
6824
6825 * progmodes/octave.el (octave-help): Fix regexp.
6826
6827 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6828
6829 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6830 (shr-table-horizontal-line): Allow nil as a value, and change the
6831 default.
6832 (shr-insert-table-ruler): Respect the nil value.
6833
6834 2013-06-18 Tom Tromey <tromey@barimba>
6835
6836 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6837 New defvars.
6838 (eww-open-file): New defun.
6839 (eww-render): Initialize new variables.
6840 (eww-display-html): Handle "link" and "a".
6841 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6842 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6843 (eww-back-url): Rename from eww-previous-url.
6844 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6845 New defuns.
6846
6847 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6848
6849 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6850 Distinguish ternary operator tokens from slash symbol and slash
6851 char literal.
6852
6853 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6854
6855 Convert symbol prettification into minor mode and global minor mode.
6856
6857 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6858 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6859 (prettify-symbols--keywords): Rename from
6860 `prog-prettify-symbols-alist' and make a local defvar.
6861 (prettify-symbols--compose-symbol): Rename from
6862 `prog--prettify-font-lock-compose-symbol'.
6863 (prettify-symbols--make-keywords): Rename from
6864 `prog-prettify-font-lock-symbols-keywords' and simplify.
6865 (prog-prettify-install): Remove.
6866 (prettify-symbols-mode): New minor mode, based on
6867 `prog-prettify-install'.
6868 (turn-on-prettify-symbols-mode): New function.
6869 (global-prettify-symbols-mode): New globalized minor mode.
6870
6871 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6872 * progmodes/cfengine.el (cfengine3-mode):
6873 * progmodes/perl-mode.el (perl-mode): Don't call
6874 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6875
6876 2013-06-18 Juri Linkov <juri@jurta.org>
6877
6878 * files-x.el (modify-file-local-variable-message): New function.
6879 (modify-file-local-variable)
6880 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6881 and call `modify-file-local-variable-message' when it's non-nil.
6882 (add-file-local-variable, delete-file-local-variable)
6883 (add-file-local-variable-prop-line)
6884 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6885 and use it. (Bug#9820)
6886
6887 2013-06-18 Juri Linkov <juri@jurta.org>
6888
6889 * emulation/vi.el (vi-shell-op):
6890 * emulation/vip.el (vip-execute-com, ex-command):
6891 * emulation/viper-cmd.el (viper-exec-bang):
6892 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6893 the call of `shell-command-on-region'. (Bug#14637)
6894
6895 * simple.el (shell-command-on-region): Doc fix.
6896
6897 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6898
6899 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6900 (bug#14633).
6901
6902 2013-06-18 Glenn Morris <rgm@gnu.org>
6903
6904 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6905
6906 * newcomment.el (comment-search-forward, comment-search-backward):
6907 Doc fix. (Bug#14376)
6908
6909 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6910
6911 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6912 (buffer-face-mode-invoke): Doc fix.
6913
6914 2013-06-18 Matthias Meulien <orontee@gmail.com>
6915
6916 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6917 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6918
6919 2013-06-18 Glenn Morris <rgm@gnu.org>
6920
6921 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6922 Replace obsolete function generic-make-keywords with its expansion.
6923
6924 * progmodes/python.el (ffap-alist): Declare.
6925
6926 * textmodes/reftex.el (bibtex-mode-map): Declare.
6927
6928 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6929
6930 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6931 (package-unpack, package-unpack-single): Return the pkg-dir.
6932 (package-download-transaction): Use it to update package-alist.
6933
6934 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6935
6936 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6937 possible choice.
6938
6939 2013-06-17 Juri Linkov <juri@jurta.org>
6940
6941 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6942
6943 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6944
6945 * emacs-lisp/package.el (package-load-descriptor):
6946 Remove `with-syntax-table' call, `read' doesn't need it.
6947 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6948
6949 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6950
6951 * startup.el (command-line): Expand package name returned by
6952 `package--description-file' (bug#14639).
6953
6954 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6955
6956 * emacs-lisp/package.el (package-load-descriptor): Do not call
6957 `emacs-lisp-mode', just use its syntax table.
6958
6959 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6960
6961 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6962 `font-lock-extra-managed-props' if any prettifying keyword is added.
6963 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6964 (prog-mode): Use `setq-local'.
6965
6966 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6967
6968 * international/characters.el (standard-case-table): Set syntax of ?»
6969 and ?« to punctuation.
6970
6971 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
6972
6973 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6974 Save relevant match data before calling `syntax-ppss' (bug#14595).
6975
6976 2013-06-15 Juri Linkov <juri@jurta.org>
6977
6978 * files-x.el (modify-file-local-variable-prop-line): Add local
6979 variables to the end of the existing comment on the first line.
6980 Use `file-auto-mode-skip' to skip interpreter magic line,
6981 and also skip XML declaration.
6982
6983 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6984
6985 * startup.el (package--builtin-versions): New var.
6986 (package-subdirectory-regexp): Remove.
6987 (package--description-file): Hard code its value instead.
6988
6989 * emacs-lisp/package.el: Don't activate packages older than builtin.
6990 (package-obsolete-list): Rename from package-obsolete-alist, and make
6991 it into a simple list of package-desc.
6992 (package-strip-version): Remove.
6993 (package-built-in-p): Use package--builtin-versions.
6994 (package-mark-obsolete): Simplify.
6995 (package-process-define-package): Mark it obsolete if older than the
6996 builtin version.
6997 (package-handle-response): Use line-end-position.
6998 (package-read-archive-contents, package--download-one-archive):
6999 Simplify.
7000 (package--add-to-archive-contents): Skip if older than the builtin or
7001 installed version.
7002 (package-menu-describe-package): Fix last change.
7003 (package-list-unversioned): New var.
7004 (package-menu--generate): Use it.
7005
7006 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7007 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7008 (autoload-builtin-package-versions): New variable.
7009 (autoload-generate-file-autoloads): Use them.
7010 Remove the list of autoloaded functions/macros from the
7011 (autoload...) comments.
7012
7013 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7014
7015 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7016
7017 * simple.el (line-move-partial): Don't jump to the next screen
7018 line as soon as it becomes visible. Instead, continue enlarging
7019 the vscroll until the portion of a tall screen line that's left on
7020 display is about the height of the frame's default font.
7021 (Bug#14567)
7022
7023 2013-06-15 Glenn Morris <rgm@gnu.org>
7024
7025 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7026 compilation-error-regexp-alist void, or local while let-bound.
7027
7028 * progmodes/make-mode.el (makefile-mode-syntax-table):
7029 Treat "=" as punctuation. (Bug#14614)
7030
7031 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7032
7033 * help-fns.el (describe-variable):
7034 Add extra line for permanent-local variables.
7035
7036 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7037
7038 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7039 Add export, import, library. (Bug#9164)
7040 (library): Set indent function.
7041
7042 2013-06-14 Glenn Morris <rgm@gnu.org>
7043
7044 * term/xterm.el (xterm--query):
7045 Stop after first matching handler. (Bug#14615)
7046
7047 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7048
7049 Add support for dired in saveplace.
7050 * dired.el (dired-initial-position-hook): New variable.
7051 (dired-initial-position): Call hook to place cursor position.
7052 * saveplace.el (save-place-to-alist): Add dired position.
7053 (save-place-dired-hook): New function.
7054
7055 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7056
7057 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7058 through a symbol rather than letrec.
7059
7060 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7061 (package-desc): Add `dir' field.
7062 (package-desc-full-name): New function.
7063 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7064 (package-maybe-load-descriptor): Remove.
7065 (package-load-all-descriptors): Just call package-load-descriptor.
7066 (package--disabled-p): New function.
7067 (package-desc-vers, package-desc-doc): Remove aliases.
7068 (package--dir): Remove function.
7069 (package-activate): Check if a package is disabled.
7070 (package-process-define-package): New function, extracted from
7071 define-package.
7072 (define-package): Turn into a place holder.
7073 (package-unpack-single, package-tar-file-info):
7074 Use package--description-file.
7075 (package-compute-transaction): Use package--disabled-p.
7076 (package-download-transaction): Don't call
7077 package-maybe-load-descriptor since they're all loaded anyway.
7078 (package-install): Change argument to be a pkg-desc.
7079 (package-delete): Use a single pkg-desc argument.
7080 (describe-package-1): Use package-desc-dir instead of package--dir.
7081 Use package-desc property instead of package-symbol.
7082 (package-install-button-action): Adjust accordingly.
7083 (package--push): Rewrite.
7084 (package-menu--print-info): Adjust accordingly. Change the ID format
7085 to be a pkg-desc.
7086 (package-menu-describe-package, package-menu-get-status)
7087 (package-menu--find-upgrades, package-menu-mark-upgrades)
7088 (package-menu-execute, package-menu--name-predicate):
7089 Adjust accordingly.
7090 * startup.el (package--description-file): New function.
7091 (command-line): Use it.
7092 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7093 Use package-desc-version.
7094
7095 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7096 (byte-compile-preprocess): Use it.
7097 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7098 can't quite recognize.
7099 (byte-compile-add-to-list): Remove.
7100 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7101 (cconv-closure-convert): Add assertion.
7102
7103 * emacs-lisp/map-ynp.el: Use lexical-binding.
7104 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7105 Factor out some repeated code.
7106
7107 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7108
7109 * subr.el (with-eval-after-load): New macro.
7110 (eval-after-load): Allow form to be a function.
7111 take advantage of lexical-binding.
7112 (do-after-load-evaluation): Use dolist and adjust to new format.
7113 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7114
7115 2013-06-13 Juri Linkov <juri@jurta.org>
7116
7117 * replace.el (perform-replace): Display "symbol " and other search
7118 modes from `isearch-message-prefix' in the *Help* buffer.
7119
7120 * isearch.el (isearch-query-replace): Add " symbol" and other
7121 possible search modes from `isearch-message-prefix' to the prompt.
7122 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7123 when reading a regexp to collect.
7124
7125 2013-06-13 Juri Linkov <juri@jurta.org>
7126
7127 * isearch.el (word-search-regexp): Match whitespace if the search
7128 string begins or ends in whitespace. The LAX arg is applied to
7129 both ends of the search string. Use `regexp-quote' and explicit
7130 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7131 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7132 boundaries are replaced with symbol boundaries, and characters
7133 between symbols match non-word non-symbol syntax. (Bug#14602)
7134
7135 2013-06-13 Juri Linkov <juri@jurta.org>
7136
7137 * isearch.el (isearch-del-char): Don't exceed the length of
7138 `isearch-string' by the prefix arg. (Bug#14563)
7139
7140 2013-06-13 Juri Linkov <juri@jurta.org>
7141
7142 * isearch.el (isearch-yank-word, isearch-yank-line)
7143 (isearch-char-by-name, isearch-quote-char)
7144 (isearch-printing-char, isearch-process-search-char):
7145 Add optional count prefix arg. (Bug#14563)
7146
7147 * international/isearch-x.el
7148 (isearch-process-search-multibyte-characters):
7149 Add optional count prefix arg.
7150
7151 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7152
7153 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7154 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7155 lexical-binding.
7156
7157 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7158
7159 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7160
7161 2013-06-13 Glenn Morris <rgm@gnu.org>
7162
7163 * startup.el (tty-handle-args):
7164 Don't just discard "--" and anything after. (Bug#14608)
7165
7166 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7167
7168 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7169
7170 Implement changes in Secret Service API. Make it backward compatible.
7171 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7172 (secrets-create-item): Use it. Prefix properties with interface.
7173
7174 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7175
7176 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7177 (term-emulate-terminal): Respect term-suppress-hard-newline.
7178
7179 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7180
7181 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7182 Only remove a `thumb-file' overlay. (Bug#14548)
7183
7184 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7185
7186 * mail/reporter.el (reporter-submit-bug-report):
7187 Handle missing package-name. (Bug#14600)
7188
7189 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7190
7191 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7192 (reftex-citation-prompt, reftex-default-bibliography)
7193 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7194 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7195 (reftex-bib-sort-author, reftex-bib-sort-year)
7196 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7197 (reftex-extract-bib-entries-from-thebibliography)
7198 (reftex-get-bibkey-default, reftex-get-bib-names)
7199 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7200 (reftex-format-bib-entry, reftex-parse-bibitem)
7201 (reftex-format-bibitem, reftex-do-citation)
7202 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7203 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7204 (reftex-insert-bib-matches, reftex-format-citation)
7205 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7206 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7207 existing comments into docstrings.
7208
7209 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7210
7211 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7212
7213 2013-06-12 Andreas Schwab <schwab@suse.de>
7214
7215 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7216 for auto-save files.
7217
7218 2013-06-12 Glenn Morris <rgm@gnu.org>
7219
7220 * ido.el (ido-delete-ignored-files): Remove.
7221 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7222 Go back to calling ido-ignore-item-p directly.
7223
7224 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7225
7226 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7227
7228 * ido.el (ido-delete-ignored-files): New function,
7229 split from ido-make-file-list-1.
7230 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7231 (ido-make-file-list-1): Use ido-delete-ignored-files.
7232
7233 2013-06-12 Leo Liu <sdl.web@gmail.com>
7234
7235 * progmodes/octave.el (inferior-octave-startup)
7236 (inferior-octave-completion-table)
7237 (inferior-octave-track-window-width-change)
7238 (octave-eldoc-function-signatures, octave-help)
7239 (octave-find-definition): Use single quoted strings.
7240 (inferior-octave-startup-args): Change default value.
7241 (inferior-octave-startup): Do not hard code "-i" and
7242 "--no-line-editing".
7243 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7244 (inferior-octave-directory-tracker): Use it.
7245 (octave-goto-function-definition): Robustify.
7246 (octave-help): Support highlighting operators in 'See also'.
7247 (octave-find-definition): Find subfunctions only in Octave mode.
7248
7249 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7250
7251 * help-fns.el (help-fns--compiler-macro): If the handler function is
7252 named, then put a link to it.
7253 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7254 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7255 (cl-typep): Use it.
7256 (cl-eval-when): Simplify debug spec.
7257 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7258 compiler-macro function instead of setting `compiler-macro-file'.
7259
7260 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7261
7262 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7263 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7264
7265 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7266 Daniel Hackney <dan@haxney.org>
7267
7268 First part of Daniel Hackney's patch to package.el.
7269 * emacs-lisp/package.el: Use defstruct.
7270 (package-desc): New, main struct.
7271 (package--bi-desc, package--ac-desc): New structs, used to describe the
7272 format in external files.
7273 (package-desc-vers): Replace with package-desc-version accessor.
7274 (package-desc-doc): Replace with package-desc-summary accessor.
7275 (package-activate-1): Remove `package' arg since the pkg-vec now
7276 includes the name.
7277 (define-package): Use package-desc-from-define.
7278 (package-unpack-single): Change file-name arg to be a symbol.
7279 (package--add-to-archive-contents): Use package-desc-create and new
7280 accessor functions to package--ac-desc.
7281 (package-buffer-info, package-tar-file-info): Return a package-desc.
7282 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7283 arg to be a package-desc.
7284 (package-install-file): Adjust accordingly. Use \' to match EOS.
7285 (package--from-builtin): New function.
7286 (describe-package-1, package-menu--generate): Use it.
7287 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7288 (package-generate-autoloads): Idem and return the name of the file.
7289 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7290 Change pkg-info arg to be a package-desc.
7291 Use package-make-ac-desc.
7292 (package-upload-file): Use \' to match EOS.
7293 * finder.el (finder-compile-keywords): Use package-make-builtin.
7294
7295 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7296
7297 * vc/vc.el (vc-deduce-fileset): Change error message.
7298 (vc-read-backend): New function.
7299 (vc-next-action): Use it.
7300
7301 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7302
7303 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7304 (prolog-font-lock-keywords): Use regexp-opt instead.
7305 Don't manually highlight strings.
7306 (prolog-mode-variables): Simplify comment-start-skip.
7307 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7308
7309 * emacs-lisp/generic.el (generic--normalise-comments)
7310 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7311 (generic-mode-set-comments): Use them.
7312 (generic-bracket-support): Use setq-local.
7313 (generic-make-keywords-list): Declare obsolete.
7314
7315 2013-06-11 Glenn Morris <rgm@gnu.org>
7316
7317 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7318 Prettify after setting font-lock-defaults. (Bug#14574)
7319
7320 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7321
7322 * replace.el (query-replace, occur-read-regexp-defaults-function)
7323 (replace-search):
7324 * subr.el (declare-function, number-sequence, local-set-key)
7325 (substitute-key-definition, locate-user-emacs-file)
7326 (with-silent-modifications, split-string, eval-after-load):
7327 Fix typos, remove unneeded backslashes and reflow some docstrings.
7328
7329 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7330
7331 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7332 default for Elisp files.
7333
7334 2013-06-11 Glenn Morris <rgm@gnu.org>
7335
7336 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7337 although define-derived-mode was doing this anyway. (Bug#14583)
7338
7339 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7340
7341 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7342 Fix make-variable-buffer-local call to refer to the correct variable.
7343
7344 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7345
7346 * eshell/em-term.el (eshell-visual-commands)
7347 (eshell-visual-subcommands, eshell-visual-options):
7348 Add summary line to docstrings. Add cross-references.
7349
7350 2013-06-10 Glenn Morris <rgm@gnu.org>
7351
7352 * epa.el (epa-read-file-name): New function. (Bug#14510)
7353 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7354
7355 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7356
7357 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7358 output redirection to be ignored with visual commands.
7359
7360 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7361
7362 * eshell/em-term.el (eshell-visual-command-p): New function.
7363 (eshell-term-initialize): Move long lambda to separate function
7364 eshell-visual-command-p.
7365 * eshell/em-dirs.el (eshell-dirs-initialise):
7366 * eshell/em-script.el (eshell-script-initialize):
7367 Add missing #' to lambda.
7368
7369 2013-06-08 Leo Liu <sdl.web@gmail.com>
7370
7371 * progmodes/octave.el (octave-add-log-current-defun): New function.
7372 (octave-mode): Set add-log-current-defun-function.
7373 (octave-goto-function-definition): Do not move point if not found.
7374 (octave-find-definition): Enhance to try subfunctions first.
7375
7376 2013-06-08 Glenn Morris <rgm@gnu.org>
7377
7378 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7379 (byte-compile-backward-char, byte-compile-backward-word):
7380 Improve previous change, to handle non-explicit nil.
7381
7382 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7383
7384 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7385 (smie--opener/closer-at-point): New function.
7386 (smie--matching-block-data): Use it. Don't match from right after an
7387 opener or right before a closer. Obey smie-blink-matching-inners.
7388 Don't signal a mismatch for repeated inners like "switch..case..case".
7389
7390 2013-06-07 Leo Liu <sdl.web@gmail.com>
7391
7392 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7393 to t. (Bug#14303)
7394 (octave-function-header-regexp): Fix. (Bug#14570)
7395 (octave-help-mode-finish-hook, octave-help-mode-finish):
7396 Remove. Just use temp-buffer-show-hook.
7397
7398 * newcomment.el (comment-search-backward): Revert last change.
7399 (Bug#14434)
7400
7401 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7402
7403 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7404
7405 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7406 through xargs, to avoid failure due to MS-Windows limitations on
7407 command-line length.
7408
7409 2013-06-06 Glenn Morris <rgm@gnu.org>
7410
7411 * font-lock.el (lisp-font-lock-keywords-2):
7412 Treat user-error like error.
7413
7414 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7415 (byte-compile-backward-char, byte-compile-backward-word):
7416 Handle explicit nil arguments. (Bug#14565)
7417
7418 2013-06-05 Alan Mackenzie <acm@muc.de>
7419
7420 * isearch.el (isearch-allow-prefix): New user option.
7421 (isearch-other-meta-char): Don't exit isearch when a prefix
7422 argument is typed whilst `isearch-allow-prefix' is non-nil.
7423 (Bug#9706)
7424
7425 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7426
7427 * autorevert.el (auto-revert-notify-handler): Use memq.
7428 Hide assertion failure.
7429
7430 * skeleton.el: Use cl-lib.
7431 (skeleton-further-elements): Use defvar-local.
7432 (skeleton-insert): Use cl-progv.
7433
7434 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7435
7436 * progmodes/prog-mode.el (prog-prettify-symbols)
7437 (prog-prettify-install): Update docstrings.
7438
7439 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7440
7441 * simple.el: Move all the prog-mode code to prog-mode.el.
7442 * progmodes/prog-mode.el: New file.
7443 * loadup.el: Add prog-mode.el.
7444
7445 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7446
7447 * simple.el (prog-prettify-symbols): Add version.
7448 (prog-prettify-install): Add convenience function to prettify symbols.
7449
7450 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7451 (perl--augmented-font-lock-keywords-1)
7452 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7453 variables and use it.
7454
7455 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7456 (cfengine3-mode): Remove unneeded variable and use it.
7457
7458 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7459 (lisp--augmented-font-lock-keywords-1)
7460 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7461 Remove unneeded variables and use it.
7462
7463 2013-06-05 João Távora <joaotavora@gmail.com>
7464
7465 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7466 to point when opening the connection. (Bug#14380)
7467
7468 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7469
7470 * subr.el (load-history-regexp, load-history-filename-element)
7471 (eval-after-load, after-load-functions, do-after-load-evaluation)
7472 (eval-next-after-load, display-delayed-warnings)
7473 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7474 definition of save-match-data.
7475 (overriding-local-map): Remove accidental obsolescence declaration.
7476
7477 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7478
7479 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7480
7481 Generalize symbol prettify support to prog-mode and implement it
7482 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7483 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7484 (prog--prettify-font-lock-compose-symbol)
7485 (prog-prettify-font-lock-symbols-keywords): New variables and
7486 functions to support symbol prettification.
7487 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7488 (lisp--augmented-font-lock-keywords-1)
7489 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7490 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7491 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7492 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7493 Implement prettify of -> => :: strings.
7494 * progmodes/perl-mode.el (perl-prettify-symbols)
7495 (perl--font-lock-compose-symbol)
7496 (perl--font-lock-symbols-keywords): Move to prog-mode.
7497 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7498 (perl-font-lock-keywords-1)
7499 (perl-font-lock-keywords-2): Remove explicit prettify support.
7500 (perl--augmented-font-lock-keywords)
7501 (perl--augmented-font-lock-keywords-1)
7502 (perl--augmented-font-lock-keywords-2, perl-mode):
7503 Implement prettify support.
7504
7505 2013-06-05 Leo Liu <sdl.web@gmail.com>
7506
7507 Re-implement smie matching block highlight using
7508 show-paren-data-function. (Bug#14395)
7509 * emacs-lisp/smie.el (smie-matching-block-highlight)
7510 (smie--highlight-matching-block-overlay)
7511 (smie--highlight-matching-block-lastpos)
7512 (smie-highlight-matching-block)
7513 (smie-highlight-matching-block-mode): Remove.
7514 (smie--matching-block-data-cache): New variable.
7515 (smie--matching-block-data): New function.
7516 (smie-setup): Use smie--matching-block-data for
7517 show-paren-data-function.
7518
7519 * progmodes/octave.el (octave-mode-menu): Fix.
7520 (octave-find-definition): Skip garbage lines.
7521
7522 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7523
7524 Fix compilation error with simultaneous dynamic+lexical scoping.
7525 Add warning when a defvar appears after the first let-binding.
7526 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7527 (byte-compile-close-variables): Initialize it.
7528 (byte-compile--declare-var): New function.
7529 (byte-compile-file-form-defvar)
7530 (byte-compile-file-form-define-abbrev-table)
7531 (byte-compile-file-form-custom-declare-variable): Use it.
7532 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7533 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7534 (byte-compile-bind): Handle dynamic bindings that shadow
7535 lexical bindings.
7536 (byte-compile-unbind): Make arg non-optional.
7537 (byte-compile-let): Simplify.
7538 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7539 (cconv--analyse-function, cconv-analyse-form): Populate it.
7540 Protect byte-compile-bound-variables to limit the scope of defvars.
7541 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7542 Remove unneeded rule for `declare'.
7543
7544 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7545 so as to avoid depending on cl-adjoin at run-time.
7546 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7547
7548 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7549 (macroexp--warn-and-return): Use it.
7550
7551 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7552
7553 * lisp/subr.el: Convert to lexical binding.
7554 (overriding-local-map): Make obsolete.
7555 (add-to-list): Doc fix. Add compiler macro.
7556 (read-key): Swap values of local maps.
7557
7558 2013-06-05 Leo Liu <sdl.web@gmail.com>
7559
7560 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7561
7562 2013-06-04 Leo Liu <sdl.web@gmail.com>
7563
7564 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7565 (compilation-auto-jump): Suppress the "Mark set" message to give
7566 way to exit message.
7567
7568 2013-06-04 Alan Mackenzie <acm@muc.de>
7569
7570 Remove faulty optimisation from indentation calculation.
7571 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7572 search limit based on 2000 characters back from indent-point.
7573
7574 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7575
7576 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7577
7578 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7579
7580 * emacs-lisp/lisp.el: Use lexical-binding.
7581 (lisp--local-variables-1, lisp--local-variables): New functions.
7582 (lisp--local-variables-completion-table): New var.
7583 (lisp-completion-at-point): Use it complete let-bound vars.
7584
7585 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7586 eagerly (bug#14422).
7587
7588 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7589
7590 * autorevert.el (auto-revert-notify-enabled)
7591 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7592 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7593 (auto-revert-notify-handler): Handle also gfilenotify.
7594
7595 * subr.el (file-notify-handle-event): New defun. Replacing ...
7596 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7597 Remove.
7598
7599 2013-06-03 Juri Linkov <juri@jurta.org>
7600
7601 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7602 `M-s h .'. (Bug#14427)
7603
7604 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7605 command `hi-lock-face-symbol-at-point'.
7606 (hi-lock-face-symbol-at-point): New command.
7607 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7608 (hi-lock-menu): Add `highlight-symbol-at-point'.
7609 (hi-lock-mode): Doc fix.
7610
7611 * isearch.el (isearch-forward-symbol-at-point): New command.
7612 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7613 (isearch-highlight-regexp): Add a regexp which matches
7614 words/symbols for word/symbol mode.
7615
7616 * subr.el (find-tag-default-bounds): New function with the body
7617 mostly moved from `find-tag-default'.
7618 (find-tag-default): Move most code to `find-tag-default-bounds',
7619 call it and apply `buffer-substring-no-properties' afterwards.
7620
7621 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7622
7623 * eshell/em-term.el (eshell-term-initialize):
7624 Use `cl-intersection' rather than `intersection'.
7625
7626 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7627
7628 * vc/log-view.el: Doc fix.
7629 (log-view-mode-map): Copy keymap from `special-mode-map'.
7630
7631 2013-06-02 Eric Ludlam <zappo@gnu.org>
7632
7633 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7634 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7635 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7636 (eieio-unbound, eieio-default-superclass)
7637 (eieio--define-field-accessors, method-static, method-before)
7638 (method-primary, method-after, method-num-lists)
7639 (method-generic-before, method-generic-primary)
7640 (method-generic-after, method-num-slots)
7641 (eieio-specialized-key-to-generic-key)
7642 (eieio--check-type, class-v, class-p)
7643 (eieio-class-name, define-obsolete-function-alias)
7644 (eieio-class-parents-fast, eieio-class-children-fast)
7645 (same-class-fast-p, class-constructor, generic-p)
7646 (generic-primary-only-p, generic-primary-only-one-p)
7647 (class-option-assoc, class-option, eieio-object-p)
7648 (class-abstract-p, class-method-invocation-order)
7649 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7650 (eieio-class-un-autoload, eieio-defclass)
7651 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7652 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7653 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7654 (eieio-defgeneric-reset-generic-form)
7655 (eieio-defgeneric-form-primary-only)
7656 (eieio-defgeneric-reset-generic-form-primary-only)
7657 (eieio-defgeneric-form-primary-only-one)
7658 (eieio-defgeneric-reset-generic-form-primary-only-one)
7659 (eieio-unbind-method-implementations)
7660 (eieio--defmethod, eieio--typep)
7661 (eieio-perform-slot-validation, eieio-validate-slot-value)
7662 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7663 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7664 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7665 (eieio-slot-name-index, eieio-class-slot-name-index)
7666 (eieio-set-defaults, eieio-initarg-to-attribute)
7667 (eieio-attribute-to-initarg, eieio-c3-candidate)
7668 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7669 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7670 (eieio-class-precedence-list, eieio-generic-call-methodname)
7671 (eieio-generic-call-arglst, eieio-generic-call-key)
7672 (eieio-generic-call-next-method-list)
7673 (eieio-pre-method-execution-functions, eieio-generic-call)
7674 (eieio-generic-call-primary-only, eieiomt-method-list)
7675 (eieiomt-optimizing-obarray, eieiomt-install)
7676 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7677 (eieio-generic-form, eieio-defmethod, make-obsolete)
7678 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7679 (defclass): Remove `eval-and-compile' from macro.
7680 (call-next-method, shared-initialize): Instead of using
7681 `scoped-class' variable, use new eieio--scoped-class, and
7682 eieio--with-scoped-class.
7683 (initialize-instance): Rename local variable 'scoped-class' to
7684 'this-class' to remove ambiguitity from old global.
7685
7686 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7687 eieio.el.
7688 (eieio--scoped-class-stack): New variable.
7689 (eieio--scoped-class): New fcn.
7690 (eieio--with-scoped-class): New scoping macro.
7691 (eieio-defclass): Use pushnew instead of add-to-list.
7692 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7693 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7694 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7695 `scoped-class' variable, use new eieio--scoped-class, and
7696 eieio--with-scoped-class.
7697
7698 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7699
7700 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7701
7702 * eshell/esh-ext.el (eshell-external-command): Pass args to
7703 `eshell-find-interpreter'.
7704 (eshell-find-interpreter): Add new second parameter ARGS.
7705
7706 * eshell/em-script.el (eshell-script-initialize): Add second arg
7707 to the function added as MATCH to `eshell-interpreter-alist'.
7708
7709 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7710 the function added as MATCH to `eshell-interpreter-alist'.
7711
7712 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7713 (eshell-visual-options): New defcustom.
7714 (eshell-escape-control-x): Adapt docstring.
7715 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7716 `eshell-visual-options' in addition to `eshell-visual-commands'.
7717 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7718
7719 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7720
7721 * progmodes/python.el (python-indent-block-enders): Add break,
7722 continue and raise keywords.
7723
7724 2013-06-01 Glenn Morris <rgm@gnu.org>
7725
7726 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7727
7728 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7729 * progmodes/cc-cmds.el (delete-forward-p):
7730 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7731 * progmodes/cc-engine.el (buffer-syntactic-context):
7732 * progmodes/cc-fonts.el (face-property-instance):
7733 * progmodes/cc-mode.el (set-keymap-parents):
7734 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7735 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7736 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7737 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7738 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7739
7740 * progmodes/cc-vars.el (other): Emacs has this widget since
7741 at least 21.1, so don't (re)define it.
7742
7743 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7744 Replace the obsolete alias pcomplete-arg-quote-list.
7745
7746 2013-06-01 Leo Liu <sdl.web@gmail.com>
7747
7748 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7749 punctuation syntax.
7750 (inferior-octave-minimal-columns)
7751 (inferior-octave-last-column-width): New variables.
7752 (inferior-octave-track-window-width-change): New function.
7753 (inferior-octave-mode): Adjust column width so that Octave output,
7754 for example from 'ls', can fit into the window nicely.
7755
7756 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7757
7758 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7759 Highlight expansions inside regexp literals.
7760
7761 2013-05-31 Glenn Morris <rgm@gnu.org>
7762
7763 * obsolete/sym-comp.el (symbol-complete):
7764 Replace obsolete completion-annotate-function.
7765
7766 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7767
7768 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7769
7770 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7771 New function, checks if point is inside a literal that allows
7772 expression expansion.
7773 (ruby-syntax-propertize-expansion): Use it.
7774 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7775 around the body.
7776
7777 2013-05-30 Juri Linkov <juri@jurta.org>
7778
7779 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7780 to "\M-si".
7781 (isearch-invisible): New variable.
7782 (isearch-forward): Doc fix.
7783 (isearch-mode): Set `isearch-invisible'
7784 to the value of `search-invisible'.
7785 (isearch-toggle-case-fold): Doc fix.
7786 (isearch-toggle-invisible): New command.
7787 (isearch-query-replace): Let-bind `search-invisible'
7788 to the value of `isearch-invisible'.
7789 (isearch-search): Use `isearch-invisible' instead of
7790 `search-invisible'. Let-bind `search-invisible'
7791 to the value of `isearch-invisible'. (Bug#11378)
7792
7793 2013-05-30 Juri Linkov <juri@jurta.org>
7794
7795 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7796 call when `query-flag' is nil and `search-invisible' is non-nil.
7797 (Bug#11746)
7798
7799 2013-05-30 Glenn Morris <rgm@gnu.org>
7800
7801 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7802
7803 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7804 (cc-require): Suppress spurious "noruntime" warnings.
7805 (cc-require-when-compile): Use fboundp, for sake of compiler.
7806
7807 * progmodes/cc-mode.el: Move load of cc-vars before that of
7808 cc-langs (which in turn loads cc-vars), to quieten compiler.
7809
7810 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7811
7812 * paren.el: Simplify the code.
7813 (show-paren-mode): Always start the timer.
7814 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7815 (show-paren--overlay, show-paren--overlay-1): Rename from
7816 show-paren-overlay and show-paren-overlay-1, and initialize to an
7817 overlay rather than to nil.
7818 (show-paren-function): Misc cleanup and simplifications.
7819
7820 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7821
7822 * paren.el (show-paren-data-function): New hook.
7823 (show-paren--default): New function, extracted from show-paren-function.
7824 (show-paren-function): Use show-paren-data-function.
7825
7826 2013-05-30 Glenn Morris <rgm@gnu.org>
7827
7828 * ielm.el (ielm-map, ielm-complete-symbol):
7829 Use completion-at-point rather than obsolete functions.
7830 (inferior-emacs-lisp-mode): Doc fix.
7831 Set completion-at-point-functions, rather than
7832 comint-dynamic-complete-functions.
7833
7834 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7835 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7836 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7837
7838 * image.el (image-animated-p): Tweak definition.
7839
7840 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7841 (rlogin-process-connection-type): Tweak default. Add set-after.
7842 (rlogin-host): Doc fix.
7843 (rlogin): Tweak prompt.
7844 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7845
7846 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7847 * progmodes/tcl.el (inferior-tcl-mode-map):
7848 Use completion-at-point rather than obsolete alias.
7849
7850 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7851
7852 * minibuffer.el (read-file-name-completion-ignore-case):
7853 Move before completion--in-region, for eager macro expansion.
7854
7855 2013-05-29 Juri Linkov <juri@jurta.org>
7856
7857 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7858 for total count of matching lines. Add `global-matches' for total
7859 count of matches. Rename `matches' to `lines' for count of
7860 matching lines. Add `matches' for count of matches.
7861 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7862 to `prev-line' for line number of prev match endpt.
7863 Increment `matches' for every match. Print the number of
7864 matching lines in the header.
7865 (occur-context-lines): Rename `lines' to `curr-line'.
7866 Rename `prev-lines' to `prev-line'. (Bug#14017)
7867
7868 2013-05-29 Juri Linkov <juri@jurta.org>
7869
7870 * replace.el (perform-replace): Add `skip-read-only-count',
7871 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7872 Increment them for corresponding conditions and report the number
7873 of skipped occurrences in the final message. (Bug#11746)
7874 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7875 (replace-string, replace-regexp): Doc fix.
7876
7877 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7878
7879 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7880
7881 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7882 prog-mode-map (bug#14504).
7883
7884 2013-05-29 Leo Liu <sdl.web@gmail.com>
7885
7886 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7887 (octave-help): Small simplification.
7888
7889 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7890 off the highlight first.
7891
7892 2013-05-29 Glenn Morris <rgm@gnu.org>
7893
7894 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7895 Handle idlwave-last-system-routine-info-cons-cell being nil.
7896
7897 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7898 (idlwave-write-paths): Simplify via with-temp-buffer.
7899
7900 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7901 * emulation/cua-rect.el: Also load cua-base at run time.
7902
7903 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7904 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7905 (cperl-imenu-on-info): Require imenu.
7906
7907 2013-05-28 Alan Mackenzie <acm@muc.de>
7908
7909 Handle "capitalised keywords" correctly.
7910 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7911
7912 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
7913
7914 * eshell/em-unix.el: Add -r option to cp.
7915
7916 2013-05-28 Glenn Morris <rgm@gnu.org>
7917
7918 * vc/vc-arch.el (vc-exec-after): Declare.
7919 (vc-switches): Autoload.
7920 * vc/vc-bzr.el: No need to require vc when compiling.
7921 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7922 (vc-resynch-buffer, vc-dir-refresh): Declare.
7923 (vc-setup-buffer, vc-switches): Autoload.
7924 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7925 (vc-resynch-buffer): Declare.
7926 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7927 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7928 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7929 (grep-read-regexp, grep-read-files, grep-expand-template)
7930 (vc-dir-refresh): Declare.
7931 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7932 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7933 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7934 * vc/vc-mtn.el (vc-exec-after): Declare.
7935 (vc-switches): Autoload.
7936 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7937 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7938 (vc-file-tree-walk): Declare.
7939 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7940 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7941 (vc-tag-precondition, vc-rename-master): Autoload.
7942 * vc/vc-svn.el (vc-exec-after): Declare.
7943 (vc-switches, vc-setup-buffer): Autoload.
7944 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7945 Autoload.
7946 (vc-resynch-buffer): Declare.
7947
7948 * obsolete/fast-lock.el (byte-compile-warnings):
7949 Don't warn about obsolete features in this obsolete file.
7950
7951 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7952 Move definition before use.
7953
7954 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7955 (dun-unix-verbs): Remove dun-zippy.
7956 (dun-zippy): Remove function.
7957
7958 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7959
7960 2013-05-27 Juri Linkov <juri@jurta.org>
7961
7962 * replace.el (replace-search): New function with code moved out
7963 from `perform-replace'.
7964 (replace-highlight, replace-dehighlight): Move function definitions
7965 up closer to `replace-search'. (Bug#11746)
7966
7967 2013-05-27 Juri Linkov <juri@jurta.org>
7968
7969 * replace.el (perform-replace): Ignore invisible matches.
7970 In addition to checking `query-replace-skip-read-only', also
7971 filter out matches by calling `run-hook-with-args-until-failure'
7972 on `isearch-filter-predicates', and also check `search-invisible'
7973 for t or call `isearch-range-invisible'.
7974 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7975
7976 2013-05-27 Juri Linkov <juri@jurta.org>
7977
7978 * isearch.el (isearch-filter-predicates): Rename from
7979 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7980 (isearch-message-prefix): Display text from the property
7981 `isearch-message-prefix' of the currently active filters.
7982 (isearch-search): Don't compare `isearch-filter-predicate' with
7983 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7984 on `isearch-filter-predicates'. Also check `search-invisible' for t
7985 or call `isearch-range-invisible'.
7986 (isearch-filter-visible): Make obsolete.
7987 (isearch-lazy-highlight-search):
7988 Call `run-hook-with-args-until-failure' on
7989 `isearch-filter-predicates' and use `isearch-range-invisible'.
7990
7991 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7992 `isearch-filter-predicates' instead of `funcall'ing
7993 `isearch-filter-predicate'.
7994 (Info-mode): Set `Info-isearch-filter' to
7995 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7996
7997 * dired-aux.el (dired-isearch-filter-predicate-orig):
7998 Remove variable.
7999 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8000 (dired-isearch-filenames-end): Add and remove
8001 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8002 instead of changing the value of `isearch-filter-predicate'.
8003 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8004 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8005 Put property `isearch-message-prefix' to "filename " on
8006 `dired-isearch-filter-filenames'.
8007
8008 * wdired.el (wdired-change-to-wdired-mode):
8009 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8010 locally instead of changing `isearch-filter-predicate'.
8011 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8012
8013 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8014
8015 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8016 return the commit hash (Bug#14459). Also set the
8017 `vc-git-detached' property.
8018 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8019 (vc-git-mode-line-string): Use the same help-echo format whether
8020 in detached mode or not, because we know the actual revision now.
8021 When in detached mode, shorten the revision to 7 chars.
8022
8023 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8024
8025 * emacs-lisp/easy-mmode.el (define-minor-mode):
8026 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8027 mode hook and provide a docstring.
8028
8029 2013-05-27 Alan Mackenzie <acm@muc.de>
8030
8031 Remove spurious syntax-table text properties inserted by C-y.
8032 * progmodes/cc-mode.el (c-after-change): Also clear hard
8033 syntax-table property with value nil.
8034
8035 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8036
8037 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8038 when reading the events; the buffer layout shall not be changed.
8039
8040 2013-05-27 Leo Liu <sdl.web@gmail.com>
8041
8042 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8043 New variable.
8044 (inferior-octave-directory-tracker): Automatically re-sync
8045 default-directory.
8046 (octave-help): Improve handling of 'See also'.
8047
8048 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8049
8050 * doc-view.el: Minor naming convention tweaks.
8051 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8052
8053 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8054 even if there's no `display' property yet (bug#14435).
8055
8056 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8057
8058 * subr.el (unmsys--file-name): Rename from reveal-filename.
8059
8060 * Makefile.in (custom-deps, finder-data, autoloads)
8061 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8062 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8063 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8064
8065 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8066
8067 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8068 error-completion on the first 2 args of condition-case (bug#14446).
8069 Don't burp at EOB.
8070
8071 2013-05-25 Leo Liu <sdl.web@gmail.com>
8072
8073 * comint.el (comint-previous-matching-input): Do not flood the
8074 *Messages* buffer with trivial messages.
8075
8076 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8077
8078 * progmodes/flymake.el (flymake-nop): Don't return a string.
8079 (flymake-set-at): Fix typo.
8080
8081 * simple.el (read--expression): New function, extracted from
8082 eval-expression. Set completion-at-point-functions (bug#14465).
8083 (eval-expression, eval-minibuffer): Use it.
8084
8085 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8086
8087 * progmodes/flymake.el (flymake-save-buffer-in-file)
8088 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8089 (flymake-selected-frame, flymake-log, flymake-ins-after)
8090 (flymake-set-at, flymake-get-buildfile-from-cache)
8091 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8092 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8093 Refine the doc string.
8094 (flymake-get-file-name-mode-and-masks): Reformat.
8095 (flymake-get-real-file-name-function): Fix a minor bug.
8096
8097 2013-05-24 Juri Linkov <juri@jurta.org>
8098
8099 * progmodes/grep.el (grep-mode-font-lock-keywords):
8100 Support =linenumber= format used by git-grep for lines with
8101 function names. (Bug#13549)
8102
8103 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8104
8105 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8106 0 after a semi-colon; it works better for smie-auto-fill.
8107 (octave--indent-new-comment-line): New function.
8108 (octave-indent-new-comment-line): Use it (indirectly).
8109 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8110 modify comment-line-break-function.
8111
8112 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8113 (smie-setup): Use add-function to set it.
8114
8115 2013-05-24 Sam Steingold <sds@gnu.org>
8116
8117 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8118 argument (before the `interactive' argument).
8119
8120 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8121
8122 * image-mode.el (image-mode-winprops): Add winprops to
8123 image-mode-winprops-alist before running
8124 image-mode-new-window-functions.
8125 * doc-view.el (doc-view-new-window-function): Don't delay
8126 doc-view-goto-page via timers (bug#14435).
8127
8128 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8129
8130 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8131 (doc-view-desktop-save-buffer): New function.
8132 (doc-view-restore-desktop-buffer): New function.
8133 (desktop-buffer-mode-handlers):
8134 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8135 handler.
8136 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8137 `desktop-save-buffer' function.
8138
8139 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8140
8141 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8142 (tramp-gvfs-file-name-handler): Raise a user error when
8143 `tramp-gvfs-enabled' is nil.
8144 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8145 Do not raise a user error when loading package. (Bug#14447)
8146
8147 * net/xesam.el: Move to obsolete/.
8148
8149 2013-05-24 Glenn Morris <rgm@gnu.org>
8150
8151 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8152
8153 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8154
8155 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8156 (Info-find-node, Man-getpage-in-background): Declare.
8157
8158 * mail/unrmail.el (unrmail):
8159 Replace obsolete detect-coding-with-priority.
8160
8161 * net/socks.el (socks-split-string): Use this rather than split-string.
8162 (socks-nslookup-host): Update for above change.
8163 (dynamic-choice, s5-dynamic-choice-match)
8164 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8165 Comment out unused code.
8166
8167 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8168 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8169 (gud-tooltip-echo-area): Make obsolete.
8170 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8171
8172 * progmodes/js.el (js--optimize-arglist): Declare.
8173
8174 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8175
8176 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8177 (ediff-window-C): Declare.
8178
8179 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8180 Tweak requires to silence compiler.
8181
8182 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8183 (he-search-string, he-tried-table, he-expand-list)
8184 (he-init-string, he-string-member, he-substitute-string)
8185 (he-reset-string): Declare.
8186
8187 * obsolete/options.el (list-options): Use custom-variable-p,
8188 rather than obsolete alias.
8189
8190 2013-05-23 Sam Steingold <sds@gnu.org>
8191
8192 * simple.el (shell-command-on-region): Pass the `replace' argument
8193 down to `call-process-region' to comply with the doc as reported on
8194 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8195
8196 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8197
8198 * emacs-lisp/smie.el (smie-indent-forward-token)
8199 (smie-indent-backward-token): Handle string tokens (bug#14381).
8200
8201 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8202
8203 * ielm.el (ielm-menu): New menu.
8204 (inferior-emacs-lisp-mode): Set comment-start.
8205
8206 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8207
8208 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8209 Fix deactivate action.
8210
8211 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8212 Add cleveref macros.
8213
8214 * lisp/textmodes/reftex-parse.el
8215 (reftex-locate-bibliography-files): Accept options for
8216 bibliography commands.
8217 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8218 Add addbibresource. Basic Biblatex support.
8219
8220 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8221
8222 * net/tramp-gvfs.el (top):
8223 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8224 when loading package. (Bug#14447)
8225
8226 2013-05-23 Glenn Morris <rgm@gnu.org>
8227
8228 * progmodes/js.el: No need to load comint when compiling.
8229 (ring-insert, comint-send-string, comint-send-input)
8230 (comint-last-input-end, ido-chop): Declare.
8231
8232 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8233 * vc/ediff-mult.el: Adjust requires.
8234 (ediff-directories-internal, ediff-directory-revisions-internal)
8235 (ediff-patch-file-internal): Declare.
8236 * vc/ediff-ptch.el: Adjust requires.
8237 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8238 (ediff-find-file): Autoload.
8239 * vc/ediff-util.el: No need to load ediff when compiling.
8240 (ediff-regions-internal): Declare.
8241 * vc/ediff-wind.el: Adjust requires.
8242 (ediff-compute-toolbar-width): Define when compiling.
8243 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8244 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8245 (dired-get-filename, dired-get-marked-files)
8246 (ediff-last-dir-patch, ediff-patch-default-directory)
8247 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8248 (ediff-patch-buffer-internal): Declare.
8249
8250 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8251 (ispell-process, ispell-buffer-local-words, lm-summary)
8252 (lm-section-start, lm-section-end): Declare.
8253 (checkdoc-ispell-init): Simplify.
8254
8255 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8256 (he-string-member, he-reset-string, he-substitute-string): Declare.
8257
8258 * eshell/em-ls.el: Adjust requires.
8259 (eshell-glob-regexp): Declare.
8260 * eshell/em-tramp.el: Adjust requires.
8261 (eshell-parse-command): Autoload.
8262 * eshell/em-xtra.el: Adjust requires.
8263 (eshell-parse-command): Autoload.
8264 * eshell/esh-ext.el: Adjust requires.
8265 (eshell-parse-command, eshell-close-handles): Autoload.
8266 * eshell/esh-io.el: Adjust requires.
8267 (eshell-output-filter): Autoload.
8268 * eshell/esh-util.el: No need to load tramp when compiling.
8269 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8270 Declare.
8271 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8272 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8273 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8274 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8275 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8276 * eshell/esh-opt.el, eshell/esh-proc.el:
8277 * eshell/esh-var.el: Adjust requires.
8278 * eshell/eshell.el: Do not require esh-util twice.
8279 (eshell-add-input-to-history): Declare.
8280 (eshell-command): Check history module is active before using it.
8281
8282 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8283
8284 2013-05-22 Leo Liu <sdl.web@gmail.com>
8285
8286 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8287
8288 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8289
8290 * autorevert.el (auto-revert-notify-add-watch)
8291 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8292 it indicates changes in file modification time.
8293
8294 2013-05-22 Glenn Morris <rgm@gnu.org>
8295
8296 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8297 Always delete the autoloaded function from the noruntime and
8298 unresolved functions lists.
8299
8300 * allout.el: No need to load epa, epg, overlay when compiling.
8301 (epg-context-set-passphrase-callback, epg-list-keys)
8302 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8303 (epg-key-user-id-list): Declare.
8304
8305 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8306 (viper-set-parsing-style-toggling-macro)
8307 (viper-set-emacs-state-searchstyle-macros):
8308 Use called-interactively-p on Emacs.
8309 (viper-looking-back): Make it an obsolete alias. Update callers.
8310 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8311 Use looking-back rather than viper-looking-back.
8312 (viper-tmp-insert-at-eob, viper-enlarge-region)
8313 (viper-read-string-with-history, viper-register-to-point)
8314 (viper-append-to-register, viper-change-state-to-vi)
8315 (viper-backward-char-carefully, viper-forward-char-carefully)
8316 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8317 (viper-change-state-to-emacs): Declare.
8318 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8319 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8320 * emulation/viper-mous.el: Do not load viper-cmd.
8321 (viper-backward-char-carefully, viper-forward-char-carefully)
8322 (viper-forward-word, viper-adjust-window): Declare.
8323
8324 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8325
8326 * progmodes/idlw-help.el (idlwave-help-fontify):
8327 Use called-interactively-p.
8328
8329 * term/w32console.el (w32-get-console-codepage)
8330 (w32-get-console-output-codepage): Declare.
8331
8332 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8333 Remove unnecessary declarations.
8334 (dframe-message): Doc fix.
8335
8336 * info.el (dframe-select-attached-frame, dframe-current-frame):
8337 Declare.
8338
8339 * speedbar.el (speedbar-message): Make it an obsolete alias.
8340 Update all callers.
8341 (speedbar-with-attached-buffer)
8342 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8343 (speedbar-with-writable): Use backquote.
8344 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8345 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8346 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8347 rather than speedbar- aliases.
8348 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8349 (speedbar-make-specialized-keymap, speedbar-insert-button)
8350 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8351 (speedbar-do-function-pointer): Declare.
8352 (rmail-speedbar-button, rmail-speedbar-find-file)
8353 (rmail-speedbar-move-message):
8354 Use dframe-with-attached-buffer rather than speedbar- alias.
8355 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8356 (dframe-message, speedbar-make-specialized-keymap)
8357 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8358 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8359 (speedbar-insert-button, dframe-select-attached-frame)
8360 (dframe-maybee-jump-to-attached-frame)
8361 (speedbar-change-initial-expansion-list)
8362 (speedbar-previously-used-expansion-list-name): Declare.
8363 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8364 Use dframe-message, dframe-with-attached-buffer rather than
8365 speedbar- aliases.
8366 (gud-sentinel): Silence compiler.
8367 * progmodes/vhdl-mode.el (speedbar-refresh)
8368 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8369 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8370 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8371 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8372 (speedbar-file-lists, speedbar-make-tag-line)
8373 (speedbar-line-directory, speedbar-goto-this-file)
8374 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8375 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8376 (speedbar-make-button, speedbar-reset-scanners)
8377 (speedbar-files-item-info, speedbar-line-text)
8378 (speedbar-find-file-in-frame, speedbar-set-timer)
8379 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8380 (speedbar-with-writable): Do not (re)define it.
8381 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8382 rather than speedbar- alias.
8383
8384 2013-05-21 Leo Liu <sdl.web@gmail.com>
8385
8386 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8387 menu items.
8388 (octave-mode): Tweak fill-nobreak-predicate.
8389 (inferior-octave-startup): Check process to avoid infinite loop.
8390 (inferior-octave): Pop to buffer first to show abornmal process
8391 exit information.
8392
8393 2013-05-21 Glenn Morris <rgm@gnu.org>
8394
8395 * printing.el (pr-menu-bar): Define when compiling.
8396
8397 2013-05-21 Leo Liu <sdl.web@gmail.com>
8398
8399 * progmodes/octave.el (octave-auto-fill): Remove.
8400 (octave-indent-new-comment-line): Improve.
8401 (octave-mode): Use auto fill mode through
8402 comment-line-break-function and fill-nobreak-predicate.
8403 (octave-goto-function-definition): Support DEFUN_DLD.
8404 (octave-beginning-of-defun): Small tweak.
8405 (octave-help): Show parent directory.
8406
8407 2013-05-21 Glenn Morris <rgm@gnu.org>
8408
8409 * files.el (dired-unmark):
8410 * progmodes/gud.el (gdb-input): Update declarations.
8411
8412 * calculator.el (electric, ehelp): No need to load when compiling.
8413 (Electric-command-loop, electric-describe-mode): Declare.
8414
8415 * doc-view.el (doc-view-current-converter-processes): Move before use.
8416
8417 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8418 Move MODE-set-explicitly definition before use.
8419
8420 * international/mule-diag.el (mule-diag):
8421 Don't use obsolete window-system-version.
8422
8423 * mail/feedmail.el (smtpmail): No need to load when compiling.
8424 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8425
8426 * mail/mail-utils.el (rfc822): No need to load when compiling.
8427 (rfc822-addresses): Autoload it.
8428 (mail-strip-quoted-names): Trivial simplification.
8429
8430 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8431 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8432
8433 * net/snmp-mode.el (tempo): Don't duplicate requires.
8434
8435 * progmodes/prolog.el (info): No need to load when compiling.
8436 (comint): Require before shell requires it.
8437 (Info-goto-node): Autoload it.
8438 (Info-follow-nearest-node): Declare.
8439 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8440
8441 * textmodes/artist.el (picture-mode-exit): Declare.
8442
8443 * textmodes/reftex-parse.el (reftex-parse-from-file):
8444 Trivial rewrite so the compiler can parse it better.
8445
8446 2013-05-20 Leo Liu <sdl.web@gmail.com>
8447
8448 * progmodes/octave.el (octave-help-mode-map)
8449 (octave-help-mode-finish-hook): New variables.
8450 (octave-help-mode, octave-help-mode-finish): New functions.
8451 (octave-help): Use octave-help-mode.
8452
8453 2013-05-20 Glenn Morris <rgm@gnu.org>
8454
8455 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8456
8457 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8458
8459 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8460 start at point, so that expansion starting right after opening
8461 slash in a regexp is recognized.
8462 (ruby-syntax-before-regexp-re): New defvar, extracted from
8463 ruby-syntax-propertize-function. Since the value of this regexp
8464 is looked up at runtime now, we should be able to turn
8465 `ruby-syntax-methods-before-regexp' into a defcustom later.
8466 (ruby-syntax-propertize-function): Split regexp matching into two
8467 parts, for opening and closing slashes. That allows us to skip
8468 over string interpolations and support multiline regexps.
8469 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8470 for them, which calls `ruby-syntax-propertize-expansion'.
8471 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8472 call to `ruby-syntax-propertize-function'.
8473 (ruby-syntax-propertize-expansion): Extracted from
8474 `ruby-syntax-propertize-expansions'. Handles one expansion.
8475 (ruby-syntax-propertize-percent-literal): Leave point right after
8476 the percent symbol, so that the expression expansion rule can
8477 propertize the contents.
8478 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8479 heredoc openers.
8480 (ruby-syntax-propertize-expansions): Remove.
8481
8482 2013-05-18 Juri Linkov <juri@jurta.org>
8483
8484 * man.el (Man-default-man-entry): Remove `-' from the end
8485 of the default value. (Bug#14400)
8486
8487 2013-05-18 Glenn Morris <rgm@gnu.org>
8488
8489 * comint.el (comint-password-prompt-regexp):
8490 Allow "password for XXX" where XXX contains colons (eg https://...).
8491
8492 2013-05-18 Leo Liu <sdl.web@gmail.com>
8493
8494 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8495 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8496 (octave-source-directories): Don't check process.
8497 (octave-source-directories, octave-find-definition): Doc fix.
8498
8499 2013-05-18 Glenn Morris <rgm@gnu.org>
8500
8501 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8502 Remove backspace/delete bindings. (Bug#14392)
8503
8504 * cus-dep.el (custom-make-dependencies): Sort the output.
8505 (custom-versions-load-alist): Convert comment to doc.
8506
8507 2013-05-17 Leo Liu <sdl.web@gmail.com>
8508
8509 * newcomment.el (comment-search-backward): Stricter in finding
8510 comment start. (Bug#14303)
8511
8512 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8513 (octave-comment-start-skip): Properly anchored.
8514
8515 2013-05-17 Leo Liu <sdl.web@gmail.com>
8516
8517 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8518 Clean up when turned off. (Bug#14395)
8519 (smie--highlight-matching-block-overlay): No longer buffer-local.
8520 (smie-highlight-matching-block): Adjust.
8521
8522 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8523
8524 Doc string fix for "nanoseconds" (Bug#14406).
8525 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8526 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8527
8528 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8529
8530 * calc/calc-units.el (math-extract-units): Preserve powers
8531 of units.
8532
8533 2013-05-17 Leo Liu <sdl.web@gmail.com>
8534
8535 * subr.el (delete-consecutive-dups): New function.
8536 * ido.el (ido-set-matches-1): Use it.
8537 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8538 * ido.el (ido-remove-consecutive-dups): Remove.
8539
8540 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8541
8542 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8543 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8544 regexp-opt's `words'.
8545
8546 2013-05-16 Leo Liu <sdl.web@gmail.com>
8547
8548 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8549 (smie--highlight-matching-block-overlay)
8550 (smie--highlight-matching-block-lastpos)
8551 (smie--highlight-matching-block-timer): New variables.
8552 (smie-highlight-matching-block): New function.
8553 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8554 (smie-setup): Conditionally enable smie-blink-matching-open.
8555
8556 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8557
8558 Sync with upstream verilog-mode r840.
8559 * progmodes/verilog-mode.el (verilog-mode-version)
8560 (verilog-mode-release-date): Update.
8561 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8562 (verilog-sig-tieoff): Fix string error on
8563 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8564 (verilog-read-decls): Fix parameters confusing
8565 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8566
8567 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8568
8569 * subr.el (reveal-filename): New function.
8570
8571 * loadup.el: Compute Emacs executable versions on MS-Windows,
8572 where executables have the .exe extension. Add a hard link
8573 emacs-XX.YY.ZZ.exe on MS-Windows.
8574
8575 * Makefile.in (XARGS_LIMIT): New variable.
8576 (custom-deps, finder-data, autoloads)
8577 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8578 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8579 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8580 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8581
8582 2013-05-16 Leo Liu <sdl.web@gmail.com>
8583
8584 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8585 (octave-mode-menu, octave-mode-map): Remove its uses.
8586
8587 2013-05-16 Reto Zimmermann <reto@gnu.org>
8588
8589 Sync with upstream vhdl mode v3.34.2.
8590 * progmodes/vhdl-mode.el: Use `push' throughout.
8591 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8592 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8593 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8594 (vhdl-actual-generic-name): New option to derive actual generic name.
8595 (vhdl-port-paste-signals): Replace formal by actual generics.
8596 (vhdl-beautify): New name for old group vhdl-align. Update users.
8597 (vhdl-beautify-options): New option.
8598 (vhdl-last-input-event): New compat alias. Use throughout.
8599 (vhdl-goto-line): Replace user level function `goto-line'.
8600 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8601 vhdl-fix-statement-buffer.
8602 (vhdl-create-mode-menu): Add some entries.
8603 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8604 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8605 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8606 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8607 to force statements on one line.
8608 (vhdl-remove-trailing-spaces-region):
8609 New, split from vhdl-remove-trailing-spaces.
8610 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8611 Respect vhdl-beautify-options.
8612 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8613 (vhdl-update-sensitivity-list): Not add with index if exists without.
8614 Not include array index with signal. Ignore keywords in comments.
8615 (vhdl-get-visible-signals): Regexp tweaks.
8616 (vhdl-template-component-inst): Handle empty library.
8617 (vhdl-template-type): Add template for 'enum' type.
8618 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8619 Use vhdl-replace-string.
8620 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8621 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8622 (vhdl-speedbar-initialize): Update for above name change.
8623 (vhdl-compose-wire-components): Fix in handling of constants.
8624 (vhdl-error-regexp-emacs-alist): New variable.
8625 (vhdl-error-regexp-add-emacs): New function;
8626 adds support for new compile.el (Emacs 22+)
8627 (vhdl-generate-makefile-1): Change target order for single lib. units.
8628 Allow use of absolute file names.
8629
8630 2013-05-16 Leo Liu <sdl.web@gmail.com>
8631
8632 * simple.el (prog-indent-sexp): Indent enclosing defun.
8633
8634 2013-05-15 Glenn Morris <rgm@gnu.org>
8635
8636 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8637 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8638 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8639 (whitespace-highlight): Move to whitespace group.
8640
8641 * comint.el (comint-source):
8642 * pcmpl-linux.el (pcmpl-linux):
8643 * shell.el (shell-faces):
8644 * eshell/esh-opt.el (eshell-opt):
8645 * international/ccl.el (ccl): Remove empty custom groups.
8646
8647 * completion.el (dynamic-completion-mode):
8648 * jit-lock.el (jit-lock-debug-mode):
8649 * minibuffer.el (completion-in-region-mode):
8650 * type-break.el (type-break-mode-line-message-mode)
8651 (type-break-query-mode):
8652 * emulation/tpu-edt.el (tpu-edt-mode):
8653 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8654 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8655 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8656
8657 * term/xterm.el (xterm): Change parent group to terminals.
8658
8659 * master.el (master): Remove empty custom group.
8660 (master-mode): Remove unused :group argument.
8661 * textmodes/refill.el (refill): Remove empty custom group.
8662 (refill-mode): Remove unused :group argument.
8663
8664 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8665
8666 * cus-dep.el: Provide a feature.
8667 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8668 Don't mistakenly ignore files whose basenames match a basename
8669 from preloaded-file-list (eg cedet/ede/simple.el).
8670 Add a fallback method for getting :group.
8671
8672 2013-05-15 Juri Linkov <juri@jurta.org>
8673
8674 * isearch.el (isearch-char-by-name): Rename from
8675 `isearch-insert-char-by-name'. Doc fix.
8676 (isearch-forward): Mention `isearch-char-by-name' in
8677 the docstring. (Bug#13348)
8678
8679 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8680 `exit-minibuffer' instead of
8681 `isearch-nonincremental-exit-minibuffer'.
8682 (isearch-edit-string): Remove mention of
8683 `isearch-nonincremental-exit-minibuffer' from docstring.
8684 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8685 (isearch-forward-exit-minibuffer)
8686 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8687
8688 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8689
8690 * loadup.el: Just use unversioned DOC.
8691
8692 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8693 literals as extending to EOB.
8694 (nxml-last-fontify-end): Remove unused variable.
8695 (nxml-after-change1): Use with-silent-modifications.
8696 (nxml-extend-after-change-region): Simplify.
8697 (nxml-extend-after-change-region1): Remove function.
8698 (nxml-after-change1): Don't adjust for dependent regions.
8699 (nxml-fontify-matcher): Simplify.
8700 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8701 (xmltok-add-dependent): Remove function.
8702 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8703 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8704 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8705 unclosed <[[, <?, comment, and other literals as extending to EOB.
8706 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8707 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8708 Remove functions.
8709 (rng-do-some-validation-1): Don't mark dependent regions.
8710 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8711 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8712 (nxml-clear-dependent-regions): Remove functions.
8713 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8714 (nxml-ensure-scan-up-to-date):
8715 Don't clear&mark dependent regions.
8716
8717 2013-05-15 Leo Liu <sdl.web@gmail.com>
8718
8719 * progmodes/octave.el (octave-goto-function-definition):
8720 Improve and fix callers.
8721
8722 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8723
8724 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8725 the setter (bug#14387).
8726
8727 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8728 surrounding group (bug#14402).
8729
8730 2013-05-14 Juri Linkov <juri@jurta.org>
8731
8732 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8733 (Bug#14390)
8734
8735 2013-05-14 Glenn Morris <rgm@gnu.org>
8736
8737 * progmodes/f90.el (f90-imenu-generic-expression):
8738 Fix typo in 2013-05-08 change. (Bug#14402)
8739
8740 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8741
8742 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8743 Remove signals for which replies are never received.
8744
8745 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8746
8747 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8748 (gdb-handler-alist, gdb-handler-number): Remove variables.
8749 (gdb-handler-list): New variable.
8750 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8751 (gdb-pending-handler-p, gdb-handle-reply)
8752 (gdb-remove-all-pending-triggers): New functions.
8753 (gdb-discard-unordered-replies): New defcustom.
8754 (gdb-handler): New defstruct.
8755 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8756 instead of gdb-pending-triggers. Update docstring.
8757 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8758 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8759 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8760 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8761 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8762 (gdb-frame-handler): Pending triggers are now automatically managed.
8763 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8764 Remove argument.
8765 (gdb-input): Automatically handles pending triggers. Update docstring.
8766 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8767 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8768 Update comments.
8769 (gdb-done-or-error): Now use gdb-handle-reply.
8770
8771 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8772
8773 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8774 gdb-debug-log.
8775
8776 2013-05-14 Glenn Morris <rgm@gnu.org>
8777
8778 * subr.el (user-emacs-directory-warning): New option.
8779 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8780
8781 2013-05-14 Leo Liu <sdl.web@gmail.com>
8782
8783 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8784 during redisplay.
8785 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8786 (octave-font-lock-texinfo-comment): Fix invalid search bound
8787 error: wrong side of point.
8788
8789 2013-05-14 Glenn Morris <rgm@gnu.org>
8790
8791 * progmodes/flymake.el (flymake-xml-program): New option.
8792 (flymake-xml-init): Use it.
8793
8794 * term/xterm.el: Provide a feature.
8795
8796 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8797
8798 2013-05-13 Glenn Morris <rgm@gnu.org>
8799
8800 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8801 Add compat aliases as a hack workaround. (Bug#14384)
8802
8803 2013-05-13 Leo Liu <sdl.web@gmail.com>
8804
8805 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8806 ###, and %!.
8807 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8808 C-M-q.
8809 (octave-comment-start-skip): Include %!.
8810 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8811
8812 2013-05-12 Leo Liu <sdl.web@gmail.com>
8813
8814 * progmodes/octave.el (inferior-octave-startup): Store the value
8815 of __octave_srcdir__ for octave-source-directories.
8816 (inferior-octave-check-process): New function refactored out of
8817 inferior-octave-send-list-and-digest.
8818 (octave-source-directories)
8819 (octave-find-definition-filename-function): New variables.
8820 (octave-source-directories)
8821 (octave-find-definition-default-filename): New functions.
8822 (octave-find-definition): Improve to find functions implemented in C++.
8823
8824 2013-05-12 Glenn Morris <rgm@gnu.org>
8825
8826 * calendar/diary-lib.el (diary-outlook-format-1):
8827 Don't include dayname in the output. (Bug#14349)
8828
8829 2013-05-11 Glenn Morris <rgm@gnu.org>
8830
8831 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8832
8833 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8834 Treat cc-provide like provide.
8835
8836 2013-05-11 Kevin Ryde <user42@zip.com.au>
8837
8838 * cus-dep.el (custom-make-dependencies):
8839 Use generated-autoload-load-name for the sake of files such
8840 such cedet/semantic/bovine/c.el, where the base file name
8841 is not in load-path. (Bug#5277)
8842
8843 2013-05-11 Glenn Morris <rgm@gnu.org>
8844
8845 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8846 Provide features.
8847
8848 2013-05-11 Leo Liu <sdl.web@gmail.com>
8849
8850 * progmodes/octave.el (octave-indent-comment): Improve.
8851 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8852 (octave-eldoc-function-signatures, octave-eldoc-function):
8853 New functions.
8854 (octave-mode, inferior-octave-mode): Add eldoc support.
8855
8856 2013-05-11 Richard Stallman <rms@gnu.org>
8857
8858 * epa.el (epa-decrypt-file): Take output file name as argument
8859 and read it using `interactive'.
8860
8861 2013-05-11 Leo Liu <sdl.web@gmail.com>
8862
8863 * progmodes/octave.el (octave-beginning-of-line)
8864 (octave-end-of-line): Check before using up-list because it jumps
8865 out of more syntactic contructs since moving to smie.
8866 (octave-indent-comment): New function.
8867 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8868 (octave-begin-keywords, octave-end-keywords)
8869 (octave-reserved-words, octave-smie-bnf-table)
8870 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8871
8872 2013-05-11 Glenn Morris <rgm@gnu.org>
8873
8874 * faces.el (internal-face-x-get-resource):
8875 * frame.el (ns-display-monitor-attributes-list):
8876 * calc/calc-aent.el (math-to-radians-2):
8877 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8878 Fix declarations.
8879
8880 * calc/calc-menu.el: Make it loadable in isolation.
8881
8882 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8883 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8884 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8885 (eudc-bbdb-query-internal): Require 'bbdb.
8886
8887 * lpr.el (lpr-headers-switches):
8888 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8889
8890 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8891
8892 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8893
8894 * term.el (term-set-escape-char): Make it idempotent.
8895
8896 2013-05-10 Leo Liu <sdl.web@gmail.com>
8897
8898 * progmodes/octave.el (inferior-octave-completion-table):
8899 No longer a function and all uses changed. Use cache to speed up
8900 completion due to bug#11906.
8901 (octave-beginning-of-defun): Re-write to be more general.
8902
8903 2013-05-10 Glenn Morris <rgm@gnu.org>
8904
8905 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8906
8907 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8908
8909 * comint.el (comint-redirect-send-command-to-process): Use :around
8910 rather than :override for comint-redirect-filter.
8911 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8912 Call it instead of comint-redirect-original-filter-function (which
8913 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8914
8915 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8916
8917 * frame.el (display-monitor-attributes-list): Add NS case.
8918 (ns-display-monitor-attributes-list): Declare.
8919
8920 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
8921
8922 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8923
8924 2013-05-09 Glenn Morris <rgm@gnu.org>
8925
8926 * international/fontset.el (vertical-centering-font-regexp):
8927 Set standard-value.
8928
8929 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8930
8931 * bookmark.el (bookmark-search-delay):
8932 * cus-start.el (vertical-centering-font-regexp):
8933 * ps-mule.el (ps-mule-font-info-database-default):
8934 * ps-print.el (ps-default-fg, ps-default-bg):
8935 * type-break.el (type-break-good-break-interval):
8936 * whitespace.el (whitespace-indentation-regexp)
8937 (whitespace-space-after-tab-regexp):
8938 * emacs-lisp/testcover.el (testcover-1value-functions)
8939 (testcover-noreturn-functions, testcover-progn-functions)
8940 (testcover-prog1-functions):
8941 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8942 * eshell/em-glob.el (eshell-glob-translate-alist):
8943 * play/tetris.el (tetris-tty-colors):
8944 * progmodes/cpp.el (cpp-face-default-list):
8945 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8946 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8947 (idlwave-help-browser-generic-args):
8948 * progmodes/make-mode.el (makefile-special-targets-list):
8949 * progmodes/python.el (python-shell-virtualenv-path):
8950 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8951 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8952 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8953 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8954 * textmodes/reftex-vars.el (reftex-format-label-function):
8955 * textmodes/remember.el (remember-diary-file): Fix custom types.
8956
8957 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8958 Add :version.
8959
8960 2013-05-09 Leo Liu <sdl.web@gmail.com>
8961
8962 * progmodes/octave.el (inferior-octave-completion-at-point):
8963 Restore file completion. (Bug#14300)
8964 (inferior-octave-startup): Fix incorrect highlighting for the
8965 first prompt.
8966
8967 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8968
8969 * progmodes/ruby-mode.el: First cut at SMIE support.
8970 (ruby-use-smie): New var.
8971 (ruby-smie-grammar): New constant.
8972 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8973 (ruby-smie--forward-token, ruby-smie--backward-token)
8974 (ruby-smie-rules): New functions.
8975 (ruby-mode-variables): Setup SMIE if applicable.
8976
8977 2013-05-08 Eli Zaretskii <eliz@gnu.org>
8978
8979 * simple.el (line-move-visual): Signal beginning/end of buffer
8980 only if vertical-motion moved less than it was requested. Avoids
8981 silly incorrect error messages when there are display strings with
8982 multiple newlines at EOL.
8983
8984 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8985
8986 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8987 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8988 (prolog-char-quote-workaround):
8989 * progmodes/cperl-mode.el (cperl-under-as-char):
8990 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8991 Mark as obsolete.
8992 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8993 their declaration.
8994 (vhdl-mode-syntax-table-init): Remove.
8995
8996 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8997 last change.
8998
8999 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9000 syntax for "_".
9001 (ld-script-font-lock-keywords):
9002 Change regexps to use things like \_< and \_>.
9003
9004 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9005 Change all regexps to use things like \_< and \_>.
9006
9007 * progmodes/autoconf.el (autoconf-definition-regexp)
9008 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9009 Handle a _ with symbol syntax.
9010 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9011
9012 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9013 Consolidate declaration.
9014 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9015 the declaration.
9016 (ada-create-syntax-table): Remove.
9017 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9018 already has the right syntax nowadays.
9019 (ada-goto-next-word): Don't change the syntax of "_".
9020
9021 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9022 with-wrapper-hook.
9023
9024 2013-05-08 Sam Steingold <sds@gnu.org>
9025
9026 * thingatpt.el (thing-at-point): Accept optional second argument
9027 NO-PROPERTIES to strip the text properties from the return value.
9028 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9029 to `thing-at-point' instead of stripping the properties ourselves.
9030 Also, when `thing-at-point' fails to find a url, prepend "http://"
9031 to the filename at point on the assumption that the user is
9032 pointing at something like gnu.org/gnu.
9033
9034 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9035
9036 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9037 * faces.el (crm-separator):
9038 Silence byte-compiler.
9039
9040 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9041 (tool-bar-map): Remove unneeded defvars.
9042
9043 2013-05-08 Leo Liu <sdl.web@gmail.com>
9044
9045 Re-work a fix for bug#10994 based on Le Wang's patch.
9046 * ido.el (ido-remove-consecutive-dups): New helper.
9047 (ido-completing-read): Use it.
9048 (ido-chop): Revert fix for bug#10994.
9049
9050 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9051
9052 * cus-edit.el (custom-save-variables):
9053 Pretty-print long values. (Bug#14187)
9054
9055 2013-05-08 Glenn Morris <rgm@gnu.org>
9056
9057 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9058 (m4-mode-syntax-table): Init in the defvar.
9059 (m4-mode-abbrev-table): Let define-derived-mode define it.
9060
9061 2013-05-08 Tom Tromey <tromey@redhat.com>
9062
9063 * progmodes/m4-mode.el (m4-mode-syntax-table):
9064 Do not treat "_" as word constituent. (Bug#14167)
9065
9066 2013-05-07 Glenn Morris <rgm@gnu.org>
9067
9068 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9069 Remove explicit eshell-isearch-cancel-map.
9070
9071 * progmodes/f90.el (f90-smart-end-names): New option.
9072 (f90-smart-end): Doc fix.
9073 (f90-end-block-optional-name): New constant.
9074 (f90-block-match): Respect f90-smart-end-names.
9075
9076 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9077
9078 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9079 about implicit semi-colons (bug#14218).
9080
9081 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9082
9083 * frame.el (display-monitor-attributes-list)
9084 (frame-monitor-attributes): New functions.
9085
9086 2013-05-06 Leo Liu <sdl.web@gmail.com>
9087
9088 * progmodes/octave.el (octave-syntax-propertize-function): Change
9089 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9090 (octave-font-lock-keywords): Use octave-operator-regexp.
9091 (octave-completion-at-point): Rename from
9092 octave-completion-at-point-function.
9093 (inferior-octave-directory-tracker): Robustify.
9094 (octave-text-functions): Remove and fix its uses. No such things
9095 any more.
9096
9097 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9098
9099 * emacs-lisp/trace.el (trace--display-buffer): New function.
9100 (trace-make-advice): Use it.
9101
9102 2013-05-06 Juri Linkov <juri@jurta.org>
9103
9104 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9105 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9106 Doc fix.
9107 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9108 in the help string. (Bug#12985)
9109
9110 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9111
9112 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9113
9114 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9115
9116 * progmodes/perl-mode.el: Add support for here documents.
9117 (perl-syntax-propertize-function): Match here-doc markers.
9118 (perl-syntax-propertize-special-constructs): Find their end.
9119 (perl-imenu-generic-expression): Use [:alnum:].
9120
9121 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9122 (advice--add-function): Refresh the advice if already present
9123 (bug#14317).
9124
9125 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9126
9127 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9128
9129 2013-05-06 Glenn Morris <rgm@gnu.org>
9130
9131 * w32-fns.el (w32-charset-info-alist): Declare.
9132
9133 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9134 of its defcustom properties.
9135 (eshell-cmpl-initialize): No need to load pcomplete.
9136
9137 * generic-x.el: No need to require comint when compiling.
9138
9139 * net/eudc-export.el: Make it loadable without bbdb.
9140 (top-level): Use require rather than load-library.
9141 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9142 (eudc-batch-export-records-to-bbdb)
9143 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9144 Require bbdb.
9145
9146 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9147
9148 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9149 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9150 some tweaks, instead.
9151
9152 2013-05-05 Leo Liu <sdl.web@gmail.com>
9153
9154 * progmodes/octave.el (octave-font-lock-keywords)
9155 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9156 (inferior-octave-send-list-and-digest): Improve error message.
9157 (octave-mode, inferior-octave-mode): Use setq-local.
9158 (octave-help): Set info-lookup-mode.
9159
9160 2013-05-05 Richard Stallman <rms@gnu.org>
9161
9162 * vc/compare-w.el (compare-windows-whitespace):
9163 Treat no-break space as whitespace.
9164
9165 * mail/rmailsum.el (rmail-summary-rmail-update):
9166 Detect empty summary and don't change selected message.
9167 (rmail-summary-goto-msg): Likewise.
9168
9169 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9170 Doc fixes, rename args.
9171
9172 2013-05-05 Alan Mackenzie <acm@muc.de>
9173
9174 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9175
9176 2013-05-05 Juri Linkov <juri@jurta.org>
9177
9178 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9179 to not add the length of the summary segment to the return value.
9180 (Bug#14125)
9181
9182 2013-05-05 Leo Liu <sdl.web@gmail.com>
9183
9184 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9185 (inferior-octave-output-filter): Remove.
9186 (octave-send-region, inferior-octave-startup): Fix callers.
9187 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9188 (octave-binary-file-extensions): New user variable.
9189 (octave-find-definition): Confirm if opening binary files.
9190 (octave-help-file): Use octave-find-definition to get the binary
9191 confirmation.
9192 (octave-help): Adjust for octave-help-file change.
9193
9194 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9195
9196 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9197 Merge the two entries that handle function definitions.
9198 (pascal--syntax-propertize): New const.
9199 (pascal-mode): Use it. Use setq-local.
9200
9201 2013-05-04 Glenn Morris <rgm@gnu.org>
9202
9203 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9204 (diary-from-outlook): Respect diary-from-outlook-function.
9205
9206 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9207
9208 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9209 Move the declaration from C.
9210 (read-minibuffer, eval-minibuffer): Move from C.
9211 (completion-setup-function): Avoid minibuffer-completion-contents.
9212
9213 2013-05-03 Leo Liu <sdl.web@gmail.com>
9214
9215 * progmodes/octave.el (octave-font-lock-keywords): Do not
9216 dehighlight 'end' in comments or strings.
9217 (octave-completing-read, octave-goto-function-definition):
9218 New helpers.
9219 (octave-help-buffer): New user variable.
9220 (octave-help-file, octave-help-function): New button types.
9221 (octave-help): New command and bind it to C-h ;.
9222 (octave-find-definition): New command and bind it to M-.
9223 (user-error): Alias to error if not defined.
9224
9225 2013-05-02 Leo Liu <sdl.web@gmail.com>
9226
9227 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9228 for \. (bug#14332)
9229 (octave-font-lock-keywords): Include [ and {.
9230
9231 2013-05-02 Leo Liu <sdl.web@gmail.com>
9232
9233 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9234 (inferior-octave): Remove calling comint-mode and return the buffer.
9235 (inferior-octave-startup): Cosmetic changes.
9236
9237 2013-05-02 Leo Liu <sdl.web@gmail.com>
9238
9239 * progmodes/octave.el (octave-syntax-propertize-function):
9240 Include the case when ' is at line beginning. (Bug#14336)
9241
9242 2013-05-02 Glenn Morris <rgm@gnu.org>
9243
9244 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9245 * desktop.el (vc-dir-mode): Just autoload it here.
9246
9247 2013-05-02 Alan Mackenzie <acm@muc.de>
9248
9249 Eliminate variable c-standard-font-lock-fontify-region-function.
9250 * progmodes/cc-mode.el
9251 (c-standard-font-lock-fontify-region-function): Remove.
9252 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9253
9254 2013-05-01 Leo Liu <sdl.web@gmail.com>
9255
9256 * progmodes/octave.el: Compatible with older emacs-24 releases.
9257 (inferior-octave-has-built-in-variables): Remove. Built-in
9258 variables were removed from Octave in 2007.
9259 (inferior-octave-startup): Fix uses.
9260 (comint-line-beginning-position): Remove compatibility code for
9261 emacs 21.
9262
9263 2013-05-01 Juri Linkov <juri@jurta.org>
9264
9265 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9266
9267 2013-05-01 Juri Linkov <juri@jurta.org>
9268
9269 * comint.el (comint-previous-matching-input): Don't print message
9270 "History item: %d" when `isearch-mode' is active.
9271 (comint-history-isearch-message): Print message "History item: %d"
9272 when `comint-input-ring-index' is not empty and this function is
9273 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9274
9275 2013-05-01 Leo Liu <sdl.web@gmail.com>
9276
9277 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9278 definitions. Use completion-at-point to insert keywords.
9279 (octave-abbrev-start): Remove.
9280 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9281
9282 2013-04-30 Leo Liu <sdl.web@gmail.com>
9283
9284 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9285 change.
9286
9287 2013-04-30 Alan Mackenzie <acm@muc.de>
9288
9289 Handle arbitrarily long C++ member initialisation lists.
9290 * progmodes/cc-engine.el (c-back-over-member-initializers):
9291 new function.
9292 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9293 (most) member init lists.
9294
9295 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9296
9297 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9298 variable.
9299
9300 2013-04-30 Leo Liu <sdl.web@gmail.com>
9301
9302 * progmodes/octave.el (octave-variables): Remove. No builtin
9303 variables any more. All converted to functions.
9304 (octave-font-lock-keywords, octave-completion-at-point-function):
9305 Fix uses.
9306 (octave-font-lock-texinfo-comment): New user variable.
9307 (octave-texinfo-font-lock-keywords): New variable for texinfo
9308 comment block.
9309 (octave-function-comment-block): New face.
9310 (octave-font-lock-texinfo-comment): New function.
9311 (octave-mode): Font lock texinfo comment block.
9312
9313 2013-04-29 Leo Liu <sdl.web@gmail.com>
9314
9315 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9316 indexing expression.
9317 (octave-continuation-string): Do not use \.
9318 (inferior-octave-complete-impossible): Remove.
9319 (inferior-octave-completion-table)
9320 (inferior-octave-completion-at-point): Remove its uses.
9321 (inferior-octave-startup): completion_matches was introduced to
9322 Octave in 1996 so safe to assume it.
9323 (octave-function-file-comment): Improve to follow how Octave does it.
9324 (octave-update-function-file-comment): Tweak.
9325
9326 2013-04-29 Leo Liu <sdl.web@gmail.com>
9327
9328 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9329 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9330 (octave-function-file-comment): Fix typo.
9331 (octave-sync-function-file-names): Use read-char-choice.
9332
9333 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9334
9335 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9336 to t for the less important warnings.
9337
9338 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9339
9340 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9341
9342 2013-04-27 Glenn Morris <rgm@gnu.org>
9343
9344 * vc/log-view.el (log-view-current-entry):
9345 Treat "---" separator lines as part of the following rev. (Bug#14169)
9346
9347 2013-04-27 Juri Linkov <juri@jurta.org>
9348
9349 * subr.el (read-number): Doc fix about using it by interactive
9350 code letter `n'. (Bug#14254)
9351
9352 2013-04-27 Juri Linkov <juri@jurta.org>
9353
9354 * desktop.el (desktop-auto-save-timeout): New option.
9355 (desktop-file-checksum): New variable.
9356 (desktop-save): Add optional arg `auto-save' and don't auto-save
9357 if nothing changed.
9358 (desktop-auto-save-timer): New variable.
9359 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9360 (after-init-hook): Call `desktop-auto-save-set-timer'.
9361 Suggested by Reuben Thomas <rrt@sc3d.org> in
9362 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9363
9364 2013-04-27 Leo Liu <sdl.web@gmail.com>
9365
9366 * progmodes/octave.el (octave-function-file-p)
9367 (octave-skip-comment-forward, octave-function-file-comment)
9368 (octave-update-function-file-comment): New functions.
9369 (octave-mode-map): Bind C-c ; to
9370 octave-update-function-file-comment.
9371 (octave-mode-menu): Add octave-update-function-file-comment.
9372 (octave-mode, inferior-octave-mode): Fix doc-string.
9373 (octave-insert-defun): Conform to Octave's coding convention.
9374 (Bug#14285)
9375
9376 * files.el (basic-save-buffer): Don't let errors in
9377 before-save-hook prevent saving buffer.
9378
9379 2013-04-20 Roland Winkler <winkler@gnu.org>
9380
9381 * faces.el (read-face-name): Use completing-read if arg multiple
9382 is nil.
9383
9384 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9385
9386 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9387 displayed, move point to after the totals line.
9388 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9389 for the details.
9390
9391 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9392
9393 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9394 Add current dir to the load-path.
9395 (package-generate-autoloads): Don't rely on
9396 autoload-ensure-default-file.
9397
9398 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9399
9400 * textmodes/remember.el (remember-store-in-files): Document that
9401 the file name format is passed to `format-time-string'.
9402
9403 2013-04-26 Leo Liu <sdl.web@gmail.com>
9404
9405 * progmodes/octave.el (octave-sync-function-file-names): New function.
9406 (octave-mode): Use it in before-save-hook.
9407
9408 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9409
9410 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9411 (bug#14274).
9412
9413 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9414 \n and comment, even if it's not an implicit ; (bug#14218).
9415
9416 2013-04-26 Glenn Morris <rgm@gnu.org>
9417
9418 * subr.el (read-number): Once more use `read' rather than
9419 `string-to-number', to trap non-numeric input. (Bug#14254)
9420
9421 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9422
9423 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9424 Use `syntax-multiline' text property consistently instead of
9425 `font-lock-multiline'. (Bug#14237)
9426
9427 2013-04-26 Glenn Morris <rgm@gnu.org>
9428
9429 * emacs-lisp/shadow.el (list-load-path-shadows):
9430 No longer necessary to check for duplicate simple.el, since
9431 2012-07-07 change to init_lread to not include installation lisp
9432 directories in load-path when running uninstalled. (Bug#14270)
9433
9434 2013-04-26 Leo Liu <sdl.web@gmail.com>
9435
9436 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9437 (octave-mode, inferior-octave-mode): Use setq-local.
9438 (octave-not-in-string-or-comment-p): Rename to
9439 octave-in-string-or-comment-p.
9440 (octave-in-comment-p, octave-in-string-p)
9441 (octave-in-string-or-comment-p): Replace defsubst with defun.
9442
9443 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9444
9445 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9446
9447 2013-04-25 Bastien Guerry <bzg@gnu.org>
9448
9449 * textmodes/remember.el (remember-data-directory)
9450 (remember-directory-file-name-format): Fix custom types.
9451
9452 2013-04-25 Leo Liu <sdl.web@gmail.com>
9453
9454 * progmodes/octave.el (octave-completion-at-point-function):
9455 Make use of inferior octave process.
9456 (octave-initialize-completions): Remove.
9457 (inferior-octave-completion-table): New function.
9458 (inferior-octave-completion-at-point): Use it.
9459 (octave-completion-alist): Remove.
9460
9461 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9462
9463 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9464 (opascal-mode-syntax-table): New var.
9465 (opascal-literal-kind, opascal-is-literal-end)
9466 (opascal-literal-token-at): Rewrite.
9467 (opascal--literal-start-re, opascal-font-lock-keywords)
9468 (opascal--syntax-propertize): New constants.
9469 (opascal-font-lock-defaults): Adjust.
9470 (opascal-mode): Use them. Set comment-<foo> variables as well.
9471 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9472 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9473 (delphi-other-face, opascal-other-face): Remove face variables.
9474 (opascal-save-state): Remove macro.
9475 (opascal-fontifying-progress-step): Remove constant.
9476 (opascal--ignore-changes): Remove var.
9477 (opascal-set-token-property, opascal-parse-next-literal)
9478 (opascal-is-stable-literal, opascal-complete-literal)
9479 (opascal-is-literal-start, opascal-face-of)
9480 (opascal-parse-region, opascal-parse-region-until-stable)
9481 (opascal-fontify-region, opascal-after-change)
9482 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9483 (opascal-debug-parse-region, opascal-debug-parse-window)
9484 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9485 (opascal-debug-fontify-buffer): Remove.
9486 (opascal-debug-mode-map): Adjust accordingly.
9487
9488 2013-04-25 Leo Liu <sdl.web@gmail.com>
9489
9490 Merge octave-mod.el and octave-inf.el into octave.el with some
9491 cleanups.
9492 * progmodes/octave.el: New file renamed from octave-mod.el.
9493 * progmodes/octave-inf.el: Merged into octave.el.
9494 * progmodes/octave-mod.el: Renamed to octave.el.
9495
9496 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9497
9498 * textmodes/reftex-vars.el
9499 (reftex-label-ignored-macros-and-environments): New defcustom.
9500
9501 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9502
9503 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9504
9505 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9506 (smie-indent-keyword): Improve the check to ensure that the next
9507 comment is really on the same line.
9508 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9509
9510 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9511 semi-colons if the line is not otherwise empty (bug#14218).
9512
9513 2013-04-25 Glenn Morris <rgm@gnu.org>
9514
9515 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9516
9517 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9518
9519 * progmodes/opascal.el (opascal-set-token-property): Rename from
9520 opascal-set-text-properties and only set `token' (bug#14134).
9521 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9522 (opascal-literal-text-properties): Remove.
9523 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9524 Adjust callers.
9525
9526 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9527
9528 * textmodes/remember.el (remember-handler-functions): Add an
9529 option for a new handler `remember-store-in-files'.
9530 (remember-data-directory, remember-directory-file-name-format):
9531 New options.
9532 (remember-store-in-files): New function to store remember notes
9533 as separate files within a directory.
9534
9535 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9536
9537 * progmodes/compile.el (compilation-next-error-function):
9538 Pass "formats" to compilation-find-file (bug#11777).
9539
9540 2013-04-24 Glenn Morris <rgm@gnu.org>
9541
9542 * vc/vc-bzr.el (vc-bzr-print-log):
9543 * vc/vc-hg.el (vc-hg-print-log):
9544 * vc/vc-svn.el (vc-svn-print-log):
9545 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9546
9547 * vc/vc-bzr.el (vc-bzr-print-log):
9548 * vc/vc-cvs.el (vc-cvs-print-log):
9549 * vc/vc-git.el (vc-git-print-log):
9550 * vc/vc-hg.el (vc-hg-print-log):
9551 * vc/vc-mtn.el (vc-mtn-print-log):
9552 * vc/vc-rcs.el (vc-rcs-print-log):
9553 * vc/vc-sccs.el (vc-sccs-print-log):
9554 * vc/vc-svn.el (vc-svn-print-log):
9555 * vc/vc.el (vc-print-log-internal): Doc fixes.
9556
9557 2013-04-23 Glenn Morris <rgm@gnu.org>
9558
9559 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9560 Remove venerable code attempting to avoid substitute-command-keys.
9561
9562 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9563
9564 * textmodes/reftex-vars.el (reftex-label-regexps):
9565 Call `reftex-compile-variables' after changes to this variable.
9566
9567 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9568
9569 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9570 Use lexical-binding.
9571 (jit-lock-force-redisplay): Use markers, check buffer's continued
9572 existence and beware narrowed buffers.
9573 (jit-lock-fontify-now): Adjust call accordingly.
9574
9575 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9576
9577 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9578 to avoid misleading the user.
9579
9580 2013-04-22 Leo Liu <sdl.web@gmail.com>
9581
9582 * info-look.el: Prefer latex2e.info. (Bug#14240)
9583
9584 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9585
9586 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9587
9588 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9589 * net/tramp.el (tramp-call-process): ... here.
9590 (tramp-set-completion-function, tramp-parse-putty):
9591 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9592 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9593 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9594 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9595 (tramp-call-local-coding-command): Use `tramp-call-process'
9596 instead of `tramp-compat-call-process'.
9597
9598 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9599 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9600 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9601 (tramp-find-inline-compress): Improve traces.
9602 (tramp-maybe-send-script): Check for Perl binary.
9603 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9604
9605 2013-04-22 Daiki Ueno <ueno@gnu.org>
9606
9607 * epg.el (epg-context-pinentry-mode): New function.
9608 (epg-context-set-pinentry-mode): New function.
9609 (epg--start): Pass --pinentry-mode option to gpg command.
9610
9611 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9612
9613 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9614 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9615 `completion-at-point'. (Bug#13774)
9616
9617 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9618 default key binding for `describe-distribution' has been moved to
9619 `C-h C-o'. (Bug#13970)
9620
9621 2013-04-21 Glenn Morris <rgm@gnu.org>
9622
9623 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9624 Add doc strings.
9625 (vc-print-log): Clarify interactive prompt.
9626
9627 2013-04-20 Glenn Morris <rgm@gnu.org>
9628
9629 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9630 No longer include timestamp etc information.
9631
9632 2013-04-20 Roland Winkler <winkler@gnu.org>
9633
9634 * faces.el (read-face-name): Bug fix, return just one face if arg
9635 multiple is nil. (Bug#14209)
9636
9637 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9638
9639 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9640 (remove-function): Autoload.
9641
9642 * comint.el (comint-redirect-original-filter-function): Remove.
9643 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9644 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9645 (vc-cvs-annotate-command):
9646 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9647 * progmodes/prolog.el (prolog-consult-compile):
9648 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9649 Use add/remove-function instead.
9650 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9651 (gud-tooltip-process-output, gud-tooltip-tips):
9652 Use add/remove-function instead.
9653 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9654 (scheme-interaction-mode, exit-scheme-interaction-mode):
9655 Use add/remove-function instead.
9656
9657 * vc/vc-dispatcher.el: Use lexical-binding.
9658 (vc--process-sentinel): Rename from vc-process-sentinel.
9659 Change last arg to be the code to run. Don't use vc-previous-sentinel
9660 and vc-sentinel-commands any more.
9661 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9662 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9663
9664 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9665
9666 * progmodes/sh-script.el (sh-imenu-generic-expression):
9667 Handle function names with a single character. (Bug#14111)
9668
9669 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9670
9671 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9672 for subroutines defined in an eval (bug#14182).
9673
9674 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9675
9676 * bookmark.el (bookmark-completing-read): Improve handling of empty
9677 string (bug#14176).
9678
9679 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9680
9681 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9682
9683 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9684
9685 New faster Imenu implementation (bug#14058).
9686 * progmodes/python.el:
9687 (python-imenu-prev-index-position):
9688 (python-imenu-format-item-label-function)
9689 (python-imenu-format-parent-item-label-function)
9690 (python-imenu-format-parent-item-jump-label-function):
9691 New vars.
9692 (python-imenu-format-item-label)
9693 (python-imenu-format-parent-item-label)
9694 (python-imenu-format-parent-item-jump-label)
9695 (python-imenu--put-parent, python-imenu--build-tree)
9696 (python-imenu-create-index, python-imenu-create-flat-index)
9697 (python-util-popn): New functions.
9698 (python-mode): Set imenu-create-index-function to
9699 python-imenu-create-index.
9700
9701 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9702
9703 * winner.el (winner-active-region): Use region-active-p, activate-mark
9704 and deactivate-mark (bug#14225).
9705
9706 * simple.el (deactivate-mark): Don't inline it.
9707
9708 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9709
9710 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9711
9712 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9713
9714 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9715 file extensions from the archive-mode entry in order to prefer
9716 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9717
9718 2013-04-18 Leo Liu <sdl.web@gmail.com>
9719
9720 * bindings.el (help-event-list): Add ?\?.
9721
9722 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9723
9724 * subr.el (with-wrapper-hook): Declare obsolete.
9725 * simple.el (filter-buffer-substring-function): New hook.
9726 (filter-buffer-substring): Use it.
9727 (filter-buffer-substring-functions): Mark obsolete.
9728 * minibuffer.el (completion-in-region-function): New hook.
9729 (completion-in-region): Use it.
9730 (completion-in-region-functions): Mark obsolete.
9731 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9732 * abbrev.el (abbrev-expand-function): New hook.
9733 (expand-abbrev): Use it.
9734 (abbrev-expand-functions): Mark obsolete.
9735 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9736 and :filter-return.
9737
9738 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9739
9740 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9741 and do not care about match data.
9742
9743 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9744
9745 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9746 completion tables when completing error conditions and
9747 `declare' arguments.
9748 (lisp-complete-symbol, field-complete): Mark as obsolete.
9749 (check-parens): Unmatched parens are user errors.
9750 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9751
9752 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9753
9754 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9755 command changed buffer (ie. `flyspell-pre-buffer' is not current
9756 buffer), which prevents making decisions based on invalid value of
9757 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9758 cause an error when `flyspell-pre-point' was nil after switching
9759 buffers.
9760 (flyspell-post-command-hook): No longer needs to change buffers when
9761 checking pre-word. While at it remove unnecessary progn.
9762
9763 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9764
9765 * textmodes/ispell.el (ispell-add-per-file-word-list):
9766 Fix `flyspell-correct-word-before-point' error when accepting
9767 words and `coment-padding' is an integer by using
9768 `comment-normalize-vars' (Bug #14214).
9769
9770 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9771
9772 New defun movement commands.
9773 * progmodes/python.el (python-nav--syntactically)
9774 (python-nav--forward-defun, python-nav-backward-defun)
9775 (python-nav-forward-defun): New functions.
9776
9777 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9778
9779 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9780 (python-syntax-context): Use named compiler-macro for backwards
9781 compatibility with Emacs 24.x.
9782
9783 2013-04-17 Leo Liu <sdl.web@gmail.com>
9784
9785 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9786 octave-hide-process-buffer.
9787
9788 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9789
9790 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9791 (bug#14216).
9792
9793 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9794
9795 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9796 Fix adjustment of offset when receiving incomplete responses from GDB
9797 (bug#14129).
9798
9799 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9800
9801 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9802 python-mode-abbrev-table.
9803 (python-skeleton-define): Adjust accordingly.
9804 (python-mode-abbrev-table): New table that inherits from it so that
9805 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9806
9807 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9808 (abbrev-symbol): Use it.
9809 (abbrev--before-point): Use it since we already handle inheritance.
9810
9811 2013-04-16 Leo Liu <sdl.web@gmail.com>
9812
9813 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9814 binding to info-lookup-symbol.
9815
9816 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9817
9818 * minibuffer.el (completion--twq-all):
9819 * term/ns-win.el (ns-initialize-window-system):
9820 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9821
9822 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9823
9824 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9825 global bindings.
9826
9827 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9828
9829 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9830
9831 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9832 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9833 to nil.
9834 (ruby-end-of-defun): Remove the unused arg, change the docstring
9835 to reflect that this function is only used as the value of
9836 `end-of-defun-function'.
9837 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9838 to reflect an earlier change that beginning/end-of-defun functions
9839 jump between methods in a class definition, as well as top-level
9840 functions.
9841
9842 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9843
9844 * minibuffer.el (minibuffer-complete): Don't just scroll
9845 a *Completions* that's been iconified.
9846 (minibuffer-force-complete): Make sure repetitions do cycle when going
9847 through completion-in-region -> minibuffer-complete.
9848
9849 2013-04-15 Alan Mackenzie <acm@muc.de>
9850
9851 Correct the placement of c-cpp-delimiters when there're #s not at
9852 col 0.
9853
9854 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9855 place a submatch around the #.
9856 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9857 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9858 on the #, not BOL.
9859
9860 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9861
9862 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9863 (advice--member-p): New arg `name'.
9864 (advice--add-function, advice-member-p): Use it (bug#14202).
9865
9866 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9867
9868 Reformulate java imenu-generic-expression.
9869 The old expression contained ill formed regexps.
9870
9871 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9872 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9873 (cc-imenu-java-method-arg-regexp): New defconsts.
9874 (cc-imenu-java-build-type-args-regex): New defun.
9875 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9876 handling of spaces in the regexp.
9877
9878 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9879
9880 * textmodes/ispell.el (ispell-command-loop): Remove
9881 flyspell highlight of a word when ispell accepts it (bug #14178).
9882
9883 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9884
9885 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9886 uses code from the previous `ange-ftp-run-real-handler'.
9887 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9888 only in case that function exist. This is needed for proper
9889 unloading of Tramp.
9890
9891 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9892
9893 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9894
9895 * textmodes/reftex.el (reftex-compile-variables): Use it.
9896
9897 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9898
9899 * files.el (normal-mode): Only use default major-mode if no other mode
9900 was specified.
9901
9902 * emacs-lisp/trace.el (trace-values): New function.
9903
9904 * files.el: Allow : in local variables (bug#14089).
9905 (hack-local-variable-regexp): New var.
9906 (hack-local-variables-prop-line, hack-local-variables): Use it.
9907
9908 2013-04-13 Roland Winkler <winkler@gnu.org>
9909
9910 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9911 data before it gets modified by bibtex-beginning-of-entry.
9912
9913 2013-04-13 Roland Winkler <winkler@gnu.org>
9914
9915 * textmodes/bibtex.el (bibtex-url): Doc fix.
9916
9917 2013-04-13 Roland Winkler <winkler@gnu.org>
9918
9919 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9920 does not visit a BibTeX file, exclude it from the list of buffers
9921 returned by bibtex-initialize.
9922
9923 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
9924
9925 * window.el (split-window): Remove interactive form, since as a
9926 command this function is a special case of split-window-below.
9927 Correct doc string.
9928
9929 2013-04-12 Roland Winkler <winkler@gnu.org>
9930
9931 * faces.el (read-face-name): Do not override value of arg default.
9932 Allow single faces and strings as default values. Remove those
9933 elements from return value that are not faces.
9934 (describe-face): Simplify.
9935 (face-at-point): New optional args thing and multiple so that this
9936 function can provide the same functionality previously provided by
9937 read-face-name.
9938 (make-face-bold, make-face-unbold, make-face-italic)
9939 (make-face-unitalic, make-face-bold-italic, invert-face)
9940 (modify-face, read-face-and-attribute): Use face-at-point.
9941
9942 * cus-edit.el (customize-face, customize-face-other-window)
9943 * cus-theme.el (custom-theme-add-face)
9944 * face-remap.el (buffer-face-set)
9945 * facemenu.el (facemenu-set-face): Use face-at-point.
9946
9947 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
9948
9949 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9950
9951 2013-04-10 Tassilo Horn <tsdh@gnu.org>
9952
9953 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9954 off leading { and trailing } from field values.
9955
9956 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9957
9958 * emacs-lisp/timer.el (timer--check): New function.
9959 (timer--time, timer-set-function, timer-event-handler): Use it.
9960 (timer-set-idle-time): Simplify.
9961 (timer--activate): CSE.
9962 (timer-event-handler): Give more info in error message.
9963 (internal-timer-start-idle): New function, moved from C.
9964
9965 * mpc.el (mpc-proc): Add `restart' argument.
9966 (mpc-proc-cmd): Use it.
9967 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9968 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9969 less often.
9970
9971 2013-04-10 Masatake YAMATO <yamato@redhat.com>
9972
9973 * progmodes/sh-script.el: Implement `sh-mode' own
9974 `add-log-current-defun-function' (bug#14112).
9975 (sh-current-defun-name): New function.
9976 (sh-mode): Use the function.
9977
9978 2013-04-09 Bastien Guerry <bzg@gnu.org>
9979
9980 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9981
9982 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9983
9984 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9985
9986 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9987 timer (bug#14156).
9988
9989 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9990
9991 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9992 declaration.
9993
9994 2013-04-07 Leo Liu <sdl.web@gmail.com>
9995
9996 * pcmpl-x.el: New file.
9997
9998 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9999
10000 Do not set x-display-name until X connection is established.
10001 This is needed to prevent from weird situation described at
10002 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10003 * frame.el (make-frame): Set x-display-name after call to
10004 window system initialization function, not before.
10005 * term/x-win.el (x-initialize-window-system): Add optional
10006 display argument and use it.
10007 * term/w32-win.el (w32-initialize-window-system):
10008 * term/ns-win.el (ns-initialize-window-system):
10009 * term/pc-win.el (msdos-initialize-window-system):
10010 Add compatible optional display argument.
10011
10012 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10013
10014 * files.el (normal-backup-enable-predicate): On MS-Windows and
10015 MS-DOS compare truenames of temporary-file-directory and of the
10016 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10017 don't fail comparison by compare-strings. Also, compare file
10018 names case-insensitively on MS-Windows and MS-DOS.
10019
10020 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10021
10022 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10023 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10024
10025 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10026
10027 * whitespace.el (whitespace-color-on, whitespace-color-off):
10028 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10029
10030 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10031
10032 * ispell.el (ispell-set-spellchecker-params):
10033 Really set `ispell-args' for all equivs.
10034
10035 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10036
10037 * ido.el (ido-completions): Use extra elements of ido-decorations
10038 (bug#14143).
10039 (ido-decorations): Update docstring.
10040
10041 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10042
10043 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10044 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10045 nil during initialization, in order not to miss changes since the
10046 file was opened. (Bug#14140)
10047
10048 2013-04-05 Leo Liu <sdl.web@gmail.com>
10049
10050 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10051
10052 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10053
10054 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10055
10056 2013-04-04 Glenn Morris <rgm@gnu.org>
10057
10058 * electric.el (electric-pair-inhibit-predicate): Add :version.
10059
10060 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10061
10062 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10063 when a package is required several times (bug#14082).
10064
10065 2013-04-04 Roland Winkler <winkler@gnu.org>
10066
10067 * faces.el (read-face-name): Behave as promised by the docstring.
10068 Assume that arg default is a list of faces.
10069 (describe-face): Call read-face-name with list of default faces.
10070
10071 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10072
10073 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10074 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10075 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10076 the header.
10077 (bookmark-exit-hook-internal): Save even if list is empty.
10078
10079 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10080
10081 * emacs-lisp/package.el (package-pinned-packages): New var.
10082 (package--add-to-archive-contents): Obey it (bug#14118).
10083
10084 2013-04-03 Alan Mackenzie <acm@muc.de>
10085
10086 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10087 Also adapt to the new values of element 7 of a parse state.
10088
10089 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10090 parameter `not-in-delimiter'. Handle being inside comment opener.
10091 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10092 character in case we're typing a '*' after a '/'.
10093 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10094 instead by passing the parameter to c-state-pp-to-literal.
10095
10096 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10097 for elt. 7 of a parse state.
10098
10099 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10100
10101 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10102 * international/latin1-disp.el, international/mule-util.el:
10103 * language/cyril-util.el, language/european.el, language/ind-util.el:
10104 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10105 * language/tibetan.el, language/viet-util.el:
10106 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10107
10108 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10109
10110 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10111 (electric-pair-post-self-insert-function): Use it.
10112 (electric-pair-default-inhibit): New function, extracted from
10113 electric-pair-post-self-insert-function.
10114
10115 2013-03-31 Roland Winkler <winkler@gnu.org>
10116
10117 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10118
10119 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10120
10121 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10122
10123 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10124
10125 Un-indent after "pass" and "return" statements (Bug#13888)
10126 * progmodes/python.el (python-indent-block-enders): New var.
10127 (python-indent-calculate-indentation): Use it.
10128
10129 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10130
10131 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10132 defun. Defining it as defalias could introduce too eager
10133 byte-compiler optimization. (Bug#14030)
10134
10135 2013-03-30 Chong Yidong <cyd@gnu.org>
10136
10137 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10138
10139 2013-03-30 Leo Liu <sdl.web@gmail.com>
10140
10141 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10142 (kmacro-execute-from-register): Pass the keyboard macro to
10143 kmacro-call-macro or repeating won't work correctly.
10144
10145 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10146
10147 * progmodes/subword.el: Back to using `forward-symbol'.
10148
10149 * subr.el (forward-whitespace, forward-symbol)
10150 (forward-same-syntax): Move from thingatpt.el.
10151
10152 2013-03-29 Leo Liu <sdl.web@gmail.com>
10153
10154 * kmacro.el (kmacro-to-register): New command.
10155 (kmacro-execute-from-register): New function.
10156 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10157
10158 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10159
10160 * mpc.el: Use defvar-local and setq-local.
10161 (mpc--proc-connect): Connection failures are not bugs.
10162 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10163 (mpc-volume-map): Bind to the up-events.
10164
10165 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10166
10167 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10168 instead of `forward-symbol'.
10169
10170 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10171
10172 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10173 (edebug--recursive-edit): Use it.
10174 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10175 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10176
10177 2013-03-28 Leo Liu <sdl.web@gmail.com>
10178
10179 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10180
10181 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10182
10183 * facemenu.el (list-colors-callback): New defvar.
10184 (list-colors-redisplay): New function.
10185 (list-colors-display): Install list-colors-redisplay as the
10186 revert-buffer-function. (Bug#14063)
10187
10188 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10189
10190 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10191 and suffixes don't overlap (bug#14061).
10192
10193 * case-table.el: Use lexical-binding.
10194 (case-table-get-table): New function.
10195 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10196
10197 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10198
10199 * progmodes/subword.el: Add `superword-mode' to do word motion
10200 over symbol_words (parallels and leverages `subword-mode' which
10201 does word motion inside MixedCaseWords).
10202
10203 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10204
10205 * eshell/em-unix.el: Move su and sudo to...
10206 * eshell/em-tramp.el: ...Eshell tramp module.
10207
10208 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10209
10210 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10211 Change return value to be a sexp. Delay `get-buffer' to after
10212 restoring the desktop (bug#13951).
10213
10214 2013-03-26 Leo Liu <sdl.web@gmail.com>
10215
10216 * register.el: Move semantic tag handling back to
10217 cedet/semantic/senator.el. (Bug#14052)
10218
10219 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10220
10221 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10222 into the prompt either (bug#13963).
10223
10224 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10225
10226 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10227 part of "(error-foo)".
10228
10229 2013-03-24 Juri Linkov <juri@jurta.org>
10230
10231 * replace.el (list-matching-lines-prefix-face): New defcustom.
10232 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10233 `occur-engine' if `face-differs-from-default-p' returns t.
10234 (occur-engine): Add `,' inside backquote construct to evaluate
10235 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10236 Pass `prefix-face' to the functions `occur-context-lines' and
10237 `occur-engine-add-prefix'.
10238 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10239 `prefix-face' and propertize the prefix with `prefix-face'.
10240 (Bug#14017)
10241
10242 2013-03-24 Leo Liu <sdl.web@gmail.com>
10243
10244 * nxml/rng-valid.el (rng-validate-while-idle)
10245 (rng-validate-quick-while-idle): Guard against deleted buffer.
10246 (Bug#13999)
10247
10248 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10249 is the last entry in kill-buffer-hook.
10250
10251 * files.el (kill-buffer-hook): Doc fix.
10252
10253 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10254
10255 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10256 Make it safe-local.
10257
10258 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10259
10260 2013-03-23 Leo Liu <sdl.web@gmail.com>
10261
10262 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10263 Remove.
10264
10265 * nxml/rng-valid.el (rng-validate-mode)
10266 (rng-after-change-function, rng-do-some-validation):
10267 * nxml/rng-maint.el (rng-validate-buffer):
10268 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10269 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10270 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10271 (nxml-extend-after-change-region): Use with-silent-modifications.
10272
10273 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10274 timer-idle-list.
10275
10276 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10277 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10278 timer-idle-list. (Bug#13999)
10279
10280 2013-03-23 Juri Linkov <juri@jurta.org>
10281
10282 * info.el (info-index-match): New face.
10283 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10284 main pattern and add text properties with the new face to matches
10285 in index entries relative to the beginning of the index entry.
10286 (Bug#14015)
10287
10288 2013-03-21 Eric Ludlam <zappo@gnu.org>
10289
10290 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10291 Inhibit read only while inserting objects.
10292
10293 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10294
10295 * progmodes/cfengine.el: Update docs to mention
10296 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10297 symbol motion. Remove "_" from the word syntax.
10298
10299 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10300
10301 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10302 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10303
10304 2013-03-20 Juri Linkov <juri@jurta.org>
10305
10306 * info.el (Info-next-reference-or-link)
10307 (Info-prev-reference-or-link): New functions.
10308 (Info-next-reference, Info-prev-reference): Use them.
10309 (Info-try-follow-nearest-node): Handle footnote navigation.
10310 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10311
10312 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10313
10314 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10315 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10316
10317 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10318
10319 Suppress unnecessary non-ASCII chatter during build process.
10320 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10321 (batch-skkdic-convert): Suppress most of the chatter.
10322 It's not needed so much now that machines are faster,
10323 and its non-ASCII component was confusing; see Dmitry Gutov in
10324 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10325
10326 2013-03-20 Leo Liu <sdl.web@gmail.com>
10327
10328 * ido.el (ido-chop): Fix bug#10994.
10329
10330 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10331
10332 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10333 Remove vars.
10334 (whitespace-color-on, whitespace-color-off):
10335 Use `font-lock-fontify-buffer' (Bug#13817).
10336
10337 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10338
10339 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10340 remapping in mode-line.
10341 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10342
10343 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10344
10345 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10346 value for `whitespace-line' face (Bug#13875).
10347 (whitespace-font-lock-keywords): Change description.
10348 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10349 the constructed keywords instead.
10350 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10351
10352 2013-03-19 Leo Liu <sdl.web@gmail.com>
10353
10354 * progmodes/compile.el (compilation-display-error): New command.
10355 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10356 C-o. (Bug#13992)
10357
10358 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10359
10360 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10361
10362 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10363
10364 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10365
10366 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10367
10368 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10369
10370 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10371 * net/tramp-gvfs.el (top):
10372 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10373 (tramp-handle-shell-command): Use it.
10374 (tramp-dissect-file-name): Raise an error when hostname is a
10375 method name, and neither method nor user is specified.
10376
10377 * net/trampver.el: Update release number.
10378
10379 2013-03-18 Leo Liu <sdl.web@gmail.com>
10380
10381 Make sure eldoc can be turned off properly.
10382 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10383 eldoc-mode.
10384 (eldoc-display-message-p): Revert last change.
10385 (eldoc-display-message-no-interference-p)
10386 (eldoc-print-current-symbol-info): Tweak.
10387
10388 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10389
10390 * doc-view.el (doc-view-new-window-function): Check the new window
10391 overlay's display property instead the char property of the
10392 buffer's first char. Use `with-selected-window' instead of
10393 `save-window-excursion' with `select-window'.
10394 (doc-view-document->bitmap): Check the current doc-view overlay's
10395 display property instead the char property of the buffer's first char.
10396
10397 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10398
10399 Automate the build of ja-dic.el (Bug#13984).
10400 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10401 from the input, rather than assume that it's been done for us by the
10402 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10403 the current date into a ja-dic.el comment, as that complicates
10404 regression testing.
10405
10406 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10407
10408 * whitespace.el: Fix double evaluation.
10409 (whitespace-space, whitespace-hspace, whitespace-tab)
10410 (whitespace-newline, whitespace-trailing, whitespace-line)
10411 (whitespace-space-before-tab, whitespace-indentation)
10412 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10413 obsolete defvars.
10414 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10415 (whitespace-color-on): Use a single font-lock-add-keywords call.
10416 Fix double-evaluation of face variables.
10417
10418 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10419
10420 * net/tramp-adb.el (tramp-adb-parse-device-names):
10421 Use `start-process' instead of `call-process'. Otherwise, the
10422 function might be blocked under MS Windows. (Bug#13299)
10423
10424 2013-03-17 Leo Liu <sdl.web@gmail.com>
10425
10426 Extend eldoc to display info in the mode-line. (Bug#13978)
10427 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10428 (eldoc-mode-line-string): New variable.
10429 (eldoc-minibuffer-message): New function.
10430 (eldoc-message-function): New variable.
10431 (eldoc-message): Use it.
10432 (eldoc-display-message-p)
10433 (eldoc-display-message-no-interference-p):
10434 Support eldoc-post-insert-mode.
10435
10436 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10437 (eval-expression): Run it.
10438
10439 2013-03-17 Roland Winkler <winkler@gnu.org>
10440
10441 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10442 strings in the list of return values.
10443
10444 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10445
10446 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10447 radix before checking for HMS forms.
10448
10449 2013-03-16 Leo Liu <sdl.web@gmail.com>
10450
10451 * progmodes/scheme.el: Add indentation and font-locking for λ.
10452 (Bug#13975)
10453
10454 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10455
10456 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10457 token before point (bug#13942).
10458
10459 2013-03-16 Leo Liu <sdl.web@gmail.com>
10460
10461 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10462
10463 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10464
10465 * startup.el (command-line-normalize-file-name): Fix handling of
10466 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10467 <xfq.free@gmail.com> in
10468 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10469
10470 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10471
10472 Sync with Tramp 2.2.7.
10473
10474 * net/trampver.el: Update release number.
10475
10476 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10477
10478 * doc-view.el: Fix bug#13887.
10479 (doc-view-insert-image): Don't modify overlay associated to
10480 non-live windows, and implement horizontal centering of image in
10481 case it's smaller than the window.
10482 (doc-view-new-window-function): Force redisplay of new windows on
10483 doc-view buffers.
10484
10485 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10486
10487 * saveplace.el (save-place-alist-to-file): Don't sort
10488 `save-place-alist', just pretty-print it (bug#13882).
10489
10490 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10491
10492 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10493 Check whether `default-file-name-coding-system' is bound.
10494 It isn't in XEmacs.
10495
10496 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10497
10498 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10499 backquotes for `obsolete' (bug#13929).
10500
10501 * international/mule.el (find-auto-coding): Include file name in
10502 obsolescence warning (bug#13922).
10503
10504 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10505
10506 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10507 for CFEngine 3-specific indentation.
10508 (cfengine3-indent-line): Use it. Fix up category regex.
10509 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10510
10511 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10512
10513 * type-break.el (type-break-file-name):
10514 * textmodes/remember.el (remember-data-file):
10515 * strokes.el (strokes-file):
10516 * shadowfile.el (shadow-initialize):
10517 * saveplace.el (save-place-file):
10518 * ps-bdf.el (bdf-cache-file):
10519 * progmodes/idlwave.el (idlwave-config-directory):
10520 * net/quickurl.el (quickurl-url-file):
10521 * international/kkc.el (kkc-init-file-name):
10522 * ido.el (ido-save-directory-list-file):
10523 * emulation/viper.el (viper-custom-file-name):
10524 * emulation/vip.el (vip-startup-file):
10525 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10526 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10527
10528 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10529
10530 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10531 * language/thai-word.el: Switch to UTF-8.
10532
10533 See ChangeLog.16 for earlier changes.
10534
10535 ;; Local Variables:
10536 ;; coding: utf-8
10537 ;; End:
10538
10539 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10540
10541 This file is part of GNU Emacs.
10542
10543 GNU Emacs is free software: you can redistribute it and/or modify
10544 it under the terms of the GNU General Public License as published by
10545 the Free Software Foundation, either version 3 of the License, or
10546 (at your option) any later version.
10547
10548 GNU Emacs is distributed in the hope that it will be useful,
10549 but WITHOUT ANY WARRANTY; without even the implied warranty of
10550 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10551 GNU General Public License for more details.
10552
10553 You should have received a copy of the GNU General Public License
10554 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.