* files.el (require-final-newline): Allow safe local value.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-07-10 Leo Liu <sdl.web@gmail.com>
2
3 * files.el (require-final-newline): Allow safe local value.
4 (Bug#14834)
5
6 2013-07-09 Leo Liu <sdl.web@gmail.com>
7
8 * ido.el (ido-read-directory-name): Handle fallback.
9 (ido-read-file-name): Update DIR to ido-current-directory.
10 (Bug#1516)
11 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
12
13 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
14
15 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
16 "autoload". Remove "warn lower camel case" section, previously
17 commented out. Highlight negation char. Do not highlight the
18 target in singleton method definitions.
19
20 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21
22 * faces.el (tty-setup-hook): Declare the hook.
23
24 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
25 and detect when a guard/pred depends on local vars (bug#14773).
26 (pcase--u1): Adjust caller.
27
28 2013-07-08 Eli Zaretskii <eliz@gnu.org>
29
30 * simple.el (line-move-partial, line-move): Account for
31 line-spacing.
32 (line-move-partial): Avoid setting vscroll when the last
33 partially-visible line in window is of default height.
34
35 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
36
37 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
38 been used a while.
39
40 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
41
42 * subr.el (read-quoted-char): Remove unused local variable `char'.
43
44 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
45
46 * ediff.el (ediff-version): Version update.
47 (ediff-files-command, ediff3-files-command, ediff-merge-command)
48 (ediff-merge-with-ancestor-command, ediff-directories-command)
49 (ediff-directories3-command, ediff-merge-directories-command)
50 (ediff-merge-directories-with-ancestor-command): New functions.
51 All are command-line interfaces to ediff: to facilitate calling
52 Emacs with the appropriate ediff functions invoked.
53
54 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
55 (viper-save-kill-buffer): Check if buffer is modified.
56
57 * viper.el (viper-version): Version update.
58 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
59
60 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
61
62 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
63 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
64 (viper-intercept-ESC-key): Simplify.
65 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
66 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
67 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
68 (viper-setup-ESC-to-escape): New functions.
69 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
70 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
71
72 2013-07-07 Eli Zaretskii <eliz@gnu.org>
73
74 * simple.el (default-font-height, window-screen-lines):
75 New functions.
76 (line-move, line-move-partial): Use them instead of
77 frame-char-height and window-text-height. This makes scrolling
78 text smoother when the buffer's default face uses a font that is
79 different from the frame's default font.
80
81 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
82
83 * files.el (write-file): Do not display confirm dialog for NS,
84 it does its own dialog, which can't be cancelled (Bug#14578).
85
86 2013-07-06 Eli Zaretskii <eliz@gnu.org>
87
88 * simple.el (line-move-partial): Adjust the row returned by
89 posn-at-point for the current window-vscroll. (Bug#14567)
90
91 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
92
93 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
94 (tramp-sh-file-inotifywait-process-filter): Handle file names with
95 spaces.
96
97 2013-07-06 Martin Rudalics <rudalics@gmx.at>
98
99 * window.el (window-state-put-stale-windows): New variable.
100 (window--state-put-2): Save list of windows without matching buffer.
101 (window-state-put): Remove "bufferless" windows if possible.
102
103 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
104
105 * simple.el (alternatives-define): Remove leftover :group keyword.
106 Tweak docstring.
107
108 2013-07-06 Leo Liu <sdl.web@gmail.com>
109
110 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
111 (ido-enable-virtual-buffers): New variable.
112 (ido-buffer-internal, ido-toggle-virtual-buffers)
113 (ido-make-buffer-list): Use it.
114 (ido-exhibit): Support turning on and off virtual buffers
115 automatically.
116
117 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
118
119 * simple.el (alternatives-define): New macro.
120
121 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
122
123 * subr.el (read-quoted-char): Use read-key.
124 (sit-for): Let read-event decode tty input (bug#14782).
125
126 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
127
128 * calendar/todo-mode.el: Add handling of file deletion, both by
129 mode command and externally. Fix various related bugs.
130 Clarify Commentary and improve some documentation strings and code.
131 (todo-delete-file): New command.
132 (todo-check-file): New function.
133 (todo-show): Handle external deletion of the file we're trying to
134 show (bug#14688). Replace called-interactively-p by an optional
135 prefix argument to avoid problematic interaction with catch form
136 when byte compiled (bug#14702).
137 (todo-quit): Handle external deletion of the archive's todo file.
138 Make sure the buffer that was visiting the archive file is still
139 live before trying to bury it.
140 (todo-category-completions): Handle external deletion of any
141 category completion files.
142 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
143 of todo files, in case of external deletion.
144 (todo-add-file): Replace unnecessary setq by let-binding.
145 (todo-find-archive): Check whether there are any archives.
146 Replace unnecessary setq by let-binding.
147 (todo-archive-done-item): Use find-file-noselect to get the
148 archive buffer whether or not the archive already exists.
149 Remove superfluous code. Use file size instead of buffer-file-name to
150 check if the archive is new; if it is, update list of archives.
151 (todo-default-todo-file): Allow nil to be a valid value for when
152 there are no todo files.
153 (todo-reevaluate-default-file-defcustom): Use corrected definition
154 of todo-default-todo-file.
155 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
156 (todo-delete-category, todo-show-categories-table)
157 (todo-category-number): Clarify comment.
158 (todo-filter-items): Clarify documentation string.
159 (todo-show-current-file, todo-display-as-todo-file)
160 (todo-reset-and-enable-done-separator): Tweak documentation string.
161 (todo-done-separator): Make separator length window-width, since
162 bug#2749 is now fixed.
163
164 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
165
166 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
167 Support both "gvfs-monitor-dir" and "inotifywait".
168 (tramp-sh-file-inotifywait-process-filter): Rename from
169 `tramp-sh-file-notify-process-filter'.
170 (tramp-sh-file-gvfs-monitor-dir-process-filter)
171 (tramp-get-remote-gvfs-monitor-dir): New defuns.
172
173 2013-07-05 Leo Liu <sdl.web@gmail.com>
174
175 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
176
177 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
178
179 * frame.el (display-pixel-height, display-pixel-width)
180 (display-mm-height, display-mm-width): Mention behavior on
181 multi-monitor setups in docstrings.
182 (w32-display-monitor-attributes-list): Declare function.
183 (display-monitor-attributes-list): Use it.
184
185 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
186
187 * filenotify.el: New package.
188
189 * autorevert.el (top): Require filenotify.el.
190 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
191 instead.
192 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
193 (auto-revert-notify-handler): Use `file-notify-*' functions.
194
195 * subr.el (file-notify-handle-event): Move function to filenotify.el.
196
197 * net/tramp.el (tramp-file-name-for-operation):
198 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
199
200 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
201 for `file-notify-add-watch' and `file-notify-rm-watch'.
202 (tramp-process-sentinel): Improve trace.
203 (tramp-sh-handle-file-notify-add-watch)
204 (tramp-sh-file-notify-process-filter)
205 (tramp-sh-handle-file-notify-rm-watch)
206 (tramp-get-remote-inotifywait): New defuns.
207
208 2013-07-03 Juri Linkov <juri@jurta.org>
209
210 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
211 call of `occur-read-primary-args' to interactive spec.
212
213 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
214 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
215
216 2013-07-03 Matthias Meulien <orontee@gmail.com>
217
218 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
219 `Buffer-menu-multi-occur'. Add it to the menu.
220 (Buffer-menu-mode): Document it in docstring.
221 (Buffer-menu-multi-occur): New command. (Bug#14673)
222
223 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
224
225 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
226 keywords and built-ins.
227
228 2013-07-03 Glenn Morris <rgm@gnu.org>
229
230 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
231
232 Make info-xref checks case-sensitive by default
233 * info.el (Info-find-node, Info-find-in-tag-table)
234 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
235 Add option for exact case matching of nodes.
236 * info-xref.el (info-xref): New custom group.
237 (info-xref-case-fold): New option.
238 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
239
240 2013-07-03 Leo Liu <sdl.web@gmail.com>
241
242 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
243
244 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
245
246 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
247 middle of block statement initially, lower the depth. Remove
248 FIXME comment, not longer valid. Remove middle of block statement
249 detection, no need to do that anymore since we've been using
250 `ruby-parse-region' here.
251
252 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
253
254 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
255
256 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
257
258 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
259
260 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
261
262 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
263 (desktop-restore-in-current-display): New customization option.
264 (desktop--excluded-frame-parameters): Add `font'.
265 (desktop--save-frames): Rename from desktop--save-windows.
266 (desktop--restore-in-this-display-p): New function.
267 (desktop--make-full-frame): Remove unwanted width/height from
268 full(width|height) frames.
269 (desktop--restore-frames): Rename from desktop--restore-windows.
270 Obey desktop-restore-current-display. Do not delete old frames or
271 select a new frame unless we were able to restore at least one frame.
272
273 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
274
275 * files.el (find-file-noselect): Simplify conditional expression.
276
277 * remember.el (remember-append-to-file):
278 Don't mix `find-buffer-visiting' and `get-file-buffer'.
279
280 Add `remember-notes' function to store random notes across Emacs
281 restarts.
282 * remember.el (remember-data-file): Add :set callback to affect
283 notes buffer (if any).
284 (remember-notes): New command.
285 (remember-notes-buffer-name, bury-remember-notes-on-kill):
286 New defcustoms for the `remember-notes' function.
287 (remember-notes-save-and-bury-buffer): New command.
288 (remember-notes-mode-map): New variable.
289 (remember-mode): New minor mode.
290 (remember-notes--kill-buffer-query): New function.
291 * startup.el (initial-buffer-choice): Add notes to custom type.
292
293 2013-06-30 Eli Zaretskii <eliz@gnu.org>
294
295 * bindings.el (right-char, left-char): Don't call sit-for, this is
296 no longer needed. Use arithmetic comparison only for numerical
297 arguments.
298
299 * international/mule-cmds.el (select-safe-coding-system):
300 Handle the case of FROM being a string correctly. (Bug#14755)
301
302 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
303
304 * net/shr.el (shr-make-table-1): Add a sanity check that allows
305 progression on degenerate tables.
306 (shr-rescale-image): ImageMagick animated images currently don't work.
307
308 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
309
310 Some fixes and improvements for desktop frame restoration.
311 It is still experimental and disabled by default.
312 * desktop.el (desktop--save-windows): Put the selected frame at
313 the head of the list.
314 (desktop--make-full-frame): New function.
315 (desktop--restore-windows): Try to re-select the frame that was
316 selected upon saving. Do not abort if some frames fail to restore,
317 just show an error message and continue. Set up maximized frames
318 so they have default non-maximized dimensions.
319
320 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
321
322 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
323 Don't start heredoc inside a string or comment.
324
325 2013-06-29 Eli Zaretskii <eliz@gnu.org>
326
327 * bindings.el (visual-order-cursor-movement): New defcustom.
328 (right-char, left-char): Provide visual-order cursor motion by
329 calling move-point-visually. Update the doc strings.
330
331 2013-06-28 Kenichi Handa <handa@gnu.org>
332
333 * international/mule.el (define-coding-system): New coding system
334 properties :inhibit-null-byte-detection,
335 :inhibit-iso-escape-detection, and :prefer-utf-8.
336 (set-buffer-file-coding-system): If :charset-list property of
337 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
338 appropriate for setting.
339
340 * international/mule-cmds.el (select-safe-coding-system):
341 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
342 multibyte characters, return utf-8 (or one of its siblings).
343
344 * international/mule-conf.el (prefer-utf-8): New coding system.
345 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
346 files.
347
348 2013-06-28 Ivan Kanis <ivan@kanis.fr>
349
350 * net/shr.el (shr-render-region): New function.
351
352 * net/eww.el: Autoload `eww-browse-url'.
353
354 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
355
356 * emacs-lisp/package-x.el (package-upload-buffer-internal):
357 Adapt to `package-desc-version' being a list.
358 Use `package--ac-desc-version' to retrieve version from a package
359 archive element.
360
361 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
362
363 New experimental feature to save&restore window and frame setup.
364 * desktop.el (desktop-save-windows): New defcustom.
365 (desktop--saved-states): New var.
366 (desktop--excluded-frame-parameters): New defconst.
367 (desktop--filter-frame-parms, desktop--find-frame-in-display)
368 (desktop--restore-windows, desktop--save-windows): New functions.
369 (desktop-save): Call `desktop--save-windows'.
370 (desktop-read): Call `desktop--restore-windows'.
371
372 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
373
374 * net/shr.el (add-face-text-property): Remove compat definition.
375
376 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
377
378 * info.el (Info-try-follow-nearest-node): Move search for footnote
379 above search for node name to prevent missing a footnote (bug#14717).
380
381 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
382
383 * obsolete/otodo-mode.el: Add obsolescence info to file header.
384
385 2013-06-27 Leo Liu <sdl.web@gmail.com>
386
387 * net/eww.el (eww-read-bookmarks): Check file size.
388
389 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
390
391 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
392 advice--pending if newdef is nil or an autoload (bug#13820).
393 (advice-mapc): New function.
394
395 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
396
397 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
398 probably.
399 (eww-mode-map): Add a menu bar.
400 (eww-add-bookmark): New command.
401 (eww-bookmark-mode): New mode and commands.
402 (eww-add-bookmark): Remove newlines from the title.
403 (eww-bookmark-browse): Don't bug out if it's the only window.
404
405 2013-06-26 Glenn Morris <rgm@gnu.org>
406
407 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
408 (hfy-size): Handle ttys. (Bug#14668)
409
410 * info-xref.el: Update for Texinfo 5 change in *note format.
411 (info-xref-node-re, info-xref-note-re): New constants.
412 (info-xref-check-buffer): Use info-xref-note-re.
413
414 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
415
416 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
417
418 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
419 nil terminate the loop (bug#14718).
420
421 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
422
423 * net/eww.el: Rework history traversal. When going forward/back,
424 put these actions into the history, too, so that they can be
425 replayed.
426 (eww-render): Move the history reset to the correct buffer.
427
428 2013-06-25 Juri Linkov <juri@jurta.org>
429
430 * files-x.el (modify-dir-local-variable): Change the header comment
431 in the file with directory local variables. (Bug#14692)
432
433 * files-x.el (read-file-local-variable-value): Add `default'.
434 (Bug#14710)
435
436 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
437
438 * net/eww.el (eww-make-unique-file-name): Create a unique file
439 name before saving to entering `y' accidentally asynchronously.
440
441 2013-06-25 Ivan Kanis <ivan@kanis.fr>
442
443 * net/eww.el (eww-download): New command and keystroke.
444
445 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
446
447 * net/eww.el (eww-copy-page-url): Change name of command.
448
449 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
450 be more consistent with Info and dired.
451
452 * net/eww.el (eww-mode-map): Ditto.
453
454 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
455
456 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
457 packages from archives.
458 (package-archive-contents): Change format; include obsolete packages.
459 (package-desc): Use `dir' to mark builtin packages.
460 (package--from-builtin): Set the `dir' field to `builtin'.
461 (generated-autoload-file, version-control): Declare.
462 (package-compute-transaction): Change first arg and return value to be
463 lists of package-descs. Adjust to new package-archive-contents format.
464 (package--add-to-archive-contents): Adjust to new
465 package-archive-contents format.
466 (package-download-transaction): Arg is now a list of package-descs.
467 (package-install): If `pkg' is a package name, pass it as
468 a requirement, so it is subject to the usual (e.g. disabled) checks.
469 (describe-package): Accept package-desc as well.
470 (describe-package-1): Describe a specific package-desc. Add links to
471 other package-descs for the same package name.
472 (package-menu-describe-package): Pass the actual package-desc.
473 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
474 works correctly.
475 (package-desc-status): New function.
476 (package-menu--refresh): New function, extracted
477 from package-menu--generate.
478 (package-menu--generate): Use it.
479 (package-delete): Update package-alist.
480 (package-menu-execute): Don't call package-initialize.
481
482 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
483 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
484 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
485 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
486 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
487 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
488
489 2013-06-25 Martin Rudalics <rudalics@gmx.at>
490
491 * window.el (window--state-get-1): Workaround for bug#14527.
492 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
493
494 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
495
496 * net/eww.el (eww-back-url): Implement the history by stashing all
497 the data into a list.
498 (eww-forward-url): Allow going forward in the history, too.
499
500 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
501
502 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
503 for values and use read--expression for expressions (bug#14710).
504 (read-file-local-variable): Avoid setq.
505 (read-file-local-variable-mode): Use minor-mode-list.
506
507 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
508
509 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
510 for DOI URLs.
511
512 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
513
514 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
515 Update imenu-support when dialect changes.
516
517 2013-06-25 Leo Liu <sdl.web@gmail.com>
518
519 * ido.el (ido-read-internal): Allow forward slash on windows.
520
521 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
522
523 * net/eww.el (eww): Start of strings is \\`, not ^.
524
525 2013-06-24 Ivan Kanis <ivan@kanis.fr>
526
527 * net/shr.el (shr-browse-url): Fix interactive spec.
528
529 * net/eww.el (eww): Add a trailing slash to domain names.
530
531 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
532
533 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
534
535 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
536
537 * net/shr.el (shr-browse-url): Use an external browser if given a
538 prefix.
539
540 * net/eww.el (eww-external-browser): Move to shr.
541
542 2013-06-24 Ivan Kanis <ivan@kanis.fr>
543
544 * net/eww.el (eww): Work more correctly for file: URLs.
545 (eww-detect-charset): Allow quoted charsets.
546 (eww-yank-page-url): New command and keystroke.
547
548 2013-06-24 Daiki Ueno <ueno@gnu.org>
549
550 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
551 file name of gpg executable.
552 (epg-context-program): New function.
553 (epg-context-home-directory): New function.
554 (epg-context-set-program): New function.
555 (epg-context-set-home-directory): New function.
556 (epg--start): Use `epg-context-program' instead of
557 'epg-gpg-program'.
558 (epg--list-keys-1): Likewise.
559
560 2013-06-24 Leo Liu <sdl.web@gmail.com>
561
562 * ido.el (ido-read-internal): Fix bug#14620.
563
564 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
565
566 * faces.el (face-documentation): Simplify.
567 (read-face-attribute, tty-find-type, x-resolve-font-name):
568 Use `string-match-p'.
569 (list-faces-display): Use `string-match-p'. Simplify.
570 (face-spec-recalc): Check face to avoid face alias loops.
571 (read-color): Use `string-match-p' and non-capturing parenthesis.
572
573 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
574
575 * net/shr.el (shr-rescale-image): Use the new
576 :max-width/:max-height functionality.
577
578 2013-06-23 Ivan Kanis <ivan@kanis.fr>
579
580 * net/eww.el (eww-search-prefix): New variable.
581 (eww): Use it.
582 (eww-external-browser): New variable.
583 (eww-mode-map): New keystroke.
584 (eww-browse-with-external-browser): New command.
585
586 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
587
588 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
589
590 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
591 Don't skip aligning the next header field when padding is 0;
592 otherwise, field width is not respected unless the title is as
593 wide as the field.
594
595 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
596
597 * emacs-lisp/package.el (package-el-version): Remove.
598 (package-process-define-package): Fix inf-loop.
599 (package-install): Allow symbols as arguments again.
600
601 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
602
603 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
604 add some more keyword-like methods.
605 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
606
607 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
608
609 * bs.el (bs-buffer-show-mark): Make defvar-local.
610 (bs-mode): Use setq-local.
611
612 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
613 (emacs-lock--try-unlocking): Make defvar-local.
614
615 2013-06-22 Glenn Morris <rgm@fencepost.gnu.org>
616
617 * play/cookie1.el (cookie-apropos): Minor simplification.
618
619 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
620
621 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
622
623 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
624 `regexp-opt', it breaks the build during dumping.
625
626 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
627
628 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
629 Highlight keyword-like methods on Kernel and Module with
630 font-lock-builtin-face.
631 (auto-mode-alist): Consolidate different entries into one regexp
632 and add more *file-s.
633
634 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
635
636 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
637
638 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
639 (diary-entry): Use it in the action of this button type instead of
640 diary-goto-entry.
641
642 * calendar/todo-mode.el: New version.
643 (todo-add-category): Append new category to end of file and give
644 it the highest number, instead of putting it at the beginning and
645 giving it 0. Incorporate noninteractive functionality.
646 (todo-forward-category): Adapt to 1-based category numbering.
647 Allow skipping over archived categories.
648 (todo-backward-category): Derive from todo-forward-category.
649 (todo-backward-item, todo-forward-item): Make noninteractive and
650 delegate interactive part to new commands. Make sensitive to done items.
651 (todo-categories): Make value an alist of category names and
652 vectors of item counts.
653 (todo-category-beg): Make a defconst.
654 (todo-category-number): Use 1 instead of 0 as initial value.
655 (todo-category-select): Make sensitive to overlays, optional item
656 highlighting and done items.
657 (todo-delete-item): Make sensitive to overlays and marked and done items.
658 (todo-edit-item): Make sensitive to overlays and editing of
659 date/time header optional. Add format checks.
660 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
661 no-op if point is not on an item. Advertise using todo-edit-quit.
662 (todo-edit-mode): Make sensitive to new format, font-locking, and
663 multiple todo files.
664 (todo-insert-item, todo-insert-item-here): Derive from
665 todo-basic-insert-item and extend functionality.
666 (todo-item-end, todo-item-start): Make sensitive to done items.
667 (todo-item-string): Don't return text properties. Restore point.
668 (todo-jump-to-category): Make sensitive to multiple todo files and
669 todo archives. Use extended category completion.
670 (todo-lower-item, todo-raise-item): Rename to *-priority and
671 derive from todo-set-item-priority.
672 (todo-mode): Derive from special-mode. Make sensitive to new
673 format, font-locking and multiple todo files. Make read-only.
674 (todo-mode-map): Don't suppress digit keys, so they can supply
675 prefix arguments. Add many new key bindings.
676 (todo-prefix): Insert as an overlay instead of file text.
677 Change semantics from diary date expression to purely visual mark.
678 (todo-print): Rename to todo-print-buffer. Make buffer display
679 features printable. Remove option to restrict number of items
680 printed. Add option to print to file.
681 (todo-print-function): Rename to todo-print-buffer-function.
682 (todo-quit): Extend to handle exiting new todo modes.
683 (todo-remove-item): Make sensitive to overlays.
684 (todo-save): Extend to buffers of filtered items.
685 (todo-show): Make sensitive to done items, multiple todo files and
686 new todo modes. Offer to convert legacy todo file before creating
687 first new todo file.
688 (todo-show-priorities): Rename to todo-top-priorities.
689 Change semantics of value 0.
690 (todo-top-priorities): Rename to todo-filter-top-priorities,
691 derive from todo-filter-items and extend functionality.
692 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
693 and extend functionality to other types of filtered items.
694 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
695 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
696 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
697 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
698 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
699 (todo-edit-mode-hook, todo-entry-prefix-function)
700 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
701 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
702 (todo-initials, todo-insert-threshold, todo-item-string-start)
703 (todo-line-string, todo-menu, todo-mode-hook)
704 (todo-more-important-p, todo-previous-answer, todo-previous-line)
705 (todo-print-priorities, todo-remove-separator)
706 (todo-save-top-priorities-too, todo-string-count-lines)
707 (todo-string-multiline-p, todo-time-string-format)
708 (todo-tmp-buffer-name): Remove.
709 (todo-add-file, todo-archive-done-item, todo-choose-archive)
710 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
711 (todo-edit-category-diary-inclusion)
712 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
713 (todo-edit-file, todo-edit-item-date-day)
714 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
715 (todo-edit-item-date-month, todo-edit-item-date-to-today)
716 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
717 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
718 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
719 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
720 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
721 (todo-filter-top-priorities-multifile, todo-find-archive)
722 (todo-find-filtered-items-file, todo-go-to-source-item)
723 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
724 (todo-jump-to-archive-category, todo-lower-category)
725 (todo-mark-category, todo-marked-item-p, todo-merge-category)
726 (todo-move-category, todo-move-item, todo-next-button)
727 (todo-next-item, todo-padded-string, todo-powerset)
728 (todo-previous-button, todo-previous-item)
729 (todo-print-buffer-to-file, todo-raise-category)
730 (todo-rename-category, todo-repair-categories-sexp, todo-search)
731 (todo-set-category-number, todo-set-item-priority)
732 (todo-set-top-priorities-in-category)
733 (todo-set-top-priorities-in-file, todo-show-categories-table)
734 (todo-sort-categories-alphabetically-or-numerically)
735 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
736 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
737 (todo-toggle-item-header, todo-toggle-item-highlighting)
738 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
739 (todo-toggle-view-done-items, todo-toggle-view-done-only)
740 (todo-unarchive-items, todo-unmark-category): New commands.
741 (todo-absolute-file-name, todo-add-to-buffer-list)
742 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
743 (todo-basic-insert-item, todo-category-completions)
744 (todo-category-number, todo-category-string-matcher-1)
745 (todo-category-string-matcher-2, todo-check-filtered-items-file)
746 (todo-check-format, todo-clear-matches)
747 (todo-comment-string-matcher, todo-convert-legacy-date-time)
748 (todo-current-category, todo-date-string-matcher)
749 (todo-define-insertion-command, todo-diary-expired-matcher)
750 (todo-diary-goto-entry, todo-diary-item-p)
751 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
752 (todo-display-categories, todo-display-sorted, todo-done-item-p)
753 (todo-done-item-section-p, todo-done-separator)
754 (todo-done-string-matcher, todo-files, todo-filter-items)
755 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
756 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
757 (todo-insert-category-line, todo-insert-item-from-calendar)
758 (todo-insert-sort-button, todo-insert-with-overlays)
759 (todo-insertion-command-name, todo-insertion-key-bindings)
760 (todo-label-to-key, todo-longest-category-name-length)
761 (todo-make-categories-list, todo-mode-external-set)
762 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
763 (todo-modes-set-3, todo-multiple-filter-files)
764 (todo-nondiary-marker-matcher, todo-prefix-overlays)
765 (todo-read-category, todo-read-date, todo-read-dayname)
766 (todo-read-file-name, todo-read-time)
767 (todo-reevaluate-category-completions-files-defcustom)
768 (todo-reevaluate-default-file-defcustom)
769 (todo-reevaluate-filelist-defcustoms)
770 (todo-reevaluate-filter-files-defcustom)
771 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
772 (todo-reset-done-separator, todo-reset-done-separator-string)
773 (todo-reset-done-string, todo-reset-global-current-todo-file)
774 (todo-reset-highlight-item, todo-reset-nondiary-marker)
775 (todo-reset-prefix, todo-set-categories)
776 (todo-set-date-from-calendar, todo-set-show-current-file)
777 (todo-set-top-priorities, todo-short-file-name)
778 (todo-show-current-file, todo-sort, todo-time-string-matcher)
779 (todo-total-item-counts, todo-update-buffer-list)
780 (todo-update-categories-display, todo-update-categories-sexp)
781 (todo-update-count, todo-validate-name, todo-y-or-n-p):
782 New functions.
783 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
784 New major modes.
785 (todo-categories, todo-display, todo-edit, todo-faces)
786 (todo-filtered): New defgroups.
787 (todo-archived-only, todo-button, todo-category-string, todo-date)
788 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
789 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
790 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
791 (todo-add-item-if-new-category, todo-always-add-time-string)
792 (todo-categories-align, todo-categories-archived-label)
793 (todo-categories-category-label, todo-categories-diary-label)
794 (todo-categories-done-label, todo-categories-number-separator)
795 (todo-categories-todo-label, todo-categories-totals-label)
796 (todo-category-completions-files, todo-completion-ignore-case)
797 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
798 (todo-done-separator-string, todo-done-string)
799 (todo-files-function, todo-filter-done-items, todo-filter-files)
800 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
801 (todo-initial-category, todo-initial-file, todo-item-mark)
802 (todo-legacy-date-time-regexp, todo-mode-line-function)
803 (todo-nondiary-marker, todo-number-prefix)
804 (todo-print-buffer-function, todo-show-current-file)
805 (todo-show-done-only, todo-show-first, todo-show-with-done)
806 (todo-skip-archived-categories, todo-top-priorities-overrides)
807 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
808 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
809 New defcustoms.
810 (todo-category-done, todo-date-pattern, todo-date-string-start)
811 (todo-diary-items-buffer, todo-done-string-start)
812 (todo-filtered-items-buffer, todo-item-start)
813 (todo-month-abbrev-array, todo-month-name-array)
814 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
815 (todo-top-priorities-buffer): New defconsts.
816 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
817 (todo-categories-with-marks, todo-category-string-face)
818 (todo-comment-face, todo-comment-string, todo-current-todo-file)
819 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
820 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
821 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
822 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
823 (todo-font-lock-keywords, todo-global-current-todo-file)
824 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
825 (todo-insertion-commands-args)
826 (todo-insertion-commands-args-genlist)
827 (todo-insertion-commands-names, todo-insertion-map)
828 (todo-key-bindings-t, todo-key-bindings-t+a)
829 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
830 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
831 (todo-nondiary-face, todo-print-buffer, todo-time-face)
832 (todo-visited): New variables.
833
834 2013-06-21 Glenn Morris <rgm@gnu.org>
835
836 * play/cookie1.el (cookie-apropos): Add optional display argument.
837 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
838 (psychoanalyze-pinhead): Use cookie-doctor.
839
840 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
841
842 * emacs-lisp/package.el (tar-get-file-descriptor)
843 (tar--extract): Declare.
844
845 2013-06-21 Eduard Wiebe <usenet@pusto.de>
846
847 Extend flymake's warning predicate to be a function (bug#14217).
848 * progmodes/flymake.el (flymake-warning-predicate): New.
849 (flymake-parse-line): Use it.
850 (flymake-warning-re): Make obsolete alias to
851 `flymake-warning-predicate'.
852
853 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
854
855 * emacs-lisp/package.el (package-alist): Include obsolete packages.
856 (package-obsolete-list): Remove.
857 (package-activate): Remove min-version argument. Add `force' argument.
858 Adjust to new package-alist format.
859 (package-mark-obsolete): Remove.
860 (package-unpack): Force reload of the package's autoloads.
861 (package-installed-p): Check builtins if the installed package is not
862 recent enough.
863 (package-initialize): Don't reset package-obsolete-list.
864 Don't specify which package version to activate.
865 (package-process-define-package, describe-package-1)
866 (package-menu--generate): Adjust to new package-alist format.
867
868 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
869
870 * allout-widgets.el (allout-widgets-mode-off)
871 (allout-widgets-mode-on, allout-widgets-pre-command-business)
872 (allout-widgets-post-command-business)
873 (allout-widgets-after-copy-or-kill-function)
874 (allout-widgets-after-undo-function, allout-test-range-overlaps)
875 (allout-decorate-item-and-context)
876 (allout-graphics-modification-handler): Fix typos in docstrings.
877 (allout-get-or-create-parent-widget): Use `looking-at-p'.
878
879 * cmuscheme.el (scheme-start-file): Doc fix.
880 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
881 (scheme-input-filter): Use `string-match-p'.
882
883 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
884
885 * dired-x.el: Use Dired consistently in docstrings.
886
887 * dired.el: Use Dired consistently in docstrings.
888 (dired-readin, dired-mode): Use `setq-local'.
889 (dired-switches-alist): Make defvar-local.
890 (dired-buffers-for-dir): Use `zerop'.
891 (dired-safe-switches-p, dired-switches-escape-p)
892 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
893 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
894 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
895 (dired-goto-next-nontrivial-file): Use `string-match-p'.
896 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
897 (dired-toggle-marks, dired-mark-files-containing-regexp)
898 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
899 (dired-flag-auto-save-files, dired-flag-backup-files):
900 Use `looking-at-p'.
901 (dired-mark-files-regexp, dired-build-subdir-alist):
902 Use `string-match-p', `looking-at-p'.
903
904 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
905 (direct-print-region-helper): Use `string-match-p'.
906
907 2013-06-21 Leo Liu <sdl.web@gmail.com>
908
909 * comint.el (comint-redirect-results-list-from-process):
910 Fix infinite loop.
911
912 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
913
914 * net/eww.el (eww-update-header-line-format): Quote % characters.
915
916 2013-06-21 Glenn Morris <rgm@gnu.org>
917
918 * play/cookie1.el (cookie): New custom group.
919 (cookie-file): New option.
920 (cookie-check-file): New function.
921 (cookie): Make it interactive. Make start and end messages optional.
922 Interactively, display the result. Default to cookie-file.
923 (cookie-insert): Default to cookie-file.
924 (cookie-snarf): Make start and end messages optional.
925 Default to cookie-file. Use with-temp-buffer.
926 (cookie-read): Rename from read-cookie.
927 Make start and end messages optional. Default to cookie-file.
928 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
929 Do not autoload it.
930 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
931 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
932
933 2013-06-21 Leo Liu <sdl.web@gmail.com>
934
935 * progmodes/octave.el (octave-mode): Backward compatibility fix.
936
937 2013-06-21 Glenn Morris <rgm@gnu.org>
938
939 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
940
941 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
942 Daniel Hackney <dan@haxney.org>
943
944 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
945 Consolidate the single-file vs tarball code.
946 (package-desc-suffix): New function.
947 (package-desc-full-name): Don't bother inlining it.
948 (package-load-descriptor): Return the new package-desc.
949 (package-mark-obsolete): Remove unused arg `package'.
950 (package-unpack): Make it work for single files as well.
951 Make it update package-alist.
952 (package--make-autoloads-and-stuff): Rename from
953 package--make-autoloads-and-compile. Don't compile any more.
954 (package--compile): New function.
955 (package-generate-description-file): New function, extracted from
956 package-unpack-single.
957 (package-unpack-single): Remove.
958 (package--with-work-buffer): Add indentation and debugging info.
959 (package-download-single): Remove.
960 (package-install-from-archive): Rename from package-download-tar, make
961 it take a pkg-desc, and make it work for single files as well.
962 (package-download-transaction): Simplify.
963 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
964 external tar program.
965 (package-install-from-buffer): Remove `pkg-desc' argument.
966 Use package-tar-file-info for tar-mode buffers.
967 (package-install-file): Simplify accordingly.
968 (package-archive-base): Change to take a pkg-desc.
969 * tar-mode.el (tar--check-descriptor): New function, extracted from
970 tar-get-descriptor.
971 (tar-get-descriptor): Use it.
972 (tar-get-file-descriptor): New function.
973 (tar--extract): New function, extracted from tar-extract.
974 (tar--extract): Use it.
975 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
976 case the summary uses non-ascii. Adjust to new calling convention of
977 package-tar-file-info.
978
979 2013-06-21 Leo Liu <sdl.web@gmail.com>
980
981 * comint.el (comint-redirect-results-list-from-process):
982 Fix random delay. (Bug#14681)
983
984 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
985
986 * profiler.el (profiler-format-number): Use log, not log10.
987
988 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
989
990 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
991
992 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
993
994 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
995 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
996 yet available.
997 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
998 (AUTOGENEL): ... here.
999 * emacs-lisp/cl-macs.el (cl--sublis): New function.
1000 (cl--defsubst-expand): Use it.
1001
1002 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
1003
1004 * subr.el (log10): Move here from C code, and declare as obsolete.
1005 All uses of (log10 X) replaced with (log X 10).
1006
1007 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
1008
1009 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
1010 Declare with `defvar-local'.
1011 (tabulated-list-use-header-line, tabulated-list-entries)
1012 (tabulated-list-padding, tabulated-list-printer)
1013 (tabulated-list-sort-key): Declare with `defvar-local'.
1014 (tabulated-list-init-header, tabulated-list-print-fake-header):
1015 Use `setq-local'.
1016
1017 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
1018
1019 * arc-mode.el (archive-mode): Add `archive-write-file' to
1020 `write-contents-functions' also for remote files. (Bug#14652)
1021
1022 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
1023
1024 * cus-edit.el (custom-commands): Fix typos.
1025 (custom-display): Fix tooltip text.
1026 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
1027 Fix typos in docstrings.
1028 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
1029 (custom-unlispify-menu-entry, custom-magic-value-create)
1030 (custom-add-see-also, custom-group-value-create): Use ?\s.
1031 (custom-guess-type, customize-apropos, editable-field)
1032 (custom-face-value-create): Use `string-match-p'.
1033 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
1034
1035 * custom.el (custom-load-symbol): Use `string-match-p'.
1036
1037 * ansi-color.el: Convert to lexical binding.
1038 (ansi-colors): Fix URL.
1039 (ansi-color-context, ansi-color-context-region): Use defvar-local.
1040 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
1041 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
1042
1043 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1044
1045 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
1046
1047 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
1048
1049 2013-06-19 Tom Tromey <tromey@redhat.com>
1050
1051 * net/eww.el (eww-top-url): Remove.
1052 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
1053 (eww-render): Set new variables. Don't set eww-top-url.
1054 (eww-handle-link): Handle "prev", "home", and "contents".
1055 Downcase the rel text.
1056 (eww-top-url): Choose best top URL.
1057
1058 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1059
1060 * net/eww.el: Rewrite to implement form elements "by hand" instead of
1061 relying in widget.el. Using widget.el leads to too many
1062 user interface inconsistencies.
1063 (eww-self-insert): Implement entering commands in text fields.
1064 (eww-process-text-input): New function to make text input field editing
1065 work.
1066 (eww-submit): Rewrite to use the new-style form methods.
1067 (eww-select-display): Display the correct selected item.
1068 (eww-change-select): Implement changing the select value.
1069 (eww-toggle-checkbox): Implement radio/checkboxes.
1070 (eww-update-field): Fix compilation error.
1071 (eww-tag-textarea): Implement <textarea>.
1072
1073 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
1074 we don't shadow mode-specific bindings.
1075
1076 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
1077 nothing to push.
1078
1079 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
1080
1081 2013-06-19 Glenn Morris <rgm@fencepost.gnu.org>
1082
1083 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
1084
1085 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
1086
1087 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
1088 not needed.
1089
1090 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
1091
1092 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1093
1094 * net/browse-url.el (browse-url-browser-function):
1095 `eww-browse-url' has the right calling signature, `eww' does not.
1096
1097 2013-06-19 Glenn Morris <rgm@gnu.org>
1098
1099 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
1100 Only eval autoloaded macros.
1101 (byte-compile-autoload): Only give the macro warning for macros.
1102
1103 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
1104 (ps-underlined-faces): Declare.
1105
1106 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
1107 (speedbar-add-supported-extension): Declare.
1108
1109 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
1110 Don't include a date stamp in the header of the generated file;
1111 it leads to needless differences between output files.
1112
1113 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
1114
1115 * net/secrets.el (secrets-struct-secret-content-type):
1116 Replace check of introspection data by a test call of "CreateItem".
1117 Some servers do not offer introspection.
1118
1119 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1120
1121 * electric.el (electric-pair-mode): Improve interaction with
1122 electric-layout-mode.
1123 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
1124 (electric-pair-syntax): Use text-mode-syntax-table in comments
1125 and strings.
1126 (electric-pair--insert): New function.
1127 (electric-pair-post-self-insert-function): Use it and
1128 electric--after-char-pos.
1129
1130 2013-06-19 Leo Liu <sdl.web@gmail.com>
1131
1132 * progmodes/octave.el (octave-help): Fix regexp.
1133
1134 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1135
1136 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
1137 (shr-table-horizontal-line): Allow nil as a value, and change the
1138 default.
1139 (shr-insert-table-ruler): Respect the nil value.
1140
1141 2013-06-18 Tom Tromey <tromey@barimba>
1142
1143 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
1144 New defvars.
1145 (eww-open-file): New defun.
1146 (eww-render): Initialize new variables.
1147 (eww-display-html): Handle "link" and "a".
1148 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
1149 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
1150 (eww-back-url): Rename from eww-previous-url.
1151 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
1152 New defuns.
1153
1154 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
1155
1156 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
1157 Distinguish ternary operator tokens from slash symbol and slash
1158 char literal.
1159
1160 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
1161
1162 Convert symbol prettification into minor mode and global minor mode.
1163
1164 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
1165 `prog-prettify-symbols', and make a local defvar instead of defcustom.
1166 (prettify-symbols--keywords): Rename from
1167 `prog-prettify-symbols-alist' and make a local defvar.
1168 (prettify-symbols--compose-symbol): Rename from
1169 `prog--prettify-font-lock-compose-symbol'.
1170 (prettify-symbols--make-keywords): Rename from
1171 `prog-prettify-font-lock-symbols-keywords' and simplify.
1172 (prog-prettify-install): Remove.
1173 (prettify-symbols-mode): New minor mode, based on
1174 `prog-prettify-install'.
1175 (turn-on-prettify-symbols-mode): New function.
1176 (global-prettify-symbols-mode): New globalized minor mode.
1177
1178 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1179 * progmodes/cfengine.el (cfengine3-mode):
1180 * progmodes/perl-mode.el (perl-mode): Don't call
1181 `prog-prettify-install'; set `prettify-symbols-alist' instead.
1182
1183 2013-06-18 Juri Linkov <juri@jurta.org>
1184
1185 * files-x.el (modify-file-local-variable-message): New function.
1186 (modify-file-local-variable)
1187 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
1188 and call `modify-file-local-variable-message' when it's non-nil.
1189 (add-file-local-variable, delete-file-local-variable)
1190 (add-file-local-variable-prop-line)
1191 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
1192 and use it. (Bug#9820)
1193
1194 2013-06-18 Juri Linkov <juri@jurta.org>
1195
1196 * emulation/vi.el (vi-shell-op):
1197 * emulation/vip.el (vip-execute-com, ex-command):
1198 * emulation/viper-cmd.el (viper-exec-bang):
1199 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
1200 the call of `shell-command-on-region'. (Bug#14637)
1201
1202 * simple.el (shell-command-on-region): Doc fix.
1203
1204 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1205
1206 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
1207 (bug#14633).
1208
1209 2013-06-18 Glenn Morris <rgm@gnu.org>
1210
1211 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
1212
1213 * newcomment.el (comment-search-forward, comment-search-backward):
1214 Doc fix. (Bug#14376)
1215
1216 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
1217
1218 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
1219 (buffer-face-mode-invoke): Doc fix.
1220
1221 2013-06-18 Matthias Meulien <orontee@gmail.com>
1222
1223 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
1224 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
1225
1226 2013-06-18 Glenn Morris <rgm@gnu.org>
1227
1228 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
1229 Replace obsolete function generic-make-keywords with its expansion.
1230
1231 * progmodes/python.el (ffap-alist): Declare.
1232
1233 * textmodes/reftex.el (bibtex-mode-map): Declare.
1234
1235 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1236
1237 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
1238 (package-unpack, package-unpack-single): Return the pkg-dir.
1239 (package-download-transaction): Use it to update package-alist.
1240
1241 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1242
1243 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
1244 possible choice.
1245
1246 2013-06-17 Juri Linkov <juri@jurta.org>
1247
1248 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
1249
1250 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
1251
1252 * emacs-lisp/package.el (package-load-descriptor):
1253 Remove `with-syntax-table' call, `read' doesn't need it.
1254 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
1255
1256 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
1257
1258 * startup.el (command-line): Expand package name returned by
1259 `package--description-file' (bug#14639).
1260
1261 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
1262
1263 * emacs-lisp/package.el (package-load-descriptor): Do not call
1264 `emacs-lisp-mode', just use its syntax table.
1265
1266 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
1267
1268 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
1269 `font-lock-extra-managed-props' if any prettifying keyword is added.
1270 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
1271 (prog-mode): Use `setq-local'.
1272
1273 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1274
1275 * international/characters.el (standard-case-table): Set syntax of ?»
1276 and ?« to punctuation.
1277
1278 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
1279
1280 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
1281 Save relevant match data before calling `syntax-ppss' (bug#14595).
1282
1283 2013-06-15 Juri Linkov <juri@jurta.org>
1284
1285 * files-x.el (modify-file-local-variable-prop-line): Add local
1286 variables to the end of the existing comment on the first line.
1287 Use `file-auto-mode-skip' to skip interpreter magic line,
1288 and also skip XML declaration.
1289
1290 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1291
1292 * startup.el (package--builtin-versions): New var.
1293 (package-subdirectory-regexp): Remove.
1294 (package--description-file): Hard code its value instead.
1295
1296 * emacs-lisp/package.el: Don't activate packages older than builtin.
1297 (package-obsolete-list): Rename from package-obsolete-alist, and make
1298 it into a simple list of package-desc.
1299 (package-strip-version): Remove.
1300 (package-built-in-p): Use package--builtin-versions.
1301 (package-mark-obsolete): Simplify.
1302 (package-process-define-package): Mark it obsolete if older than the
1303 builtin version.
1304 (package-handle-response): Use line-end-position.
1305 (package-read-archive-contents, package--download-one-archive):
1306 Simplify.
1307 (package--add-to-archive-contents): Skip if older than the builtin or
1308 installed version.
1309 (package-menu-describe-package): Fix last change.
1310 (package-list-unversioned): New var.
1311 (package-menu--generate): Use it.
1312
1313 * emacs-lisp/autoload.el: Manage package--builtin-versions.
1314 (autoload--insert-text, autoload--insert-cookie-text): New functions.
1315 (autoload-builtin-package-versions): New variable.
1316 (autoload-generate-file-autoloads): Use them.
1317 Remove the list of autoloaded functions/macros from the
1318 (autoload...) comments.
1319
1320 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
1321
1322 2013-06-15 Eli Zaretskii <eliz@gnu.org>
1323
1324 * simple.el (line-move-partial): Don't jump to the next screen
1325 line as soon as it becomes visible. Instead, continue enlarging
1326 the vscroll until the portion of a tall screen line that's left on
1327 display is about the height of the frame's default font.
1328 (Bug#14567)
1329
1330 2013-06-15 Glenn Morris <rgm@gnu.org>
1331
1332 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
1333 compilation-error-regexp-alist void, or local while let-bound.
1334
1335 * progmodes/make-mode.el (makefile-mode-syntax-table):
1336 Treat "=" as punctuation. (Bug#14614)
1337
1338 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
1339
1340 * help-fns.el (describe-variable):
1341 Add extra line for permanent-local variables.
1342
1343 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
1344
1345 * progmodes/scheme.el (scheme-font-lock-keywords-2):
1346 Add export, import, library. (Bug#9164)
1347 (library): Set indent function.
1348
1349 2013-06-14 Glenn Morris <rgm@gnu.org>
1350
1351 * term/xterm.el (xterm--query):
1352 Stop after first matching handler. (Bug#14615)
1353
1354 2013-06-14 Ivan Kanis <ivan@kanis.fr>
1355
1356 Add support for dired in saveplace.
1357 * dired.el (dired-initial-position-hook): New variable.
1358 (dired-initial-position): Call hook to place cursor position.
1359 * saveplace.el (save-place-to-alist): Add dired position.
1360 (save-place-dired-hook): New function.
1361
1362 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
1363
1364 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
1365 through a symbol rather than letrec.
1366
1367 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
1368 (package-desc): Add `dir' field.
1369 (package-desc-full-name): New function.
1370 (package-load-descriptor): Combine the two arguments. Don't use `load'.
1371 (package-maybe-load-descriptor): Remove.
1372 (package-load-all-descriptors): Just call package-load-descriptor.
1373 (package--disabled-p): New function.
1374 (package-desc-vers, package-desc-doc): Remove aliases.
1375 (package--dir): Remove function.
1376 (package-activate): Check if a package is disabled.
1377 (package-process-define-package): New function, extracted from
1378 define-package.
1379 (define-package): Turn into a place holder.
1380 (package-unpack-single, package-tar-file-info):
1381 Use package--description-file.
1382 (package-compute-transaction): Use package--disabled-p.
1383 (package-download-transaction): Don't call
1384 package-maybe-load-descriptor since they're all loaded anyway.
1385 (package-install): Change argument to be a pkg-desc.
1386 (package-delete): Use a single pkg-desc argument.
1387 (describe-package-1): Use package-desc-dir instead of package--dir.
1388 Use package-desc property instead of package-symbol.
1389 (package-install-button-action): Adjust accordingly.
1390 (package--push): Rewrite.
1391 (package-menu--print-info): Adjust accordingly. Change the ID format
1392 to be a pkg-desc.
1393 (package-menu-describe-package, package-menu-get-status)
1394 (package-menu--find-upgrades, package-menu-mark-upgrades)
1395 (package-menu-execute, package-menu--name-predicate):
1396 Adjust accordingly.
1397 * startup.el (package--description-file): New function.
1398 (command-line): Use it.
1399 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1400 Use package-desc-version.
1401
1402 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
1403 (byte-compile-preprocess): Use it.
1404 (byte-compile-file-form-defalias): Try a bit harder to use macros we
1405 can't quite recognize.
1406 (byte-compile-add-to-list): Remove.
1407 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
1408 (cconv-closure-convert): Add assertion.
1409
1410 * emacs-lisp/map-ynp.el: Use lexical-binding.
1411 (map-y-or-n-p): Remove unused vars `tail' and `object'.
1412 Factor out some repeated code.
1413
1414 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1415
1416 * subr.el (with-eval-after-load): New macro.
1417 (eval-after-load): Allow form to be a function.
1418 take advantage of lexical-binding.
1419 (do-after-load-evaluation): Use dolist and adjust to new format.
1420 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
1421
1422 2013-06-13 Juri Linkov <juri@jurta.org>
1423
1424 * replace.el (perform-replace): Display "symbol " and other search
1425 modes from `isearch-message-prefix' in the *Help* buffer.
1426
1427 * isearch.el (isearch-query-replace): Add " symbol" and other
1428 possible search modes from `isearch-message-prefix' to the prompt.
1429 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
1430 when reading a regexp to collect.
1431
1432 2013-06-13 Juri Linkov <juri@jurta.org>
1433
1434 * isearch.el (word-search-regexp): Match whitespace if the search
1435 string begins or ends in whitespace. The LAX arg is applied to
1436 both ends of the search string. Use `regexp-quote' and explicit
1437 \< and \> instead of \b. Use \` and \' instead of ^ and $.
1438 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
1439 boundaries are replaced with symbol boundaries, and characters
1440 between symbols match non-word non-symbol syntax. (Bug#14602)
1441
1442 2013-06-13 Juri Linkov <juri@jurta.org>
1443
1444 * isearch.el (isearch-del-char): Don't exceed the length of
1445 `isearch-string' by the prefix arg. (Bug#14563)
1446
1447 2013-06-13 Juri Linkov <juri@jurta.org>
1448
1449 * isearch.el (isearch-yank-word, isearch-yank-line)
1450 (isearch-char-by-name, isearch-quote-char)
1451 (isearch-printing-char, isearch-process-search-char):
1452 Add optional count prefix arg. (Bug#14563)
1453
1454 * international/isearch-x.el
1455 (isearch-process-search-multibyte-characters):
1456 Add optional count prefix arg.
1457
1458 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1459
1460 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
1461 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
1462 lexical-binding.
1463
1464 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
1465
1466 * subr.el (set-temporary-overlay-map): Add on-exit argument.
1467
1468 2013-06-13 Glenn Morris <rgm@gnu.org>
1469
1470 * startup.el (tty-handle-args):
1471 Don't just discard "--" and anything after. (Bug#14608)
1472
1473 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
1474
1475 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
1476
1477 Implement changes in Secret Service API. Make it backward compatible.
1478 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
1479 (secrets-create-item): Use it. Prefix properties with interface.
1480
1481 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
1482
1483 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
1484 (term-emulate-terminal): Respect term-suppress-hard-newline.
1485
1486 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
1487
1488 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
1489 Only remove a `thumb-file' overlay. (Bug#14548)
1490
1491 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
1492
1493 * mail/reporter.el (reporter-submit-bug-report):
1494 Handle missing package-name. (Bug#14600)
1495
1496 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1497
1498 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
1499 (reftex-citation-prompt, reftex-default-bibliography)
1500 (reftex-bib-or-thebib, reftex-get-bibfile-list)
1501 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
1502 (reftex-bib-sort-author, reftex-bib-sort-year)
1503 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
1504 (reftex-extract-bib-entries-from-thebibliography)
1505 (reftex-get-bibkey-default, reftex-get-bib-names)
1506 (reftex-parse-bibtex-entry, reftex-get-bib-field)
1507 (reftex-format-bib-entry, reftex-parse-bibitem)
1508 (reftex-format-bibitem, reftex-do-citation)
1509 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
1510 (reftex-restrict-bib-matches, reftex-extract-bib-file)
1511 (reftex-insert-bib-matches, reftex-format-citation)
1512 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
1513 (reftex-create-bibtex-file): Add docstrings, mostly by converting
1514 existing comments into docstrings.
1515
1516 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
1517
1518 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
1519
1520 2013-06-12 Andreas Schwab <schwab@suse.de>
1521
1522 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
1523 for auto-save files.
1524
1525 2013-06-12 Glenn Morris <rgm@gnu.org>
1526
1527 * ido.el (ido-delete-ignored-files): Remove.
1528 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
1529 Go back to calling ido-ignore-item-p directly.
1530
1531 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
1532
1533 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
1534
1535 * ido.el (ido-delete-ignored-files): New function,
1536 split from ido-make-file-list-1.
1537 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
1538 (ido-make-file-list-1): Use ido-delete-ignored-files.
1539
1540 2013-06-12 Leo Liu <sdl.web@gmail.com>
1541
1542 * progmodes/octave.el (inferior-octave-startup)
1543 (inferior-octave-completion-table)
1544 (inferior-octave-track-window-width-change)
1545 (octave-eldoc-function-signatures, octave-help)
1546 (octave-find-definition): Use single quoted strings.
1547 (inferior-octave-startup-args): Change default value.
1548 (inferior-octave-startup): Do not hard code "-i" and
1549 "--no-line-editing".
1550 (inferior-octave-resync-dirs): Add optional arg NOERROR.
1551 (inferior-octave-directory-tracker): Use it.
1552 (octave-goto-function-definition): Robustify.
1553 (octave-help): Support highlighting operators in 'See also'.
1554 (octave-find-definition): Find subfunctions only in Octave mode.
1555
1556 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1557
1558 * help-fns.el (help-fns--compiler-macro): If the handler function is
1559 named, then put a link to it.
1560 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
1561 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
1562 (cl-typep): Use it.
1563 (cl-eval-when): Simplify debug spec.
1564 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
1565 compiler-macro function instead of setting `compiler-macro-file'.
1566
1567 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
1568
1569 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
1570 * vc/vc-hooks.el (vc-stay-local): Doc fix.
1571
1572 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1573 Daniel Hackney <dan@haxney.org>
1574
1575 First part of Daniel Hackney's patch to package.el.
1576 * emacs-lisp/package.el: Use defstruct.
1577 (package-desc): New, main struct.
1578 (package--bi-desc, package--ac-desc): New structs, used to describe the
1579 format in external files.
1580 (package-desc-vers): Replace with package-desc-version accessor.
1581 (package-desc-doc): Replace with package-desc-summary accessor.
1582 (package-activate-1): Remove `package' arg since the pkg-vec now
1583 includes the name.
1584 (define-package): Use package-desc-from-define.
1585 (package-unpack-single): Change file-name arg to be a symbol.
1586 (package--add-to-archive-contents): Use package-desc-create and new
1587 accessor functions to package--ac-desc.
1588 (package-buffer-info, package-tar-file-info): Return a package-desc.
1589 (package-install-from-buffer): Remove `type' argument. Change pkg-info
1590 arg to be a package-desc.
1591 (package-install-file): Adjust accordingly. Use \' to match EOS.
1592 (package--from-builtin): New function.
1593 (describe-package-1, package-menu--generate): Use it.
1594 (package--make-autoloads-and-compile): Change name arg to be a symbol.
1595 (package-generate-autoloads): Idem and return the name of the file.
1596 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1597 Change pkg-info arg to be a package-desc.
1598 Use package-make-ac-desc.
1599 (package-upload-file): Use \' to match EOS.
1600 * finder.el (finder-compile-keywords): Use package-make-builtin.
1601
1602 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1603
1604 * vc/vc.el (vc-deduce-fileset): Change error message.
1605 (vc-read-backend): New function.
1606 (vc-next-action): Use it.
1607
1608 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
1609
1610 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
1611 (prolog-font-lock-keywords): Use regexp-opt instead.
1612 Don't manually highlight strings.
1613 (prolog-mode-variables): Simplify comment-start-skip.
1614 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
1615
1616 * emacs-lisp/generic.el (generic--normalise-comments)
1617 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
1618 (generic-mode-set-comments): Use them.
1619 (generic-bracket-support): Use setq-local.
1620 (generic-make-keywords-list): Declare obsolete.
1621
1622 2013-06-11 Glenn Morris <rgm@gnu.org>
1623
1624 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1625 Prettify after setting font-lock-defaults. (Bug#14574)
1626
1627 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
1628
1629 * replace.el (query-replace, occur-read-regexp-defaults-function)
1630 (replace-search):
1631 * subr.el (declare-function, number-sequence, local-set-key)
1632 (substitute-key-definition, locate-user-emacs-file)
1633 (with-silent-modifications, split-string, eval-after-load):
1634 Fix typos, remove unneeded backslashes and reflow some docstrings.
1635
1636 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1637
1638 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
1639 default for Elisp files.
1640
1641 2013-06-11 Glenn Morris <rgm@gnu.org>
1642
1643 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
1644 although define-derived-mode was doing this anyway. (Bug#14583)
1645
1646 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
1647
1648 * allout.el (allout-encryption-plaintext-sanitization-regexps):
1649 Fix make-variable-buffer-local call to refer to the correct variable.
1650
1651 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
1652
1653 * eshell/em-term.el (eshell-visual-commands)
1654 (eshell-visual-subcommands, eshell-visual-options):
1655 Add summary line to docstrings. Add cross-references.
1656
1657 2013-06-10 Glenn Morris <rgm@gnu.org>
1658
1659 * epa.el (epa-read-file-name): New function. (Bug#14510)
1660 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
1661
1662 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
1663
1664 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
1665 output redirection to be ignored with visual commands.
1666
1667 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
1668
1669 * eshell/em-term.el (eshell-visual-command-p): New function.
1670 (eshell-term-initialize): Move long lambda to separate function
1671 eshell-visual-command-p.
1672 * eshell/em-dirs.el (eshell-dirs-initialise):
1673 * eshell/em-script.el (eshell-script-initialize):
1674 Add missing #' to lambda.
1675
1676 2013-06-08 Leo Liu <sdl.web@gmail.com>
1677
1678 * progmodes/octave.el (octave-add-log-current-defun): New function.
1679 (octave-mode): Set add-log-current-defun-function.
1680 (octave-goto-function-definition): Do not move point if not found.
1681 (octave-find-definition): Enhance to try subfunctions first.
1682
1683 2013-06-08 Glenn Morris <rgm@gnu.org>
1684
1685 * emacs-lisp/bytecomp.el (byte-compile-char-before)
1686 (byte-compile-backward-char, byte-compile-backward-word):
1687 Improve previous change, to handle non-explicit nil.
1688
1689 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1690
1691 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
1692 (smie--opener/closer-at-point): New function.
1693 (smie--matching-block-data): Use it. Don't match from right after an
1694 opener or right before a closer. Obey smie-blink-matching-inners.
1695 Don't signal a mismatch for repeated inners like "switch..case..case".
1696
1697 2013-06-07 Leo Liu <sdl.web@gmail.com>
1698
1699 * progmodes/octave.el (octave-mode): Set comment-use-global-state
1700 to t. (Bug#14303)
1701 (octave-function-header-regexp): Fix. (Bug#14570)
1702 (octave-help-mode-finish-hook, octave-help-mode-finish):
1703 Remove. Just use temp-buffer-show-hook.
1704
1705 * newcomment.el (comment-search-backward): Revert last change.
1706 (Bug#14434)
1707
1708 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
1709
1710 2013-06-07 Eli Zaretskii <eliz@gnu.org>
1711
1712 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
1713 through xargs, to avoid failure due to MS-Windows limitations on
1714 command-line length.
1715
1716 2013-06-06 Glenn Morris <rgm@gnu.org>
1717
1718 * font-lock.el (lisp-font-lock-keywords-2):
1719 Treat user-error like error.
1720
1721 * emacs-lisp/bytecomp.el (byte-compile-char-before)
1722 (byte-compile-backward-char, byte-compile-backward-word):
1723 Handle explicit nil arguments. (Bug#14565)
1724
1725 2013-06-05 Alan Mackenzie <acm@muc.de>
1726
1727 * isearch.el (isearch-allow-prefix): New user option.
1728 (isearch-other-meta-char): Don't exit isearch when a prefix
1729 argument is typed whilst `isearch-allow-prefix' is non-nil.
1730 (Bug#9706)
1731
1732 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1733
1734 * autorevert.el (auto-revert-notify-handler): Use memq.
1735 Hide assertion failure.
1736
1737 * skeleton.el: Use cl-lib.
1738 (skeleton-further-elements): Use defvar-local.
1739 (skeleton-insert): Use cl-progv.
1740
1741 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
1742
1743 * progmodes/prog-mode.el (prog-prettify-symbols)
1744 (prog-prettify-install): Update docstrings.
1745
1746 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1747
1748 * simple.el: Move all the prog-mode code to prog-mode.el.
1749 * progmodes/prog-mode.el: New file.
1750 * loadup.el: Add prog-mode.el.
1751
1752 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
1753
1754 * simple.el (prog-prettify-symbols): Add version.
1755 (prog-prettify-install): Add convenience function to prettify symbols.
1756
1757 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
1758 (perl--augmented-font-lock-keywords-1)
1759 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
1760 variables and use it.
1761
1762 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
1763 (cfengine3-mode): Remove unneeded variable and use it.
1764
1765 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
1766 (lisp--augmented-font-lock-keywords-1)
1767 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
1768 Remove unneeded variables and use it.
1769
1770 2013-06-05 João Távora <joaotavora@gmail.com>
1771
1772 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
1773 to point when opening the connection. (Bug#14380)
1774
1775 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1776
1777 * subr.el (load-history-regexp, load-history-filename-element)
1778 (eval-after-load, after-load-functions, do-after-load-evaluation)
1779 (eval-next-after-load, display-delayed-warnings)
1780 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
1781 definition of save-match-data.
1782 (overriding-local-map): Remove accidental obsolescence declaration.
1783
1784 * emacs-lisp/edebug.el (edebug-result): Move before first use.
1785
1786 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
1787
1788 Generalize symbol prettify support to prog-mode and implement it
1789 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
1790 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
1791 (prog--prettify-font-lock-compose-symbol)
1792 (prog-prettify-font-lock-symbols-keywords): New variables and
1793 functions to support symbol prettification.
1794 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
1795 (lisp--augmented-font-lock-keywords-1)
1796 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
1797 (lisp--prettify-symbols-alist): Implement prettify of lambda.
1798 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
1799 (cfengine3--prettify-symbols-alist, cfengine3-mode):
1800 Implement prettify of -> => :: strings.
1801 * progmodes/perl-mode.el (perl-prettify-symbols)
1802 (perl--font-lock-compose-symbol)
1803 (perl--font-lock-symbols-keywords): Move to prog-mode.
1804 (perl--prettify-symbols-alist): Prettify -> => :: strings.
1805 (perl-font-lock-keywords-1)
1806 (perl-font-lock-keywords-2): Remove explicit prettify support.
1807 (perl--augmented-font-lock-keywords)
1808 (perl--augmented-font-lock-keywords-1)
1809 (perl--augmented-font-lock-keywords-2, perl-mode):
1810 Implement prettify support.
1811
1812 2013-06-05 Leo Liu <sdl.web@gmail.com>
1813
1814 Re-implement smie matching block highlight using
1815 show-paren-data-function. (Bug#14395)
1816 * emacs-lisp/smie.el (smie-matching-block-highlight)
1817 (smie--highlight-matching-block-overlay)
1818 (smie--highlight-matching-block-lastpos)
1819 (smie-highlight-matching-block)
1820 (smie-highlight-matching-block-mode): Remove.
1821 (smie--matching-block-data-cache): New variable.
1822 (smie--matching-block-data): New function.
1823 (smie-setup): Use smie--matching-block-data for
1824 show-paren-data-function.
1825
1826 * progmodes/octave.el (octave-mode-menu): Fix.
1827 (octave-find-definition): Skip garbage lines.
1828
1829 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1830
1831 Fix compilation error with simultaneous dynamic+lexical scoping.
1832 Add warning when a defvar appears after the first let-binding.
1833 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
1834 (byte-compile-close-variables): Initialize it.
1835 (byte-compile--declare-var): New function.
1836 (byte-compile-file-form-defvar)
1837 (byte-compile-file-form-define-abbrev-table)
1838 (byte-compile-file-form-custom-declare-variable): Use it.
1839 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
1840 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
1841 (byte-compile-bind): Handle dynamic bindings that shadow
1842 lexical bindings.
1843 (byte-compile-unbind): Make arg non-optional.
1844 (byte-compile-let): Simplify.
1845 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
1846 (cconv--analyse-function, cconv-analyse-form): Populate it.
1847 Protect byte-compile-bound-variables to limit the scope of defvars.
1848 (cconv-analyse-form): Add missing rule for (defvar <foo>).
1849 Remove unneeded rule for `declare'.
1850
1851 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
1852 so as to avoid depending on cl-adjoin at run-time.
1853 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
1854
1855 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
1856 (macroexp--warn-and-return): Use it.
1857
1858 2013-06-05 Leo Liu <sdl.web@gmail.com>
1859
1860 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
1861
1862 2013-06-04 Leo Liu <sdl.web@gmail.com>
1863
1864 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
1865 (compilation-auto-jump): Suppress the "Mark set" message to give
1866 way to exit message.
1867
1868 2013-06-04 Alan Mackenzie <acm@muc.de>
1869
1870 Remove faulty optimisation from indentation calculation.
1871 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
1872 search limit based on 2000 characters back from indent-point.
1873
1874 2013-06-03 Tassilo Horn <tsdh@gnu.org>
1875
1876 * eshell/em-term.el (cl-lib): Require `cl-lib'.
1877
1878 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
1879
1880 * emacs-lisp/lisp.el: Use lexical-binding.
1881 (lisp--local-variables-1, lisp--local-variables): New functions.
1882 (lisp--local-variables-completion-table): New var.
1883 (lisp-completion-at-point): Use it complete let-bound vars.
1884
1885 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
1886 eagerly (bug#14422).
1887
1888 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
1889
1890 * autorevert.el (auto-revert-notify-enabled)
1891 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1892 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
1893 (auto-revert-notify-handler): Handle also gfilenotify.
1894
1895 * subr.el (file-notify-handle-event): New defun. Replacing ...
1896 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
1897 Remove.
1898
1899 2013-06-03 Juri Linkov <juri@jurta.org>
1900
1901 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
1902 `M-s h .'. (Bug#14427)
1903
1904 * hi-lock.el (highlight-symbol-at-point): New alias for the new
1905 command `hi-lock-face-symbol-at-point'.
1906 (hi-lock-face-symbol-at-point): New command.
1907 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
1908 (hi-lock-menu): Add `highlight-symbol-at-point'.
1909 (hi-lock-mode): Doc fix.
1910
1911 * isearch.el (isearch-forward-symbol-at-point): New command.
1912 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
1913 (isearch-highlight-regexp): Add a regexp which matches
1914 words/symbols for word/symbol mode.
1915
1916 * subr.el (find-tag-default-bounds): New function with the body
1917 mostly moved from `find-tag-default'.
1918 (find-tag-default): Move most code to `find-tag-default-bounds',
1919 call it and apply `buffer-substring-no-properties' afterwards.
1920
1921 2013-06-03 Tassilo Horn <tsdh@gnu.org>
1922
1923 * eshell/em-term.el (eshell-term-initialize):
1924 Use `cl-intersection' rather than `intersection'.
1925
1926 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
1927
1928 * vc/log-view.el: Doc fix.
1929 (log-view-mode-map): Copy keymap from `special-mode-map'.
1930
1931 2013-06-02 Eric Ludlam <zappo@gnu.org>
1932
1933 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
1934 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
1935 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
1936 (eieio-unbound, eieio-default-superclass)
1937 (eieio--define-field-accessors, method-static, method-before)
1938 (method-primary, method-after, method-num-lists)
1939 (method-generic-before, method-generic-primary)
1940 (method-generic-after, method-num-slots)
1941 (eieio-specialized-key-to-generic-key)
1942 (eieio--check-type, class-v, class-p)
1943 (eieio-class-name, define-obsolete-function-alias)
1944 (eieio-class-parents-fast, eieio-class-children-fast)
1945 (same-class-fast-p, class-constructor, generic-p)
1946 (generic-primary-only-p, generic-primary-only-one-p)
1947 (class-option-assoc, class-option, eieio-object-p)
1948 (class-abstract-p, class-method-invocation-order)
1949 (eieio-defclass-autoload-map, eieio-defclass-autoload)
1950 (eieio-class-un-autoload, eieio-defclass)
1951 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
1952 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
1953 (eieio--defgeneric-init-form, eieio-defgeneric-form)
1954 (eieio-defgeneric-reset-generic-form)
1955 (eieio-defgeneric-form-primary-only)
1956 (eieio-defgeneric-reset-generic-form-primary-only)
1957 (eieio-defgeneric-form-primary-only-one)
1958 (eieio-defgeneric-reset-generic-form-primary-only-one)
1959 (eieio-unbind-method-implementations)
1960 (eieio--defmethod, eieio--typep)
1961 (eieio-perform-slot-validation, eieio-validate-slot-value)
1962 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
1963 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
1964 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
1965 (eieio-slot-name-index, eieio-class-slot-name-index)
1966 (eieio-set-defaults, eieio-initarg-to-attribute)
1967 (eieio-attribute-to-initarg, eieio-c3-candidate)
1968 (eieio-c3-merge-lists, eieio-class-precedence-c3)
1969 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
1970 (eieio-class-precedence-list, eieio-generic-call-methodname)
1971 (eieio-generic-call-arglst, eieio-generic-call-key)
1972 (eieio-generic-call-next-method-list)
1973 (eieio-pre-method-execution-functions, eieio-generic-call)
1974 (eieio-generic-call-primary-only, eieiomt-method-list)
1975 (eieiomt-optimizing-obarray, eieiomt-install)
1976 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
1977 (eieio-generic-form, eieio-defmethod, make-obsolete)
1978 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
1979 (defclass): Remove `eval-and-compile' from macro.
1980 (call-next-method, shared-initialize): Instead of using
1981 `scoped-class' variable, use new eieio--scoped-class, and
1982 eieio--with-scoped-class.
1983 (initialize-instance): Rename local variable 'scoped-class' to
1984 'this-class' to remove ambiguitity from old global.
1985
1986 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
1987 eieio.el.
1988 (eieio--scoped-class-stack): New variable.
1989 (eieio--scoped-class): New fcn.
1990 (eieio--with-scoped-class): New scoping macro.
1991 (eieio-defclass): Use pushnew instead of add-to-list.
1992 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
1993 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
1994 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
1995 `scoped-class' variable, use new eieio--scoped-class, and
1996 eieio--with-scoped-class.
1997
1998 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
1999
2000 2013-06-02 Tassilo Horn <tsdh@gnu.org>
2001
2002 * eshell/esh-ext.el (eshell-external-command): Pass args to
2003 `eshell-find-interpreter'.
2004 (eshell-find-interpreter): Add new second parameter ARGS.
2005
2006 * eshell/em-script.el (eshell-script-initialize): Add second arg
2007 to the function added as MATCH to `eshell-interpreter-alist'.
2008
2009 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
2010 the function added as MATCH to `eshell-interpreter-alist'.
2011
2012 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
2013 (eshell-visual-options): New defcustom.
2014 (eshell-escape-control-x): Adapt docstring.
2015 (eshell-term-initialize): Test `eshell-visual-subcommands' and
2016 `eshell-visual-options' in addition to `eshell-visual-commands'.
2017 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
2018
2019 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
2020
2021 * progmodes/python.el (python-indent-block-enders): Add break,
2022 continue and raise keywords.
2023
2024 2013-06-01 Glenn Morris <rgm@gnu.org>
2025
2026 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
2027
2028 Plain (f)boundp silences compilation warnings since Emacs 22.1.
2029 * progmodes/cc-cmds.el (delete-forward-p):
2030 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
2031 * progmodes/cc-engine.el (buffer-syntactic-context):
2032 * progmodes/cc-fonts.el (face-property-instance):
2033 * progmodes/cc-mode.el (set-keymap-parents):
2034 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
2035 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
2036 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
2037 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
2038 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
2039
2040 * progmodes/cc-vars.el (other): Emacs has this widget since
2041 at least 21.1, so don't (re)define it.
2042
2043 * eshell/em-cmpl.el (eshell-cmpl-initialize):
2044 Replace the obsolete alias pcomplete-arg-quote-list.
2045
2046 2013-06-01 Leo Liu <sdl.web@gmail.com>
2047
2048 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
2049 punctuation syntax.
2050 (inferior-octave-minimal-columns)
2051 (inferior-octave-last-column-width): New variables.
2052 (inferior-octave-track-window-width-change): New function.
2053 (inferior-octave-mode): Adjust column width so that Octave output,
2054 for example from 'ls', can fit into the window nicely.
2055
2056 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
2057
2058 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
2059 Highlight expansions inside regexp literals.
2060
2061 2013-05-31 Glenn Morris <rgm@gnu.org>
2062
2063 * obsolete/sym-comp.el (symbol-complete):
2064 Replace obsolete completion-annotate-function.
2065
2066 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
2067
2068 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
2069
2070 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
2071 New function, checks if point is inside a literal that allows
2072 expression expansion.
2073 (ruby-syntax-propertize-expansion): Use it.
2074 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
2075 around the body.
2076
2077 2013-05-30 Juri Linkov <juri@jurta.org>
2078
2079 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
2080 to "\M-si".
2081 (isearch-invisible): New variable.
2082 (isearch-forward): Doc fix.
2083 (isearch-mode): Set `isearch-invisible'
2084 to the value of `search-invisible'.
2085 (isearch-toggle-case-fold): Doc fix.
2086 (isearch-toggle-invisible): New command.
2087 (isearch-query-replace): Let-bind `search-invisible'
2088 to the value of `isearch-invisible'.
2089 (isearch-search): Use `isearch-invisible' instead of
2090 `search-invisible'. Let-bind `search-invisible'
2091 to the value of `isearch-invisible'. (Bug#11378)
2092
2093 2013-05-30 Juri Linkov <juri@jurta.org>
2094
2095 * replace.el (perform-replace): Avoid `isearch-range-invisible'
2096 call when `query-flag' is nil and `search-invisible' is non-nil.
2097 (Bug#11746)
2098
2099 2013-05-30 Glenn Morris <rgm@gnu.org>
2100
2101 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
2102
2103 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
2104 (cc-require): Suppress spurious "noruntime" warnings.
2105 (cc-require-when-compile): Use fboundp, for sake of compiler.
2106
2107 * progmodes/cc-mode.el: Move load of cc-vars before that of
2108 cc-langs (which in turn loads cc-vars), to quieten compiler.
2109
2110 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2111
2112 * paren.el: Simplify the code.
2113 (show-paren-mode): Always start the timer.
2114 (show-paren--idle-timer): Rename from show-paren-idle-timer.
2115 (show-paren--overlay, show-paren--overlay-1): Rename from
2116 show-paren-overlay and show-paren-overlay-1, and initialize to an
2117 overlay rather than to nil.
2118 (show-paren-function): Misc cleanup and simplifications.
2119
2120 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2121
2122 * paren.el (show-paren-data-function): New hook.
2123 (show-paren--default): New function, extracted from show-paren-function.
2124 (show-paren-function): Use show-paren-data-function.
2125
2126 2013-05-30 Glenn Morris <rgm@gnu.org>
2127
2128 * ielm.el (ielm-map, ielm-complete-symbol):
2129 Use completion-at-point rather than obsolete functions.
2130 (inferior-emacs-lisp-mode): Doc fix.
2131 Set completion-at-point-functions, rather than
2132 comint-dynamic-complete-functions.
2133
2134 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
2135 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
2136 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
2137
2138 * image.el (image-animated-p): Tweak definition.
2139
2140 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
2141 (rlogin-process-connection-type): Tweak default. Add set-after.
2142 (rlogin-host): Doc fix.
2143 (rlogin): Tweak prompt.
2144 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
2145
2146 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
2147 * progmodes/tcl.el (inferior-tcl-mode-map):
2148 Use completion-at-point rather than obsolete alias.
2149
2150 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
2151
2152 * minibuffer.el (read-file-name-completion-ignore-case):
2153 Move before completion--in-region, for eager macro expansion.
2154
2155 2013-05-29 Juri Linkov <juri@jurta.org>
2156
2157 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
2158 for total count of matching lines. Add `global-matches' for total
2159 count of matches. Rename `matches' to `lines' for count of
2160 matching lines. Add `matches' for count of matches.
2161 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
2162 to `prev-line' for line number of prev match endpt.
2163 Increment `matches' for every match. Print the number of
2164 matching lines in the header.
2165 (occur-context-lines): Rename `lines' to `curr-line'.
2166 Rename `prev-lines' to `prev-line'. (Bug#14017)
2167
2168 2013-05-29 Juri Linkov <juri@jurta.org>
2169
2170 * replace.el (perform-replace): Add `skip-read-only-count',
2171 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
2172 Increment them for corresponding conditions and report the number
2173 of skipped occurrences in the final message. (Bug#11746)
2174 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2175 (replace-string, replace-regexp): Doc fix.
2176
2177 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2178
2179 * emacs-lisp/trace.el (trace--read-args): Provide a default.
2180
2181 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
2182 prog-mode-map (bug#14504).
2183
2184 2013-05-29 Leo Liu <sdl.web@gmail.com>
2185
2186 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
2187 (octave-help): Small simplification.
2188
2189 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
2190 off the highlight first.
2191
2192 2013-05-29 Glenn Morris <rgm@gnu.org>
2193
2194 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
2195 Handle idlwave-last-system-routine-info-cons-cell being nil.
2196
2197 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
2198 (idlwave-write-paths): Simplify via with-temp-buffer.
2199
2200 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
2201 * emulation/cua-rect.el: Also load cua-base at run time.
2202
2203 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
2204 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
2205 (cperl-imenu-on-info): Require imenu.
2206
2207 2013-05-28 Alan Mackenzie <acm@muc.de>
2208
2209 Handle "capitalised keywords" correctly.
2210 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
2211
2212 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
2213
2214 * eshell/em-unix.el: Add -r option to cp.
2215
2216 2013-05-28 Glenn Morris <rgm@gnu.org>
2217
2218 * vc/vc-arch.el (vc-exec-after): Declare.
2219 (vc-switches): Autoload.
2220 * vc/vc-bzr.el: No need to require vc when compiling.
2221 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
2222 (vc-resynch-buffer, vc-dir-refresh): Declare.
2223 (vc-setup-buffer, vc-switches): Autoload.
2224 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
2225 (vc-resynch-buffer): Declare.
2226 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
2227 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
2228 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
2229 (grep-read-regexp, grep-read-files, grep-expand-template)
2230 (vc-dir-refresh): Declare.
2231 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
2232 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
2233 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
2234 * vc/vc-mtn.el (vc-exec-after): Declare.
2235 (vc-switches): Autoload.
2236 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
2237 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
2238 (vc-file-tree-walk): Declare.
2239 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
2240 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
2241 (vc-tag-precondition, vc-rename-master): Autoload.
2242 * vc/vc-svn.el (vc-exec-after): Declare.
2243 (vc-switches, vc-setup-buffer): Autoload.
2244 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
2245 Autoload.
2246 (vc-resynch-buffer): Declare.
2247
2248 * obsolete/fast-lock.el (byte-compile-warnings):
2249 Don't warn about obsolete features in this obsolete file.
2250
2251 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
2252 Move definition before use.
2253
2254 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
2255 (dun-unix-verbs): Remove dun-zippy.
2256 (dun-zippy): Remove function.
2257
2258 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
2259
2260 2013-05-27 Juri Linkov <juri@jurta.org>
2261
2262 * replace.el (replace-search): New function with code moved out
2263 from `perform-replace'.
2264 (replace-highlight, replace-dehighlight): Move function definitions
2265 up closer to `replace-search'. (Bug#11746)
2266
2267 2013-05-27 Juri Linkov <juri@jurta.org>
2268
2269 * replace.el (perform-replace): Ignore invisible matches.
2270 In addition to checking `query-replace-skip-read-only', also
2271 filter out matches by calling `run-hook-with-args-until-failure'
2272 on `isearch-filter-predicates', and also check `search-invisible'
2273 for t or call `isearch-range-invisible'.
2274 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
2275
2276 2013-05-27 Juri Linkov <juri@jurta.org>
2277
2278 * isearch.el (isearch-filter-predicates): Rename from
2279 `isearch-filter-predicate'. Doc fix. (Bug#11378)
2280 (isearch-message-prefix): Display text from the property
2281 `isearch-message-prefix' of the currently active filters.
2282 (isearch-search): Don't compare `isearch-filter-predicate' with
2283 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
2284 on `isearch-filter-predicates'. Also check `search-invisible' for t
2285 or call `isearch-range-invisible'.
2286 (isearch-filter-visible): Make obsolete.
2287 (isearch-lazy-highlight-search):
2288 Call `run-hook-with-args-until-failure' on
2289 `isearch-filter-predicates' and use `isearch-range-invisible'.
2290
2291 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
2292 `isearch-filter-predicates' instead of `funcall'ing
2293 `isearch-filter-predicate'.
2294 (Info-mode): Set `Info-isearch-filter' to
2295 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
2296
2297 * dired-aux.el (dired-isearch-filter-predicate-orig):
2298 Remove variable.
2299 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
2300 (dired-isearch-filenames-end): Add and remove
2301 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
2302 instead of changing the value of `isearch-filter-predicate'.
2303 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
2304 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
2305 Put property `isearch-message-prefix' to "filename " on
2306 `dired-isearch-filter-filenames'.
2307
2308 * wdired.el (wdired-change-to-wdired-mode):
2309 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
2310 locally instead of changing `isearch-filter-predicate'.
2311 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
2312
2313 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
2314
2315 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
2316 return the commit hash (Bug#14459). Also set the
2317 `vc-git-detached' property.
2318 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
2319 (vc-git-mode-line-string): Use the same help-echo format whether
2320 in detached mode or not, because we know the actual revision now.
2321 When in detached mode, shorten the revision to 7 chars.
2322
2323 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
2324
2325 * emacs-lisp/easy-mmode.el (define-minor-mode):
2326 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
2327 mode hook and provide a docstring.
2328
2329 2013-05-27 Alan Mackenzie <acm@muc.de>
2330
2331 Remove spurious syntax-table text properties inserted by C-y.
2332 * progmodes/cc-mode.el (c-after-change): Also clear hard
2333 syntax-table property with value nil.
2334
2335 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
2336
2337 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
2338 when reading the events; the buffer layout shall not be changed.
2339
2340 2013-05-27 Leo Liu <sdl.web@gmail.com>
2341
2342 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
2343 New variable.
2344 (inferior-octave-directory-tracker): Automatically re-sync
2345 default-directory.
2346 (octave-help): Improve handling of 'See also'.
2347
2348 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
2349
2350 * doc-view.el: Minor naming convention tweaks.
2351 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
2352
2353 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
2354 even if there's no `display' property yet (bug#14435).
2355
2356 2013-05-25 Eli Zaretskii <eliz@gnu.org>
2357
2358 * subr.el (unmsys--file-name): Rename from reveal-filename.
2359
2360 * Makefile.in (custom-deps, finder-data, autoloads)
2361 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2362 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2363 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
2364
2365 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2366
2367 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
2368 error-completion on the first 2 args of condition-case (bug#14446).
2369 Don't burp at EOB.
2370
2371 2013-05-25 Leo Liu <sdl.web@gmail.com>
2372
2373 * comint.el (comint-previous-matching-input): Do not flood the
2374 *Messages* buffer with trivial messages.
2375
2376 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2377
2378 * progmodes/flymake.el (flymake-nop): Don't return a string.
2379 (flymake-set-at): Fix typo.
2380
2381 * simple.el (read--expression): New function, extracted from
2382 eval-expression. Set completion-at-point-functions (bug#14465).
2383 (eval-expression, eval-minibuffer): Use it.
2384
2385 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
2386
2387 * progmodes/flymake.el (flymake-save-buffer-in-file)
2388 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
2389 (flymake-selected-frame, flymake-log, flymake-ins-after)
2390 (flymake-set-at, flymake-get-buildfile-from-cache)
2391 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
2392 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
2393 Refine the doc string.
2394 (flymake-get-file-name-mode-and-masks): Reformat.
2395 (flymake-get-real-file-name-function): Fix a minor bug.
2396
2397 2013-05-24 Juri Linkov <juri@jurta.org>
2398
2399 * progmodes/grep.el (grep-mode-font-lock-keywords):
2400 Support =linenumber= format used by git-grep for lines with
2401 function names. (Bug#13549)
2402
2403 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
2404
2405 * progmodes/octave.el (octave-smie-rules): Return nil rather than
2406 0 after a semi-colon; it works better for smie-auto-fill.
2407 (octave--indent-new-comment-line): New function.
2408 (octave-indent-new-comment-line): Use it (indirectly).
2409 (octave-mode): Don't disable smie-auto-fill. Use add-function to
2410 modify comment-line-break-function.
2411
2412 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
2413 (smie-setup): Use add-function to set it.
2414
2415 2013-05-24 Sam Steingold <sds@gnu.org>
2416
2417 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
2418 argument (before the `interactive' argument).
2419
2420 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
2421
2422 * image-mode.el (image-mode-winprops): Add winprops to
2423 image-mode-winprops-alist before running
2424 image-mode-new-window-functions.
2425 * doc-view.el (doc-view-new-window-function): Don't delay
2426 doc-view-goto-page via timers (bug#14435).
2427
2428 2013-05-24 Tassilo Horn <tsdh@gnu.org>
2429
2430 * doc-view.el: Integrate with desktop.el. (Bug#14435)
2431 (doc-view-desktop-save-buffer): New function.
2432 (doc-view-restore-desktop-buffer): New function.
2433 (desktop-buffer-mode-handlers):
2434 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
2435 handler.
2436 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
2437 `desktop-save-buffer' function.
2438
2439 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
2440
2441 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
2442 (tramp-gvfs-file-name-handler): Raise a user error when
2443 `tramp-gvfs-enabled' is nil.
2444 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
2445 Do not raise a user error when loading package. (Bug#14447)
2446
2447 * net/xesam.el: Move to obsolete/.
2448
2449 2013-05-24 Glenn Morris <rgm@gnu.org>
2450
2451 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
2452
2453 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
2454
2455 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
2456 (Info-find-node, Man-getpage-in-background): Declare.
2457
2458 * mail/unrmail.el (unrmail):
2459 Replace obsolete detect-coding-with-priority.
2460
2461 * net/socks.el (socks-split-string): Use this rather than split-string.
2462 (socks-nslookup-host): Update for above change.
2463 (dynamic-choice, s5-dynamic-choice-match)
2464 (s5-dynamic-choice-match-inline, s5-widget-value-create):
2465 Comment out unused code.
2466
2467 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
2468 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
2469 (gud-tooltip-echo-area): Make obsolete.
2470 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
2471
2472 * progmodes/js.el (js--optimize-arglist): Declare.
2473
2474 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
2475
2476 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
2477 (ediff-window-C): Declare.
2478
2479 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
2480 Tweak requires to silence compiler.
2481
2482 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
2483 (he-search-string, he-tried-table, he-expand-list)
2484 (he-init-string, he-string-member, he-substitute-string)
2485 (he-reset-string): Declare.
2486
2487 * obsolete/options.el (list-options): Use custom-variable-p,
2488 rather than obsolete alias.
2489
2490 2013-05-23 Sam Steingold <sds@gnu.org>
2491
2492 * simple.el (shell-command-on-region): Pass the `replace' argument
2493 down to `call-process-region' to comply with the doc as reported on
2494 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
2495
2496 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
2497
2498 * emacs-lisp/smie.el (smie-indent-forward-token)
2499 (smie-indent-backward-token): Handle string tokens (bug#14381).
2500
2501 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2502
2503 * ielm.el (ielm-menu): New menu.
2504 (inferior-emacs-lisp-mode): Set comment-start.
2505
2506 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2507
2508 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
2509 Fix deactivate action.
2510
2511 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
2512 Add cleveref macros.
2513
2514 * lisp/textmodes/reftex-parse.el
2515 (reftex-locate-bibliography-files): Accept options for
2516 bibliography commands.
2517 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
2518 Add addbibresource. Basic Biblatex support.
2519
2520 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
2521
2522 * net/tramp-gvfs.el (top):
2523 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
2524 when loading package. (Bug#14447)
2525
2526 2013-05-23 Glenn Morris <rgm@gnu.org>
2527
2528 * progmodes/js.el: No need to load comint when compiling.
2529 (ring-insert, comint-send-string, comint-send-input)
2530 (comint-last-input-end, ido-chop): Declare.
2531
2532 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
2533 * vc/ediff-mult.el: Adjust requires.
2534 (ediff-directories-internal, ediff-directory-revisions-internal)
2535 (ediff-patch-file-internal): Declare.
2536 * vc/ediff-ptch.el: Adjust requires.
2537 (ediff-use-last-dir, ediff-buffers-internal): Declare.
2538 (ediff-find-file): Autoload.
2539 * vc/ediff-util.el: No need to load ediff when compiling.
2540 (ediff-regions-internal): Declare.
2541 * vc/ediff-wind.el: Adjust requires.
2542 (ediff-compute-toolbar-width): Define when compiling.
2543 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
2544 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
2545 (dired-get-filename, dired-get-marked-files)
2546 (ediff-last-dir-patch, ediff-patch-default-directory)
2547 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
2548 (ediff-patch-buffer-internal): Declare.
2549
2550 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
2551 (ispell-process, ispell-buffer-local-words, lm-summary)
2552 (lm-section-start, lm-section-end): Declare.
2553 (checkdoc-ispell-init): Simplify.
2554
2555 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
2556 (he-string-member, he-reset-string, he-substitute-string): Declare.
2557
2558 * eshell/em-ls.el: Adjust requires.
2559 (eshell-glob-regexp): Declare.
2560 * eshell/em-tramp.el: Adjust requires.
2561 (eshell-parse-command): Autoload.
2562 * eshell/em-xtra.el: Adjust requires.
2563 (eshell-parse-command): Autoload.
2564 * eshell/esh-ext.el: Adjust requires.
2565 (eshell-parse-command, eshell-close-handles): Autoload.
2566 * eshell/esh-io.el: Adjust requires.
2567 (eshell-output-filter): Autoload.
2568 * eshell/esh-util.el: No need to load tramp when compiling.
2569 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
2570 Declare.
2571 (eshell-parse-ange-ls): Require ange-ftp and tramp.
2572 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2573 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
2574 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
2575 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
2576 * eshell/esh-opt.el, eshell/esh-proc.el:
2577 * eshell/esh-var.el: Adjust requires.
2578 * eshell/eshell.el: Do not require esh-util twice.
2579 (eshell-add-input-to-history): Declare.
2580 (eshell-command): Check history module is active before using it.
2581
2582 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
2583
2584 2013-05-22 Leo Liu <sdl.web@gmail.com>
2585
2586 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
2587
2588 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
2589
2590 * autorevert.el (auto-revert-notify-add-watch)
2591 (auto-revert-notify-handler): Add `attrib' for the inotify case,
2592 it indicates changes in file modification time.
2593
2594 2013-05-22 Glenn Morris <rgm@gnu.org>
2595
2596 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
2597 Always delete the autoloaded function from the noruntime and
2598 unresolved functions lists.
2599
2600 * allout.el: No need to load epa, epg, overlay when compiling.
2601 (epg-context-set-passphrase-callback, epg-list-keys)
2602 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
2603 (epg-key-user-id-list): Declare.
2604
2605 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
2606 (viper-set-parsing-style-toggling-macro)
2607 (viper-set-emacs-state-searchstyle-macros):
2608 Use called-interactively-p on Emacs.
2609 (viper-looking-back): Make it an obsolete alias. Update callers.
2610 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
2611 Use looking-back rather than viper-looking-back.
2612 (viper-tmp-insert-at-eob, viper-enlarge-region)
2613 (viper-read-string-with-history, viper-register-to-point)
2614 (viper-append-to-register, viper-change-state-to-vi)
2615 (viper-backward-char-carefully, viper-forward-char-carefully)
2616 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
2617 (viper-change-state-to-emacs): Declare.
2618 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
2619 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
2620 * emulation/viper-mous.el: Do not load viper-cmd.
2621 (viper-backward-char-carefully, viper-forward-char-carefully)
2622 (viper-forward-word, viper-adjust-window): Declare.
2623
2624 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
2625
2626 * progmodes/idlw-help.el (idlwave-help-fontify):
2627 Use called-interactively-p.
2628
2629 * term/w32console.el (w32-get-console-codepage)
2630 (w32-get-console-output-codepage): Declare.
2631
2632 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
2633 Remove unnecessary declarations.
2634 (dframe-message): Doc fix.
2635
2636 * info.el (dframe-select-attached-frame, dframe-current-frame):
2637 Declare.
2638
2639 * speedbar.el (speedbar-message): Make it an obsolete alias.
2640 Update all callers.
2641 (speedbar-with-attached-buffer)
2642 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
2643 (speedbar-with-writable): Use backquote.
2644 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
2645 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2646 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
2647 rather than speedbar- aliases.
2648 * mail/rmail.el: Load dframe rather than speedbar when compiling.
2649 (speedbar-make-specialized-keymap, speedbar-insert-button)
2650 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
2651 (speedbar-do-function-pointer): Declare.
2652 (rmail-speedbar-button, rmail-speedbar-find-file)
2653 (rmail-speedbar-move-message):
2654 Use dframe-with-attached-buffer rather than speedbar- alias.
2655 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
2656 (dframe-message, speedbar-make-specialized-keymap)
2657 (speedbar-add-expansion-list, speedbar-mode-functions-list)
2658 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
2659 (speedbar-insert-button, dframe-select-attached-frame)
2660 (dframe-maybee-jump-to-attached-frame)
2661 (speedbar-change-initial-expansion-list)
2662 (speedbar-previously-used-expansion-list-name): Declare.
2663 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
2664 Use dframe-message, dframe-with-attached-buffer rather than
2665 speedbar- aliases.
2666 (gud-sentinel): Silence compiler.
2667 * progmodes/vhdl-mode.el (speedbar-refresh)
2668 (speedbar-do-function-pointer, speedbar-add-supported-extension)
2669 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
2670 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
2671 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
2672 (speedbar-file-lists, speedbar-make-tag-line)
2673 (speedbar-line-directory, speedbar-goto-this-file)
2674 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
2675 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
2676 (speedbar-make-button, speedbar-reset-scanners)
2677 (speedbar-files-item-info, speedbar-line-text)
2678 (speedbar-find-file-in-frame, speedbar-set-timer)
2679 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
2680 (speedbar-with-writable): Do not (re)define it.
2681 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
2682 rather than speedbar- alias.
2683
2684 2013-05-21 Leo Liu <sdl.web@gmail.com>
2685
2686 * progmodes/octave.el (octave-mode-menu): Update and re-organize
2687 menu items.
2688 (octave-mode): Tweak fill-nobreak-predicate.
2689 (inferior-octave-startup): Check process to avoid infinite loop.
2690 (inferior-octave): Pop to buffer first to show abornmal process
2691 exit information.
2692
2693 2013-05-21 Glenn Morris <rgm@gnu.org>
2694
2695 * printing.el (pr-menu-bar): Define when compiling.
2696
2697 2013-05-21 Leo Liu <sdl.web@gmail.com>
2698
2699 * progmodes/octave.el (octave-auto-fill): Remove.
2700 (octave-indent-new-comment-line): Improve.
2701 (octave-mode): Use auto fill mode through
2702 comment-line-break-function and fill-nobreak-predicate.
2703 (octave-goto-function-definition): Support DEFUN_DLD.
2704 (octave-beginning-of-defun): Small tweak.
2705 (octave-help): Show parent directory.
2706
2707 2013-05-21 Glenn Morris <rgm@gnu.org>
2708
2709 * files.el (dired-unmark):
2710 * progmodes/gud.el (gdb-input): Update declarations.
2711
2712 * calculator.el (electric, ehelp): No need to load when compiling.
2713 (Electric-command-loop, electric-describe-mode): Declare.
2714
2715 * doc-view.el (doc-view-current-converter-processes): Move before use.
2716
2717 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2718 Move MODE-set-explicitly definition before use.
2719
2720 * international/mule-diag.el (mule-diag):
2721 Don't use obsolete window-system-version.
2722
2723 * mail/feedmail.el (smtpmail): No need to load when compiling.
2724 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
2725
2726 * mail/mail-utils.el (rfc822): No need to load when compiling.
2727 (rfc822-addresses): Autoload it.
2728 (mail-strip-quoted-names): Trivial simplification.
2729
2730 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
2731 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
2732
2733 * net/snmp-mode.el (tempo): Don't duplicate requires.
2734
2735 * progmodes/prolog.el (info): No need to load when compiling.
2736 (comint): Require before shell requires it.
2737 (Info-goto-node): Autoload it.
2738 (Info-follow-nearest-node): Declare.
2739 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
2740
2741 * textmodes/artist.el (picture-mode-exit): Declare.
2742
2743 * textmodes/reftex-parse.el (reftex-parse-from-file):
2744 Trivial rewrite so the compiler can parse it better.
2745
2746 2013-05-20 Leo Liu <sdl.web@gmail.com>
2747
2748 * progmodes/octave.el (octave-help-mode-map)
2749 (octave-help-mode-finish-hook): New variables.
2750 (octave-help-mode, octave-help-mode-finish): New functions.
2751 (octave-help): Use octave-help-mode.
2752
2753 2013-05-20 Glenn Morris <rgm@gnu.org>
2754
2755 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
2756
2757 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
2758
2759 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
2760 start at point, so that expansion starting right after opening
2761 slash in a regexp is recognized.
2762 (ruby-syntax-before-regexp-re): New defvar, extracted from
2763 ruby-syntax-propertize-function. Since the value of this regexp
2764 is looked up at runtime now, we should be able to turn
2765 `ruby-syntax-methods-before-regexp' into a defcustom later.
2766 (ruby-syntax-propertize-function): Split regexp matching into two
2767 parts, for opening and closing slashes. That allows us to skip
2768 over string interpolations and support multiline regexps.
2769 Don't call `ruby-syntax-propertize-expansions', instead use another rule
2770 for them, which calls `ruby-syntax-propertize-expansion'.
2771 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
2772 call to `ruby-syntax-propertize-function'.
2773 (ruby-syntax-propertize-expansion): Extracted from
2774 `ruby-syntax-propertize-expansions'. Handles one expansion.
2775 (ruby-syntax-propertize-percent-literal): Leave point right after
2776 the percent symbol, so that the expression expansion rule can
2777 propertize the contents.
2778 (ruby-syntax-propertize-heredoc): Leave point at bol following the
2779 heredoc openers.
2780 (ruby-syntax-propertize-expansions): Remove.
2781
2782 2013-05-18 Juri Linkov <juri@jurta.org>
2783
2784 * man.el (Man-default-man-entry): Remove `-' from the end
2785 of the default value. (Bug#14400)
2786
2787 2013-05-18 Glenn Morris <rgm@gnu.org>
2788
2789 * comint.el (comint-password-prompt-regexp):
2790 Allow "password for XXX" where XXX contains colons (eg https://...).
2791
2792 2013-05-18 Leo Liu <sdl.web@gmail.com>
2793
2794 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
2795 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
2796 (octave-source-directories): Don't check process.
2797 (octave-source-directories, octave-find-definition): Doc fix.
2798
2799 2013-05-18 Glenn Morris <rgm@gnu.org>
2800
2801 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
2802 Remove backspace/delete bindings. (Bug#14392)
2803
2804 * cus-dep.el (custom-make-dependencies): Sort the output.
2805 (custom-versions-load-alist): Convert comment to doc.
2806
2807 2013-05-17 Leo Liu <sdl.web@gmail.com>
2808
2809 * newcomment.el (comment-search-backward): Stricter in finding
2810 comment start. (Bug#14303)
2811
2812 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
2813 (octave-comment-start-skip): Properly anchored.
2814
2815 2013-05-17 Leo Liu <sdl.web@gmail.com>
2816
2817 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
2818 Clean up when turned off. (Bug#14395)
2819 (smie--highlight-matching-block-overlay): No longer buffer-local.
2820 (smie-highlight-matching-block): Adjust.
2821
2822 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
2823
2824 Doc string fix for "nanoseconds" (Bug#14406).
2825 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
2826 Fix doc string typo that had "nanoseconds" instead of "microseconds".
2827
2828 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
2829
2830 * calc/calc-units.el (math-extract-units): Preserve powers
2831 of units.
2832
2833 2013-05-17 Leo Liu <sdl.web@gmail.com>
2834
2835 * subr.el (delete-consecutive-dups): New function.
2836 * ido.el (ido-set-matches-1): Use it.
2837 * progmodes/octave.el (inferior-octave-completion-table): Use it.
2838 * ido.el (ido-remove-consecutive-dups): Remove.
2839
2840 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2841
2842 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
2843 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
2844 regexp-opt's `words'.
2845
2846 2013-05-16 Leo Liu <sdl.web@gmail.com>
2847
2848 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
2849 (smie--highlight-matching-block-overlay)
2850 (smie--highlight-matching-block-lastpos)
2851 (smie--highlight-matching-block-timer): New variables.
2852 (smie-highlight-matching-block): New function.
2853 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
2854 (smie-setup): Conditionally enable smie-blink-matching-open.
2855
2856 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
2857
2858 Sync with upstream verilog-mode r840.
2859 * progmodes/verilog-mode.el (verilog-mode-version)
2860 (verilog-mode-release-date): Update.
2861 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
2862 (verilog-sig-tieoff): Fix string error on
2863 AUTORESET with colon define, bug594. Reported by Andrew Hou.
2864 (verilog-read-decls): Fix parameters confusing
2865 AUTOINST interfaces, bug565. Reported by Leith Johnson.
2866
2867 2013-05-16 Eli Zaretskii <eliz@gnu.org>
2868
2869 * subr.el (reveal-filename): New function.
2870
2871 * loadup.el: Compute Emacs executable versions on MS-Windows,
2872 where executables have the .exe extension. Add a hard link
2873 emacs-XX.YY.ZZ.exe on MS-Windows.
2874
2875 * Makefile.in (XARGS_LIMIT): New variable.
2876 (custom-deps, finder-data, autoloads)
2877 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2878 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2879 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
2880 (compile-main): Limit xargs according to $(XARGS_LIMIT).
2881
2882 2013-05-16 Leo Liu <sdl.web@gmail.com>
2883
2884 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
2885 (octave-mode-menu, octave-mode-map): Remove its uses.
2886
2887 2013-05-16 Reto Zimmermann <reto@gnu.org>
2888
2889 Sync with upstream vhdl mode v3.34.2.
2890 * progmodes/vhdl-mode.el: Use `push' throughout.
2891 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
2892 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
2893 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
2894 (vhdl-actual-generic-name): New option to derive actual generic name.
2895 (vhdl-port-paste-signals): Replace formal by actual generics.
2896 (vhdl-beautify): New name for old group vhdl-align. Update users.
2897 (vhdl-beautify-options): New option.
2898 (vhdl-last-input-event): New compat alias. Use throughout.
2899 (vhdl-goto-line): Replace user level function `goto-line'.
2900 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
2901 vhdl-fix-statement-buffer.
2902 (vhdl-create-mode-menu): Add some entries.
2903 (vhdl-align-region-groups): Respect vhdl-beautify-options.
2904 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
2905 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
2906 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
2907 to force statements on one line.
2908 (vhdl-remove-trailing-spaces-region):
2909 New, split from vhdl-remove-trailing-spaces.
2910 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
2911 Respect vhdl-beautify-options.
2912 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
2913 (vhdl-update-sensitivity-list): Not add with index if exists without.
2914 Not include array index with signal. Ignore keywords in comments.
2915 (vhdl-get-visible-signals): Regexp tweaks.
2916 (vhdl-template-component-inst): Handle empty library.
2917 (vhdl-template-type): Add template for 'enum' type.
2918 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
2919 Use vhdl-replace-string.
2920 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
2921 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
2922 (vhdl-speedbar-initialize): Update for above name change.
2923 (vhdl-compose-wire-components): Fix in handling of constants.
2924 (vhdl-error-regexp-emacs-alist): New variable.
2925 (vhdl-error-regexp-add-emacs): New function;
2926 adds support for new compile.el (Emacs 22+)
2927 (vhdl-generate-makefile-1): Change target order for single lib. units.
2928 Allow use of absolute file names.
2929
2930 2013-05-16 Leo Liu <sdl.web@gmail.com>
2931
2932 * simple.el (prog-indent-sexp): Indent enclosing defun.
2933
2934 2013-05-15 Glenn Morris <rgm@gnu.org>
2935
2936 * cus-start.el (show-trailing-whitespace): Move to editing basics.
2937 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
2938 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
2939 (whitespace-highlight): Move to whitespace group.
2940
2941 * comint.el (comint-source):
2942 * pcmpl-linux.el (pcmpl-linux):
2943 * shell.el (shell-faces):
2944 * eshell/esh-opt.el (eshell-opt):
2945 * international/ccl.el (ccl): Remove empty custom groups.
2946
2947 * completion.el (dynamic-completion-mode):
2948 * jit-lock.el (jit-lock-debug-mode):
2949 * minibuffer.el (completion-in-region-mode):
2950 * type-break.el (type-break-mode-line-message-mode)
2951 (type-break-query-mode):
2952 * emulation/tpu-edt.el (tpu-edt-mode):
2953 * progmodes/subword.el (global-subword-mode, global-superword-mode):
2954 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
2955 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
2956
2957 * term/xterm.el (xterm): Change parent group to terminals.
2958
2959 * master.el (master): Remove empty custom group.
2960 (master-mode): Remove unused :group argument.
2961 * textmodes/refill.el (refill): Remove empty custom group.
2962 (refill-mode): Remove unused :group argument.
2963
2964 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
2965
2966 * cus-dep.el: Provide a feature.
2967 (custom-make-dependencies): Ignore dotfiles (dir-locals).
2968 Don't mistakenly ignore files whose basenames match a basename
2969 from preloaded-file-list (eg cedet/ede/simple.el).
2970 Add a fallback method for getting :group.
2971
2972 2013-05-15 Juri Linkov <juri@jurta.org>
2973
2974 * isearch.el (isearch-char-by-name): Rename from
2975 `isearch-insert-char-by-name'. Doc fix.
2976 (isearch-forward): Mention `isearch-char-by-name' in
2977 the docstring. (Bug#13348)
2978
2979 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
2980 `exit-minibuffer' instead of
2981 `isearch-nonincremental-exit-minibuffer'.
2982 (isearch-edit-string): Remove mention of
2983 `isearch-nonincremental-exit-minibuffer' from docstring.
2984 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
2985 (isearch-forward-exit-minibuffer)
2986 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
2987
2988 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2989
2990 * loadup.el: Just use unversioned DOC.
2991
2992 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
2993 literals as extending to EOB.
2994 (nxml-last-fontify-end): Remove unused variable.
2995 (nxml-after-change1): Use with-silent-modifications.
2996 (nxml-extend-after-change-region): Simplify.
2997 (nxml-extend-after-change-region1): Remove function.
2998 (nxml-after-change1): Don't adjust for dependent regions.
2999 (nxml-fontify-matcher): Simplify.
3000 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
3001 (xmltok-add-dependent): Remove function.
3002 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
3003 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
3004 (xmltok-scan-prolog-after-processing-instruction-open): Treat
3005 unclosed <[[, <?, comment, and other literals as extending to EOB.
3006 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
3007 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
3008 Remove functions.
3009 (rng-do-some-validation-1): Don't mark dependent regions.
3010 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
3011 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
3012 (nxml-clear-dependent-regions): Remove functions.
3013 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
3014 (nxml-ensure-scan-up-to-date):
3015 Don't clear&mark dependent regions.
3016
3017 2013-05-15 Leo Liu <sdl.web@gmail.com>
3018
3019 * progmodes/octave.el (octave-goto-function-definition):
3020 Improve and fix callers.
3021
3022 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3023
3024 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
3025 the setter (bug#14387).
3026
3027 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
3028 surrounding group (bug#14402).
3029
3030 2013-05-14 Juri Linkov <juri@jurta.org>
3031
3032 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
3033 (Bug#14390)
3034
3035 2013-05-14 Glenn Morris <rgm@gnu.org>
3036
3037 * progmodes/f90.el (f90-imenu-generic-expression):
3038 Fix typo in 2013-05-08 change. (Bug#14402)
3039
3040 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
3041
3042 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
3043 Remove signals for which replies are never received.
3044
3045 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
3046
3047 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
3048 (gdb-handler-alist, gdb-handler-number): Remove variables.
3049 (gdb-handler-list): New variable.
3050 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
3051 (gdb-pending-handler-p, gdb-handle-reply)
3052 (gdb-remove-all-pending-triggers): New functions.
3053 (gdb-discard-unordered-replies): New defcustom.
3054 (gdb-handler): New defstruct.
3055 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
3056 instead of gdb-pending-triggers. Update docstring.
3057 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
3058 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
3059 (gdb-var-update-handler, def-gdb-auto-update-trigger)
3060 (def-gdb-auto-update-handler, gdb-get-changed-registers)
3061 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
3062 (gdb-frame-handler): Pending triggers are now automatically managed.
3063 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
3064 Remove argument.
3065 (gdb-input): Automatically handles pending triggers. Update docstring.
3066 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
3067 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
3068 Update comments.
3069 (gdb-done-or-error): Now use gdb-handle-reply.
3070
3071 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
3072
3073 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
3074 gdb-debug-log.
3075
3076 2013-05-14 Glenn Morris <rgm@gnu.org>
3077
3078 * subr.el (user-emacs-directory-warning): New option.
3079 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
3080
3081 2013-05-14 Leo Liu <sdl.web@gmail.com>
3082
3083 * progmodes/octave.el (octave-font-lock-keywords): Fix error
3084 during redisplay.
3085 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
3086 (octave-font-lock-texinfo-comment): Fix invalid search bound
3087 error: wrong side of point.
3088
3089 2013-05-14 Glenn Morris <rgm@gnu.org>
3090
3091 * progmodes/flymake.el (flymake-xml-program): New option.
3092 (flymake-xml-init): Use it.
3093
3094 * term/xterm.el: Provide a feature.
3095
3096 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
3097
3098 2013-05-13 Glenn Morris <rgm@gnu.org>
3099
3100 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
3101 Add compat aliases as a hack workaround. (Bug#14384)
3102
3103 2013-05-13 Leo Liu <sdl.web@gmail.com>
3104
3105 * progmodes/octave.el (octave-indent-comment): Fix indentation for
3106 ###, and %!.
3107 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
3108 C-M-q.
3109 (octave-comment-start-skip): Include %!.
3110 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
3111
3112 2013-05-12 Leo Liu <sdl.web@gmail.com>
3113
3114 * progmodes/octave.el (inferior-octave-startup): Store the value
3115 of __octave_srcdir__ for octave-source-directories.
3116 (inferior-octave-check-process): New function refactored out of
3117 inferior-octave-send-list-and-digest.
3118 (octave-source-directories)
3119 (octave-find-definition-filename-function): New variables.
3120 (octave-source-directories)
3121 (octave-find-definition-default-filename): New functions.
3122 (octave-find-definition): Improve to find functions implemented in C++.
3123
3124 2013-05-12 Glenn Morris <rgm@gnu.org>
3125
3126 * calendar/diary-lib.el (diary-outlook-format-1):
3127 Don't include dayname in the output. (Bug#14349)
3128
3129 2013-05-11 Glenn Morris <rgm@gnu.org>
3130
3131 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
3132
3133 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
3134 Treat cc-provide like provide.
3135
3136 2013-05-11 Kevin Ryde <user42@zip.com.au>
3137
3138 * cus-dep.el (custom-make-dependencies):
3139 Use generated-autoload-load-name for the sake of files such
3140 such cedet/semantic/bovine/c.el, where the base file name
3141 is not in load-path. (Bug#5277)
3142
3143 2013-05-11 Glenn Morris <rgm@gnu.org>
3144
3145 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
3146 Provide features.
3147
3148 2013-05-11 Leo Liu <sdl.web@gmail.com>
3149
3150 * progmodes/octave.el (octave-indent-comment): Improve.
3151 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
3152 (octave-eldoc-function-signatures, octave-eldoc-function):
3153 New functions.
3154 (octave-mode, inferior-octave-mode): Add eldoc support.
3155
3156 2013-05-11 Richard Stallman <rms@gnu.org>
3157
3158 * epa.el (epa-decrypt-file): Take output file name as argument
3159 and read it using `interactive'.
3160
3161 2013-05-11 Leo Liu <sdl.web@gmail.com>
3162
3163 * progmodes/octave.el (octave-beginning-of-line)
3164 (octave-end-of-line): Check before using up-list because it jumps
3165 out of more syntactic contructs since moving to smie.
3166 (octave-indent-comment): New function.
3167 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
3168 (octave-begin-keywords, octave-end-keywords)
3169 (octave-reserved-words, octave-smie-bnf-table)
3170 (octave-smie-rules): Add new keywords from Octave 3.6.4.
3171
3172 2013-05-11 Glenn Morris <rgm@gnu.org>
3173
3174 * faces.el (internal-face-x-get-resource):
3175 * frame.el (ns-display-monitor-attributes-list):
3176 * calc/calc-aent.el (math-to-radians-2):
3177 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
3178 Fix declarations.
3179
3180 * calc/calc-menu.el: Make it loadable in isolation.
3181
3182 * net/eudcb-bbdb.el: Make it loadable without bbdb.
3183 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
3184 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
3185 (eudc-bbdb-query-internal): Require 'bbdb.
3186
3187 * lpr.el (lpr-headers-switches):
3188 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
3189
3190 * progmodes/sql.el (sql-login-params): Fix and improve :type.
3191
3192 * emulation/edt-mapper.el: In batch mode, error rather than hang.
3193
3194 * term.el (term-set-escape-char): Make it idempotent.
3195
3196 2013-05-10 Leo Liu <sdl.web@gmail.com>
3197
3198 * progmodes/octave.el (inferior-octave-completion-table):
3199 No longer a function and all uses changed. Use cache to speed up
3200 completion due to bug#11906.
3201 (octave-beginning-of-defun): Re-write to be more general.
3202
3203 2013-05-10 Glenn Morris <rgm@gnu.org>
3204
3205 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
3206
3207 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3208
3209 * comint.el (comint-redirect-send-command-to-process): Use :around
3210 rather than :override for comint-redirect-filter.
3211 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
3212 Call it instead of comint-redirect-original-filter-function (which
3213 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
3214
3215 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
3216
3217 * frame.el (display-monitor-attributes-list): Add NS case.
3218 (ns-display-monitor-attributes-list): Declare.
3219
3220 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
3221
3222 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
3223
3224 2013-05-09 Glenn Morris <rgm@gnu.org>
3225
3226 * international/fontset.el (vertical-centering-font-regexp):
3227 Set standard-value.
3228
3229 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
3230
3231 * bookmark.el (bookmark-search-delay):
3232 * cus-start.el (vertical-centering-font-regexp):
3233 * ps-mule.el (ps-mule-font-info-database-default):
3234 * ps-print.el (ps-default-fg, ps-default-bg):
3235 * type-break.el (type-break-good-break-interval):
3236 * whitespace.el (whitespace-indentation-regexp)
3237 (whitespace-space-after-tab-regexp):
3238 * emacs-lisp/testcover.el (testcover-1value-functions)
3239 (testcover-noreturn-functions, testcover-progn-functions)
3240 (testcover-prog1-functions):
3241 * emulation/viper-init.el (viper-emacs-state-cursor-color):
3242 * eshell/em-glob.el (eshell-glob-translate-alist):
3243 * play/tetris.el (tetris-tty-colors):
3244 * progmodes/cpp.el (cpp-face-default-list):
3245 * progmodes/flymake.el (flymake-allowed-file-name-masks):
3246 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
3247 (idlwave-help-browser-generic-args):
3248 * progmodes/make-mode.el (makefile-special-targets-list):
3249 * progmodes/python.el (python-shell-virtualenv-path):
3250 * progmodes/verilog-mode.el (verilog-active-low-regexp)
3251 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
3252 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
3253 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
3254 * textmodes/reftex-vars.el (reftex-format-label-function):
3255 * textmodes/remember.el (remember-diary-file): Fix custom types.
3256
3257 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
3258 Add :version.
3259
3260 2013-05-09 Leo Liu <sdl.web@gmail.com>
3261
3262 * progmodes/octave.el (inferior-octave-completion-at-point):
3263 Restore file completion. (Bug#14300)
3264 (inferior-octave-startup): Fix incorrect highlighting for the
3265 first prompt.
3266
3267 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3268
3269 * progmodes/ruby-mode.el: First cut at SMIE support.
3270 (ruby-use-smie): New var.
3271 (ruby-smie-grammar): New constant.
3272 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
3273 (ruby-smie--forward-token, ruby-smie--backward-token)
3274 (ruby-smie-rules): New functions.
3275 (ruby-mode-variables): Setup SMIE if applicable.
3276
3277 2013-05-08 Eli Zaretskii <eliz@gnu.org>
3278
3279 * simple.el (line-move-visual): Signal beginning/end of buffer
3280 only if vertical-motion moved less than it was requested. Avoids
3281 silly incorrect error messages when there are display strings with
3282 multiple newlines at EOL.
3283
3284 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3285
3286 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
3287 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
3288 (prolog-char-quote-workaround):
3289 * progmodes/cperl-mode.el (cperl-under-as-char):
3290 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
3291 Mark as obsolete.
3292 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
3293 their declaration.
3294 (vhdl-mode-syntax-table-init): Remove.
3295
3296 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
3297 last change.
3298
3299 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
3300 syntax for "_".
3301 (ld-script-font-lock-keywords):
3302 Change regexps to use things like \_< and \_>.
3303
3304 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
3305 Change all regexps to use things like \_< and \_>.
3306
3307 * progmodes/autoconf.el (autoconf-definition-regexp)
3308 (autoconf-font-lock-keywords, autoconf-current-defun-function):
3309 Handle a _ with symbol syntax.
3310 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
3311
3312 * progmodes/ada-mode.el (ada-mode-abbrev-table):
3313 Consolidate declaration.
3314 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
3315 the declaration.
3316 (ada-create-syntax-table): Remove.
3317 (ada-capitalize-word): Don't mess with the syntax of "_" since it
3318 already has the right syntax nowadays.
3319 (ada-goto-next-word): Don't change the syntax of "_".
3320
3321 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
3322 with-wrapper-hook.
3323
3324 2013-05-08 Sam Steingold <sds@gnu.org>
3325
3326 * thingatpt.el (thing-at-point): Accept optional second argument
3327 NO-PROPERTIES to strip the text properties from the return value.
3328 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
3329 to `thing-at-point' instead of stripping the properties ourselves.
3330 Also, when `thing-at-point' fails to find a url, prepend "http://"
3331 to the filename at point on the assumption that the user is
3332 pointing at something like gnu.org/gnu.
3333
3334 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
3335
3336 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
3337 * faces.el (crm-separator):
3338 Silence byte-compiler.
3339
3340 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
3341 (tool-bar-map): Remove unneeded defvars.
3342
3343 2013-05-08 Leo Liu <sdl.web@gmail.com>
3344
3345 Re-work a fix for bug#10994 based on Le Wang's patch.
3346 * ido.el (ido-remove-consecutive-dups): New helper.
3347 (ido-completing-read): Use it.
3348 (ido-chop): Revert fix for bug#10994.
3349
3350 2013-05-08 Adam Spiers <emacs@adamspiers.org>
3351
3352 * cus-edit.el (custom-save-variables):
3353 Pretty-print long values. (Bug#14187)
3354
3355 2013-05-08 Glenn Morris <rgm@gnu.org>
3356
3357 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
3358 (m4-mode-syntax-table): Init in the defvar.
3359 (m4-mode-abbrev-table): Let define-derived-mode define it.
3360
3361 2013-05-08 Tom Tromey <tromey@redhat.com>
3362
3363 * progmodes/m4-mode.el (m4-mode-syntax-table):
3364 Do not treat "_" as word constituent. (Bug#14167)
3365
3366 2013-05-07 Glenn Morris <rgm@gnu.org>
3367
3368 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
3369 Remove explicit eshell-isearch-cancel-map.
3370
3371 * progmodes/f90.el (f90-smart-end-names): New option.
3372 (f90-smart-end): Doc fix.
3373 (f90-end-block-optional-name): New constant.
3374 (f90-block-match): Respect f90-smart-end-names.
3375
3376 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3377
3378 * progmodes/octave.el (octave-smie-forward-token): Be more careful
3379 about implicit semi-colons (bug#14218).
3380
3381 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3382
3383 * frame.el (display-monitor-attributes-list)
3384 (frame-monitor-attributes): New functions.
3385
3386 2013-05-06 Leo Liu <sdl.web@gmail.com>
3387
3388 * progmodes/octave.el (octave-syntax-propertize-function): Change
3389 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
3390 (octave-font-lock-keywords): Use octave-operator-regexp.
3391 (octave-completion-at-point): Rename from
3392 octave-completion-at-point-function.
3393 (inferior-octave-directory-tracker): Robustify.
3394 (octave-text-functions): Remove and fix its uses. No such things
3395 any more.
3396
3397 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
3398
3399 * emacs-lisp/trace.el (trace--display-buffer): New function.
3400 (trace-make-advice): Use it.
3401
3402 2013-05-06 Juri Linkov <juri@jurta.org>
3403
3404 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
3405 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
3406 Doc fix.
3407 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
3408 in the help string. (Bug#12985)
3409
3410 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3411
3412 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
3413
3414 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
3415
3416 * progmodes/perl-mode.el: Add support for here documents.
3417 (perl-syntax-propertize-function): Match here-doc markers.
3418 (perl-syntax-propertize-special-constructs): Find their end.
3419 (perl-imenu-generic-expression): Use [:alnum:].
3420
3421 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
3422 (advice--add-function): Refresh the advice if already present
3423 (bug#14317).
3424
3425 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
3426
3427 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
3428
3429 2013-05-06 Glenn Morris <rgm@gnu.org>
3430
3431 * w32-fns.el (w32-charset-info-alist): Declare.
3432
3433 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
3434 of its defcustom properties.
3435 (eshell-cmpl-initialize): No need to load pcomplete.
3436
3437 * generic-x.el: No need to require comint when compiling.
3438
3439 * net/eudc-export.el: Make it loadable without bbdb.
3440 (top-level): Use require rather than load-library.
3441 (eudc-create-bbdb-record, eudc-bbdbify-phone)
3442 (eudc-batch-export-records-to-bbdb)
3443 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
3444 Require bbdb.
3445
3446 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
3447
3448 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
3449 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
3450 some tweaks, instead.
3451
3452 2013-05-05 Leo Liu <sdl.web@gmail.com>
3453
3454 * progmodes/octave.el (octave-font-lock-keywords)
3455 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
3456 (inferior-octave-send-list-and-digest): Improve error message.
3457 (octave-mode, inferior-octave-mode): Use setq-local.
3458 (octave-help): Set info-lookup-mode.
3459
3460 2013-05-05 Richard Stallman <rms@gnu.org>
3461
3462 * vc/compare-w.el (compare-windows-whitespace):
3463 Treat no-break space as whitespace.
3464
3465 * mail/rmailsum.el (rmail-summary-rmail-update):
3466 Detect empty summary and don't change selected message.
3467 (rmail-summary-goto-msg): Likewise.
3468
3469 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
3470 Doc fixes, rename args.
3471
3472 2013-05-05 Alan Mackenzie <acm@muc.de>
3473
3474 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
3475
3476 2013-05-05 Juri Linkov <juri@jurta.org>
3477
3478 * info.el (Info-read-subfile): Use (point-min) instead of (point)
3479 to not add the length of the summary segment to the return value.
3480 (Bug#14125)
3481
3482 2013-05-05 Leo Liu <sdl.web@gmail.com>
3483
3484 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
3485 (inferior-octave-output-filter): Remove.
3486 (octave-send-region, inferior-octave-startup): Fix callers.
3487 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
3488 (octave-binary-file-extensions): New user variable.
3489 (octave-find-definition): Confirm if opening binary files.
3490 (octave-help-file): Use octave-find-definition to get the binary
3491 confirmation.
3492 (octave-help): Adjust for octave-help-file change.
3493
3494 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3495
3496 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
3497 Merge the two entries that handle function definitions.
3498 (pascal--syntax-propertize): New const.
3499 (pascal-mode): Use it. Use setq-local.
3500
3501 2013-05-04 Glenn Morris <rgm@gnu.org>
3502
3503 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
3504 (diary-from-outlook): Respect diary-from-outlook-function.
3505
3506 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3507
3508 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
3509 Move the declaration from C.
3510 (read-minibuffer, eval-minibuffer): Move from C.
3511 (completion-setup-function): Avoid minibuffer-completion-contents.
3512
3513 2013-05-03 Leo Liu <sdl.web@gmail.com>
3514
3515 * progmodes/octave.el (octave-font-lock-keywords): Do not
3516 dehighlight 'end' in comments or strings.
3517 (octave-completing-read, octave-goto-function-definition):
3518 New helpers.
3519 (octave-help-buffer): New user variable.
3520 (octave-help-file, octave-help-function): New button types.
3521 (octave-help): New command and bind it to C-h ;.
3522 (octave-find-definition): New command and bind it to M-.
3523 (user-error): Alias to error if not defined.
3524
3525 2013-05-02 Leo Liu <sdl.web@gmail.com>
3526
3527 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
3528 for \. (bug#14332)
3529 (octave-font-lock-keywords): Include [ and {.
3530
3531 2013-05-02 Leo Liu <sdl.web@gmail.com>
3532
3533 * progmodes/octave.el (inferior-octave-startup-file): Change default.
3534 (inferior-octave): Remove calling comint-mode and return the buffer.
3535 (inferior-octave-startup): Cosmetic changes.
3536
3537 2013-05-02 Leo Liu <sdl.web@gmail.com>
3538
3539 * progmodes/octave.el (octave-syntax-propertize-function):
3540 Include the case when ' is at line beginning. (Bug#14336)
3541
3542 2013-05-02 Glenn Morris <rgm@gnu.org>
3543
3544 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
3545 * desktop.el (vc-dir-mode): Just autoload it here.
3546
3547 2013-05-02 Alan Mackenzie <acm@muc.de>
3548
3549 Eliminate variable c-standard-font-lock-fontify-region-function.
3550 * progmodes/cc-mode.el
3551 (c-standard-font-lock-fontify-region-function): Remove.
3552 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
3553
3554 2013-05-01 Leo Liu <sdl.web@gmail.com>
3555
3556 * progmodes/octave.el: Compatible with older emacs-24 releases.
3557 (inferior-octave-has-built-in-variables): Remove. Built-in
3558 variables were removed from Octave in 2007.
3559 (inferior-octave-startup): Fix uses.
3560 (comint-line-beginning-position): Remove compatibility code for
3561 emacs 21.
3562
3563 2013-05-01 Juri Linkov <juri@jurta.org>
3564
3565 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
3566
3567 2013-05-01 Juri Linkov <juri@jurta.org>
3568
3569 * comint.el (comint-previous-matching-input): Don't print message
3570 "History item: %d" when `isearch-mode' is active.
3571 (comint-history-isearch-message): Print message "History item: %d"
3572 when `comint-input-ring-index' is not empty and this function is
3573 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
3574
3575 2013-05-01 Leo Liu <sdl.web@gmail.com>
3576
3577 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
3578 definitions. Use completion-at-point to insert keywords.
3579 (octave-abbrev-start): Remove.
3580 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
3581
3582 2013-04-30 Leo Liu <sdl.web@gmail.com>
3583
3584 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
3585 change.
3586
3587 2013-04-30 Alan Mackenzie <acm@muc.de>
3588
3589 Handle arbitrarily long C++ member initialisation lists.
3590 * progmodes/cc-engine.el (c-back-over-member-initializers):
3591 new function.
3592 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
3593 (most) member init lists.
3594
3595 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3596
3597 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
3598 variable.
3599
3600 2013-04-30 Leo Liu <sdl.web@gmail.com>
3601
3602 * progmodes/octave.el (octave-variables): Remove. No builtin
3603 variables any more. All converted to functions.
3604 (octave-font-lock-keywords, octave-completion-at-point-function):
3605 Fix uses.
3606 (octave-font-lock-texinfo-comment): New user variable.
3607 (octave-texinfo-font-lock-keywords): New variable for texinfo
3608 comment block.
3609 (octave-function-comment-block): New face.
3610 (octave-font-lock-texinfo-comment): New function.
3611 (octave-mode): Font lock texinfo comment block.
3612
3613 2013-04-29 Leo Liu <sdl.web@gmail.com>
3614
3615 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
3616 indexing expression.
3617 (octave-continuation-string): Do not use \.
3618 (inferior-octave-complete-impossible): Remove.
3619 (inferior-octave-completion-table)
3620 (inferior-octave-completion-at-point): Remove its uses.
3621 (inferior-octave-startup): completion_matches was introduced to
3622 Octave in 1996 so safe to assume it.
3623 (octave-function-file-comment): Improve to follow how Octave does it.
3624 (octave-update-function-file-comment): Tweak.
3625
3626 2013-04-29 Leo Liu <sdl.web@gmail.com>
3627
3628 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
3629 (inferior-octave-startup): Remove inferior-octave-startup-hook.
3630 (octave-function-file-comment): Fix typo.
3631 (octave-sync-function-file-names): Use read-char-choice.
3632
3633 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
3634
3635 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
3636 to t for the less important warnings.
3637
3638 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
3639
3640 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
3641
3642 2013-04-27 Glenn Morris <rgm@gnu.org>
3643
3644 * vc/log-view.el (log-view-current-entry):
3645 Treat "---" separator lines as part of the following rev. (Bug#14169)
3646
3647 2013-04-27 Juri Linkov <juri@jurta.org>
3648
3649 * subr.el (read-number): Doc fix about using it by interactive
3650 code letter `n'. (Bug#14254)
3651
3652 2013-04-27 Juri Linkov <juri@jurta.org>
3653
3654 * desktop.el (desktop-auto-save-timeout): New option.
3655 (desktop-file-checksum): New variable.
3656 (desktop-save): Add optional arg `auto-save' and don't auto-save
3657 if nothing changed.
3658 (desktop-auto-save-timer): New variable.
3659 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
3660 (after-init-hook): Call `desktop-auto-save-set-timer'.
3661 Suggested by Reuben Thomas <rrt@sc3d.org> in
3662 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
3663
3664 2013-04-27 Leo Liu <sdl.web@gmail.com>
3665
3666 * progmodes/octave.el (octave-function-file-p)
3667 (octave-skip-comment-forward, octave-function-file-comment)
3668 (octave-update-function-file-comment): New functions.
3669 (octave-mode-map): Bind C-c ; to
3670 octave-update-function-file-comment.
3671 (octave-mode-menu): Add octave-update-function-file-comment.
3672 (octave-mode, inferior-octave-mode): Fix doc-string.
3673 (octave-insert-defun): Conform to Octave's coding convention.
3674 (Bug#14285)
3675
3676 * files.el (basic-save-buffer): Don't let errors in
3677 before-save-hook prevent saving buffer.
3678
3679 2013-04-20 Roland Winkler <winkler@gnu.org>
3680
3681 * faces.el (read-face-name): Use completing-read if arg multiple
3682 is nil.
3683
3684 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
3685
3686 * ls-lisp.el (ls-lisp-insert-directory): If no files are
3687 displayed, move point to after the totals line.
3688 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
3689 for the details.
3690
3691 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3692
3693 * emacs-lisp/package.el (package-autoload-ensure-default-file):
3694 Add current dir to the load-path.
3695 (package-generate-autoloads): Don't rely on
3696 autoload-ensure-default-file.
3697
3698 2013-04-26 Reuben Thomas <rrt@sc3d.org>
3699
3700 * textmodes/remember.el (remember-store-in-files): Document that
3701 the file name format is passed to `format-time-string'.
3702
3703 2013-04-26 Leo Liu <sdl.web@gmail.com>
3704
3705 * progmodes/octave.el (octave-sync-function-file-names): New function.
3706 (octave-mode): Use it in before-save-hook.
3707
3708 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3709
3710 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
3711 (bug#14274).
3712
3713 * progmodes/octave.el (octave-smie-forward-token): Properly skip
3714 \n and comment, even if it's not an implicit ; (bug#14218).
3715
3716 2013-04-26 Glenn Morris <rgm@gnu.org>
3717
3718 * subr.el (read-number): Once more use `read' rather than
3719 `string-to-number', to trap non-numeric input. (Bug#14254)
3720
3721 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
3722
3723 * emacs-lisp/syntax.el (syntax-propertize-multiline):
3724 Use `syntax-multiline' text property consistently instead of
3725 `font-lock-multiline'. (Bug#14237)
3726
3727 2013-04-26 Glenn Morris <rgm@gnu.org>
3728
3729 * emacs-lisp/shadow.el (list-load-path-shadows):
3730 No longer necessary to check for duplicate simple.el, since
3731 2012-07-07 change to init_lread to not include installation lisp
3732 directories in load-path when running uninstalled. (Bug#14270)
3733
3734 2013-04-26 Leo Liu <sdl.web@gmail.com>
3735
3736 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
3737 (octave-mode, inferior-octave-mode): Use setq-local.
3738 (octave-not-in-string-or-comment-p): Rename to
3739 octave-in-string-or-comment-p.
3740 (octave-in-comment-p, octave-in-string-p)
3741 (octave-in-string-or-comment-p): Replace defsubst with defun.
3742
3743 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
3744
3745 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
3746
3747 2013-04-25 Bastien Guerry <bzg@gnu.org>
3748
3749 * textmodes/remember.el (remember-data-directory)
3750 (remember-directory-file-name-format): Fix custom types.
3751
3752 2013-04-25 Leo Liu <sdl.web@gmail.com>
3753
3754 * progmodes/octave.el (octave-completion-at-point-function):
3755 Make use of inferior octave process.
3756 (octave-initialize-completions): Remove.
3757 (inferior-octave-completion-table): New function.
3758 (inferior-octave-completion-at-point): Use it.
3759 (octave-completion-alist): Remove.
3760
3761 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3762
3763 * progmodes/opascal.el: Use font-lock and syntax-propertize.
3764 (opascal-mode-syntax-table): New var.
3765 (opascal-literal-kind, opascal-is-literal-end)
3766 (opascal-literal-token-at): Rewrite.
3767 (opascal--literal-start-re, opascal-font-lock-keywords)
3768 (opascal--syntax-propertize): New constants.
3769 (opascal-font-lock-defaults): Adjust.
3770 (opascal-mode): Use them. Set comment-<foo> variables as well.
3771 (delphi-comment-face, opascal-comment-face, delphi-string-face)
3772 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
3773 (delphi-other-face, opascal-other-face): Remove face variables.
3774 (opascal-save-state): Remove macro.
3775 (opascal-fontifying-progress-step): Remove constant.
3776 (opascal--ignore-changes): Remove var.
3777 (opascal-set-token-property, opascal-parse-next-literal)
3778 (opascal-is-stable-literal, opascal-complete-literal)
3779 (opascal-is-literal-start, opascal-face-of)
3780 (opascal-parse-region, opascal-parse-region-until-stable)
3781 (opascal-fontify-region, opascal-after-change)
3782 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
3783 (opascal-debug-parse-region, opascal-debug-parse-window)
3784 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
3785 (opascal-debug-fontify-buffer): Remove.
3786 (opascal-debug-mode-map): Adjust accordingly.
3787
3788 2013-04-25 Leo Liu <sdl.web@gmail.com>
3789
3790 Merge octave-mod.el and octave-inf.el into octave.el with some
3791 cleanups.
3792 * progmodes/octave.el: New file renamed from octave-mod.el.
3793 * progmodes/octave-inf.el: Merged into octave.el.
3794 * progmodes/octave-mod.el: Renamed to octave.el.
3795
3796 2013-04-25 Tassilo Horn <tsdh@gnu.org>
3797
3798 * textmodes/reftex-vars.el
3799 (reftex-label-ignored-macros-and-environments): New defcustom.
3800
3801 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
3802
3803 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3804
3805 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
3806 (smie-indent-keyword): Improve the check to ensure that the next
3807 comment is really on the same line.
3808 (smie-indent-comment): Don't align with a subsequent closer (or eob).
3809
3810 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
3811 semi-colons if the line is not otherwise empty (bug#14218).
3812
3813 2013-04-25 Glenn Morris <rgm@gnu.org>
3814
3815 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
3816
3817 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3818
3819 * progmodes/opascal.el (opascal-set-token-property): Rename from
3820 opascal-set-text-properties and only set `token' (bug#14134).
3821 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
3822 (opascal-literal-text-properties): Remove.
3823 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
3824 Adjust callers.
3825
3826 2013-04-24 Reuben Thomas <rrt@sc3d.org>
3827
3828 * textmodes/remember.el (remember-handler-functions): Add an
3829 option for a new handler `remember-store-in-files'.
3830 (remember-data-directory, remember-directory-file-name-format):
3831 New options.
3832 (remember-store-in-files): New function to store remember notes
3833 as separate files within a directory.
3834
3835 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
3836
3837 * progmodes/compile.el (compilation-next-error-function):
3838 Pass "formats" to compilation-find-file (bug#11777).
3839
3840 2013-04-24 Glenn Morris <rgm@gnu.org>
3841
3842 * vc/vc-bzr.el (vc-bzr-print-log):
3843 * vc/vc-hg.el (vc-hg-print-log):
3844 * vc/vc-svn.el (vc-svn-print-log):
3845 Fix START-REVISION with LIMIT != 1. (Bug#14168)
3846
3847 * vc/vc-bzr.el (vc-bzr-print-log):
3848 * vc/vc-cvs.el (vc-cvs-print-log):
3849 * vc/vc-git.el (vc-git-print-log):
3850 * vc/vc-hg.el (vc-hg-print-log):
3851 * vc/vc-mtn.el (vc-mtn-print-log):
3852 * vc/vc-rcs.el (vc-rcs-print-log):
3853 * vc/vc-sccs.el (vc-sccs-print-log):
3854 * vc/vc-svn.el (vc-svn-print-log):
3855 * vc/vc.el (vc-print-log-internal): Doc fixes.
3856
3857 2013-04-23 Glenn Morris <rgm@gnu.org>
3858
3859 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
3860 Remove venerable code attempting to avoid substitute-command-keys.
3861
3862 2013-04-23 Tassilo Horn <tsdh@gnu.org>
3863
3864 * textmodes/reftex-vars.el (reftex-label-regexps):
3865 Call `reftex-compile-variables' after changes to this variable.
3866
3867 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
3868
3869 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
3870 Use lexical-binding.
3871 (jit-lock-force-redisplay): Use markers, check buffer's continued
3872 existence and beware narrowed buffers.
3873 (jit-lock-fontify-now): Adjust call accordingly.
3874
3875 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
3876
3877 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
3878 to avoid misleading the user.
3879
3880 2013-04-22 Leo Liu <sdl.web@gmail.com>
3881
3882 * info-look.el: Prefer latex2e.info. (Bug#14240)
3883
3884 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
3885
3886 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
3887
3888 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
3889 * net/tramp.el (tramp-call-process): ... here.
3890 (tramp-set-completion-function, tramp-parse-putty):
3891 * net/tramp-adb.el (tramp-adb-execute-adb-command):
3892 * net/tramp-gvfs.el (tramp-gvfs-send-command):
3893 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3894 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
3895 (tramp-call-local-coding-command): Use `tramp-call-process'
3896 instead of `tramp-compat-call-process'.
3897
3898 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
3899 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
3900 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
3901 (tramp-find-inline-compress): Improve traces.
3902 (tramp-maybe-send-script): Check for Perl binary.
3903 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
3904
3905 2013-04-22 Daiki Ueno <ueno@gnu.org>
3906
3907 * epg.el (epg-context-pinentry-mode): New function.
3908 (epg-context-set-pinentry-mode): New function.
3909 (epg--start): Pass --pinentry-mode option to gpg command.
3910
3911 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
3912
3913 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
3914 `comint-dynamic-complete' is obsolete since 24.1, replaced by
3915 `completion-at-point'. (Bug#13774)
3916
3917 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
3918 default key binding for `describe-distribution' has been moved to
3919 `C-h C-o'. (Bug#13970)
3920
3921 2013-04-21 Glenn Morris <rgm@gnu.org>
3922
3923 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
3924 Add doc strings.
3925 (vc-print-log): Clarify interactive prompt.
3926
3927 2013-04-20 Glenn Morris <rgm@gnu.org>
3928
3929 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
3930 No longer include timestamp etc information.
3931
3932 2013-04-20 Roland Winkler <winkler@gnu.org>
3933
3934 * faces.el (read-face-name): Bug fix, return just one face if arg
3935 multiple is nil. (Bug#14209)
3936
3937 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3938
3939 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
3940 (remove-function): Autoload.
3941
3942 * comint.el (comint-redirect-original-filter-function): Remove.
3943 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
3944 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
3945 (vc-cvs-annotate-command):
3946 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
3947 * progmodes/prolog.el (prolog-consult-compile):
3948 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
3949 Use add/remove-function instead.
3950 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
3951 (gud-tooltip-process-output, gud-tooltip-tips):
3952 Use add/remove-function instead.
3953 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
3954 (scheme-interaction-mode, exit-scheme-interaction-mode):
3955 Use add/remove-function instead.
3956
3957 * vc/vc-dispatcher.el: Use lexical-binding.
3958 (vc--process-sentinel): Rename from vc-process-sentinel.
3959 Change last arg to be the code to run. Don't use vc-previous-sentinel
3960 and vc-sentinel-commands any more.
3961 (vc-exec-after): Allow code to be a function. Use add/remove-function.
3962 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
3963
3964 2013-04-19 Masatake YAMATO <yamato@redhat.com>
3965
3966 * progmodes/sh-script.el (sh-imenu-generic-expression):
3967 Handle function names with a single character. (Bug#14111)
3968
3969 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
3970
3971 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
3972 for subroutines defined in an eval (bug#14182).
3973
3974 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3975
3976 * bookmark.el (bookmark-completing-read): Improve handling of empty
3977 string (bug#14176).
3978
3979 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3980
3981 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
3982
3983 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
3984
3985 New faster Imenu implementation (bug#14058).
3986 * progmodes/python.el:
3987 (python-imenu-prev-index-position):
3988 (python-imenu-format-item-label-function)
3989 (python-imenu-format-parent-item-label-function)
3990 (python-imenu-format-parent-item-jump-label-function):
3991 New vars.
3992 (python-imenu-format-item-label)
3993 (python-imenu-format-parent-item-label)
3994 (python-imenu-format-parent-item-jump-label)
3995 (python-imenu--put-parent, python-imenu--build-tree)
3996 (python-imenu-create-index, python-imenu-create-flat-index)
3997 (python-util-popn): New functions.
3998 (python-mode): Set imenu-create-index-function to
3999 python-imenu-create-index.
4000
4001 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
4002
4003 * winner.el (winner-active-region): Use region-active-p, activate-mark
4004 and deactivate-mark (bug#14225).
4005
4006 * simple.el (deactivate-mark): Don't inline it.
4007
4008 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
4009
4010 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
4011
4012 2013-04-18 Tassilo Horn <tsdh@gnu.org>
4013
4014 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
4015 file extensions from the archive-mode entry in order to prefer
4016 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
4017
4018 2013-04-18 Leo Liu <sdl.web@gmail.com>
4019
4020 * bindings.el (help-event-list): Add ?\?.
4021
4022 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
4023
4024 * subr.el (with-wrapper-hook): Declare obsolete.
4025 * simple.el (filter-buffer-substring-function): New hook.
4026 (filter-buffer-substring): Use it.
4027 (filter-buffer-substring-functions): Mark obsolete.
4028 * minibuffer.el (completion-in-region-function): New hook.
4029 (completion-in-region): Use it.
4030 (completion-in-region-functions): Mark obsolete.
4031 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
4032 * abbrev.el (abbrev-expand-function): New hook.
4033 (expand-abbrev): Use it.
4034 (abbrev-expand-functions): Mark obsolete.
4035 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
4036 and :filter-return.
4037
4038 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
4039
4040 * progmodes/python.el (python-nav--syntactically): Fix cornercases
4041 and do not care about match data.
4042
4043 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
4044
4045 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
4046 completion tables when completing error conditions and
4047 `declare' arguments.
4048 (lisp-complete-symbol, field-complete): Mark as obsolete.
4049 (check-parens): Unmatched parens are user errors.
4050 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
4051
4052 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
4053
4054 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
4055 command changed buffer (ie. `flyspell-pre-buffer' is not current
4056 buffer), which prevents making decisions based on invalid value of
4057 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
4058 cause an error when `flyspell-pre-point' was nil after switching
4059 buffers.
4060 (flyspell-post-command-hook): No longer needs to change buffers when
4061 checking pre-word. While at it remove unnecessary progn.
4062
4063 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
4064
4065 * textmodes/ispell.el (ispell-add-per-file-word-list):
4066 Fix `flyspell-correct-word-before-point' error when accepting
4067 words and `coment-padding' is an integer by using
4068 `comment-normalize-vars' (Bug #14214).
4069
4070 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
4071
4072 New defun movement commands.
4073 * progmodes/python.el (python-nav--syntactically)
4074 (python-nav--forward-defun, python-nav-backward-defun)
4075 (python-nav-forward-defun): New functions.
4076
4077 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
4078
4079 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
4080 (python-syntax-context): Use named compiler-macro for backwards
4081 compatibility with Emacs 24.x.
4082
4083 2013-04-17 Leo Liu <sdl.web@gmail.com>
4084
4085 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
4086 octave-hide-process-buffer.
4087
4088 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
4089
4090 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
4091 (bug#14216).
4092
4093 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
4094
4095 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
4096 Fix adjustment of offset when receiving incomplete responses from GDB
4097 (bug#14129).
4098
4099 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
4100
4101 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
4102 python-mode-abbrev-table.
4103 (python-skeleton-define): Adjust accordingly.
4104 (python-mode-abbrev-table): New table that inherits from it so that
4105 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
4106
4107 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
4108 (abbrev-symbol): Use it.
4109 (abbrev--before-point): Use it since we already handle inheritance.
4110
4111 2013-04-16 Leo Liu <sdl.web@gmail.com>
4112
4113 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
4114 binding to info-lookup-symbol.
4115
4116 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
4117
4118 * minibuffer.el (completion--twq-all):
4119 * term/ns-win.el (ns-initialize-window-system):
4120 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
4121
4122 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
4123
4124 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
4125 global bindings.
4126
4127 * doc-view.el (doc-view-start-process): Handle url-handler directories.
4128
4129 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
4130
4131 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
4132 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
4133 to nil.
4134 (ruby-end-of-defun): Remove the unused arg, change the docstring
4135 to reflect that this function is only used as the value of
4136 `end-of-defun-function'.
4137 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
4138 to reflect an earlier change that beginning/end-of-defun functions
4139 jump between methods in a class definition, as well as top-level
4140 functions.
4141
4142 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4143
4144 * minibuffer.el (minibuffer-complete): Don't just scroll
4145 a *Completions* that's been iconified.
4146 (minibuffer-force-complete): Make sure repetitions do cycle when going
4147 through completion-in-region -> minibuffer-complete.
4148
4149 2013-04-15 Alan Mackenzie <acm@muc.de>
4150
4151 Correct the placement of c-cpp-delimiters when there're #s not at
4152 col 0.
4153
4154 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
4155 place a submatch around the #.
4156 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
4157 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
4158 on the #, not BOL.
4159
4160 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4161
4162 * emacs-lisp/nadvice.el: Properly test names when adding advice.
4163 (advice--member-p): New arg `name'.
4164 (advice--add-function, advice-member-p): Use it (bug#14202).
4165
4166 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
4167
4168 Reformulate java imenu-generic-expression.
4169 The old expression contained ill formed regexps.
4170
4171 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
4172 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
4173 (cc-imenu-java-method-arg-regexp): New defconsts.
4174 (cc-imenu-java-build-type-args-regex): New defun.
4175 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
4176 handling of spaces in the regexp.
4177
4178 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4179
4180 * textmodes/ispell.el (ispell-command-loop): Remove
4181 flyspell highlight of a word when ispell accepts it (bug #14178).
4182
4183 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
4184
4185 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
4186 uses code from the previous `ange-ftp-run-real-handler'.
4187 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
4188 only in case that function exist. This is needed for proper
4189 unloading of Tramp.
4190
4191 2013-04-15 Tassilo Horn <tsdh@gnu.org>
4192
4193 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
4194
4195 * textmodes/reftex.el (reftex-compile-variables): Use it.
4196
4197 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4198
4199 * files.el (normal-mode): Only use default major-mode if no other mode
4200 was specified.
4201
4202 * emacs-lisp/trace.el (trace-values): New function.
4203
4204 * files.el: Allow : in local variables (bug#14089).
4205 (hack-local-variable-regexp): New var.
4206 (hack-local-variables-prop-line, hack-local-variables): Use it.
4207
4208 2013-04-13 Roland Winkler <winkler@gnu.org>
4209
4210 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
4211 data before it gets modified by bibtex-beginning-of-entry.
4212
4213 2013-04-13 Roland Winkler <winkler@gnu.org>
4214
4215 * textmodes/bibtex.el (bibtex-url): Doc fix.
4216
4217 2013-04-13 Roland Winkler <winkler@gnu.org>
4218
4219 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
4220 does not visit a BibTeX file, exclude it from the list of buffers
4221 returned by bibtex-initialize.
4222
4223 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
4224
4225 * window.el (split-window): Remove interactive form, since as a
4226 command this function is a special case of split-window-below.
4227 Correct doc string.
4228
4229 2013-04-12 Roland Winkler <winkler@gnu.org>
4230
4231 * faces.el (read-face-name): Do not override value of arg default.
4232 Allow single faces and strings as default values. Remove those
4233 elements from return value that are not faces.
4234 (describe-face): Simplify.
4235 (face-at-point): New optional args thing and multiple so that this
4236 function can provide the same functionality previously provided by
4237 read-face-name.
4238 (make-face-bold, make-face-unbold, make-face-italic)
4239 (make-face-unitalic, make-face-bold-italic, invert-face)
4240 (modify-face, read-face-and-attribute): Use face-at-point.
4241
4242 * cus-edit.el (customize-face, customize-face-other-window)
4243 * cus-theme.el (custom-theme-add-face)
4244 * face-remap.el (buffer-face-set)
4245 * facemenu.el (facemenu-set-face): Use face-at-point.
4246
4247 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
4248
4249 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
4250
4251 2013-04-10 Tassilo Horn <tsdh@gnu.org>
4252
4253 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
4254 off leading { and trailing } from field values.
4255
4256 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4257
4258 * emacs-lisp/timer.el (timer--check): New function.
4259 (timer--time, timer-set-function, timer-event-handler): Use it.
4260 (timer-set-idle-time): Simplify.
4261 (timer--activate): CSE.
4262 (timer-event-handler): Give more info in error message.
4263 (internal-timer-start-idle): New function, moved from C.
4264
4265 * mpc.el (mpc-proc): Add `restart' argument.
4266 (mpc-proc-cmd): Use it.
4267 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
4268 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
4269 less often.
4270
4271 2013-04-10 Masatake YAMATO <yamato@redhat.com>
4272
4273 * progmodes/sh-script.el: Implement `sh-mode' own
4274 `add-log-current-defun-function' (bug#14112).
4275 (sh-current-defun-name): New function.
4276 (sh-mode): Use the function.
4277
4278 2013-04-09 Bastien Guerry <bzg@gnu.org>
4279
4280 * simple.el (choose-completion-string): Fix docstring (bug#14163).
4281
4282 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
4283
4284 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
4285
4286 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
4287 timer (bug#14156).
4288
4289 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
4290
4291 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
4292 declaration.
4293
4294 2013-04-07 Leo Liu <sdl.web@gmail.com>
4295
4296 * pcmpl-x.el: New file.
4297
4298 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
4299
4300 Do not set x-display-name until X connection is established.
4301 This is needed to prevent from weird situation described at
4302 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
4303 * frame.el (make-frame): Set x-display-name after call to
4304 window system initialization function, not before.
4305 * term/x-win.el (x-initialize-window-system): Add optional
4306 display argument and use it.
4307 * term/w32-win.el (w32-initialize-window-system):
4308 * term/ns-win.el (ns-initialize-window-system):
4309 * term/pc-win.el (msdos-initialize-window-system):
4310 Add compatible optional display argument.
4311
4312 2013-04-06 Eli Zaretskii <eliz@gnu.org>
4313
4314 * files.el (normal-backup-enable-predicate): On MS-Windows and
4315 MS-DOS compare truenames of temporary-file-directory and of the
4316 file, so that 8+3 aliases (usually found in $TEMP on Windows)
4317 don't fail comparison by compare-strings. Also, compare file
4318 names case-insensitively on MS-Windows and MS-DOS.
4319
4320 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4321
4322 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
4323 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
4324
4325 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
4326
4327 * whitespace.el (whitespace-color-on, whitespace-color-off):
4328 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
4329
4330 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
4331
4332 * ispell.el (ispell-set-spellchecker-params):
4333 Really set `ispell-args' for all equivs.
4334
4335 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4336
4337 * ido.el (ido-completions): Use extra elements of ido-decorations
4338 (bug#14143).
4339 (ido-decorations): Update docstring.
4340
4341 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
4342
4343 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4344 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
4345 nil during initialization, in order not to miss changes since the
4346 file was opened. (Bug#14140)
4347
4348 2013-04-05 Leo Liu <sdl.web@gmail.com>
4349
4350 * kmacro.el (kmacro-call-macro): Fix bug#14135.
4351
4352 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
4353
4354 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
4355
4356 2013-04-04 Glenn Morris <rgm@gnu.org>
4357
4358 * electric.el (electric-pair-inhibit-predicate): Add :version.
4359
4360 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4361
4362 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
4363 when a package is required several times (bug#14082).
4364
4365 2013-04-04 Roland Winkler <winkler@gnu.org>
4366
4367 * faces.el (read-face-name): Behave as promised by the docstring.
4368 Assume that arg default is a list of faces.
4369 (describe-face): Call read-face-name with list of default faces.
4370
4371 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4372
4373 * bookmark.el: Fix deletion of bookmarks (bug#13972).
4374 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
4375 (bookmark-bmenu-execute-deletions): Only skip first line if it's
4376 the header.
4377 (bookmark-exit-hook-internal): Save even if list is empty.
4378
4379 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
4380
4381 * emacs-lisp/package.el (package-pinned-packages): New var.
4382 (package--add-to-archive-contents): Obey it (bug#14118).
4383
4384 2013-04-03 Alan Mackenzie <acm@muc.de>
4385
4386 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
4387 Also adapt to the new values of element 7 of a parse state.
4388
4389 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
4390 parameter `not-in-delimiter'. Handle being inside comment opener.
4391 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
4392 character in case we're typing a '*' after a '/'.
4393 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
4394 instead by passing the parameter to c-state-pp-to-literal.
4395
4396 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
4397 for elt. 7 of a parse state.
4398
4399 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
4400
4401 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
4402 * international/latin1-disp.el, international/mule-util.el:
4403 * language/cyril-util.el, language/european.el, language/ind-util.el:
4404 * language/lao-util.el, language/thai.el, language/tibet-util.el:
4405 * language/tibetan.el, language/viet-util.el:
4406 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
4407
4408 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
4409
4410 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
4411 (electric-pair-post-self-insert-function): Use it.
4412 (electric-pair-default-inhibit): New function, extracted from
4413 electric-pair-post-self-insert-function.
4414
4415 2013-03-31 Roland Winkler <winkler@gnu.org>
4416
4417 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
4418
4419 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
4420
4421 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
4422
4423 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
4424
4425 Un-indent after "pass" and "return" statements (Bug#13888)
4426 * progmodes/python.el (python-indent-block-enders): New var.
4427 (python-indent-calculate-indentation): Use it.
4428
4429 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430
4431 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
4432 defun. Defining it as defalias could introduce too eager
4433 byte-compiler optimization. (Bug#14030)
4434
4435 2013-03-30 Chong Yidong <cyd@gnu.org>
4436
4437 * iswitchb.el (iswitchb-read-buffer): Fix typo.
4438
4439 2013-03-30 Leo Liu <sdl.web@gmail.com>
4440
4441 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
4442 (kmacro-execute-from-register): Pass the keyboard macro to
4443 kmacro-call-macro or repeating won't work correctly.
4444
4445 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
4446
4447 * progmodes/subword.el: Back to using `forward-symbol'.
4448
4449 * subr.el (forward-whitespace, forward-symbol)
4450 (forward-same-syntax): Move from thingatpt.el.
4451
4452 2013-03-29 Leo Liu <sdl.web@gmail.com>
4453
4454 * kmacro.el (kmacro-to-register): New command.
4455 (kmacro-execute-from-register): New function.
4456 (kmacro-keymap): Bind to 'x'. (Bug#14071)
4457
4458 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
4459
4460 * mpc.el: Use defvar-local and setq-local.
4461 (mpc--proc-connect): Connection failures are not bugs.
4462 (mpc-mode-map): `follow-link' only applies to the buffer's content.
4463 (mpc-volume-map): Bind to the up-events.
4464
4465 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
4466
4467 * progmodes/subword.el (superword-mode): Use `forward-sexp'
4468 instead of `forward-symbol'.
4469
4470 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
4471
4472 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
4473 (edebug--recursive-edit): Use it.
4474 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
4475 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
4476
4477 2013-03-28 Leo Liu <sdl.web@gmail.com>
4478
4479 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
4480
4481 2013-03-27 Eli Zaretskii <eliz@gnu.org>
4482
4483 * facemenu.el (list-colors-callback): New defvar.
4484 (list-colors-redisplay): New function.
4485 (list-colors-display): Install list-colors-redisplay as the
4486 revert-buffer-function. (Bug#14063)
4487
4488 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4489
4490 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
4491 and suffixes don't overlap (bug#14061).
4492
4493 * case-table.el: Use lexical-binding.
4494 (case-table-get-table): New function.
4495 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
4496
4497 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
4498
4499 * progmodes/subword.el: Add `superword-mode' to do word motion
4500 over symbol_words (parallels and leverages `subword-mode' which
4501 does word motion inside MixedCaseWords).
4502
4503 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
4504
4505 * eshell/em-unix.el: Move su and sudo to...
4506 * eshell/em-tramp.el: ...Eshell tramp module.
4507
4508 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4509
4510 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
4511 Change return value to be a sexp. Delay `get-buffer' to after
4512 restoring the desktop (bug#13951).
4513
4514 2013-03-26 Leo Liu <sdl.web@gmail.com>
4515
4516 * register.el: Move semantic tag handling back to
4517 cedet/semantic/senator.el. (Bug#14052)
4518
4519 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4520
4521 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
4522 into the prompt either (bug#13963).
4523
4524 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
4525
4526 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
4527 part of "(error-foo)".
4528
4529 2013-03-24 Juri Linkov <juri@jurta.org>
4530
4531 * replace.el (list-matching-lines-prefix-face): New defcustom.
4532 (occur-1): Pass `list-matching-lines-prefix-face' to the function
4533 `occur-engine' if `face-differs-from-default-p' returns t.
4534 (occur-engine): Add `,' inside backquote construct to evaluate
4535 `prefix-face'. Propertize the prefix with the `prefix-face' face.
4536 Pass `prefix-face' to the functions `occur-context-lines' and
4537 `occur-engine-add-prefix'.
4538 (occur-engine-add-prefix, occur-context-lines): Add optional arg
4539 `prefix-face' and propertize the prefix with `prefix-face'.
4540 (Bug#14017)
4541
4542 2013-03-24 Leo Liu <sdl.web@gmail.com>
4543
4544 * nxml/rng-valid.el (rng-validate-while-idle)
4545 (rng-validate-quick-while-idle): Guard against deleted buffer.
4546 (Bug#13999)
4547
4548 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
4549 is the last entry in kill-buffer-hook.
4550
4551 * files.el (kill-buffer-hook): Doc fix.
4552
4553 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
4554
4555 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
4556 Make it safe-local.
4557
4558 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
4559
4560 2013-03-23 Leo Liu <sdl.web@gmail.com>
4561
4562 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
4563 Remove.
4564
4565 * nxml/rng-valid.el (rng-validate-mode)
4566 (rng-after-change-function, rng-do-some-validation):
4567 * nxml/rng-maint.el (rng-validate-buffer):
4568 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
4569 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
4570 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
4571 (nxml-extend-after-change-region): Use with-silent-modifications.
4572
4573 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
4574 timer-idle-list.
4575
4576 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
4577 (rng-next-error-1, rng-previous-error-1): Do not let-bind
4578 timer-idle-list. (Bug#13999)
4579
4580 2013-03-23 Juri Linkov <juri@jurta.org>
4581
4582 * info.el (info-index-match): New face.
4583 (Info-index, Info-apropos-matches): Add a nested subgroup to the
4584 main pattern and add text properties with the new face to matches
4585 in index entries relative to the beginning of the index entry.
4586 (Bug#14015)
4587
4588 2013-03-21 Eric Ludlam <zappo@gnu.org>
4589
4590 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
4591 Inhibit read only while inserting objects.
4592
4593 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
4594
4595 * progmodes/cfengine.el: Update docs to mention
4596 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
4597 symbol motion. Remove "_" from the word syntax.
4598
4599 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
4600
4601 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
4602 syntax for both `cfengine2-mode' and `cfengine3-mode'.
4603
4604 2013-03-20 Juri Linkov <juri@jurta.org>
4605
4606 * info.el (Info-next-reference-or-link)
4607 (Info-prev-reference-or-link): New functions.
4608 (Info-next-reference, Info-prev-reference): Use them.
4609 (Info-try-follow-nearest-node): Handle footnote navigation.
4610 (Info-fontify-node): Fontify footnotes. (Bug#13989)
4611
4612 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
4613
4614 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
4615 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
4616
4617 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
4618
4619 Suppress unnecessary non-ASCII chatter during build process.
4620 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
4621 (batch-skkdic-convert): Suppress most of the chatter.
4622 It's not needed so much now that machines are faster,
4623 and its non-ASCII component was confusing; see Dmitry Gutov in
4624 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
4625
4626 2013-03-20 Leo Liu <sdl.web@gmail.com>
4627
4628 * ido.el (ido-chop): Fix bug#10994.
4629
4630 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
4631
4632 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
4633 Remove vars.
4634 (whitespace-color-on, whitespace-color-off):
4635 Use `font-lock-fontify-buffer' (Bug#13817).
4636
4637 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
4638
4639 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
4640 remapping in mode-line.
4641 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
4642
4643 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
4644
4645 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
4646 value for `whitespace-line' face (Bug#13875).
4647 (whitespace-font-lock-keywords): Change description.
4648 (whitespace-color-on): Don't save `font-lock-keywords' value, save
4649 the constructed keywords instead.
4650 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
4651
4652 2013-03-19 Leo Liu <sdl.web@gmail.com>
4653
4654 * progmodes/compile.el (compilation-display-error): New command.
4655 (compilation-mode-map, compilation-minor-mode-map): Bind it to
4656 C-o. (Bug#13992)
4657
4658 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
4659
4660 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
4661
4662 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
4663
4664 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
4665
4666 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
4667
4668 * net/tramp-compat.el (tramp-compat-user-error): New defun.
4669
4670 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4671 * net/tramp-gvfs.el (top):
4672 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
4673 (tramp-handle-shell-command): Use it.
4674 (tramp-dissect-file-name): Raise an error when hostname is a
4675 method name, and neither method nor user is specified.
4676
4677 * net/trampver.el: Update release number.
4678
4679 2013-03-18 Leo Liu <sdl.web@gmail.com>
4680
4681 Make sure eldoc can be turned off properly.
4682 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
4683 eldoc-mode.
4684 (eldoc-display-message-p): Revert last change.
4685 (eldoc-display-message-no-interference-p)
4686 (eldoc-print-current-symbol-info): Tweak.
4687
4688 2013-03-18 Tassilo Horn <tsdh@gnu.org>
4689
4690 * doc-view.el (doc-view-new-window-function): Check the new window
4691 overlay's display property instead the char property of the
4692 buffer's first char. Use `with-selected-window' instead of
4693 `save-window-excursion' with `select-window'.
4694 (doc-view-document->bitmap): Check the current doc-view overlay's
4695 display property instead the char property of the buffer's first char.
4696
4697 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
4698
4699 Automate the build of ja-dic.el (Bug#13984).
4700 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
4701 from the input, rather than assume that it's been done for us by the
4702 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
4703 the current date into a ja-dic.el comment, as that complicates
4704 regression testing.
4705
4706 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
4707
4708 * whitespace.el: Fix double evaluation.
4709 (whitespace-space, whitespace-hspace, whitespace-tab)
4710 (whitespace-newline, whitespace-trailing, whitespace-line)
4711 (whitespace-space-before-tab, whitespace-indentation)
4712 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
4713 obsolete defvars.
4714 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
4715 (whitespace-color-on): Use a single font-lock-add-keywords call.
4716 Fix double-evaluation of face variables.
4717
4718 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
4719
4720 * net/tramp-adb.el (tramp-adb-parse-device-names):
4721 Use `start-process' instead of `call-process'. Otherwise, the
4722 function might be blocked under MS Windows. (Bug#13299)
4723
4724 2013-03-17 Leo Liu <sdl.web@gmail.com>
4725
4726 Extend eldoc to display info in the mode-line. (Bug#13978)
4727 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
4728 (eldoc-mode-line-string): New variable.
4729 (eldoc-minibuffer-message): New function.
4730 (eldoc-message-function): New variable.
4731 (eldoc-message): Use it.
4732 (eldoc-display-message-p)
4733 (eldoc-display-message-no-interference-p):
4734 Support eldoc-post-insert-mode.
4735
4736 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
4737 (eval-expression): Run it.
4738
4739 2013-03-17 Roland Winkler <winkler@gnu.org>
4740
4741 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
4742 strings in the list of return values.
4743
4744 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
4745
4746 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
4747 radix before checking for HMS forms.
4748
4749 2013-03-16 Leo Liu <sdl.web@gmail.com>
4750
4751 * progmodes/scheme.el: Add indentation and font-locking for λ.
4752 (Bug#13975)
4753
4754 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
4755
4756 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
4757 token before point (bug#13942).
4758
4759 2013-03-16 Leo Liu <sdl.web@gmail.com>
4760
4761 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
4762
4763 2013-03-16 Eli Zaretskii <eliz@gnu.org>
4764
4765 * startup.el (command-line-normalize-file-name): Fix handling of
4766 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
4767 <xfq.free@gmail.com> in
4768 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
4769
4770 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
4771
4772 Sync with Tramp 2.2.7.
4773
4774 * net/trampver.el: Update release number.
4775
4776 2013-03-14 Tassilo Horn <tsdh@gnu.org>
4777
4778 * doc-view.el Fix bug#13887.
4779 (doc-view-insert-image): Don't modify overlay associated to
4780 non-live windows, and implement horizontal centering of image in
4781 case it's smaller than the window.
4782 (doc-view-new-window-function): Force redisplay of new windows on
4783 doc-view buffers.
4784
4785 2013-03-13 Karl Fogel <kfogel@red-bean.com>
4786
4787 * saveplace.el (save-place-alist-to-file): Don't sort
4788 `save-place-alist', just pretty-print it (bug#13882).
4789
4790 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
4791
4792 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4793 Check whether `default-file-name-coding-system' is bound.
4794 It isn't in XEmacs.
4795
4796 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
4797
4798 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
4799 backquotes for `obsolete' (bug#13929).
4800
4801 * international/mule.el (find-auto-coding): Include file name in
4802 obsolescence warning (bug#13922).
4803
4804 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
4805
4806 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
4807 for CFEngine 3-specific indentation.
4808 (cfengine3-indent-line): Use it. Fix up category regex.
4809 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
4810
4811 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4812
4813 * type-break.el (type-break-file-name):
4814 * textmodes/remember.el (remember-data-file):
4815 * strokes.el (strokes-file):
4816 * shadowfile.el (shadow-initialize):
4817 * saveplace.el (save-place-file):
4818 * ps-bdf.el (bdf-cache-file):
4819 * progmodes/idlwave.el (idlwave-config-directory):
4820 * net/quickurl.el (quickurl-url-file):
4821 * international/kkc.el (kkc-init-file-name):
4822 * ido.el (ido-save-directory-list-file):
4823 * emulation/viper.el (viper-custom-file-name):
4824 * emulation/vip.el (vip-startup-file):
4825 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4826 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
4827
4828 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
4829
4830 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
4831 * language/thai-word.el: Switch to UTF-8.
4832
4833 See ChangeLog.16 for earlier changes.
4834
4835 ;; Local Variables:
4836 ;; coding: utf-8
4837 ;; End:
4838
4839 Copyright (C) 2011-2013 Free Software Foundation, Inc.
4840
4841 This file is part of GNU Emacs.
4842
4843 GNU Emacs is free software: you can redistribute it and/or modify
4844 it under the terms of the GNU General Public License as published by
4845 the Free Software Foundation, either version 3 of the License, or
4846 (at your option) any later version.
4847
4848 GNU Emacs is distributed in the hope that it will be useful,
4849 but WITHOUT ANY WARRANTY; without even the implied warranty of
4850 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4851 GNU General Public License for more details.
4852
4853 You should have received a copy of the GNU General Public License
4854 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.