Minor changes, detected by test suite.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2
3 * net/dbus.el (dbus-unregister-service)
4 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5 Fix docstring.
6 (dbus-unregister-service): Skip :serial entries in
7 `dbus-registered-objects-table'.
8 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
9
10 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
11
12 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
13 around keywords with extra `split-string' argument.
14
15 2013-12-04 Martin Rudalics <rudalics@gmx.at>
16
17 * windmove.el (windmove-other-window-loc): Handle navigation
18 between windows (excluding the minibuffer window - Bug#16017).
19
20 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
21
22 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
23 in D-Bus type syntax.
24 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
25 preserve unibyte strings. (Bug#16048)
26
27 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
28
29 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
30 Call force-mode-line-update is the proper buffer (bug#16042).
31
32 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
33
34 * vc/log-edit.el (log-edit-add-new-comment): Rename to
35 `log-edit-remember-comment', make argument optional. Adjust all
36 callers.
37 (log-edit-mode): Add `log-edit-remember-comment' to
38 `kill-buffer-hook' locally.
39 (log-edit-kill-buffer): Don't remember comment explicitly since
40 the buffer is killed anyway.
41
42 2013-12-04 Juri Linkov <juri@jurta.org>
43
44 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
45 add-hook and remove-hook for multi-buffer search. (Bug#16035)
46
47 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
48
49 * notifications.el (notifications-close-notification): Call the
50 D-Bus method with ID being a `:uint32'. (Bug#16030)
51
52 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
53
54 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
55
56 2013-12-03 Juri Linkov <juri@jurta.org>
57
58 * progmodes/compile.el (compilation-start): Rename window alist
59 entry `no-display-ok' to `allow-no-window'.
60
61 * simple.el (shell-command): Add window alist entry
62 `allow-no-window' to `display-buffer'.
63 (async-shell-command): Doc fix.
64
65 * window.el (display-buffer-no-window): New action function.
66 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
67
68 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
69
70 * vc/log-edit.el (log-edit-set-header): Extract from
71 `log-edit-toggle-header'.
72 (log-edit-extract-headers): Separate the summary, when extracted
73 from header, from the rest of the message with an empty line.
74
75 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
76 line, if present, to the Summary header.
77
78 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
79
80 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
81 in current-buffer (bug#16029).
82
83 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
84
85 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
86 (debugger-mode-map): Bind it.
87 (debugger--backtrace-base): New function.
88 (debugger-eval-expression): Use it.
89 (debugger-frame-number): Skip local vars when present.
90 (debugger--locals-visible-p, debugger--insert-locals)
91 (debugger--show-locals, debugger--hide-locals): New functions.
92
93 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
94
95 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
96 "LC_ALL".
97 (tramp-get-remote-locale): New defun.
98 (tramp-open-connection-setup-interactive-shell): Use it.
99
100 2013-12-02 Leo Liu <sdl.web@gmail.com>
101
102 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
103
104 * progmodes/sh-script.el (sh-shell-process):
105 * progmodes/octave.el (inferior-octave-process-live-p):
106 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
107 (gdb-inferior-io-sentinel):
108 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
109
110 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
111
112 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
113 `save-selected-window' to `log-edit-hide-buf'. This makes
114 `log-edit-show-files' idempotent.
115 (log-edit-show-files): Mark the new window as dedicated.
116
117 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
118
119 * vc/log-edit.el (log-edit-mode-map): Add binding for
120 `log-edit-kill-biffer'.
121 (log-edit-hide-buf): Add a FIXME comment.
122 (log-edit-add-new-comment): New function, extracted from
123 `log-edit-done'.
124 (log-edit-done, log-edit-add-to-changelog): Use it.
125 (log-edit-kill-buffer): New command.
126
127 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
128
129 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
130 instead of killing the buffer.
131
132 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
133
134 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
135
136 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
137
138 * net/eww.el (eww-form-checkbox-selected-symbol)
139 (eww-form-checkbox-symbol): New customizable variable.
140 (eww-form-checkbox, eww-toggle-checkbox):
141 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
142
143 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
144 (shr--get-media-pref, shr--extract-best-source): New function.
145 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
146 no :src tag was specified.
147
148 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
149 (eww-render): Handle `eww-use-external-browser-for-content-type'.
150 Use \\` to match beginning of string instead of ^.
151 (eww-browse-with-external-browser): Provide optional URL parameter.
152 (eww-render): Set `eww-current-title' back to "".
153
154 * net/shr.el (shr-tag-video): Display content for video if no
155 poster is available.
156 (shr-tag-audio): Add support for <audio> tag.
157
158 * net/eww.el (eww-text-input-types): : New const.
159 (eww-process-text-input): Treat input types in
160 `eww-text-input-types' as text.
161
162 * net/shr.el (shr-tag-table): Fix comment typo.
163
164 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
165
166 * net/eww.el (eww-follow-link): New command to avoid reloading
167 pages when we follow #target links (bug#15243).
168 (eww-quit): Special mode buffers shouldn't query before exiting.
169
170 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
171
172 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
173 forms.
174
175 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
176
177 * net/eww.el (eww-restore-history): Update the window title after
178 moving in the history.
179 (eww-current-dom): New variable used to save the current DOM.
180
181 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
182
183 * vc/log-edit.el (log-edit-mode-map): Add binding for
184 `log-edit-beginning-of-line'.
185 (log-edit-setup-add-author): New user option.
186 (log-edit-beginning-of-line): New command.
187 (log-edit): Move major mode call above the contents setup so that
188 the local variable values are already applied.
189 (log-edit): Only insert "Author: " when
190 `log-edit-setup-add-author' is non-nil.
191 (log-edit): When SETUP is non-nil, position point after ": "
192 instead of point-min.
193
194 2013-12-01 Glenn Morris <rgm@gnu.org>
195
196 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
197
198 2013-11-30 Eli Zaretskii <eliz@gnu.org>
199
200 * startup.el (fancy-splash-frame): On MS-Windows, trigger
201 redisplay to make sure the initial frame gets a chance to become
202 visible. (Bug#16014)
203
204 2013-11-30 Martin Rudalics <rudalics@gmx.at>
205
206 Support resizing frames and windows pixelwise.
207 * cus-start.el (frame-resize-pixelwise)
208 (window-resize-pixelwise): New entries.
209 * emacs-lisp/debug.el (debug): Use window-total-height instead
210 of window-total-size.
211 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
212 * help.el (describe-bindings-internal): Call help-buffer
213 (temp-buffer-max-width): New option.
214 (resize-temp-buffer-window, help-window-setup)
215 (with-help-window): Rewrite.
216 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
217 dragging dividers.
218 * window.el (frame-char-size, window-min-pixel-height)
219 (window-safe-min-pixel-height, window-safe-min-pixel-width)
220 (window-min-pixel-width, window-safe-min-pixel-size)
221 (window-combination-p, window-safe-min-size)
222 (window-resizable-p, window--size-to-pixel)
223 (window--pixel-to-size, window--resize-apply-p): New functions.
224 (window-safe-min-height): Fix doc-string.
225 (window-size, window-min-size, window--min-size-1)
226 (window-sizable, window-sizable-p, window--min-delta-1)
227 (window-min-delta, window--max-delta-1, window-max-delta)
228 (window--resizable, window--resizable-p, window-resizable)
229 (window-full-height-p, window-full-width-p, window-at-side-p)
230 (window--in-direction-2, window-in-direction)
231 (window--resize-reset-1, window--resize-mini-window)
232 (window-resize, window-resize-no-error)
233 (window--resize-child-windows-normal)
234 (window--resize-child-windows, window--resize-siblings)
235 (window--resize-this-window, window--resize-root-window)
236 (window--resize-root-window-vertically)
237 (adjust-window-trailing-edge, enlarge-window, shrink-window)
238 (maximize-window, minimize-window, delete-window)
239 (quit-restore-window, window-split-min-size, split-window)
240 (balance-windows-2, balance-windows)
241 (balance-windows-area-adjust, balance-windows-area)
242 (window--state-get-1, window-state-get, window--state-put-1)
243 (window--state-put-2, window-state-put)
244 (display-buffer-record-window, window--display-buffer):
245 Make functions handle pixelwise sizing of windows.
246 (display-buffer--action-function-custom-type)
247 (display-buffer-fallback-action):
248 Add display-buffer-in-previous-window.
249 (display-buffer-use-some-window): Resize window to height it had
250 before.
251 (fit-window-to-buffer-horizontally): New option.
252 (fit-frame-to-buffer): Describe new values.
253 (fit-frame-to-buffer-bottom-margin): Replace with
254 fit-frame-to-buffer-margins.
255 (window--sanitize-margin): New function.
256 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
257 using window-text-pixel-size.
258
259 2013-11-30 Glenn Morris <rgm@gnu.org>
260
261 * emacs-lisp/bytecomp.el (byte-compile-form):
262 Make the `interactive-only' warning like the `obsolete' one.
263 * comint.el (comint-run):
264 * files.el (insert-file-literally, insert-file):
265 * replace.el (replace-string, replace-regexp):
266 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
267 (goto-line, insert-buffer, next-line, previous-line):
268 Tweak `interactive-only' spec.
269
270 Stop keeping (most) generated cedet grammar files in the repository.
271 * Makefile.in (semantic): New.
272 (compile-main): Depend on semantic.
273
274 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
275
276 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
277 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
278
279 * uniquify.el (uniquify-buffer-name-style): Change default.
280
281 * loadup.el: Preload "uniquify".
282
283 * time.el (display-time-update): Update all mode lines (bug#15999).
284
285 * electric.el (electric-indent-mode): Enable by default.
286 * loadup.el: Preload "electric".
287
288 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
289
290 * emacs-lisp/helpers.el (string-empty-p): New function.
291 (string-blank-p): New function.
292
293 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
294
295 * imenu.el (imenu--index-alist): Add missing dot to the docstring
296 (Bug#14029).
297
298 2013-11-29 Andreas Politz <politza@fh-trier.de>
299 * imenu.el (imenu--subalist-p): Don't error on non-conses and
300 allow non-lambda lists as functions.
301 (imenu--in-alist): Don't recurse into non-subalists.
302 (imenu): Don't pass function itself as an argument (Bug#14029).
303
304 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
305
306 * progmodes/python.el (python-mode-map): Remove binding for ":".
307 (python-indent-electric-colon): Remove command.
308 (python-indent-post-self-insert-function): Integrate the previous code
309 of python-indent-electric-colon. Make it conditional on
310 electric-indent-mode.
311 (python-mode): Add ?: to electric-indent-chars.
312 Move python-indent-post-self-insert-function to the end of
313 post-self-insert-hook.
314
315 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
316
317 * doc-view.el (doc-view-goto-page): Update mode-line.
318
319 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
320
321 2013-11-27 Glenn Morris <rgm@gnu.org>
322
323 * international/charprop.el, international/uni-bidi.el:
324 * international/uni-category.el, international/uni-combining.el:
325 * international/uni-comment.el, international/uni-decimal.el:
326 * international/uni-decomposition.el, international/uni-digit.el:
327 * international/uni-lowercase.el, international/uni-mirrored.el:
328 * international/uni-name.el, international/uni-numeric.el:
329 * international/uni-old-name.el, international/uni-titlecase.el:
330 * international/uni-uppercase.el:
331 Remove generated files from VCS repository.
332
333 2013-11-27 Eli Zaretskii <eliz@gnu.org>
334
335 * filenotify.el (file-notify-add-watch): Don't special-case
336 w32notify when computing the directory to watch.
337
338 2013-11-27 Glenn Morris <rgm@gnu.org>
339
340 Make bootstrap without generated uni-*.el files possible again.
341 * loadup.el: Update command-line-args checking for unidata-gen.
342 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
343 * composite.el, international/characters.el:
344 Handle unicode tables being undefined.
345
346 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
347 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
348 (compile-main): Depend on leim rule.
349 (leim): New rule.
350 * loadup.el: Move leim-list.el to leim/ subdirectory.
351 * startup.el (normal-top-level): No more leim directory.
352 * international/ja-dic-cnv.el (skkdic-convert):
353 Disable version-control and autoloads in output files.
354 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
355 Disable version-control and autoloads in output files.
356 * leim/quail: Move here from ../leim.
357 * leim/quail/hangul.el (hangul-input-method-activate):
358 Add autoload cookie.
359 (generated-autoload-load-name): Set file-local value.
360 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
361 (generated-autoload-load-name): Set file-local value.
362
363 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
364
365 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
366 (eww-add-bookmark): ask confirmation when add to bookmarks
367 (eww-quit): ask confirmation before quitting eww
368
369 2013-11-26 Eli Zaretskii <eliz@gnu.org>
370
371 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
372 reading output from Diff on MS-Windows and MS-DOS.
373
374 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
375
376 * emacs-lisp/helpers.el (string-reverse): New function.
377
378 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
379
380 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
381 names on MS Windows, like "/[::1]:".
382
383 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
384 SWITCHES.
385
386 2013-11-26 Glenn Morris <rgm@gnu.org>
387
388 * progmodes/python.el (python-indent-guess-indent-offset):
389 Avoid corner-case error. (Bug#15975)
390
391 Preload leim-list.el. (Bug#4789)
392 * loadup.el: Load leim-list.el when found.
393 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
394
395 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
396
397 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
398
399 * emacs-lisp/helpers.el (string-join): New function.
400
401 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
402
403 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
404 Mark as obsolete and replace it with a symbol property.
405 (byte-compile-form): Use new 'interactive-only property.
406 * comint.el, files.el, replace.el, simple.el:
407 Apply new 'interactive-only properly.
408
409 2013-11-25 Martin Rudalics <rudalics@gmx.at>
410
411 * window.el (display-buffer-at-bottom): Make sure that
412 split-window-sensibly creates the new window on bottom
413 (Bug#15961).
414
415 2013-11-23 David Kastrup <dak@gnu.org>
416
417 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
418 on the conflict markers when available.
419 (smerge--get-marker): New function.
420 (smerge-end-re, smerge-base-re): Add subgroup.
421
422 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
423
424 * frame.el (handle-focus-in, handle-focus-out): Add missing
425 interactive spec.
426
427 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
428
429 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
430 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
431
432 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
433
434 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
435 (gomoku--last-pos): New var.
436 (gomoku--intangible-chars): New const.
437 (gomoku--intangible): New function.
438 (gomoku-mode): Use it. Derive from special-mode.
439 (gomoku-move-up): Adjust line count.
440 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
441 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
442 Simplify accordingly.
443
444 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
445 Remove blink-cursor code.
446 (blink-cursor-timer-function, blink-cursor-suspend):
447 Don't special-case GUIs.
448 (blink-cursor-mode): Use focus-in/out-hook.
449
450 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
451
452 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
453 work when annotation is invisible (Bug#13886).
454
455 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
456
457 * json.el (json-alist-p): Only return non-nil if the alist has
458 simple keys (Bug#13518).
459
460 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
461
462 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
463 when control-statement is the first statement in a buffer (Bug#15956).
464
465 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
466
467 * imenu.el (imenu-generic-skip-comments-and-strings):
468 New option (Bug#15560).
469 (imenu--generic-function): Use it.
470
471 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
472
473 * minibuffer.el (completion--in-region-1): Scroll the correct
474 window. (Bug#13898)
475
476 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
477
478 * emacs-lisp/helpers.el: Add some string helpers.
479 (string-trim-left): Removes leading whitespace.
480 (string-trim-right): Removes trailing whitespace.
481 (string-trim): Removes leading and trailing whitespace.
482
483 * subr.el (string-suffix-p): New function.
484
485 2013-11-23 Glenn Morris <rgm@gnu.org>
486
487 * progmodes/python.el (python-shell-send-file):
488 Add option to delete file when done. (Bug#15647)
489 (python-shell-send-string, python-shell-send-region): Use it.
490
491 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
492
493 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
494 to set buffer-read-only to t, never to nil. (Bug#15938)
495
496 * textmodes/tex-mode.el (latex-noindent-environments):
497 Add safe-local-variable property. (Bug#15936)
498
499 2013-11-23 Glenn Morris <rgm@gnu.org>
500
501 * textmodes/enriched.el (enriched-mode): Doc fix.
502 * emacs-lisp/authors.el (authors-renamed-files-alist):
503 Add enriched.doc -> enriched.txt.
504
505 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
506
507 2013-11-22 Leo Liu <sdl.web@gmail.com>
508
509 * progmodes/octave.el (inferior-octave-startup): Spit out error
510 message.
511
512 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
513
514 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
515 Improve docstring.
516 Add :version.
517 (ruby-encoding-magic-comment-style): Add :version.
518
519 2013-11-22 Leo Liu <sdl.web@gmail.com>
520
521 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
522 (Bug#15076)
523 (octave-help-mode): Adapt to change to help-mode-finish to use
524 derived-mode-p on 2013-09-17.
525 (inferior-octave-prompt): Also match octave-gui.
526 (octave-kill-process): Don't ask twice. (Bug#10564)
527
528 2013-11-22 Leo Liu <sdl.web@gmail.com>
529
530 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
531 (inferior-octave-startup, inferior-octave-check-process)
532 (inferior-octave-track-window-width-change)
533 (octave-completion-at-point, octave-eldoc-function): Use it.
534 (octave-kill-process): Provide confirmation. (Bug#10564)
535
536 2013-11-21 Leo Liu <sdl.web@gmail.com>
537
538 * progmodes/octave.el (octave-mode, inferior-octave-mode):
539 Fix obsolete variable comment-use-global-state.
540
541 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
542
543 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
544 Add `octave-source-file'.
545 (octave-source-file): New function. (Bug#15935)
546
547 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
548
549 * net/eww.el (eww-local-regex): New variable.
550 (eww): Use it to detect localhost and similar.
551
552 2013-11-21 Leo Liu <sdl.web@gmail.com>
553
554 Add completion for command `ag'.
555 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
556 (pcomplete/ag): New function.
557 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
558
559 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
560
561 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
562 (bug#14646).
563 (make-obsolete): Remove interactive spec.
564
565 2013-11-21 Glenn Morris <rgm@gnu.org>
566
567 * startup.el (command-line-1): Use path-separator with -L.
568
569 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
570
571 * emacs-lisp/package.el (describe-package-1): Add package archive
572 to shown fields.
573
574 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
575
576 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
577 Change default to "# encoding: %s" to differentiate it from the
578 default Ruby encoding comment template.
579
580 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
581
582 * ses.el (ses-mode): Doc fix. (Bug#14748)
583
584 2013-11-20 Leo Liu <sdl.web@gmail.com>
585
586 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
587
588 2013-11-19 Dan Nicolaescu <dann@gnu.org>
589
590 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
591 when rebase or bisect are in progress.
592
593 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
594
595 * filenotify.el (file-notify-add-watch): Doc fix.
596
597 2013-11-19 Leo Liu <sdl.web@gmail.com>
598
599 * obsolete/rcompile.el: Mark obsolete.
600
601 * progmodes/compile.el (compilation-start)
602 (compilation-goto-locus, compilation-find-file):
603 Pass no-display-ok and handle nil value from display-buffer.
604 (Bug#13594)
605
606 * window.el (display-buffer-alist, display-buffer): Document the
607 new parameter no-display-ok. Return either a window or nil
608 but never a non-window value.
609
610 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
611
612 * electric.el (electric-indent-mode-map): Remove.
613 (electric-indent-mode): Change the global-map instead (bug#15915).
614
615 * textmodes/text-mode.el (paragraph-indent-minor-mode):
616 Use add-function.
617
618 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
619
620 * emacs-lisp/nadvice.el (remove-function): Align with
621 add-function's behavior.
622
623 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
624 (gdb--string-regexp): New constant.
625 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
626 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
627 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
628 submatch 1.
629 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
630 Adjust use accordingly.
631 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
632
633 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
634
635 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
636 interpolation curlies (Bug#15914).
637
638 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
639
640 * calc/calc.el (calc-context-sensitive-enter): New variable.
641 (calc-enter): Use `calc-context-sensitive-enter'.
642
643 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
644
645 * progmodes/cfengine.el: Version bump.
646 (cfengine-cf-promises): New defcustom to locate cf-promises.
647 (cfengine3-vartypes): Add new "data" type.
648 (cfengine3--current-word): New function to get current name-like
649 word or its bounds.
650 (cfengine3--current-function): New function to look up a CFEngine
651 function's definition.
652 (cfengine3-format-function-docstring): New function.
653 (cfengine3-make-syntax-cache): New function.
654 (cfengine3-documentation-function): New function: ElDoc glue.
655 (cfengine3-completion-function): New function: completion glue.
656 (cfengine3-mode): Set `compile-command',
657 `eldoc-documentation-function', and add to
658 `completion-at-point-functions'.
659
660 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
661
662 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
663 `tramp-current-connection'.
664
665 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
666
667 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
668 nil/self/true/false with "end of symbol".
669
670 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
671
672 * subr.el (version-regexp-alist): Fix a typo.
673
674 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
675
676 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
677 "en_US.utf8" and "LC_CTYPE" to "".
678 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
679 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
680
681 2013-11-15 Leo Liu <sdl.web@gmail.com>
682
683 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
684
685 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
686
687 * progmodes/gud.el (ctl-x-map):
688 Remove C-x SPC binding. (Bug#12342)
689 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
690
691 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
692
693 * subr.el (version-regexp-alist):
694 Recognize hg, svn and darcs versions as snapshot versions.
695
696 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
697 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
698 (ruby--encoding-comment-required-p): Extract from
699 `ruby-mode-set-encoding'.
700 (ruby-mode-set-encoding): Add the ability to always insert an
701 utf-8 encoding comment. Fix and simplify coding comment update
702 logic.
703
704 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
705
706 * net/tramp-gvfs.el (top): Run init code only when
707 `tramp-gvfs-enabled' is not nil.
708 (tramp-gvfs-enabled): Check also :system bus.
709
710 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
711
712 Sync with upstream verilog-mode revision 78e66ba.
713 * progmodes/verilog-mode.el (verilog-end-of-defun)
714 (verilog-type-completion, verilog-get-list): Remove unused funcs.
715 (verilog-get-end-of-defun): Remove unused argument.
716 (verilog-comment-depth): Remove unused local `e'.
717 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
718 Don't pass arg to verilog-get-end-of-defun.
719
720 2013-11-14 Glenn Morris <rgm@gnu.org>
721
722 * obsolete/assoc.el (aget): Prefix dynamic variable.
723
724 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
725
726 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
727
728 * widget.el, hfy-cmap.el: Remove bogus package version number.
729
730 2013-11-13 Glenn Morris <rgm@gnu.org>
731
732 * replace.el (replace-eval-replacement):
733 Try to give more helpful error message. (Bug#15836)
734
735 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
736 (archive-7z-update): Avoid custom type mismatches.
737
738 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
739
740 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
741
742 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
743 address can be empty.
744
745 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
746 Accept nil SWITCHES.
747 (tramp-gvfs-handle-write-region): Implement APPEND.
748
749 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
750
751 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
752 binary "|" operator and closing block args delimiter.
753 Remove FIXME comment referring to Ruby 1.8-only syntax.
754 (ruby-smie--implicit-semi-p): Not after "|" operator.
755 (ruby-smie--closing-pipe-p): New function.
756 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
757 (ruby-smie-rules): Indent after "|".
758
759 2013-11-12 Glenn Morris <rgm@gnu.org>
760
761 * ps-print.el (ps-face-attribute-list):
762 Handle anonymous faces. (Bug#15827)
763
764 2013-11-12 Martin Rudalics <rudalics@gmx.at>
765
766 * window.el (display-buffer-other-frame): Fix doc-string.
767 (Bug#15868)
768
769 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
770
771 * subr.el (force-mode-line-update): Delete, move to buffer.c.
772
773 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
774
775 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
776 (tramp-sh-handle-file-local-copy): Don't write a message when
777 saving temporary files.
778
779 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
780 both directories are remote.
781 (tramp-smb-handle-directory-files): Do not return double entries.
782 Do not expand full file names.
783 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
784 (tramp-smb-handle-write-region): Implement APPEND.
785 (tramp-smb-get-stat-capability): Fix a stupid bug.
786
787 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
788
789 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
790
791 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
792
793 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
794 throwing error over malformed let/let* (bug#15814).
795
796 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
797
798 * iswitchb.el (iswitchb-mode): Mark obsolete.
799
800 2013-11-11 Glenn Morris <rgm@gnu.org>
801
802 * international/uni-bidi.el, international/uni-category.el:
803 * international/uni-name.el, international/uni-numeric.el:
804 Regenerate for Unicode 6.3.0.
805
806 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
807
808 * net/tramp.el (tramp-methods):
809 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
810 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
811
812 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
813
814 * progmodes/sh-script.el (sh-font-lock-keywords-var):
815 Force highlighting text after Summary keyword in doc face for rpm.
816
817 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
818
819 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
820 available and the word has no wildcards, append one to the grep pattern.
821 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
822 (ispell-complete-word): Call `ispell-lookup-words' with the value
823 independent of `ispell-look-p'.
824
825 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
826
827 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
828 Not after "||".
829 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
830 their parent.
831
832 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
833
834 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
835 (ruby-font-lock-keywords): Use backquote.
836
837 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
838
839 * progmodes/ruby-mode.el (ruby-smie--forward-token)
840 (ruby-smie--backward-token): Only consider full-string matches.
841
842 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
843
844 * faces.el (describe-face): Add distant-foreground.
845
846 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
847
848 * progmodes/ruby-mode.el: Improve encoding comment handling.
849 (ruby-encoding-magic-comment-style): New option.
850 (ruby-custom-encoding-magic-comment-template): New option.
851 (ruby--insert-coding-comment, ruby--detect-encoding):
852 New functions extracted from `ruby-mode-set-encoding'.
853 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
854 to control the style of the auto-inserted encoding comment.
855
856 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
857
858 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
859 Use `smie-backward-sexp' with token argument.
860
861 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
862
863 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
864 Remove instrumentation code.
865
866 2013-11-08 Glenn Morris <rgm@gnu.org>
867
868 * progmodes/autoconf.el (autoconf-mode):
869 Tweak comment-start-skip. (Bug#15822)
870
871 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
872
873 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
874 at bobp (bug#15826).
875 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
876
877 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
878
879 * man.el (Man-start-calling): New macro, extracted from
880 Man-getpage-in-background.
881 (Man-getpage-in-background): Use it.
882 (Man-update-manpage): New command.
883 (Man-mode-map): Bind it.
884
885 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
886
887 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
888 of "and", "or", "&&" and "||".
889 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
890 argument. Prohibit opening curly brace because it could only be a
891 block opener in that position.
892 (ruby-smie--forward-token, ruby-smie--backward-token):
893 Separate "|" from "&" or "*" going after it. That can happen in block
894 arguments.
895 (ruby-smie--indent-to-stmt): New function, seeks the end of
896 previous statement or beginning of buffer.
897 (ruby-smie-rules): Use it.
898 (ruby-smie-rules): Check if there's a ":" before a curly block
899 opener candidate; if there is, it's a hash.
900
901 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
902
903 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
904 (cl--block-wrapper): Fix last accidental change.
905
906 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
907
908 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
909 Instrument, in order to hunt failure on hydra.
910
911 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
912
913 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
914 malformed bindings form (bug#15814).
915
916 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
917
918 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
919 "." compared to " @ ". This incidentally fixes some indentation
920 examples with "do".
921 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
922 (ruby-smie-grammar): New tokens: "and" and "or".
923 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
924 Exclude "and" and "or". Remove "do" in order to work around token
925 priorities.
926 (ruby-smie-rules): Add all infix tokens. Handle the case of
927 beginning-of-buffer.
928
929 2013-11-06 Glenn Morris <rgm@gnu.org>
930
931 * Makefile.in (setwins_almost, setwins_for_subdirs):
932 Avoid accidental matches.
933
934 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
935
936 * menu-bar.el (popup-menu): Use key-binding.
937
938 2013-11-06 Eli Zaretskii <eliz@gnu.org>
939
940 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
941 menus, support also the menus produced by minor modes.
942 (Bug#15817)
943
944 2013-11-06 Leo Liu <sdl.web@gmail.com>
945
946 * thingatpt.el (thing-at-point-looking-at): Add optional arg
947 DISTANCE to bound the search. All uses changed. (Bug#15808)
948
949 2013-11-06 Glenn Morris <rgm@gnu.org>
950
951 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
952 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
953 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
954
955 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
956
957 * electric.el (electric-indent-just-newline): New command.
958 (electric-indent-mode-map): New keymap.
959 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
960 Re-add :group which weren't redundant.
961
962 * electric.el (electric-indent-local-mode): New minor mode.
963 (electric-indent-functions-without-reindent): New var.
964 (electric-indent-post-self-insert-function): Use it.
965 * emacs-lisp/gv.el (buffer-local-value): Add setter.
966
967 2013-11-05 Eli Zaretskii <eliz@gnu.org>
968
969 * international/quail.el (quail-help): Be more explicit about the
970 meaning of the labels shown on the keys. (Bug#15800)
971
972 * startup.el (normal-top-level): Load the subdirs.el files before
973 setting the locale environment. (Bug#15805)
974
975 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
976
977 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
978 via arguments so as to get the right ones (bug#15418).
979
980 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
981
982 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
983
984 Fix problems found while writing a test suite.
985
986 * net/tramp-compat.el (tramp-compat-load): New defun.
987 * net/tramp.el (tramp-handle-load): Use it.
988
989 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
990 "(numberp ok-if-already-exists)" correctly.
991
992 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
993
994 * international/characters.el (glyphless-char-display-control):
995 Add usage note.
996
997 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
998
999 * progmodes/python.el (python-mode):
1000 * progmodes/scheme.el (scheme-mode):
1001 * progmodes/prolog.el (prolog-mode):
1002 * progmodes/ruby-mode.el (ruby-mode):
1003 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1004 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1005
1006 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1007
1008 * rect.el (rectangle--highlight-for-redisplay):
1009 * emacs-lisp/smie.el (smie--next-indent-change):
1010 Use buffer-chars-modified-tick.
1011
1012 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1013
1014 * electric.el (electric-indent-post-self-insert-function):
1015 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1016
1017 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1018
1019 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1020
1021 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1022
1023 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1024 (bug#15786).
1025
1026 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1027
1028 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1029
1030 * progmodes/python.el: Fix up last change.
1031 (python-shell--save-temp-file): New function.
1032 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1033 `string' comes from the current buffer.
1034 (python-shell-send-string-no-output): Remove `msg' arg.
1035 (python--use-fake-loc): New var.
1036 (python-shell-buffer-substring): Obey it. Try to compensate for the
1037 extra coding line added by python-shell--save-temp-file.
1038 (python-shell-send-region): Use python-shell--save-temp-file and
1039 python-shell-send-file directly. Add `nomain' argument.
1040 (python-shell-send-buffer): Use python-shell-send-region.
1041 (python-electric-pair-string-delimiter): New function.
1042 (python-mode): Use it.
1043
1044 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1045
1046 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1047 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1048 environment and decoding all of the default-directory's to here
1049 from command-line.
1050 (command-line): Decode also argv[0].
1051
1052 * loadup.el: Error out if default-directory is a multibyte string
1053 when we are dumping.
1054
1055 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1056
1057 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1058
1059 * emacs-lisp/package.el (package-menu-mode)
1060 (package-menu--print-info, package-menu--archive-predicate):
1061 Add Archive column to package list.
1062
1063 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1064
1065 Fix problems found while writing a test suite.
1066
1067 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1068 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1069 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1070 to nil when running original file name handler. Otherwise,
1071 there are problems with constructs like "$$FOO".
1072
1073 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1074 for `localname'.
1075
1076 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1077
1078 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1079
1080 * subr.el (version<, version<=, version=):
1081 Update docstrings with information for snapshot versions.
1082
1083 * helpers.el: New library for misc helper functions.
1084 (hash-table-keys): New function returning a list of hash keys.
1085 (hash-table-values): New function returning a list of hash values.
1086
1087 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1088
1089 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1090 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1091
1092 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1093
1094 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1095 checking whether point is after a 1-letter word.
1096
1097 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1098
1099 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1100 Don't infloop when expanding region over `multiline' syntax-type that
1101 begins a line (bug#15778).
1102
1103 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1104
1105 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1106 Make it into a proper minor mode.
1107 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1108 (rectangle-mark-mode-map): New keymap.
1109 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1110
1111 2013-11-04 Glenn Morris <rgm@gnu.org>
1112
1113 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1114
1115 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1116
1117 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1118 (ruby-smie-rules): Use smie-rule-parent instead.
1119
1120 * emacs-lisp/smie.el (smie-rule-parent): Always call
1121 smie-indent-virtual rather than only for hanging tokens.
1122 (smie--next-indent-change): New helper command.
1123
1124 2013-11-03 Glenn Morris <rgm@gnu.org>
1125
1126 * Makefile.in (abs_srcdir): Remove.
1127 (emacs): Unset EMACSLOADPATH.
1128
1129 2013-11-02 Glenn Morris <rgm@gnu.org>
1130
1131 * Makefile.in (EMACS): Use a relative filename.
1132 (abs_top_builddir): Remove.
1133 (custom-deps, finder-data, autoloads): Use --chdir.
1134
1135 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1136
1137 Use relative filenames in TAGS files.
1138 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1139 (lisptagsfiles4, TAGS): Use relative file names.
1140 (TAGS-LISP): Remove.
1141 (maintainer-clean): No more TAGS-LISP file.
1142
1143 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1144 (lisptagsfiles4): Use absolute filenames again.
1145 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1146 Remove all *loaddefs files, not just the first. Remove esh-groups.
1147 (maintainer-clean): Delete TAGS, TAGS-LISP.
1148
1149 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1150
1151 * emacs-lisp/package.el (package-version-join):
1152 Recognize snapshot versions.
1153
1154 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1155
1156 * subr.el (version-regexp-alist): Add support for snapshot versions.
1157
1158 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1159
1160 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1161 New function, replacement for `smie-rule-parent' for when we want to
1162 skip over our direct parent if it's an assignment token..
1163 (ruby-smie-rules): Use it.
1164
1165 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1166
1167 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1168 unconditionally. Remove now unnecessary forward declarations.
1169 Remove XEmacs-specific setup.
1170 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1171 (ruby-font-lock-syntactic-keywords)
1172 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1173 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1174 (ruby-here-doc-end-syntax): Remove.
1175 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1176 defined as function.
1177
1178 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1179
1180 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1181
1182 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1183
1184 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1185 table and abbrev table, `define-derived-mode' does that for us
1186 anyway.
1187
1188 2013-11-01 Glenn Morris <rgm@gnu.org>
1189
1190 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1191 files is atomic for some time, so no parallel compilation issues).
1192
1193 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1194
1195 * faces.el (face-x-resources): Add :distant-foreground.
1196 (region): Use :distant-foreground for gtk and ns.
1197
1198 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1199
1200 Allow multiple bibliographies when BibLaTeX is used rather than
1201 BibTeX.
1202 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1203 (reftex-locate-bibliography-files): Us it.
1204
1205 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1206
1207 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1208 allow comments in pbm files.
1209
1210 * term/w32-win.el (dynamic-library-alist): Support newer versions
1211 of libjpeg starting with v7: look only for the DLL from the
1212 version against which Emacs was built.
1213 Support versions of libpng beyond 1.4.x.
1214 Support libtiff v4.x.
1215
1216 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1217
1218 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1219 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1220 Add property :safe.
1221 (ruby-deep-arglist): Add property :type.
1222
1223 2013-10-31 Glenn Morris <rgm@gnu.org>
1224
1225 * Makefile.in (custom-deps, finder-data): No need to setq the target
1226 variables, we are in the right directory and the defaults work fine.
1227
1228 2013-10-30 Glenn Morris <rgm@gnu.org>
1229
1230 * Makefile.in (autoloads): Do not use abs_lisp.
1231
1232 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1233 `newline' does not respect `standard-output', so use `princ'.
1234
1235 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1236
1237 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1238 * buff-menu.el (Buffer-menu--unmark): New function.
1239 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1240
1241 2013-10-30 Glenn Morris <rgm@gnu.org>
1242
1243 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1244
1245 * emacs-lisp/package.el (lm-homepage): Declare.
1246
1247 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1248 Fix doc typos.
1249
1250 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1251
1252 * Makefile.in (finder-data, autoloads, update-subdirs)
1253 (compile-main, compile-clean, compile-always, bootstrap-clean):
1254 Check return value of cd.
1255 (compile-calc): Remove.
1256
1257 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1258
1259 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1260
1261 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1262 (byte-compile-and-folded): New function.
1263 (=, <, >, <=, >=): Use it.
1264
1265 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1266 (path-separator, null-device, buffer-file-coding-system)
1267 (lpr-headers-switches): Check system-type before modifying them.
1268 (find-buffer-file-type-coding-system): Mark obsolete.
1269 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1270 find-file-not-found-set-buffer-file-coding-system.
1271 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1272 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1273 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1274 (w32-direct-print-region-helper, w32-direct-print-region-function)
1275 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1276 * startup.el (normal-top-level-add-subdirs-to-load-path):
1277 * ps-print.el (ps-print-region-function):
1278 * lpr.el (print-region-function): Use new name.
1279
1280 * subr.el (custom-declare-variable-early): Remove function.
1281 (custom-declare-variable-list): Remove var.
1282 (error, user-error): Remove `while' loop.
1283 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1284 (user-emacs-directory-warning, locate-user-emacs-file):
1285 Move to files.el.
1286 * simple.el (read-quoted-char-radix, read-quoted-char):
1287 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1288 Move from subr.el.
1289 * custom.el (custom-declare-variable-list): Don't process
1290 custom-declare-variable-list.
1291
1292 * progmodes/python.el (python-shell-get-buffer): New function.
1293 (python-shell-get-process): Use it.
1294 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1295 Python which encoding was used. Don't split-string since we only care
1296 about the first line. Return the temp-file, if applicable.
1297 (python-shell-send-region): Tell compile.el how to turn locations in
1298 the temp-file into locations in the source buffer.
1299
1300 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1301
1302 * subr.el (undefined): Add missing behavior from the C code for
1303 unbound keys.
1304
1305 * rect.el: Use lexical-binding. Add new rectangular region support.
1306 (rectangle-mark): New command.
1307 (rectangle--region): New var.
1308 (deactivate-mark-hook): Reset rectangle--region.
1309 (rectangle--extract-region, rectangle--insert-for-yank)
1310 (rectangle--highlight-for-redisplay)
1311 (rectangle--unhighlight-for-redisplay): New functions.
1312 (region-extract-function, redisplay-unhighlight-region-function)
1313 (redisplay-highlight-region-function): Use them to handle
1314 rectangular region.
1315 * simple.el (region-extract-function): New var.
1316 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1317 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1318 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1319 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1320 (redisplay-unhighlight-region-function)
1321 (redisplay-highlight-region-function): New vars.
1322 (redisplay--update-region-highlight): New function.
1323 (pre-redisplay-function): Use it.
1324 (exchange-point-and-mark): Don't deactivate the mark before
1325 reactivate-it anyway.
1326 * comint.el (comint-kill-region): Remove yank-handler argument.
1327 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1328 (delete-char): Remove property, since it's now part of their
1329 default behavior.
1330 (self-insert-iso): Remove property since this command doesn't exist.
1331
1332 * emacs-lisp/package.el (package--download-one-archive)
1333 (describe-package-1): Don't query the user about final newline.
1334
1335 2013-10-29 Daniel Colascione <dancol@dancol.org>
1336
1337 * net/tramp.el (tramp-methods): Document new functionality.
1338 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1339 tramp-hostname-checker if method provides one instead of scanning
1340 argument list for "%h" to decide hostname acceptability.
1341
1342 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1343
1344 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1345 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1346 Handle COPY-CONTENTS. (Bug#15737)
1347
1348 2013-10-28 Daiki Ueno <ueno@gnu.org>
1349
1350 * epa-file.el
1351 (epa-file-cache-passphrase-for-symmetric-encryption):
1352 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1353
1354 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1355
1356 * image.el (defimage):
1357 (image-load-path): Doc fixes.
1358
1359 2013-10-27 Alan Mackenzie <acm@muc.de>
1360
1361 Indent statements in macros following "##" correctly.
1362 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1363 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1364
1365 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1366
1367 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1368
1369 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1370
1371 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1372 after `=' is probably a new expression.
1373
1374 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1375
1376 * man.el (man-imenu-title): New option.
1377 (Man-mode-map): Add menu. (Bug#15722)
1378 (Man-mode): Add imenu to menu.
1379
1380 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1381
1382 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1383 specific in what the first arg can be: a non-keyword word,
1384 string/regexp/percent literal opener, opening paren, or unary
1385 operator followed directly by word.
1386
1387 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1388
1389 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1390 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1391 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1392 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1393 Remove vars, they do not apply any more.
1394 (prolog-mode-abbrev-table): Remove redundant declaration.
1395 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1396 (prolog-use-smie): Remove.
1397 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1398 supported by prolog-electric-if-then-else-flag.
1399 (prolog-mode-variables, prolog-menu): Use setq-local.
1400 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1401 Remove binding to `Backspace' since this key doesn't exist anyway.
1402 Remove bindings for electric self-inserting keys.
1403 (prog-mode): Assume it's defined.
1404 (prolog-post-self-insert): New function.
1405 (prolog-mode): Use it.
1406 (prolog-indent-line, prolog-indent-level)
1407 (prolog-find-indent-of-matching-paren)
1408 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1409 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1410 (prolog-goto-next-paren, prolog-in-string-or-comment)
1411 (prolog-tokenize, prolog-inside-mline-comment)
1412 (prolog-find-start-of-mline-comment): Remove functions.
1413 (prolog-find-unmatched-paren, prolog-clause-end)
1414 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1415 (prolog-electric--if-then-else): Rename from
1416 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1417 (prolog-tokenize-searchkey): Remove const.
1418 (prolog-clause-info): Use forward-sexp.
1419 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1420 (prolog-electric-if-then-else): Remove commands.
1421 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1422 for use in post-self-insert-hook.
1423 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1424 for use in post-self-insert-hook.
1425 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1426 for use in post-self-insert-hook.
1427 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1428 adapt it for use in post-self-insert-hook.
1429
1430 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1431
1432 * emacs-lisp/ert.el (ert-run-tests-interactively):
1433 Use `completing-read'. (Bug#9756)
1434
1435 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1436
1437 * simple.el (line-move): Call line-move-1 instead of
1438 line-move-visual when the current window hscroll is zero, but
1439 temporary-goal-column indicates we will need to hscroll as result
1440 of the movement. (Bug#15712)
1441
1442 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1443
1444 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1445 capitalization. Use :visible instead of :active.
1446 Fix `ruby-indent-exp' reference. Add menu items for the generic
1447 commands that are used with SMIE.
1448 (ruby-do-end-to-brace): Insert space after `{'.
1449
1450 2013-10-25 John Anthony <john@jo.hnanthony.com>
1451
1452 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1453
1454 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1455
1456 2013-10-25 Glenn Morris <rgm@gnu.org>
1457
1458 * vc/vc.el (vc-print-log): Don't use a working revision unless
1459 one was explicitly specified. (Bug#15322)
1460
1461 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1462
1463 * subr.el (add-to-list): Preserve return value in compiler-macro
1464 (bug#15692).
1465
1466 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1467
1468 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1469 result. Ask user to retry using '-all' flag. (Bug#15701)
1470
1471 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1472
1473 * emacs-lisp/smie.el: New smie-config system.
1474 (smie-config): New defcustom.
1475 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1476 (smie-config-guess, smie-config-save): New commands.
1477 (smie-config--mode-local, smie-config--buffer-local)
1478 (smie-config--trace, smie-config--modefuns): New vars.
1479 (smie-config--advice, smie-config--mode-hook)
1480 (smie-config--setter, smie-config-local, smie-config--get-trace)
1481 (smie-config--guess-value, smie-config--guess): New functions.
1482 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1483 text properties. Treat "string fence" syntax like string syntax.
1484
1485 * progmodes/sh-script.el (sh-use-smie): Change default.
1486 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1487 (sh-var-value): Simplify by CSE.
1488 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1489 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1490 is used.
1491 (sh-guess-basic-offset): Use cl-incf.
1492 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1493
1494 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1495
1496 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1497 (bug#15699).
1498
1499 2013-10-24 Glenn Morris <rgm@gnu.org>
1500
1501 * Makefile.in (abs_top_srcdir): Remove.
1502 (update-subdirs): Use relative path to update-subdirs.
1503
1504 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1505
1506 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1507 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1508 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1509 Call unmsys--file-name before expand-file-name, not after it.
1510
1511 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1512
1513 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1514 (ert-test-skipped): New error.
1515 (ert-skip, ert-stats-skipped): New defuns.
1516 (ert--skip-unless): New macro.
1517 (ert-test-skipped): New struct.
1518 (ert--run-test-debugger, ert-test-result-type-p)
1519 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1520 (ert--stats-set-test-and-result, ert-char-for-test-result)
1521 (ert-string-for-test-result, ert-run-tests-batch)
1522 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1523 Handle skipped tests. (Bug#9803)
1524
1525 2013-10-24 Glenn Morris <rgm@gnu.org>
1526
1527 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1528
1529 * Makefile.in (abs_top_srcdir): New, set by configure.
1530 (update-subdirs): Correct build-aux location.
1531
1532 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1533
1534 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1535 value, whether we could auto-deduce `backend', or not.
1536
1537 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1538 with parameters" example. Simplify the "is it block or is it
1539 hash" check, but also make it more thorough.
1540
1541 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1542
1543 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1544
1545 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1546
1547 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1548 { if it is hanging.
1549
1550 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1551 :before ";".
1552
1553 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1554
1555 * progmodes/compile.el (compilation-directory-matcher)
1556 (compilation-page-delimiter):
1557 Support GNU Make-4.0 directory quoting. (Bug#15678)
1558
1559 2013-10-23 Leo Liu <sdl.web@gmail.com>
1560
1561 * ido.el (ido-tidy): Handle read-only text.
1562
1563 2013-10-23 Glenn Morris <rgm@gnu.org>
1564
1565 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1566 (emacs, compile, compile-always):
1567 Quote entities that might contain whitespace.
1568 (custom-deps, finder-data, autoloads): Use abs_lisp.
1569 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1570 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1571 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1572
1573 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1574
1575 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1576 Use `following-char'.
1577
1578 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1579
1580 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1581 * progmodes/ruby-mode.el (ruby-smie-rules):
1582 Remove corresponding workaround. Fix indentation rule of ";" so it
1583 also applies when ";" is the parent.
1584
1585 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1586
1587 * frame.el (display-screens, display-pixel-height)
1588 (display-pixel-width, display-mm-width, display-backing-store)
1589 (display-save-under, display-planes, display-color-cells)
1590 (display-visual-class, display-monitor-attributes-list):
1591 Mention the optional ‘display’ argument in doc strings.
1592
1593 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1594
1595 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1596 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1597
1598 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1599
1600 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1601 TODO. Add "." after " @ ".
1602 (ruby-smie--at-dot-call): New function. Checks if point at method
1603 call with explicit target.
1604 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1605 to the method name tokens when it precedes them.
1606 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1607 (ruby-smie-rules): Add rule for indentation before and after "."
1608 token.
1609
1610 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1611
1612 * textmodes/remember.el (remember-diary-extract-entries):
1613 Avoid add-to-list.
1614
1615 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1616 an instruction.
1617
1618 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1619
1620 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1621 (ruby-smie--implicit-semi-p): Add new operator chars.
1622
1623 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1624 `smie-down-list'.
1625 (ruby-smie--args-separator-p): Check that there's no newline
1626 between method call and its arguments.
1627
1628 2013-10-20 Alan Mackenzie <acm@muc.de>
1629
1630 Allow comma separated lists after Java "implements".
1631
1632 * progmodes/cc-engine.el (c-backward-over-enum-header):
1633 Parse commas.
1634 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1635 from a "disallowed" list in enum fontification.
1636
1637 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1638
1639 * startup.el (default-frame-background-mode): Remove unused defvar.
1640
1641 * progmodes/verilog-mode.el (verilog-mode): Don't set
1642 comment-indent-function globally.
1643
1644 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1645
1646 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1647 Move Info menu item creation to ns-win.el.
1648
1649 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1650 in menu bar.
1651
1652 * menu-bar.el: Move GNUStep specific menus...
1653
1654 * term/ns-win.el (ns-initialize-window-system): ... to here.
1655
1656 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1657
1658 * simple.el (newline): Only run post-self-insert-hook when
1659 called interactively.
1660
1661 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1662
1663 * icomplete.el (icomplete-with-completion-tables): Add :version.
1664
1665 2013-10-19 Alan Mackenzie <acm@muc.de>
1666
1667 Fix fontification bugs with constructors and const.
1668
1669 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1670 CASE 2) Remove the check for the absence of a suffix construct
1671 after a function declaration with only types (no identifiers) in
1672 the parentheses. Also, accept a function declaration with just a
1673 type inside the parentheses, if this type can be positively
1674 recognised as such, or if a prefix keyword like "explicit" nails
1675 down the construct as a declaration.
1676
1677 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1678
1679 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1680 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1681 the problem whereby selecting a menu item that leads to a
1682 minibuffer prompt moves the cursor out of the minibuffer window,
1683 making it hard to type at the prompt. Suggested by Stefan Monnier
1684 <monnier@iro.umontreal.ca>.
1685
1686 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1687
1688 * menu-bar.el: Don't make Services menu.
1689
1690 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1691
1692 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1693 (ffap-alist): Use ffap-c++-mode for c++-mode.
1694 (ffap-c++-path): New variable.
1695 (ffap-c++-mode): New function.
1696
1697 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1698
1699 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1700
1701 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1702
1703 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1704 introduced on 2013-09-08, which results in an infinite loop
1705 requesting a password.
1706
1707 2013-10-18 Glenn Morris <rgm@gnu.org>
1708
1709 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1710
1711 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1712
1713 Sync with upstream verilog-mode revision 1a6ecec7.
1714 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1715 (verilog-mode-release-date): Remove.
1716 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1717 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1718 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1719 (verilog-auto-tieoff-ignore-regexp)
1720 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1721 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1722 (verilog-signals-with, verilog-dir-cache-preserving)
1723 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1724 Doc fixes.
1725 (verilog-case-fold): New option, to control case folding in
1726 regexp searches, bug597.
1727 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1728 (verilog-string-match-fold, verilog-in-paren-count)
1729 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1730 (verilog-at-close-struct-p): New functions.
1731 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1732 (verilog-forward-sexp, verilog-set-auto-endcomments):
1733 (verilog-leap-to-case-head): Handle "unique0" case.
1734 (verilog-in-constraint-re): New constant.
1735 (verilog-keywords, verilog-type-font-keywords):
1736 Add some SystemVerilog 1800-2012 keywords.
1737 (verilog-label-be): Remove unimplemented argument, bug669.
1738 (verilog-batch-execute-func): When batch expanding clear
1739 create-lockfiles to prevent spurious user locks when a file ends
1740 up not changing.
1741 (verilog-calculate-indent, verilog-calc-1)
1742 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1743 (verilog-do-indent): Fix indentation of nested constraints
1744 and structures.
1745 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1746 (verilog-auto-inst-param): Use verilog-string-match-fold.
1747 (verilog-read-inst-module-matcher):
1748 Fix AUTOINST on gate primitives with #1.
1749 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1750 Reads all user-defined typed variables.
1751 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1752 (verilog-signals-matching-regexp)
1753 (verilog-signals-not-matching-regexp, verilog-auto):
1754 Respect verilog-case-fold.
1755 (verilog-diff-report): Fix line count.
1756 (verilog-auto-assign-modport): Remove unused local `modi'.
1757 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1758 better handle multidimensional arrays.
1759 Fix packed array ports misadding bit index in AUTOINST, bug637.
1760 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1761 to not double-declare existing outputs and inputs, respectively.
1762 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1763 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1764 (verilog-sk-uvm-component): New skeleton.
1765 (verilog-submit-bug-report): Add verilog-case-fold,
1766 remove verilog-mode-release-date.
1767
1768 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1769
1770 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1771 as before.
1772
1773 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1774
1775 * textmodes/remember.el (remember): set buffer-offer-save in
1776 remember buffers (bug#13566).
1777
1778 2013-10-18 Daniel Colascione <dancol@dancol.org>
1779
1780 When evaluating forms in ielm, direct standard output to ielm
1781 buffer. Add new ielm-return-for-effect command. Remove trailing
1782 whitespace throughout.
1783
1784 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1785 (ielm-return-for-effect): New command.
1786 (ielm-send-input): Accept optional `for-effect' parameter.
1787 (ielm-eval-input): Accept optional `for-effect' parameter.
1788 Bind `standard-output' to stream we create using
1789 `ielm-standard-output-impl'. Suppress printing result when
1790 `for-effect'.
1791 (ielm-standard-output-impl): New function.
1792 (inferior-emacs-lisp-mode): Explain new features in documentation.
1793
1794 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1795
1796 Code cleanup.
1797
1798 * net/tramp.el (tramp-debug-message): Do not check for connection
1799 buffer.
1800 (tramp-message): Use "vector" connection property.
1801
1802 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1803 (tramp-equal-remote, tramp-eshell-directory-change)
1804 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1805 (tramp-adb-handle-rename-file)
1806 * net/tramp-cmds.el (tramp-list-remote-buffers)
1807 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1808 * net/tramp-compat.el (tramp-compat-process-running-p)
1809 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1810 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1811 (tramp-gvfs-handle-rename-file)
1812 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1813 (tramp-set-file-uid-gid)
1814 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1815 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1816 of `file-remote-p'.
1817
1818 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1819 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1820 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1821 (tramp-gw-open-network-stream): Suppress unrelated traces.
1822
1823 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1824 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1825 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1826 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1827 connection property.
1828
1829 * net/tramp-cache.el (top): Suppress traces when reading
1830 persistency file.
1831
1832 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1833 Refactor common code. Improve debug message.
1834 (tramp-maybe-open-connection)
1835 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1836 connection buffer too early.
1837
1838 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1839 from `tramp-smb-actions-with-acl'.
1840 (tramp-smb-actions-set-acl): New defconst.
1841 (tramp-smb-handle-copy-directory)
1842 (tramp-smb-action-get-acl): New defun, renamed from
1843 `tramp-smb-action-with-acl'.
1844 (tramp-smb-action-set-acl): New defun.
1845 (tramp-smb-handle-set-file-acl): Rewrite.
1846
1847 2013-10-17 Glenn Morris <rgm@gnu.org>
1848
1849 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1850
1851 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1852
1853 * skeleton.el (skeleton-newline): Remove.
1854 (skeleton-internal-1): Use (insert "\n") instead.
1855
1856 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1857 let-bindings.
1858
1859 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1860 forward-sexp-function while we redo its job (bug#15613).
1861
1862 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1863
1864 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1865 represented by lists.
1866
1867 2013-10-16 Glenn Morris <rgm@gnu.org>
1868
1869 * tmm.el (tmm--history): New dynamic variable.
1870 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1871
1872 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
1873
1874 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1875 (tramp-smb-errors): Add error messages.
1876 (tramp-smb-actions-with-acl): New defconst.
1877 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1878 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1879 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1880 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1881 (tramp-smb-get-stat-capability): Fix tests.
1882
1883 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1884
1885 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1886 (bug#15580).
1887
1888 2013-10-16 Glenn Morris <rgm@gnu.org>
1889
1890 * ansi-color.el (ansi-color-drop-regexp):
1891 Add 1J, 1K, 2K. (Bug#15617)
1892
1893 * files.el (hack-local-variables--warned-lexical): New.
1894 (hack-local-variables):
1895 Warn about misplaced lexical-binding. (Bug#15616)
1896
1897 * net/eww.el (eww-render): Always set eww-current-url,
1898 and update header line. (Bug#15622)
1899 (eww-display-html): ... Rather than just doing it here.
1900
1901 2013-10-15 Eli Zaretskii <eliz@gnu.org>
1902
1903 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1904 menu navigations commands.
1905
1906 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1907
1908 * progmodes/subword.el (subword-capitalize): Be careful when
1909 the search for [[:alpha:]] fails (bug#15580).
1910
1911 2013-10-14 Eli Zaretskii <eliz@gnu.org>
1912
1913 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1914 to commands that scroll the menu.
1915
1916 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1917
1918 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1919 Handle methods ending with `?' and `!'.
1920
1921 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
1922
1923 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1924 `japanese-cp932' to `cp932' to fix the problem where saving a
1925 source file written in Shift_JIS twice would end up having
1926 `coding: japanese-cp932' which Ruby could not recognize.
1927 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1928 in `ruby-encoding-map'.
1929 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1930 doesn't need to be explicitly declared in magic comment.
1931 (ruby-encoding-map): Add type declaration for better customize UI.
1932
1933 2013-10-13 Glenn Morris <rgm@gnu.org>
1934
1935 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1936 Occur buffers are read-only. http://bugs.debian.org/720775
1937
1938 * emacs-lisp/authors.el (authors-fixed-entries):
1939 Comment out old alpha stuff.
1940
1941 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1942
1943 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1944 to `after-save-hook' instead of `before-save-hook'.
1945 (ruby-mode-set-encoding): Use the value of coding system used to
1946 write the file. Call `basic-save-buffer-1' after modifying the
1947 buffer.
1948
1949 2013-10-13 Alan Mackenzie <acm@muc.de>
1950
1951 Fix indentation/fontification of Java enum with
1952 "implements"/generic.
1953
1954 * progmodes/cc-engine.el (c-backward-over-enum-header):
1955 Extracted from the three other places and enhanced to handle generics.
1956 (c-inside-bracelist-p): Uses new function above.
1957 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1958 function above.
1959 (c-font-lock-enum-tail): Uses new function above.
1960
1961 2013-10-13 Kenichi Handa <handa@gnu.org>
1962
1963 * international/mule-cmds.el (select-safe-coding-system): Remove a
1964 superfluous condition in chekcing whether a coding system is safe
1965 or not.
1966
1967 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1968
1969 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1970
1971 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
1972
1973 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1974
1975 2013-10-13 Glenn Morris <rgm@gnu.org>
1976
1977 * menu-bar.el (menu-bar-update-buffers):
1978 Unify Buffers menu prompt string. (Bug#15576)
1979
1980 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1981
1982 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1983 Add some entries.
1984 (authors-fixed-entries): Use accented form of name.
1985
1986 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1987
1988 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1989 method calls (bug#15594).
1990 (ruby-smie--args-separator-p): New function.
1991 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1992 recognize paren-free method calls.
1993
1994 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1995 internals of universal-argument.
1996
1997 2013-10-11 Eli Zaretskii <eliz@gnu.org>
1998
1999 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2000 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2001 dropped menu on second mouse click on the menu bar.
2002
2003 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2004
2005 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2006 (explicit-shell-file-name): Declare.
2007 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2008 (sh-completion-at-point-function): New function.
2009 (sh-mode): Use it.
2010 (sh-smie--keyword-p): Remove unused argument.
2011 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2012 vars.
2013 (sh-set-shell): Always setup SMIE, even if we use the
2014 old indentation code.
2015
2016 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2017
2018 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2019 cases of ? and =.
2020 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2021 predicate would return nil are almost non-existent.
2022 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2023
2024 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2025 cache also after commands that modify the buffer but don't move
2026 point.
2027
2028 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2029
2030 * env.el (substitute-env-in-file-name): New function.
2031 (substitute-env-vars): Extend the meaning of the optional arg.
2032
2033 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2034
2035 * term/w32-win.el (dynamic-library-alist): Define separate lists
2036 of GIF DLLs for versions before and after 5.0.0 of giflib.
2037 (Bug#15531)
2038
2039 2013-10-10 João Távora <joaotavora@gmail.com>
2040
2041 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2042 not locked, use last revision and current source as
2043 defaults. (Bug#15569)
2044
2045 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2046
2047 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2048 menu-bar is hidden.
2049
2050 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2051
2052 * window.el (pop-to-buffer-same-window): Fix doc-string.
2053 (Bug#15492)
2054
2055 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2056
2057 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2058
2059 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2060
2061 * calendar/icalendar.el (icalendar-import-file):
2062 Fix interactive spec. (Bug#15482)
2063
2064 2013-10-10 Glenn Morris <rgm@gnu.org>
2065
2066 * desktop.el (desktop-save): Default to saving in .emacs.d,
2067 since PWD is no longer in desktop-path by default. (Bug#15319)
2068
2069 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2070 now that text mode has a menu with the same entry.
2071 (menu-bar-text-mode-auto-fill): Remove now unused func.
2072 * textmodes/text-mode.el (text-mode-map):
2073 Use auto-fill help text from menu-bar.el.
2074
2075 2013-10-10 John Anthony <john@jo.hnanthony.com>
2076
2077 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2078
2079 2013-10-09 Juri Linkov <juri@jurta.org>
2080
2081 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2082 instead of this-command-keys. Add universal-argument-more and
2083 universal-argument-minus to the list of prefix commands. (Bug#15568)
2084
2085 2013-10-09 Glenn Morris <rgm@gnu.org>
2086
2087 * vc/vc-svn.el (vc-svn-create-repo):
2088 Expand paths in file://... url. (Bug#15446)
2089
2090 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2091 Add some entries.
2092 (authors): Remove unused local variables.
2093
2094 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2095
2096 * profiler.el: Create a more coherent calltree from partial backtraces.
2097 (profiler-format): Hide the tail with `invisible' so that C-s can still
2098 find the hidden elements.
2099 (profiler-calltree-depth): Don't recurse so enthusiastically.
2100 (profiler-function-equal): New hash-table-test.
2101 (profiler-calltree-build-unified): New function.
2102 (profiler-calltree-build): Use it.
2103 (profiler-report-make-name-part): Indent the calltree less.
2104 (profiler-report-mode): Add visibility specs for profiler-format.
2105 (profiler-report-expand-entry, profiler-report-toggle-entry):
2106 Expand the whole subtree when provided with a prefix arg.
2107
2108 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2109
2110 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2111 iuwu-mod token.
2112 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2113 hanging iuwu-mod token.
2114 (ruby-smie--forward-token): Do not include a dot after a token in
2115 that token.
2116 (ruby-smie--backward-token): Likewise.
2117
2118 2013-10-08 Juri Linkov <juri@jurta.org>
2119
2120 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2121 to isearch-other-control-char.
2122 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2123 and isearch-post-command-hook to post-command-hook.
2124 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2125 and isearch-post-command-hook from post-command-hook.
2126 (isearch-unread-key-sequence)
2127 (isearch-reread-key-sequence-naturally)
2128 (isearch-lookup-scroll-key, isearch-other-control-char)
2129 (isearch-other-meta-char): Remove functions.
2130 (isearch-pre-command-hook, isearch-post-command-hook):
2131 New functions based on isearch-other-meta-char rewritten
2132 relying on the new behavior of overriding-terminal-local-map
2133 that does not replace the local keymaps any more. (Bug#15200)
2134
2135 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2136
2137 Support menus on text-mode terminals.
2138 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2139 functionality.
2140
2141 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2142
2143 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2144 Move here from mouse.el.
2145 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2146 and arrow keys.
2147 (tty-menu-navigation-map): New map for TTY menu navigation.
2148
2149 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2150
2151 * frame.el (display-mouse-p): Report text-mode mouse as available
2152 on w32.
2153 (display-popup-menus-p): Report availability if mouse is
2154 available; don't condition on window-system.
2155
2156 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2157 (tty-menu-selected-face): New faces.
2158
2159 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2160
2161 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2162 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2163 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2164 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2165 New constants.
2166 (lisp-mode-variables): New `elisp' argument.
2167 (emacs-lisp-mode): Use it.
2168 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2169 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2170
2171 * indent.el: Use lexical-binding.
2172 (indent-region): Add progress reporter.
2173 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2174 last step.
2175 (indent--next-tab-stop): New function to implement this behavior.
2176 (tab-to-tab-stop, move-to-tab-stop): Use it.
2177
2178 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2179
2180 * indent.el (indent-rigidly--current-indentation): New function.
2181 (indent-rigidly-map): New var.
2182 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2183
2184 2013-10-08 Bastien Guerry <bzg@gnu.org>
2185
2186 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2187
2188 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2189
2190 * progmodes/perl-mode.el: Use lexical-binding.
2191 Remove redundant :group args.
2192 (perl-nochange): Change default to be closer to other major modes's
2193 standard behavior.
2194 (perl-indent-line): Don't consider text on current line as a
2195 valid beginning of function from which to indent.
2196
2197 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2198 with more than one argument (bug#15538).
2199
2200 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2201
2202 * vc/pcvs.el: Use lexical-binding.
2203 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2204 environment of `eval'.
2205 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2206 than a list of expressions. Adjust callers.
2207 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2208
2209 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2210
2211 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2212 case of the dot in a chained method call being on the following line.
2213
2214 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2215
2216 * electric.el (electric-indent-inhibit): New var.
2217 (electric-indent-post-self-insert-function): Use it.
2218 * progmodes/python.el (python-mode): Set it.
2219
2220 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2221 open braces.
2222
2223 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2224
2225 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2226 (css-mode): Use electric-indent-chars.
2227
2228 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2229 (font-lock-beg, font-lock-end): Move before first use.
2230 (nxml-mode): Use syntax-propertize-function.
2231 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2232 (nxml-extend-after-change-region): Remove.
2233 * nxml/xmltok.el: Use lexical-binding.
2234 (xmltok-save): Use `declare'.
2235 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2236 * nxml/nxml-util.el: Use lexical-binding.
2237 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2238 Use `declare'.
2239 * nxml/nxml-ns.el: Use lexical-binding.
2240 (nxml-ns-save): Use `declare'.
2241 (nxml-ns-prefixes-for): Avoid add-to-list.
2242 * nxml/rng-match.el: Use lexical-binding.
2243 (rng--ipattern): Use cl-defstruct.
2244 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2245 (rng-cons-group-after, rng-subst-group-after)
2246 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2247 Use closures instead of `(lambda...).
2248
2249 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2250
2251 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2252 of BEG and END.
2253
2254 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2255 Use `tramp-handle-insert-file-contents'.
2256 (tramp-gvfs-handle-insert-file-contents): Remove function.
2257
2258 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2259 Use `save-restriction' in order to keep markers.
2260
2261 * net/trampver.el: Update release number.
2262
2263 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2264
2265 * progmodes/compile.el (compilation-parse-errors):
2266 Use compilation--put-prop.
2267 (compilation--ensure-parse): Check compilation-multiline.
2268
2269 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2270
2271 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2272 lexical-binding.
2273
2274 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2275
2276 * progmodes/ruby-mode.el: Fix recently added tests.
2277 (ruby-smie-grammar): Add - and +.
2278 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2279 (ruby-smie--backward-id): New functions.
2280 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2281 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2282 any more.
2283
2284 2013-10-07 Leo Liu <sdl.web@gmail.com>
2285
2286 * register.el (register-preview-delay)
2287 (register-preview-functions): New variables.
2288 (register-read-with-preview, register-preview)
2289 (register-describe-oneline): New functions.
2290 (point-to-register, window-configuration-to-register)
2291 (frame-configuration-to-register, jump-to-register)
2292 (number-to-register, view-register, insert-register)
2293 (copy-to-register, append-to-register, prepend-to-register)
2294 (copy-rectangle-to-register): Use register-read-with-preview to
2295 read register. (Bug#15525)
2296
2297 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2298
2299 * net/network-stream.el (network-stream-open-starttls): Don't add
2300 --insecure if it's already present, because that gnutls-cli
2301 rejects getting that parameter twice.
2302
2303 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2304
2305 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2306 keyword, too.
2307
2308 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2309
2310 * newcomment.el (comment-use-global-state): Change default value
2311 to t, mark obsolete (Bug#15251).
2312 (comment-beginning): In addition to `comment-to-syntax', check the
2313 value of `comment-use-global-state'.
2314
2315 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2316
2317 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2318 (ruby-comment-column): Follow the global default, by default.
2319 (ruby-smie-grammar): Add assignment syntax.
2320 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2321 open-paren, a comma, or a \.
2322 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2323 and line continuations.
2324 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2325 followed by implicit semi-colons. Add rule for string concatenation
2326 and for indentation at BOB.
2327 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2328
2329 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2330 calling next-sexp, since next-token may have skipped chars which
2331 next-sexp doesn't know should be skipped!
2332
2333 2013-10-05 Leo Liu <sdl.web@gmail.com>
2334
2335 * progmodes/octave.el (octave-send-region):
2336 Call compilation-forget-errors.
2337
2338 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2339
2340 * vc/vc-svn.el (vc-svn-find-admin-dir):
2341 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2342 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2343 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2344 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2345
2346 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2347
2348 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2349
2350 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2351
2352 * subr.el (read-passwd): Hide chars even when called within a context
2353 where after-change-functions is disabled (bug#15501).
2354 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2355 until we removed ourself from overriding-terminal-local-map.
2356
2357 2013-10-04 Leo Liu <sdl.web@gmail.com>
2358
2359 * progmodes/octave.el (inferior-octave-mode):
2360 Call compilation-forget-errors.
2361
2362 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2363
2364 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2365
2366 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2367
2368 * net/secrets.el (secrets-create-collection): Add optional
2369 argument ALIAS. Use proper Label keyword. Append ALIAS as
2370 dbus-call-method argument. (Bug#15516)
2371
2372 2013-10-04 Leo Liu <sdl.web@gmail.com>
2373
2374 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2375 (inferior-octave-compilation-font-lock-keywords): New variables.
2376 (compilation-error-regexp-alist)
2377 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2378 (inferior-octave-mode): Use compilation-shell-minor-mode.
2379
2380 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2381
2382 * minibuffer.el (completion--replace): Be careful that `end' might be
2383 a marker.
2384
2385 2013-10-03 Daiki Ueno <ueno@gnu.org>
2386
2387 Add support for package signature checking.
2388 * emacs-lisp/package.el (url-http-file-exists-p)
2389 (epg-make-context, epg-context-set-home-directory)
2390 (epg-verify-string, epg-context-result-for)
2391 (epg-signature-status, epg-signature-to-string)
2392 (epg-check-configuration, epg-configuration)
2393 (epg-import-keys-from-file): Declare.
2394 (package-check-signature): New user option.
2395 (package-unsigned-archives): New user option.
2396 (package-desc): Add `signed' field.
2397 (package-load-descriptor): Set `signed' field if .signed file exists.
2398 (package--archive-file-exists-p): New function.
2399 (package--check-signature): New function.
2400 (package-install-from-archive): Check package signature.
2401 (package--download-one-archive): Check archive signature.
2402 (package-delete): Remove .signed file.
2403 (package-import-keyring): New command.
2404 (package-refresh-contents): Import default keyring.
2405 (package-desc-status): Add "unsigned" status.
2406 (describe-package-1, package-menu--print-info)
2407 (package-menu-mark-delete, package-menu--find-upgrades)
2408 (package-menu--status-predicate): Support "unsigned" status.
2409
2410 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2411
2412 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2413 the new compilation scheme using the new byte-codes.
2414
2415 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2416 (byte-pophandler): New byte codes.
2417 (byte-goto-ops): Adjust accordingly.
2418 (byte-compile--use-old-handlers): New var.
2419 (byte-compile-catch): Use new byte codes depending on
2420 byte-compile--use-old-handlers.
2421 (byte-compile-condition-case--old): Rename from
2422 byte-compile-condition-case.
2423 (byte-compile-condition-case--new): New function.
2424 (byte-compile-condition-case): New function that dispatches depending
2425 on byte-compile--use-old-handlers.
2426 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2427 when we can.
2428
2429 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2430 Optimize under `condition-case' and `catch' if
2431 byte-compile--use-old-handlers is nil.
2432 (disassemble-offset): Handle new bytecodes.
2433
2434 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2435
2436 * subr.el (error): Use `declare'.
2437 (decode-char, encode-char): Use advertised-calling-convention instead
2438 of the docstring to discourage use of the `restriction' arg.
2439
2440 2013-10-03 Daiki Ueno <ueno@gnu.org>
2441
2442 * epg.el (epg-verify-file): Add a comment saying that it does not
2443 notify verification error as a return value nor a signal.
2444 (epg-verify-string): Ditto.
2445
2446 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2447
2448 * progmodes/compile.el (compilation-start): Try globbing the arg to
2449 `cd' (bug#15417).
2450
2451 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2452
2453 Sync with Tramp 2.2.8.
2454
2455 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2456 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2457 * net/trampver.el: Update release number.
2458
2459 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2460
2461 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2462 and default-process-coding-system for darwin only.
2463
2464 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2465
2466 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2467
2468 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2469
2470 * vc/vc-git.el (vc-git-grep): Disable pager.
2471
2472 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2473
2474 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2475 Use :url instead of :homepage, as per
2476 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2477
2478 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2479 non-nil, use `syntax-ppss' (Bug#15251).
2480
2481 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2482
2483 * progmodes/octave.el (inferior-octave-startup-file):
2484 Prefer ~/.emacs.d/init_octave.m.
2485
2486 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2487
2488 * emacs-lisp/package.el (package-desc-from-define):
2489 Accept additional arguments as plist, convert them to an alist and store
2490 them in the `extras' slot.
2491 (package-generate-description-file): Convert extras alist back to
2492 plist and append to the `define-package' form arguments.
2493 (package--alist-to-plist): New function.
2494 (package--ac-desc): Add `extras' slot.
2495 (package--add-to-archive-contents): Check if the archive-contents
2496 vector is long enough, and if it is, pass its `extras' slot value
2497 to `package-desc-create'.
2498 (package-buffer-info): Call `lm-homepage', pass the returned value
2499 to `package-desc-from-define'.
2500 (describe-package-1): Render the homepage button (Bug#13291).
2501
2502 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2503 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2504
2505 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2506
2507 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2508 and default-process-coding-system to utf-8-unix (Bug#15402).
2509
2510 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2511
2512 * subr.el (looking-back): Do not recommend using looking-back.
2513
2514 2013-09-28 Alan Mackenzie <acm@muc.de>
2515
2516 Fix indentation/fontification of Java enum with "implements".
2517
2518 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2519 regexp which matches "implements", etc., in Java.
2520 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2521 specifier clauses coming after "enum".
2522 * progmodes/cc-fonts.el (c-font-lock-declarations)
2523 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2524 after "enum".
2525
2526 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2527
2528 * faces.el (region): Change ns_selection_color to
2529 ns_selection_fg_color, add ns_selection_bg_color.
2530
2531 2013-09-28 Leo Liu <sdl.web@gmail.com>
2532
2533 * progmodes/octave.el (inferior-octave-completion-table)
2534 (inferior-octave-completion-at-point): Minor tweaks.
2535
2536 * textmodes/ispell.el (ispell-lookup-words): Rename from
2537 lookup-words. (Bug#15460)
2538 (lookup-words): Obsolete.
2539 (ispell-complete-word, ispell-command-loop): All uses changed.
2540
2541 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2542
2543 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2544 (octave-mode-menu): Add octave-send-buffer.
2545 (octave-send-buffer): New function.
2546
2547 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2548
2549 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2550 octave-lookfor.
2551 (octave-mode-menu): Add octave-lookfor.
2552 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2553 octave-lookfor.
2554 (octave-lookfor): New function.
2555
2556 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2557
2558 * emacs-lisp/cl-macs.el:
2559 (cl--loop-destr-temps): Remove.
2560 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2561 its convention.
2562 (cl--loop-set-iterator-function): New function.
2563 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2564 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2565 Bind `it' with `let' instead of substituting it with `cl-subst'.
2566 (cl--unused-var-p): New function.
2567 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2568 Eliminate some unused variable warnings (bug#15326).
2569
2570 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2571
2572 * doc-view.el (doc-view-scale-reset): Rename from
2573 `doc-view-reset-zoom-level'.
2574 (doc-view-scale-adjust): New command.
2575 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2576 `doc-view-scale-adjust'.
2577
2578 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2579
2580 * doc-view.el (doc-view-reset-zoom-level): New command.
2581 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2582 zoom commands (bug#15466).
2583
2584 2013-09-26 Kenichi Handa <handa@gnu.org>
2585
2586 * international/quail.el (quail-help): Make it not a command.
2587
2588 2013-09-26 Leo Liu <sdl.web@gmail.com>
2589
2590 * minibuffer.el (completion-all-sorted-completions): Make args
2591 optional as they are.
2592
2593 2013-09-25 Daniel Colascione <dancol@dancol.org>
2594
2595 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2596 specs are and that they're not evaluated.
2597
2598 2013-09-24 Sam Steingold <sds@gnu.org>
2599
2600 * midnight.el (clean-buffer-list-kill-regexps)
2601 (clean-buffer-list-kill-buffer-names): Update for the new Man
2602 buffer naming which includes the object name.
2603
2604 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2605
2606 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2607 (eshell-parse-command, eshell-parse-pipeline): Use it since
2608 eshell-separate-commands requires a dynamic scoped var.
2609 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2610
2611 2013-09-23 Leo Liu <sdl.web@gmail.com>
2612
2613 * autoinsert.el (auto-insert-alist): Make the value of
2614 lexical-binding match its file setting.
2615
2616 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2617
2618 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2619
2620 * autoarg.el (autoarg-kp-digit-argument):
2621 * electric.el (Electric-command-loop):
2622 * kmacro.el (kmacro-step-edit-insert):
2623 Do not set universal-argument-num-events.
2624
2625 2013-09-22 Leo Liu <sdl.web@gmail.com>
2626
2627 * files.el (interpreter-mode-alist): Add octave.
2628
2629 2013-09-21 Alan Mackenzie <acm@muc.de>
2630
2631 C++: fontify identifier in declaration following "public:" correctly.
2632 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2633 to match "public", etc.
2634 (c-decl-prefix-re): Add ":" into the C++ value.
2635 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2636 bit. Add a check for a ":" preceded by "public", etc.
2637
2638 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2639
2640 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2641 recognized by GDB 7.5 and later.
2642
2643 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2644
2645 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2646
2647 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2648
2649 * subr.el (internal--call-interactively): New const.
2650 (called-interactively-p): Use it (bug#3984).
2651
2652 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2653
2654 * vc/pcvs.el (cvs-mode-ignore):
2655 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2656 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2657
2658 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2659
2660 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2661 (eshell-ls-orig-insert-directory): Remove.
2662 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2663 (eshell-ls-use-in-dired): Use advice-add/remove.
2664 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2665 Add `orig-fun' arg for use in :around advice.
2666 Make it check (redundantly) eshell-ls-use-in-dired.
2667
2668 2013-09-19 Glenn Morris <rgm@gnu.org>
2669
2670 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2671
2672 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2673
2674 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2675
2676 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2677
2678 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2679 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2680 (tramp-get-remote-python): New defuns.
2681 (tramp-get-remote-uid-with-perl)
2682 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2683 contributed by yary <not.com@gmail.com> (tiny change).
2684 (tramp-get-remote-uid-with-python)
2685 (tramp-get-remote-gid-with-python): New defuns. Python code
2686 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2687 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2688
2689 2013-09-19 Glenn Morris <rgm@gnu.org>
2690
2691 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2692
2693 * eshell/em-unix.el (eshell-remove-entries):
2694 Rename argument to avoid name-clash with global `top-level'.
2695
2696 * eshell/esh-proc.el (eshell-kill-process-function):
2697 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2698 (eshell-reset-after-proc): Remove unused arg `proc'.
2699
2700 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2701 (directory-files-and-attributes): Mark unused arg.
2702
2703 * eshell/em-unix.el (eshell-remove-entries):
2704 Remove unused arg `path'. Update callers.
2705
2706 * eshell/em-hist.el (eshell-hist-parse-arguments):
2707 Remove unused arg `silent'. Update callers.
2708
2709 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2710 Fix (f)boundp mix-up.
2711
2712 * eshell/em-smart.el (eshell-smart-scroll-window)
2713 (eshell-disable-after-change):
2714 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2715
2716 2013-09-18 Alan Mackenzie <acm@muc.de>
2717
2718 Fix fontification of type when followed by "const".
2719 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2720 "known" types from fontification.
2721
2722 2013-09-18 Glenn Morris <rgm@gnu.org>
2723
2724 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2725 (chart-face-list): Drop Emacsen without display-color-p.
2726
2727 * net/eww.el (libxml-parse-html-region): Declare.
2728 (eww-display-html): Explicit error if no libxml2 support.
2729
2730 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2731
2732 * image.el (image-type-from-buffer, image-multi-frame-p):
2733 Remove --without-x warning/error.
2734
2735 * mouse.el (mouse-yank-primary):
2736 * term.el (term-mouse-paste):
2737 Reorder to silence --without-x compilation.
2738
2739 * mpc.el (doc-view-mode): Silence --without-x compilation.
2740
2741 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2742 Silence --without-x compilation.
2743
2744 * progmodes/gud.el (gud-find-file, gud-mode):
2745 Silence --without-x compilation.
2746 (tooltip-mode): Declare.
2747
2748 * wdired.el (dired-backup-overwrite): Remove declaration.
2749 (wdired-mode-map): Add doc string.
2750
2751 * custom.el (x-get-resource): Declare.
2752
2753 * eshell/em-glob.el (ange-cache):
2754 * eshell/em-unix.el (ange-cache): Declare.
2755
2756 * faces.el (x-display-list, x-open-connection, x-get-resource):
2757 Declare.
2758
2759 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2760 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2761 Declare.
2762
2763 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2764
2765 * net/gnutls.el (gnutls-log-level): Declare.
2766
2767 * net/shr.el (image-size, image-animate): Declare.
2768
2769 * simple.el (font-info): Declare.
2770
2771 * subr.el (x-popup-dialog): Declare.
2772
2773 * term/common-win.el (x-select-enable-primary)
2774 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2775 Declare.
2776
2777 * term/ns-win.el (x-handle-args): Declare.
2778
2779 * term/x-win.el (x-select-enable-clipboard): Declare.
2780
2781 * term/w32-win.el (create-default-fontset): Declare.
2782
2783 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2784 Declare.
2785
2786 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2787 (fit-frame-to-buffer): Explicit error if --without-x.
2788 (mouse-autoselect-window-select): Silence compiler.
2789
2790 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2791
2792 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2793 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2794 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2795 * eshell/esh-util.el (eshell-sublist):
2796 Remove unused local variables.
2797
2798 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2799
2800 * textmodes/two-column.el: Make 2C-split work for --without-x.
2801 (scroll-bar-columns): Autoload.
2802 (top-level): Require fringe when compiling.
2803
2804 2013-09-18 Leo Liu <sdl.web@gmail.com>
2805
2806 * subr.el (add-hook): Robustify to handle closure as well.
2807
2808 2013-09-17 Glenn Morris <rgm@gnu.org>
2809
2810 * simple.el (messages-buffer-mode-map): Unbind "g".
2811
2812 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2813
2814 * help-mode.el (help-mode-finish): Use derived-mode-p.
2815 Remove obsolete highlighting.
2816
2817 * play/life.el (life-mode): Use define-derived-mode. Derive from
2818 special-mode.
2819 (life): Let-bind inhibit-read-only.
2820 (life-setup): Avoid `setq'. Use `life-mode'.
2821
2822 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2823 which should not be needed any more.
2824 (package-menu-refresh, package-menu-describe-package): Use user-error.
2825
2826 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2827 (eshell-post-rewrite-command-hook): Make obsolete.
2828 (eshell-parse-command): Simplify.
2829 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2830 (eshell--cmd): Declare.
2831 (eshell-parse-pipeline): Remove unused var `final-p'.
2832 Pass a dynvar to eshell-post-rewrite-command-hook.
2833 Implement the new eshell-post-rewrite-command-function.
2834 (eshell-invoke-directly): Remove unused arg `input'.
2835 * eshell/esh-io.el (eshell-io-initialize):
2836 Use eshell-post-rewrite-command-function (bug#15399).
2837 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2838 adjust to new calling convention.
2839 (eshell-create-handles): Rename args to avoid clashing with dynvar
2840 `standard-output'.
2841
2842 2013-09-17 Glenn Morris <rgm@gnu.org>
2843
2844 * simple.el (messages-buffer-mode): New major mode.
2845 (messages-buffer): New function.
2846 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2847 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2848 (ert-run-test): Use `messages-buffer' function.
2849 (ert--force-message-log-buffer-truncation): Ignore read-only.
2850 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2851 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2852
2853 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2854
2855 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2856
2857 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2858
2859 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2860
2861 * icomplete.el (icomplete-in-buffer): New var.
2862 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2863 vars and replace them with functions.
2864 (icomplete-minibuffer-setup): Adjust accordingly.
2865 (icomplete--completion-table, icomplete--completion-predicate)
2866 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2867 New functions.
2868 (icomplete-forward-completions, icomplete-backward-completions)
2869 (icomplete-simple-completing-p, icomplete-exhibit)
2870 (icomplete-completions): Use them.
2871 (icomplete--in-region-buffer): New var.
2872 (icomplete--in-region-setup): New function.
2873 (icomplete-mode): Use it.
2874
2875 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2876 (bug#15379).
2877 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2878 return args and options.
2879 (eshell-eval-using-options): Use the new return value of
2880 eshell--do-opts to set the options's vars in their scope.
2881 (eshell--set-option): Rename from eshell-set-option.
2882 Add arg `opt-vals'.
2883 (eshell--process-option): Rename from eshell-process-option.
2884 Add arg `opt-vals'.
2885 (eshell--process-args): Use an `opt-vals' alist to store the options's
2886 values during their processing and return them additionally to the
2887 remaining args.
2888
2889 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2890
2891 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2892 continuation character an operator, as far as indentation is
2893 concerned (Bug#15369).
2894
2895 2013-09-15 Martin Rudalics <rudalics@gmx.at>
2896
2897 * window.el (window--state-put-2): Don't process buffer state
2898 when buffer doesn't exist any more (Bug#15382).
2899
2900 2013-09-15 Glenn Morris <rgm@gnu.org>
2901
2902 * eshell/em-unix.el (eshell/rm):
2903 Make -f ignore missing files. (Bug#15373)
2904
2905 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2906 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2907 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2908
2909 2013-09-14 Glenn Morris <rgm@gnu.org>
2910
2911 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2912
2913 2013-09-13 Glenn Morris <rgm@gnu.org>
2914
2915 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2916 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2917
2918 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2919
2920 * frame.el (x-focus-frame): Mark as declared in frame.c.
2921
2922 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2923
2924 * ls-lisp.el: Use advice-add.
2925 (original-insert-directory): Remove.
2926 (ls-lisp--insert-directory): Rename from insert-directory; add
2927 `orig-fun' argument.
2928 (insert-directory): Advise.
2929
2930 2013-09-13 Eli Zaretskii <eliz@gnu.org>
2931
2932 * term.el (term-emulate-terminal): Decode the command string
2933 before passing it to term-command-hook. (Bug#15337)
2934
2935 2013-09-13 Glenn Morris <rgm@gnu.org>
2936
2937 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2938
2939 * eshell/esh-ext.el (eshell-search-path): Declare.
2940
2941 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2942 Otherwise an error occurs if eshell-dirs module not loaded.
2943
2944 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2945
2946 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
2947
2948 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2949 `tramp-check-proper-host'. Check for a valid method name.
2950
2951 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2952 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2953 * net/tramp-sh.el (tramp-maybe-open-connection):
2954 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2955
2956 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2957 also for hash values.
2958
2959 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2960
2961 * term/ns-win.el (parameters): Don't declare as dynamic.
2962 (before-make-frame-hook): Don't add ineffective function.
2963
2964 * eshell/*.el: Use lexical-binding (bug#15231).
2965
2966 2013-09-12 Kenichi Handa <handa@gnu.org>
2967
2968 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2969
2970 2013-09-12 Glenn Morris <rgm@gnu.org>
2971
2972 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2973 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2974
2975 * subr.el (do-after-load-evaluation): Also give compiler warnings
2976 when obsolete files are used (except by obsolete files).
2977
2978 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2979 in the status output, assume `filename' is the first. (Bug#15322)
2980
2981 * vc/vc.el (vc-deduce-fileset): Doc fix.
2982
2983 * calc/calc-help.el (Info-goto-node):
2984 * progmodes/cperl-mode.el (Info-find-node):
2985 * vc/ediff.el (Info-goto-node): Update declarations.
2986
2987 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2988
2989 * vc/vc-bzr.el (vc-compilation-mode): Declare.
2990 (vc-bzr-pull): Require vc-dispatcher.
2991 * vc/vc-git.el (vc-compilation-mode): Declare.
2992 (vc-git-pull): Require vc-dispatcher.
2993
2994 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2995
2996 * progmodes/octave.el (help-button-action): Declare.
2997
2998 * shell.el (shell-directory-tracker): Output error as a message
2999 rather than just returning it as a string.
3000 (shell-process-pushd): Remove useless use of message.
3001
3002 * dframe.el (dframe-timer-fn):
3003 * files.el (dir-locals-read-from-file):
3004 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3005 (mpc-format):
3006 * reveal.el (reveal-post-command):
3007 * saveplace.el (load-save-place-alist-from-file):
3008 * shell.el (shell-resync-dirs):
3009 * w32-common-fns.el (x-get-selection-value):
3010 * emacs-lisp/copyright.el (copyright-find-copyright):
3011 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3012 * emulation/tpu-edt.el (tpu-copy-keyfile):
3013 * play/bubbles.el (bubbles--mark-neighbourhood):
3014 * progmodes/executable.el
3015 (executable-make-buffer-file-executable-if-script-p):
3016 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3017
3018 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3019
3020 Cleanup Eshell to rely less on dynamic scoping.
3021 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3022 last-value, and ext-command here. Bind `args' closer to `body'.
3023 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3024 (eshell--args): Declare new dynamic var.
3025 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3026 last-value, and ext-command. Pass `args' to `body'.
3027 (eshell-process-args): Bind eshell--args.
3028 (eshell-set-option): Use eshell--args.
3029 * eshell/eshell.el (eshell): Use derived-mode-p.
3030 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3031 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3032 (eshell-glob-function): Declare.
3033 * eshell/esh-util.el: Require cl-lib.
3034 (eshell-read-hosts-file): Avoid add-to-list.
3035 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3036 `err'.
3037 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3038 Declare.
3039 (eshell/diff): Remove unused var `err'.
3040 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3041 `killflag'.
3042 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3043 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3044 first use.
3045 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3046 Move declaration before first use.
3047 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3048 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3049 rely on cl-return.
3050
3051 2013-09-12 Glenn Morris <rgm@gnu.org>
3052
3053 * term/ns-win.el (global-map): Remove binding for ispell-next,
3054 deleted 1999-05-29. (Bug#15357)
3055
3056 2013-09-11 Glenn Morris <rgm@gnu.org>
3057
3058 * echistory.el (electric-command-history): Remove call to deleted func.
3059
3060 * play/landmark.el (landmark-mode): Fix typos.
3061
3062 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3063 Check cvs-sort-ignore-file is bound.
3064
3065 * savehist.el: No need for cl when compiling on Emacs.
3066
3067 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3068
3069 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3070 (bug#15338).
3071 (eshell-self-insert-command, eshell-send-invisible):
3072 Remove unused argument.
3073 (eshell-handle-control-codes): Remove unused var `orig'.
3074 Avoid delete-backward-char.
3075
3076 * files.el (set-auto-mode): Simplify a bit further.
3077
3078 2013-09-11 Glenn Morris <rgm@gnu.org>
3079
3080 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3081 (set-auto-mode): Don't regexp-quote elements.
3082 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3083 * progmodes/cc-mode.el (interpreter-mode-alist):
3084 * progmodes/ruby-mode.el (interpreter-mode-alist):
3085 Revert previous change.
3086
3087 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3088
3089 * play/snake.el (snake-mode):
3090 * play/mpuz.el (mpuz-mode):
3091 * play/landmark.el (lm-mode):
3092 * play/blackbox.el (blackbox-mode):
3093 * play/5x5.el (5x5-mode):
3094 * obsolete/options.el (Edit-options-mode):
3095 * net/quickurl.el (quickurl-list-mode):
3096 * net/newst-treeview.el (newsticker-treeview-mode):
3097 * mail/rmailsum.el (rmail-summary-mode):
3098 * mail/mspools.el (mspools-mode):
3099 * locate.el (locate-mode):
3100 * ibuffer.el (ibuffer-mode):
3101 * emulation/ws-mode.el (wordstar-mode):
3102 * emacs-lisp/debug.el (debugger-mode):
3103 * array.el (array-mode):
3104 * net/eudc.el (eudc-mode): Use define-derived-mode.
3105 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3106 Move initialization into declaration.
3107 (mairix-searches-mode): Use define-derived-mode.
3108 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3109 (eudc-edit-hotlist): Use dolist.
3110 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3111 (Man-mode): Use define-derived-mode.
3112 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3113 (Info-edit-mode): Use define-derived-mode.
3114 (Info-cease-edit): Use Info-mode.
3115 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3116 into declaration.
3117 (eshell-mode): Use define-derived-mode.
3118 * chistory.el (command-history-mode-map): Rename from
3119 command-history-map.
3120 (command-history-mode): Use define-derived-mode.
3121 (Command-history-setup): Remove function.
3122 * calc/calc.el (calc-trail-mode-map): New var.
3123 (calc-trail-mode): Use define-derived-mode.
3124 (calc-trail-buffer): Set calc-main-buffer manually.
3125 * bookmark.el (bookmark-insert-annotation): New function.
3126 (bookmark-edit-annotation): Use it.
3127 (bookmark-edit-annotation-mode): Make it a proper major mode.
3128 (bookmark-send-edited-annotation): Use derived-mode-p.
3129 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3130 closer to its ideal place. Use \' to match EOS.
3131
3132 * profiler.el (profiler-calltree-find): Use function-equal.
3133
3134 2013-09-10 Glenn Morris <rgm@gnu.org>
3135
3136 * files.el (interpreter-mode-alist): Convert to regexps.
3137 (set-auto-mode): Adapt for this. (Bug#15306)
3138 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3139 Comment out unused variable.
3140 * progmodes/cc-mode.el (interpreter-mode-alist):
3141 * progmodes/python.el (interpreter-mode-alist):
3142 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3143 * progmodes/sh-script.el (sh-set-shell):
3144 No longer use interpreter-mode-alist to get list of shells.
3145
3146 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3147
3148 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3149
3150 * simple.el: Use set-temporary-overlay-map for universal-argument.
3151 (universal-argument-map): Don't use default-bindings (bug#15317).
3152 Bind switch-frame explicitly. Replace universal-argument-minus with
3153 a conditional binding.
3154 (universal-argument-num-events, saved-overriding-map): Remove.
3155 (restore-overriding-map): Remove.
3156 (universal-argument--mode): Rename from save&set-overriding-map,
3157 and rewrite.
3158 (universal-argument, universal-argument-more, negative-argument)
3159 (digit-argument): Adjust accordingly.
3160 (universal-argument-minus): Remove.
3161 (universal-argument-other-key): Remove.
3162
3163 * subr.el (with-demoted-errors): Add `format' argument.
3164
3165 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3166
3167 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3168 `tramp-cleanup-connection'.
3169
3170 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3171 parameters KEEP-DEBUG and KEEP-PASSWORD.
3172
3173 * net/tramp.el (tramp-file-name-handler):
3174 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3175 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3176 (tramp-maybe-open-connection):
3177 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3178 Use `tramp-cleanup-connection'.
3179
3180 * net/tramp-sh.el (tramp-maybe-open-connection):
3181 Catch 'uname-changed inside the progress reporter.
3182
3183 2013-09-10 Glenn Morris <rgm@gnu.org>
3184
3185 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3186
3187 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3188 returns "alternate access method" in mode (eg "-rw-r--r--.").
3189
3190 2013-09-08 Glenn Morris <rgm@gnu.org>
3191
3192 * saveplace.el (load-save-place-alist-from-file):
3193 Demote errors. (Bug#15305)
3194
3195 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3196
3197 Improve compatibility with older Emacsen, and XEmacs.
3198
3199 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3200 only if it is bound. It isn't for XEmacs.
3201 (with-tramp-progress-reporter): Do not let-bind `result'.
3202 This yields to scoping errors in XEmacs.
3203 (tramp-handle-make-auto-save-file-name): New function, moved from
3204 tramp-sh.el.
3205
3206 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3207 for `make-auto-save-file-name'.
3208 (tramp-adb--gnu-switches-to-ash):
3209 Use `tramp-compat-replace-regexp-in-string'.
3210
3211 * net/tramp-cache.el (tramp-cache-print): Call
3212 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3213
3214 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3215 bound. It isn't for XEmacs.
3216
3217 * net/tramp-compat.el (tramp-compat-copy-file):
3218 Catch `wrong-number-of-arguments' error.
3219 (tramp-compat-replace-regexp-in-string): New defun.
3220
3221 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3222 for `make-auto-save-file-name'.
3223 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3224 `copy-file'.
3225 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3226 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3227 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3228
3229 * net/tramp-gw.el (tramp-gw-open-network-stream):
3230 Use `tramp-compat-replace-regexp-in-string'.
3231
3232 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3233 Call `tramp-handle-make-auto-save-file-name'.
3234 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3235 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3236 (tramp-sh-file-inotifywait-process-filter):
3237 Use `tramp-compat-replace-regexp-in-string'.
3238 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3239
3240 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3241 for `make-auto-save-file-name'.
3242 (tramp-smb-handle-copy-directory):
3243 Call `tramp-compat-replace-regexp-in-string'.
3244 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3245 (tramp-smb-handle-copy-file): Improve error message.
3246 (tramp-smb-handle-rename-file): Rename directly only in case
3247 `newname' does not exist yet. This is a restriction of smbclient.
3248 (tramp-smb-maybe-open-connection): Rerun the function only when
3249 `auth-sources' is non-nil.
3250
3251 2013-09-08 Kenichi Handa <handa@gnu.org>
3252
3253 * international/characters.el: Set category "^" (Combining) for
3254 more characters.
3255
3256 2013-09-07 Alan Mackenzie <acm@muc.de>
3257
3258 Correctly fontify Java class constructors.
3259 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3260 in Java Mode.
3261 (c-recognize-typeless-decls): Set the Java value to t.
3262 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3263 While handling a "(", add a check for, effectively, Java, and handle a
3264 "typeless" declaration there.
3265
3266 2013-09-07 Roland Winkler <winkler@gnu.org>
3267
3268 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3269 field subtitle for entry type book.
3270
3271 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3272
3273 * minibuffer.el: Make minibuffer-complete call completion-in-region
3274 rather than other way around.
3275 (completion--some, completion-pcm--find-all-completions):
3276 Don't delay signals when debugging.
3277 (minibuffer-completion-contents): Beware fields within the
3278 minibuffer contents.
3279 (completion-all-sorted-completions): Use defvar-local.
3280 (completion--do-completion, completion--cache-all-sorted-completions)
3281 (completion-all-sorted-completions, minibuffer-force-complete):
3282 Add args `beg' and `end'.
3283 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3284 (minibuffer-complete): Use completion-in-region.
3285 (completion-complete-and-exit): New fun, extracted from
3286 minibuffer-complete-and-exit.
3287 (minibuffer-complete-and-exit): Use it.
3288 (completion--complete-and-exit): Rename from
3289 minibuffer--complete-and-exit.
3290 (completion-in-region--single-word): New function, extracted from
3291 minibuffer-complete-word.
3292 (minibuffer-complete-word): Use it.
3293 (display-completion-list): Make `common-substring' argument obsolete.
3294 (completion--in-region): Call completion--in-region-1 instead of
3295 minibuffer-complete.
3296 (completion-help-at-point): Pass boundaries to
3297 minibuffer-completion-help as args rather than via an overlay.
3298 (completion-pcm--string->pattern): Use `any-delim'.
3299 (completion-pcm--optimize-pattern): New function.
3300 (completion-pcm--pattern->regex): Handle `any-delim'.
3301 * icomplete.el (icomplete-forward-completions)
3302 (icomplete-backward-completions, icomplete-completions):
3303 Adjust calls to completion-all-sorted-completions and
3304 completion--cache-all-sorted-completions.
3305 (icomplete-with-completion-tables): Default to t.
3306 * emacs-lisp/crm.el (crm--current-element): Rename from
3307 crm--select-current-element. Don't put an overlay but return the
3308 boundaries instead.
3309 (crm--completion-command): Take two new args to bind to the boundaries.
3310 (crm-completion-help): Adjust accordingly.
3311 (crm-complete): Use completion-in-region.
3312 (crm-complete-word): Use completion-in-region--single-word.
3313 (crm-complete-and-exit): Use completion-complete-and-exit.
3314
3315 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3316
3317 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3318 than dynamically.
3319
3320 2013-09-06 Juri Linkov <juri@jurta.org>
3321
3322 * info.el (Info-display-images-node): When image file doesn't exist
3323 display text version of the image if it's provided in the Info file.
3324 Otherwise, display the location of missing image from SRC attribute.
3325 Add help-echo text property from ALT attribute. (Bug#15279)
3326
3327 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3328
3329 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3330 (edit-abbrevs-mode): Use define-derived-mode.
3331
3332 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3333 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3334 that it's defined.
3335 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3336 Use define-derived-mode.
3337
3338 * epg.el (epg-start-encrypt): Minor CSE simplification.
3339
3340 2013-09-06 William Xu <william.xwl@gmail.com>
3341
3342 * arc-mode.el: Add support for 7za (bug#15264).
3343 (archive-7z-program): New var.
3344 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3345 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3346 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3347
3348 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3349
3350 Remove URL syntax.
3351
3352 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3353 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3354 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3355 (tramp-postfix-host-format, tramp-file-name-regexp)
3356 (tramp-completion-file-name-regexp)
3357 (tramp-completion-dissect-file-name)
3358 (tramp-handle-substitute-in-file-name): Remove 'url case.
3359 (tramp-file-name-regexp-url)
3360 (tramp-completion-file-name-regexp-url): Remove constants.
3361
3362 2013-09-06 Glenn Morris <rgm@gnu.org>
3363
3364 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3365
3366 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3367
3368 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3369 keywords" below "here-doc beginnings" (Bug#15270).
3370
3371 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3372
3373 * subr.el (pop): Use `car-safe'.
3374 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3375 to detect unused `pop' return value.
3376
3377 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3378 var `block-regexp'.
3379 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3380 (python-fill-string): Remove unused var `marker'.
3381 (python-skeleton-add-menu-items): Remove unused var `items'.
3382
3383 * international/mule-cmds.el: Require CL.
3384 (find-coding-systems-for-charsets): Avoid add-to-list.
3385 (sanitize-coding-system-list): New function, extracted from
3386 select-safe-coding-system-interactively.
3387 (select-safe-coding-system-interactively): Use it.
3388 (read-input-method-name): Accept symbols for `default'.
3389
3390 * emacs-lisp/advice.el (defadvice): Add indent rule.
3391
3392 2013-09-05 Daniel Hackney <dan@haxney.org>
3393
3394 * dired-x.el:
3395 * net/ange-ftp.el:
3396 * net/browse-url.el:
3397 * net/dbus.el:
3398 * net/eudc.el:
3399 * net/eudcb-ldap.el:
3400 * net/eww.el:
3401 * net/imap.el:
3402 * printing.el:
3403 * vc/ediff-diff.el:
3404 * vc/ediff-init.el:
3405 * vc/ediff-merg.el:
3406 * vc/ediff-mult.el:
3407 * vc/ediff-util.el:
3408 * vc/ediff-wind.el:
3409 * vc/ediff.el:
3410 * vc/emerge.el:
3411 * vc/pcvs.el:
3412 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3413 byte compiler. Remove some unused let-bound variables.
3414
3415 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3416
3417 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3418 a "ref-cell", since it gets better optimized (bug#14883).
3419
3420 2013-09-05 Glenn Morris <rgm@gnu.org>
3421
3422 * progmodes/cc-awk.el (c-forward-sws): Declare.
3423
3424 2013-09-04 Glenn Morris <rgm@gnu.org>
3425
3426 * generic-x.el [rul-generic-mode]: Require cc-mode.
3427 (c++-mode-syntax-table): Declare.
3428 (rul-generic-mode-syntax-table): Init in the defvar.
3429
3430 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3431
3432 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3433 (vc-do-command, vc-set-async-update):
3434 * vc/vc-mtn.el (vc-mtn-dir-status):
3435 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3436 (vc-hg-pull, vc-hg-merge-branch):
3437 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3438 (vc-git-merge-branch):
3439 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3440 (vc-cvs-dir-status-files):
3441 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3442 (vc-bzr-dir-status-files):
3443 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3444 * vc/vc-annotate.el: Use lexical-binding.
3445 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3446 (vc-sentinel-movepoint): Declare.
3447 (vc-annotate): Don't use `goto-line'.
3448 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3449 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3450 (vc-sentinel-movepoint): Declare.
3451 * vc/vc-svn.el: Use lexical-binding.
3452 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3453 * vc/vc-sccs.el:
3454 * vc/vc-rcs.el: Use lexical-binding.
3455
3456 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3457 `deleted'. Don't drop errors silently.
3458
3459 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3460
3461 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3462
3463 * vc/vc.el (vc-ignore): Rewrite.
3464 (vc-default-ignore): New function.
3465 (vc-default-ignore-completion-table): Use find-ignore-file.
3466
3467 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3468 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3469 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3470 Remove. Most code moved to vc.el.
3471
3472 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3473
3474 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3475 * net/tramp-smb.el (tramp-smb-get-file-entries):
3476 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3477 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3478
3479 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3480 Update call to it.
3481 (eww-change-select): Remove unused var `properties'.
3482 (eww-make-unique-file-name): Remove unused var `base'.
3483
3484 * finder.el (finder-compile-keywords): Don't mess with windows.
3485
3486 * calculator.el (calculator-funcall): Fix typo in last change.
3487
3488 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3489
3490 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3491 <pkg>-autoloads.el file stop us.
3492
3493 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3494 warnings, and factor out common code.
3495
3496 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3497
3498 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3499 two-character operators and whether the character preceding them
3500 changes their meaning (Bug#15208).
3501
3502 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3503
3504 Format code sent to Python shell for robustness.
3505 * progmodes/python.el (python-shell-buffer-substring):
3506 New function.
3507 (python-shell-send-region, python-shell-send-buffer): Use it.
3508
3509 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3510
3511 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3512 * net/tramp.el (tramp-user-error): ... here.
3513 (tramp-find-method, tramp-check-proper-host)
3514 (tramp-dissect-file-name, tramp-debug-message)
3515 (tramp-handle-shell-command):
3516 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3517 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3518
3519 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3520
3521 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3522
3523 * avoid.el (mouse-avoidance-point-position)
3524 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3525 returns nil.
3526
3527 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3528
3529 * progmodes/python.el (python-shell-completion-get-completions):
3530 Drop use of deleted `comint-last-prompt-overlay'.
3531 (python-nav-if-name-main): New command.
3532
3533 2013-09-01 Glenn Morris <rgm@gnu.org>
3534
3535 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3536 Avoid leading space in $wins. Otherwise the sed command used by
3537 eg compile-main ends up containing "/*.el". (Bug#15170)
3538
3539 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3540
3541 2013-08-30 Glenn Morris <rgm@gnu.org>
3542
3543 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3544 Fix is-this-a-directory logic. (Bug#15220)
3545
3546 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3547
3548 * textmodes/css-mode.el: Use SMIE.
3549 (css-smie-grammar): New var.
3550 (css-smie--forward-token, css-smie--backward-token)
3551 (css-smie-rules): New functions.
3552 (css-mode): Use them.
3553 (css-navigation-syntax-table): Remove var.
3554 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3555 (css-indent-calculate, css-indent-line): Remove functions.
3556
3557 Misc changes to reduce use of `(lambda...); and other cleanups.
3558 * cus-edit.el: Use lexical-binding.
3559 (customize-push-and-save, customize-apropos)
3560 (custom-buffer-create-internal): Use closures.
3561 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3562 * progmodes/ada-xref.el: Use setq.
3563 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3564 * dframe.el: Use lexical-binding.
3565 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3566 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3567 * descr-text.el: Use lexical-binding.
3568 (describe-text-widget, describe-text-sexp, describe-property-list):
3569 Use closures.
3570 * comint.el (comint-history-isearch-push-state): Use a closure.
3571 * calculator.el: Use lexical-binding.
3572 (calculator-number-to-string): Make it work with lexical-binding.
3573 (calculator-funcall): Same and use cl-letf.
3574
3575 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3576 (lisp--company-doc-string, lisp--company-location): New functions.
3577 (lisp-completion-at-point): Use them to improve Company support.
3578
3579 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3580 params of lambda expressions.
3581 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3582 (ruby-smie--opening-pipe-p): New function.
3583 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3584 symbols and matched |...| for formal params.
3585 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3586 from being treated as hanging. Handle "rescue".
3587
3588 2013-08-29 Glenn Morris <rgm@gnu.org>
3589
3590 * progmodes/cc-engine.el (c-pull-open-brace):
3591 Move definition before use.
3592
3593 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3594
3595 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3596 are immutable. Don't use `unsafe' any more.
3597 (cl--defsubst-expand): Don't substitute at the same time as keeping
3598 a residual unused let-binding. Don't use `unsafe' any more.
3599
3600 2013-08-29 Glenn Morris <rgm@gnu.org>
3601
3602 * calendar/cal-china.el (calendar-chinese-year-cache):
3603 Recenter on 2015.
3604
3605 * nxml/nxml-util.el (nxml-debug-clear-inside):
3606 Use cl-loop rather than loop.
3607
3608 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3609
3610 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3611
3612 2013-08-28 Glenn Morris <rgm@gnu.org>
3613
3614 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3615
3616 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3617
3618 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3619
3620 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3621
3622 * simple.el (repeat-complex-command--called-interactively-skip):
3623 New function.
3624 (repeat-complex-command): Use it (bug#14136).
3625
3626 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3627 (c-define-abbrev-table): Add `doc' argument.
3628 (c-mode-abbrev-table, c++-mode-abbrev-table)
3629 (objc-mode-abbrev-table, java-mode-abbrev-table)
3630 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3631 (awk-mode-abbrev-table): Use it.
3632 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3633 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3634 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3635 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3636 Move initialization into the declaration; and remove any
3637 autoload cookie.
3638
3639 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3640 and dynamic let binding.
3641
3642 * vc/smerge-mode.el: Remove redundant :group args.
3643
3644 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3645 to load-path.
3646
3647 2013-08-28 Juri Linkov <juri@jurta.org>
3648
3649 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3650 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3651 (isearch-other-meta-char): Handle an undefined shifted printing
3652 character by downshifting it. (Bug#15200)
3653
3654 2013-08-28 Juri Linkov <juri@jurta.org>
3655
3656 * isearch.el (isearch-search): Change regexp error message for
3657 non-regexp searches. (Bug#15166)
3658
3659 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3660
3661 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3662 for portability to hosts where /bin/sh has problems.
3663
3664 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3665
3666 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3667
3668 2013-08-27 Juri Linkov <juri@jurta.org>
3669
3670 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3671 in the keyboard macro. (Bug#15126)
3672
3673 2013-08-27 Juri Linkov <juri@jurta.org>
3674
3675 * isearch.el (isearch-quote-char): Comment out converting unibyte
3676 to multibyte, thus syncing with its `quoted-insert' counterpart.
3677 (Bug#15166)
3678
3679 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3680
3681 * window.el (display-buffer-use-some-window): Add missing
3682 argument in call of get-largest-window (Bug#15185).
3683 Reported by Stephen Leake.
3684
3685 2013-08-27 Glenn Morris <rgm@gnu.org>
3686
3687 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3688
3689 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3690
3691 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3692 from a matcher-function unless there's no more matches (bug#15161).
3693
3694 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3695
3696 * minibuffer.el: Revert change from 2013-08-20.
3697
3698 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3699 with text property `tramp-default', if appropriate.
3700 (tramp-check-proper-host): New defun.
3701 (tramp-dissect-file-name): Do not check hostname. Revert change
3702 of 2013-03-18.
3703 (tramp-backtrace): Make VEC-OR-PROC optional.
3704
3705 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3706 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3707 * net/tramp-sh.el (tramp-maybe-open-connection):
3708 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3709 Apply `tramp-check-proper-host'.
3710
3711 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3712
3713 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3714 lambda expression in order to have `describe-variable' display it.
3715
3716 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3717
3718 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3719 BUF can be optional. (Bug#15186)
3720
3721 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3722
3723 * progmodes/flymake.el (flymake-get-real-file-name-function):
3724 Fix broken customization. (Bug#15184)
3725
3726 2013-08-25 Alan Mackenzie <acm@muc.de>
3727
3728 Improve indentation of bracelists defined by macros (without "=").
3729
3730 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3731 expansion begins with "{", regard it as bracelist when it doesn't
3732 contain a ";".
3733
3734 Parse C++ inher-intro when there's a template split over 2 lines.
3735
3736 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3737 rigorously the search for "class" etc. followed by ":".
3738
3739 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3740 random languages a regexp which never matches rather than nil.
3741
3742 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3743
3744 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3745 (c-awk-regexp-one-line-possibly-open-char-list-re)
3746 (c-awk-one-line-possibly-open-regexp-re)
3747 (c-awk-one-line-non-syn-ws*-re): Remove.
3748 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3749 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3750 (c-awk-space*-unclosed-regexp-/-re): New constants.
3751 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3752 aren't regexp delimiters.
3753
3754 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3755 handling for a rare situation in AWK Mode involving unterminated
3756 strings/regexps.
3757
3758 2013-08-23 Glenn Morris <rgm@gnu.org>
3759
3760 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3761
3762 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3763
3764 * files.el (create-file-buffer): If the result would begin with
3765 spaces, prepend a "|" instead of removing them. (Bug#15162)
3766
3767 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3768
3769 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3770 text-properties (bug#15155).
3771
3772 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3773 exist any more.
3774 (calc-keypad-redraw): Remove unused var `pad'.
3775 (calc-keypad-press): Remove unused var `menu'.
3776
3777 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3778
3779 * window.el (display-buffer-pop-up-frame):
3780 Call pop-up-frame-function with BUFFER current so `make-frame' will
3781 use it as the new frame's buffer (Bug#15133).
3782
3783 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3784
3785 * calendar/timeclock.el: Minor cleanups.
3786 (timeclock-ask-before-exiting, timeclock-use-display-time):
3787 Use `symbol'.
3788 (timeclock-modeline-display): Define as alias before the
3789 actual definition.
3790 (timeclock-mode-line-display): Use define-minor-mode.
3791 (timeclock-day-list-template): Make it a function, add an argument.
3792 (timeclock-day-list-required, timeclock-day-list-length)
3793 (timeclock-day-list-debt, timeclock-day-list-span)
3794 (timeclock-day-list-break): Adjust calls accordingly.
3795
3796 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3797
3798 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3799 Use read--expression so that completion works again.
3800
3801 2013-08-21 Sam Steingold <sds@gnu.org>
3802
3803 Add rudimentary inferior shell interaction
3804 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3805 (sh-set-shell): Reset it.
3806 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3807 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3808
3809 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3810
3811 * align.el: Use lexical-binding.
3812 (align-region): Simplify accordingly.
3813
3814 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3815
3816 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3817
3818 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3819 `non-essential' up.
3820
3821 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3822
3823 * net/tramp.el:
3824 * net/tramp-adb.el:
3825 * net/tramp-cmds.el:
3826 * net/tramp-ftp.el:
3827 * net/tramp-gvfs.el:
3828 * net/tramp-gw.el:
3829 * net/tramp-sh.el: Don't wrap external variable declarations by
3830 `eval-when-compile'.
3831
3832 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3833
3834 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3835 now that Emacs supports ImageMagick animations.
3836
3837 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3838
3839 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3840 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3841
3842 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3843
3844 * window.el (mouse-autoselect-window-select): Do autoselect when
3845 mouse pointer is on margin.
3846
3847 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3848
3849 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3850
3851 2013-08-16 Glenn Morris <rgm@gnu.org>
3852
3853 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3854 Handle "Remote Directory" response of some clients. (Bug#15058)
3855
3856 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3857 Tweak warning. (Bug#14926)
3858
3859 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3860 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3861
3862 * image-mode.el (image-mode-map): Add menu items to reverse,
3863 increase, decrease, reset animation speed.
3864 (image--set-speed, image-increase-speed, image-decrease-speed)
3865 (image-reverse-speed, image-reset-speed): New functions.
3866 (image-mode-map): Add bindings for speed commands.
3867
3868 * image.el (image-animate-get-speed, image-animate-set-speed):
3869 New functions.
3870 (image-animate-timeout): Respect image :speed property.
3871
3872 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3873
3874 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3875 previous line (bug#15101).
3876 (debugger-eval-expression, debugger-record-expression):
3877 Use read--expression (bug#15102).
3878
3879 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
3880
3881 Remove byte compiler warnings, visible when compiling with
3882 `byte-compile-force-lexical-warnings' set to t.
3883
3884 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3885 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3886 (tramp-handle-unhandled-file-name-directory)
3887 (tramp-handle-file-notify-add-watch, tramp-action-login)
3888 (tramp-action-succeed, tramp-action-permission-denied)
3889 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3890 arguments with "_".
3891
3892 * net/tramp-adb.el (tramp-adb-parse-device-names)
3893 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3894 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3895 (tramp-adb-handle-file-truename): Remove unused arguments.
3896
3897 * net/tramp-cache.el (tramp-flush-directory-property)
3898 (tramp-flush-connection-property, tramp-list-connections)
3899 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3900
3901 * net/tramp-compat.el (tramp-compat-make-temp-file):
3902 Rename FILENAME to F.
3903
3904 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3905 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3906 (tramp-zeroconf-parse-workstation-device-names)
3907 (tramp-zeroconf-parse-webdav-device-names)
3908 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3909
3910 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3911 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3912
3913 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3914 arguments.
3915 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3916 (tramp-sh-handle-insert-file-contents-literally)
3917 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3918 with "_".
3919 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3920 Remove unused variables.
3921
3922 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3923 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3924 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3925
3926 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3927 Make them a defconst.
3928 (tramp-uuencode-region): Remove unused variable.
3929
3930 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
3931
3932 * frameset.el (frameset--prop-setter): New function.
3933 (frameset-prop): Add gv-setter declaration.
3934 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3935 parameter was already set in FILTERED. Doc fix.
3936 (frameset--record-minibuffer-relationships): Allow saving a
3937 minibufferless frame without its corresponding minibuffer frame.
3938 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3939 frame, if the frame id matches.
3940 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3941 frames before orphaned ones.
3942 (frameset-restore): Warn about orphaned windows, instead of error out.
3943
3944 2013-08-14 Martin Rudalics <rudalics@gmx.at>
3945
3946 * window.el (window-make-atom): Don't overwrite parameter
3947 already present.
3948 (display-buffer-in-atom-window): Handle special case where we
3949 split an already atomic window.
3950 (window--major-non-side-window, display-buffer-in-side-window)
3951 (window--side-check): Ignore minibuffer window when walking
3952 window tree.
3953 (window-deletable-p): Return 'frame only if no other frame uses
3954 our minibuffer window.
3955 (record-window-buffer): Run buffer-list-update-hook.
3956 (split-window): Make sure window--check-frame won't destroy an
3957 existing atomic window in case the new window gets nested
3958 inside.
3959 (display-buffer-at-bottom): Ignore minibuffer window when
3960 walking window tree. Don't split a side window.
3961 (pop-to-buffer): Don't set-buffer here, the select-window call
3962 should do that.
3963 (mouse-autoselect-window-select): Autoselect only if we are in the
3964 text portion of the window.
3965
3966 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3967
3968 * net/shr.el (shr-parse-image-data): New function to grab both the
3969 data itself and the Content-Type.
3970 (shr-put-image): Use it.
3971
3972 * net/eww.el (eww-display-image): Ditto.
3973
3974 * image.el (image-content-type-suffixes): New variable.
3975
3976 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3977
3978 * progmodes/python.el (python-imenu--build-tree)
3979 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3980
3981 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3982
3983 * simple.el (backward-word): Mention the optional argument.
3984
3985 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3986
3987 * frameset.el (frameset--make): Rename constructor from make-frameset.
3988 (frameset-p, frameset-valid-p): Don't autoload.
3989 (frameset-valid-p): Use normal accessors.
3990
3991 2013-08-13 Glenn Morris <rgm@gnu.org>
3992
3993 * progmodes/compile.el (compile-command): Tweak example in doc.
3994 * obsolete/scribe.el (scribe-mode):
3995 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3996
3997 * mail/feedmail.el (feedmail-confirm-outgoing)
3998 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3999
4000 * cus-start.el (truncate-partial-width-windows): Fix type.
4001
4002 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4003
4004 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4005
4006 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4007
4008 * emacs-lisp/timer.el (timer--time-setter): New function.
4009 (timer--time): Use it as gv-setter.
4010
4011 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4012 setter is not a symbol.
4013
4014 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4015
4016 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4017 if sending fails. This makes debugging easier.
4018
4019 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4020
4021 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4022 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4023 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4024
4025 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4026
4027 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4028
4029 2013-08-12 Glenn Morris <rgm@gnu.org>
4030
4031 * format.el (format-annotate-function):
4032 Handle read-only text properties in the source. (Bug#14887)
4033
4034 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4035
4036 * net/eww.el (eww-display-html): Ignore coding system errors.
4037 One web site uses "utf-8lias" as the coding system.
4038
4039 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4040
4041 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4042
4043 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4044
4045 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4046 (tutorial--detailed-help): Remove unused local variables.
4047 (tutorial--save-tutorial-to): Use ignore-errors.
4048 (help-with-tutorial): Use looking-at-p.
4049
4050 * view.el (view-buffer-other-window, view-buffer-other-frame):
4051 Mark unused arguments.
4052
4053 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4054 (woman-select-symbol-fonts, woman, woman-find-file)
4055 (woman-insert-file-contents, woman-non-underline-faces):
4056 Use string-match-p.
4057 (woman1-unquote): Move declaration.
4058
4059 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4060 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4061 argument. Remove unused local variable.
4062 (xml-parse-elem-type): Use string-match-p.
4063 (xml-substitute-numeric-entities): Use ignore-errors.
4064
4065 * calculator.el (calculator): Mark unused argument.
4066 (calculator-paste, calculator-quit, calculator-integer-p):
4067 Use ignore-errors.
4068 (calculator-string-to-number, calculator-decimal, calculator-exp)
4069 (calculator-op-or-exp): Use string-match-p.
4070
4071 * dired.el (dired-buffer-more-recently-used-p): Declare.
4072 (dired-insert-set-properties, dired-insert-old-subdirs):
4073 Use ignore-errors.
4074
4075 * dired-aux.el (dired-compress): Use ignore-errors.
4076 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4077 (dired-do-async-shell-command, dired-do-shell-command)
4078 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4079 (dired-insert-subdir-validate): Use string-match-p.
4080 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4081 (dired-add-entry): Use string-match-p, looking-at-p.
4082 (dired-insert-subdir-newpos): Remove unused local variable.
4083
4084 * filenotify.el (file-notify-callback): Remove unused local variable.
4085
4086 * filesets.el (filesets-error): Mark unused argument.
4087 (filesets-which-command-p, filesets-filter-dir-names)
4088 (filesets-directory-files, filesets-get-external-viewer)
4089 (filesets-ingroup-get-data): Use string-match-p.
4090
4091 * find-file.el (ff-other-file-name, ff-other-file-name)
4092 (ff-find-the-other-file, ff-cc-hh-converter):
4093 Remove unused local variables.
4094 (ff-get-file-name): Use string-match-p.
4095 (ff-all-dirs-under): Use ignore-errors.
4096
4097 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4098 (follow-select-if-visible): Remove unused local variable.
4099
4100 * forms.el (read-file-filter): Move declaration.
4101 (forms--make-format, forms--make-parser, forms-insert-record):
4102 Quote function with #'.
4103 (forms--update): Use string-match-p. Quote function with #'.
4104
4105 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4106 (help-make-xrefs): Use looking-at-p.
4107 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4108
4109 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4110 (ibuffer-confirm-operation-on): Use string-match-p.
4111
4112 * msb.el (msb-item-handler, msb-dired-item-handler):
4113 Mark unused arguments.
4114
4115 * ses.el (ses-decode-cell-symbol)
4116 (ses-kill-override): Remove unused local variable.
4117 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4118 (ses-load): Use ignore-errors, looking-at-p.
4119 (ses-jump-safe): Use ignore-errors.
4120 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4121
4122 * tabify.el (untabify, tabify): Mark unused arguments.
4123
4124 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4125 Mark unused argument.
4126 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4127 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4128
4129 * emacs-lisp/timer.el (timer--time): Define setter with
4130 gv-define-setter to avoid deprecation warning.
4131
4132 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4133 (*record-cmpl-statistics-p*): Remove (was commented out).
4134 (cmpl-statistics-block): Remove (body was commented out).
4135 All callers changed.
4136 (add-completions-from-buffer, load-completions-from-file):
4137 Remove unused variables.
4138
4139 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4140
4141 * filecache.el (file-cache-delete-file-list):
4142 Print message only when told so.
4143 (file-cache-files-matching): Use #' in mapconcat argument.
4144
4145 * ffap.el (ffap-url-at-point): Fix reference to variable
4146 thing-at-point-default-mail-uri-scheme.
4147
4148 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4149
4150 * subr.el (define-error): New function.
4151 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4152 error-file-not-found and define with define-error.
4153 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4154 and define with define-error.
4155 * userlock.el (file-locked, file-supersession):
4156 * simple.el (mark-inactive):
4157 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4158 * progmodes/ada-mode.el (ada-mode-errors):
4159 * play/life.el (life-extinct):
4160 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4161 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4162 * nxml/rng-util.el (rng-error):
4163 * nxml/rng-uri.el (rng-uri-error):
4164 * nxml/rng-match.el (rng-compile-error):
4165 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4166 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4167 * nxml/nxml-rap.el (nxml-scan-error):
4168 * nxml/nxml-outln.el (nxml-outline-error):
4169 * net/soap-client.el (soap-error):
4170 * net/gnutls.el (gnutls-error):
4171 * net/ange-ftp.el (ftp-error):
4172 * mpc.el (mpc-proc-error):
4173 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4174 (json-number-format, json-string-escape, json-string-format)
4175 (json-key-format, json-object-format):
4176 * jka-compr.el (compression-error):
4177 * international/quail.el (quail-error):
4178 * international/kkc.el (kkc-error):
4179 * emacs-lisp/ert.el (ert-test-failed):
4180 * calc/calc.el (calc-error, inexact-result, math-overflow)
4181 (math-underflow):
4182 * bookmark.el (bookmark-error-no-filename):
4183 * epg.el (epg-error): Define with define-error.
4184
4185 * time.el (display-time-event-handler)
4186 (display-time-next-load-average): Don't call sit-for since it seems
4187 unnecessary (bug#15045).
4188
4189 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4190 Use #' instead of ' to quote functions.
4191 (checkdoc-output-mode): Use setq-local.
4192 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4193 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4194 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4195 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4196 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4197 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4198 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4199 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4200
4201 * ido.el (ido-completion-help): Fix up compiler warning.
4202
4203 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4204
4205 * frameset.el (frameset-p): Add autoload cookie.
4206 (frameset--jump-to-register): New function, based on code moved from
4207 register.el.
4208 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4209
4210 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4211 (frameset-restore, frameset-save, frameset-session-filter-alist):
4212 Remove declarations.
4213 (register-alist): Doc fix.
4214 (frameset-to-register): Move to frameset.el.
4215 (jump-to-register, describe-register-1): Remove frameset-specific code.
4216
4217 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4218
4219 * allout-widgets.el (allout-widgets-pre-command-business)
4220 (allout-widgets-post-command-business)
4221 (allout-widgets-after-change-handler)
4222 (allout-decorate-item-and-context, allout-set-boundary-marker)
4223 (allout-body-modification-handler)
4224 (allout-graphics-modification-handler): Mark ignored arguments.
4225 (allout-widgets-post-command-business)
4226 (allout-widgets-exposure-change-processor)
4227 (allout-widgets-exposure-undo-processor)
4228 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4229 (allout-parse-item-at-point, allout-decorate-item-guides)
4230 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4231 * allout.el (epa-passphrase-callback-function): Declare.
4232 (allout-overlay-insert-in-front-handler)
4233 (allout-overlay-interior-modification-handler)
4234 (allout-isearch-end-handler, allout-chart-siblings)
4235 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4236 (allout-yank-processing, allout-process-exposed)
4237 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4238 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4239 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4240 (lisp-indent-defform): Mark ignored arguments.
4241 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4242 (calculate-lisp-indent): Remove unused variables.
4243 * international/characters.el (indian-2-column, arabic-2-column)
4244 (tibetan): Mark ignored arguments.
4245 (use-cjk-char-width-table): Mark ignored arguments.
4246 Remove unused variables.
4247 * international/fontset.el (build-default-fontset-data)
4248 (x-compose-font-name, create-fontset-from-fontset-spec):
4249 Mark ignored arguments.
4250 (fontset-plain-name): Remove unused variables.
4251 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4252 (keyboard-coding-system): Mark ignored arguments.
4253 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4254 * help.el (resize-temp-buffer-window):
4255 * window.el (display-buffer-in-major-side-window)
4256 (display-buffer-in-side-window, display-buffer-in-previous-window):
4257 Remove unused variables.
4258 * isearch.el (isearch-forward-symbol):
4259 * version.el (emacs-bzr-version-bzr):
4260 * international/mule-cmds.el (current-language-environment):
4261 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4262 (x-handle-display):
4263 * term/pc-win.el (x-list-fonts, x-display-planes)
4264 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4265 (x-server-version, x-display-screens, x-display-mm-height)
4266 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4267 (x-selection-owner-p, x-own-selection-internal)
4268 (x-disown-selection-internal, x-get-selection-internal)
4269 (msdos-initialize-window-system):
4270 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4271 * term/x-win.el (x-handle-no-bitmap-icon):
4272 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4273 (vc-default-find-file-hook, vc-default-extra-menu):
4274 Mark ignored arguments.
4275
4276 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4277
4278 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4279 break-condition in the context of the debugged code (bug#12685).
4280
4281 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4282
4283 * comint.el:
4284 Do not use an overlay to highlight the last prompt. (Bug#14744)
4285 (comint-mode): Make comint-last-prompt buffer local.
4286 (comint-last-prompt): New variable.
4287 (comint-last-prompt-overlay): Remove. Superseded by
4288 comint-last-prompt.
4289 (comint-snapshot-last-prompt, comint-output-filter):
4290 Use comint-last-prompt.
4291
4292 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4293
4294 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4295 (frameset-save): Check validity of the resulting frameset.
4296
4297 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4298
4299 * ido.el (ido-record-command): Add doc string.
4300
4301 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4302
4303 * frameset.el (frameset): Do not disable creation of the default
4304 frameset-p predicate. Doc fix.
4305 (frameset-valid-p): New function, copied from the old predicate-p.
4306 Add additional checks.
4307 (frameset-restore): Check with frameset-valid-p.
4308 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4309 (frameset-name, frameset-description, frameset-properties)
4310 (frameset-states): Add docstring.
4311 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4312 (frameset-filter-alist): Doc fixes.
4313
4314 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4315
4316 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4317
4318 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4319
4320 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4321 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4322 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4323 (byte-compile-normal-call): Remove obsolescence check.
4324
4325 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4326
4327 * frameset.el (frameset-restore): Doc fix.
4328
4329 * register.el (frameset-frame-id, frameset-frame-with-id)
4330 (frameset-p, frameset-restore, frameset-save): Declare.
4331 (register-alist): Document framesets.
4332 (frameset-session-filter-alist): Declare.
4333 (frameset-to-register): New function.
4334 (jump-to-register): Implement jumping to framesets. Doc fix.
4335 (describe-register-1): Describe framesets.
4336
4337 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4338
4339 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4340
4341 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4342 Use lexical-binding.
4343
4344 * frameset.el (frameset): Use type vector, not list (incompatible
4345 change). Do not declare a new constructor, use the default one.
4346 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4347 `name' and `description', respectively, and add read-only slot
4348 `timestamp'. Doc fixes.
4349 (frameset-copy, frameset-persistent-filter-alist)
4350 (frameset-filter-alist, frameset-switch-to-gui-p)
4351 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4352 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4353 (frameset-filter-iconified, frameset-keep-original-display-p):
4354 Doc fixes.
4355 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4356 Rename from frameset-filter-(save|restore)-param. All callers changed.
4357 Doc fix.
4358 (frameset-p): Adapt to change to vector and be more thorough.
4359 Change arg name to OBJECT. Doc fix.
4360 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4361 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4362 All callers changed.
4363 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4364 All callers changed.
4365 (frameset--record-minibuffer-relationships): Rename from
4366 frameset--process-minibuffer-frames. All callers changed.
4367 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4368 Use new default constructor (again). Doc fix.
4369 (frameset--find-frame-if): Rename from `frameset--find-frame.
4370 All callers changed.
4371 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4372 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4373 Doc fix.
4374 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4375 PARAMETERS and WINDOW-STATE, respectively.
4376 (frameset-restore): Add new keyword argument PREDICATE.
4377 Reset frameset--target-display to nil. Doc fix.
4378
4379 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4380
4381 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4382 (bat-mode): Use it.
4383 (bat-mode-syntax-table): Mark \n as end-of-comment.
4384 (bat-font-lock-keywords): Remove comment rule.
4385
4386 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4387 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4388
4389 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4390 (byte-compile-callargs-warn): Use `push'.
4391 (byte-compile-arglist-warn): Ignore higher-order "calls".
4392 (byte-compile-file-form-autoload): Use `pcase'.
4393 (byte-compile-function-form): If quoting a symbol, check that it exists.
4394
4395 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4396
4397 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4398 and add a few popular commands found in batch files.
4399 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4400 (dos-mode): Doc fixes.
4401
4402 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4403
4404 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4405 (dos-mode): Use setq-local. Add space after "rem".
4406 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4407 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4408
4409 2013-08-07 Arni Magnusson <arnima@hafro.is>
4410
4411 * progmodes/dos.el: New file.
4412 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4413 dos-mode.
4414
4415 2013-08-06 Glenn Morris <rgm@gnu.org>
4416
4417 * calendar/calendar.el: Add new faces, and day-header-array.
4418 (calendar-weekday-header, calendar-weekend-header)
4419 (calendar-month-header): New faces.
4420 (calendar-day-header-construct): New function.
4421 (calendar-day-header-width): Also :set calendar-day-header-array.
4422 (calendar-american-month-header, calendar-european-month-header)
4423 (calendar-iso-month-header): Use calendar- faces.
4424 (calendar-generate-month):
4425 Use calendar-day-header-array for day headers; apply faces to them.
4426 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4427 (calendar-abbrev-construct): Add optional maxlen argument.
4428 (calendar-day-name-array): Doc fix.
4429 (calendar-day-name-array, calendar-abbrev-length)
4430 (calendar-day-abbrev-array):
4431 Also :set calendar-day-header-array, and maybe redraw.
4432 (calendar-day-header-array): New option. (Bug#15007)
4433 (calendar-font-lock-keywords): Set to nil and make obsolete.
4434 (calendar-day-name): Add option to use header array.
4435
4436 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4437
4438 * net/shr.el (shr-render-td): Remove debugging.
4439 (shr-render-td): Make width computation consistent by defaulting
4440 all zero-width columns to 10 characters. This may not be optimal,
4441 but it's at least consistent.
4442 (shr-make-table-1): Redo last change to fix the real problem in
4443 colspan handling.
4444
4445 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4446
4447 * files.el (cache-long-line-scans):
4448 Make obsolete alias to `cache-long-scans'.
4449
4450 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4451
4452 * frameset.el (frameset, frameset-filter-alist)
4453 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4454 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4455 (frameset-compute-pos): Rename from frameset--compute-pos,
4456 and add docstring.
4457 (frameset-move-onscreen): Use frameset-compute-pos.
4458 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4459
4460 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4461 Fix typos in docstrings.
4462
4463 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4464
4465 * frame.el (get-other-frame): Tiny cleanup.
4466
4467 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4468
4469 * vc/vc.el (vc-default-ignore-completion-table):
4470 Silence byte-compiler warning.
4471
4472 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4473 slot , which can indeed be nil.
4474 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4475 Move entry for `left' from persistent to live filter alist.
4476 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4477 Doc fixes.
4478 (frameset-filter-params): When restoring a frame, copy items added to
4479 `filtered', to avoid unwittingly modifying the original parameters.
4480 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4481 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4482
4483 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4484 to use looking-at-p instead of looking-at. (Bug#15028)
4485
4486 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4487
4488 Revert introduction of isearch-filter-predicates (bug#14714).
4489 Rely on add-function instead.
4490 * isearch.el (isearch-filter-predicates): Rename it back to
4491 isearch-filter-predicate.
4492 (isearch-message-prefix): Use advice-function-mapc and advice
4493 properties to get the isearch-message-prefix.
4494 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4495 instead of run-hook-with-args-until-failure.
4496 (isearch-filter-visible): Not obsolete any more.
4497 * loadup.el: Preload nadvice.
4498 * replace.el (perform-replace): Revert to funcall
4499 instead of run-hook-with-args-until-failure.
4500 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4501 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4502 dired-isearch-filenames-toggle; make it into a proper minor mode.
4503 Use add/remove-function.
4504 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4505 Call the minor-mode rather than add/remove-hook.
4506 (dired-isearch-filter-filenames):
4507 Remove isearch-message-prefix property.
4508 * info.el (Info--search-loop): New function, extracted from Info-search.
4509 Funcall isearch-filter-predicate instead of
4510 run-hook-with-args-until-failure isearch-filter-predicates.
4511 (Info-search): Use it.
4512 (Info-mode): Use isearch-filter-predicate instead of
4513 isearch-filter-predicates.
4514
4515 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4516
4517 Do not call to `selected-window' where it is assumed by default.
4518 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4519 `window-hscroll', `window-width', `window-height', `window-buffer',
4520 `window-frame', `window-start', `window-point', `next-window'
4521 and `window-display-table'.
4522 * abbrev.el (abbrev--default-expand):
4523 * bs.el (bs--show-with-configuration):
4524 * buff-menu.el (Buffer-menu-mouse-select):
4525 * calc/calc.el (calc):
4526 * calendar/calendar.el (calendar-generate-window):
4527 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4528 (diary-make-entry):
4529 * comint.el (send-invisible, comint-dynamic-complete-filename)
4530 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4531 * completion.el (complete):
4532 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4533 * disp-table.el (describe-current-display-table):
4534 * doc-view.el (doc-view-insert-image):
4535 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4536 * ehelp.el (with-electric-help):
4537 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4538 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4539 * emacs-lisp/helper.el (Helper-help-scroller):
4540 * emulation/cua-base.el (cua--post-command-handler-1):
4541 * eshell/esh-mode.el (eshell-output-filter):
4542 * ffap.el (ffap-gnus-wrapper):
4543 * help-macro.el (make-help-screen):
4544 * hilit-chg.el (highlight-compare-buffers):
4545 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4546 * hl-line.el (global-hl-line-highlight):
4547 * icomplete.el (icomplete-simple-completing-p):
4548 * isearch.el (isearch-done):
4549 * jit-lock.el (jit-lock-stealth-fontify):
4550 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4551 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4552 * mpc.el (mpc-tagbrowser, mpc):
4553 * net/rcirc.el (rcirc-any-buffer):
4554 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4555 * play/landmark.el (landmark-max-width, landmark-max-height):
4556 * play/zone.el (zone):
4557 * progmodes/compile.el (compilation-goto-locus):
4558 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4559 * progmodes/etags.el (find-tag-other-window):
4560 * progmodes/fortran.el (fortran-column-ruler):
4561 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4562 * progmodes/verilog-mode.el (verilog-point-text):
4563 * reposition.el (reposition-window):
4564 * rot13.el (toggle-rot13-mode):
4565 * server.el (server-switch-buffer):
4566 * shell.el (shell-dynamic-complete-command)
4567 (shell-dynamic-complete-environment-variable):
4568 * simple.el (insert-buffer, set-selective-display)
4569 (delete-completion-window):
4570 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4571 (speedbar-recenter):
4572 * startup.el (fancy-splash-head):
4573 * textmodes/ispell.el (ispell-command-loop):
4574 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4575 * tutorial.el (help-with-tutorial):
4576 * vc/add-log.el (add-change-log-entry):
4577 * vc/compare-w.el (compare-windows):
4578 * vc/ediff-help.el (ediff-indent-help-message):
4579 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4580 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4581 (ediff-setup-control-frame):
4582 * vc/emerge.el (emerge-position-region):
4583 * vc/pcvs-util.el (cvs-bury-buffer):
4584 * window.el (walk-windows, mouse-autoselect-window-select):
4585 * winner.el (winner-set-conf, winner-undo): Related users changed.
4586
4587 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4588
4589 * frameset.el (frameset--set-id): Doc fix.
4590 (frameset-frame-id, frameset-frame-id-equal-p)
4591 (frameset-locate-frame-id): New functions.
4592 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4593 (frameset-restore): Use them.
4594
4595 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4596
4597 Do not call to `selected-frame' where it is assumed by default.
4598 Affected functions are `raise-frame', `redraw-frame',
4599 `frame-first-window', `frame-terminal' and `delete-frame'.
4600 * calendar/appt.el (appt-disp-window):
4601 * epg.el (epg-wait-for-completion):
4602 * follow.el (follow-delete-other-windows-and-split)
4603 (follow-avoid-tail-recenter):
4604 * international/mule.el (set-terminal-coding-system):
4605 * mail/rmail.el (rmail-mail-return):
4606 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4607 * progmodes/f90.el (f90-add-imenu-menu):
4608 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4609 * server.el (server-switch-buffer):
4610 * simple.el (delete-completion-window):
4611 * talk.el (talk):
4612 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4613 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4614 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4615 * vc/ediff.el (ediff-documentation): Related users changed.
4616 * frame.el (selected-terminal): Remove the leftover.
4617
4618 2013-08-05 Glenn Morris <rgm@gnu.org>
4619
4620 * calendar/calendar.el (calendar-generate-month):
4621 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4622 (calendar-generate-month, calendar-font-lock-keywords):
4623 Fix for calendar-day-header-width > length of any day name.
4624
4625 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4626
4627 * desktop.el (desktop-clear): Use new name of sort predicate.
4628
4629 * frameset.el (frameset): Add docstring. Move :version property to its
4630 own `version' slot.
4631 (frameset-copy): Rename from copy-frameset.
4632 (frameset-p): Check more thoroughly.
4633 (frameset-prop): Do not check for :version, which is no longer a prop.
4634 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4635 Use new :never value instead of t.
4636 (frameset-filter-alist): Expand and clarify docstring.
4637 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4638 (frameset-filter-minibuffer, frameset-filter-save-param)
4639 (frameset-filter-restore-param, frameset-filter-iconified):
4640 Add pointer to docstring of frameset-filter-alist.
4641 (frameset-filter-params): Rename filter values to be more meaningful:
4642 :never instead of t, and reverse the meanings of :save and :restore.
4643 (frameset--process-minibuffer-frames): Clarify error message.
4644 (frameset-save): Avoid unnecessary and confusing call to framep.
4645 Use new BOA constructor for framesets.
4646 (frameset--reuse-list): Doc fix.
4647 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4648 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4649 (frameset-minibufferless-first-p): Doc fix.
4650 Rename from frameset-sort-frames-for-deletion.
4651 (frameset-restore): Doc fixes. Use new function names.
4652 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4653
4654 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4655
4656 * desktop.el (desktop-restore-forces-onscreen)
4657 (desktop-restore-reuses-frames): Document :keyword constant values.
4658 (desktop-filter-parameters-alist): Remove, now identical to
4659 frameset-filter-alist.
4660 (desktop--filter-tty*): Remove, moved to frameset.el.
4661 (desktop-save-frameset, desktop-restore-frameset):
4662 Do not pass :filters argument.
4663
4664 * frameset.el (frameset-live-filter-alist)
4665 (frameset-persistent-filter-alist): New variables.
4666 (frameset-filter-alist): Use them. Add autoload cookie.
4667 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4668 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4669 `frameset--id' (it's supposed to be internal to frameset.el).
4670 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4671 (frameset--initial-params): New function.
4672 (frameset--get-frame): Use it. Doc fix.
4673 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4674 Accept :all, not 'all.
4675 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4676 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4677 with fbound symbols. Fix frame id matching, and remove matching ids if
4678 the frame being restored is deleted. Obey :delete.
4679
4680 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4681
4682 * subr.el (macrop): New function.
4683 (text-clone--maintaining): New var.
4684 (text-clone--maintain): Rename from text-clone-maintain. Use it
4685 instead of inhibit-modification-hooks.
4686
4687 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4688 a proxy, so as handle autoloads and redefinitions of the target.
4689 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4690
4691 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4692 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4693 (pcase--mutually-exclusive-p): New function.
4694 (pcase--split-consp): Use it.
4695 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4696 mutually exclusive with the current predicate.
4697
4698 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4699 (edebug-macrop): Remove. Use `macrop' instead.
4700 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4701 (ad-macro-p):
4702 * eshell/esh-cmd.el (eshell-macrop):
4703 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4704
4705 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4706
4707 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4708 (advice-mapc): New function, using it.
4709 (advice-function-member-p): New function.
4710 (advice--normalize): Store the cdr in advice--saved-rewrite since
4711 that's the part that will be changed.
4712 (advice--symbol-function): New function.
4713 (advice-remove): Handle removal before the function is defined.
4714 Adjust to new advice--saved-rewrite.
4715 (advice-member-p): Use advice-function-member-p and
4716 advice--symbol-function.
4717
4718 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4719
4720 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4721 (frameset-filter-minibuffer): Doc fix.
4722 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4723 (frameset--set-id, frameset--process-minibuffer-frames)
4724 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4725 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4726
4727 * desktop.el (desktop-clear): Only delete frames when called
4728 interactively and desktop-restore-frames is non-nil. Doc fix.
4729 (desktop-read): Set desktop-saved-frameset to nil.
4730
4731 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4732
4733 * vc/vc.el (vc-ignore): Rewrite.
4734 (vc-default-ignore-completion-table):
4735 (vc--read-lines):
4736 (vc--add-line, vc--remove-regexp): New functions.
4737
4738 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4739 (vc-svn-ignore-completion-table): New function.
4740
4741 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4742 (vc-hg-ignore-completion-table):
4743 (vc-hg-find-ignore-file): New functions.
4744
4745 * vc/vc-git.el (vc-git-ignore): Rewrite.
4746 (vc-git-ignore-completion-table):
4747 (vc-git-find-ignore-file): New functions.
4748
4749 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4750
4751 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4752 (vc-bzr-ignore-completion-table):
4753 (vc-bzr-find-ignore-file): New functions.
4754
4755 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4756
4757 * frameset.el (frameset-prop): New function and setter.
4758 (frameset-save): Do not modify frame list passed by the caller.
4759
4760 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4761
4762 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4763
4764 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4765
4766 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4767 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4768
4769 * custom.el (custom-initialize-default, custom-initialize-set)
4770 (custom-initialize-reset, custom-initialize-changed): Affect the
4771 toplevel-default-value (bug#6275, bug#14586).
4772 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4773 for bug#6275.
4774
4775 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4776
4777 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4778 Add cl-def* expressions.
4779
4780 * frameset.el (frameset-filter-params): Fix order of arguments.
4781
4782 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4783
4784 Move code related to saving frames to frameset.el.
4785 * desktop.el: Require frameset.
4786 (desktop-restore-frames): Doc fix.
4787 (desktop-restore-reuses-frames): Rename from
4788 desktop-restoring-reuses-frames.
4789 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4790 (desktop-clear): Clear frames too.
4791 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4792 (desktop--filter-tty*, desktop-save, desktop-read):
4793 Use frameset functions.
4794 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4795 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4796 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4797 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4798 (desktop--process-minibuffer-frames, desktop-save-frames)
4799 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4800 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4801 (desktop--sort-states, desktop-restoring-frames-p)
4802 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4803 (desktop-restoring-frameset-p, desktop-restore-frameset)
4804 (desktop--check-dont-save, desktop-save-frameset): New functions.
4805 (desktop--app-id): New constant.
4806 (desktop-first-buffer, desktop-buffer-ok-count)
4807 (desktop-buffer-fail-count): Move before first use.
4808 * frameset.el: New file.
4809
4810 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4811
4812 * files.el: Use lexical-binding.
4813 (dir-locals-read-from-file): Remove unused `err' variable.
4814 (hack-dir-local-variables--warned-coding): New var.
4815 (hack-dir-local-variables): Use it to avoid repeated warnings.
4816 (make-backup-file-name--default-function): New function.
4817 (make-backup-file-name-function): Use it as default.
4818 (buffer-stale--default-function): New function.
4819 (buffer-stale-function): Use it as default.
4820 (revert-buffer-insert-file-contents--default-function): New function.
4821 (revert-buffer-insert-file-contents-function): Use it as default.
4822 (insert-directory): Avoid add-to-list.
4823
4824 * autorevert.el (auto-revert-handler): Simplify.
4825 Use buffer-stale--default-function.
4826
4827 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4828
4829 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4830
4831 * whitespace.el (whitespace-ensure-local-variables): New function.
4832 (whitespace-cleanup-region): Call it.
4833 (whitespace-turn-on): Call it.
4834
4835 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4836
4837 Complete file name handlers.
4838
4839 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4840 (tramp-handle-verify-visited-file-modtime)
4841 (tramp-handle-file-notify-rm-watch): New functions.
4842 (tramp-call-process): Do not bind `default-directory'.
4843
4844 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4845 Order alphabetically.
4846 [access-file, add-name-to-file, dired-call-process]:
4847 [dired-compress-file, file-acl, file-notify-rm-watch]:
4848 [file-ownership-preserved-p, file-selinux-context]:
4849 [make-directory-internal, make-symbolic-link, set-file-acl]:
4850 [set-file-selinux-context, set-visited-file-modtime]:
4851 [verify-visited-file-modtime]: Add handler.
4852 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4853
4854 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4855 [file-notify-add-watch, file-notify-rm-watch]:
4856 [set-file-times, set-visited-file-modtime]:
4857 [verify-visited-file-modtime]: Add handler.
4858 (with-tramp-gvfs-error-message)
4859 (tramp-gvfs-handle-set-visited-file-modtime)
4860 (tramp-gvfs-fuse-file-name): Remove.
4861 (tramp-gvfs-handle-file-notify-add-watch)
4862 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4863 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4864
4865 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4866 Order alphabetically.
4867 [file-notify-rm-watch ]: Use default Tramp handler.
4868 [executable-find]: Remove private handler.
4869 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4870 `default-directory'.
4871 (tramp-sh-handle-executable-find)
4872 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4873 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4874 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4875 Do not use `format' in `tramp-message'.
4876
4877 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4878 [file-notify-rm-watch, set-visited-file-modtime]:
4879 [verify-visited-file-modtime]: Add handler.
4880 (tramp-smb-call-winexe): Do not bind `default-directory'.
4881
4882 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4883
4884 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4885
4886 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4887
4888 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4889 use it.
4890 (log-view-diff-changeset): Same.
4891 (log-view-diff-common): Call backend command `previous-revision'
4892 to find out the previous revision, in both cases. Swap the
4893 variables `to' and `fr', so that `fr' usually refers to the
4894 earlier revision (Bug#14989).
4895
4896 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
4897
4898 * ibuf-ext.el (ibuffer-filter-by-filename):
4899 Make it work with dired buffers too.
4900
4901 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4902
4903 * emacs-lisp/re-builder.el (reb-color-display-p):
4904 * files.el (save-buffers-kill-terminal):
4905 * net/browse-url.el (browse-url):
4906 * server.el (server-save-buffers-kill-terminal):
4907 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4908 Prefer nil to selected-frame for the first arg of frame-parameter.
4909
4910 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4911
4912 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4913
4914 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
4915
4916 * minibuffer.el (completion--twq-all): Try and preserve each
4917 completion's case choice (bug#14907).
4918
4919 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4920
4921 * net/network-stream.el (open-network-stream): Mention the new
4922 :nogreeting parameter.
4923 (network-stream-open-starttls): Use the :nogreeting parameter
4924 (bug#14938).
4925
4926 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4927
4928 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4929 more natural than popping.
4930
4931 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4932 (shr-urlify): Highlight under mouse.
4933
4934 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4935
4936 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4937
4938 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4939
4940 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4941 buffer for output.
4942
4943 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4944 point-min==1. Fix search string. Fix parentheses missing.
4945
4946 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
4947 assume point-min==1. Fix search string. Fix parentheses missing.
4948
4949 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4950
4951 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4952 buffer for output.
4953
4954 2013-07-29 Eli Zaretskii <eliz@gnu.org>
4955
4956 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4957 initial frame is minibuffer-less. (Bug#14841)
4958
4959 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
4960
4961 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4962 option.
4963
4964 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4965 (tramp-maybe-open-connection): Use it.
4966
4967 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4968
4969 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4970 minimal set of parameters passed when creating a frame, because
4971 the minibuffer status of a frame cannot be changed later.
4972
4973 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
4974
4975 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4976 replace-regexp-in-string and inadvertent omissions in previous change.
4977 (todo-filter-items): Ensure only file names are comma-separated in
4978 name of filtered items buffer.
4979
4980 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4981
4982 * desktop.el: Optionally force offscreen frames back onscreen.
4983 (desktop-restoring-reuses-frames): New option.
4984 (desktop--compute-pos, desktop--move-onscreen): New functions.
4985 (desktop--make-frame): Use desktop--move-onscreen.
4986
4987 2013-07-27 Alan Mackenzie <acm@muc.de>
4988
4989 Fontify a Java generic method as a function.
4990 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4991 value to t.
4992
4993 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
4994
4995 * calendar/todo-mode.el: Add command to rename todo files.
4996 (todo-rename-file): New command.
4997 (todo-key-bindings-t): Add key binding for it. Change the
4998 bindings of todo-filter-regexp-items(-multifile) to use `x'
4999 instead of `r', since the latter is better suited to the new
5000 renaming command.
5001
5002 2013-07-27 Alan Mackenzie <acm@muc.de>
5003
5004 Make Java try-with-resources statement parse properly.
5005 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5006 (c-block-stmt-1-2-key): New language constants/variables.
5007 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5008 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5009 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5010 with c-block-stmt-1-2-key.
5011
5012 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5013
5014 * desktop.el (desktop--make-frame): Apply most frame parameters after
5015 creating the frame to force (partially or totally) offscreen frames to
5016 be restored as such.
5017
5018 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5019
5020 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5021 (Bug#14948)
5022
5023 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5024
5025 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5026 `base' arg of backtrace-frame.
5027
5028 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5029
5030 * simple.el (list-processes): Doc fix.
5031
5032 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5033
5034 * desktop.el (desktop--select-frame):
5035 Try harder to reuse existing frames.
5036
5037 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5038
5039 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5040 (edebug-eval): Use backtrace-eval.
5041 (edebug--display, edebug--recursive-edit): Don't let-bind the
5042 edebug-outer-* vars that keep track of variables we locally let-bind.
5043 (edebug-outside-excursion): Don't restore outside values of locally
5044 let-bound vars.
5045 (edebug--display): Use user-error.
5046 (cl-lexical-debug, cl-debug-env): Remove.
5047
5048 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5049
5050 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5051 are restored to be sure that they are visible before deleting any
5052 remaining ones.
5053
5054 2013-07-26 Matthias Meulien <orontee@gmail.com>
5055
5056 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5057 vc-print-root-log. (Bug#14948)
5058
5059 2013-07-26 Richard Stallman <rms@gnu.org>
5060
5061 Add aliases for encrypting mail.
5062 * epa.el (epa-mail-aliases): New option.
5063 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5064 Bind inhibit-read-only so read-only text doesn't ruin everything.
5065 (epa-mail-default-recipients): New subroutine broken out.
5066 Handle epa-mail-aliases.
5067
5068 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5069
5070 Add support for lexical variables to the debugger's `e' command.
5071 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5072 vars, except for debugger-outer-match-data.
5073 (debugger-frame-number): Move check for "on a function call" from
5074 callers into it. Add `skip-base' argument.
5075 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5076 (debugger-env-macro): Only reset the state stored in non-variables,
5077 i.e. current-buffer and match-data.
5078 (debugger-eval-expression): Rewrite using backtrace-eval.
5079 * subr.el (internal--called-interactively-p--get-frame): Remove.
5080 (called-interactively-p):
5081 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5082 `base' arg of backtrace-frame instead.
5083
5084 2013-07-26 Glenn Morris <rgm@gnu.org>
5085
5086 * align.el (align-regexp): Doc fix. (Bug#14857)
5087 (align-region): Explicit error if subexpression missing/does not match.
5088
5089 * simple.el (global-visual-line-mode):
5090 Do not duplicate the mode lighter. (Bug#14858)
5091
5092 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5093
5094 * window.el (display-buffer): In display-buffer bind
5095 split-window-keep-point to t, bug#14829.
5096
5097 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5098
5099 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5100 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5101 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5102 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5103 Change accordingly.
5104 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5105 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5106
5107 2013-07-25 Glenn Morris <rgm@gnu.org>
5108
5109 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5110
5111 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5112
5113 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5114 parameter to modify-frame-parameters if the value has not changed;
5115 this is a workaround for bug#14949.
5116 (desktop--make-frame): On cl-delete-if call, check parameter name,
5117 not full parameter.
5118
5119 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5120
5121 * vc/vc.el (vc-ignore): New function.
5122
5123 * vc/vc-svn.el (vc-svn-ignore): New function.
5124
5125 * vc/vc-hg.el (vc-hg-ignore): New function.
5126
5127 * vc/vc-git.el (vc-git-ignore): New function.
5128
5129 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5130 (vc-dir-ignore): New function.
5131
5132 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5133 (cvs-append-to-ignore): Move here from pcvs.el.
5134
5135 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5136
5137 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5138
5139 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5140
5141 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5142 (desktop-restore-frames): Warn when deleting an existing frame failed.
5143
5144 2013-07-24 Glenn Morris <rgm@gnu.org>
5145
5146 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5147
5148 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5149
5150 * filenotify.el (file-notify-supported-p):
5151 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5152 Remove functions.
5153
5154 * autorevert.el (auto-revert-use-notify):
5155 (auto-revert-notify-add-watch):
5156 * net/tramp.el (tramp-file-name-for-operation):
5157 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5158 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5159 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5160 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5161 Remove `file-notify-supported-p' entry.
5162
5163 2013-07-24 Glenn Morris <rgm@gnu.org>
5164
5165 * printing.el: Replace all uses of deleted ps-windows-system,
5166 ps-lp-system, ps-flatten-list with lpr- versions.
5167
5168 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5169
5170 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5171 checked with memq (bug#14935).
5172
5173 * files.el (revert-buffer-function): Use a non-nil default.
5174 (revert-buffer-preserve-modes): Declare var to
5175 provide access to the `preserve-modes' argument.
5176 (revert-buffer): Let-bind it.
5177 (revert-buffer--default): New function, extracted from revert-buffer.
5178
5179 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5180
5181 * lpr.el: Signal print errors more prominently.
5182 (print-region-function): Don't default to nil.
5183 (lpr-print-region): New function, extracted from print-region-1.
5184 Check lpr's return value and signal an error in case of problem.
5185 (print-region-1): Use it.
5186 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5187 versions instead.
5188 (ps-printer-name): Default to nil.
5189 (ps-printer-name-option): Default to lpr-printer-switch.
5190 (ps-print-region-function): Don't default to nil.
5191 (ps-postscript-code-directory): Simplify default.
5192 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5193 (ps-string-list, ps-eval-switch, ps-flatten-list)
5194 (ps-flatten-list-1): Remove.
5195 (ps-multibyte-buffer): Avoid setq.
5196 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5197 (print-region-function, ps-print-region-function): Don't set them here.
5198
5199 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5200
5201 * ido.el (ido-fractionp):
5202 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5203 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5204 (ido-max-directory-size, ido-max-dir-file-cache)
5205 (ido-decorations): Doc fix.
5206
5207 * ansi-color.el: Fix old URL.
5208
5209 2013-07-23 Michael R. Mauger <michael@mauger.com>
5210
5211 * progmodes/sql.el: Version 3.3
5212 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5213 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5214 (sql-interactive-remove-continuation-prompt): Rewrite, use
5215 functions above. Fix continuation prompt and complete output line
5216 handling.
5217 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5218 redirected output buffer.
5219 (sql-mode): Restore deleted code (Bug#13591).
5220
5221 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5222
5223 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5224
5225 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5226
5227 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5228
5229 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5230 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5231 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5232
5233 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5234
5235 * desktop.el (desktop-clear): Simplify; remove useless checks
5236 against invalid buffer names.
5237 (desktop-list*): Use cl-list*.
5238 (desktop-buffer-info, desktop-create-buffer): Simplify.
5239
5240 2013-07-23 Leo Liu <sdl.web@gmail.com>
5241
5242 * bookmark.el (bookmark-make-record): Restore NAME as a default
5243 value. (Bug#14933)
5244
5245 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5246
5247 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5248 extracted from autoload--insert-text.
5249 (autoload--insert-text): Remove.
5250 (autoload--print-cookie-text): New function, extracted from
5251 autoload--insert-cookie-text.
5252 (autoload--insert-cookie-text): Remove.
5253 (autoload-generate-file-autoloads): Adjust calls accordingly.
5254
5255 * winner.el (winner-hook-installed-p): Remove.
5256 (winner-mode): Simplify accordingly.
5257
5258 * subr.el (add-to-list): Fix compiler-macro when `append' is
5259 not constant. Don't use `cl-member' for the base case.
5260
5261 * progmodes/subword.el: Fix boundary case (bug#13758).
5262 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5263 own group.
5264 (subword-backward-regexp): Make it a constant.
5265 (subword-forward-internal): Don't treat a trailing capital as the
5266 beginning of a word.
5267
5268 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5269
5270 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5271 global value of tabulated-list-revert-hook (bug#14930).
5272
5273 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5274
5275 * desktop.el: Require 'cl-lib.
5276 (desktop-before-saving-frames-functions): New hook.
5277 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5278 for frames being saved. Rename from desktop--save-minibuffer-frames.
5279 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5280 Do not save frames with non-nil `desktop-dont-save' parameter.
5281 Filter out deleted frames.
5282 (desktop--find-frame): Use cl-find-if.
5283 (desktop--select-frame): Use cl-(first|second|third) to access values
5284 of desktop-mini.
5285 (desktop--make-frame): Use cl-delete-if.
5286 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5287 (desktop-restore-frames): Use cl-(first|second|third) to access values
5288 of desktop-mini. Look for visible frame at the end, not while
5289 restoring frames.
5290
5291 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5292 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5293 Use string-match-p, looking-at-p (bug#14927).
5294
5295 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5296
5297 * desktop.el (desktop-saved-frame-states):
5298 Rename from desktop--saved-states; all users changed.
5299 (desktop-save-frames): Rename from desktop--save-frames.
5300 Do not save state to desktop file.
5301 (desktop-save): Save desktop-saved-frame-states to desktop file
5302 and reset to nil.
5303 (desktop-restoring-frames-p): New function.
5304 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5305 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5306 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5307
5308 * desktop.el: Correctly restore iconified frames.
5309 (desktop--filter-iconified-position): New function.
5310 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5311
5312 2013-07-20 Glenn Morris <rgm@gnu.org>
5313
5314 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5315 Let `message' do the formatting.
5316 (def-gdb-preempt-display-buffer): Add explicit format.
5317
5318 * image-dired.el (image-dired-track-original-file):
5319 Use with-current-buffer.
5320 (image-dired-track-thumbnail): Use with-current-buffer.
5321 Avoid changing point of wrong window.
5322
5323 * image-dired.el (image-dired-track-original-file):
5324 Avoid changing point of wrong window. (Bug#14909)
5325
5326 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5327
5328 * progmodes/gdb-mi.el (gdb-done-or-error):
5329 Guard against "%" in gdb output. (Bug#14127)
5330
5331 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5332
5333 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5334 (Bug#14826)
5335
5336 * international/mule.el (coding-system-iso-2022-flags): Fix last
5337 change.
5338
5339 2013-07-20 Kenichi Handa <handa@gnu.org>
5340
5341 * international/mule.el (coding-system-iso-2022-flags):
5342 Add `8-bit-level-4'. (Bug#8522)
5343
5344 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5345
5346 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5347 (bug#14815).
5348
5349 * net/eww.el (eww-process-text-input): Allow inputting when the
5350 point is at the start of the line, as the properties aren't
5351 front-sticky.
5352
5353 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5354 degenerate widths.
5355
5356 2013-07-19 Richard Stallman <rms@gnu.org>
5357
5358 * epa.el (epa-popup-info-window): Doc fix.
5359
5360 * subr.el (split-string): New arg TRIM.
5361
5362 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5363
5364 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5365 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5366
5367 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5368
5369 * filenotify.el (file-notify--library): Rename from
5370 `file-notify-support'. Do not autoload. Adapt all uses.
5371 (file-notify-supported-p): New defun.
5372
5373 * autorevert.el (auto-revert-use-notify):
5374 Use `file-notify-supported-p' instead of `file-notify-support'.
5375 Adapt docstring.
5376 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5377
5378 * net/tramp.el (tramp-file-name-for-operation):
5379 Add `file-notify-supported-p'.
5380
5381 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5382 New defun.
5383 (tramp-sh-file-name-handler-alist): Add it as handler for
5384 `file-notify-supported-p '.
5385
5386 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5387 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5388 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5389 Add `ignore' as handler for `file-notify-*' functions.
5390
5391 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5392
5393 * simple.el (line-move-partial, line-move): Don't start vscroll or
5394 scroll-up if the current line is not taller than the window.
5395 (Bug#14881)
5396
5397 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5398
5399 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5400 highlight question marks in the method names as strings.
5401 (ruby-block-beg-keywords): Inline.
5402 (ruby-font-lock-keyword-beg-re): Extract from
5403 `ruby-font-lock-keywords'.
5404
5405 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5406
5407 * frame.el (blink-cursor-blinks): New defcustom.
5408 (blink-cursor-blinks-done): New defvar.
5409 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5410 (blink-cursor-timer-function): Check if number of blinks has been
5411 done on X and NS.
5412 (blink-cursor-suspend, blink-cursor-check): New defuns.
5413
5414 2013-07-15 Glenn Morris <rgm@gnu.org>
5415
5416 * edmacro.el (edmacro-format-keys): Fix previous change.
5417
5418 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5419
5420 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5421 The hack didn't work outside English locales anyway.
5422
5423 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5424
5425 * simple.el (define-alternatives): Rename from alternatives-define,
5426 per RMS' suggestion.
5427
5428 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5429
5430 * desktop.el (desktop-restore-frames): Change default to t.
5431 (desktop-restore-in-current-display): Now offer more options.
5432 (desktop-restoring-reuses-frames): New customization option.
5433 (desktop--saved-states): Doc fix.
5434 (desktop-filter-parameters-alist): New variable, renamed and expanded
5435 from desktop--excluded-frame-parameters.
5436 (desktop--target-display): New variable.
5437 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5438 (desktop--filter-tty*, desktop--filter-*-color)
5439 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5440 (desktop--filter-save-desktop-parm)
5441 (desktop-restore-in-original-display-p): New functions.
5442 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5443 (desktop--save-minibuffer-frames): New function, inspired by a similar
5444 function from Martin Rudalics.
5445 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5446 (desktop--restore-in-this-display-p): Remove.
5447 (desktop--find-frame): Rename from desktop--find-frame-in-display
5448 and add predicate argument.
5449 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5450 (desktop--reuse-list): New variable.
5451 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5452 New functions.
5453 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5454
5455 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5456
5457 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5458
5459 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5460
5461 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5462 Highlight conversion methods on Kernel.
5463
5464 2013-07-13 Alan Mackenzie <acm@muc.de>
5465
5466 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5467 and comment it out. This out-commenting enables certain C++
5468 declarations to be parsed correctly.
5469
5470 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5471
5472 * international/mule.el (define-coding-system): Doc fix.
5473
5474 * simple.el (default-font-height): Don't call font-info if the
5475 frame's default font didn't change since the frame was created.
5476 (Bug#14838)
5477
5478 2013-07-13 Leo Liu <sdl.web@gmail.com>
5479
5480 * ido.el (ido-read-file-name): Guard against non-symbol value.
5481
5482 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5483
5484 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5485 in nested defuns.
5486
5487 2013-07-13 Leo Liu <sdl.web@gmail.com>
5488
5489 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5490 ido-set-matches call. (Bug#6852)
5491
5492 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5493
5494 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5495 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5496 Ruby 2.0.
5497 (ruby-font-lock-keywords): Distinguish calls to functions with
5498 module-like names from module references. Highlight character
5499 literals.
5500
5501 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5502
5503 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5504 (gdb-send): Handle continued commands. (Bug#14847)
5505
5506 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5507
5508 * desktop.el (desktop--v2s): Remove unused local variable.
5509 (desktop-save-buffer): Make defvar-local; adjust docstring.
5510 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5511 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5512
5513 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5514
5515 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5516
5517 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5518
5519 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5520 (Bug#14842)
5521
5522 2013-07-12 Glenn Morris <rgm@gnu.org>
5523
5524 * doc-view.el: Require cl-lib at runtime too.
5525 (doc-view-remove-if): Remove.
5526 (doc-view-search-next-match, doc-view-search-previous-match):
5527 Use cl-remove-if.
5528
5529 * edmacro.el: Require cl-lib at runtime too.
5530 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5531 (edmacro-mismatch, edmacro-subseq): Remove.
5532
5533 * shadowfile.el: Require cl-lib.
5534 (shadow-remove-if): Remove.
5535 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5536 Use cl-remove-if.
5537
5538 * wid-edit.el: Require cl-lib.
5539 (widget-choose): Use cl-remove-if.
5540 (widget-remove-if): Remove.
5541
5542 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5543 (ebrowse-delete-if-not): Remove.
5544 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5545 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5546 Use cl-delete-if-not.
5547
5548 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5549
5550 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5551 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5552
5553 2013-07-12 Leo Liu <sdl.web@gmail.com>
5554
5555 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5556
5557 2013-07-11 Glenn Morris <rgm@gnu.org>
5558
5559 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5560 (edebug-gensym-index, edebug-gensym):
5561 Remove reimplementation of cl-gensym.
5562 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5563
5564 * thumbs.el: Require cl-lib at run-time too.
5565 (thumbs-gensym-counter, thumbs-gensym):
5566 Remove reimplementation of cl-gensym.
5567 (thumbs-temp-file): Use cl-gensym.
5568
5569 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5570 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5571 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5572 (ert--union, ert--gensym-counter, ert--gensym-counter)
5573 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5574 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5575 (ert-make-test-unbound, ert--expand-should-1)
5576 (ert--expand-should, ert--should-error-handle-error)
5577 (should-error, ert--explain-equal-rec)
5578 (ert--plist-difference-explanation, ert-select-tests)
5579 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5580 Use cl-lib functions rather than reimplementations.
5581
5582 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5583
5584 * net/tramp.el (tramp-methods): Extend docstring.
5585 (tramp-connection-timeout): New defcustom.
5586 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5587 (with-tramp-progress-reporter): Simplify.
5588 (tramp-process-actions): Improve messages.
5589
5590 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5591 * net/tramp-sh.el (tramp-maybe-open-connection):
5592 Use `tramp-connection-timeout'.
5593 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5594 (Bug#14808)
5595
5596 2013-07-11 Leo Liu <sdl.web@gmail.com>
5597
5598 * ido.el (ido-read-file-name): Conform to the requirements of
5599 read-file-name. (Bug#11861)
5600 (ido-read-directory-name): Conform to the requirements of
5601 read-directory-name.
5602
5603 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5604
5605 * subr.el (delay-warning): New function.
5606
5607 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5608
5609 * simple.el (default-line-height): New function.
5610 (line-move-partial, line-move): Use it instead of computing the
5611 line height inline.
5612 (line-move-partial): Always compute ROWH. If the last line is
5613 partially-visible, but its text is completely visible, allow
5614 cursor to enter such a partially-visible line.
5615
5616 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5617
5618 Improve error messages. (Bug#14808)
5619
5620 * net/tramp.el (tramp-current-connection): New defvar, moved from
5621 tramp-sh.el.
5622 (tramp-message-show-progress-reporter-message): Remove, not
5623 needed anymore.
5624 (tramp-error-with-buffer): Show message in minibuffer.
5625 Discard input before waiting. Reset connection timestamp.
5626 (with-tramp-progress-reporter): Improve messages.
5627 (tramp-process-actions): Use progress reporter. Delete process in
5628 case of error. Improve messages.
5629
5630 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5631 Call `tramp-error-with-buffer' with vector and buffer.
5632 (tramp-current-connection): Remove.
5633 (tramp-maybe-open-connection): The car of
5634 `tramp-current-connection' are the first 3 slots of the vector.
5635
5636 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5637
5638 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5639 inside continued strings.
5640
5641 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5642
5643 Timestamp fixes for undo (Bug#14824).
5644 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5645
5646 2013-07-10 Leo Liu <sdl.web@gmail.com>
5647
5648 * files.el (require-final-newline): Allow safe local value.
5649 (Bug#14834)
5650
5651 2013-07-09 Leo Liu <sdl.web@gmail.com>
5652
5653 * ido.el (ido-read-directory-name): Handle fallback.
5654 (ido-read-file-name): Update DIR to ido-current-directory.
5655 (Bug#1516)
5656 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5657
5658 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5659
5660 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5661 "autoload". Remove "warn lower camel case" section, previously
5662 commented out. Highlight negation char. Do not highlight the
5663 target in singleton method definitions.
5664
5665 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5666
5667 * faces.el (tty-setup-hook): Declare the hook.
5668
5669 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5670 and detect when a guard/pred depends on local vars (bug#14773).
5671 (pcase--u1): Adjust caller.
5672
5673 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5674
5675 * simple.el (line-move-partial, line-move): Account for
5676 line-spacing.
5677 (line-move-partial): Avoid setting vscroll when the last
5678 partially-visible line in window is of default height.
5679
5680 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5681
5682 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5683 been used a while.
5684
5685 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5686
5687 * subr.el (read-quoted-char): Remove unused local variable `char'.
5688
5689 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5690
5691 * ediff.el (ediff-version): Version update.
5692 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5693 (ediff-merge-with-ancestor-command, ediff-directories-command)
5694 (ediff-directories3-command, ediff-merge-directories-command)
5695 (ediff-merge-directories-with-ancestor-command): New functions.
5696 All are command-line interfaces to ediff: to facilitate calling
5697 Emacs with the appropriate ediff functions invoked.
5698
5699 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5700 (viper-save-kill-buffer): Check if buffer is modified.
5701
5702 * viper.el (viper-version): Version update.
5703 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5704
5705 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5706
5707 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5708 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5709 (viper-intercept-ESC-key): Simplify.
5710 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5711 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5712 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5713 (viper-setup-ESC-to-escape): New functions.
5714 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5715 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5716
5717 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5718
5719 * simple.el (default-font-height, window-screen-lines):
5720 New functions.
5721 (line-move, line-move-partial): Use them instead of
5722 frame-char-height and window-text-height. This makes scrolling
5723 text smoother when the buffer's default face uses a font that is
5724 different from the frame's default font.
5725
5726 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5727
5728 * files.el (write-file): Do not display confirm dialog for NS,
5729 it does its own dialog, which can't be cancelled (Bug#14578).
5730
5731 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5732
5733 * simple.el (line-move-partial): Adjust the row returned by
5734 posn-at-point for the current window-vscroll. (Bug#14567)
5735
5736 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5737
5738 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5739 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5740 spaces.
5741
5742 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5743
5744 * window.el (window-state-put-stale-windows): New variable.
5745 (window--state-put-2): Save list of windows without matching buffer.
5746 (window-state-put): Remove "bufferless" windows if possible.
5747
5748 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5749
5750 * simple.el (alternatives-define): Remove leftover :group keyword.
5751 Tweak docstring.
5752
5753 2013-07-06 Leo Liu <sdl.web@gmail.com>
5754
5755 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5756 (ido-enable-virtual-buffers): New variable.
5757 (ido-buffer-internal, ido-toggle-virtual-buffers)
5758 (ido-make-buffer-list): Use it.
5759 (ido-exhibit): Support turning on and off virtual buffers
5760 automatically.
5761
5762 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5763
5764 * simple.el (alternatives-define): New macro.
5765
5766 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5767
5768 * subr.el (read-quoted-char): Use read-key.
5769 (sit-for): Let read-event decode tty input (bug#14782).
5770
5771 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5772
5773 * calendar/todo-mode.el: Add handling of file deletion, both by
5774 mode command and externally. Fix various related bugs.
5775 Clarify Commentary and improve some documentation strings and code.
5776 (todo-delete-file): New command.
5777 (todo-check-file): New function.
5778 (todo-show): Handle external deletion of the file we're trying to
5779 show (bug#14688). Replace called-interactively-p by an optional
5780 prefix argument to avoid problematic interaction with catch form
5781 when byte compiled (bug#14702).
5782 (todo-quit): Handle external deletion of the archive's todo file.
5783 Make sure the buffer that was visiting the archive file is still
5784 live before trying to bury it.
5785 (todo-category-completions): Handle external deletion of any
5786 category completion files.
5787 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5788 of todo files, in case of external deletion.
5789 (todo-add-file): Replace unnecessary setq by let-binding.
5790 (todo-find-archive): Check whether there are any archives.
5791 Replace unnecessary setq by let-binding.
5792 (todo-archive-done-item): Use find-file-noselect to get the
5793 archive buffer whether or not the archive already exists.
5794 Remove superfluous code. Use file size instead of buffer-file-name to
5795 check if the archive is new; if it is, update list of archives.
5796 (todo-default-todo-file): Allow nil to be a valid value for when
5797 there are no todo files.
5798 (todo-reevaluate-default-file-defcustom): Use corrected definition
5799 of todo-default-todo-file.
5800 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5801 (todo-delete-category, todo-show-categories-table)
5802 (todo-category-number): Clarify comment.
5803 (todo-filter-items): Clarify documentation string.
5804 (todo-show-current-file, todo-display-as-todo-file)
5805 (todo-reset-and-enable-done-separator): Tweak documentation string.
5806 (todo-done-separator): Make separator length window-width, since
5807 bug#2749 is now fixed.
5808
5809 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5810
5811 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5812 Support both "gvfs-monitor-dir" and "inotifywait".
5813 (tramp-sh-file-inotifywait-process-filter): Rename from
5814 `tramp-sh-file-notify-process-filter'.
5815 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5816 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5817
5818 2013-07-05 Leo Liu <sdl.web@gmail.com>
5819
5820 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5821
5822 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5823
5824 * frame.el (display-pixel-height, display-pixel-width)
5825 (display-mm-height, display-mm-width): Mention behavior on
5826 multi-monitor setups in docstrings.
5827 (w32-display-monitor-attributes-list): Declare function.
5828 (display-monitor-attributes-list): Use it.
5829
5830 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5831
5832 * filenotify.el: New package.
5833
5834 * autorevert.el (top): Require filenotify.el.
5835 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5836 instead.
5837 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5838 (auto-revert-notify-handler): Use `file-notify-*' functions.
5839
5840 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5841
5842 * net/tramp.el (tramp-file-name-for-operation):
5843 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5844
5845 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5846 for `file-notify-add-watch' and `file-notify-rm-watch'.
5847 (tramp-process-sentinel): Improve trace.
5848 (tramp-sh-handle-file-notify-add-watch)
5849 (tramp-sh-file-notify-process-filter)
5850 (tramp-sh-handle-file-notify-rm-watch)
5851 (tramp-get-remote-inotifywait): New defuns.
5852
5853 2013-07-03 Juri Linkov <juri@jurta.org>
5854
5855 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5856 call of `occur-read-primary-args' to interactive spec.
5857
5858 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5859 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5860
5861 2013-07-03 Matthias Meulien <orontee@gmail.com>
5862
5863 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5864 `Buffer-menu-multi-occur'. Add it to the menu.
5865 (Buffer-menu-mode): Document it in docstring.
5866 (Buffer-menu-multi-occur): New command. (Bug#14673)
5867
5868 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5869
5870 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5871 keywords and built-ins.
5872
5873 2013-07-03 Glenn Morris <rgm@gnu.org>
5874
5875 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5876
5877 Make info-xref checks case-sensitive by default
5878 * info.el (Info-find-node, Info-find-in-tag-table)
5879 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5880 Add option for exact case matching of nodes.
5881 * info-xref.el (info-xref): New custom group.
5882 (info-xref-case-fold): New option.
5883 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5884
5885 2013-07-03 Leo Liu <sdl.web@gmail.com>
5886
5887 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5888
5889 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5890
5891 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5892 middle of block statement initially, lower the depth. Remove
5893 FIXME comment, not longer valid. Remove middle of block statement
5894 detection, no need to do that anymore since we've been using
5895 `ruby-parse-region' here.
5896
5897 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5898
5899 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5900
5901 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5902
5903 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5904
5905 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
5906
5907 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5908 (desktop-restore-in-current-display): New customization option.
5909 (desktop--excluded-frame-parameters): Add `font'.
5910 (desktop--save-frames): Rename from desktop--save-windows.
5911 (desktop--restore-in-this-display-p): New function.
5912 (desktop--make-full-frame): Remove unwanted width/height from
5913 full(width|height) frames.
5914 (desktop--restore-frames): Rename from desktop--restore-windows.
5915 Obey desktop-restore-current-display. Do not delete old frames or
5916 select a new frame unless we were able to restore at least one frame.
5917
5918 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
5919
5920 * files.el (find-file-noselect): Simplify conditional expression.
5921
5922 * remember.el (remember-append-to-file):
5923 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5924
5925 Add `remember-notes' function to store random notes across Emacs
5926 restarts.
5927 * remember.el (remember-data-file): Add :set callback to affect
5928 notes buffer (if any).
5929 (remember-notes): New command.
5930 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5931 New defcustoms for the `remember-notes' function.
5932 (remember-notes-save-and-bury-buffer): New command.
5933 (remember-notes-mode-map): New variable.
5934 (remember-mode): New minor mode.
5935 (remember-notes--kill-buffer-query): New function.
5936 * startup.el (initial-buffer-choice): Add notes to custom type.
5937
5938 2013-06-30 Eli Zaretskii <eliz@gnu.org>
5939
5940 * bindings.el (right-char, left-char): Don't call sit-for, this is
5941 no longer needed. Use arithmetic comparison only for numerical
5942 arguments.
5943
5944 * international/mule-cmds.el (select-safe-coding-system):
5945 Handle the case of FROM being a string correctly. (Bug#14755)
5946
5947 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5948
5949 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5950 progression on degenerate tables.
5951 (shr-rescale-image): ImageMagick animated images currently don't work.
5952
5953 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
5954
5955 Some fixes and improvements for desktop frame restoration.
5956 It is still experimental and disabled by default.
5957 * desktop.el (desktop--save-windows): Put the selected frame at
5958 the head of the list.
5959 (desktop--make-full-frame): New function.
5960 (desktop--restore-windows): Try to re-select the frame that was
5961 selected upon saving. Do not abort if some frames fail to restore,
5962 just show an error message and continue. Set up maximized frames
5963 so they have default non-maximized dimensions.
5964
5965 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5966
5967 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5968 Don't start heredoc inside a string or comment.
5969
5970 2013-06-29 Eli Zaretskii <eliz@gnu.org>
5971
5972 * bindings.el (visual-order-cursor-movement): New defcustom.
5973 (right-char, left-char): Provide visual-order cursor motion by
5974 calling move-point-visually. Update the doc strings.
5975
5976 2013-06-28 Kenichi Handa <handa@gnu.org>
5977
5978 * international/mule.el (define-coding-system): New coding system
5979 properties :inhibit-null-byte-detection,
5980 :inhibit-iso-escape-detection, and :prefer-utf-8.
5981 (set-buffer-file-coding-system): If :charset-list property of
5982 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5983 appropriate for setting.
5984
5985 * international/mule-cmds.el (select-safe-coding-system):
5986 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5987 multibyte characters, return utf-8 (or one of its siblings).
5988
5989 * international/mule-conf.el (prefer-utf-8): New coding system.
5990 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5991 files.
5992
5993 2013-06-28 Ivan Kanis <ivan@kanis.fr>
5994
5995 * net/shr.el (shr-render-region): New function.
5996
5997 * net/eww.el: Autoload `eww-browse-url'.
5998
5999 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6000
6001 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6002 Adapt to `package-desc-version' being a list.
6003 Use `package--ac-desc-version' to retrieve version from a package
6004 archive element.
6005
6006 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6007
6008 New experimental feature to save&restore window and frame setup.
6009 * desktop.el (desktop-save-windows): New defcustom.
6010 (desktop--saved-states): New var.
6011 (desktop--excluded-frame-parameters): New defconst.
6012 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6013 (desktop--restore-windows, desktop--save-windows): New functions.
6014 (desktop-save): Call `desktop--save-windows'.
6015 (desktop-read): Call `desktop--restore-windows'.
6016
6017 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6018
6019 * net/shr.el (add-face-text-property): Remove compat definition.
6020
6021 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6022
6023 * info.el (Info-try-follow-nearest-node): Move search for footnote
6024 above search for node name to prevent missing a footnote (bug#14717).
6025
6026 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6027
6028 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6029
6030 2013-06-27 Leo Liu <sdl.web@gmail.com>
6031
6032 * net/eww.el (eww-read-bookmarks): Check file size.
6033
6034 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6035
6036 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6037 advice--pending if newdef is nil or an autoload (bug#13820).
6038 (advice-mapc): New function.
6039
6040 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6041
6042 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6043 probably.
6044 (eww-mode-map): Add a menu bar.
6045 (eww-add-bookmark): New command.
6046 (eww-bookmark-mode): New mode and commands.
6047 (eww-add-bookmark): Remove newlines from the title.
6048 (eww-bookmark-browse): Don't bug out if it's the only window.
6049
6050 2013-06-26 Glenn Morris <rgm@gnu.org>
6051
6052 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6053 (hfy-size): Handle ttys. (Bug#14668)
6054
6055 * info-xref.el: Update for Texinfo 5 change in *note format.
6056 (info-xref-node-re, info-xref-note-re): New constants.
6057 (info-xref-check-buffer): Use info-xref-note-re.
6058
6059 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6060
6061 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6062
6063 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6064 nil terminate the loop (bug#14718).
6065
6066 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6067
6068 * net/eww.el: Rework history traversal. When going forward/back,
6069 put these actions into the history, too, so that they can be
6070 replayed.
6071 (eww-render): Move the history reset to the correct buffer.
6072
6073 2013-06-25 Juri Linkov <juri@jurta.org>
6074
6075 * files-x.el (modify-dir-local-variable): Change the header comment
6076 in the file with directory local variables. (Bug#14692)
6077
6078 * files-x.el (read-file-local-variable-value): Add `default'.
6079 (Bug#14710)
6080
6081 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6082
6083 * net/eww.el (eww-make-unique-file-name): Create a unique file
6084 name before saving to entering `y' accidentally asynchronously.
6085
6086 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6087
6088 * net/eww.el (eww-download): New command and keystroke.
6089
6090 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6091
6092 * net/eww.el (eww-copy-page-url): Change name of command.
6093
6094 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6095 be more consistent with Info and dired.
6096
6097 * net/eww.el (eww-mode-map): Ditto.
6098
6099 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6100
6101 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6102 packages from archives.
6103 (package-archive-contents): Change format; include obsolete packages.
6104 (package-desc): Use `dir' to mark builtin packages.
6105 (package--from-builtin): Set the `dir' field to `builtin'.
6106 (generated-autoload-file, version-control): Declare.
6107 (package-compute-transaction): Change first arg and return value to be
6108 lists of package-descs. Adjust to new package-archive-contents format.
6109 (package--add-to-archive-contents): Adjust to new
6110 package-archive-contents format.
6111 (package-download-transaction): Arg is now a list of package-descs.
6112 (package-install): If `pkg' is a package name, pass it as
6113 a requirement, so it is subject to the usual (e.g. disabled) checks.
6114 (describe-package): Accept package-desc as well.
6115 (describe-package-1): Describe a specific package-desc. Add links to
6116 other package-descs for the same package name.
6117 (package-menu-describe-package): Pass the actual package-desc.
6118 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6119 works correctly.
6120 (package-desc-status): New function.
6121 (package-menu--refresh): New function, extracted
6122 from package-menu--generate.
6123 (package-menu--generate): Use it.
6124 (package-delete): Update package-alist.
6125 (package-menu-execute): Don't call package-initialize.
6126
6127 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6128 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6129 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6130 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6131 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6132 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6133
6134 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6135
6136 * window.el (window--state-get-1): Workaround for bug#14527.
6137 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6138
6139 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6140
6141 * net/eww.el (eww-back-url): Implement the history by stashing all
6142 the data into a list.
6143 (eww-forward-url): Allow going forward in the history, too.
6144
6145 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6146
6147 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6148 for values and use read--expression for expressions (bug#14710).
6149 (read-file-local-variable): Avoid setq.
6150 (read-file-local-variable-mode): Use minor-mode-list.
6151
6152 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6153
6154 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6155 for DOI URLs.
6156
6157 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6158
6159 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6160 Update imenu-support when dialect changes.
6161
6162 2013-06-25 Leo Liu <sdl.web@gmail.com>
6163
6164 * ido.el (ido-read-internal): Allow forward slash on windows.
6165
6166 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6167
6168 * net/eww.el (eww): Start of strings is \\`, not ^.
6169
6170 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6171
6172 * net/shr.el (shr-browse-url): Fix interactive spec.
6173
6174 * net/eww.el (eww): Add a trailing slash to domain names.
6175
6176 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6177
6178 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6179
6180 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6181
6182 * net/shr.el (shr-browse-url): Use an external browser if given a
6183 prefix.
6184
6185 * net/eww.el (eww-external-browser): Move to shr.
6186
6187 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6188
6189 * net/eww.el (eww): Work more correctly for file: URLs.
6190 (eww-detect-charset): Allow quoted charsets.
6191 (eww-yank-page-url): New command and keystroke.
6192
6193 2013-06-24 Daiki Ueno <ueno@gnu.org>
6194
6195 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6196 file name of gpg executable.
6197 (epg-context-program): New function.
6198 (epg-context-home-directory): New function.
6199 (epg-context-set-program): New function.
6200 (epg-context-set-home-directory): New function.
6201 (epg--start): Use `epg-context-program' instead of
6202 'epg-gpg-program'.
6203 (epg--list-keys-1): Likewise.
6204
6205 2013-06-24 Leo Liu <sdl.web@gmail.com>
6206
6207 * ido.el (ido-read-internal): Fix bug#14620.
6208
6209 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6210
6211 * faces.el (face-documentation): Simplify.
6212 (read-face-attribute, tty-find-type, x-resolve-font-name):
6213 Use `string-match-p'.
6214 (list-faces-display): Use `string-match-p'. Simplify.
6215 (face-spec-recalc): Check face to avoid face alias loops.
6216 (read-color): Use `string-match-p' and non-capturing parenthesis.
6217
6218 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6219
6220 * net/shr.el (shr-rescale-image): Use the new
6221 :max-width/:max-height functionality.
6222
6223 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6224
6225 * net/eww.el (eww-search-prefix): New variable.
6226 (eww): Use it.
6227 (eww-external-browser): New variable.
6228 (eww-mode-map): New keystroke.
6229 (eww-browse-with-external-browser): New command.
6230
6231 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6232
6233 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6234
6235 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6236 Don't skip aligning the next header field when padding is 0;
6237 otherwise, field width is not respected unless the title is as
6238 wide as the field.
6239
6240 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6241
6242 * emacs-lisp/package.el (package-el-version): Remove.
6243 (package-process-define-package): Fix inf-loop.
6244 (package-install): Allow symbols as arguments again.
6245
6246 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6247
6248 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6249 add some more keyword-like methods.
6250 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6251
6252 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6253
6254 * bs.el (bs-buffer-show-mark): Make defvar-local.
6255 (bs-mode): Use setq-local.
6256
6257 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6258 (emacs-lock--try-unlocking): Make defvar-local.
6259
6260 2013-06-22 Glenn Morris <rgm@gnu.org>
6261
6262 * play/cookie1.el (cookie-apropos): Minor simplification.
6263
6264 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6265
6266 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6267
6268 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6269 `regexp-opt', it breaks the build during dumping.
6270
6271 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6272
6273 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6274 Highlight keyword-like methods on Kernel and Module with
6275 font-lock-builtin-face.
6276 (auto-mode-alist): Consolidate different entries into one regexp
6277 and add more *file-s.
6278
6279 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6280
6281 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6282
6283 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6284 (diary-entry): Use it in the action of this button type instead of
6285 diary-goto-entry.
6286
6287 * calendar/todo-mode.el: New version.
6288 (todo-add-category): Append new category to end of file and give
6289 it the highest number, instead of putting it at the beginning and
6290 giving it 0. Incorporate noninteractive functionality.
6291 (todo-forward-category): Adapt to 1-based category numbering.
6292 Allow skipping over archived categories.
6293 (todo-backward-category): Derive from todo-forward-category.
6294 (todo-backward-item, todo-forward-item): Make noninteractive and
6295 delegate interactive part to new commands. Make sensitive to done items.
6296 (todo-categories): Make value an alist of category names and
6297 vectors of item counts.
6298 (todo-category-beg): Make a defconst.
6299 (todo-category-number): Use 1 instead of 0 as initial value.
6300 (todo-category-select): Make sensitive to overlays, optional item
6301 highlighting and done items.
6302 (todo-delete-item): Make sensitive to overlays and marked and done items.
6303 (todo-edit-item): Make sensitive to overlays and editing of
6304 date/time header optional. Add format checks.
6305 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6306 no-op if point is not on an item. Advertise using todo-edit-quit.
6307 (todo-edit-mode): Make sensitive to new format, font-locking, and
6308 multiple todo files.
6309 (todo-insert-item, todo-insert-item-here): Derive from
6310 todo-basic-insert-item and extend functionality.
6311 (todo-item-end, todo-item-start): Make sensitive to done items.
6312 (todo-item-string): Don't return text properties. Restore point.
6313 (todo-jump-to-category): Make sensitive to multiple todo files and
6314 todo archives. Use extended category completion.
6315 (todo-lower-item, todo-raise-item): Rename to *-priority and
6316 derive from todo-set-item-priority.
6317 (todo-mode): Derive from special-mode. Make sensitive to new
6318 format, font-locking and multiple todo files. Make read-only.
6319 (todo-mode-map): Don't suppress digit keys, so they can supply
6320 prefix arguments. Add many new key bindings.
6321 (todo-prefix): Insert as an overlay instead of file text.
6322 Change semantics from diary date expression to purely visual mark.
6323 (todo-print): Rename to todo-print-buffer. Make buffer display
6324 features printable. Remove option to restrict number of items
6325 printed. Add option to print to file.
6326 (todo-print-function): Rename to todo-print-buffer-function.
6327 (todo-quit): Extend to handle exiting new todo modes.
6328 (todo-remove-item): Make sensitive to overlays.
6329 (todo-save): Extend to buffers of filtered items.
6330 (todo-show): Make sensitive to done items, multiple todo files and
6331 new todo modes. Offer to convert legacy todo file before creating
6332 first new todo file.
6333 (todo-show-priorities): Rename to todo-top-priorities.
6334 Change semantics of value 0.
6335 (todo-top-priorities): Rename to todo-filter-top-priorities,
6336 derive from todo-filter-items and extend functionality.
6337 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6338 and extend functionality to other types of filtered items.
6339 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6340 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6341 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6342 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6343 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6344 (todo-edit-mode-hook, todo-entry-prefix-function)
6345 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6346 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6347 (todo-initials, todo-insert-threshold, todo-item-string-start)
6348 (todo-line-string, todo-menu, todo-mode-hook)
6349 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6350 (todo-print-priorities, todo-remove-separator)
6351 (todo-save-top-priorities-too, todo-string-count-lines)
6352 (todo-string-multiline-p, todo-time-string-format)
6353 (todo-tmp-buffer-name): Remove.
6354 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6355 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6356 (todo-edit-category-diary-inclusion)
6357 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6358 (todo-edit-file, todo-edit-item-date-day)
6359 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6360 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6361 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6362 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6363 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6364 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6365 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6366 (todo-filter-top-priorities-multifile, todo-find-archive)
6367 (todo-find-filtered-items-file, todo-go-to-source-item)
6368 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6369 (todo-jump-to-archive-category, todo-lower-category)
6370 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6371 (todo-move-category, todo-move-item, todo-next-button)
6372 (todo-next-item, todo-padded-string, todo-powerset)
6373 (todo-previous-button, todo-previous-item)
6374 (todo-print-buffer-to-file, todo-raise-category)
6375 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6376 (todo-set-category-number, todo-set-item-priority)
6377 (todo-set-top-priorities-in-category)
6378 (todo-set-top-priorities-in-file, todo-show-categories-table)
6379 (todo-sort-categories-alphabetically-or-numerically)
6380 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6381 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6382 (todo-toggle-item-header, todo-toggle-item-highlighting)
6383 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6384 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6385 (todo-unarchive-items, todo-unmark-category): New commands.
6386 (todo-absolute-file-name, todo-add-to-buffer-list)
6387 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6388 (todo-basic-insert-item, todo-category-completions)
6389 (todo-category-number, todo-category-string-matcher-1)
6390 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6391 (todo-check-format, todo-clear-matches)
6392 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6393 (todo-current-category, todo-date-string-matcher)
6394 (todo-define-insertion-command, todo-diary-expired-matcher)
6395 (todo-diary-goto-entry, todo-diary-item-p)
6396 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6397 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6398 (todo-done-item-section-p, todo-done-separator)
6399 (todo-done-string-matcher, todo-files, todo-filter-items)
6400 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6401 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6402 (todo-insert-category-line, todo-insert-item-from-calendar)
6403 (todo-insert-sort-button, todo-insert-with-overlays)
6404 (todo-insertion-command-name, todo-insertion-key-bindings)
6405 (todo-label-to-key, todo-longest-category-name-length)
6406 (todo-make-categories-list, todo-mode-external-set)
6407 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6408 (todo-modes-set-3, todo-multiple-filter-files)
6409 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6410 (todo-read-category, todo-read-date, todo-read-dayname)
6411 (todo-read-file-name, todo-read-time)
6412 (todo-reevaluate-category-completions-files-defcustom)
6413 (todo-reevaluate-default-file-defcustom)
6414 (todo-reevaluate-filelist-defcustoms)
6415 (todo-reevaluate-filter-files-defcustom)
6416 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6417 (todo-reset-done-separator, todo-reset-done-separator-string)
6418 (todo-reset-done-string, todo-reset-global-current-todo-file)
6419 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6420 (todo-reset-prefix, todo-set-categories)
6421 (todo-set-date-from-calendar, todo-set-show-current-file)
6422 (todo-set-top-priorities, todo-short-file-name)
6423 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6424 (todo-total-item-counts, todo-update-buffer-list)
6425 (todo-update-categories-display, todo-update-categories-sexp)
6426 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6427 New functions.
6428 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6429 New major modes.
6430 (todo-categories, todo-display, todo-edit, todo-faces)
6431 (todo-filtered): New defgroups.
6432 (todo-archived-only, todo-button, todo-category-string, todo-date)
6433 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6434 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6435 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6436 (todo-add-item-if-new-category, todo-always-add-time-string)
6437 (todo-categories-align, todo-categories-archived-label)
6438 (todo-categories-category-label, todo-categories-diary-label)
6439 (todo-categories-done-label, todo-categories-number-separator)
6440 (todo-categories-todo-label, todo-categories-totals-label)
6441 (todo-category-completions-files, todo-completion-ignore-case)
6442 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6443 (todo-done-separator-string, todo-done-string)
6444 (todo-files-function, todo-filter-done-items, todo-filter-files)
6445 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6446 (todo-initial-category, todo-initial-file, todo-item-mark)
6447 (todo-legacy-date-time-regexp, todo-mode-line-function)
6448 (todo-nondiary-marker, todo-number-prefix)
6449 (todo-print-buffer-function, todo-show-current-file)
6450 (todo-show-done-only, todo-show-first, todo-show-with-done)
6451 (todo-skip-archived-categories, todo-top-priorities-overrides)
6452 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6453 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6454 New defcustoms.
6455 (todo-category-done, todo-date-pattern, todo-date-string-start)
6456 (todo-diary-items-buffer, todo-done-string-start)
6457 (todo-filtered-items-buffer, todo-item-start)
6458 (todo-month-abbrev-array, todo-month-name-array)
6459 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6460 (todo-top-priorities-buffer): New defconsts.
6461 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6462 (todo-categories-with-marks, todo-category-string-face)
6463 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6464 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6465 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6466 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6467 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6468 (todo-font-lock-keywords, todo-global-current-todo-file)
6469 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6470 (todo-insertion-commands-args)
6471 (todo-insertion-commands-args-genlist)
6472 (todo-insertion-commands-names, todo-insertion-map)
6473 (todo-key-bindings-t, todo-key-bindings-t+a)
6474 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6475 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6476 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6477 (todo-visited): New variables.
6478
6479 2013-06-21 Glenn Morris <rgm@gnu.org>
6480
6481 * play/cookie1.el (cookie-apropos): Add optional display argument.
6482 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6483 (psychoanalyze-pinhead): Use cookie-doctor.
6484
6485 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6486
6487 * emacs-lisp/package.el (tar-get-file-descriptor)
6488 (tar--extract): Declare.
6489
6490 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6491
6492 Extend flymake's warning predicate to be a function (bug#14217).
6493 * progmodes/flymake.el (flymake-warning-predicate): New.
6494 (flymake-parse-line): Use it.
6495 (flymake-warning-re): Make obsolete alias to
6496 `flymake-warning-predicate'.
6497
6498 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6499
6500 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6501 (package-obsolete-list): Remove.
6502 (package-activate): Remove min-version argument. Add `force' argument.
6503 Adjust to new package-alist format.
6504 (package-mark-obsolete): Remove.
6505 (package-unpack): Force reload of the package's autoloads.
6506 (package-installed-p): Check builtins if the installed package is not
6507 recent enough.
6508 (package-initialize): Don't reset package-obsolete-list.
6509 Don't specify which package version to activate.
6510 (package-process-define-package, describe-package-1)
6511 (package-menu--generate): Adjust to new package-alist format.
6512
6513 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6514
6515 * allout-widgets.el (allout-widgets-mode-off)
6516 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6517 (allout-widgets-post-command-business)
6518 (allout-widgets-after-copy-or-kill-function)
6519 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6520 (allout-decorate-item-and-context)
6521 (allout-graphics-modification-handler): Fix typos in docstrings.
6522 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6523
6524 * cmuscheme.el (scheme-start-file): Doc fix.
6525 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6526 (scheme-input-filter): Use `string-match-p'.
6527
6528 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6529
6530 * dired-x.el: Use Dired consistently in docstrings.
6531
6532 * dired.el: Use Dired consistently in docstrings.
6533 (dired-readin, dired-mode): Use `setq-local'.
6534 (dired-switches-alist): Make defvar-local.
6535 (dired-buffers-for-dir): Use `zerop'.
6536 (dired-safe-switches-p, dired-switches-escape-p)
6537 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6538 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6539 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6540 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6541 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6542 (dired-toggle-marks, dired-mark-files-containing-regexp)
6543 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6544 (dired-flag-auto-save-files, dired-flag-backup-files):
6545 Use `looking-at-p'.
6546 (dired-mark-files-regexp, dired-build-subdir-alist):
6547 Use `string-match-p', `looking-at-p'.
6548
6549 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6550 (direct-print-region-helper): Use `string-match-p'.
6551
6552 2013-06-21 Leo Liu <sdl.web@gmail.com>
6553
6554 * comint.el (comint-redirect-results-list-from-process):
6555 Fix infinite loop.
6556
6557 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6558
6559 * net/eww.el (eww-update-header-line-format): Quote % characters.
6560
6561 2013-06-21 Glenn Morris <rgm@gnu.org>
6562
6563 * play/cookie1.el (cookie): New custom group.
6564 (cookie-file): New option.
6565 (cookie-check-file): New function.
6566 (cookie): Make it interactive. Make start and end messages optional.
6567 Interactively, display the result. Default to cookie-file.
6568 (cookie-insert): Default to cookie-file.
6569 (cookie-snarf): Make start and end messages optional.
6570 Default to cookie-file. Use with-temp-buffer.
6571 (cookie-read): Rename from read-cookie.
6572 Make start and end messages optional. Default to cookie-file.
6573 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6574 Do not autoload it.
6575 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6576 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6577
6578 2013-06-21 Leo Liu <sdl.web@gmail.com>
6579
6580 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6581
6582 2013-06-21 Glenn Morris <rgm@gnu.org>
6583
6584 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6585
6586 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6587 Daniel Hackney <dan@haxney.org>
6588
6589 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6590 Consolidate the single-file vs tarball code.
6591 (package-desc-suffix): New function.
6592 (package-desc-full-name): Don't bother inlining it.
6593 (package-load-descriptor): Return the new package-desc.
6594 (package-mark-obsolete): Remove unused arg `package'.
6595 (package-unpack): Make it work for single files as well.
6596 Make it update package-alist.
6597 (package--make-autoloads-and-stuff): Rename from
6598 package--make-autoloads-and-compile. Don't compile any more.
6599 (package--compile): New function.
6600 (package-generate-description-file): New function, extracted from
6601 package-unpack-single.
6602 (package-unpack-single): Remove.
6603 (package--with-work-buffer): Add indentation and debugging info.
6604 (package-download-single): Remove.
6605 (package-install-from-archive): Rename from package-download-tar, make
6606 it take a pkg-desc, and make it work for single files as well.
6607 (package-download-transaction): Simplify.
6608 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6609 external tar program.
6610 (package-install-from-buffer): Remove `pkg-desc' argument.
6611 Use package-tar-file-info for tar-mode buffers.
6612 (package-install-file): Simplify accordingly.
6613 (package-archive-base): Change to take a pkg-desc.
6614 * tar-mode.el (tar--check-descriptor): New function, extracted from
6615 tar-get-descriptor.
6616 (tar-get-descriptor): Use it.
6617 (tar-get-file-descriptor): New function.
6618 (tar--extract): New function, extracted from tar-extract.
6619 (tar--extract): Use it.
6620 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6621 case the summary uses non-ascii. Adjust to new calling convention of
6622 package-tar-file-info.
6623
6624 2013-06-21 Leo Liu <sdl.web@gmail.com>
6625
6626 * comint.el (comint-redirect-results-list-from-process):
6627 Fix random delay. (Bug#14681)
6628
6629 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6630
6631 * profiler.el (profiler-format-number): Use log, not log10.
6632
6633 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6634
6635 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6636
6637 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6638
6639 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6640 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6641 yet available.
6642 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6643 (AUTOGENEL): ... here.
6644 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6645 (cl--defsubst-expand): Use it.
6646
6647 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6648
6649 * subr.el (log10): Move here from C code, and declare as obsolete.
6650 All uses of (log10 X) replaced with (log X 10).
6651
6652 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6653
6654 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6655 Declare with `defvar-local'.
6656 (tabulated-list-use-header-line, tabulated-list-entries)
6657 (tabulated-list-padding, tabulated-list-printer)
6658 (tabulated-list-sort-key): Declare with `defvar-local'.
6659 (tabulated-list-init-header, tabulated-list-print-fake-header):
6660 Use `setq-local'.
6661
6662 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6663
6664 * arc-mode.el (archive-mode): Add `archive-write-file' to
6665 `write-contents-functions' also for remote files. (Bug#14652)
6666
6667 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6668
6669 * cus-edit.el (custom-commands): Fix typos.
6670 (custom-display): Fix tooltip text.
6671 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6672 Fix typos in docstrings.
6673 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6674 (custom-unlispify-menu-entry, custom-magic-value-create)
6675 (custom-add-see-also, custom-group-value-create): Use ?\s.
6676 (custom-guess-type, customize-apropos, editable-field)
6677 (custom-face-value-create): Use `string-match-p'.
6678 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6679
6680 * custom.el (custom-load-symbol): Use `string-match-p'.
6681
6682 * ansi-color.el: Convert to lexical binding.
6683 (ansi-colors): Fix URL.
6684 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6685 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6686 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6687
6688 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6689
6690 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6691
6692 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6693
6694 2013-06-19 Tom Tromey <tromey@redhat.com>
6695
6696 * net/eww.el (eww-top-url): Remove.
6697 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6698 (eww-render): Set new variables. Don't set eww-top-url.
6699 (eww-handle-link): Handle "prev", "home", and "contents".
6700 Downcase the rel text.
6701 (eww-top-url): Choose best top URL.
6702
6703 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6704
6705 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6706 relying in widget.el. Using widget.el leads to too many
6707 user interface inconsistencies.
6708 (eww-self-insert): Implement entering commands in text fields.
6709 (eww-process-text-input): New function to make text input field editing
6710 work.
6711 (eww-submit): Rewrite to use the new-style form methods.
6712 (eww-select-display): Display the correct selected item.
6713 (eww-change-select): Implement changing the select value.
6714 (eww-toggle-checkbox): Implement radio/checkboxes.
6715 (eww-update-field): Fix compilation error.
6716 (eww-tag-textarea): Implement <textarea>.
6717
6718 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6719 we don't shadow mode-specific bindings.
6720
6721 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6722 nothing to push.
6723
6724 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6725
6726 2013-06-19 Glenn Morris <rgm@gnu.org>
6727
6728 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6729
6730 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6731
6732 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6733 not needed.
6734
6735 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6736
6737 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6738
6739 * net/browse-url.el (browse-url-browser-function):
6740 `eww-browse-url' has the right calling signature, `eww' does not.
6741
6742 2013-06-19 Glenn Morris <rgm@gnu.org>
6743
6744 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6745 Only eval autoloaded macros.
6746 (byte-compile-autoload): Only give the macro warning for macros.
6747
6748 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6749 (ps-underlined-faces): Declare.
6750
6751 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6752 (speedbar-add-supported-extension): Declare.
6753
6754 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6755 Don't include a date stamp in the header of the generated file;
6756 it leads to needless differences between output files.
6757
6758 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6759
6760 * net/secrets.el (secrets-struct-secret-content-type):
6761 Replace check of introspection data by a test call of "CreateItem".
6762 Some servers do not offer introspection.
6763
6764 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6765
6766 * electric.el (electric-pair-mode): Improve interaction with
6767 electric-layout-mode.
6768 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6769 (electric-pair-syntax): Use text-mode-syntax-table in comments
6770 and strings.
6771 (electric-pair--insert): New function.
6772 (electric-pair-post-self-insert-function): Use it and
6773 electric--after-char-pos.
6774
6775 2013-06-19 Leo Liu <sdl.web@gmail.com>
6776
6777 * progmodes/octave.el (octave-help): Fix regexp.
6778
6779 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6780
6781 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6782 (shr-table-horizontal-line): Allow nil as a value, and change the
6783 default.
6784 (shr-insert-table-ruler): Respect the nil value.
6785
6786 2013-06-18 Tom Tromey <tromey@barimba>
6787
6788 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6789 New defvars.
6790 (eww-open-file): New defun.
6791 (eww-render): Initialize new variables.
6792 (eww-display-html): Handle "link" and "a".
6793 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6794 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6795 (eww-back-url): Rename from eww-previous-url.
6796 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6797 New defuns.
6798
6799 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6800
6801 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6802 Distinguish ternary operator tokens from slash symbol and slash
6803 char literal.
6804
6805 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6806
6807 Convert symbol prettification into minor mode and global minor mode.
6808
6809 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6810 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6811 (prettify-symbols--keywords): Rename from
6812 `prog-prettify-symbols-alist' and make a local defvar.
6813 (prettify-symbols--compose-symbol): Rename from
6814 `prog--prettify-font-lock-compose-symbol'.
6815 (prettify-symbols--make-keywords): Rename from
6816 `prog-prettify-font-lock-symbols-keywords' and simplify.
6817 (prog-prettify-install): Remove.
6818 (prettify-symbols-mode): New minor mode, based on
6819 `prog-prettify-install'.
6820 (turn-on-prettify-symbols-mode): New function.
6821 (global-prettify-symbols-mode): New globalized minor mode.
6822
6823 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6824 * progmodes/cfengine.el (cfengine3-mode):
6825 * progmodes/perl-mode.el (perl-mode): Don't call
6826 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6827
6828 2013-06-18 Juri Linkov <juri@jurta.org>
6829
6830 * files-x.el (modify-file-local-variable-message): New function.
6831 (modify-file-local-variable)
6832 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6833 and call `modify-file-local-variable-message' when it's non-nil.
6834 (add-file-local-variable, delete-file-local-variable)
6835 (add-file-local-variable-prop-line)
6836 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6837 and use it. (Bug#9820)
6838
6839 2013-06-18 Juri Linkov <juri@jurta.org>
6840
6841 * emulation/vi.el (vi-shell-op):
6842 * emulation/vip.el (vip-execute-com, ex-command):
6843 * emulation/viper-cmd.el (viper-exec-bang):
6844 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6845 the call of `shell-command-on-region'. (Bug#14637)
6846
6847 * simple.el (shell-command-on-region): Doc fix.
6848
6849 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6850
6851 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6852 (bug#14633).
6853
6854 2013-06-18 Glenn Morris <rgm@gnu.org>
6855
6856 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6857
6858 * newcomment.el (comment-search-forward, comment-search-backward):
6859 Doc fix. (Bug#14376)
6860
6861 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6862
6863 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6864 (buffer-face-mode-invoke): Doc fix.
6865
6866 2013-06-18 Matthias Meulien <orontee@gmail.com>
6867
6868 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6869 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6870
6871 2013-06-18 Glenn Morris <rgm@gnu.org>
6872
6873 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6874 Replace obsolete function generic-make-keywords with its expansion.
6875
6876 * progmodes/python.el (ffap-alist): Declare.
6877
6878 * textmodes/reftex.el (bibtex-mode-map): Declare.
6879
6880 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6881
6882 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6883 (package-unpack, package-unpack-single): Return the pkg-dir.
6884 (package-download-transaction): Use it to update package-alist.
6885
6886 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6887
6888 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6889 possible choice.
6890
6891 2013-06-17 Juri Linkov <juri@jurta.org>
6892
6893 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6894
6895 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6896
6897 * emacs-lisp/package.el (package-load-descriptor):
6898 Remove `with-syntax-table' call, `read' doesn't need it.
6899 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6900
6901 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6902
6903 * startup.el (command-line): Expand package name returned by
6904 `package--description-file' (bug#14639).
6905
6906 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6907
6908 * emacs-lisp/package.el (package-load-descriptor): Do not call
6909 `emacs-lisp-mode', just use its syntax table.
6910
6911 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6912
6913 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6914 `font-lock-extra-managed-props' if any prettifying keyword is added.
6915 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6916 (prog-mode): Use `setq-local'.
6917
6918 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6919
6920 * international/characters.el (standard-case-table): Set syntax of ?»
6921 and ?« to punctuation.
6922
6923 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
6924
6925 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6926 Save relevant match data before calling `syntax-ppss' (bug#14595).
6927
6928 2013-06-15 Juri Linkov <juri@jurta.org>
6929
6930 * files-x.el (modify-file-local-variable-prop-line): Add local
6931 variables to the end of the existing comment on the first line.
6932 Use `file-auto-mode-skip' to skip interpreter magic line,
6933 and also skip XML declaration.
6934
6935 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6936
6937 * startup.el (package--builtin-versions): New var.
6938 (package-subdirectory-regexp): Remove.
6939 (package--description-file): Hard code its value instead.
6940
6941 * emacs-lisp/package.el: Don't activate packages older than builtin.
6942 (package-obsolete-list): Rename from package-obsolete-alist, and make
6943 it into a simple list of package-desc.
6944 (package-strip-version): Remove.
6945 (package-built-in-p): Use package--builtin-versions.
6946 (package-mark-obsolete): Simplify.
6947 (package-process-define-package): Mark it obsolete if older than the
6948 builtin version.
6949 (package-handle-response): Use line-end-position.
6950 (package-read-archive-contents, package--download-one-archive):
6951 Simplify.
6952 (package--add-to-archive-contents): Skip if older than the builtin or
6953 installed version.
6954 (package-menu-describe-package): Fix last change.
6955 (package-list-unversioned): New var.
6956 (package-menu--generate): Use it.
6957
6958 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6959 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6960 (autoload-builtin-package-versions): New variable.
6961 (autoload-generate-file-autoloads): Use them.
6962 Remove the list of autoloaded functions/macros from the
6963 (autoload...) comments.
6964
6965 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6966
6967 2013-06-15 Eli Zaretskii <eliz@gnu.org>
6968
6969 * simple.el (line-move-partial): Don't jump to the next screen
6970 line as soon as it becomes visible. Instead, continue enlarging
6971 the vscroll until the portion of a tall screen line that's left on
6972 display is about the height of the frame's default font.
6973 (Bug#14567)
6974
6975 2013-06-15 Glenn Morris <rgm@gnu.org>
6976
6977 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6978 compilation-error-regexp-alist void, or local while let-bound.
6979
6980 * progmodes/make-mode.el (makefile-mode-syntax-table):
6981 Treat "=" as punctuation. (Bug#14614)
6982
6983 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
6984
6985 * help-fns.el (describe-variable):
6986 Add extra line for permanent-local variables.
6987
6988 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6989
6990 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6991 Add export, import, library. (Bug#9164)
6992 (library): Set indent function.
6993
6994 2013-06-14 Glenn Morris <rgm@gnu.org>
6995
6996 * term/xterm.el (xterm--query):
6997 Stop after first matching handler. (Bug#14615)
6998
6999 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7000
7001 Add support for dired in saveplace.
7002 * dired.el (dired-initial-position-hook): New variable.
7003 (dired-initial-position): Call hook to place cursor position.
7004 * saveplace.el (save-place-to-alist): Add dired position.
7005 (save-place-dired-hook): New function.
7006
7007 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7008
7009 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7010 through a symbol rather than letrec.
7011
7012 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7013 (package-desc): Add `dir' field.
7014 (package-desc-full-name): New function.
7015 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7016 (package-maybe-load-descriptor): Remove.
7017 (package-load-all-descriptors): Just call package-load-descriptor.
7018 (package--disabled-p): New function.
7019 (package-desc-vers, package-desc-doc): Remove aliases.
7020 (package--dir): Remove function.
7021 (package-activate): Check if a package is disabled.
7022 (package-process-define-package): New function, extracted from
7023 define-package.
7024 (define-package): Turn into a place holder.
7025 (package-unpack-single, package-tar-file-info):
7026 Use package--description-file.
7027 (package-compute-transaction): Use package--disabled-p.
7028 (package-download-transaction): Don't call
7029 package-maybe-load-descriptor since they're all loaded anyway.
7030 (package-install): Change argument to be a pkg-desc.
7031 (package-delete): Use a single pkg-desc argument.
7032 (describe-package-1): Use package-desc-dir instead of package--dir.
7033 Use package-desc property instead of package-symbol.
7034 (package-install-button-action): Adjust accordingly.
7035 (package--push): Rewrite.
7036 (package-menu--print-info): Adjust accordingly. Change the ID format
7037 to be a pkg-desc.
7038 (package-menu-describe-package, package-menu-get-status)
7039 (package-menu--find-upgrades, package-menu-mark-upgrades)
7040 (package-menu-execute, package-menu--name-predicate):
7041 Adjust accordingly.
7042 * startup.el (package--description-file): New function.
7043 (command-line): Use it.
7044 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7045 Use package-desc-version.
7046
7047 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7048 (byte-compile-preprocess): Use it.
7049 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7050 can't quite recognize.
7051 (byte-compile-add-to-list): Remove.
7052 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7053 (cconv-closure-convert): Add assertion.
7054
7055 * emacs-lisp/map-ynp.el: Use lexical-binding.
7056 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7057 Factor out some repeated code.
7058
7059 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7060
7061 * subr.el (with-eval-after-load): New macro.
7062 (eval-after-load): Allow form to be a function.
7063 take advantage of lexical-binding.
7064 (do-after-load-evaluation): Use dolist and adjust to new format.
7065 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7066
7067 2013-06-13 Juri Linkov <juri@jurta.org>
7068
7069 * replace.el (perform-replace): Display "symbol " and other search
7070 modes from `isearch-message-prefix' in the *Help* buffer.
7071
7072 * isearch.el (isearch-query-replace): Add " symbol" and other
7073 possible search modes from `isearch-message-prefix' to the prompt.
7074 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7075 when reading a regexp to collect.
7076
7077 2013-06-13 Juri Linkov <juri@jurta.org>
7078
7079 * isearch.el (word-search-regexp): Match whitespace if the search
7080 string begins or ends in whitespace. The LAX arg is applied to
7081 both ends of the search string. Use `regexp-quote' and explicit
7082 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7083 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7084 boundaries are replaced with symbol boundaries, and characters
7085 between symbols match non-word non-symbol syntax. (Bug#14602)
7086
7087 2013-06-13 Juri Linkov <juri@jurta.org>
7088
7089 * isearch.el (isearch-del-char): Don't exceed the length of
7090 `isearch-string' by the prefix arg. (Bug#14563)
7091
7092 2013-06-13 Juri Linkov <juri@jurta.org>
7093
7094 * isearch.el (isearch-yank-word, isearch-yank-line)
7095 (isearch-char-by-name, isearch-quote-char)
7096 (isearch-printing-char, isearch-process-search-char):
7097 Add optional count prefix arg. (Bug#14563)
7098
7099 * international/isearch-x.el
7100 (isearch-process-search-multibyte-characters):
7101 Add optional count prefix arg.
7102
7103 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7104
7105 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7106 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7107 lexical-binding.
7108
7109 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7110
7111 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7112
7113 2013-06-13 Glenn Morris <rgm@gnu.org>
7114
7115 * startup.el (tty-handle-args):
7116 Don't just discard "--" and anything after. (Bug#14608)
7117
7118 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7119
7120 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7121
7122 Implement changes in Secret Service API. Make it backward compatible.
7123 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7124 (secrets-create-item): Use it. Prefix properties with interface.
7125
7126 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7127
7128 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7129 (term-emulate-terminal): Respect term-suppress-hard-newline.
7130
7131 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7132
7133 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7134 Only remove a `thumb-file' overlay. (Bug#14548)
7135
7136 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7137
7138 * mail/reporter.el (reporter-submit-bug-report):
7139 Handle missing package-name. (Bug#14600)
7140
7141 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7142
7143 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7144 (reftex-citation-prompt, reftex-default-bibliography)
7145 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7146 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7147 (reftex-bib-sort-author, reftex-bib-sort-year)
7148 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7149 (reftex-extract-bib-entries-from-thebibliography)
7150 (reftex-get-bibkey-default, reftex-get-bib-names)
7151 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7152 (reftex-format-bib-entry, reftex-parse-bibitem)
7153 (reftex-format-bibitem, reftex-do-citation)
7154 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7155 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7156 (reftex-insert-bib-matches, reftex-format-citation)
7157 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7158 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7159 existing comments into docstrings.
7160
7161 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7162
7163 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7164
7165 2013-06-12 Andreas Schwab <schwab@suse.de>
7166
7167 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7168 for auto-save files.
7169
7170 2013-06-12 Glenn Morris <rgm@gnu.org>
7171
7172 * ido.el (ido-delete-ignored-files): Remove.
7173 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7174 Go back to calling ido-ignore-item-p directly.
7175
7176 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7177
7178 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7179
7180 * ido.el (ido-delete-ignored-files): New function,
7181 split from ido-make-file-list-1.
7182 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7183 (ido-make-file-list-1): Use ido-delete-ignored-files.
7184
7185 2013-06-12 Leo Liu <sdl.web@gmail.com>
7186
7187 * progmodes/octave.el (inferior-octave-startup)
7188 (inferior-octave-completion-table)
7189 (inferior-octave-track-window-width-change)
7190 (octave-eldoc-function-signatures, octave-help)
7191 (octave-find-definition): Use single quoted strings.
7192 (inferior-octave-startup-args): Change default value.
7193 (inferior-octave-startup): Do not hard code "-i" and
7194 "--no-line-editing".
7195 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7196 (inferior-octave-directory-tracker): Use it.
7197 (octave-goto-function-definition): Robustify.
7198 (octave-help): Support highlighting operators in 'See also'.
7199 (octave-find-definition): Find subfunctions only in Octave mode.
7200
7201 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7202
7203 * help-fns.el (help-fns--compiler-macro): If the handler function is
7204 named, then put a link to it.
7205 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7206 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7207 (cl-typep): Use it.
7208 (cl-eval-when): Simplify debug spec.
7209 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7210 compiler-macro function instead of setting `compiler-macro-file'.
7211
7212 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7213
7214 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7215 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7216
7217 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7218 Daniel Hackney <dan@haxney.org>
7219
7220 First part of Daniel Hackney's patch to package.el.
7221 * emacs-lisp/package.el: Use defstruct.
7222 (package-desc): New, main struct.
7223 (package--bi-desc, package--ac-desc): New structs, used to describe the
7224 format in external files.
7225 (package-desc-vers): Replace with package-desc-version accessor.
7226 (package-desc-doc): Replace with package-desc-summary accessor.
7227 (package-activate-1): Remove `package' arg since the pkg-vec now
7228 includes the name.
7229 (define-package): Use package-desc-from-define.
7230 (package-unpack-single): Change file-name arg to be a symbol.
7231 (package--add-to-archive-contents): Use package-desc-create and new
7232 accessor functions to package--ac-desc.
7233 (package-buffer-info, package-tar-file-info): Return a package-desc.
7234 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7235 arg to be a package-desc.
7236 (package-install-file): Adjust accordingly. Use \' to match EOS.
7237 (package--from-builtin): New function.
7238 (describe-package-1, package-menu--generate): Use it.
7239 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7240 (package-generate-autoloads): Idem and return the name of the file.
7241 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7242 Change pkg-info arg to be a package-desc.
7243 Use package-make-ac-desc.
7244 (package-upload-file): Use \' to match EOS.
7245 * finder.el (finder-compile-keywords): Use package-make-builtin.
7246
7247 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7248
7249 * vc/vc.el (vc-deduce-fileset): Change error message.
7250 (vc-read-backend): New function.
7251 (vc-next-action): Use it.
7252
7253 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7254
7255 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7256 (prolog-font-lock-keywords): Use regexp-opt instead.
7257 Don't manually highlight strings.
7258 (prolog-mode-variables): Simplify comment-start-skip.
7259 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7260
7261 * emacs-lisp/generic.el (generic--normalise-comments)
7262 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7263 (generic-mode-set-comments): Use them.
7264 (generic-bracket-support): Use setq-local.
7265 (generic-make-keywords-list): Declare obsolete.
7266
7267 2013-06-11 Glenn Morris <rgm@gnu.org>
7268
7269 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7270 Prettify after setting font-lock-defaults. (Bug#14574)
7271
7272 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7273
7274 * replace.el (query-replace, occur-read-regexp-defaults-function)
7275 (replace-search):
7276 * subr.el (declare-function, number-sequence, local-set-key)
7277 (substitute-key-definition, locate-user-emacs-file)
7278 (with-silent-modifications, split-string, eval-after-load):
7279 Fix typos, remove unneeded backslashes and reflow some docstrings.
7280
7281 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7282
7283 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7284 default for Elisp files.
7285
7286 2013-06-11 Glenn Morris <rgm@gnu.org>
7287
7288 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7289 although define-derived-mode was doing this anyway. (Bug#14583)
7290
7291 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7292
7293 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7294 Fix make-variable-buffer-local call to refer to the correct variable.
7295
7296 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7297
7298 * eshell/em-term.el (eshell-visual-commands)
7299 (eshell-visual-subcommands, eshell-visual-options):
7300 Add summary line to docstrings. Add cross-references.
7301
7302 2013-06-10 Glenn Morris <rgm@gnu.org>
7303
7304 * epa.el (epa-read-file-name): New function. (Bug#14510)
7305 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7306
7307 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7308
7309 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7310 output redirection to be ignored with visual commands.
7311
7312 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7313
7314 * eshell/em-term.el (eshell-visual-command-p): New function.
7315 (eshell-term-initialize): Move long lambda to separate function
7316 eshell-visual-command-p.
7317 * eshell/em-dirs.el (eshell-dirs-initialise):
7318 * eshell/em-script.el (eshell-script-initialize):
7319 Add missing #' to lambda.
7320
7321 2013-06-08 Leo Liu <sdl.web@gmail.com>
7322
7323 * progmodes/octave.el (octave-add-log-current-defun): New function.
7324 (octave-mode): Set add-log-current-defun-function.
7325 (octave-goto-function-definition): Do not move point if not found.
7326 (octave-find-definition): Enhance to try subfunctions first.
7327
7328 2013-06-08 Glenn Morris <rgm@gnu.org>
7329
7330 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7331 (byte-compile-backward-char, byte-compile-backward-word):
7332 Improve previous change, to handle non-explicit nil.
7333
7334 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7335
7336 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7337 (smie--opener/closer-at-point): New function.
7338 (smie--matching-block-data): Use it. Don't match from right after an
7339 opener or right before a closer. Obey smie-blink-matching-inners.
7340 Don't signal a mismatch for repeated inners like "switch..case..case".
7341
7342 2013-06-07 Leo Liu <sdl.web@gmail.com>
7343
7344 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7345 to t. (Bug#14303)
7346 (octave-function-header-regexp): Fix. (Bug#14570)
7347 (octave-help-mode-finish-hook, octave-help-mode-finish):
7348 Remove. Just use temp-buffer-show-hook.
7349
7350 * newcomment.el (comment-search-backward): Revert last change.
7351 (Bug#14434)
7352
7353 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7354
7355 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7356
7357 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7358 through xargs, to avoid failure due to MS-Windows limitations on
7359 command-line length.
7360
7361 2013-06-06 Glenn Morris <rgm@gnu.org>
7362
7363 * font-lock.el (lisp-font-lock-keywords-2):
7364 Treat user-error like error.
7365
7366 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7367 (byte-compile-backward-char, byte-compile-backward-word):
7368 Handle explicit nil arguments. (Bug#14565)
7369
7370 2013-06-05 Alan Mackenzie <acm@muc.de>
7371
7372 * isearch.el (isearch-allow-prefix): New user option.
7373 (isearch-other-meta-char): Don't exit isearch when a prefix
7374 argument is typed whilst `isearch-allow-prefix' is non-nil.
7375 (Bug#9706)
7376
7377 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7378
7379 * autorevert.el (auto-revert-notify-handler): Use memq.
7380 Hide assertion failure.
7381
7382 * skeleton.el: Use cl-lib.
7383 (skeleton-further-elements): Use defvar-local.
7384 (skeleton-insert): Use cl-progv.
7385
7386 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7387
7388 * progmodes/prog-mode.el (prog-prettify-symbols)
7389 (prog-prettify-install): Update docstrings.
7390
7391 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7392
7393 * simple.el: Move all the prog-mode code to prog-mode.el.
7394 * progmodes/prog-mode.el: New file.
7395 * loadup.el: Add prog-mode.el.
7396
7397 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7398
7399 * simple.el (prog-prettify-symbols): Add version.
7400 (prog-prettify-install): Add convenience function to prettify symbols.
7401
7402 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7403 (perl--augmented-font-lock-keywords-1)
7404 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7405 variables and use it.
7406
7407 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7408 (cfengine3-mode): Remove unneeded variable and use it.
7409
7410 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7411 (lisp--augmented-font-lock-keywords-1)
7412 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7413 Remove unneeded variables and use it.
7414
7415 2013-06-05 João Távora <joaotavora@gmail.com>
7416
7417 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7418 to point when opening the connection. (Bug#14380)
7419
7420 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7421
7422 * subr.el (load-history-regexp, load-history-filename-element)
7423 (eval-after-load, after-load-functions, do-after-load-evaluation)
7424 (eval-next-after-load, display-delayed-warnings)
7425 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7426 definition of save-match-data.
7427 (overriding-local-map): Remove accidental obsolescence declaration.
7428
7429 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7430
7431 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7432
7433 Generalize symbol prettify support to prog-mode and implement it
7434 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7435 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7436 (prog--prettify-font-lock-compose-symbol)
7437 (prog-prettify-font-lock-symbols-keywords): New variables and
7438 functions to support symbol prettification.
7439 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7440 (lisp--augmented-font-lock-keywords-1)
7441 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7442 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7443 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7444 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7445 Implement prettify of -> => :: strings.
7446 * progmodes/perl-mode.el (perl-prettify-symbols)
7447 (perl--font-lock-compose-symbol)
7448 (perl--font-lock-symbols-keywords): Move to prog-mode.
7449 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7450 (perl-font-lock-keywords-1)
7451 (perl-font-lock-keywords-2): Remove explicit prettify support.
7452 (perl--augmented-font-lock-keywords)
7453 (perl--augmented-font-lock-keywords-1)
7454 (perl--augmented-font-lock-keywords-2, perl-mode):
7455 Implement prettify support.
7456
7457 2013-06-05 Leo Liu <sdl.web@gmail.com>
7458
7459 Re-implement smie matching block highlight using
7460 show-paren-data-function. (Bug#14395)
7461 * emacs-lisp/smie.el (smie-matching-block-highlight)
7462 (smie--highlight-matching-block-overlay)
7463 (smie--highlight-matching-block-lastpos)
7464 (smie-highlight-matching-block)
7465 (smie-highlight-matching-block-mode): Remove.
7466 (smie--matching-block-data-cache): New variable.
7467 (smie--matching-block-data): New function.
7468 (smie-setup): Use smie--matching-block-data for
7469 show-paren-data-function.
7470
7471 * progmodes/octave.el (octave-mode-menu): Fix.
7472 (octave-find-definition): Skip garbage lines.
7473
7474 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7475
7476 Fix compilation error with simultaneous dynamic+lexical scoping.
7477 Add warning when a defvar appears after the first let-binding.
7478 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7479 (byte-compile-close-variables): Initialize it.
7480 (byte-compile--declare-var): New function.
7481 (byte-compile-file-form-defvar)
7482 (byte-compile-file-form-define-abbrev-table)
7483 (byte-compile-file-form-custom-declare-variable): Use it.
7484 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7485 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7486 (byte-compile-bind): Handle dynamic bindings that shadow
7487 lexical bindings.
7488 (byte-compile-unbind): Make arg non-optional.
7489 (byte-compile-let): Simplify.
7490 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7491 (cconv--analyse-function, cconv-analyse-form): Populate it.
7492 Protect byte-compile-bound-variables to limit the scope of defvars.
7493 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7494 Remove unneeded rule for `declare'.
7495
7496 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7497 so as to avoid depending on cl-adjoin at run-time.
7498 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7499
7500 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7501 (macroexp--warn-and-return): Use it.
7502
7503 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7504
7505 * lisp/subr.el: Convert to lexical binding.
7506 (overriding-local-map): Make obsolete.
7507 (add-to-list): Doc fix. Add compiler macro.
7508 (read-key): Swap values of local maps.
7509
7510 2013-06-05 Leo Liu <sdl.web@gmail.com>
7511
7512 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7513
7514 2013-06-04 Leo Liu <sdl.web@gmail.com>
7515
7516 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7517 (compilation-auto-jump): Suppress the "Mark set" message to give
7518 way to exit message.
7519
7520 2013-06-04 Alan Mackenzie <acm@muc.de>
7521
7522 Remove faulty optimisation from indentation calculation.
7523 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7524 search limit based on 2000 characters back from indent-point.
7525
7526 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7527
7528 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7529
7530 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7531
7532 * emacs-lisp/lisp.el: Use lexical-binding.
7533 (lisp--local-variables-1, lisp--local-variables): New functions.
7534 (lisp--local-variables-completion-table): New var.
7535 (lisp-completion-at-point): Use it complete let-bound vars.
7536
7537 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7538 eagerly (bug#14422).
7539
7540 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7541
7542 * autorevert.el (auto-revert-notify-enabled)
7543 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7544 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7545 (auto-revert-notify-handler): Handle also gfilenotify.
7546
7547 * subr.el (file-notify-handle-event): New defun. Replacing ...
7548 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7549 Remove.
7550
7551 2013-06-03 Juri Linkov <juri@jurta.org>
7552
7553 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7554 `M-s h .'. (Bug#14427)
7555
7556 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7557 command `hi-lock-face-symbol-at-point'.
7558 (hi-lock-face-symbol-at-point): New command.
7559 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7560 (hi-lock-menu): Add `highlight-symbol-at-point'.
7561 (hi-lock-mode): Doc fix.
7562
7563 * isearch.el (isearch-forward-symbol-at-point): New command.
7564 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7565 (isearch-highlight-regexp): Add a regexp which matches
7566 words/symbols for word/symbol mode.
7567
7568 * subr.el (find-tag-default-bounds): New function with the body
7569 mostly moved from `find-tag-default'.
7570 (find-tag-default): Move most code to `find-tag-default-bounds',
7571 call it and apply `buffer-substring-no-properties' afterwards.
7572
7573 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7574
7575 * eshell/em-term.el (eshell-term-initialize):
7576 Use `cl-intersection' rather than `intersection'.
7577
7578 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7579
7580 * vc/log-view.el: Doc fix.
7581 (log-view-mode-map): Copy keymap from `special-mode-map'.
7582
7583 2013-06-02 Eric Ludlam <zappo@gnu.org>
7584
7585 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7586 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7587 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7588 (eieio-unbound, eieio-default-superclass)
7589 (eieio--define-field-accessors, method-static, method-before)
7590 (method-primary, method-after, method-num-lists)
7591 (method-generic-before, method-generic-primary)
7592 (method-generic-after, method-num-slots)
7593 (eieio-specialized-key-to-generic-key)
7594 (eieio--check-type, class-v, class-p)
7595 (eieio-class-name, define-obsolete-function-alias)
7596 (eieio-class-parents-fast, eieio-class-children-fast)
7597 (same-class-fast-p, class-constructor, generic-p)
7598 (generic-primary-only-p, generic-primary-only-one-p)
7599 (class-option-assoc, class-option, eieio-object-p)
7600 (class-abstract-p, class-method-invocation-order)
7601 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7602 (eieio-class-un-autoload, eieio-defclass)
7603 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7604 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7605 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7606 (eieio-defgeneric-reset-generic-form)
7607 (eieio-defgeneric-form-primary-only)
7608 (eieio-defgeneric-reset-generic-form-primary-only)
7609 (eieio-defgeneric-form-primary-only-one)
7610 (eieio-defgeneric-reset-generic-form-primary-only-one)
7611 (eieio-unbind-method-implementations)
7612 (eieio--defmethod, eieio--typep)
7613 (eieio-perform-slot-validation, eieio-validate-slot-value)
7614 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7615 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7616 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7617 (eieio-slot-name-index, eieio-class-slot-name-index)
7618 (eieio-set-defaults, eieio-initarg-to-attribute)
7619 (eieio-attribute-to-initarg, eieio-c3-candidate)
7620 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7621 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7622 (eieio-class-precedence-list, eieio-generic-call-methodname)
7623 (eieio-generic-call-arglst, eieio-generic-call-key)
7624 (eieio-generic-call-next-method-list)
7625 (eieio-pre-method-execution-functions, eieio-generic-call)
7626 (eieio-generic-call-primary-only, eieiomt-method-list)
7627 (eieiomt-optimizing-obarray, eieiomt-install)
7628 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7629 (eieio-generic-form, eieio-defmethod, make-obsolete)
7630 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7631 (defclass): Remove `eval-and-compile' from macro.
7632 (call-next-method, shared-initialize): Instead of using
7633 `scoped-class' variable, use new eieio--scoped-class, and
7634 eieio--with-scoped-class.
7635 (initialize-instance): Rename local variable 'scoped-class' to
7636 'this-class' to remove ambiguitity from old global.
7637
7638 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7639 eieio.el.
7640 (eieio--scoped-class-stack): New variable.
7641 (eieio--scoped-class): New fcn.
7642 (eieio--with-scoped-class): New scoping macro.
7643 (eieio-defclass): Use pushnew instead of add-to-list.
7644 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7645 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7646 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7647 `scoped-class' variable, use new eieio--scoped-class, and
7648 eieio--with-scoped-class.
7649
7650 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7651
7652 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7653
7654 * eshell/esh-ext.el (eshell-external-command): Pass args to
7655 `eshell-find-interpreter'.
7656 (eshell-find-interpreter): Add new second parameter ARGS.
7657
7658 * eshell/em-script.el (eshell-script-initialize): Add second arg
7659 to the function added as MATCH to `eshell-interpreter-alist'.
7660
7661 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7662 the function added as MATCH to `eshell-interpreter-alist'.
7663
7664 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7665 (eshell-visual-options): New defcustom.
7666 (eshell-escape-control-x): Adapt docstring.
7667 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7668 `eshell-visual-options' in addition to `eshell-visual-commands'.
7669 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7670
7671 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7672
7673 * progmodes/python.el (python-indent-block-enders): Add break,
7674 continue and raise keywords.
7675
7676 2013-06-01 Glenn Morris <rgm@gnu.org>
7677
7678 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7679
7680 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7681 * progmodes/cc-cmds.el (delete-forward-p):
7682 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7683 * progmodes/cc-engine.el (buffer-syntactic-context):
7684 * progmodes/cc-fonts.el (face-property-instance):
7685 * progmodes/cc-mode.el (set-keymap-parents):
7686 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7687 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7688 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7689 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7690 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7691
7692 * progmodes/cc-vars.el (other): Emacs has this widget since
7693 at least 21.1, so don't (re)define it.
7694
7695 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7696 Replace the obsolete alias pcomplete-arg-quote-list.
7697
7698 2013-06-01 Leo Liu <sdl.web@gmail.com>
7699
7700 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7701 punctuation syntax.
7702 (inferior-octave-minimal-columns)
7703 (inferior-octave-last-column-width): New variables.
7704 (inferior-octave-track-window-width-change): New function.
7705 (inferior-octave-mode): Adjust column width so that Octave output,
7706 for example from 'ls', can fit into the window nicely.
7707
7708 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7709
7710 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7711 Highlight expansions inside regexp literals.
7712
7713 2013-05-31 Glenn Morris <rgm@gnu.org>
7714
7715 * obsolete/sym-comp.el (symbol-complete):
7716 Replace obsolete completion-annotate-function.
7717
7718 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7719
7720 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7721
7722 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7723 New function, checks if point is inside a literal that allows
7724 expression expansion.
7725 (ruby-syntax-propertize-expansion): Use it.
7726 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7727 around the body.
7728
7729 2013-05-30 Juri Linkov <juri@jurta.org>
7730
7731 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7732 to "\M-si".
7733 (isearch-invisible): New variable.
7734 (isearch-forward): Doc fix.
7735 (isearch-mode): Set `isearch-invisible'
7736 to the value of `search-invisible'.
7737 (isearch-toggle-case-fold): Doc fix.
7738 (isearch-toggle-invisible): New command.
7739 (isearch-query-replace): Let-bind `search-invisible'
7740 to the value of `isearch-invisible'.
7741 (isearch-search): Use `isearch-invisible' instead of
7742 `search-invisible'. Let-bind `search-invisible'
7743 to the value of `isearch-invisible'. (Bug#11378)
7744
7745 2013-05-30 Juri Linkov <juri@jurta.org>
7746
7747 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7748 call when `query-flag' is nil and `search-invisible' is non-nil.
7749 (Bug#11746)
7750
7751 2013-05-30 Glenn Morris <rgm@gnu.org>
7752
7753 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7754
7755 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7756 (cc-require): Suppress spurious "noruntime" warnings.
7757 (cc-require-when-compile): Use fboundp, for sake of compiler.
7758
7759 * progmodes/cc-mode.el: Move load of cc-vars before that of
7760 cc-langs (which in turn loads cc-vars), to quieten compiler.
7761
7762 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7763
7764 * paren.el: Simplify the code.
7765 (show-paren-mode): Always start the timer.
7766 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7767 (show-paren--overlay, show-paren--overlay-1): Rename from
7768 show-paren-overlay and show-paren-overlay-1, and initialize to an
7769 overlay rather than to nil.
7770 (show-paren-function): Misc cleanup and simplifications.
7771
7772 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7773
7774 * paren.el (show-paren-data-function): New hook.
7775 (show-paren--default): New function, extracted from show-paren-function.
7776 (show-paren-function): Use show-paren-data-function.
7777
7778 2013-05-30 Glenn Morris <rgm@gnu.org>
7779
7780 * ielm.el (ielm-map, ielm-complete-symbol):
7781 Use completion-at-point rather than obsolete functions.
7782 (inferior-emacs-lisp-mode): Doc fix.
7783 Set completion-at-point-functions, rather than
7784 comint-dynamic-complete-functions.
7785
7786 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7787 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7788 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7789
7790 * image.el (image-animated-p): Tweak definition.
7791
7792 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7793 (rlogin-process-connection-type): Tweak default. Add set-after.
7794 (rlogin-host): Doc fix.
7795 (rlogin): Tweak prompt.
7796 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7797
7798 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7799 * progmodes/tcl.el (inferior-tcl-mode-map):
7800 Use completion-at-point rather than obsolete alias.
7801
7802 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7803
7804 * minibuffer.el (read-file-name-completion-ignore-case):
7805 Move before completion--in-region, for eager macro expansion.
7806
7807 2013-05-29 Juri Linkov <juri@jurta.org>
7808
7809 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7810 for total count of matching lines. Add `global-matches' for total
7811 count of matches. Rename `matches' to `lines' for count of
7812 matching lines. Add `matches' for count of matches.
7813 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7814 to `prev-line' for line number of prev match endpt.
7815 Increment `matches' for every match. Print the number of
7816 matching lines in the header.
7817 (occur-context-lines): Rename `lines' to `curr-line'.
7818 Rename `prev-lines' to `prev-line'. (Bug#14017)
7819
7820 2013-05-29 Juri Linkov <juri@jurta.org>
7821
7822 * replace.el (perform-replace): Add `skip-read-only-count',
7823 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7824 Increment them for corresponding conditions and report the number
7825 of skipped occurrences in the final message. (Bug#11746)
7826 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7827 (replace-string, replace-regexp): Doc fix.
7828
7829 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7830
7831 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7832
7833 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7834 prog-mode-map (bug#14504).
7835
7836 2013-05-29 Leo Liu <sdl.web@gmail.com>
7837
7838 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7839 (octave-help): Small simplification.
7840
7841 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7842 off the highlight first.
7843
7844 2013-05-29 Glenn Morris <rgm@gnu.org>
7845
7846 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7847 Handle idlwave-last-system-routine-info-cons-cell being nil.
7848
7849 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7850 (idlwave-write-paths): Simplify via with-temp-buffer.
7851
7852 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7853 * emulation/cua-rect.el: Also load cua-base at run time.
7854
7855 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7856 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7857 (cperl-imenu-on-info): Require imenu.
7858
7859 2013-05-28 Alan Mackenzie <acm@muc.de>
7860
7861 Handle "capitalised keywords" correctly.
7862 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7863
7864 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
7865
7866 * eshell/em-unix.el: Add -r option to cp.
7867
7868 2013-05-28 Glenn Morris <rgm@gnu.org>
7869
7870 * vc/vc-arch.el (vc-exec-after): Declare.
7871 (vc-switches): Autoload.
7872 * vc/vc-bzr.el: No need to require vc when compiling.
7873 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7874 (vc-resynch-buffer, vc-dir-refresh): Declare.
7875 (vc-setup-buffer, vc-switches): Autoload.
7876 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7877 (vc-resynch-buffer): Declare.
7878 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7879 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7880 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7881 (grep-read-regexp, grep-read-files, grep-expand-template)
7882 (vc-dir-refresh): Declare.
7883 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7884 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7885 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7886 * vc/vc-mtn.el (vc-exec-after): Declare.
7887 (vc-switches): Autoload.
7888 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7889 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7890 (vc-file-tree-walk): Declare.
7891 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7892 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7893 (vc-tag-precondition, vc-rename-master): Autoload.
7894 * vc/vc-svn.el (vc-exec-after): Declare.
7895 (vc-switches, vc-setup-buffer): Autoload.
7896 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7897 Autoload.
7898 (vc-resynch-buffer): Declare.
7899
7900 * obsolete/fast-lock.el (byte-compile-warnings):
7901 Don't warn about obsolete features in this obsolete file.
7902
7903 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7904 Move definition before use.
7905
7906 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7907 (dun-unix-verbs): Remove dun-zippy.
7908 (dun-zippy): Remove function.
7909
7910 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7911
7912 2013-05-27 Juri Linkov <juri@jurta.org>
7913
7914 * replace.el (replace-search): New function with code moved out
7915 from `perform-replace'.
7916 (replace-highlight, replace-dehighlight): Move function definitions
7917 up closer to `replace-search'. (Bug#11746)
7918
7919 2013-05-27 Juri Linkov <juri@jurta.org>
7920
7921 * replace.el (perform-replace): Ignore invisible matches.
7922 In addition to checking `query-replace-skip-read-only', also
7923 filter out matches by calling `run-hook-with-args-until-failure'
7924 on `isearch-filter-predicates', and also check `search-invisible'
7925 for t or call `isearch-range-invisible'.
7926 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7927
7928 2013-05-27 Juri Linkov <juri@jurta.org>
7929
7930 * isearch.el (isearch-filter-predicates): Rename from
7931 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7932 (isearch-message-prefix): Display text from the property
7933 `isearch-message-prefix' of the currently active filters.
7934 (isearch-search): Don't compare `isearch-filter-predicate' with
7935 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7936 on `isearch-filter-predicates'. Also check `search-invisible' for t
7937 or call `isearch-range-invisible'.
7938 (isearch-filter-visible): Make obsolete.
7939 (isearch-lazy-highlight-search):
7940 Call `run-hook-with-args-until-failure' on
7941 `isearch-filter-predicates' and use `isearch-range-invisible'.
7942
7943 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7944 `isearch-filter-predicates' instead of `funcall'ing
7945 `isearch-filter-predicate'.
7946 (Info-mode): Set `Info-isearch-filter' to
7947 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7948
7949 * dired-aux.el (dired-isearch-filter-predicate-orig):
7950 Remove variable.
7951 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7952 (dired-isearch-filenames-end): Add and remove
7953 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7954 instead of changing the value of `isearch-filter-predicate'.
7955 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7956 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7957 Put property `isearch-message-prefix' to "filename " on
7958 `dired-isearch-filter-filenames'.
7959
7960 * wdired.el (wdired-change-to-wdired-mode):
7961 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7962 locally instead of changing `isearch-filter-predicate'.
7963 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7964
7965 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7966
7967 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7968 return the commit hash (Bug#14459). Also set the
7969 `vc-git-detached' property.
7970 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7971 (vc-git-mode-line-string): Use the same help-echo format whether
7972 in detached mode or not, because we know the actual revision now.
7973 When in detached mode, shorten the revision to 7 chars.
7974
7975 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7976
7977 * emacs-lisp/easy-mmode.el (define-minor-mode):
7978 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7979 mode hook and provide a docstring.
7980
7981 2013-05-27 Alan Mackenzie <acm@muc.de>
7982
7983 Remove spurious syntax-table text properties inserted by C-y.
7984 * progmodes/cc-mode.el (c-after-change): Also clear hard
7985 syntax-table property with value nil.
7986
7987 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
7988
7989 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7990 when reading the events; the buffer layout shall not be changed.
7991
7992 2013-05-27 Leo Liu <sdl.web@gmail.com>
7993
7994 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7995 New variable.
7996 (inferior-octave-directory-tracker): Automatically re-sync
7997 default-directory.
7998 (octave-help): Improve handling of 'See also'.
7999
8000 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8001
8002 * doc-view.el: Minor naming convention tweaks.
8003 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8004
8005 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8006 even if there's no `display' property yet (bug#14435).
8007
8008 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8009
8010 * subr.el (unmsys--file-name): Rename from reveal-filename.
8011
8012 * Makefile.in (custom-deps, finder-data, autoloads)
8013 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8014 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8015 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8016
8017 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8018
8019 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8020 error-completion on the first 2 args of condition-case (bug#14446).
8021 Don't burp at EOB.
8022
8023 2013-05-25 Leo Liu <sdl.web@gmail.com>
8024
8025 * comint.el (comint-previous-matching-input): Do not flood the
8026 *Messages* buffer with trivial messages.
8027
8028 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8029
8030 * progmodes/flymake.el (flymake-nop): Don't return a string.
8031 (flymake-set-at): Fix typo.
8032
8033 * simple.el (read--expression): New function, extracted from
8034 eval-expression. Set completion-at-point-functions (bug#14465).
8035 (eval-expression, eval-minibuffer): Use it.
8036
8037 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8038
8039 * progmodes/flymake.el (flymake-save-buffer-in-file)
8040 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8041 (flymake-selected-frame, flymake-log, flymake-ins-after)
8042 (flymake-set-at, flymake-get-buildfile-from-cache)
8043 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8044 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8045 Refine the doc string.
8046 (flymake-get-file-name-mode-and-masks): Reformat.
8047 (flymake-get-real-file-name-function): Fix a minor bug.
8048
8049 2013-05-24 Juri Linkov <juri@jurta.org>
8050
8051 * progmodes/grep.el (grep-mode-font-lock-keywords):
8052 Support =linenumber= format used by git-grep for lines with
8053 function names. (Bug#13549)
8054
8055 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8056
8057 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8058 0 after a semi-colon; it works better for smie-auto-fill.
8059 (octave--indent-new-comment-line): New function.
8060 (octave-indent-new-comment-line): Use it (indirectly).
8061 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8062 modify comment-line-break-function.
8063
8064 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8065 (smie-setup): Use add-function to set it.
8066
8067 2013-05-24 Sam Steingold <sds@gnu.org>
8068
8069 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8070 argument (before the `interactive' argument).
8071
8072 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8073
8074 * image-mode.el (image-mode-winprops): Add winprops to
8075 image-mode-winprops-alist before running
8076 image-mode-new-window-functions.
8077 * doc-view.el (doc-view-new-window-function): Don't delay
8078 doc-view-goto-page via timers (bug#14435).
8079
8080 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8081
8082 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8083 (doc-view-desktop-save-buffer): New function.
8084 (doc-view-restore-desktop-buffer): New function.
8085 (desktop-buffer-mode-handlers):
8086 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8087 handler.
8088 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8089 `desktop-save-buffer' function.
8090
8091 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8092
8093 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8094 (tramp-gvfs-file-name-handler): Raise a user error when
8095 `tramp-gvfs-enabled' is nil.
8096 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8097 Do not raise a user error when loading package. (Bug#14447)
8098
8099 * net/xesam.el: Move to obsolete/.
8100
8101 2013-05-24 Glenn Morris <rgm@gnu.org>
8102
8103 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8104
8105 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8106
8107 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8108 (Info-find-node, Man-getpage-in-background): Declare.
8109
8110 * mail/unrmail.el (unrmail):
8111 Replace obsolete detect-coding-with-priority.
8112
8113 * net/socks.el (socks-split-string): Use this rather than split-string.
8114 (socks-nslookup-host): Update for above change.
8115 (dynamic-choice, s5-dynamic-choice-match)
8116 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8117 Comment out unused code.
8118
8119 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8120 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8121 (gud-tooltip-echo-area): Make obsolete.
8122 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8123
8124 * progmodes/js.el (js--optimize-arglist): Declare.
8125
8126 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8127
8128 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8129 (ediff-window-C): Declare.
8130
8131 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8132 Tweak requires to silence compiler.
8133
8134 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8135 (he-search-string, he-tried-table, he-expand-list)
8136 (he-init-string, he-string-member, he-substitute-string)
8137 (he-reset-string): Declare.
8138
8139 * obsolete/options.el (list-options): Use custom-variable-p,
8140 rather than obsolete alias.
8141
8142 2013-05-23 Sam Steingold <sds@gnu.org>
8143
8144 * simple.el (shell-command-on-region): Pass the `replace' argument
8145 down to `call-process-region' to comply with the doc as reported on
8146 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8147
8148 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8149
8150 * emacs-lisp/smie.el (smie-indent-forward-token)
8151 (smie-indent-backward-token): Handle string tokens (bug#14381).
8152
8153 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8154
8155 * ielm.el (ielm-menu): New menu.
8156 (inferior-emacs-lisp-mode): Set comment-start.
8157
8158 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8159
8160 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8161 Fix deactivate action.
8162
8163 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8164 Add cleveref macros.
8165
8166 * lisp/textmodes/reftex-parse.el
8167 (reftex-locate-bibliography-files): Accept options for
8168 bibliography commands.
8169 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8170 Add addbibresource. Basic Biblatex support.
8171
8172 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8173
8174 * net/tramp-gvfs.el (top):
8175 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8176 when loading package. (Bug#14447)
8177
8178 2013-05-23 Glenn Morris <rgm@gnu.org>
8179
8180 * progmodes/js.el: No need to load comint when compiling.
8181 (ring-insert, comint-send-string, comint-send-input)
8182 (comint-last-input-end, ido-chop): Declare.
8183
8184 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8185 * vc/ediff-mult.el: Adjust requires.
8186 (ediff-directories-internal, ediff-directory-revisions-internal)
8187 (ediff-patch-file-internal): Declare.
8188 * vc/ediff-ptch.el: Adjust requires.
8189 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8190 (ediff-find-file): Autoload.
8191 * vc/ediff-util.el: No need to load ediff when compiling.
8192 (ediff-regions-internal): Declare.
8193 * vc/ediff-wind.el: Adjust requires.
8194 (ediff-compute-toolbar-width): Define when compiling.
8195 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8196 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8197 (dired-get-filename, dired-get-marked-files)
8198 (ediff-last-dir-patch, ediff-patch-default-directory)
8199 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8200 (ediff-patch-buffer-internal): Declare.
8201
8202 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8203 (ispell-process, ispell-buffer-local-words, lm-summary)
8204 (lm-section-start, lm-section-end): Declare.
8205 (checkdoc-ispell-init): Simplify.
8206
8207 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8208 (he-string-member, he-reset-string, he-substitute-string): Declare.
8209
8210 * eshell/em-ls.el: Adjust requires.
8211 (eshell-glob-regexp): Declare.
8212 * eshell/em-tramp.el: Adjust requires.
8213 (eshell-parse-command): Autoload.
8214 * eshell/em-xtra.el: Adjust requires.
8215 (eshell-parse-command): Autoload.
8216 * eshell/esh-ext.el: Adjust requires.
8217 (eshell-parse-command, eshell-close-handles): Autoload.
8218 * eshell/esh-io.el: Adjust requires.
8219 (eshell-output-filter): Autoload.
8220 * eshell/esh-util.el: No need to load tramp when compiling.
8221 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8222 Declare.
8223 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8224 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8225 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8226 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8227 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8228 * eshell/esh-opt.el, eshell/esh-proc.el:
8229 * eshell/esh-var.el: Adjust requires.
8230 * eshell/eshell.el: Do not require esh-util twice.
8231 (eshell-add-input-to-history): Declare.
8232 (eshell-command): Check history module is active before using it.
8233
8234 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8235
8236 2013-05-22 Leo Liu <sdl.web@gmail.com>
8237
8238 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8239
8240 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8241
8242 * autorevert.el (auto-revert-notify-add-watch)
8243 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8244 it indicates changes in file modification time.
8245
8246 2013-05-22 Glenn Morris <rgm@gnu.org>
8247
8248 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8249 Always delete the autoloaded function from the noruntime and
8250 unresolved functions lists.
8251
8252 * allout.el: No need to load epa, epg, overlay when compiling.
8253 (epg-context-set-passphrase-callback, epg-list-keys)
8254 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8255 (epg-key-user-id-list): Declare.
8256
8257 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8258 (viper-set-parsing-style-toggling-macro)
8259 (viper-set-emacs-state-searchstyle-macros):
8260 Use called-interactively-p on Emacs.
8261 (viper-looking-back): Make it an obsolete alias. Update callers.
8262 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8263 Use looking-back rather than viper-looking-back.
8264 (viper-tmp-insert-at-eob, viper-enlarge-region)
8265 (viper-read-string-with-history, viper-register-to-point)
8266 (viper-append-to-register, viper-change-state-to-vi)
8267 (viper-backward-char-carefully, viper-forward-char-carefully)
8268 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8269 (viper-change-state-to-emacs): Declare.
8270 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8271 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8272 * emulation/viper-mous.el: Do not load viper-cmd.
8273 (viper-backward-char-carefully, viper-forward-char-carefully)
8274 (viper-forward-word, viper-adjust-window): Declare.
8275
8276 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8277
8278 * progmodes/idlw-help.el (idlwave-help-fontify):
8279 Use called-interactively-p.
8280
8281 * term/w32console.el (w32-get-console-codepage)
8282 (w32-get-console-output-codepage): Declare.
8283
8284 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8285 Remove unnecessary declarations.
8286 (dframe-message): Doc fix.
8287
8288 * info.el (dframe-select-attached-frame, dframe-current-frame):
8289 Declare.
8290
8291 * speedbar.el (speedbar-message): Make it an obsolete alias.
8292 Update all callers.
8293 (speedbar-with-attached-buffer)
8294 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8295 (speedbar-with-writable): Use backquote.
8296 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8297 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8298 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8299 rather than speedbar- aliases.
8300 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8301 (speedbar-make-specialized-keymap, speedbar-insert-button)
8302 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8303 (speedbar-do-function-pointer): Declare.
8304 (rmail-speedbar-button, rmail-speedbar-find-file)
8305 (rmail-speedbar-move-message):
8306 Use dframe-with-attached-buffer rather than speedbar- alias.
8307 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8308 (dframe-message, speedbar-make-specialized-keymap)
8309 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8310 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8311 (speedbar-insert-button, dframe-select-attached-frame)
8312 (dframe-maybee-jump-to-attached-frame)
8313 (speedbar-change-initial-expansion-list)
8314 (speedbar-previously-used-expansion-list-name): Declare.
8315 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8316 Use dframe-message, dframe-with-attached-buffer rather than
8317 speedbar- aliases.
8318 (gud-sentinel): Silence compiler.
8319 * progmodes/vhdl-mode.el (speedbar-refresh)
8320 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8321 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8322 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8323 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8324 (speedbar-file-lists, speedbar-make-tag-line)
8325 (speedbar-line-directory, speedbar-goto-this-file)
8326 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8327 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8328 (speedbar-make-button, speedbar-reset-scanners)
8329 (speedbar-files-item-info, speedbar-line-text)
8330 (speedbar-find-file-in-frame, speedbar-set-timer)
8331 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8332 (speedbar-with-writable): Do not (re)define it.
8333 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8334 rather than speedbar- alias.
8335
8336 2013-05-21 Leo Liu <sdl.web@gmail.com>
8337
8338 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8339 menu items.
8340 (octave-mode): Tweak fill-nobreak-predicate.
8341 (inferior-octave-startup): Check process to avoid infinite loop.
8342 (inferior-octave): Pop to buffer first to show abornmal process
8343 exit information.
8344
8345 2013-05-21 Glenn Morris <rgm@gnu.org>
8346
8347 * printing.el (pr-menu-bar): Define when compiling.
8348
8349 2013-05-21 Leo Liu <sdl.web@gmail.com>
8350
8351 * progmodes/octave.el (octave-auto-fill): Remove.
8352 (octave-indent-new-comment-line): Improve.
8353 (octave-mode): Use auto fill mode through
8354 comment-line-break-function and fill-nobreak-predicate.
8355 (octave-goto-function-definition): Support DEFUN_DLD.
8356 (octave-beginning-of-defun): Small tweak.
8357 (octave-help): Show parent directory.
8358
8359 2013-05-21 Glenn Morris <rgm@gnu.org>
8360
8361 * files.el (dired-unmark):
8362 * progmodes/gud.el (gdb-input): Update declarations.
8363
8364 * calculator.el (electric, ehelp): No need to load when compiling.
8365 (Electric-command-loop, electric-describe-mode): Declare.
8366
8367 * doc-view.el (doc-view-current-converter-processes): Move before use.
8368
8369 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8370 Move MODE-set-explicitly definition before use.
8371
8372 * international/mule-diag.el (mule-diag):
8373 Don't use obsolete window-system-version.
8374
8375 * mail/feedmail.el (smtpmail): No need to load when compiling.
8376 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8377
8378 * mail/mail-utils.el (rfc822): No need to load when compiling.
8379 (rfc822-addresses): Autoload it.
8380 (mail-strip-quoted-names): Trivial simplification.
8381
8382 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8383 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8384
8385 * net/snmp-mode.el (tempo): Don't duplicate requires.
8386
8387 * progmodes/prolog.el (info): No need to load when compiling.
8388 (comint): Require before shell requires it.
8389 (Info-goto-node): Autoload it.
8390 (Info-follow-nearest-node): Declare.
8391 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8392
8393 * textmodes/artist.el (picture-mode-exit): Declare.
8394
8395 * textmodes/reftex-parse.el (reftex-parse-from-file):
8396 Trivial rewrite so the compiler can parse it better.
8397
8398 2013-05-20 Leo Liu <sdl.web@gmail.com>
8399
8400 * progmodes/octave.el (octave-help-mode-map)
8401 (octave-help-mode-finish-hook): New variables.
8402 (octave-help-mode, octave-help-mode-finish): New functions.
8403 (octave-help): Use octave-help-mode.
8404
8405 2013-05-20 Glenn Morris <rgm@gnu.org>
8406
8407 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8408
8409 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8410
8411 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8412 start at point, so that expansion starting right after opening
8413 slash in a regexp is recognized.
8414 (ruby-syntax-before-regexp-re): New defvar, extracted from
8415 ruby-syntax-propertize-function. Since the value of this regexp
8416 is looked up at runtime now, we should be able to turn
8417 `ruby-syntax-methods-before-regexp' into a defcustom later.
8418 (ruby-syntax-propertize-function): Split regexp matching into two
8419 parts, for opening and closing slashes. That allows us to skip
8420 over string interpolations and support multiline regexps.
8421 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8422 for them, which calls `ruby-syntax-propertize-expansion'.
8423 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8424 call to `ruby-syntax-propertize-function'.
8425 (ruby-syntax-propertize-expansion): Extracted from
8426 `ruby-syntax-propertize-expansions'. Handles one expansion.
8427 (ruby-syntax-propertize-percent-literal): Leave point right after
8428 the percent symbol, so that the expression expansion rule can
8429 propertize the contents.
8430 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8431 heredoc openers.
8432 (ruby-syntax-propertize-expansions): Remove.
8433
8434 2013-05-18 Juri Linkov <juri@jurta.org>
8435
8436 * man.el (Man-default-man-entry): Remove `-' from the end
8437 of the default value. (Bug#14400)
8438
8439 2013-05-18 Glenn Morris <rgm@gnu.org>
8440
8441 * comint.el (comint-password-prompt-regexp):
8442 Allow "password for XXX" where XXX contains colons (eg https://...).
8443
8444 2013-05-18 Leo Liu <sdl.web@gmail.com>
8445
8446 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8447 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8448 (octave-source-directories): Don't check process.
8449 (octave-source-directories, octave-find-definition): Doc fix.
8450
8451 2013-05-18 Glenn Morris <rgm@gnu.org>
8452
8453 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8454 Remove backspace/delete bindings. (Bug#14392)
8455
8456 * cus-dep.el (custom-make-dependencies): Sort the output.
8457 (custom-versions-load-alist): Convert comment to doc.
8458
8459 2013-05-17 Leo Liu <sdl.web@gmail.com>
8460
8461 * newcomment.el (comment-search-backward): Stricter in finding
8462 comment start. (Bug#14303)
8463
8464 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8465 (octave-comment-start-skip): Properly anchored.
8466
8467 2013-05-17 Leo Liu <sdl.web@gmail.com>
8468
8469 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8470 Clean up when turned off. (Bug#14395)
8471 (smie--highlight-matching-block-overlay): No longer buffer-local.
8472 (smie-highlight-matching-block): Adjust.
8473
8474 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8475
8476 Doc string fix for "nanoseconds" (Bug#14406).
8477 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8478 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8479
8480 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8481
8482 * calc/calc-units.el (math-extract-units): Preserve powers
8483 of units.
8484
8485 2013-05-17 Leo Liu <sdl.web@gmail.com>
8486
8487 * subr.el (delete-consecutive-dups): New function.
8488 * ido.el (ido-set-matches-1): Use it.
8489 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8490 * ido.el (ido-remove-consecutive-dups): Remove.
8491
8492 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8493
8494 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8495 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8496 regexp-opt's `words'.
8497
8498 2013-05-16 Leo Liu <sdl.web@gmail.com>
8499
8500 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8501 (smie--highlight-matching-block-overlay)
8502 (smie--highlight-matching-block-lastpos)
8503 (smie--highlight-matching-block-timer): New variables.
8504 (smie-highlight-matching-block): New function.
8505 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8506 (smie-setup): Conditionally enable smie-blink-matching-open.
8507
8508 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8509
8510 Sync with upstream verilog-mode r840.
8511 * progmodes/verilog-mode.el (verilog-mode-version)
8512 (verilog-mode-release-date): Update.
8513 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8514 (verilog-sig-tieoff): Fix string error on
8515 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8516 (verilog-read-decls): Fix parameters confusing
8517 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8518
8519 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8520
8521 * subr.el (reveal-filename): New function.
8522
8523 * loadup.el: Compute Emacs executable versions on MS-Windows,
8524 where executables have the .exe extension. Add a hard link
8525 emacs-XX.YY.ZZ.exe on MS-Windows.
8526
8527 * Makefile.in (XARGS_LIMIT): New variable.
8528 (custom-deps, finder-data, autoloads)
8529 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8530 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8531 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8532 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8533
8534 2013-05-16 Leo Liu <sdl.web@gmail.com>
8535
8536 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8537 (octave-mode-menu, octave-mode-map): Remove its uses.
8538
8539 2013-05-16 Reto Zimmermann <reto@gnu.org>
8540
8541 Sync with upstream vhdl mode v3.34.2.
8542 * progmodes/vhdl-mode.el: Use `push' throughout.
8543 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8544 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8545 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8546 (vhdl-actual-generic-name): New option to derive actual generic name.
8547 (vhdl-port-paste-signals): Replace formal by actual generics.
8548 (vhdl-beautify): New name for old group vhdl-align. Update users.
8549 (vhdl-beautify-options): New option.
8550 (vhdl-last-input-event): New compat alias. Use throughout.
8551 (vhdl-goto-line): Replace user level function `goto-line'.
8552 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8553 vhdl-fix-statement-buffer.
8554 (vhdl-create-mode-menu): Add some entries.
8555 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8556 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8557 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8558 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8559 to force statements on one line.
8560 (vhdl-remove-trailing-spaces-region):
8561 New, split from vhdl-remove-trailing-spaces.
8562 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8563 Respect vhdl-beautify-options.
8564 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8565 (vhdl-update-sensitivity-list): Not add with index if exists without.
8566 Not include array index with signal. Ignore keywords in comments.
8567 (vhdl-get-visible-signals): Regexp tweaks.
8568 (vhdl-template-component-inst): Handle empty library.
8569 (vhdl-template-type): Add template for 'enum' type.
8570 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8571 Use vhdl-replace-string.
8572 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8573 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8574 (vhdl-speedbar-initialize): Update for above name change.
8575 (vhdl-compose-wire-components): Fix in handling of constants.
8576 (vhdl-error-regexp-emacs-alist): New variable.
8577 (vhdl-error-regexp-add-emacs): New function;
8578 adds support for new compile.el (Emacs 22+)
8579 (vhdl-generate-makefile-1): Change target order for single lib. units.
8580 Allow use of absolute file names.
8581
8582 2013-05-16 Leo Liu <sdl.web@gmail.com>
8583
8584 * simple.el (prog-indent-sexp): Indent enclosing defun.
8585
8586 2013-05-15 Glenn Morris <rgm@gnu.org>
8587
8588 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8589 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8590 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8591 (whitespace-highlight): Move to whitespace group.
8592
8593 * comint.el (comint-source):
8594 * pcmpl-linux.el (pcmpl-linux):
8595 * shell.el (shell-faces):
8596 * eshell/esh-opt.el (eshell-opt):
8597 * international/ccl.el (ccl): Remove empty custom groups.
8598
8599 * completion.el (dynamic-completion-mode):
8600 * jit-lock.el (jit-lock-debug-mode):
8601 * minibuffer.el (completion-in-region-mode):
8602 * type-break.el (type-break-mode-line-message-mode)
8603 (type-break-query-mode):
8604 * emulation/tpu-edt.el (tpu-edt-mode):
8605 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8606 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8607 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8608
8609 * term/xterm.el (xterm): Change parent group to terminals.
8610
8611 * master.el (master): Remove empty custom group.
8612 (master-mode): Remove unused :group argument.
8613 * textmodes/refill.el (refill): Remove empty custom group.
8614 (refill-mode): Remove unused :group argument.
8615
8616 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8617
8618 * cus-dep.el: Provide a feature.
8619 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8620 Don't mistakenly ignore files whose basenames match a basename
8621 from preloaded-file-list (eg cedet/ede/simple.el).
8622 Add a fallback method for getting :group.
8623
8624 2013-05-15 Juri Linkov <juri@jurta.org>
8625
8626 * isearch.el (isearch-char-by-name): Rename from
8627 `isearch-insert-char-by-name'. Doc fix.
8628 (isearch-forward): Mention `isearch-char-by-name' in
8629 the docstring. (Bug#13348)
8630
8631 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8632 `exit-minibuffer' instead of
8633 `isearch-nonincremental-exit-minibuffer'.
8634 (isearch-edit-string): Remove mention of
8635 `isearch-nonincremental-exit-minibuffer' from docstring.
8636 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8637 (isearch-forward-exit-minibuffer)
8638 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8639
8640 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8641
8642 * loadup.el: Just use unversioned DOC.
8643
8644 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8645 literals as extending to EOB.
8646 (nxml-last-fontify-end): Remove unused variable.
8647 (nxml-after-change1): Use with-silent-modifications.
8648 (nxml-extend-after-change-region): Simplify.
8649 (nxml-extend-after-change-region1): Remove function.
8650 (nxml-after-change1): Don't adjust for dependent regions.
8651 (nxml-fontify-matcher): Simplify.
8652 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8653 (xmltok-add-dependent): Remove function.
8654 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8655 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8656 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8657 unclosed <[[, <?, comment, and other literals as extending to EOB.
8658 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8659 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8660 Remove functions.
8661 (rng-do-some-validation-1): Don't mark dependent regions.
8662 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8663 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8664 (nxml-clear-dependent-regions): Remove functions.
8665 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8666 (nxml-ensure-scan-up-to-date):
8667 Don't clear&mark dependent regions.
8668
8669 2013-05-15 Leo Liu <sdl.web@gmail.com>
8670
8671 * progmodes/octave.el (octave-goto-function-definition):
8672 Improve and fix callers.
8673
8674 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8675
8676 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8677 the setter (bug#14387).
8678
8679 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8680 surrounding group (bug#14402).
8681
8682 2013-05-14 Juri Linkov <juri@jurta.org>
8683
8684 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8685 (Bug#14390)
8686
8687 2013-05-14 Glenn Morris <rgm@gnu.org>
8688
8689 * progmodes/f90.el (f90-imenu-generic-expression):
8690 Fix typo in 2013-05-08 change. (Bug#14402)
8691
8692 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8693
8694 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8695 Remove signals for which replies are never received.
8696
8697 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8698
8699 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8700 (gdb-handler-alist, gdb-handler-number): Remove variables.
8701 (gdb-handler-list): New variable.
8702 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8703 (gdb-pending-handler-p, gdb-handle-reply)
8704 (gdb-remove-all-pending-triggers): New functions.
8705 (gdb-discard-unordered-replies): New defcustom.
8706 (gdb-handler): New defstruct.
8707 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8708 instead of gdb-pending-triggers. Update docstring.
8709 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8710 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8711 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8712 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8713 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8714 (gdb-frame-handler): Pending triggers are now automatically managed.
8715 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8716 Remove argument.
8717 (gdb-input): Automatically handles pending triggers. Update docstring.
8718 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8719 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8720 Update comments.
8721 (gdb-done-or-error): Now use gdb-handle-reply.
8722
8723 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8724
8725 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8726 gdb-debug-log.
8727
8728 2013-05-14 Glenn Morris <rgm@gnu.org>
8729
8730 * subr.el (user-emacs-directory-warning): New option.
8731 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8732
8733 2013-05-14 Leo Liu <sdl.web@gmail.com>
8734
8735 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8736 during redisplay.
8737 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8738 (octave-font-lock-texinfo-comment): Fix invalid search bound
8739 error: wrong side of point.
8740
8741 2013-05-14 Glenn Morris <rgm@gnu.org>
8742
8743 * progmodes/flymake.el (flymake-xml-program): New option.
8744 (flymake-xml-init): Use it.
8745
8746 * term/xterm.el: Provide a feature.
8747
8748 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8749
8750 2013-05-13 Glenn Morris <rgm@gnu.org>
8751
8752 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8753 Add compat aliases as a hack workaround. (Bug#14384)
8754
8755 2013-05-13 Leo Liu <sdl.web@gmail.com>
8756
8757 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8758 ###, and %!.
8759 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8760 C-M-q.
8761 (octave-comment-start-skip): Include %!.
8762 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8763
8764 2013-05-12 Leo Liu <sdl.web@gmail.com>
8765
8766 * progmodes/octave.el (inferior-octave-startup): Store the value
8767 of __octave_srcdir__ for octave-source-directories.
8768 (inferior-octave-check-process): New function refactored out of
8769 inferior-octave-send-list-and-digest.
8770 (octave-source-directories)
8771 (octave-find-definition-filename-function): New variables.
8772 (octave-source-directories)
8773 (octave-find-definition-default-filename): New functions.
8774 (octave-find-definition): Improve to find functions implemented in C++.
8775
8776 2013-05-12 Glenn Morris <rgm@gnu.org>
8777
8778 * calendar/diary-lib.el (diary-outlook-format-1):
8779 Don't include dayname in the output. (Bug#14349)
8780
8781 2013-05-11 Glenn Morris <rgm@gnu.org>
8782
8783 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8784
8785 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8786 Treat cc-provide like provide.
8787
8788 2013-05-11 Kevin Ryde <user42@zip.com.au>
8789
8790 * cus-dep.el (custom-make-dependencies):
8791 Use generated-autoload-load-name for the sake of files such
8792 such cedet/semantic/bovine/c.el, where the base file name
8793 is not in load-path. (Bug#5277)
8794
8795 2013-05-11 Glenn Morris <rgm@gnu.org>
8796
8797 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8798 Provide features.
8799
8800 2013-05-11 Leo Liu <sdl.web@gmail.com>
8801
8802 * progmodes/octave.el (octave-indent-comment): Improve.
8803 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8804 (octave-eldoc-function-signatures, octave-eldoc-function):
8805 New functions.
8806 (octave-mode, inferior-octave-mode): Add eldoc support.
8807
8808 2013-05-11 Richard Stallman <rms@gnu.org>
8809
8810 * epa.el (epa-decrypt-file): Take output file name as argument
8811 and read it using `interactive'.
8812
8813 2013-05-11 Leo Liu <sdl.web@gmail.com>
8814
8815 * progmodes/octave.el (octave-beginning-of-line)
8816 (octave-end-of-line): Check before using up-list because it jumps
8817 out of more syntactic contructs since moving to smie.
8818 (octave-indent-comment): New function.
8819 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8820 (octave-begin-keywords, octave-end-keywords)
8821 (octave-reserved-words, octave-smie-bnf-table)
8822 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8823
8824 2013-05-11 Glenn Morris <rgm@gnu.org>
8825
8826 * faces.el (internal-face-x-get-resource):
8827 * frame.el (ns-display-monitor-attributes-list):
8828 * calc/calc-aent.el (math-to-radians-2):
8829 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8830 Fix declarations.
8831
8832 * calc/calc-menu.el: Make it loadable in isolation.
8833
8834 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8835 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8836 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8837 (eudc-bbdb-query-internal): Require 'bbdb.
8838
8839 * lpr.el (lpr-headers-switches):
8840 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8841
8842 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8843
8844 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8845
8846 * term.el (term-set-escape-char): Make it idempotent.
8847
8848 2013-05-10 Leo Liu <sdl.web@gmail.com>
8849
8850 * progmodes/octave.el (inferior-octave-completion-table):
8851 No longer a function and all uses changed. Use cache to speed up
8852 completion due to bug#11906.
8853 (octave-beginning-of-defun): Re-write to be more general.
8854
8855 2013-05-10 Glenn Morris <rgm@gnu.org>
8856
8857 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8858
8859 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8860
8861 * comint.el (comint-redirect-send-command-to-process): Use :around
8862 rather than :override for comint-redirect-filter.
8863 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8864 Call it instead of comint-redirect-original-filter-function (which
8865 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8866
8867 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8868
8869 * frame.el (display-monitor-attributes-list): Add NS case.
8870 (ns-display-monitor-attributes-list): Declare.
8871
8872 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
8873
8874 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8875
8876 2013-05-09 Glenn Morris <rgm@gnu.org>
8877
8878 * international/fontset.el (vertical-centering-font-regexp):
8879 Set standard-value.
8880
8881 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8882
8883 * bookmark.el (bookmark-search-delay):
8884 * cus-start.el (vertical-centering-font-regexp):
8885 * ps-mule.el (ps-mule-font-info-database-default):
8886 * ps-print.el (ps-default-fg, ps-default-bg):
8887 * type-break.el (type-break-good-break-interval):
8888 * whitespace.el (whitespace-indentation-regexp)
8889 (whitespace-space-after-tab-regexp):
8890 * emacs-lisp/testcover.el (testcover-1value-functions)
8891 (testcover-noreturn-functions, testcover-progn-functions)
8892 (testcover-prog1-functions):
8893 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8894 * eshell/em-glob.el (eshell-glob-translate-alist):
8895 * play/tetris.el (tetris-tty-colors):
8896 * progmodes/cpp.el (cpp-face-default-list):
8897 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8898 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8899 (idlwave-help-browser-generic-args):
8900 * progmodes/make-mode.el (makefile-special-targets-list):
8901 * progmodes/python.el (python-shell-virtualenv-path):
8902 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8903 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8904 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8905 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8906 * textmodes/reftex-vars.el (reftex-format-label-function):
8907 * textmodes/remember.el (remember-diary-file): Fix custom types.
8908
8909 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8910 Add :version.
8911
8912 2013-05-09 Leo Liu <sdl.web@gmail.com>
8913
8914 * progmodes/octave.el (inferior-octave-completion-at-point):
8915 Restore file completion. (Bug#14300)
8916 (inferior-octave-startup): Fix incorrect highlighting for the
8917 first prompt.
8918
8919 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8920
8921 * progmodes/ruby-mode.el: First cut at SMIE support.
8922 (ruby-use-smie): New var.
8923 (ruby-smie-grammar): New constant.
8924 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8925 (ruby-smie--forward-token, ruby-smie--backward-token)
8926 (ruby-smie-rules): New functions.
8927 (ruby-mode-variables): Setup SMIE if applicable.
8928
8929 2013-05-08 Eli Zaretskii <eliz@gnu.org>
8930
8931 * simple.el (line-move-visual): Signal beginning/end of buffer
8932 only if vertical-motion moved less than it was requested. Avoids
8933 silly incorrect error messages when there are display strings with
8934 multiple newlines at EOL.
8935
8936 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8937
8938 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8939 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8940 (prolog-char-quote-workaround):
8941 * progmodes/cperl-mode.el (cperl-under-as-char):
8942 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8943 Mark as obsolete.
8944 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8945 their declaration.
8946 (vhdl-mode-syntax-table-init): Remove.
8947
8948 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8949 last change.
8950
8951 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8952 syntax for "_".
8953 (ld-script-font-lock-keywords):
8954 Change regexps to use things like \_< and \_>.
8955
8956 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8957 Change all regexps to use things like \_< and \_>.
8958
8959 * progmodes/autoconf.el (autoconf-definition-regexp)
8960 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8961 Handle a _ with symbol syntax.
8962 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8963
8964 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8965 Consolidate declaration.
8966 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8967 the declaration.
8968 (ada-create-syntax-table): Remove.
8969 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8970 already has the right syntax nowadays.
8971 (ada-goto-next-word): Don't change the syntax of "_".
8972
8973 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8974 with-wrapper-hook.
8975
8976 2013-05-08 Sam Steingold <sds@gnu.org>
8977
8978 * thingatpt.el (thing-at-point): Accept optional second argument
8979 NO-PROPERTIES to strip the text properties from the return value.
8980 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8981 to `thing-at-point' instead of stripping the properties ourselves.
8982 Also, when `thing-at-point' fails to find a url, prepend "http://"
8983 to the filename at point on the assumption that the user is
8984 pointing at something like gnu.org/gnu.
8985
8986 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
8987
8988 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8989 * faces.el (crm-separator):
8990 Silence byte-compiler.
8991
8992 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8993 (tool-bar-map): Remove unneeded defvars.
8994
8995 2013-05-08 Leo Liu <sdl.web@gmail.com>
8996
8997 Re-work a fix for bug#10994 based on Le Wang's patch.
8998 * ido.el (ido-remove-consecutive-dups): New helper.
8999 (ido-completing-read): Use it.
9000 (ido-chop): Revert fix for bug#10994.
9001
9002 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9003
9004 * cus-edit.el (custom-save-variables):
9005 Pretty-print long values. (Bug#14187)
9006
9007 2013-05-08 Glenn Morris <rgm@gnu.org>
9008
9009 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9010 (m4-mode-syntax-table): Init in the defvar.
9011 (m4-mode-abbrev-table): Let define-derived-mode define it.
9012
9013 2013-05-08 Tom Tromey <tromey@redhat.com>
9014
9015 * progmodes/m4-mode.el (m4-mode-syntax-table):
9016 Do not treat "_" as word constituent. (Bug#14167)
9017
9018 2013-05-07 Glenn Morris <rgm@gnu.org>
9019
9020 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9021 Remove explicit eshell-isearch-cancel-map.
9022
9023 * progmodes/f90.el (f90-smart-end-names): New option.
9024 (f90-smart-end): Doc fix.
9025 (f90-end-block-optional-name): New constant.
9026 (f90-block-match): Respect f90-smart-end-names.
9027
9028 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9029
9030 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9031 about implicit semi-colons (bug#14218).
9032
9033 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9034
9035 * frame.el (display-monitor-attributes-list)
9036 (frame-monitor-attributes): New functions.
9037
9038 2013-05-06 Leo Liu <sdl.web@gmail.com>
9039
9040 * progmodes/octave.el (octave-syntax-propertize-function): Change
9041 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9042 (octave-font-lock-keywords): Use octave-operator-regexp.
9043 (octave-completion-at-point): Rename from
9044 octave-completion-at-point-function.
9045 (inferior-octave-directory-tracker): Robustify.
9046 (octave-text-functions): Remove and fix its uses. No such things
9047 any more.
9048
9049 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9050
9051 * emacs-lisp/trace.el (trace--display-buffer): New function.
9052 (trace-make-advice): Use it.
9053
9054 2013-05-06 Juri Linkov <juri@jurta.org>
9055
9056 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9057 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9058 Doc fix.
9059 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9060 in the help string. (Bug#12985)
9061
9062 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9063
9064 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9065
9066 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9067
9068 * progmodes/perl-mode.el: Add support for here documents.
9069 (perl-syntax-propertize-function): Match here-doc markers.
9070 (perl-syntax-propertize-special-constructs): Find their end.
9071 (perl-imenu-generic-expression): Use [:alnum:].
9072
9073 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9074 (advice--add-function): Refresh the advice if already present
9075 (bug#14317).
9076
9077 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9078
9079 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9080
9081 2013-05-06 Glenn Morris <rgm@gnu.org>
9082
9083 * w32-fns.el (w32-charset-info-alist): Declare.
9084
9085 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9086 of its defcustom properties.
9087 (eshell-cmpl-initialize): No need to load pcomplete.
9088
9089 * generic-x.el: No need to require comint when compiling.
9090
9091 * net/eudc-export.el: Make it loadable without bbdb.
9092 (top-level): Use require rather than load-library.
9093 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9094 (eudc-batch-export-records-to-bbdb)
9095 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9096 Require bbdb.
9097
9098 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9099
9100 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9101 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9102 some tweaks, instead.
9103
9104 2013-05-05 Leo Liu <sdl.web@gmail.com>
9105
9106 * progmodes/octave.el (octave-font-lock-keywords)
9107 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9108 (inferior-octave-send-list-and-digest): Improve error message.
9109 (octave-mode, inferior-octave-mode): Use setq-local.
9110 (octave-help): Set info-lookup-mode.
9111
9112 2013-05-05 Richard Stallman <rms@gnu.org>
9113
9114 * vc/compare-w.el (compare-windows-whitespace):
9115 Treat no-break space as whitespace.
9116
9117 * mail/rmailsum.el (rmail-summary-rmail-update):
9118 Detect empty summary and don't change selected message.
9119 (rmail-summary-goto-msg): Likewise.
9120
9121 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9122 Doc fixes, rename args.
9123
9124 2013-05-05 Alan Mackenzie <acm@muc.de>
9125
9126 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9127
9128 2013-05-05 Juri Linkov <juri@jurta.org>
9129
9130 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9131 to not add the length of the summary segment to the return value.
9132 (Bug#14125)
9133
9134 2013-05-05 Leo Liu <sdl.web@gmail.com>
9135
9136 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9137 (inferior-octave-output-filter): Remove.
9138 (octave-send-region, inferior-octave-startup): Fix callers.
9139 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9140 (octave-binary-file-extensions): New user variable.
9141 (octave-find-definition): Confirm if opening binary files.
9142 (octave-help-file): Use octave-find-definition to get the binary
9143 confirmation.
9144 (octave-help): Adjust for octave-help-file change.
9145
9146 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9147
9148 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9149 Merge the two entries that handle function definitions.
9150 (pascal--syntax-propertize): New const.
9151 (pascal-mode): Use it. Use setq-local.
9152
9153 2013-05-04 Glenn Morris <rgm@gnu.org>
9154
9155 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9156 (diary-from-outlook): Respect diary-from-outlook-function.
9157
9158 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9159
9160 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9161 Move the declaration from C.
9162 (read-minibuffer, eval-minibuffer): Move from C.
9163 (completion-setup-function): Avoid minibuffer-completion-contents.
9164
9165 2013-05-03 Leo Liu <sdl.web@gmail.com>
9166
9167 * progmodes/octave.el (octave-font-lock-keywords): Do not
9168 dehighlight 'end' in comments or strings.
9169 (octave-completing-read, octave-goto-function-definition):
9170 New helpers.
9171 (octave-help-buffer): New user variable.
9172 (octave-help-file, octave-help-function): New button types.
9173 (octave-help): New command and bind it to C-h ;.
9174 (octave-find-definition): New command and bind it to M-.
9175 (user-error): Alias to error if not defined.
9176
9177 2013-05-02 Leo Liu <sdl.web@gmail.com>
9178
9179 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9180 for \. (bug#14332)
9181 (octave-font-lock-keywords): Include [ and {.
9182
9183 2013-05-02 Leo Liu <sdl.web@gmail.com>
9184
9185 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9186 (inferior-octave): Remove calling comint-mode and return the buffer.
9187 (inferior-octave-startup): Cosmetic changes.
9188
9189 2013-05-02 Leo Liu <sdl.web@gmail.com>
9190
9191 * progmodes/octave.el (octave-syntax-propertize-function):
9192 Include the case when ' is at line beginning. (Bug#14336)
9193
9194 2013-05-02 Glenn Morris <rgm@gnu.org>
9195
9196 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9197 * desktop.el (vc-dir-mode): Just autoload it here.
9198
9199 2013-05-02 Alan Mackenzie <acm@muc.de>
9200
9201 Eliminate variable c-standard-font-lock-fontify-region-function.
9202 * progmodes/cc-mode.el
9203 (c-standard-font-lock-fontify-region-function): Remove.
9204 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9205
9206 2013-05-01 Leo Liu <sdl.web@gmail.com>
9207
9208 * progmodes/octave.el: Compatible with older emacs-24 releases.
9209 (inferior-octave-has-built-in-variables): Remove. Built-in
9210 variables were removed from Octave in 2007.
9211 (inferior-octave-startup): Fix uses.
9212 (comint-line-beginning-position): Remove compatibility code for
9213 emacs 21.
9214
9215 2013-05-01 Juri Linkov <juri@jurta.org>
9216
9217 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9218
9219 2013-05-01 Juri Linkov <juri@jurta.org>
9220
9221 * comint.el (comint-previous-matching-input): Don't print message
9222 "History item: %d" when `isearch-mode' is active.
9223 (comint-history-isearch-message): Print message "History item: %d"
9224 when `comint-input-ring-index' is not empty and this function is
9225 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9226
9227 2013-05-01 Leo Liu <sdl.web@gmail.com>
9228
9229 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9230 definitions. Use completion-at-point to insert keywords.
9231 (octave-abbrev-start): Remove.
9232 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9233
9234 2013-04-30 Leo Liu <sdl.web@gmail.com>
9235
9236 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9237 change.
9238
9239 2013-04-30 Alan Mackenzie <acm@muc.de>
9240
9241 Handle arbitrarily long C++ member initialisation lists.
9242 * progmodes/cc-engine.el (c-back-over-member-initializers):
9243 new function.
9244 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9245 (most) member init lists.
9246
9247 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9248
9249 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9250 variable.
9251
9252 2013-04-30 Leo Liu <sdl.web@gmail.com>
9253
9254 * progmodes/octave.el (octave-variables): Remove. No builtin
9255 variables any more. All converted to functions.
9256 (octave-font-lock-keywords, octave-completion-at-point-function):
9257 Fix uses.
9258 (octave-font-lock-texinfo-comment): New user variable.
9259 (octave-texinfo-font-lock-keywords): New variable for texinfo
9260 comment block.
9261 (octave-function-comment-block): New face.
9262 (octave-font-lock-texinfo-comment): New function.
9263 (octave-mode): Font lock texinfo comment block.
9264
9265 2013-04-29 Leo Liu <sdl.web@gmail.com>
9266
9267 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9268 indexing expression.
9269 (octave-continuation-string): Do not use \.
9270 (inferior-octave-complete-impossible): Remove.
9271 (inferior-octave-completion-table)
9272 (inferior-octave-completion-at-point): Remove its uses.
9273 (inferior-octave-startup): completion_matches was introduced to
9274 Octave in 1996 so safe to assume it.
9275 (octave-function-file-comment): Improve to follow how Octave does it.
9276 (octave-update-function-file-comment): Tweak.
9277
9278 2013-04-29 Leo Liu <sdl.web@gmail.com>
9279
9280 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9281 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9282 (octave-function-file-comment): Fix typo.
9283 (octave-sync-function-file-names): Use read-char-choice.
9284
9285 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9286
9287 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9288 to t for the less important warnings.
9289
9290 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9291
9292 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9293
9294 2013-04-27 Glenn Morris <rgm@gnu.org>
9295
9296 * vc/log-view.el (log-view-current-entry):
9297 Treat "---" separator lines as part of the following rev. (Bug#14169)
9298
9299 2013-04-27 Juri Linkov <juri@jurta.org>
9300
9301 * subr.el (read-number): Doc fix about using it by interactive
9302 code letter `n'. (Bug#14254)
9303
9304 2013-04-27 Juri Linkov <juri@jurta.org>
9305
9306 * desktop.el (desktop-auto-save-timeout): New option.
9307 (desktop-file-checksum): New variable.
9308 (desktop-save): Add optional arg `auto-save' and don't auto-save
9309 if nothing changed.
9310 (desktop-auto-save-timer): New variable.
9311 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9312 (after-init-hook): Call `desktop-auto-save-set-timer'.
9313 Suggested by Reuben Thomas <rrt@sc3d.org> in
9314 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9315
9316 2013-04-27 Leo Liu <sdl.web@gmail.com>
9317
9318 * progmodes/octave.el (octave-function-file-p)
9319 (octave-skip-comment-forward, octave-function-file-comment)
9320 (octave-update-function-file-comment): New functions.
9321 (octave-mode-map): Bind C-c ; to
9322 octave-update-function-file-comment.
9323 (octave-mode-menu): Add octave-update-function-file-comment.
9324 (octave-mode, inferior-octave-mode): Fix doc-string.
9325 (octave-insert-defun): Conform to Octave's coding convention.
9326 (Bug#14285)
9327
9328 * files.el (basic-save-buffer): Don't let errors in
9329 before-save-hook prevent saving buffer.
9330
9331 2013-04-20 Roland Winkler <winkler@gnu.org>
9332
9333 * faces.el (read-face-name): Use completing-read if arg multiple
9334 is nil.
9335
9336 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9337
9338 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9339 displayed, move point to after the totals line.
9340 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9341 for the details.
9342
9343 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9344
9345 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9346 Add current dir to the load-path.
9347 (package-generate-autoloads): Don't rely on
9348 autoload-ensure-default-file.
9349
9350 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9351
9352 * textmodes/remember.el (remember-store-in-files): Document that
9353 the file name format is passed to `format-time-string'.
9354
9355 2013-04-26 Leo Liu <sdl.web@gmail.com>
9356
9357 * progmodes/octave.el (octave-sync-function-file-names): New function.
9358 (octave-mode): Use it in before-save-hook.
9359
9360 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9361
9362 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9363 (bug#14274).
9364
9365 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9366 \n and comment, even if it's not an implicit ; (bug#14218).
9367
9368 2013-04-26 Glenn Morris <rgm@gnu.org>
9369
9370 * subr.el (read-number): Once more use `read' rather than
9371 `string-to-number', to trap non-numeric input. (Bug#14254)
9372
9373 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9374
9375 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9376 Use `syntax-multiline' text property consistently instead of
9377 `font-lock-multiline'. (Bug#14237)
9378
9379 2013-04-26 Glenn Morris <rgm@gnu.org>
9380
9381 * emacs-lisp/shadow.el (list-load-path-shadows):
9382 No longer necessary to check for duplicate simple.el, since
9383 2012-07-07 change to init_lread to not include installation lisp
9384 directories in load-path when running uninstalled. (Bug#14270)
9385
9386 2013-04-26 Leo Liu <sdl.web@gmail.com>
9387
9388 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9389 (octave-mode, inferior-octave-mode): Use setq-local.
9390 (octave-not-in-string-or-comment-p): Rename to
9391 octave-in-string-or-comment-p.
9392 (octave-in-comment-p, octave-in-string-p)
9393 (octave-in-string-or-comment-p): Replace defsubst with defun.
9394
9395 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9396
9397 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9398
9399 2013-04-25 Bastien Guerry <bzg@gnu.org>
9400
9401 * textmodes/remember.el (remember-data-directory)
9402 (remember-directory-file-name-format): Fix custom types.
9403
9404 2013-04-25 Leo Liu <sdl.web@gmail.com>
9405
9406 * progmodes/octave.el (octave-completion-at-point-function):
9407 Make use of inferior octave process.
9408 (octave-initialize-completions): Remove.
9409 (inferior-octave-completion-table): New function.
9410 (inferior-octave-completion-at-point): Use it.
9411 (octave-completion-alist): Remove.
9412
9413 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9414
9415 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9416 (opascal-mode-syntax-table): New var.
9417 (opascal-literal-kind, opascal-is-literal-end)
9418 (opascal-literal-token-at): Rewrite.
9419 (opascal--literal-start-re, opascal-font-lock-keywords)
9420 (opascal--syntax-propertize): New constants.
9421 (opascal-font-lock-defaults): Adjust.
9422 (opascal-mode): Use them. Set comment-<foo> variables as well.
9423 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9424 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9425 (delphi-other-face, opascal-other-face): Remove face variables.
9426 (opascal-save-state): Remove macro.
9427 (opascal-fontifying-progress-step): Remove constant.
9428 (opascal--ignore-changes): Remove var.
9429 (opascal-set-token-property, opascal-parse-next-literal)
9430 (opascal-is-stable-literal, opascal-complete-literal)
9431 (opascal-is-literal-start, opascal-face-of)
9432 (opascal-parse-region, opascal-parse-region-until-stable)
9433 (opascal-fontify-region, opascal-after-change)
9434 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9435 (opascal-debug-parse-region, opascal-debug-parse-window)
9436 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9437 (opascal-debug-fontify-buffer): Remove.
9438 (opascal-debug-mode-map): Adjust accordingly.
9439
9440 2013-04-25 Leo Liu <sdl.web@gmail.com>
9441
9442 Merge octave-mod.el and octave-inf.el into octave.el with some
9443 cleanups.
9444 * progmodes/octave.el: New file renamed from octave-mod.el.
9445 * progmodes/octave-inf.el: Merged into octave.el.
9446 * progmodes/octave-mod.el: Renamed to octave.el.
9447
9448 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9449
9450 * textmodes/reftex-vars.el
9451 (reftex-label-ignored-macros-and-environments): New defcustom.
9452
9453 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9454
9455 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9456
9457 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9458 (smie-indent-keyword): Improve the check to ensure that the next
9459 comment is really on the same line.
9460 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9461
9462 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9463 semi-colons if the line is not otherwise empty (bug#14218).
9464
9465 2013-04-25 Glenn Morris <rgm@gnu.org>
9466
9467 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9468
9469 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9470
9471 * progmodes/opascal.el (opascal-set-token-property): Rename from
9472 opascal-set-text-properties and only set `token' (bug#14134).
9473 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9474 (opascal-literal-text-properties): Remove.
9475 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9476 Adjust callers.
9477
9478 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9479
9480 * textmodes/remember.el (remember-handler-functions): Add an
9481 option for a new handler `remember-store-in-files'.
9482 (remember-data-directory, remember-directory-file-name-format):
9483 New options.
9484 (remember-store-in-files): New function to store remember notes
9485 as separate files within a directory.
9486
9487 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9488
9489 * progmodes/compile.el (compilation-next-error-function):
9490 Pass "formats" to compilation-find-file (bug#11777).
9491
9492 2013-04-24 Glenn Morris <rgm@gnu.org>
9493
9494 * vc/vc-bzr.el (vc-bzr-print-log):
9495 * vc/vc-hg.el (vc-hg-print-log):
9496 * vc/vc-svn.el (vc-svn-print-log):
9497 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9498
9499 * vc/vc-bzr.el (vc-bzr-print-log):
9500 * vc/vc-cvs.el (vc-cvs-print-log):
9501 * vc/vc-git.el (vc-git-print-log):
9502 * vc/vc-hg.el (vc-hg-print-log):
9503 * vc/vc-mtn.el (vc-mtn-print-log):
9504 * vc/vc-rcs.el (vc-rcs-print-log):
9505 * vc/vc-sccs.el (vc-sccs-print-log):
9506 * vc/vc-svn.el (vc-svn-print-log):
9507 * vc/vc.el (vc-print-log-internal): Doc fixes.
9508
9509 2013-04-23 Glenn Morris <rgm@gnu.org>
9510
9511 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9512 Remove venerable code attempting to avoid substitute-command-keys.
9513
9514 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9515
9516 * textmodes/reftex-vars.el (reftex-label-regexps):
9517 Call `reftex-compile-variables' after changes to this variable.
9518
9519 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9520
9521 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9522 Use lexical-binding.
9523 (jit-lock-force-redisplay): Use markers, check buffer's continued
9524 existence and beware narrowed buffers.
9525 (jit-lock-fontify-now): Adjust call accordingly.
9526
9527 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9528
9529 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9530 to avoid misleading the user.
9531
9532 2013-04-22 Leo Liu <sdl.web@gmail.com>
9533
9534 * info-look.el: Prefer latex2e.info. (Bug#14240)
9535
9536 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9537
9538 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9539
9540 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9541 * net/tramp.el (tramp-call-process): ... here.
9542 (tramp-set-completion-function, tramp-parse-putty):
9543 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9544 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9545 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9546 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9547 (tramp-call-local-coding-command): Use `tramp-call-process'
9548 instead of `tramp-compat-call-process'.
9549
9550 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9551 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9552 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9553 (tramp-find-inline-compress): Improve traces.
9554 (tramp-maybe-send-script): Check for Perl binary.
9555 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9556
9557 2013-04-22 Daiki Ueno <ueno@gnu.org>
9558
9559 * epg.el (epg-context-pinentry-mode): New function.
9560 (epg-context-set-pinentry-mode): New function.
9561 (epg--start): Pass --pinentry-mode option to gpg command.
9562
9563 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9564
9565 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9566 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9567 `completion-at-point'. (Bug#13774)
9568
9569 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9570 default key binding for `describe-distribution' has been moved to
9571 `C-h C-o'. (Bug#13970)
9572
9573 2013-04-21 Glenn Morris <rgm@gnu.org>
9574
9575 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9576 Add doc strings.
9577 (vc-print-log): Clarify interactive prompt.
9578
9579 2013-04-20 Glenn Morris <rgm@gnu.org>
9580
9581 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9582 No longer include timestamp etc information.
9583
9584 2013-04-20 Roland Winkler <winkler@gnu.org>
9585
9586 * faces.el (read-face-name): Bug fix, return just one face if arg
9587 multiple is nil. (Bug#14209)
9588
9589 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9590
9591 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9592 (remove-function): Autoload.
9593
9594 * comint.el (comint-redirect-original-filter-function): Remove.
9595 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9596 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9597 (vc-cvs-annotate-command):
9598 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9599 * progmodes/prolog.el (prolog-consult-compile):
9600 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9601 Use add/remove-function instead.
9602 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9603 (gud-tooltip-process-output, gud-tooltip-tips):
9604 Use add/remove-function instead.
9605 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9606 (scheme-interaction-mode, exit-scheme-interaction-mode):
9607 Use add/remove-function instead.
9608
9609 * vc/vc-dispatcher.el: Use lexical-binding.
9610 (vc--process-sentinel): Rename from vc-process-sentinel.
9611 Change last arg to be the code to run. Don't use vc-previous-sentinel
9612 and vc-sentinel-commands any more.
9613 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9614 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9615
9616 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9617
9618 * progmodes/sh-script.el (sh-imenu-generic-expression):
9619 Handle function names with a single character. (Bug#14111)
9620
9621 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9622
9623 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9624 for subroutines defined in an eval (bug#14182).
9625
9626 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9627
9628 * bookmark.el (bookmark-completing-read): Improve handling of empty
9629 string (bug#14176).
9630
9631 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9632
9633 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9634
9635 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9636
9637 New faster Imenu implementation (bug#14058).
9638 * progmodes/python.el:
9639 (python-imenu-prev-index-position):
9640 (python-imenu-format-item-label-function)
9641 (python-imenu-format-parent-item-label-function)
9642 (python-imenu-format-parent-item-jump-label-function):
9643 New vars.
9644 (python-imenu-format-item-label)
9645 (python-imenu-format-parent-item-label)
9646 (python-imenu-format-parent-item-jump-label)
9647 (python-imenu--put-parent, python-imenu--build-tree)
9648 (python-imenu-create-index, python-imenu-create-flat-index)
9649 (python-util-popn): New functions.
9650 (python-mode): Set imenu-create-index-function to
9651 python-imenu-create-index.
9652
9653 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9654
9655 * winner.el (winner-active-region): Use region-active-p, activate-mark
9656 and deactivate-mark (bug#14225).
9657
9658 * simple.el (deactivate-mark): Don't inline it.
9659
9660 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9661
9662 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9663
9664 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9665
9666 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9667 file extensions from the archive-mode entry in order to prefer
9668 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9669
9670 2013-04-18 Leo Liu <sdl.web@gmail.com>
9671
9672 * bindings.el (help-event-list): Add ?\?.
9673
9674 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9675
9676 * subr.el (with-wrapper-hook): Declare obsolete.
9677 * simple.el (filter-buffer-substring-function): New hook.
9678 (filter-buffer-substring): Use it.
9679 (filter-buffer-substring-functions): Mark obsolete.
9680 * minibuffer.el (completion-in-region-function): New hook.
9681 (completion-in-region): Use it.
9682 (completion-in-region-functions): Mark obsolete.
9683 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9684 * abbrev.el (abbrev-expand-function): New hook.
9685 (expand-abbrev): Use it.
9686 (abbrev-expand-functions): Mark obsolete.
9687 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9688 and :filter-return.
9689
9690 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9691
9692 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9693 and do not care about match data.
9694
9695 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9696
9697 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9698 completion tables when completing error conditions and
9699 `declare' arguments.
9700 (lisp-complete-symbol, field-complete): Mark as obsolete.
9701 (check-parens): Unmatched parens are user errors.
9702 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9703
9704 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9705
9706 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9707 command changed buffer (ie. `flyspell-pre-buffer' is not current
9708 buffer), which prevents making decisions based on invalid value of
9709 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9710 cause an error when `flyspell-pre-point' was nil after switching
9711 buffers.
9712 (flyspell-post-command-hook): No longer needs to change buffers when
9713 checking pre-word. While at it remove unnecessary progn.
9714
9715 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9716
9717 * textmodes/ispell.el (ispell-add-per-file-word-list):
9718 Fix `flyspell-correct-word-before-point' error when accepting
9719 words and `coment-padding' is an integer by using
9720 `comment-normalize-vars' (Bug #14214).
9721
9722 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9723
9724 New defun movement commands.
9725 * progmodes/python.el (python-nav--syntactically)
9726 (python-nav--forward-defun, python-nav-backward-defun)
9727 (python-nav-forward-defun): New functions.
9728
9729 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9730
9731 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9732 (python-syntax-context): Use named compiler-macro for backwards
9733 compatibility with Emacs 24.x.
9734
9735 2013-04-17 Leo Liu <sdl.web@gmail.com>
9736
9737 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9738 octave-hide-process-buffer.
9739
9740 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9741
9742 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9743 (bug#14216).
9744
9745 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9746
9747 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9748 Fix adjustment of offset when receiving incomplete responses from GDB
9749 (bug#14129).
9750
9751 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9752
9753 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9754 python-mode-abbrev-table.
9755 (python-skeleton-define): Adjust accordingly.
9756 (python-mode-abbrev-table): New table that inherits from it so that
9757 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9758
9759 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9760 (abbrev-symbol): Use it.
9761 (abbrev--before-point): Use it since we already handle inheritance.
9762
9763 2013-04-16 Leo Liu <sdl.web@gmail.com>
9764
9765 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9766 binding to info-lookup-symbol.
9767
9768 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9769
9770 * minibuffer.el (completion--twq-all):
9771 * term/ns-win.el (ns-initialize-window-system):
9772 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9773
9774 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9775
9776 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9777 global bindings.
9778
9779 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9780
9781 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9782
9783 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9784 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9785 to nil.
9786 (ruby-end-of-defun): Remove the unused arg, change the docstring
9787 to reflect that this function is only used as the value of
9788 `end-of-defun-function'.
9789 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9790 to reflect an earlier change that beginning/end-of-defun functions
9791 jump between methods in a class definition, as well as top-level
9792 functions.
9793
9794 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9795
9796 * minibuffer.el (minibuffer-complete): Don't just scroll
9797 a *Completions* that's been iconified.
9798 (minibuffer-force-complete): Make sure repetitions do cycle when going
9799 through completion-in-region -> minibuffer-complete.
9800
9801 2013-04-15 Alan Mackenzie <acm@muc.de>
9802
9803 Correct the placement of c-cpp-delimiters when there're #s not at
9804 col 0.
9805
9806 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9807 place a submatch around the #.
9808 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9809 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9810 on the #, not BOL.
9811
9812 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9813
9814 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9815 (advice--member-p): New arg `name'.
9816 (advice--add-function, advice-member-p): Use it (bug#14202).
9817
9818 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9819
9820 Reformulate java imenu-generic-expression.
9821 The old expression contained ill formed regexps.
9822
9823 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9824 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9825 (cc-imenu-java-method-arg-regexp): New defconsts.
9826 (cc-imenu-java-build-type-args-regex): New defun.
9827 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9828 handling of spaces in the regexp.
9829
9830 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9831
9832 * textmodes/ispell.el (ispell-command-loop): Remove
9833 flyspell highlight of a word when ispell accepts it (bug #14178).
9834
9835 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9836
9837 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9838 uses code from the previous `ange-ftp-run-real-handler'.
9839 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9840 only in case that function exist. This is needed for proper
9841 unloading of Tramp.
9842
9843 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9844
9845 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9846
9847 * textmodes/reftex.el (reftex-compile-variables): Use it.
9848
9849 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9850
9851 * files.el (normal-mode): Only use default major-mode if no other mode
9852 was specified.
9853
9854 * emacs-lisp/trace.el (trace-values): New function.
9855
9856 * files.el: Allow : in local variables (bug#14089).
9857 (hack-local-variable-regexp): New var.
9858 (hack-local-variables-prop-line, hack-local-variables): Use it.
9859
9860 2013-04-13 Roland Winkler <winkler@gnu.org>
9861
9862 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9863 data before it gets modified by bibtex-beginning-of-entry.
9864
9865 2013-04-13 Roland Winkler <winkler@gnu.org>
9866
9867 * textmodes/bibtex.el (bibtex-url): Doc fix.
9868
9869 2013-04-13 Roland Winkler <winkler@gnu.org>
9870
9871 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9872 does not visit a BibTeX file, exclude it from the list of buffers
9873 returned by bibtex-initialize.
9874
9875 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
9876
9877 * window.el (split-window): Remove interactive form, since as a
9878 command this function is a special case of split-window-below.
9879 Correct doc string.
9880
9881 2013-04-12 Roland Winkler <winkler@gnu.org>
9882
9883 * faces.el (read-face-name): Do not override value of arg default.
9884 Allow single faces and strings as default values. Remove those
9885 elements from return value that are not faces.
9886 (describe-face): Simplify.
9887 (face-at-point): New optional args thing and multiple so that this
9888 function can provide the same functionality previously provided by
9889 read-face-name.
9890 (make-face-bold, make-face-unbold, make-face-italic)
9891 (make-face-unitalic, make-face-bold-italic, invert-face)
9892 (modify-face, read-face-and-attribute): Use face-at-point.
9893
9894 * cus-edit.el (customize-face, customize-face-other-window)
9895 * cus-theme.el (custom-theme-add-face)
9896 * face-remap.el (buffer-face-set)
9897 * facemenu.el (facemenu-set-face): Use face-at-point.
9898
9899 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
9900
9901 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9902
9903 2013-04-10 Tassilo Horn <tsdh@gnu.org>
9904
9905 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9906 off leading { and trailing } from field values.
9907
9908 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9909
9910 * emacs-lisp/timer.el (timer--check): New function.
9911 (timer--time, timer-set-function, timer-event-handler): Use it.
9912 (timer-set-idle-time): Simplify.
9913 (timer--activate): CSE.
9914 (timer-event-handler): Give more info in error message.
9915 (internal-timer-start-idle): New function, moved from C.
9916
9917 * mpc.el (mpc-proc): Add `restart' argument.
9918 (mpc-proc-cmd): Use it.
9919 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9920 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9921 less often.
9922
9923 2013-04-10 Masatake YAMATO <yamato@redhat.com>
9924
9925 * progmodes/sh-script.el: Implement `sh-mode' own
9926 `add-log-current-defun-function' (bug#14112).
9927 (sh-current-defun-name): New function.
9928 (sh-mode): Use the function.
9929
9930 2013-04-09 Bastien Guerry <bzg@gnu.org>
9931
9932 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9933
9934 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9935
9936 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9937
9938 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9939 timer (bug#14156).
9940
9941 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9942
9943 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9944 declaration.
9945
9946 2013-04-07 Leo Liu <sdl.web@gmail.com>
9947
9948 * pcmpl-x.el: New file.
9949
9950 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9951
9952 Do not set x-display-name until X connection is established.
9953 This is needed to prevent from weird situation described at
9954 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9955 * frame.el (make-frame): Set x-display-name after call to
9956 window system initialization function, not before.
9957 * term/x-win.el (x-initialize-window-system): Add optional
9958 display argument and use it.
9959 * term/w32-win.el (w32-initialize-window-system):
9960 * term/ns-win.el (ns-initialize-window-system):
9961 * term/pc-win.el (msdos-initialize-window-system):
9962 Add compatible optional display argument.
9963
9964 2013-04-06 Eli Zaretskii <eliz@gnu.org>
9965
9966 * files.el (normal-backup-enable-predicate): On MS-Windows and
9967 MS-DOS compare truenames of temporary-file-directory and of the
9968 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9969 don't fail comparison by compare-strings. Also, compare file
9970 names case-insensitively on MS-Windows and MS-DOS.
9971
9972 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9973
9974 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9975 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9976
9977 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9978
9979 * whitespace.el (whitespace-color-on, whitespace-color-off):
9980 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9981
9982 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
9983
9984 * ispell.el (ispell-set-spellchecker-params):
9985 Really set `ispell-args' for all equivs.
9986
9987 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9988
9989 * ido.el (ido-completions): Use extra elements of ido-decorations
9990 (bug#14143).
9991 (ido-decorations): Update docstring.
9992
9993 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
9994
9995 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9996 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9997 nil during initialization, in order not to miss changes since the
9998 file was opened. (Bug#14140)
9999
10000 2013-04-05 Leo Liu <sdl.web@gmail.com>
10001
10002 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10003
10004 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10005
10006 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10007
10008 2013-04-04 Glenn Morris <rgm@gnu.org>
10009
10010 * electric.el (electric-pair-inhibit-predicate): Add :version.
10011
10012 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10013
10014 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10015 when a package is required several times (bug#14082).
10016
10017 2013-04-04 Roland Winkler <winkler@gnu.org>
10018
10019 * faces.el (read-face-name): Behave as promised by the docstring.
10020 Assume that arg default is a list of faces.
10021 (describe-face): Call read-face-name with list of default faces.
10022
10023 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10024
10025 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10026 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10027 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10028 the header.
10029 (bookmark-exit-hook-internal): Save even if list is empty.
10030
10031 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10032
10033 * emacs-lisp/package.el (package-pinned-packages): New var.
10034 (package--add-to-archive-contents): Obey it (bug#14118).
10035
10036 2013-04-03 Alan Mackenzie <acm@muc.de>
10037
10038 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10039 Also adapt to the new values of element 7 of a parse state.
10040
10041 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10042 parameter `not-in-delimiter'. Handle being inside comment opener.
10043 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10044 character in case we're typing a '*' after a '/'.
10045 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10046 instead by passing the parameter to c-state-pp-to-literal.
10047
10048 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10049 for elt. 7 of a parse state.
10050
10051 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10052
10053 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10054 * international/latin1-disp.el, international/mule-util.el:
10055 * language/cyril-util.el, language/european.el, language/ind-util.el:
10056 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10057 * language/tibetan.el, language/viet-util.el:
10058 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10059
10060 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10061
10062 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10063 (electric-pair-post-self-insert-function): Use it.
10064 (electric-pair-default-inhibit): New function, extracted from
10065 electric-pair-post-self-insert-function.
10066
10067 2013-03-31 Roland Winkler <winkler@gnu.org>
10068
10069 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10070
10071 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10072
10073 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10074
10075 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10076
10077 Un-indent after "pass" and "return" statements (Bug#13888)
10078 * progmodes/python.el (python-indent-block-enders): New var.
10079 (python-indent-calculate-indentation): Use it.
10080
10081 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10082
10083 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10084 defun. Defining it as defalias could introduce too eager
10085 byte-compiler optimization. (Bug#14030)
10086
10087 2013-03-30 Chong Yidong <cyd@gnu.org>
10088
10089 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10090
10091 2013-03-30 Leo Liu <sdl.web@gmail.com>
10092
10093 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10094 (kmacro-execute-from-register): Pass the keyboard macro to
10095 kmacro-call-macro or repeating won't work correctly.
10096
10097 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10098
10099 * progmodes/subword.el: Back to using `forward-symbol'.
10100
10101 * subr.el (forward-whitespace, forward-symbol)
10102 (forward-same-syntax): Move from thingatpt.el.
10103
10104 2013-03-29 Leo Liu <sdl.web@gmail.com>
10105
10106 * kmacro.el (kmacro-to-register): New command.
10107 (kmacro-execute-from-register): New function.
10108 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10109
10110 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10111
10112 * mpc.el: Use defvar-local and setq-local.
10113 (mpc--proc-connect): Connection failures are not bugs.
10114 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10115 (mpc-volume-map): Bind to the up-events.
10116
10117 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10118
10119 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10120 instead of `forward-symbol'.
10121
10122 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10123
10124 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10125 (edebug--recursive-edit): Use it.
10126 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10127 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10128
10129 2013-03-28 Leo Liu <sdl.web@gmail.com>
10130
10131 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10132
10133 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10134
10135 * facemenu.el (list-colors-callback): New defvar.
10136 (list-colors-redisplay): New function.
10137 (list-colors-display): Install list-colors-redisplay as the
10138 revert-buffer-function. (Bug#14063)
10139
10140 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10141
10142 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10143 and suffixes don't overlap (bug#14061).
10144
10145 * case-table.el: Use lexical-binding.
10146 (case-table-get-table): New function.
10147 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10148
10149 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10150
10151 * progmodes/subword.el: Add `superword-mode' to do word motion
10152 over symbol_words (parallels and leverages `subword-mode' which
10153 does word motion inside MixedCaseWords).
10154
10155 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10156
10157 * eshell/em-unix.el: Move su and sudo to...
10158 * eshell/em-tramp.el: ...Eshell tramp module.
10159
10160 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10161
10162 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10163 Change return value to be a sexp. Delay `get-buffer' to after
10164 restoring the desktop (bug#13951).
10165
10166 2013-03-26 Leo Liu <sdl.web@gmail.com>
10167
10168 * register.el: Move semantic tag handling back to
10169 cedet/semantic/senator.el. (Bug#14052)
10170
10171 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10172
10173 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10174 into the prompt either (bug#13963).
10175
10176 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10177
10178 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10179 part of "(error-foo)".
10180
10181 2013-03-24 Juri Linkov <juri@jurta.org>
10182
10183 * replace.el (list-matching-lines-prefix-face): New defcustom.
10184 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10185 `occur-engine' if `face-differs-from-default-p' returns t.
10186 (occur-engine): Add `,' inside backquote construct to evaluate
10187 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10188 Pass `prefix-face' to the functions `occur-context-lines' and
10189 `occur-engine-add-prefix'.
10190 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10191 `prefix-face' and propertize the prefix with `prefix-face'.
10192 (Bug#14017)
10193
10194 2013-03-24 Leo Liu <sdl.web@gmail.com>
10195
10196 * nxml/rng-valid.el (rng-validate-while-idle)
10197 (rng-validate-quick-while-idle): Guard against deleted buffer.
10198 (Bug#13999)
10199
10200 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10201 is the last entry in kill-buffer-hook.
10202
10203 * files.el (kill-buffer-hook): Doc fix.
10204
10205 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10206
10207 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10208 Make it safe-local.
10209
10210 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10211
10212 2013-03-23 Leo Liu <sdl.web@gmail.com>
10213
10214 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10215 Remove.
10216
10217 * nxml/rng-valid.el (rng-validate-mode)
10218 (rng-after-change-function, rng-do-some-validation):
10219 * nxml/rng-maint.el (rng-validate-buffer):
10220 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10221 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10222 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10223 (nxml-extend-after-change-region): Use with-silent-modifications.
10224
10225 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10226 timer-idle-list.
10227
10228 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10229 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10230 timer-idle-list. (Bug#13999)
10231
10232 2013-03-23 Juri Linkov <juri@jurta.org>
10233
10234 * info.el (info-index-match): New face.
10235 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10236 main pattern and add text properties with the new face to matches
10237 in index entries relative to the beginning of the index entry.
10238 (Bug#14015)
10239
10240 2013-03-21 Eric Ludlam <zappo@gnu.org>
10241
10242 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10243 Inhibit read only while inserting objects.
10244
10245 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10246
10247 * progmodes/cfengine.el: Update docs to mention
10248 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10249 symbol motion. Remove "_" from the word syntax.
10250
10251 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10252
10253 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10254 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10255
10256 2013-03-20 Juri Linkov <juri@jurta.org>
10257
10258 * info.el (Info-next-reference-or-link)
10259 (Info-prev-reference-or-link): New functions.
10260 (Info-next-reference, Info-prev-reference): Use them.
10261 (Info-try-follow-nearest-node): Handle footnote navigation.
10262 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10263
10264 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10265
10266 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10267 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10268
10269 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10270
10271 Suppress unnecessary non-ASCII chatter during build process.
10272 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10273 (batch-skkdic-convert): Suppress most of the chatter.
10274 It's not needed so much now that machines are faster,
10275 and its non-ASCII component was confusing; see Dmitry Gutov in
10276 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10277
10278 2013-03-20 Leo Liu <sdl.web@gmail.com>
10279
10280 * ido.el (ido-chop): Fix bug#10994.
10281
10282 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10283
10284 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10285 Remove vars.
10286 (whitespace-color-on, whitespace-color-off):
10287 Use `font-lock-fontify-buffer' (Bug#13817).
10288
10289 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10290
10291 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10292 remapping in mode-line.
10293 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10294
10295 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10296
10297 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10298 value for `whitespace-line' face (Bug#13875).
10299 (whitespace-font-lock-keywords): Change description.
10300 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10301 the constructed keywords instead.
10302 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10303
10304 2013-03-19 Leo Liu <sdl.web@gmail.com>
10305
10306 * progmodes/compile.el (compilation-display-error): New command.
10307 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10308 C-o. (Bug#13992)
10309
10310 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10311
10312 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10313
10314 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10315
10316 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10317
10318 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10319
10320 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10321
10322 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10323 * net/tramp-gvfs.el (top):
10324 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10325 (tramp-handle-shell-command): Use it.
10326 (tramp-dissect-file-name): Raise an error when hostname is a
10327 method name, and neither method nor user is specified.
10328
10329 * net/trampver.el: Update release number.
10330
10331 2013-03-18 Leo Liu <sdl.web@gmail.com>
10332
10333 Make sure eldoc can be turned off properly.
10334 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10335 eldoc-mode.
10336 (eldoc-display-message-p): Revert last change.
10337 (eldoc-display-message-no-interference-p)
10338 (eldoc-print-current-symbol-info): Tweak.
10339
10340 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10341
10342 * doc-view.el (doc-view-new-window-function): Check the new window
10343 overlay's display property instead the char property of the
10344 buffer's first char. Use `with-selected-window' instead of
10345 `save-window-excursion' with `select-window'.
10346 (doc-view-document->bitmap): Check the current doc-view overlay's
10347 display property instead the char property of the buffer's first char.
10348
10349 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10350
10351 Automate the build of ja-dic.el (Bug#13984).
10352 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10353 from the input, rather than assume that it's been done for us by the
10354 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10355 the current date into a ja-dic.el comment, as that complicates
10356 regression testing.
10357
10358 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10359
10360 * whitespace.el: Fix double evaluation.
10361 (whitespace-space, whitespace-hspace, whitespace-tab)
10362 (whitespace-newline, whitespace-trailing, whitespace-line)
10363 (whitespace-space-before-tab, whitespace-indentation)
10364 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10365 obsolete defvars.
10366 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10367 (whitespace-color-on): Use a single font-lock-add-keywords call.
10368 Fix double-evaluation of face variables.
10369
10370 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10371
10372 * net/tramp-adb.el (tramp-adb-parse-device-names):
10373 Use `start-process' instead of `call-process'. Otherwise, the
10374 function might be blocked under MS Windows. (Bug#13299)
10375
10376 2013-03-17 Leo Liu <sdl.web@gmail.com>
10377
10378 Extend eldoc to display info in the mode-line. (Bug#13978)
10379 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10380 (eldoc-mode-line-string): New variable.
10381 (eldoc-minibuffer-message): New function.
10382 (eldoc-message-function): New variable.
10383 (eldoc-message): Use it.
10384 (eldoc-display-message-p)
10385 (eldoc-display-message-no-interference-p):
10386 Support eldoc-post-insert-mode.
10387
10388 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10389 (eval-expression): Run it.
10390
10391 2013-03-17 Roland Winkler <winkler@gnu.org>
10392
10393 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10394 strings in the list of return values.
10395
10396 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10397
10398 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10399 radix before checking for HMS forms.
10400
10401 2013-03-16 Leo Liu <sdl.web@gmail.com>
10402
10403 * progmodes/scheme.el: Add indentation and font-locking for λ.
10404 (Bug#13975)
10405
10406 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10407
10408 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10409 token before point (bug#13942).
10410
10411 2013-03-16 Leo Liu <sdl.web@gmail.com>
10412
10413 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10414
10415 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10416
10417 * startup.el (command-line-normalize-file-name): Fix handling of
10418 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10419 <xfq.free@gmail.com> in
10420 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10421
10422 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10423
10424 Sync with Tramp 2.2.7.
10425
10426 * net/trampver.el: Update release number.
10427
10428 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10429
10430 * doc-view.el: Fix bug#13887.
10431 (doc-view-insert-image): Don't modify overlay associated to
10432 non-live windows, and implement horizontal centering of image in
10433 case it's smaller than the window.
10434 (doc-view-new-window-function): Force redisplay of new windows on
10435 doc-view buffers.
10436
10437 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10438
10439 * saveplace.el (save-place-alist-to-file): Don't sort
10440 `save-place-alist', just pretty-print it (bug#13882).
10441
10442 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10443
10444 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10445 Check whether `default-file-name-coding-system' is bound.
10446 It isn't in XEmacs.
10447
10448 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10449
10450 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10451 backquotes for `obsolete' (bug#13929).
10452
10453 * international/mule.el (find-auto-coding): Include file name in
10454 obsolescence warning (bug#13922).
10455
10456 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10457
10458 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10459 for CFEngine 3-specific indentation.
10460 (cfengine3-indent-line): Use it. Fix up category regex.
10461 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10462
10463 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10464
10465 * type-break.el (type-break-file-name):
10466 * textmodes/remember.el (remember-data-file):
10467 * strokes.el (strokes-file):
10468 * shadowfile.el (shadow-initialize):
10469 * saveplace.el (save-place-file):
10470 * ps-bdf.el (bdf-cache-file):
10471 * progmodes/idlwave.el (idlwave-config-directory):
10472 * net/quickurl.el (quickurl-url-file):
10473 * international/kkc.el (kkc-init-file-name):
10474 * ido.el (ido-save-directory-list-file):
10475 * emulation/viper.el (viper-custom-file-name):
10476 * emulation/vip.el (vip-startup-file):
10477 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10478 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10479
10480 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10481
10482 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10483 * language/thai-word.el: Switch to UTF-8.
10484
10485 See ChangeLog.16 for earlier changes.
10486
10487 ;; Local Variables:
10488 ;; coding: utf-8
10489 ;; End:
10490
10491 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10492
10493 This file is part of GNU Emacs.
10494
10495 GNU Emacs is free software: you can redistribute it and/or modify
10496 it under the terms of the GNU General Public License as published by
10497 the Free Software Foundation, either version 3 of the License, or
10498 (at your option) any later version.
10499
10500 GNU Emacs is distributed in the hope that it will be useful,
10501 but WITHOUT ANY WARRANTY; without even the implied warranty of
10502 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10503 GNU General Public License for more details.
10504
10505 You should have received a copy of the GNU General Public License
10506 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.