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