A few more minor file errno-reporting bugs.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
77aea2fb
DG
12013-07-16 Dmitry Gutov <dgutov@yandex.ru>
2
3 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4 highlight question marks in the method names as strings.
ac72c08d
DG
5 (ruby-block-beg-keywords): Inline.
6 (ruby-font-lock-keyword-beg-re): Extract from
7 `ruby-font-lock-keywords'.
77aea2fb 8
18c26d81
JD
92013-07-16 Jan Djärv <jan.h.d@swipnet.se>
10
11 * frame.el (blink-cursor-blinks): New defcustom.
12 (blink-cursor-blinks-done): New defvar.
13 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
14 (blink-cursor-timer-function): Check if number of blinks has been
15 done on X and NS.
16 (blink-cursor-suspend, blink-cursor-check): New defuns.
17
da48522e
GM
182013-07-15 Glenn Morris <rgm@gnu.org>
19
20 * edmacro.el (edmacro-format-keys): Fix previous change.
21
0463c1ef
PE
222013-07-15 Paul Eggert <eggert@cs.ucla.edu>
23
24 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
25 The hack didn't work outside English locales anyway.
26
b43f6451
JB
272013-07-15 Juanma Barranquero <lekktu@gmail.com>
28
29 * simple.el (define-alternatives): Rename from alternatives-define,
30 per RMS' suggestion.
31
b958c0ad
JB
322013-07-14 Juanma Barranquero <lekktu@gmail.com>
33
34 * desktop.el (desktop-restore-frames): Change default to t.
35 (desktop-restore-in-current-display): Now offer more options.
36 (desktop-restoring-reuses-frames): New customization option.
37 (desktop--saved-states): Doc fix.
38 (desktop-filter-parameters-alist): New variable, renamed and expanded
39 from desktop--excluded-frame-parameters.
40 (desktop--target-display): New variable.
41 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
42 (desktop--filter-tty*, desktop--filter-*-color)
43 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
44 (desktop--filter-save-desktop-parm)
45 (desktop-restore-in-original-display-p): New functions.
46 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
47 (desktop--save-minibuffer-frames): New function, inspired by a similar
48 function from Martin Rudalics.
49 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
50 (desktop--restore-in-this-display-p): Remove.
51 (desktop--find-frame): Rename from desktop--find-frame-in-display
52 and add predicate argument.
53 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
54 (desktop--reuse-list): New variable.
55 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
56 New functions.
57 (desktop--restore-frames): Add support for "minibuffer-special" frames.
58
f6dd8b36
MA
592013-07-14 Michael Albinus <michael.albinus@gmx.de>
60
61 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
62
2ce3c565
DG
632013-07-13 Dmitry Gutov <dgutov@yandex.ru>
64
65 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight
66 conversion methods on Kernel.
67
2cdb7698
AM
682013-07-13 Alan Mackenzie <acm@muc.de>
69
70 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
71 and comment it out. This out-commenting enables certain C++
72 declarations to be parsed correctly.
73
1a67b811
EZ
742013-07-13 Eli Zaretskii <eliz@gnu.org>
75
1b796d6b
EZ
76 * international/mule.el (define-coding-system): Doc fix.
77
1a67b811
EZ
78 * simple.el (default-font-height): Don't call font-info if the
79 frame's default font didn't change since the frame was created.
80 (Bug#14838)
81
58fbe886
LL
822013-07-13 Leo Liu <sdl.web@gmail.com>
83
84 * ido.el (ido-read-file-name): Guard against non-symbol value.
85
1f0480d4
FEG
862013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
87
88 * progmodes/python.el (python-imenu--build-tree): Fix corner case
89 in nested defuns.
90
97ead0e5
LL
912013-07-13 Leo Liu <sdl.web@gmail.com>
92
93 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
94 ido-set-matches call. (Bug#6852)
95
0880a952
DG
962013-07-12 Dmitry Gutov <dgutov@yandex.ru>
97
98 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
99 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
100 Ruby 2.0.
101 (ruby-font-lock-keywords): Distinguish calls to functions with
102 module-like names from module references. Highlight character
103 literals.
104
a7d8babb
SDJ
1052013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
106
107 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 108 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 109
acfcc8c5
JB
1102013-07-12 Juanma Barranquero <lekktu@gmail.com>
111
112 * desktop.el (desktop--v2s): Remove unused local variable.
113 (desktop-save-buffer): Make defvar-local; adjust docstring.
114 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
115 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
116
051f2775
AS
1172013-07-12 Andreas Schwab <schwab@linux-m68k.org>
118
119 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
120
f24e7572
GM
1212013-07-12 Eli Zaretskii <eliz@gnu.org>
122
123 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
124 (Bug#14842)
125
539a920c
GM
1262013-07-12 Glenn Morris <rgm@gnu.org>
127
128 * doc-view.el: Require cl-lib at runtime too.
129 (doc-view-remove-if): Remove.
130 (doc-view-search-next-match, doc-view-search-previous-match):
131 Use cl-remove-if.
132
133 * edmacro.el: Require cl-lib at runtime too.
134 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
135 (edmacro-mismatch, edmacro-subseq): Remove.
136
137 * shadowfile.el: Require cl-lib.
138 (shadow-remove-if): Remove.
139 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
140 Use cl-remove-if.
141
142 * wid-edit.el: Require cl-lib.
143 (widget-choose): Use cl-remove-if.
144 (widget-remove-if): Remove.
145
146 * progmodes/ebrowse.el: Require cl-lib at runtime too.
147 (ebrowse-delete-if-not): Remove.
148 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
149 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
150 Use cl-delete-if-not.
151
1048af7c
JB
1522013-07-12 Juanma Barranquero <lekktu@gmail.com>
153
154 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
155 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
156
6c0674ee
LL
1572013-07-12 Leo Liu <sdl.web@gmail.com>
158
159 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
160
a19b3c2d
GM
1612013-07-11 Glenn Morris <rgm@gnu.org>
162
4582a01c
GM
163 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
164 (edebug-gensym-index, edebug-gensym):
165 Remove reimplementation of cl-gensym.
166 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
167
168 * thumbs.el: Require cl-lib at run-time too.
169 (thumbs-gensym-counter, thumbs-gensym):
170 Remove reimplementation of cl-gensym.
171 (thumbs-temp-file): Use cl-gensym.
172
a19b3c2d
GM
173 * emacs-lisp/ert.el: Require cl-lib at runtime too.
174 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
175 (ert--intersection, ert--set-difference, ert--set-difference-eq)
176 (ert--union, ert--gensym-counter, ert--gensym-counter)
177 (ert--coerce-to-vector, ert--remove*, ert--string-position)
178 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
179 (ert-make-test-unbound, ert--expand-should-1)
180 (ert--expand-should, ert--should-error-handle-error)
181 (should-error, ert--explain-equal-rec)
182 (ert--plist-difference-explanation, ert-select-tests)
183 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
184 Use cl-lib functions rather than reimplementations.
185
88f6a933
MA
1862013-07-11 Michael Albinus <michael.albinus@gmx.de>
187
188 * net/tramp.el (tramp-methods): Extend docstring.
189 (tramp-connection-timeout): New defcustom.
190 (tramp-error-with-buffer): Reset timestamp only when appropriate.
191 (with-tramp-progress-reporter): Simplify.
192 (tramp-process-actions): Improve messages.
193
194 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
195 * net/tramp-sh.el (tramp-maybe-open-connection):
196 Use `tramp-connection-timeout'.
197 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
198 (Bug#14808)
199
a43d577e
LL
2002013-07-11 Leo Liu <sdl.web@gmail.com>
201
202 * ido.el (ido-read-file-name): Conform to the requirements of
203 read-file-name. (Bug#11861)
204 (ido-read-directory-name): Conform to the requirements of
205 read-directory-name.
206
d77974bf
JB
2072013-07-11 Juanma Barranquero <lekktu@gmail.com>
208
209 * subr.el (delay-warning): New function.
210
35cb8a3e
EZ
2112013-07-10 Eli Zaretskii <eliz@gnu.org>
212
213 * simple.el (default-line-height): New function.
214 (line-move-partial, line-move): Use it instead of computing the
215 line height inline.
216 (line-move-partial): Always compute ROWH. If the last line is
217 partially-visible, but its text is completely visible, allow
218 cursor to enter such a partially-visible line.
219
525c5c77
MA
2202013-07-10 Michael Albinus <michael.albinus@gmx.de>
221
222 Improve error messages. (Bug#14808)
223
224 * net/tramp.el (tramp-current-connection): New defvar, moved from
225 tramp-sh.el.
226 (tramp-message-show-progress-reporter-message): Removed, not
227 needed anymore.
228 (tramp-error-with-buffer): Show message in minibuffer. Discard
229 input before waiting. Reset connection timestamp.
230 (with-tramp-progress-reporter): Improve messages.
231 (tramp-process-actions): Use progress reporter. Delete process in
232 case of error. Improve messages.
233
234 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use
235 condition-case. Call `tramp-error-with-buffer' with vector and buffer.
236 (tramp-current-connection): Removed.
237 (tramp-maybe-open-connection): The car of
238 `tramp-current-connection' are the first 3 slots of the vector.
239
c7a4d368
TZ
2402013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
241
242 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
243 inside continued strings.
244
954b166e
PE
2452013-07-10 Paul Eggert <eggert@cs.ucla.edu>
246
247 Timestamp fixes for undo (Bug#14824).
248 * files.el (clear-visited-file-modtime): Move here from fileio.c.
249
56973319
LL
2502013-07-10 Leo Liu <sdl.web@gmail.com>
251
252 * files.el (require-final-newline): Allow safe local value.
253 (Bug#14834)
254
5550a72c
LL
2552013-07-09 Leo Liu <sdl.web@gmail.com>
256
257 * ido.el (ido-read-directory-name): Handle fallback.
258 (ido-read-file-name): Update DIR to ido-current-directory.
259 (Bug#1516)
c28b9050 260 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 261
70c46b28
DG
2622013-07-09 Dmitry Gutov <dgutov@yandex.ru>
263
264 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
265 "autoload". Remove "warn lower camel case" section, previously
266 commented out. Highlight negation char. Do not highlight the
267 target in singleton method definitions.
268
0b64b838
SM
2692013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
270
7fd72e2c
SM
271 * faces.el (tty-setup-hook): Declare the hook.
272
0b64b838
SM
273 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
274 and detect when a guard/pred depends on local vars (bug#14773).
275 (pcase--u1): Adjust caller.
276
ab49d60b
EZ
2772013-07-08 Eli Zaretskii <eliz@gnu.org>
278
279 * simple.el (line-move-partial, line-move): Account for
280 line-spacing.
701d79aa
EZ
281 (line-move-partial): Avoid setting vscroll when the last
282 partially-visible line in window is of default height.
ab49d60b 283
2d756ae0
LMI
2842013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
285
286 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
287 been used a while.
288
ed095bd7
JB
2892013-07-07 Juanma Barranquero <lekktu@gmail.com>
290
291 * subr.el (read-quoted-char): Remove unused local variable `char'.
292
f1e6674b
MK
2932013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
294
584ee3fc
GM
295 * ediff.el (ediff-version): Version update.
296 (ediff-files-command, ediff3-files-command, ediff-merge-command)
297 (ediff-merge-with-ancestor-command, ediff-directories-command)
298 (ediff-directories3-command, ediff-merge-directories-command)
299 (ediff-merge-directories-with-ancestor-command): New functions.
300 All are command-line interfaces to ediff: to facilitate calling
301 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
302
303 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
304 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 305
584ee3fc
GM
306 * viper.el (viper-version): Version update.
307 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 308
584ee3fc
GM
3092013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
310
311 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
312 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
313 (viper-intercept-ESC-key): Simplify.
314 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
315 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
316 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
317 (viper-setup-ESC-to-escape): New functions.
318 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
319 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 320
9aff9b38
EZ
3212013-07-07 Eli Zaretskii <eliz@gnu.org>
322
5165d44a
JB
323 * simple.el (default-font-height, window-screen-lines):
324 New functions.
9aff9b38
EZ
325 (line-move, line-move-partial): Use them instead of
326 frame-char-height and window-text-height. This makes scrolling
327 text smoother when the buffer's default face uses a font that is
328 different from the frame's default font.
329
1afb1d07
JD
3302013-07-06 Jan Djärv <jan.h.d@swipnet.se>
331
332 * files.el (write-file): Do not display confirm dialog for NS,
333 it does its own dialog, which can't be cancelled (Bug#14578).
334
23de972a
EZ
3352013-07-06 Eli Zaretskii <eliz@gnu.org>
336
337 * simple.el (line-move-partial): Adjust the row returned by
338 posn-at-point for the current window-vscroll. (Bug#14567)
339
54a42486
MA
3402013-07-06 Michael Albinus <michael.albinus@gmx.de>
341
342 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
343 (tramp-sh-file-inotifywait-process-filter): Handle file names with
344 spaces.
345
34ada5f4
MR
3462013-07-06 Martin Rudalics <rudalics@gmx.at>
347
348 * window.el (window-state-put-stale-windows): New variable.
349 (window--state-put-2): Save list of windows without matching buffer.
350 (window-state-put): Remove "bufferless" windows if possible.
351
11e03d89
JB
3522013-07-06 Juanma Barranquero <lekktu@gmail.com>
353
354 * simple.el (alternatives-define): Remove leftover :group keyword.
355 Tweak docstring.
356
3504a4be
LL
3572013-07-06 Leo Liu <sdl.web@gmail.com>
358
359 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
360 (ido-enable-virtual-buffers): New variable.
361 (ido-buffer-internal, ido-toggle-virtual-buffers)
362 (ido-make-buffer-list): Use it.
363 (ido-exhibit): Support turning on and off virtual buffers
364 automatically.
365
61e56e2c
JB
3662013-07-06 Juanma Barranquero <lekktu@gmail.com>
367
368 * simple.el (alternatives-define): New macro.
369
321e1a9c
SM
3702013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
371
372 * subr.el (read-quoted-char): Use read-key.
373 (sit-for): Let read-event decode tty input (bug#14782).
374
d610f6dd
SB
3752013-07-05 Stephen Berman <stephen.berman@gmx.net>
376
377 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
378 mode command and externally. Fix various related bugs.
379 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
380 (todo-delete-file): New command.
381 (todo-check-file): New function.
382 (todo-show): Handle external deletion of the file we're trying to
383 show (bug#14688). Replace called-interactively-p by an optional
384 prefix argument to avoid problematic interaction with catch form
385 when byte compiled (bug#14702).
386 (todo-quit): Handle external deletion of the archive's todo file.
387 Make sure the buffer that was visiting the archive file is still
388 live before trying to bury it.
389 (todo-category-completions): Handle external deletion of any
390 category completion files.
391 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
392 of todo files, in case of external deletion.
393 (todo-add-file): Replace unnecessary setq by let-binding.
394 (todo-find-archive): Check whether there are any archives.
395 Replace unnecessary setq by let-binding.
396 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
397 archive buffer whether or not the archive already exists.
398 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
399 check if the archive is new; if it is, update list of archives.
400 (todo-default-todo-file): Allow nil to be a valid value for when
401 there are no todo files.
402 (todo-reevaluate-default-file-defcustom): Use corrected definition
403 of todo-default-todo-file.
404 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
405 (todo-delete-category, todo-show-categories-table)
406 (todo-category-number): Clarify comment.
407 (todo-filter-items): Clarify documentation string.
408 (todo-show-current-file, todo-display-as-todo-file)
409 (todo-reset-and-enable-done-separator): Tweak documentation string.
410 (todo-done-separator): Make separator length window-width, since
411 bug#2749 is now fixed.
412
ddbdfd6f
MA
4132013-07-05 Michael Albinus <michael.albinus@gmx.de>
414
321e1a9c
SM
415 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
416 Support both "gvfs-monitor-dir" and "inotifywait".
417 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
418 `tramp-sh-file-notify-process-filter'.
419 (tramp-sh-file-gvfs-monitor-dir-process-filter)
420 (tramp-get-remote-gvfs-monitor-dir): New defuns.
421
96eb829a
LL
4222013-07-05 Leo Liu <sdl.web@gmail.com>
423
424 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
425
cf13177e
YM
4262013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
427
428 * frame.el (display-pixel-height, display-pixel-width)
429 (display-mm-height, display-mm-width): Mention behavior on
430 multi-monitor setups in docstrings.
431 (w32-display-monitor-attributes-list): Declare function.
432 (display-monitor-attributes-list): Use it.
433
864c58ca
MA
4342013-07-04 Michael Albinus <michael.albinus@gmx.de>
435
436 * filenotify.el: New package.
437
438 * autorevert.el (top): Require filenotify.el.
439 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
440 instead.
441 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
442 (auto-revert-notify-handler): Use `file-notify-*' functions.
443
444 * subr.el (file-notify-handle-event): Move function to filenotify.el.
445
321e1a9c
SM
446 * net/tramp.el (tramp-file-name-for-operation):
447 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
448
449 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
450 for `file-notify-add-watch' and `file-notify-rm-watch'.
451 (tramp-process-sentinel): Improve trace.
452 (tramp-sh-handle-file-notify-add-watch)
453 (tramp-sh-file-notify-process-filter)
454 (tramp-sh-handle-file-notify-rm-watch)
455 (tramp-get-remote-inotifywait): New defuns.
456
96673afe
JL
4572013-07-03 Juri Linkov <juri@jurta.org>
458
459 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
460 call of `occur-read-primary-args' to interactive spec.
461
462 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
463 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
464
924494f4
MM
4652013-07-03 Matthias Meulien <orontee@gmail.com>
466
467 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
468 `Buffer-menu-multi-occur'. Add it to the menu.
469 (Buffer-menu-mode): Document it in docstring.
470 (Buffer-menu-multi-occur): New command. (Bug#14673)
471
56f75efc
DG
4722013-07-03 Dmitry Gutov <dgutov@yandex.ru>
473
474 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
475 keywords and built-ins.
476
9b057d61
GM
4772013-07-03 Glenn Morris <rgm@gnu.org>
478
208dee4d
GM
479 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
480
9b057d61
GM
481 Make info-xref checks case-sensitive by default
482 * info.el (Info-find-node, Info-find-in-tag-table)
483 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
484 Add option for exact case matching of nodes.
485 * info-xref.el (info-xref): New custom group.
486 (info-xref-case-fold): New option.
487 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
488
e01aa29c
LL
4892013-07-03 Leo Liu <sdl.web@gmail.com>
490
491 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
492
3086ca2e
DG
4932013-07-03 Dmitry Gutov <dgutov@yandex.ru>
494
495 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
496 middle of block statement initially, lower the depth. Remove
497 FIXME comment, not longer valid. Remove middle of block statement
498 detection, no need to do that anymore since we've been using
499 `ruby-parse-region' here.
500
a3b49114
JD
5012013-07-02 Jan Djärv <jan.h.d@swipnet.se>
502
503 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
504
08e5c823 5052013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
506
507 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
508
2addf922
JB
5092013-07-01 Juanma Barranquero <lekktu@gmail.com>
510
511 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
512 (desktop-restore-in-current-display): New customization option.
513 (desktop--excluded-frame-parameters): Add `font'.
514 (desktop--save-frames): Rename from desktop--save-windows.
515 (desktop--restore-in-this-display-p): New function.
516 (desktop--make-full-frame): Remove unwanted width/height from
517 full(width|height) frames.
518 (desktop--restore-frames): Rename from desktop--restore-windows.
519 Obey desktop-restore-current-display. Do not delete old frames or
520 select a new frame unless we were able to restore at least one frame.
521
ef099a94
MN
5222013-06-30 Michal Nazarewicz <mina86@mina86.com>
523
524 * files.el (find-file-noselect): Simplify conditional expression.
525
526 * remember.el (remember-append-to-file):
527 Don't mix `find-buffer-visiting' and `get-file-buffer'.
528
529 Add `remember-notes' function to store random notes across Emacs
530 restarts.
531 * remember.el (remember-data-file): Add :set callback to affect
532 notes buffer (if any).
533 (remember-notes): New command.
534 (remember-notes-buffer-name, bury-remember-notes-on-kill):
535 New defcustoms for the `remember-notes' function.
536 (remember-notes-save-and-bury-buffer): New command.
537 (remember-notes-mode-map): New variable.
538 (remember-mode): New minor mode.
539 (remember-notes--kill-buffer-query): New function.
540 * startup.el (initial-buffer-choice): Add notes to custom type.
541
0865d506
EZ
5422013-06-30 Eli Zaretskii <eliz@gnu.org>
543
0ba54312
EZ
544 * bindings.el (right-char, left-char): Don't call sit-for, this is
545 no longer needed. Use arithmetic comparison only for numerical
546 arguments.
547
ef099a94
MN
548 * international/mule-cmds.el (select-safe-coding-system):
549 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 550
2fae38e5
LMI
5512013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
552
553 * net/shr.el (shr-make-table-1): Add a sanity check that allows
554 progression on degenerate tables.
ef099a94 555 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 556
a47cbd64
JB
5572013-06-30 Juanma Barranquero <lekktu@gmail.com>
558
559 Some fixes and improvements for desktop frame restoration.
560 It is still experimental and disabled by default.
561 * desktop.el (desktop--save-windows): Put the selected frame at
562 the head of the list.
563 (desktop--make-full-frame): New function.
564 (desktop--restore-windows): Try to re-select the frame that was
565 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
566 just show an error message and continue. Set up maximized frames
567 so they have default non-maximized dimensions.
a47cbd64 568
6dbafa30
DG
5692013-06-30 Dmitry Gutov <dgutov@yandex.ru>
570
ef099a94
MN
571 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
572 Don't start heredoc inside a string or comment.
6dbafa30 573
4c672a0f
EZ
5742013-06-29 Eli Zaretskii <eliz@gnu.org>
575
576 * bindings.el (visual-order-cursor-movement): New defcustom.
577 (right-char, left-char): Provide visual-order cursor motion by
578 calling move-point-visually. Update the doc strings.
579
50960f36
KH
5802013-06-28 Kenichi Handa <handa@gnu.org>
581
582 * international/mule.el (define-coding-system): New coding system
583 properties :inhibit-null-byte-detection,
584 :inhibit-iso-escape-detection, and :prefer-utf-8.
585 (set-buffer-file-coding-system): If :charset-list property of
586 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
587 appropriate for setting.
588
c1ea3abf
JB
589 * international/mule-cmds.el (select-safe-coding-system):
590 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
591 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
592
593 * international/mule-conf.el (prefer-utf-8): New coding system.
594 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
595 files.
596
75dbaf9d
IK
5972013-06-28 Ivan Kanis <ivan@kanis.fr>
598
eadb6068
IK
599 * net/shr.el (shr-render-region): New function.
600
75dbaf9d
IK
601 * net/eww.el: Autoload `eww-browse-url'.
602
9ea5cf9f
DG
6032013-06-27 Dmitry Gutov <dgutov@yandex.ru>
604
c1ea3abf
JB
605 * emacs-lisp/package-x.el (package-upload-buffer-internal):
606 Adapt to `package-desc-version' being a list.
607 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
608 archive element.
609
39c0e36f
JB
6102013-06-27 Juanma Barranquero <lekktu@gmail.com>
611
612 New experimental feature to save&restore window and frame setup.
613 * desktop.el (desktop-save-windows): New defcustom.
614 (desktop--saved-states): New var.
615 (desktop--excluded-frame-parameters): New defconst.
616 (desktop--filter-frame-parms, desktop--find-frame-in-display)
617 (desktop--restore-windows, desktop--save-windows): New functions.
618 (desktop-save): Call `desktop--save-windows'.
619 (desktop-read): Call `desktop--restore-windows'.
620
7f13406b
LMI
6212013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
622
ef099a94 623 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 624
1e072639
SB
6252013-06-27 Stephen Berman <stephen.berman@gmx.net>
626
627 * info.el (Info-try-follow-nearest-node): Move search for footnote
628 above search for node name to prevent missing a footnote (bug#14717).
629
f3e2cbde
SB
6302013-06-27 Stephen Berman <stephen.berman@gmx.net>
631
632 * obsolete/otodo-mode.el: Add obsolescence info to file header.
633
99906aa0
LL
6342013-06-27 Leo Liu <sdl.web@gmail.com>
635
636 * net/eww.el (eww-read-bookmarks): Check file size.
637
539f75f4
SM
6382013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
639
640 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
641 advice--pending if newdef is nil or an autoload (bug#13820).
642 (advice-mapc): New function.
643
843571cb
LMI
6442013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
645
646 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
647 probably.
23a75d7f 648 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
649 (eww-add-bookmark): New command.
650 (eww-bookmark-mode): New mode and commands.
a285ce99 651 (eww-add-bookmark): Remove newlines from the title.
47fd571b 652 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 653
f2136e1e
GM
6542013-06-26 Glenn Morris <rgm@gnu.org>
655
eab35f39
GM
656 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
657 (hfy-size): Handle ttys. (Bug#14668)
658
f2136e1e
GM
659 * info-xref.el: Update for Texinfo 5 change in *note format.
660 (info-xref-node-re, info-xref-note-re): New constants.
661 (info-xref-check-buffer): Use info-xref-note-re.
662
a49ff80c
SM
6632013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
664
a343d218
SM
665 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
666
a49ff80c
SM
667 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
668 nil terminate the loop (bug#14718).
669
8308f184
LMI
6702013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
671
672 * net/eww.el: Rework history traversal. When going forward/back,
673 put these actions into the history, too, so that they can be
674 replayed.
26bf2b82 675 (eww-render): Move the history reset to the correct buffer.
8308f184 676
ec64c273
JL
6772013-06-25 Juri Linkov <juri@jurta.org>
678
679 * files-x.el (modify-dir-local-variable): Change the header comment
680 in the file with directory local variables. (Bug#14692)
681
e080a9d7
JL
682 * files-x.el (read-file-local-variable-value): Add `default'.
683 (Bug#14710)
684
bfbc93a1
IK
6852013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
686
687 * net/eww.el (eww-make-unique-file-name): Create a unique file
688 name before saving to entering `y' accidentally asynchronously.
689
6902013-06-25 Ivan Kanis <ivan@kanis.fr>
691
692 * net/eww.el (eww-download): New command and keystroke.
693
16f74f10
LMI
6942013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
695
a49ff80c 696 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
697
698 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
699 be more consistent with Info and dired.
700
701 * net/eww.el (eww-mode-map): Ditto.
702
12059709
SM
7032013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
704
705 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
706 packages from archives.
707 (package-archive-contents): Change format; include obsolete packages.
708 (package-desc): Use `dir' to mark builtin packages.
709 (package--from-builtin): Set the `dir' field to `builtin'.
710 (generated-autoload-file, version-control): Declare.
711 (package-compute-transaction): Change first arg and return value to be
712 lists of package-descs. Adjust to new package-archive-contents format.
713 (package--add-to-archive-contents): Adjust to new
714 package-archive-contents format.
715 (package-download-transaction): Arg is now a list of package-descs.
716 (package-install): If `pkg' is a package name, pass it as
717 a requirement, so it is subject to the usual (e.g. disabled) checks.
718 (describe-package): Accept package-desc as well.
719 (describe-package-1): Describe a specific package-desc. Add links to
720 other package-descs for the same package name.
721 (package-menu-describe-package): Pass the actual package-desc.
722 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
723 works correctly.
724 (package-desc-status): New function.
725 (package-menu--refresh): New function, extracted
726 from package-menu--generate.
727 (package-menu--generate): Use it.
728 (package-delete): Update package-alist.
729 (package-menu-execute): Don't call package-initialize.
730
731 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
732 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
733 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
734 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
735 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
736 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
737
8bbdea0f
MR
7382013-06-25 Martin Rudalics <rudalics@gmx.at>
739
740 * window.el (window--state-get-1): Workaround for bug#14527.
741 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
742
e82b0991
LMI
7432013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
744
745 * net/eww.el (eww-back-url): Implement the history by stashing all
746 the data into a list.
d3f0f918 747 (eww-forward-url): Allow going forward in the history, too.
e82b0991 748
c763842b
SM
7492013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
750
751 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
752 for values and use read--expression for expressions (bug#14710).
753 (read-file-local-variable): Avoid setq.
754 (read-file-local-variable-mode): Use minor-mode-list.
755
bceff189
RW
7562013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
757
864c58ca 758 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
759 for DOI URLs.
760
45f431c6
RW
7612013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
762
864c58ca 763 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
764 Update imenu-support when dialect changes.
765
f42d8237
LL
7662013-06-25 Leo Liu <sdl.web@gmail.com>
767
768 * ido.el (ido-read-internal): Allow forward slash on windows.
769
be549ce6
LMI
7702013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
771
772 * net/eww.el (eww): Start of strings is \\`, not ^.
773
71d4c19d
IK
7742013-06-24 Ivan Kanis <ivan@kanis.fr>
775
5196f88a
IK
776 * net/shr.el (shr-browse-url): Fix interactive spec.
777
71d4c19d
IK
778 * net/eww.el (eww): Add a trailing slash to domain names.
779
ae36ca55
JB
7802013-06-24 Juanma Barranquero <lekktu@gmail.com>
781
782 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
783
0ebd92a3
LMI
7842013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
785
bdaa086b
LMI
786 * net/shr.el (shr-browse-url): Use an external browser if given a
787 prefix.
788
c763842b 789 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 790
b89fc156
IK
7912013-06-24 Ivan Kanis <ivan@kanis.fr>
792
793 * net/eww.el (eww): Work more correctly for file: URLs.
794 (eww-detect-charset): Allow quoted charsets.
795 (eww-yank-page-url): New command and keystroke.
796
18eb4bca
DU
7972013-06-24 Daiki Ueno <ueno@gnu.org>
798
799 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
800 file name of gpg executable.
801 (epg-context-program): New function.
802 (epg-context-home-directory): New function.
803 (epg-context-set-program): New function.
804 (epg-context-set-home-directory): New function.
805 (epg--start): Use `epg-context-program' instead of
806 'epg-gpg-program'.
807 (epg--list-keys-1): Likewise.
808
6c6268c8
LL
8092013-06-24 Leo Liu <sdl.web@gmail.com>
810
811 * ido.el (ido-read-internal): Fix bug#14620.
812
5e400cb3
JB
8132013-06-23 Juanma Barranquero <lekktu@gmail.com>
814
815 * faces.el (face-documentation): Simplify.
816 (read-face-attribute, tty-find-type, x-resolve-font-name):
817 Use `string-match-p'.
818 (list-faces-display): Use `string-match-p'. Simplify.
819 (face-spec-recalc): Check face to avoid face alias loops.
820 (read-color): Use `string-match-p' and non-capturing parenthesis.
821
f3f9606c
LMI
8222013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
823
824 * net/shr.el (shr-rescale-image): Use the new
825 :max-width/:max-height functionality.
826
a3ca09b9
IK
8272013-06-23 Ivan Kanis <ivan@kanis.fr>
828
829 * net/eww.el (eww-search-prefix): New variable.
830 (eww): Use it.
f865b474
IK
831 (eww-external-browser): New variable.
832 (eww-mode-map): New keystroke.
833 (eww-browse-with-external-browser): New command.
a3ca09b9 834
e854cfc7
IK
835 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
836
18bb9e21
JB
8372013-06-23 Juanma Barranquero <lekktu@gmail.com>
838
839 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
840 Don't skip aligning the next header field when padding is 0;
841 otherwise, field width is not respected unless the title is as
842 wide as the field.
843
5b165ade
SM
8442013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
845
846 * emacs-lisp/package.el (package-el-version): Remove.
847 (package-process-define-package): Fix inf-loop.
848 (package-install): Allow symbols as arguments again.
849
12adebe9
DG
8502013-06-22 Dmitry Gutov <dgutov@yandex.ru>
851
852 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
853 add some more keyword-like methods.
854 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
855
388573ee
JB
8562013-06-22 Juanma Barranquero <lekktu@gmail.com>
857
858 * bs.el (bs-buffer-show-mark): Make defvar-local.
859 (bs-mode): Use setq-local.
860
861 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
862 (emacs-lock--try-unlocking): Make defvar-local.
863
4582a01c 8642013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 865
2663dd23
GM
866 * play/cookie1.el (cookie-apropos): Minor simplification.
867
3d94f3ad
GM
868 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
869
f72e2fdb
DG
8702013-06-22 Dmitry Gutov <dgutov@yandex.ru>
871
872 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
873 `regexp-opt', it breaks the build during dumping.
874
73eab938
DG
8752013-06-21 Dmitry Gutov <dgutov@yandex.ru>
876
c763842b
SM
877 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
878 Highlight keyword-like methods on Kernel and Module with
73eab938 879 font-lock-builtin-face.
5cf8176d
DG
880 (auto-mode-alist): Consolidate different entries into one regexp
881 and add more *file-s.
73eab938 882
d26255f6
SB
8832013-06-21 Stephen Berman <stephen.berman@gmx.net>
884
885 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
886
887 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
888 (diary-entry): Use it in the action of this button type instead of
889 diary-goto-entry.
890
891 * calendar/todo-mode.el: New version.
892 (todo-add-category): Append new category to end of file and give
893 it the highest number, instead of putting it at the beginning and
894 giving it 0. Incorporate noninteractive functionality.
895 (todo-forward-category): Adapt to 1-based category numbering.
896 Allow skipping over archived categories.
897 (todo-backward-category): Derive from todo-forward-category.
898 (todo-backward-item, todo-forward-item): Make noninteractive and
899 delegate interactive part to new commands. Make sensitive to done items.
900 (todo-categories): Make value an alist of category names and
901 vectors of item counts.
902 (todo-category-beg): Make a defconst.
903 (todo-category-number): Use 1 instead of 0 as initial value.
904 (todo-category-select): Make sensitive to overlays, optional item
905 highlighting and done items.
906 (todo-delete-item): Make sensitive to overlays and marked and done items.
907 (todo-edit-item): Make sensitive to overlays and editing of
908 date/time header optional. Add format checks.
909 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
910 no-op if point is not on an item. Advertise using todo-edit-quit.
911 (todo-edit-mode): Make sensitive to new format, font-locking, and
912 multiple todo files.
913 (todo-insert-item, todo-insert-item-here): Derive from
914 todo-basic-insert-item and extend functionality.
915 (todo-item-end, todo-item-start): Make sensitive to done items.
916 (todo-item-string): Don't return text properties. Restore point.
917 (todo-jump-to-category): Make sensitive to multiple todo files and
918 todo archives. Use extended category completion.
919 (todo-lower-item, todo-raise-item): Rename to *-priority and
920 derive from todo-set-item-priority.
921 (todo-mode): Derive from special-mode. Make sensitive to new
922 format, font-locking and multiple todo files. Make read-only.
923 (todo-mode-map): Don't suppress digit keys, so they can supply
924 prefix arguments. Add many new key bindings.
925 (todo-prefix): Insert as an overlay instead of file text.
926 Change semantics from diary date expression to purely visual mark.
927 (todo-print): Rename to todo-print-buffer. Make buffer display
928 features printable. Remove option to restrict number of items
929 printed. Add option to print to file.
930 (todo-print-function): Rename to todo-print-buffer-function.
931 (todo-quit): Extend to handle exiting new todo modes.
932 (todo-remove-item): Make sensitive to overlays.
933 (todo-save): Extend to buffers of filtered items.
934 (todo-show): Make sensitive to done items, multiple todo files and
935 new todo modes. Offer to convert legacy todo file before creating
936 first new todo file.
937 (todo-show-priorities): Rename to todo-top-priorities.
938 Change semantics of value 0.
939 (todo-top-priorities): Rename to todo-filter-top-priorities,
940 derive from todo-filter-items and extend functionality.
941 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
942 and extend functionality to other types of filtered items.
943 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
944 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
945 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
946 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
947 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
948 (todo-edit-mode-hook, todo-entry-prefix-function)
949 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
950 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
951 (todo-initials, todo-insert-threshold, todo-item-string-start)
952 (todo-line-string, todo-menu, todo-mode-hook)
953 (todo-more-important-p, todo-previous-answer, todo-previous-line)
954 (todo-print-priorities, todo-remove-separator)
955 (todo-save-top-priorities-too, todo-string-count-lines)
956 (todo-string-multiline-p, todo-time-string-format)
957 (todo-tmp-buffer-name): Remove.
958 (todo-add-file, todo-archive-done-item, todo-choose-archive)
959 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
960 (todo-edit-category-diary-inclusion)
961 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
962 (todo-edit-file, todo-edit-item-date-day)
963 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
964 (todo-edit-item-date-month, todo-edit-item-date-to-today)
965 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
966 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
967 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
968 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
969 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
970 (todo-filter-top-priorities-multifile, todo-find-archive)
971 (todo-find-filtered-items-file, todo-go-to-source-item)
972 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
973 (todo-jump-to-archive-category, todo-lower-category)
974 (todo-mark-category, todo-marked-item-p, todo-merge-category)
975 (todo-move-category, todo-move-item, todo-next-button)
976 (todo-next-item, todo-padded-string, todo-powerset)
977 (todo-previous-button, todo-previous-item)
978 (todo-print-buffer-to-file, todo-raise-category)
979 (todo-rename-category, todo-repair-categories-sexp, todo-search)
980 (todo-set-category-number, todo-set-item-priority)
981 (todo-set-top-priorities-in-category)
982 (todo-set-top-priorities-in-file, todo-show-categories-table)
983 (todo-sort-categories-alphabetically-or-numerically)
984 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
985 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
986 (todo-toggle-item-header, todo-toggle-item-highlighting)
987 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
988 (todo-toggle-view-done-items, todo-toggle-view-done-only)
989 (todo-unarchive-items, todo-unmark-category): New commands.
990 (todo-absolute-file-name, todo-add-to-buffer-list)
991 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
992 (todo-basic-insert-item, todo-category-completions)
993 (todo-category-number, todo-category-string-matcher-1)
994 (todo-category-string-matcher-2, todo-check-filtered-items-file)
995 (todo-check-format, todo-clear-matches)
996 (todo-comment-string-matcher, todo-convert-legacy-date-time)
997 (todo-current-category, todo-date-string-matcher)
998 (todo-define-insertion-command, todo-diary-expired-matcher)
999 (todo-diary-goto-entry, todo-diary-item-p)
1000 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
1001 (todo-display-categories, todo-display-sorted, todo-done-item-p)
1002 (todo-done-item-section-p, todo-done-separator)
1003 (todo-done-string-matcher, todo-files, todo-filter-items)
1004 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
1005 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
1006 (todo-insert-category-line, todo-insert-item-from-calendar)
1007 (todo-insert-sort-button, todo-insert-with-overlays)
1008 (todo-insertion-command-name, todo-insertion-key-bindings)
1009 (todo-label-to-key, todo-longest-category-name-length)
1010 (todo-make-categories-list, todo-mode-external-set)
1011 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
1012 (todo-modes-set-3, todo-multiple-filter-files)
1013 (todo-nondiary-marker-matcher, todo-prefix-overlays)
1014 (todo-read-category, todo-read-date, todo-read-dayname)
1015 (todo-read-file-name, todo-read-time)
1016 (todo-reevaluate-category-completions-files-defcustom)
1017 (todo-reevaluate-default-file-defcustom)
1018 (todo-reevaluate-filelist-defcustoms)
1019 (todo-reevaluate-filter-files-defcustom)
1020 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
1021 (todo-reset-done-separator, todo-reset-done-separator-string)
1022 (todo-reset-done-string, todo-reset-global-current-todo-file)
1023 (todo-reset-highlight-item, todo-reset-nondiary-marker)
1024 (todo-reset-prefix, todo-set-categories)
1025 (todo-set-date-from-calendar, todo-set-show-current-file)
1026 (todo-set-top-priorities, todo-short-file-name)
1027 (todo-show-current-file, todo-sort, todo-time-string-matcher)
1028 (todo-total-item-counts, todo-update-buffer-list)
1029 (todo-update-categories-display, todo-update-categories-sexp)
1030 (todo-update-count, todo-validate-name, todo-y-or-n-p):
1031 New functions.
1032 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
1033 New major modes.
1034 (todo-categories, todo-display, todo-edit, todo-faces)
1035 (todo-filtered): New defgroups.
1036 (todo-archived-only, todo-button, todo-category-string, todo-date)
1037 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
1038 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
1039 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
1040 (todo-add-item-if-new-category, todo-always-add-time-string)
1041 (todo-categories-align, todo-categories-archived-label)
1042 (todo-categories-category-label, todo-categories-diary-label)
1043 (todo-categories-done-label, todo-categories-number-separator)
1044 (todo-categories-todo-label, todo-categories-totals-label)
1045 (todo-category-completions-files, todo-completion-ignore-case)
1046 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
1047 (todo-done-separator-string, todo-done-string)
1048 (todo-files-function, todo-filter-done-items, todo-filter-files)
1049 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
1050 (todo-initial-category, todo-initial-file, todo-item-mark)
1051 (todo-legacy-date-time-regexp, todo-mode-line-function)
1052 (todo-nondiary-marker, todo-number-prefix)
1053 (todo-print-buffer-function, todo-show-current-file)
1054 (todo-show-done-only, todo-show-first, todo-show-with-done)
1055 (todo-skip-archived-categories, todo-top-priorities-overrides)
1056 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
1057 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
1058 New defcustoms.
1059 (todo-category-done, todo-date-pattern, todo-date-string-start)
1060 (todo-diary-items-buffer, todo-done-string-start)
1061 (todo-filtered-items-buffer, todo-item-start)
1062 (todo-month-abbrev-array, todo-month-name-array)
1063 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
1064 (todo-top-priorities-buffer): New defconsts.
1065 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
1066 (todo-categories-with-marks, todo-category-string-face)
1067 (todo-comment-face, todo-comment-string, todo-current-todo-file)
1068 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
1069 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
1070 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
1071 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
1072 (todo-font-lock-keywords, todo-global-current-todo-file)
1073 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
1074 (todo-insertion-commands-args)
1075 (todo-insertion-commands-args-genlist)
1076 (todo-insertion-commands-names, todo-insertion-map)
1077 (todo-key-bindings-t, todo-key-bindings-t+a)
1078 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
1079 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
1080 (todo-nondiary-face, todo-print-buffer, todo-time-face)
1081 (todo-visited): New variables.
1082
cad5d1cb
GM
10832013-06-21 Glenn Morris <rgm@gnu.org>
1084
1085 * play/cookie1.el (cookie-apropos): Add optional display argument.
1086 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
1087 (psychoanalyze-pinhead): Use cookie-doctor.
1088
9e277302
JB
10892013-06-21 Juanma Barranquero <lekktu@gmail.com>
1090
1091 * emacs-lisp/package.el (tar-get-file-descriptor)
1092 (tar--extract): Declare.
1093
c5b0993e
EW
10942013-06-21 Eduard Wiebe <usenet@pusto.de>
1095
1096 Extend flymake's warning predicate to be a function (bug#14217).
1097 * progmodes/flymake.el (flymake-warning-predicate): New.
1098 (flymake-parse-line): Use it.
1099 (flymake-warning-re): Make obsolete alias to
1100 `flymake-warning-predicate'.
1101
a7d2d465
SM
11022013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1103
1104 * emacs-lisp/package.el (package-alist): Include obsolete packages.
1105 (package-obsolete-list): Remove.
1106 (package-activate): Remove min-version argument. Add `force' argument.
1107 Adjust to new package-alist format.
1108 (package-mark-obsolete): Remove.
1109 (package-unpack): Force reload of the package's autoloads.
1110 (package-installed-p): Check builtins if the installed package is not
1111 recent enough.
1112 (package-initialize): Don't reset package-obsolete-list.
1113 Don't specify which package version to activate.
1114 (package-process-define-package, describe-package-1)
1115 (package-menu--generate): Adjust to new package-alist format.
1116
cedf5c9d
JB
11172013-06-21 Juanma Barranquero <lekktu@gmail.com>
1118
1119 * allout-widgets.el (allout-widgets-mode-off)
1120 (allout-widgets-mode-on, allout-widgets-pre-command-business)
1121 (allout-widgets-post-command-business)
1122 (allout-widgets-after-copy-or-kill-function)
1123 (allout-widgets-after-undo-function, allout-test-range-overlaps)
1124 (allout-decorate-item-and-context)
1125 (allout-graphics-modification-handler): Fix typos in docstrings.
1126 (allout-get-or-create-parent-widget): Use `looking-at-p'.
1127
1128 * cmuscheme.el (scheme-start-file): Doc fix.
1129 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
1130 (scheme-input-filter): Use `string-match-p'.
1131
1132 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
1133
1134 * dired-x.el: Use Dired consistently in docstrings.
1135
1136 * dired.el: Use Dired consistently in docstrings.
1137 (dired-readin, dired-mode): Use `setq-local'.
1138 (dired-switches-alist): Make defvar-local.
1139 (dired-buffers-for-dir): Use `zerop'.
1140 (dired-safe-switches-p, dired-switches-escape-p)
1141 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
1142 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
1143 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
1144 (dired-goto-next-nontrivial-file): Use `string-match-p'.
1145 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
1146 (dired-toggle-marks, dired-mark-files-containing-regexp)
1147 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
1148 (dired-flag-auto-save-files, dired-flag-backup-files):
1149 Use `looking-at-p'.
1150 (dired-mark-files-regexp, dired-build-subdir-alist):
1151 Use `string-match-p', `looking-at-p'.
1152
1153 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
1154 (direct-print-region-helper): Use `string-match-p'.
1155
aed838b5
LL
11562013-06-21 Leo Liu <sdl.web@gmail.com>
1157
cedf5c9d
JB
1158 * comint.el (comint-redirect-results-list-from-process):
1159 Fix infinite loop.
aed838b5 1160
d80a808f
LMI
11612013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1162
1163 * net/eww.el (eww-update-header-line-format): Quote % characters.
1164
e7a526e3
GM
11652013-06-21 Glenn Morris <rgm@gnu.org>
1166
1167 * play/cookie1.el (cookie): New custom group.
1168 (cookie-file): New option.
1169 (cookie-check-file): New function.
1170 (cookie): Make it interactive. Make start and end messages optional.
1171 Interactively, display the result. Default to cookie-file.
1172 (cookie-insert): Default to cookie-file.
1173 (cookie-snarf): Make start and end messages optional.
1174 Default to cookie-file. Use with-temp-buffer.
1175 (cookie-read): Rename from read-cookie.
1176 Make start and end messages optional. Default to cookie-file.
1177 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 1178 Do not autoload it.
e7a526e3
GM
1179 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
1180 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
1181
62efb35e
LL
11822013-06-21 Leo Liu <sdl.web@gmail.com>
1183
1184 * progmodes/octave.el (octave-mode): Backward compatibility fix.
1185
21e3f963
GM
11862013-06-21 Glenn Morris <rgm@gnu.org>
1187
1188 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
1189
fd846ab4
SM
11902013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1191 Daniel Hackney <dan@haxney.org>
1192
1193 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
1194 Consolidate the single-file vs tarball code.
1195 (package-desc-suffix): New function.
1196 (package-desc-full-name): Don't bother inlining it.
1197 (package-load-descriptor): Return the new package-desc.
1198 (package-mark-obsolete): Remove unused arg `package'.
1199 (package-unpack): Make it work for single files as well.
1200 Make it update package-alist.
1201 (package--make-autoloads-and-stuff): Rename from
1202 package--make-autoloads-and-compile. Don't compile any more.
1203 (package--compile): New function.
1204 (package-generate-description-file): New function, extracted from
1205 package-unpack-single.
1206 (package-unpack-single): Remove.
1207 (package--with-work-buffer): Add indentation and debugging info.
1208 (package-download-single): Remove.
1209 (package-install-from-archive): Rename from package-download-tar, make
1210 it take a pkg-desc, and make it work for single files as well.
1211 (package-download-transaction): Simplify.
1212 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
1213 external tar program.
1214 (package-install-from-buffer): Remove `pkg-desc' argument.
1215 Use package-tar-file-info for tar-mode buffers.
1216 (package-install-file): Simplify accordingly.
1217 (package-archive-base): Change to take a pkg-desc.
1218 * tar-mode.el (tar--check-descriptor): New function, extracted from
1219 tar-get-descriptor.
1220 (tar-get-descriptor): Use it.
1221 (tar-get-file-descriptor): New function.
1222 (tar--extract): New function, extracted from tar-extract.
1223 (tar--extract): Use it.
1224 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
1225 case the summary uses non-ascii. Adjust to new calling convention of
1226 package-tar-file-info.
1227
b7deae5e
LL
12282013-06-21 Leo Liu <sdl.web@gmail.com>
1229
fd846ab4
SM
1230 * comint.el (comint-redirect-results-list-from-process):
1231 Fix random delay. (Bug#14681)
b7deae5e 1232
7a65a0b2
JB
12332013-06-21 Juanma Barranquero <lekktu@gmail.com>
1234
1235 * profiler.el (profiler-format-number): Use log, not log10.
1236
1493c2af
JB
12372013-06-20 Juanma Barranquero <lekktu@gmail.com>
1238
1239 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
1240
aff6371e
SM
12412013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1242
1243 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
1244 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
1245 yet available.
1246 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
1247 (AUTOGENEL): ... here.
1248 * emacs-lisp/cl-macs.el (cl--sublis): New function.
1249 (cl--defsubst-expand): Use it.
1250
89561f72
PE
12512013-06-20 Paul Eggert <eggert@cs.ucla.edu>
1252
1253 * subr.el (log10): Move here from C code, and declare as obsolete.
1254 All uses of (log10 X) replaced with (log X 10).
1255
47199123
JB
12562013-06-20 Juanma Barranquero <lekktu@gmail.com>
1257
1258 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
1259 Declare with `defvar-local'.
1260 (tabulated-list-use-header-line, tabulated-list-entries)
1261 (tabulated-list-padding, tabulated-list-printer)
1262 (tabulated-list-sort-key): Declare with `defvar-local'.
1263 (tabulated-list-init-header, tabulated-list-print-fake-header):
1264 Use `setq-local'.
1265
4a172eab
MA
12662013-06-20 Michael Albinus <michael.albinus@gmx.de>
1267
47199123
JB
1268 * arc-mode.el (archive-mode): Add `archive-write-file' to
1269 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 1270
5fc0acc0
JB
12712013-06-20 Juanma Barranquero <lekktu@gmail.com>
1272
d5b27848
JB
1273 * cus-edit.el (custom-commands): Fix typos.
1274 (custom-display): Fix tooltip text.
1275 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
1276 Fix typos in docstrings.
1277 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
1278 (custom-unlispify-menu-entry, custom-magic-value-create)
1279 (custom-add-see-also, custom-group-value-create): Use ?\s.
1280 (custom-guess-type, customize-apropos, editable-field)
1281 (custom-face-value-create): Use `string-match-p'.
1282 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
1283
1284 * custom.el (custom-load-symbol): Use `string-match-p'.
1285
a5c581d8
JB
1286 * ansi-color.el: Convert to lexical binding.
1287 (ansi-colors): Fix URL.
1288 (ansi-color-context, ansi-color-context-region): Use defvar-local.
1289 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
1290 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
1291
970ad972
G
12922013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1293
1294 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
1295
1296 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
1297
12982013-06-19 Tom Tromey <tromey@redhat.com>
1299
1300 * net/eww.el (eww-top-url): Remove.
1301 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
1302 (eww-render): Set new variables. Don't set eww-top-url.
1303 (eww-handle-link): Handle "prev", "home", and "contents".
1304 Downcase the rel text.
1305 (eww-top-url): Choose best top URL.
1306
13072013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1308
1309 * net/eww.el: Rewrite to implement form elements "by hand" instead of
1310 relying in widget.el. Using widget.el leads to too many
1311 user interface inconsistencies.
1312 (eww-self-insert): Implement entering commands in text fields.
1313 (eww-process-text-input): New function to make text input field editing
1314 work.
1315 (eww-submit): Rewrite to use the new-style form methods.
1316 (eww-select-display): Display the correct selected item.
1317 (eww-change-select): Implement changing the select value.
1318 (eww-toggle-checkbox): Implement radio/checkboxes.
1319 (eww-update-field): Fix compilation error.
1320 (eww-tag-textarea): Implement <textarea>.
1321
1322 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
1323 we don't shadow mode-specific bindings.
1324
1325 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
1326 nothing to push.
1327
1328 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
1329
4582a01c 13302013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
1331
1332 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
1333
15b263dc
MA
13342013-06-19 Michael Albinus <michael.albinus@gmx.de>
1335
1336 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
1337 not needed.
1338
1339 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
1340
8f5297f7
LMI
13412013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1342
1343 * net/browse-url.el (browse-url-browser-function):
1344 `eww-browse-url' has the right calling signature, `eww' does not.
1345
011c4552
GM
13462013-06-19 Glenn Morris <rgm@gnu.org>
1347
2285bd27
GM
1348 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
1349 Only eval autoloaded macros.
1350 (byte-compile-autoload): Only give the macro warning for macros.
1351
1d653303
GM
1352 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
1353 (ps-underlined-faces): Declare.
1354
bdd779ec
GM
1355 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
1356 (speedbar-add-supported-extension): Declare.
1357
011c4552
GM
1358 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
1359 Don't include a date stamp in the header of the generated file;
1360 it leads to needless differences between output files.
1361
e59dfb0e
MA
13622013-06-19 Michael Albinus <michael.albinus@gmx.de>
1363
c763842b
SM
1364 * net/secrets.el (secrets-struct-secret-content-type):
1365 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 1366 Some servers do not offer introspection.
e59dfb0e 1367
102626e2
SM
13682013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1369
1370 * electric.el (electric-pair-mode): Improve interaction with
1371 electric-layout-mode.
1372 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
1373 (electric-pair-syntax): Use text-mode-syntax-table in comments
1374 and strings.
1375 (electric-pair--insert): New function.
1376 (electric-pair-post-self-insert-function): Use it and
1377 electric--after-char-pos.
1378
ad528125
LL
13792013-06-19 Leo Liu <sdl.web@gmail.com>
1380
1381 * progmodes/octave.el (octave-help): Fix regexp.
1382
924d6997
G
13832013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1384
1385 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
1386 (shr-table-horizontal-line): Allow nil as a value, and change the
1387 default.
1388 (shr-insert-table-ruler): Respect the nil value.
1389
13902013-06-18 Tom Tromey <tromey@barimba>
1391
1392 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
1393 New defvars.
1394 (eww-open-file): New defun.
1395 (eww-render): Initialize new variables.
1396 (eww-display-html): Handle "link" and "a".
1397 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
1398 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
1399 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
1400 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
1401 New defuns.
924d6997 1402
d1bbba4f
DG
14032013-06-18 Dmitry Gutov <dgutov@yandex.ru>
1404
1405 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
1406 Distinguish ternary operator tokens from slash symbol and slash
1407 char literal.
1408
14dd22d2
JB
14092013-06-18 Juanma Barranquero <lekktu@gmail.com>
1410
1411 Convert symbol prettification into minor mode and global minor mode.
1412
1413 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
1414 `prog-prettify-symbols', and make a local defvar instead of defcustom.
1415 (prettify-symbols--keywords): Rename from
1416 `prog-prettify-symbols-alist' and make a local defvar.
1417 (prettify-symbols--compose-symbol): Rename from
1418 `prog--prettify-font-lock-compose-symbol'.
1419 (prettify-symbols--make-keywords): Rename from
1420 `prog-prettify-font-lock-symbols-keywords' and simplify.
1421 (prog-prettify-install): Remove.
1422 (prettify-symbols-mode): New minor mode, based on
1423 `prog-prettify-install'.
1424 (turn-on-prettify-symbols-mode): New function.
1425 (global-prettify-symbols-mode): New globalized minor mode.
1426
1427 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1428 * progmodes/cfengine.el (cfengine3-mode):
1429 * progmodes/perl-mode.el (perl-mode): Don't call
1430 `prog-prettify-install'; set `prettify-symbols-alist' instead.
1431
292c880c
JL
14322013-06-18 Juri Linkov <juri@jurta.org>
1433
1434 * files-x.el (modify-file-local-variable-message): New function.
1435 (modify-file-local-variable)
1436 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
1437 and call `modify-file-local-variable-message' when it's non-nil.
1438 (add-file-local-variable, delete-file-local-variable)
1439 (add-file-local-variable-prop-line)
1440 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
1441 and use it. (Bug#9820)
1442
0950aa27
JL
14432013-06-18 Juri Linkov <juri@jurta.org>
1444
1445 * emulation/vi.el (vi-shell-op):
1446 * emulation/vip.el (vip-execute-com, ex-command):
1447 * emulation/viper-cmd.el (viper-exec-bang):
1448 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
1449 the call of `shell-command-on-region'. (Bug#14637)
1450
1451 * simple.el (shell-command-on-region): Doc fix.
1452
8fbcca16
SM
14532013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1454
1455 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
1456 (bug#14633).
1457
dd7426ea
GM
14582013-06-18 Glenn Morris <rgm@gnu.org>
1459
4ba54f7d
GM
1460 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
1461
dd7426ea
GM
1462 * newcomment.el (comment-search-forward, comment-search-backward):
1463 Doc fix. (Bug#14376)
1464
58aa805b
JB
14652013-06-18 Juanma Barranquero <lekktu@gmail.com>
1466
1467 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
1468 (buffer-face-mode-invoke): Doc fix.
1469
9a08a617
MM
14702013-06-18 Matthias Meulien <orontee@gmail.com>
1471
1472 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 1473 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 1474
f2f426ca
GM
14752013-06-18 Glenn Morris <rgm@gnu.org>
1476
9445f99b
GM
1477 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
1478 Replace obsolete function generic-make-keywords with its expansion.
1479
e0df2d14
GM
1480 * progmodes/python.el (ffap-alist): Declare.
1481
f2f426ca
GM
1482 * textmodes/reftex.el (bibtex-mode-map): Declare.
1483
f7f9a720
SM
14842013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1485
1486 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
1487 (package-unpack, package-unpack-single): Return the pkg-dir.
1488 (package-download-transaction): Use it to update package-alist.
1489
57ff04e0
LMI
14902013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1491
1492 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
1493 possible choice.
1494
c048c022
JL
14952013-06-17 Juri Linkov <juri@jurta.org>
1496
1497 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
1498
b5bcaee5
DG
14992013-06-17 Dmitry Gutov <dgutov@yandex.ru>
1500
a020afb9
JB
1501 * emacs-lisp/package.el (package-load-descriptor):
1502 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
1503 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
1504
551e07e5
JB
15052013-06-17 Juanma Barranquero <lekktu@gmail.com>
1506
1507 * startup.el (command-line): Expand package name returned by
1508 `package--description-file' (bug#14639).
1509
d363bffb
DG
15102013-06-17 Dmitry Gutov <dgutov@yandex.ru>
1511
1512 * emacs-lisp/package.el (package-load-descriptor): Do not call
1513 `emacs-lisp-mode', just use its syntax table.
1514
f612933b
JB
15152013-06-17 Juanma Barranquero <lekktu@gmail.com>
1516
1517 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
1518 `font-lock-extra-managed-props' if any prettifying keyword is added.
1519 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
1520 (prog-mode): Use `setq-local'.
1521
db3b7db5
SM
15222013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1523
1524 * international/characters.el (standard-case-table): Set syntax of ?»
1525 and ?« to punctuation.
1526
f3d674df
JB
15272013-06-16 Juanma Barranquero <lekktu@gmail.com>
1528
1529 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
1530 Save relevant match data before calling `syntax-ppss' (bug#14595).
1531
31489a32
JL
15322013-06-15 Juri Linkov <juri@jurta.org>
1533
1534 * files-x.el (modify-file-local-variable-prop-line): Add local
1535 variables to the end of the existing comment on the first line.
1536 Use `file-auto-mode-skip' to skip interpreter magic line,
1537 and also skip XML declaration.
1538
66bd25ab
SM
15392013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1540
1541 * startup.el (package--builtin-versions): New var.
1542 (package-subdirectory-regexp): Remove.
1543 (package--description-file): Hard code its value instead.
1544
1545 * emacs-lisp/package.el: Don't activate packages older than builtin.
1546 (package-obsolete-list): Rename from package-obsolete-alist, and make
1547 it into a simple list of package-desc.
1548 (package-strip-version): Remove.
1549 (package-built-in-p): Use package--builtin-versions.
1550 (package-mark-obsolete): Simplify.
1551 (package-process-define-package): Mark it obsolete if older than the
1552 builtin version.
1553 (package-handle-response): Use line-end-position.
1554 (package-read-archive-contents, package--download-one-archive):
1555 Simplify.
1556 (package--add-to-archive-contents): Skip if older than the builtin or
1557 installed version.
1558 (package-menu-describe-package): Fix last change.
1559 (package-list-unversioned): New var.
1560 (package-menu--generate): Use it.
1561
1562 * emacs-lisp/autoload.el: Manage package--builtin-versions.
1563 (autoload--insert-text, autoload--insert-cookie-text): New functions.
1564 (autoload-builtin-package-versions): New variable.
1565 (autoload-generate-file-autoloads): Use them.
1566 Remove the list of autoloaded functions/macros from the
1567 (autoload...) comments.
1568
1569 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
1570
9583ec36
EZ
15712013-06-15 Eli Zaretskii <eliz@gnu.org>
1572
1573 * simple.el (line-move-partial): Don't jump to the next screen
1574 line as soon as it becomes visible. Instead, continue enlarging
1575 the vscroll until the portion of a tall screen line that's left on
1576 display is about the height of the frame's default font.
1577 (Bug#14567)
1578
f0100d8a
GM
15792013-06-15 Glenn Morris <rgm@gnu.org>
1580
b86a85ca
GM
1581 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
1582 compilation-error-regexp-alist void, or local while let-bound.
1583
f0100d8a
GM
1584 * progmodes/make-mode.el (makefile-mode-syntax-table):
1585 Treat "=" as punctuation. (Bug#14614)
1586
05e7ce90
JB
15872013-06-15 Juanma Barranquero <lekktu@gmail.com>
1588
1589 * help-fns.el (describe-variable):
1590 Add extra line for permanent-local variables.
1591
12e5e86e
SH
15922013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
1593
1594 * progmodes/scheme.el (scheme-font-lock-keywords-2):
1595 Add export, import, library. (Bug#9164)
1596 (library): Set indent function.
1597
230dcbaf
GM
15982013-06-14 Glenn Morris <rgm@gnu.org>
1599
1600 * term/xterm.el (xterm--query):
1601 Stop after first matching handler. (Bug#14615)
1602
a020afb9 16032013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
1604
1605 Add support for dired in saveplace.
1606 * dired.el (dired-initial-position-hook): New variable.
1607 (dired-initial-position): Call hook to place cursor position.
1608 * saveplace.el (save-place-to-alist): Add dired position.
1609 (save-place-dired-hook): New function.
1610
0b31660d
SM
16112013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
1612
bf1e6ae8
SM
1613 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
1614 through a symbol rather than letrec.
1615
1b8dff23
SM
1616 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
1617 (package-desc): Add `dir' field.
1618 (package-desc-full-name): New function.
1619 (package-load-descriptor): Combine the two arguments. Don't use `load'.
1620 (package-maybe-load-descriptor): Remove.
1621 (package-load-all-descriptors): Just call package-load-descriptor.
1622 (package--disabled-p): New function.
1623 (package-desc-vers, package-desc-doc): Remove aliases.
1624 (package--dir): Remove function.
1625 (package-activate): Check if a package is disabled.
1626 (package-process-define-package): New function, extracted from
1627 define-package.
1628 (define-package): Turn into a place holder.
1629 (package-unpack-single, package-tar-file-info):
1630 Use package--description-file.
1631 (package-compute-transaction): Use package--disabled-p.
1632 (package-download-transaction): Don't call
1633 package-maybe-load-descriptor since they're all loaded anyway.
1634 (package-install): Change argument to be a pkg-desc.
1635 (package-delete): Use a single pkg-desc argument.
1636 (describe-package-1): Use package-desc-dir instead of package--dir.
1637 Use package-desc property instead of package-symbol.
1638 (package-install-button-action): Adjust accordingly.
1639 (package--push): Rewrite.
1640 (package-menu--print-info): Adjust accordingly. Change the ID format
1641 to be a pkg-desc.
1642 (package-menu-describe-package, package-menu-get-status)
1643 (package-menu--find-upgrades, package-menu-mark-upgrades)
1644 (package-menu-execute, package-menu--name-predicate):
1645 Adjust accordingly.
1646 * startup.el (package--description-file): New function.
1647 (command-line): Use it.
1648 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1649 Use package-desc-version.
1650
0b31660d
SM
1651 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
1652 (byte-compile-preprocess): Use it.
1653 (byte-compile-file-form-defalias): Try a bit harder to use macros we
1654 can't quite recognize.
1655 (byte-compile-add-to-list): Remove.
1656 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
1657 (cconv-closure-convert): Add assertion.
1658
1659 * emacs-lisp/map-ynp.el: Use lexical-binding.
1660 (map-y-or-n-p): Remove unused vars `tail' and `object'.
1661 Factor out some repeated code.
1662
de0503df
SM
16632013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1664
1665 * subr.el (with-eval-after-load): New macro.
1666 (eval-after-load): Allow form to be a function.
1667 take advantage of lexical-binding.
1668 (do-after-load-evaluation): Use dolist and adjust to new format.
1669 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
1670
bc5c8c5a
JL
16712013-06-13 Juri Linkov <juri@jurta.org>
1672
1673 * replace.el (perform-replace): Display "symbol " and other search
1674 modes from `isearch-message-prefix' in the *Help* buffer.
1675
1676 * isearch.el (isearch-query-replace): Add " symbol" and other
1677 possible search modes from `isearch-message-prefix' to the prompt.
1678 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
1679 when reading a regexp to collect.
1680
a22289f7
JL
16812013-06-13 Juri Linkov <juri@jurta.org>
1682
1683 * isearch.el (word-search-regexp): Match whitespace if the search
1684 string begins or ends in whitespace. The LAX arg is applied to
1685 both ends of the search string. Use `regexp-quote' and explicit
1686 \< and \> instead of \b. Use \` and \' instead of ^ and $.
1687 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
1688 boundaries are replaced with symbol boundaries, and characters
1689 between symbols match non-word non-symbol syntax. (Bug#14602)
1690
cb89acab
JL
16912013-06-13 Juri Linkov <juri@jurta.org>
1692
1693 * isearch.el (isearch-del-char): Don't exceed the length of
1694 `isearch-string' by the prefix arg. (Bug#14563)
1695
6e8cfc81
JL
16962013-06-13 Juri Linkov <juri@jurta.org>
1697
1698 * isearch.el (isearch-yank-word, isearch-yank-line)
1699 (isearch-char-by-name, isearch-quote-char)
1700 (isearch-printing-char, isearch-process-search-char):
1701 Add optional count prefix arg. (Bug#14563)
1702
1703 * international/isearch-x.el
1704 (isearch-process-search-multibyte-characters):
1705 Add optional count prefix arg.
1706
c23d55f4
VS
17072013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1708
1709 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
1710 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
1711 lexical-binding.
1712
17132013-06-13 Vitalie Spinu <spinuvit@gmail.com>
1714
1715 * subr.el (set-temporary-overlay-map): Add on-exit argument.
1716
ba947bc4
GM
17172013-06-13 Glenn Morris <rgm@gnu.org>
1718
8baeb37a
GM
1719 * startup.el (tty-handle-args):
1720 Don't just discard "--" and anything after. (Bug#14608)
1721
ba947bc4
GM
1722 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
1723
9abefce4
MA
17242013-06-13 Michael Albinus <michael.albinus@gmx.de>
1725
1726 Implement changes in Secret Service API. Make it backward compatible.
1727 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
1728 (secrets-create-item): Use it. Prefix properties with interface.
1729
5755011f
MH
17302013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
1731
1732 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
1733 (term-emulate-terminal): Respect term-suppress-hard-newline.
1734
1261d2da
S
17352013-06-13 E Sabof <esabof@gmail.com> (tiny change)
1736
1737 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
1738 Only remove a `thumb-file' overlay. (Bug#14548)
1739
868490bb
GJ
17402013-06-12 Grégoire Jadi <daimrod@gmail.com>
1741
1742 * mail/reporter.el (reporter-submit-bug-report):
1743 Handle missing package-name. (Bug#14600)
1744
79d7167f
TH
17452013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1746
1747 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
1748 (reftex-citation-prompt, reftex-default-bibliography)
1749 (reftex-bib-or-thebib, reftex-get-bibfile-list)
1750 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
1751 (reftex-bib-sort-author, reftex-bib-sort-year)
1752 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
1753 (reftex-extract-bib-entries-from-thebibliography)
1754 (reftex-get-bibkey-default, reftex-get-bib-names)
1755 (reftex-parse-bibtex-entry, reftex-get-bib-field)
1756 (reftex-format-bib-entry, reftex-parse-bibitem)
1757 (reftex-format-bibitem, reftex-do-citation)
1758 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
1759 (reftex-restrict-bib-matches, reftex-extract-bib-file)
1760 (reftex-insert-bib-matches, reftex-format-citation)
1761 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
1762 (reftex-create-bibtex-file): Add docstrings, mostly by converting
1763 existing comments into docstrings.
1764
5f9dbd7a
XF
17652013-06-12 Xue Fuqiao <xfq.free@gmail.com>
1766
1767 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
1768
94df41ab
AS
17692013-06-12 Andreas Schwab <schwab@suse.de>
1770
1771 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
1772 for auto-save files.
1773
a7f3fecc
GM
17742013-06-12 Glenn Morris <rgm@gnu.org>
1775
001809f6
GM
1776 * ido.el (ido-delete-ignored-files): Remove.
1777 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
1778 Go back to calling ido-ignore-item-p directly.
a7f3fecc 1779
834b5ded
EL
17802013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
1781
08c73ed2
EL
1782 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
1783
834b5ded
EL
1784 * ido.el (ido-delete-ignored-files): New function,
1785 split from ido-make-file-list-1.
1786 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
1787 (ido-make-file-list-1): Use ido-delete-ignored-files.
1788
daabf15a
LL
17892013-06-12 Leo Liu <sdl.web@gmail.com>
1790
1791 * progmodes/octave.el (inferior-octave-startup)
1792 (inferior-octave-completion-table)
1793 (inferior-octave-track-window-width-change)
1794 (octave-eldoc-function-signatures, octave-help)
1795 (octave-find-definition): Use single quoted strings.
1796 (inferior-octave-startup-args): Change default value.
1797 (inferior-octave-startup): Do not hard code "-i" and
1798 "--no-line-editing".
1799 (inferior-octave-resync-dirs): Add optional arg NOERROR.
1800 (inferior-octave-directory-tracker): Use it.
1801 (octave-goto-function-definition): Robustify.
1802 (octave-help): Support highlighting operators in 'See also'.
1803 (octave-find-definition): Find subfunctions only in Octave mode.
1804
cf4e5178
SM
18052013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1806
1807 * help-fns.el (help-fns--compiler-macro): If the handler function is
1808 named, then put a link to it.
1809 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
1810 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
1811 (cl-typep): Use it.
1812 (cl-eval-when): Simplify debug spec.
1813 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
1814 compiler-macro function instead of setting `compiler-macro-file'.
1815
99c81280 18162013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
1817
1818 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
1819 * vc/vc-hooks.el (vc-stay-local): Doc fix.
1820
f56be016
SM
18212013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1822 Daniel Hackney <dan@haxney.org>
1823
1824 First part of Daniel Hackney's patch to package.el.
1825 * emacs-lisp/package.el: Use defstruct.
1826 (package-desc): New, main struct.
1827 (package--bi-desc, package--ac-desc): New structs, used to describe the
1828 format in external files.
1829 (package-desc-vers): Replace with package-desc-version accessor.
1830 (package-desc-doc): Replace with package-desc-summary accessor.
1831 (package-activate-1): Remove `package' arg since the pkg-vec now
1832 includes the name.
1833 (define-package): Use package-desc-from-define.
1834 (package-unpack-single): Change file-name arg to be a symbol.
1835 (package--add-to-archive-contents): Use package-desc-create and new
1836 accessor functions to package--ac-desc.
1837 (package-buffer-info, package-tar-file-info): Return a package-desc.
1838 (package-install-from-buffer): Remove `type' argument. Change pkg-info
1839 arg to be a package-desc.
1840 (package-install-file): Adjust accordingly. Use \' to match EOS.
1841 (package--from-builtin): New function.
1842 (describe-package-1, package-menu--generate): Use it.
1843 (package--make-autoloads-and-compile): Change name arg to be a symbol.
1844 (package-generate-autoloads): Idem and return the name of the file.
1845 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1846 Change pkg-info arg to be a package-desc.
1847 Use package-make-ac-desc.
1848 (package-upload-file): Use \' to match EOS.
1849 * finder.el (finder-compile-keywords): Use package-make-builtin.
1850
31119d63
SM
18512013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1852
931a2762
SM
1853 * vc/vc.el (vc-deduce-fileset): Change error message.
1854 (vc-read-backend): New function.
1855 (vc-next-action): Use it.
1856
5a3eb0c6
SM
1857 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
1858
e3eb1bb7
SM
1859 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
1860 (prolog-font-lock-keywords): Use regexp-opt instead.
1861 Don't manually highlight strings.
1862 (prolog-mode-variables): Simplify comment-start-skip.
1863 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
1864
31119d63
SM
1865 * emacs-lisp/generic.el (generic--normalise-comments)
1866 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
1867 (generic-mode-set-comments): Use them.
1868 (generic-bracket-support): Use setq-local.
1869 (generic-make-keywords-list): Declare obsolete.
1870
7de135d0
GM
18712013-06-11 Glenn Morris <rgm@gnu.org>
1872
1873 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1874 Prettify after setting font-lock-defaults. (Bug#14574)
1875
fa6bc6fd
JB
18762013-06-11 Juanma Barranquero <lekktu@gmail.com>
1877
1878 * replace.el (query-replace, occur-read-regexp-defaults-function)
1879 (replace-search):
1880 * subr.el (declare-function, number-sequence, local-set-key)
1881 (substitute-key-definition, locate-user-emacs-file)
1882 (with-silent-modifications, split-string, eval-after-load):
1883 Fix typos, remove unneeded backslashes and reflow some docstrings.
1884
cf1f9b9a
SM
18852013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1886
1887 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
1888 default for Elisp files.
1889
56602a4b
GM
18902013-06-11 Glenn Morris <rgm@gnu.org>
1891
1892 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
1893 although define-derived-mode was doing this anyway. (Bug#14583)
1894
30ae0b2c
JB
18952013-06-10 Juanma Barranquero <lekktu@gmail.com>
1896
1897 * allout.el (allout-encryption-plaintext-sanitization-regexps):
1898 Fix make-variable-buffer-local call to refer to the correct variable.
1899
fa472906
AG
19002013-06-10 Aidan Gauland <aidalgol@amuri.net>
1901
1902 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
1903 (eshell-visual-subcommands, eshell-visual-options):
1904 Add summary line to docstrings. Add cross-references.
fa472906 1905
ff4871b9
GM
19062013-06-10 Glenn Morris <rgm@gnu.org>
1907
1908 * epa.el (epa-read-file-name): New function. (Bug#14510)
1909 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
1910
04fcf1b0
AG
19112013-06-09 Aidan Gauland <aidalgol@amuri.net>
1912
1913 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
1914 output redirection to be ignored with visual commands.
1915
88b00caa
AG
19162013-06-09 Aidan Gauland <aidalgol@amuri.net>
1917
1918 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
1919 (eshell-term-initialize): Move long lambda to separate function
1920 eshell-visual-command-p.
e7b41c4c
JB
1921 * eshell/em-dirs.el (eshell-dirs-initialise):
1922 * eshell/em-script.el (eshell-script-initialize):
1923 Add missing #' to lambda.
88b00caa 1924
fda74125
LL
19252013-06-08 Leo Liu <sdl.web@gmail.com>
1926
1927 * progmodes/octave.el (octave-add-log-current-defun): New function.
1928 (octave-mode): Set add-log-current-defun-function.
1929 (octave-goto-function-definition): Do not move point if not found.
1930 (octave-find-definition): Enhance to try subfunctions first.
1931
467f3b33
GM
19322013-06-08 Glenn Morris <rgm@gnu.org>
1933
1934 * emacs-lisp/bytecomp.el (byte-compile-char-before)
1935 (byte-compile-backward-char, byte-compile-backward-word):
1936 Improve previous change, to handle non-explicit nil.
1937
544badc3
SM
19382013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1939
1940 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
1941 (smie--opener/closer-at-point): New function.
1942 (smie--matching-block-data): Use it. Don't match from right after an
1943 opener or right before a closer. Obey smie-blink-matching-inners.
1944 Don't signal a mismatch for repeated inners like "switch..case..case".
1945
a175bf33
LL
19462013-06-07 Leo Liu <sdl.web@gmail.com>
1947
1948 * progmodes/octave.el (octave-mode): Set comment-use-global-state
1949 to t. (Bug#14303)
ce8209d4
LL
1950 (octave-function-header-regexp): Fix. (Bug#14570)
1951 (octave-help-mode-finish-hook, octave-help-mode-finish):
1952 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
1953
1954 * newcomment.el (comment-search-backward): Revert last change.
1955 (Bug#14434)
1956
1957 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
1958
a822acff
EZ
19592013-06-07 Eli Zaretskii <eliz@gnu.org>
1960
1961 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
1962 through xargs, to avoid failure due to MS-Windows limitations on
1963 command-line length.
1964
961166f5
GM
19652013-06-06 Glenn Morris <rgm@gnu.org>
1966
d0341459
GM
1967 * font-lock.el (lisp-font-lock-keywords-2):
1968 Treat user-error like error.
1969
961166f5
GM
1970 * emacs-lisp/bytecomp.el (byte-compile-char-before)
1971 (byte-compile-backward-char, byte-compile-backward-word):
1972 Handle explicit nil arguments. (Bug#14565)
1973
80fa505f
AM
19742013-06-05 Alan Mackenzie <acm@muc.de>
1975
1976 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 1977 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 1978 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 1979 (Bug#9706)
80fa505f 1980
fccdc796
SM
19812013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1982
1983 * autorevert.el (auto-revert-notify-handler): Use memq.
1984 Hide assertion failure.
1985
1986 * skeleton.el: Use cl-lib.
1987 (skeleton-further-elements): Use defvar-local.
1988 (skeleton-insert): Use cl-progv.
1989
9bfff84b
TZ
19902013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
1991
1992 * progmodes/prog-mode.el (prog-prettify-symbols)
1993 (prog-prettify-install): Update docstrings.
1994
55577e7c
SM
19952013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1996
1997 * simple.el: Move all the prog-mode code to prog-mode.el.
1998 * progmodes/prog-mode.el: New file.
1999 * loadup.el: Add prog-mode.el.
2000
8fc57765
TZ
20012013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
2002
2003 * simple.el (prog-prettify-symbols): Add version.
2004 (prog-prettify-install): Add convenience function to prettify symbols.
2005
2006 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
2007 (perl--augmented-font-lock-keywords-1)
2008 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
2009 variables and use it.
2010
2011 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
2012 (cfengine3-mode): Remove unneeded variable and use it.
2013
2014 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
2015 (lisp--augmented-font-lock-keywords-1)
2016 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
2017 Remove unneeded variables and use it.
2018
650645d5 20192013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
2020
2021 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 2022 to point when opening the connection. (Bug#14380)
28f5da6d 2023
781b4af6
SM
20242013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2025
2026 * subr.el (load-history-regexp, load-history-filename-element)
2027 (eval-after-load, after-load-functions, do-after-load-evaluation)
2028 (eval-next-after-load, display-delayed-warnings)
2029 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
2030 definition of save-match-data.
2031 (overriding-local-map): Remove accidental obsolescence declaration.
2032
2033 * emacs-lisp/edebug.el (edebug-result): Move before first use.
2034
3ca0d0b4
TZ
20352013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
2036
2037 Generalize symbol prettify support to prog-mode and implement it
2038 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
2039 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
2040 (prog--prettify-font-lock-compose-symbol)
2041 (prog-prettify-font-lock-symbols-keywords): New variables and
2042 functions to support symbol prettification.
2043 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
2044 (lisp--augmented-font-lock-keywords-1)
2045 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
2046 (lisp--prettify-symbols-alist): Implement prettify of lambda.
2047 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
2048 (cfengine3--prettify-symbols-alist, cfengine3-mode):
2049 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
2050 * progmodes/perl-mode.el (perl-prettify-symbols)
2051 (perl--font-lock-compose-symbol)
2052 (perl--font-lock-symbols-keywords): Move to prog-mode.
2053 (perl--prettify-symbols-alist): Prettify -> => :: strings.
2054 (perl-font-lock-keywords-1)
2055 (perl-font-lock-keywords-2): Remove explicit prettify support.
2056 (perl--augmented-font-lock-keywords)
2057 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
2058 (perl--augmented-font-lock-keywords-2, perl-mode):
2059 Implement prettify support.
3ca0d0b4 2060
976cb066
LL
20612013-06-05 Leo Liu <sdl.web@gmail.com>
2062
2063 Re-implement smie matching block highlight using
2064 show-paren-data-function. (Bug#14395)
2065 * emacs-lisp/smie.el (smie-matching-block-highlight)
2066 (smie--highlight-matching-block-overlay)
2067 (smie--highlight-matching-block-lastpos)
2068 (smie-highlight-matching-block)
2069 (smie-highlight-matching-block-mode): Remove.
2070 (smie--matching-block-data-cache): New variable.
2071 (smie--matching-block-data): New function.
2072 (smie-setup): Use smie--matching-block-data for
2073 show-paren-data-function.
2074
2075 * progmodes/octave.el (octave-mode-menu): Fix.
2076 (octave-find-definition): Skip garbage lines.
2077
208d0342
SM
20782013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2079
2080 Fix compilation error with simultaneous dynamic+lexical scoping.
2081 Add warning when a defvar appears after the first let-binding.
2082 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
2083 (byte-compile-close-variables): Initialize it.
2084 (byte-compile--declare-var): New function.
2085 (byte-compile-file-form-defvar)
2086 (byte-compile-file-form-define-abbrev-table)
2087 (byte-compile-file-form-custom-declare-variable): Use it.
2088 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
2089 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
2090 (byte-compile-bind): Handle dynamic bindings that shadow
2091 lexical bindings.
2092 (byte-compile-unbind): Make arg non-optional.
2093 (byte-compile-let): Simplify.
2094 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
2095 (cconv--analyse-function, cconv-analyse-form): Populate it.
2096 Protect byte-compile-bound-variables to limit the scope of defvars.
2097 (cconv-analyse-form): Add missing rule for (defvar <foo>).
2098 Remove unneeded rule for `declare'.
2099
2100 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
2101 so as to avoid depending on cl-adjoin at run-time.
2102 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
2103
2104 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
2105 (macroexp--warn-and-return): Use it.
2106
2587b005
LL
21072013-06-05 Leo Liu <sdl.web@gmail.com>
2108
2109 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
2110
f1da3c88
LL
21112013-06-04 Leo Liu <sdl.web@gmail.com>
2112
2113 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
2114 (compilation-auto-jump): Suppress the "Mark set" message to give
2115 way to exit message.
2116
3caa391f
AM
21172013-06-04 Alan Mackenzie <acm@muc.de>
2118
2119 Remove faulty optimisation from indentation calculation.
2120 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
2121 search limit based on 2000 characters back from indent-point.
2122
068922a2
TH
21232013-06-03 Tassilo Horn <tsdh@gnu.org>
2124
2125 * eshell/em-term.el (cl-lib): Require `cl-lib'.
2126
1f8fdd53
SM
21272013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
2128
bbcc4d97
SM
2129 * emacs-lisp/lisp.el: Use lexical-binding.
2130 (lisp--local-variables-1, lisp--local-variables): New functions.
2131 (lisp--local-variables-completion-table): New var.
208d0342 2132 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 2133
1f8fdd53
SM
2134 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
2135 eagerly (bug#14422).
2136
c9628c79
MA
21372013-06-03 Michael Albinus <michael.albinus@gmx.de>
2138
2139 * autorevert.el (auto-revert-notify-enabled)
2140 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2141 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
2142 (auto-revert-notify-handler): Handle also gfilenotify.
2143
e7b41c4c 2144 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 2145 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 2146 Remove.
c9628c79 2147
e5e4a942
JL
21482013-06-03 Juri Linkov <juri@jurta.org>
2149
2150 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
2151 `M-s h .'. (Bug#14427)
2152
2153 * hi-lock.el (highlight-symbol-at-point): New alias for the new
2154 command `hi-lock-face-symbol-at-point'.
2155 (hi-lock-face-symbol-at-point): New command.
2156 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
2157 (hi-lock-menu): Add `highlight-symbol-at-point'.
2158 (hi-lock-mode): Doc fix.
2159
2160 * isearch.el (isearch-forward-symbol-at-point): New command.
2161 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
2162 (isearch-highlight-regexp): Add a regexp which matches
2163 words/symbols for word/symbol mode.
2164
2165 * subr.el (find-tag-default-bounds): New function with the body
2166 mostly moved from `find-tag-default'.
2167 (find-tag-default): Move most code to `find-tag-default-bounds',
2168 call it and apply `buffer-substring-no-properties' afterwards.
2169
26b3353a
TH
21702013-06-03 Tassilo Horn <tsdh@gnu.org>
2171
781b4af6
SM
2172 * eshell/em-term.el (eshell-term-initialize):
2173 Use `cl-intersection' rather than `intersection'.
26b3353a 2174
51b60f53
XF
21752013-06-02 Xue Fuqiao <xfq.free@gmail.com>
2176
fe054b63 2177 * vc/log-view.el: Doc fix.
d3ffe17c 2178 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 2179
a0eb10b3 21802013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
2181
2182 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
2183 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
2184 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
2185 (eieio-unbound, eieio-default-superclass)
2186 (eieio--define-field-accessors, method-static, method-before)
2187 (method-primary, method-after, method-num-lists)
2188 (method-generic-before, method-generic-primary)
2189 (method-generic-after, method-num-slots)
2190 (eieio-specialized-key-to-generic-key)
2191 (eieio--check-type, class-v, class-p)
2192 (eieio-class-name, define-obsolete-function-alias)
2193 (eieio-class-parents-fast, eieio-class-children-fast)
2194 (same-class-fast-p, class-constructor, generic-p)
2195 (generic-primary-only-p, generic-primary-only-one-p)
2196 (class-option-assoc, class-option, eieio-object-p)
2197 (class-abstract-p, class-method-invocation-order)
2198 (eieio-defclass-autoload-map, eieio-defclass-autoload)
2199 (eieio-class-un-autoload, eieio-defclass)
2200 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
2201 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
2202 (eieio--defgeneric-init-form, eieio-defgeneric-form)
2203 (eieio-defgeneric-reset-generic-form)
2204 (eieio-defgeneric-form-primary-only)
2205 (eieio-defgeneric-reset-generic-form-primary-only)
2206 (eieio-defgeneric-form-primary-only-one)
2207 (eieio-defgeneric-reset-generic-form-primary-only-one)
2208 (eieio-unbind-method-implementations)
2209 (eieio--defmethod, eieio--typep)
2210 (eieio-perform-slot-validation, eieio-validate-slot-value)
2211 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
2212 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
2213 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
2214 (eieio-slot-name-index, eieio-class-slot-name-index)
2215 (eieio-set-defaults, eieio-initarg-to-attribute)
2216 (eieio-attribute-to-initarg, eieio-c3-candidate)
2217 (eieio-c3-merge-lists, eieio-class-precedence-c3)
2218 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
2219 (eieio-class-precedence-list, eieio-generic-call-methodname)
2220 (eieio-generic-call-arglst, eieio-generic-call-key)
2221 (eieio-generic-call-next-method-list)
2222 (eieio-pre-method-execution-functions, eieio-generic-call)
2223 (eieio-generic-call-primary-only, eieiomt-method-list)
2224 (eieiomt-optimizing-obarray, eieiomt-install)
2225 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
2226 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 2227 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
2228 (defclass): Remove `eval-and-compile' from macro.
2229 (call-next-method, shared-initialize): Instead of using
2230 `scoped-class' variable, use new eieio--scoped-class, and
2231 eieio--with-scoped-class.
2232 (initialize-instance): Rename local variable 'scoped-class' to
2233 'this-class' to remove ambiguitity from old global.
2234
2235 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
2236 eieio.el.
4f405069
JB
2237 (eieio--scoped-class-stack): New variable.
2238 (eieio--scoped-class): New fcn.
890f7890
DE
2239 (eieio--with-scoped-class): New scoping macro.
2240 (eieio-defclass): Use pushnew instead of add-to-list.
2241 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
2242 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
2243 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
2244 `scoped-class' variable, use new eieio--scoped-class, and
2245 eieio--with-scoped-class.
2246
2247 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
2248
d105b0e2
TH
22492013-06-02 Tassilo Horn <tsdh@gnu.org>
2250
2251 * eshell/esh-ext.el (eshell-external-command): Pass args to
2252 `eshell-find-interpreter'.
2253 (eshell-find-interpreter): Add new second parameter ARGS.
2254
2255 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 2256 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
2257
2258 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 2259 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
2260
2261 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
2262 (eshell-visual-options): New defcustom.
2263 (eshell-escape-control-x): Adapt docstring.
2264 (eshell-term-initialize): Test `eshell-visual-subcommands' and
2265 `eshell-visual-options' in addition to `eshell-visual-commands'.
2266 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
2267
f46305c8 22682013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
2269
2270 * progmodes/python.el (python-indent-block-enders): Add break,
2271 continue and raise keywords.
2272
d870df21
GM
22732013-06-01 Glenn Morris <rgm@gnu.org>
2274
9133b82e
GM
2275 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
2276
02c992ec 2277 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
2278 * progmodes/cc-cmds.el (delete-forward-p):
2279 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
2280 * progmodes/cc-engine.el (buffer-syntactic-context):
2281 * progmodes/cc-fonts.el (face-property-instance):
2282 * progmodes/cc-mode.el (set-keymap-parents):
2283 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
2284 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
2285 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
2286 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
2287 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 2288
31e7b090
GM
2289 * progmodes/cc-vars.el (other): Emacs has this widget since
2290 at least 21.1, so don't (re)define it.
2291
d870df21
GM
2292 * eshell/em-cmpl.el (eshell-cmpl-initialize):
2293 Replace the obsolete alias pcomplete-arg-quote-list.
2294
c75c93c7
LL
22952013-06-01 Leo Liu <sdl.web@gmail.com>
2296
2297 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
2298 punctuation syntax.
2299 (inferior-octave-minimal-columns)
2300 (inferior-octave-last-column-width): New variables.
2301 (inferior-octave-track-window-width-change): New function.
2302 (inferior-octave-mode): Adjust column width so that Octave output,
2303 for example from 'ls', can fit into the window nicely.
2304
973d1e12
DG
23052013-05-31 Dmitry Gutov <dgutov@yandex.ru>
2306
2307 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
2308 Highlight expansions inside regexp literals.
2309
0888c286
GM
23102013-05-31 Glenn Morris <rgm@gnu.org>
2311
e26aac1f
GM
2312 * obsolete/sym-comp.el (symbol-complete):
2313 Replace obsolete completion-annotate-function.
2314
0888c286
GM
2315 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
2316
19bb8e62
DG
23172013-05-31 Dmitry Gutov <dgutov@yandex.ru>
2318
781b4af6
SM
2319 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
2320 New function, checks if point is inside a literal that allows
19bb8e62
DG
2321 expression expansion.
2322 (ruby-syntax-propertize-expansion): Use it.
2323 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
2324 around the body.
2325
01dea85f
JL
23262013-05-30 Juri Linkov <juri@jurta.org>
2327
2328 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
2329 to "\M-si".
2330 (isearch-invisible): New variable.
2331 (isearch-forward): Doc fix.
2332 (isearch-mode): Set `isearch-invisible'
2333 to the value of `search-invisible'.
2334 (isearch-toggle-case-fold): Doc fix.
2335 (isearch-toggle-invisible): New command.
2336 (isearch-query-replace): Let-bind `search-invisible'
2337 to the value of `isearch-invisible'.
2338 (isearch-search): Use `isearch-invisible' instead of
2339 `search-invisible'. Let-bind `search-invisible'
2340 to the value of `isearch-invisible'. (Bug#11378)
2341
ab1bdce5
JL
23422013-05-30 Juri Linkov <juri@jurta.org>
2343
2344 * replace.el (perform-replace): Avoid `isearch-range-invisible'
2345 call when `query-flag' is nil and `search-invisible' is non-nil.
2346 (Bug#11746)
2347
d6d236e2
GM
23482013-05-30 Glenn Morris <rgm@gnu.org>
2349
8accd027
GM
2350 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
2351
2a8bed1c
GM
2352 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
2353 (cc-require): Suppress spurious "noruntime" warnings.
2354 (cc-require-when-compile): Use fboundp, for sake of compiler.
2355
d6d236e2
GM
2356 * progmodes/cc-mode.el: Move load of cc-vars before that of
2357 cc-langs (which in turn loads cc-vars), to quieten compiler.
2358
9190b35b
SM
23592013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2360
2361 * paren.el: Simplify the code.
2362 (show-paren-mode): Always start the timer.
2363 (show-paren--idle-timer): Rename from show-paren-idle-timer.
2364 (show-paren--overlay, show-paren--overlay-1): Rename from
2365 show-paren-overlay and show-paren-overlay-1, and initialize to an
2366 overlay rather than to nil.
2367 (show-paren-function): Misc cleanup and simplifications.
2368
4f8d1cf6
SM
23692013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2370
2371 * paren.el (show-paren-data-function): New hook.
2372 (show-paren--default): New function, extracted from show-paren-function.
2373 (show-paren-function): Use show-paren-data-function.
2374
02d844b5
GM
23752013-05-30 Glenn Morris <rgm@gnu.org>
2376
d209d4a9
GM
2377 * ielm.el (ielm-map, ielm-complete-symbol):
2378 Use completion-at-point rather than obsolete functions.
2379 (inferior-emacs-lisp-mode): Doc fix.
2380 Set completion-at-point-functions, rather than
2381 comint-dynamic-complete-functions.
2382
2082faa6
GM
2383 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
2384 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
2385 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
2386
dd8620de
GM
2387 * image.el (image-animated-p): Tweak definition.
2388
ceca95b1
GM
2389 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
2390 (rlogin-process-connection-type): Tweak default. Add set-after.
2391 (rlogin-host): Doc fix.
2392 (rlogin): Tweak prompt.
2393 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
2394
ee9f1acc
GM
2395 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
2396 * progmodes/tcl.el (inferior-tcl-mode-map):
2397 Use completion-at-point rather than obsolete alias.
2398
45ce222e
GM
2399 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
2400
02d844b5
GM
2401 * minibuffer.el (read-file-name-completion-ignore-case):
2402 Move before completion--in-region, for eager macro expansion.
2403
ac44d6c1
JL
24042013-05-29 Juri Linkov <juri@jurta.org>
2405
2406 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
2407 for total count of matching lines. Add `global-matches' for total
2408 count of matches. Rename `matches' to `lines' for count of
2409 matching lines. Add `matches' for count of matches.
2410 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
2411 to `prev-line' for line number of prev match endpt.
2412 Increment `matches' for every match. Print the number of
2413 matching lines in the header.
2414 (occur-context-lines): Rename `lines' to `curr-line'.
2415 Rename `prev-lines' to `prev-line'. (Bug#14017)
2416
3c9c9d38
JL
24172013-05-29 Juri Linkov <juri@jurta.org>
2418
2419 * replace.el (perform-replace): Add `skip-read-only-count',
2420 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
2421 Increment them for corresponding conditions and report the number
2422 of skipped occurrences in the final message. (Bug#11746)
2423 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2424 (replace-string, replace-regexp): Doc fix.
2425
33e249a2
SM
24262013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2427
8e399682
SM
2428 * emacs-lisp/trace.el (trace--read-args): Provide a default.
2429
33e249a2 2430 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 2431 prog-mode-map (bug#14504).
33e249a2 2432
f236dd84
LL
24332013-05-29 Leo Liu <sdl.web@gmail.com>
2434
2435 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
2436 (octave-help): Small simplification.
2437
2438 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
2439 off the highlight first.
2440
3694d13f
GM
24412013-05-29 Glenn Morris <rgm@gnu.org>
2442
03983bdc
GM
2443 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
2444 Handle idlwave-last-system-routine-info-cons-cell being nil.
2445
bc74a74a
GM
2446 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
2447 (idlwave-write-paths): Simplify via with-temp-buffer.
2448
8b394200
GM
2449 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
2450 * emulation/cua-rect.el: Also load cua-base at run time.
2451
3694d13f
GM
2452 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
2453 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
2454 (cperl-imenu-on-info): Require imenu.
2455
336d7284
AM
24562013-05-28 Alan Mackenzie <acm@muc.de>
2457
2458 Handle "capitalised keywords" correctly.
33e249a2 2459 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 2460
cb29c582
AG
24612013-05-28 Aidan Gauland <aidalgol@amuri.net>
2462
781b4af6 2463 * eshell/em-unix.el: Add -r option to cp.
cb29c582 2464
690e44b2
GM
24652013-05-28 Glenn Morris <rgm@gnu.org>
2466
e658d75c
GM
2467 * vc/vc-arch.el (vc-exec-after): Declare.
2468 (vc-switches): Autoload.
2469 * vc/vc-bzr.el: No need to require vc when compiling.
2470 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
2471 (vc-resynch-buffer, vc-dir-refresh): Declare.
2472 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
2473 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
2474 (vc-resynch-buffer): Declare.
2475 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 2476 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
2477 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
2478 (grep-read-regexp, grep-read-files, grep-expand-template)
2479 (vc-dir-refresh): Declare.
2480 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
2481 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
2482 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
2483 * vc/vc-mtn.el (vc-exec-after): Declare.
2484 (vc-switches): Autoload.
2485 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
2486 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
2487 (vc-file-tree-walk): Declare.
712b9732
GM
2488 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
2489 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
2490 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
2491 * vc/vc-svn.el (vc-exec-after): Declare.
2492 (vc-switches, vc-setup-buffer): Autoload.
2493 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
2494 Autoload.
2495 (vc-resynch-buffer): Declare.
2496
98e87fb3
GM
2497 * obsolete/fast-lock.el (byte-compile-warnings):
2498 Don't warn about obsolete features in this obsolete file.
2499
f5379553
GM
2500 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
2501 Move definition before use.
2502
7a20ef83
GM
2503 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
2504 (dun-unix-verbs): Remove dun-zippy.
2505 (dun-zippy): Remove function.
2506
690e44b2
GM
2507 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
2508
3a52ccf7
JL
25092013-05-27 Juri Linkov <juri@jurta.org>
2510
2511 * replace.el (replace-search): New function with code moved out
2512 from `perform-replace'.
2513 (replace-highlight, replace-dehighlight): Move function definitions
2514 up closer to `replace-search'. (Bug#11746)
2515
d289938a
JL
25162013-05-27 Juri Linkov <juri@jurta.org>
2517
2518 * replace.el (perform-replace): Ignore invisible matches.
2519 In addition to checking `query-replace-skip-read-only', also
2520 filter out matches by calling `run-hook-with-args-until-failure'
2521 on `isearch-filter-predicates', and also check `search-invisible'
2522 for t or call `isearch-range-invisible'.
2523 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
2524
66fc57e3
JL
25252013-05-27 Juri Linkov <juri@jurta.org>
2526
2527 * isearch.el (isearch-filter-predicates): Rename from
2528 `isearch-filter-predicate'. Doc fix. (Bug#11378)
2529 (isearch-message-prefix): Display text from the property
2530 `isearch-message-prefix' of the currently active filters.
2531 (isearch-search): Don't compare `isearch-filter-predicate' with
2532 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
2533 on `isearch-filter-predicates'. Also check `search-invisible' for t
2534 or call `isearch-range-invisible'.
2535 (isearch-filter-visible): Make obsolete.
2536 (isearch-lazy-highlight-search):
2537 Call `run-hook-with-args-until-failure' on
2538 `isearch-filter-predicates' and use `isearch-range-invisible'.
2539
2540 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
2541 `isearch-filter-predicates' instead of `funcall'ing
2542 `isearch-filter-predicate'.
2543 (Info-mode): Set `Info-isearch-filter' to
2544 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
2545
2546 * dired-aux.el (dired-isearch-filter-predicate-orig):
2547 Remove variable.
2548 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
2549 (dired-isearch-filenames-end): Add and remove
2550 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
2551 instead of changing the value of `isearch-filter-predicate'.
2552 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
2553 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
2554 Put property `isearch-message-prefix' to "filename " on
2555 `dired-isearch-filter-filenames'.
2556
2557 * wdired.el (wdired-change-to-wdired-mode):
2558 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
2559 locally instead of changing `isearch-filter-predicate'.
2560 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
2561
f1a60a0f
DG
25622013-05-27 Dmitry Gutov <dgutov@yandex.ru>
2563
2564 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
2565 return the commit hash (Bug#14459). Also set the
2566 `vc-git-detached' property.
2567 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
2568 (vc-git-mode-line-string): Use the same help-echo format whether
2569 in detached mode or not, because we know the actual revision now.
2570 When in detached mode, shorten the revision to 7 chars.
2571
7f17cc40
SM
25722013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
2573
2574 * emacs-lisp/easy-mmode.el (define-minor-mode):
2575 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
2576 mode hook and provide a docstring.
2577
25c8401c
AM
25782013-05-27 Alan Mackenzie <acm@muc.de>
2579
2580 Remove spurious syntax-table text properties inserted by C-y.
2581 * progmodes/cc-mode.el (c-after-change): Also clear hard
2582 syntax-table property with value nil.
2583
dde84790
MA
25842013-05-27 Michael Albinus <michael.albinus@gmx.de>
2585
2586 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
2587 when reading the events; the buffer layout shall not be changed.
2588
837fd9af
LL
25892013-05-27 Leo Liu <sdl.web@gmail.com>
2590
2591 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
2592 New variable.
2593 (inferior-octave-directory-tracker): Automatically re-sync
2594 default-directory.
2595 (octave-help): Improve handling of 'See also'.
2596
4fd996b3
SM
25972013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
2598
416f1802
SM
2599 * doc-view.el: Minor naming convention tweaks.
2600 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
2601
4fd996b3
SM
2602 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
2603 even if there's no `display' property yet (bug#14435).
2604
a052ef3b
EZ
26052013-05-25 Eli Zaretskii <eliz@gnu.org>
2606
4fd996b3 2607 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
2608
2609 * Makefile.in (custom-deps, finder-data, autoloads)
2610 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2611 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2612 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
2613
c9023370
SM
26142013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2615
2616 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
2617 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 2618 Don't burp at EOB.
c9023370 2619
24d699fa
LL
26202013-05-25 Leo Liu <sdl.web@gmail.com>
2621
2622 * comint.el (comint-previous-matching-input): Do not flood the
2623 *Messages* buffer with trivial messages.
2624
17e5c0cc
SM
26252013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2626
2627 * progmodes/flymake.el (flymake-nop): Don't return a string.
2628 (flymake-set-at): Fix typo.
2629
2630 * simple.el (read--expression): New function, extracted from
2631 eval-expression. Set completion-at-point-functions (bug#14465).
2632 (eval-expression, eval-minibuffer): Use it.
2633
5d028165
XF
26342013-05-25 Xue Fuqiao <xfq.free@gmail.com>
2635
2636 * progmodes/flymake.el (flymake-save-buffer-in-file)
2637 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
2638 (flymake-selected-frame, flymake-log, flymake-ins-after)
2639 (flymake-set-at, flymake-get-buildfile-from-cache)
2640 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
2641 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
2642 Refine the doc string.
2643 (flymake-get-file-name-mode-and-masks): Reformat.
2644 (flymake-get-real-file-name-function): Fix a minor bug.
2645
7a1d7ba7
JL
26462013-05-24 Juri Linkov <juri@jurta.org>
2647
2648 * progmodes/grep.el (grep-mode-font-lock-keywords):
2649 Support =linenumber= format used by git-grep for lines with
2650 function names. (Bug#13549)
2651
650cff3d
SM
26522013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
2653
2654 * progmodes/octave.el (octave-smie-rules): Return nil rather than
2655 0 after a semi-colon; it works better for smie-auto-fill.
2656 (octave--indent-new-comment-line): New function.
2657 (octave-indent-new-comment-line): Use it (indirectly).
2658 (octave-mode): Don't disable smie-auto-fill. Use add-function to
2659 modify comment-line-break-function.
2660
2661 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
2662 (smie-setup): Use add-function to set it.
2663
9631677d
SS
26642013-05-24 Sam Steingold <sds@gnu.org>
2665
2666 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
2667 argument (before the `interactive' argument).
2668
50105835
SM
26692013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
2670
2671 * image-mode.el (image-mode-winprops): Add winprops to
2672 image-mode-winprops-alist before running
2673 image-mode-new-window-functions.
2674 * doc-view.el (doc-view-new-window-function): Don't delay
2675 doc-view-goto-page via timers (bug#14435).
2676
57b9823e
TH
26772013-05-24 Tassilo Horn <tsdh@gnu.org>
2678
2679 * doc-view.el: Integrate with desktop.el. (Bug#14435)
2680 (doc-view-desktop-save-buffer): New function.
2681 (doc-view-restore-desktop-buffer): New function.
50105835
SM
2682 (desktop-buffer-mode-handlers):
2683 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
2684 handler.
2685 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
2686 `desktop-save-buffer' function.
2687
91aafa16
MA
26882013-05-24 Michael Albinus <michael.albinus@gmx.de>
2689
2690 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
2691 (tramp-gvfs-file-name-handler): Raise a user error when
2692 `tramp-gvfs-enabled' is nil.
2693 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
2694 Do not raise a user error when loading package. (Bug#14447)
2695
ec076379
MA
2696 * net/xesam.el: Move to obsolete/.
2697
db785726
GM
26982013-05-24 Glenn Morris <rgm@gnu.org>
2699
af5c7606
GM
2700 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
2701
e5d1916a
GM
2702 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
2703
ded62b08
GM
2704 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
2705 (Info-find-node, Man-getpage-in-background): Declare.
2706
9e614a3f
GM
2707 * mail/unrmail.el (unrmail):
2708 Replace obsolete detect-coding-with-priority.
2709
892f8ca3
GM
2710 * net/socks.el (socks-split-string): Use this rather than split-string.
2711 (socks-nslookup-host): Update for above change.
2712 (dynamic-choice, s5-dynamic-choice-match)
2713 (s5-dynamic-choice-match-inline, s5-widget-value-create):
2714 Comment out unused code.
2715
3c291973
GM
2716 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
2717 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
2718 (gud-tooltip-echo-area): Make obsolete.
2719 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
2720
43cc956b
GM
2721 * progmodes/js.el (js--optimize-arglist): Declare.
2722
dab49a3b
GM
2723 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
2724
36b9d085
GM
2725 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
2726 (ediff-window-C): Declare.
2727
e354ae76
GM
2728 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
2729 Tweak requires to silence compiler.
2730
b8e57bf4
GM
2731 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
2732 (he-search-string, he-tried-table, he-expand-list)
2733 (he-init-string, he-string-member, he-substitute-string)
2734 (he-reset-string): Declare.
2735
db785726
GM
2736 * obsolete/options.el (list-options): Use custom-variable-p,
2737 rather than obsolete alias.
2738
b3531901
SS
27392013-05-23 Sam Steingold <sds@gnu.org>
2740
2741 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 2742 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
2743 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
2744
bdda4c66
SM
27452013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
2746
2747 * emacs-lisp/smie.el (smie-indent-forward-token)
2748 (smie-indent-backward-token): Handle string tokens (bug#14381).
2749
c43d45f9
TH
27502013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2751
fe1eb856
RS
2752 * ielm.el (ielm-menu): New menu.
2753 (inferior-emacs-lisp-mode): Set comment-start.
96172128 2754
fe1eb856
RS
27552013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2756
2757 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
2758 Fix deactivate action.
2759
2760 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
2761 Add cleveref macros.
074dd971 2762
c43d45f9
TH
2763 * lisp/textmodes/reftex-parse.el
2764 (reftex-locate-bibliography-files): Accept options for
2765 bibliography commands.
2766 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
2767 Add addbibresource. Basic Biblatex support.
2768
7764286e
MA
27692013-05-23 Michael Albinus <michael.albinus@gmx.de>
2770
2771 * net/tramp-gvfs.el (top):
2772 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
2773 when loading package. (Bug#14447)
2774
d361bc10
GM
27752013-05-23 Glenn Morris <rgm@gnu.org>
2776
8fa23984
GM
2777 * progmodes/js.el: No need to load comint when compiling.
2778 (ring-insert, comint-send-string, comint-send-input)
2779 (comint-last-input-end, ido-chop): Declare.
2780
a5c7df1a
GM
2781 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
2782 * vc/ediff-mult.el: Adjust requires.
2783 (ediff-directories-internal, ediff-directory-revisions-internal)
2784 (ediff-patch-file-internal): Declare.
2785 * vc/ediff-ptch.el: Adjust requires.
2786 (ediff-use-last-dir, ediff-buffers-internal): Declare.
2787 (ediff-find-file): Autoload.
2788 * vc/ediff-util.el: No need to load ediff when compiling.
2789 (ediff-regions-internal): Declare.
2790 * vc/ediff-wind.el: Adjust requires.
2791 (ediff-compute-toolbar-width): Define when compiling.
2792 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
2793 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
2794 (dired-get-filename, dired-get-marked-files)
2795 (ediff-last-dir-patch, ediff-patch-default-directory)
2796 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
2797 (ediff-patch-buffer-internal): Declare.
2798
e2aec513
GM
2799 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
2800 (ispell-process, ispell-buffer-local-words, lm-summary)
2801 (lm-section-start, lm-section-end): Declare.
2802 (checkdoc-ispell-init): Simplify.
2803
e68bbd7c
GM
2804 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
2805 (he-string-member, he-reset-string, he-substitute-string): Declare.
2806
7efe0991
GM
2807 * eshell/em-ls.el: Adjust requires.
2808 (eshell-glob-regexp): Declare.
f87b1284
GM
2809 * eshell/em-tramp.el: Adjust requires.
2810 (eshell-parse-command): Autoload.
2811 * eshell/em-xtra.el: Adjust requires.
2812 (eshell-parse-command): Autoload.
2813 * eshell/esh-ext.el: Adjust requires.
2814 (eshell-parse-command, eshell-close-handles): Autoload.
2815 * eshell/esh-io.el: Adjust requires.
2816 (eshell-output-filter): Autoload.
2817 * eshell/esh-util.el: No need to load tramp when compiling.
2818 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
2819 Declare.
2820 (eshell-parse-ange-ls): Require ange-ftp and tramp.
2821 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2822 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
2823 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
2824 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
2825 * eshell/esh-opt.el, eshell/esh-proc.el:
2826 * eshell/esh-var.el: Adjust requires.
2827 * eshell/eshell.el: Do not require esh-util twice.
2828 (eshell-add-input-to-history): Declare.
2829 (eshell-command): Check history module is active before using it.
2830
d361bc10
GM
2831 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
2832
85d090a9
LL
28332013-05-22 Leo Liu <sdl.web@gmail.com>
2834
2835 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
2836
5d0acd9d
MA
28372013-05-22 Michael Albinus <michael.albinus@gmx.de>
2838
2839 * autorevert.el (auto-revert-notify-add-watch)
2840 (auto-revert-notify-handler): Add `attrib' for the inotify case,
2841 it indicates changes in file modification time.
2842
0cdffd7d
GM
28432013-05-22 Glenn Morris <rgm@gnu.org>
2844
ca5995ec
GM
2845 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
2846 Always delete the autoloaded function from the noruntime and
2847 unresolved functions lists.
2848
6450907e
GM
2849 * allout.el: No need to load epa, epg, overlay when compiling.
2850 (epg-context-set-passphrase-callback, epg-list-keys)
2851 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
2852 (epg-key-user-id-list): Declare.
2853
9c6906f6
GM
2854 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
2855 (viper-set-parsing-style-toggling-macro)
2856 (viper-set-emacs-state-searchstyle-macros):
2857 Use called-interactively-p on Emacs.
2858 (viper-looking-back): Make it an obsolete alias. Update callers.
2859 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
2860 Use looking-back rather than viper-looking-back.
2861 (viper-tmp-insert-at-eob, viper-enlarge-region)
2862 (viper-read-string-with-history, viper-register-to-point)
2863 (viper-append-to-register, viper-change-state-to-vi)
2864 (viper-backward-char-carefully, viper-forward-char-carefully)
2865 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
2866 (viper-change-state-to-emacs): Declare.
2867 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
2868 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
2869 * emulation/viper-mous.el: Do not load viper-cmd.
2870 (viper-backward-char-carefully, viper-forward-char-carefully)
2871 (viper-forward-word, viper-adjust-window): Declare.
2872
5f70c169
GM
2873 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
2874
b1b7f300
GM
2875 * progmodes/idlw-help.el (idlwave-help-fontify):
2876 Use called-interactively-p.
2877
f6ebbb46
GM
2878 * term/w32console.el (w32-get-console-codepage)
2879 (w32-get-console-output-codepage): Declare.
2880
0cdffd7d
GM
2881 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
2882 Remove unnecessary declarations.
2883 (dframe-message): Doc fix.
2884
2885 * info.el (dframe-select-attached-frame, dframe-current-frame):
2886 Declare.
2887
2888 * speedbar.el (speedbar-message): Make it an obsolete alias.
2889 Update all callers.
2890 (speedbar-with-attached-buffer)
2891 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
2892 (speedbar-with-writable): Use backquote.
2893 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
2894 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2895 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
2896 rather than speedbar- aliases.
2897 * mail/rmail.el: Load dframe rather than speedbar when compiling.
2898 (speedbar-make-specialized-keymap, speedbar-insert-button)
2899 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
2900 (speedbar-do-function-pointer): Declare.
2901 (rmail-speedbar-button, rmail-speedbar-find-file)
2902 (rmail-speedbar-move-message):
2903 Use dframe-with-attached-buffer rather than speedbar- alias.
2904 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
2905 (dframe-message, speedbar-make-specialized-keymap)
2906 (speedbar-add-expansion-list, speedbar-mode-functions-list)
2907 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
2908 (speedbar-insert-button, dframe-select-attached-frame)
2909 (dframe-maybee-jump-to-attached-frame)
2910 (speedbar-change-initial-expansion-list)
2911 (speedbar-previously-used-expansion-list-name): Declare.
2912 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
2913 Use dframe-message, dframe-with-attached-buffer rather than
2914 speedbar- aliases.
2915 (gud-sentinel): Silence compiler.
2916 * progmodes/vhdl-mode.el (speedbar-refresh)
2917 (speedbar-do-function-pointer, speedbar-add-supported-extension)
2918 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
2919 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
2920 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
2921 (speedbar-file-lists, speedbar-make-tag-line)
2922 (speedbar-line-directory, speedbar-goto-this-file)
2923 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
2924 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
2925 (speedbar-make-button, speedbar-reset-scanners)
2926 (speedbar-files-item-info, speedbar-line-text)
2927 (speedbar-find-file-in-frame, speedbar-set-timer)
2928 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
2929 (speedbar-with-writable): Do not (re)define it.
2930 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
2931 rather than speedbar- alias.
2932
ee44b62a
LL
29332013-05-21 Leo Liu <sdl.web@gmail.com>
2934
2935 * progmodes/octave.el (octave-mode-menu): Update and re-organize
2936 menu items.
2937 (octave-mode): Tweak fill-nobreak-predicate.
2938 (inferior-octave-startup): Check process to avoid infinite loop.
2939 (inferior-octave): Pop to buffer first to show abornmal process
2940 exit information.
2941
640f050f
GM
29422013-05-21 Glenn Morris <rgm@gnu.org>
2943
79458038
GM
2944 * printing.el (pr-menu-bar): Define when compiling.
2945
9cc3e83f
LL
29462013-05-21 Leo Liu <sdl.web@gmail.com>
2947
2948 * progmodes/octave.el (octave-auto-fill): Remove.
2949 (octave-indent-new-comment-line): Improve.
2950 (octave-mode): Use auto fill mode through
4f405069 2951 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 2952 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 2953 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
2954 (octave-help): Show parent directory.
2955
f440830d
GM
29562013-05-21 Glenn Morris <rgm@gnu.org>
2957
2958 * files.el (dired-unmark):
2959 * progmodes/gud.el (gdb-input): Update declarations.
2960
2961 * calculator.el (electric, ehelp): No need to load when compiling.
2962 (Electric-command-loop, electric-describe-mode): Declare.
2963
2964 * doc-view.el (doc-view-current-converter-processes): Move before use.
2965
2966 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2967 Move MODE-set-explicitly definition before use.
2968
2969 * international/mule-diag.el (mule-diag):
2970 Don't use obsolete window-system-version.
2971
2972 * mail/feedmail.el (smtpmail): No need to load when compiling.
2973 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
2974
2975 * mail/mail-utils.el (rfc822): No need to load when compiling.
2976 (rfc822-addresses): Autoload it.
2977 (mail-strip-quoted-names): Trivial simplification.
2978
2979 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
2980 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
2981
2982 * net/snmp-mode.el (tempo): Don't duplicate requires.
2983
2984 * progmodes/prolog.el (info): No need to load when compiling.
2985 (comint): Require before shell requires it.
2986 (Info-goto-node): Autoload it.
2987 (Info-follow-nearest-node): Declare.
2988 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
2989
2990 * textmodes/artist.el (picture-mode-exit): Declare.
2991
2992 * textmodes/reftex-parse.el (reftex-parse-from-file):
2993 Trivial rewrite so the compiler can parse it better.
2994
b4da2cbb
LL
29952013-05-20 Leo Liu <sdl.web@gmail.com>
2996
2997 * progmodes/octave.el (octave-help-mode-map)
2998 (octave-help-mode-finish-hook): New variables.
2999 (octave-help-mode, octave-help-mode-finish): New functions.
3000 (octave-help): Use octave-help-mode.
3001
33c0f65b
GM
30022013-05-20 Glenn Morris <rgm@gnu.org>
3003
3004 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
3005
1a0a0a8a
DG
30062013-05-19 Dmitry Gutov <dgutov@yandex.ru>
3007
3008 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
3009 start at point, so that expansion starting right after opening
3010 slash in a regexp is recognized.
3011 (ruby-syntax-before-regexp-re): New defvar, extracted from
3012 ruby-syntax-propertize-function. Since the value of this regexp
3013 is looked up at runtime now, we should be able to turn
3014 `ruby-syntax-methods-before-regexp' into a defcustom later.
3015 (ruby-syntax-propertize-function): Split regexp matching into two
3016 parts, for opening and closing slashes. That allows us to skip
3017 over string interpolations and support multiline regexps.
3018 Don't call `ruby-syntax-propertize-expansions', instead use another rule
3019 for them, which calls `ruby-syntax-propertize-expansion'.
3020 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
3021 call to `ruby-syntax-propertize-function'.
3022 (ruby-syntax-propertize-expansion): Extracted from
3023 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
3024 (ruby-syntax-propertize-percent-literal): Leave point right after
3025 the percent symbol, so that the expression expansion rule can
3026 propertize the contents.
462388b6
DG
3027 (ruby-syntax-propertize-heredoc): Leave point at bol following the
3028 heredoc openers.
3029 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 3030
c1a6c0a4
JL
30312013-05-18 Juri Linkov <juri@jurta.org>
3032
3033 * man.el (Man-default-man-entry): Remove `-' from the end
3034 of the default value. (Bug#14400)
3035
8051fccd
GM
30362013-05-18 Glenn Morris <rgm@gnu.org>
3037
3038 * comint.el (comint-password-prompt-regexp):
3039 Allow "password for XXX" where XXX contains colons (eg https://...).
3040
5e80b74f
LL
30412013-05-18 Leo Liu <sdl.web@gmail.com>
3042
3043 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 3044 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
3045 (octave-source-directories): Don't check process.
3046 (octave-source-directories, octave-find-definition): Doc fix.
3047
521a54c5
GM
30482013-05-18 Glenn Morris <rgm@gnu.org>
3049
86a94b05
GM
3050 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
3051 Remove backspace/delete bindings. (Bug#14392)
3052
521a54c5
GM
3053 * cus-dep.el (custom-make-dependencies): Sort the output.
3054 (custom-versions-load-alist): Convert comment to doc.
3055
42caeb89
LL
30562013-05-17 Leo Liu <sdl.web@gmail.com>
3057
3058 * newcomment.el (comment-search-backward): Stricter in finding
3059 comment start. (Bug#14303)
3060
3061 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
3062 (octave-comment-start-skip): Properly anchored.
3063
e219dd97
LL
30642013-05-17 Leo Liu <sdl.web@gmail.com>
3065
fe1eb856
RS
3066 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
3067 Clean up when turned off. (Bug#14395)
e219dd97
LL
3068 (smie--highlight-matching-block-overlay): No longer buffer-local.
3069 (smie-highlight-matching-block): Adjust.
3070
dc5dcb4b
PE
30712013-05-17 Paul Eggert <eggert@cs.ucla.edu>
3072
3073 Doc string fix for "nanoseconds" (Bug#14406).
3074 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
3075 Fix doc string typo that had "nanoseconds" instead of "microseconds".
3076
1db165f0
JB
30772013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
3078
3079 * calc/calc-units.el (math-extract-units): Preserve powers
3080 of units.
3081
c7a8fcac
LL
30822013-05-17 Leo Liu <sdl.web@gmail.com>
3083
3084 * subr.el (delete-consecutive-dups): New function.
3085 * ido.el (ido-set-matches-1): Use it.
3086 * progmodes/octave.el (inferior-octave-completion-table): Use it.
3087 * ido.el (ido-remove-consecutive-dups): Remove.
3088
f678b18a
SM
30892013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3090
3091 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
3092 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
3093 regexp-opt's `words'.
3094
ebfe68e8
LL
30952013-05-16 Leo Liu <sdl.web@gmail.com>
3096
3097 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
3098 (smie--highlight-matching-block-overlay)
3099 (smie--highlight-matching-block-lastpos)
3100 (smie--highlight-matching-block-timer): New variables.
3101 (smie-highlight-matching-block): New function.
3102 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
3103 (smie-setup): Conditionally enable smie-blink-matching-open.
3104
bc8bc17d
WS
31052013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
3106
3107 Sync with upstream verilog-mode r840.
3108 * progmodes/verilog-mode.el (verilog-mode-version)
3109 (verilog-mode-release-date): Update.
3110 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
3111 (verilog-sig-tieoff): Fix string error on
3112 AUTORESET with colon define, bug594. Reported by Andrew Hou.
3113 (verilog-read-decls): Fix parameters confusing
3114 AUTOINST interfaces, bug565. Reported by Leith Johnson.
3115
df065a0b
EZ
31162013-05-16 Eli Zaretskii <eliz@gnu.org>
3117
3118 * subr.el (reveal-filename): New function.
3119
3120 * loadup.el: Compute Emacs executable versions on MS-Windows,
3121 where executables have the .exe extension. Add a hard link
3122 emacs-XX.YY.ZZ.exe on MS-Windows.
3123
3124 * Makefile.in (XARGS_LIMIT): New variable.
3125 (custom-deps, finder-data, autoloads)
3126 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3127 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3128 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
3129 (compile-main): Limit xargs according to $(XARGS_LIMIT).
3130
2d4bf34b
LL
31312013-05-16 Leo Liu <sdl.web@gmail.com>
3132
3133 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
3134 (octave-mode-menu, octave-mode-map): Remove its uses.
3135
6b9c2d85
RZ
31362013-05-16 Reto Zimmermann <reto@gnu.org>
3137
3138 Sync with upstream vhdl mode v3.34.2.
3139 * progmodes/vhdl-mode.el: Use `push' throughout.
3140 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
3141 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
3142 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
3143 (vhdl-actual-generic-name): New option to derive actual generic name.
3144 (vhdl-port-paste-signals): Replace formal by actual generics.
3145 (vhdl-beautify): New name for old group vhdl-align. Update users.
3146 (vhdl-beautify-options): New option.
3147 (vhdl-last-input-event): New compat alias. Use throughout.
3148 (vhdl-goto-line): Replace user level function `goto-line'.
3149 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
3150 vhdl-fix-statement-buffer.
3151 (vhdl-create-mode-menu): Add some entries.
3152 (vhdl-align-region-groups): Respect vhdl-beautify-options.
3153 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
3154 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
3155 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
3156 to force statements on one line.
3157 (vhdl-remove-trailing-spaces-region):
3158 New, split from vhdl-remove-trailing-spaces.
3159 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
3160 Respect vhdl-beautify-options.
3161 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
3162 (vhdl-update-sensitivity-list): Not add with index if exists without.
3163 Not include array index with signal. Ignore keywords in comments.
3164 (vhdl-get-visible-signals): Regexp tweaks.
3165 (vhdl-template-component-inst): Handle empty library.
3166 (vhdl-template-type): Add template for 'enum' type.
3167 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
3168 Use vhdl-replace-string.
3169 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
3170 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
3171 (vhdl-speedbar-initialize): Update for above name change.
3172 (vhdl-compose-wire-components): Fix in handling of constants.
3173 (vhdl-error-regexp-emacs-alist): New variable.
3174 (vhdl-error-regexp-add-emacs): New function;
3175 adds support for new compile.el (Emacs 22+)
3176 (vhdl-generate-makefile-1): Change target order for single lib. units.
3177 Allow use of absolute file names.
3178
9df4ec5e
LL
31792013-05-16 Leo Liu <sdl.web@gmail.com>
3180
3181 * simple.el (prog-indent-sexp): Indent enclosing defun.
3182
f5ba00a6
GM
31832013-05-15 Glenn Morris <rgm@gnu.org>
3184
ed8be7ff
GM
3185 * cus-start.el (show-trailing-whitespace): Move to editing basics.
3186 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
3187 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
3188 (whitespace-highlight): Move to whitespace group.
3189
3190 * comint.el (comint-source):
3191 * pcmpl-linux.el (pcmpl-linux):
3192 * shell.el (shell-faces):
3193 * eshell/esh-opt.el (eshell-opt):
3194 * international/ccl.el (ccl): Remove empty custom groups.
3195
3196 * completion.el (dynamic-completion-mode):
3197 * jit-lock.el (jit-lock-debug-mode):
3198 * minibuffer.el (completion-in-region-mode):
3199 * type-break.el (type-break-mode-line-message-mode)
3200 (type-break-query-mode):
3201 * emulation/tpu-edt.el (tpu-edt-mode):
3202 * progmodes/subword.el (global-subword-mode, global-superword-mode):
3203 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3204 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
3205
3206 * term/xterm.el (xterm): Change parent group to terminals.
3207
3208 * master.el (master): Remove empty custom group.
3209 (master-mode): Remove unused :group argument.
3210 * textmodes/refill.el (refill): Remove empty custom group.
3211 (refill-mode): Remove unused :group argument.
3212
3213 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
3214
82a7c41b
GM
3215 * cus-dep.el: Provide a feature.
3216 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
3217 Don't mistakenly ignore files whose basenames match a basename
3218 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 3219 Add a fallback method for getting :group.
f5ba00a6 3220
6d65486d
JL
32212013-05-15 Juri Linkov <juri@jurta.org>
3222
da547b32
JL
3223 * isearch.el (isearch-char-by-name): Rename from
3224 `isearch-insert-char-by-name'. Doc fix.
3225 (isearch-forward): Mention `isearch-char-by-name' in
3226 the docstring. (Bug#13348)
3227
6d65486d
JL
3228 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
3229 `exit-minibuffer' instead of
3230 `isearch-nonincremental-exit-minibuffer'.
3231 (isearch-edit-string): Remove mention of
3232 `isearch-nonincremental-exit-minibuffer' from docstring.
3233 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
3234 (isearch-forward-exit-minibuffer)
3235 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
3236
c9990474
SM
32372013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3238
6e911150
SM
3239 * loadup.el: Just use unversioned DOC.
3240
c9990474
SM
3241 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
3242 literals as extending to EOB.
3243 (nxml-last-fontify-end): Remove unused variable.
3244 (nxml-after-change1): Use with-silent-modifications.
3245 (nxml-extend-after-change-region): Simplify.
3246 (nxml-extend-after-change-region1): Remove function.
3247 (nxml-after-change1): Don't adjust for dependent regions.
3248 (nxml-fontify-matcher): Simplify.
3249 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
3250 (xmltok-add-dependent): Remove function.
3251 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
3252 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
3253 (xmltok-scan-prolog-after-processing-instruction-open): Treat
3254 unclosed <[[, <?, comment, and other literals as extending to EOB.
3255 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
3256 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
3257 Remove functions.
3258 (rng-do-some-validation-1): Don't mark dependent regions.
3259 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
3260 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
3261 (nxml-clear-dependent-regions): Remove functions.
3262 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
3263 (nxml-ensure-scan-up-to-date):
3264 Don't clear&mark dependent regions.
3265
e3772e98
LL
32662013-05-15 Leo Liu <sdl.web@gmail.com>
3267
c9990474
SM
3268 * progmodes/octave.el (octave-goto-function-definition):
3269 Improve and fix callers.
e3772e98 3270
5ac2eb34
SM
32712013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3272
c46c57b0
SM
3273 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
3274 the setter (bug#14387).
3275
5ac2eb34
SM
3276 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
3277 surrounding group (bug#14402).
3278
180ed218
JL
32792013-05-14 Juri Linkov <juri@jurta.org>
3280
3281 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
3282 (Bug#14390)
3283
0ac0fecb
GM
32842013-05-14 Glenn Morris <rgm@gnu.org>
3285
3286 * progmodes/f90.el (f90-imenu-generic-expression):
3287 Fix typo in 2013-05-08 change. (Bug#14402)
3288
2e78e6a7
JPG
32892013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
3290
5ac2eb34
SM
3291 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
3292 Remove signals for which replies are never received.
2e78e6a7 3293
53267cca
JPG
32942013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
3295
3296 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
3297 (gdb-handler-alist, gdb-handler-number): Remove variables.
3298 (gdb-handler-list): New variable.
3299 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
3300 (gdb-pending-handler-p, gdb-handle-reply)
3301 (gdb-remove-all-pending-triggers): New functions.
3302 (gdb-discard-unordered-replies): New defcustom.
3303 (gdb-handler): New defstruct.
3304 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
3305 instead of gdb-pending-triggers. Update docstring.
3306 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
3307 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
3308 (gdb-var-update-handler, def-gdb-auto-update-trigger)
3309 (def-gdb-auto-update-handler, gdb-get-changed-registers)
3310 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
3311 (gdb-frame-handler): Pending triggers are now automatically managed.
3312 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
3313 Remove argument.
3314 (gdb-input): Automatically handles pending triggers. Update docstring.
3315 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
3316 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
3317 Update comments.
3318 (gdb-done-or-error): Now use gdb-handle-reply.
3319
d04ce803
JPG
33202013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
3321
3322 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
3323 gdb-debug-log.
3324
0114073a
GM
33252013-05-14 Glenn Morris <rgm@gnu.org>
3326
3327 * subr.el (user-emacs-directory-warning): New option.
3328 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
3329
4d25fd7e
LL
33302013-05-14 Leo Liu <sdl.web@gmail.com>
3331
3332 * progmodes/octave.el (octave-font-lock-keywords): Fix error
3333 during redisplay.
3334 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
3335 (octave-font-lock-texinfo-comment): Fix invalid search bound
3336 error: wrong side of point.
4d25fd7e 3337
27c8b6eb
GM
33382013-05-14 Glenn Morris <rgm@gnu.org>
3339
61aaeb01
GM
3340 * progmodes/flymake.el (flymake-xml-program): New option.
3341 (flymake-xml-init): Use it.
3342
5bf90bc5
GM
3343 * term/xterm.el: Provide a feature.
3344
3345 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 3346
f4c7dfd2
GM
33472013-05-13 Glenn Morris <rgm@gnu.org>
3348
3349 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
3350 Add compat aliases as a hack workaround. (Bug#14384)
3351
2aeb3a1d
LL
33522013-05-13 Leo Liu <sdl.web@gmail.com>
3353
b0e069c2
LL
3354 * progmodes/octave.el (octave-indent-comment): Fix indentation for
3355 ###, and %!.
f5a9432f
LL
3356 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
3357 C-M-q.
b0e069c2
LL
3358 (octave-comment-start-skip): Include %!.
3359 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 3360
30ea8374
LL
33612013-05-12 Leo Liu <sdl.web@gmail.com>
3362
3363 * progmodes/octave.el (inferior-octave-startup): Store the value
3364 of __octave_srcdir__ for octave-source-directories.
3365 (inferior-octave-check-process): New function refactored out of
3366 inferior-octave-send-list-and-digest.
3367 (octave-source-directories)
3368 (octave-find-definition-filename-function): New variables.
3369 (octave-source-directories)
3370 (octave-find-definition-default-filename): New functions.
3371 (octave-find-definition): Improve to find functions implemented in C++.
3372
472a3834
GM
33732013-05-12 Glenn Morris <rgm@gnu.org>
3374
3375 * calendar/diary-lib.el (diary-outlook-format-1):
3376 Don't include dayname in the output. (Bug#14349)
3377
3191b52f
GM
33782013-05-11 Glenn Morris <rgm@gnu.org>
3379
0060ac73
GM
3380 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
3381
3191b52f
GM
3382 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
3383 Treat cc-provide like provide.
3384
e065ba74
KR
33852013-05-11 Kevin Ryde <user42@zip.com.au>
3386
3387 * cus-dep.el (custom-make-dependencies):
3388 Use generated-autoload-load-name for the sake of files such
3389 such cedet/semantic/bovine/c.el, where the base file name
3390 is not in load-path. (Bug#5277)
3391
36f84c37
GM
33922013-05-11 Glenn Morris <rgm@gnu.org>
3393
3394 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
3395 Provide features.
3396
c8730c3a
LL
33972013-05-11 Leo Liu <sdl.web@gmail.com>
3398
3399 * progmodes/octave.el (octave-indent-comment): Improve.
3400 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
3401 (octave-eldoc-function-signatures, octave-eldoc-function):
3402 New functions.
c8730c3a
LL
3403 (octave-mode, inferior-octave-mode): Add eldoc support.
3404
212e29f2
RS
34052013-05-11 Richard Stallman <rms@gnu.org>
3406
3407 * epa.el (epa-decrypt-file): Take output file name as argument
3408 and read it using `interactive'.
3409
083fe0d7
LL
34102013-05-11 Leo Liu <sdl.web@gmail.com>
3411
3412 * progmodes/octave.el (octave-beginning-of-line)
3413 (octave-end-of-line): Check before using up-list because it jumps
3414 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
3415 (octave-indent-comment): New function.
3416 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
3417 (octave-begin-keywords, octave-end-keywords)
3418 (octave-reserved-words, octave-smie-bnf-table)
3419 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 3420
8582e4c4
GM
34212013-05-11 Glenn Morris <rgm@gnu.org>
3422
f20def1f
GM
3423 * faces.el (internal-face-x-get-resource):
3424 * frame.el (ns-display-monitor-attributes-list):
d78abe37 3425 * calc/calc-aent.el (math-to-radians-2):
f20def1f 3426 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 3427 Fix declarations.
f20def1f 3428
445f95e2
GM
3429 * calc/calc-menu.el: Make it loadable in isolation.
3430
3431 * net/eudcb-bbdb.el: Make it loadable without bbdb.
3432 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
3433 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
3434 (eudc-bbdb-query-internal): Require 'bbdb.
3435
99fb2756
GM
3436 * lpr.el (lpr-headers-switches):
3437 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
3438
3439 * progmodes/sql.el (sql-login-params): Fix and improve :type.
3440
0da7ad96
GM
3441 * emulation/edt-mapper.el: In batch mode, error rather than hang.
3442
8582e4c4
GM
3443 * term.el (term-set-escape-char): Make it idempotent.
3444
f71c50d0
LL
34452013-05-10 Leo Liu <sdl.web@gmail.com>
3446
5ac2eb34
SM
3447 * progmodes/octave.el (inferior-octave-completion-table):
3448 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
3449 completion due to bug#11906.
3450 (octave-beginning-of-defun): Re-write to be more general.
3451
d5837773
GM
34522013-05-10 Glenn Morris <rgm@gnu.org>
3453
3454 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
3455
027c0f75
SM
34562013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3457
3458 * comint.el (comint-redirect-send-command-to-process): Use :around
3459 rather than :override for comint-redirect-filter.
3460 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
3461 Call it instead of comint-redirect-original-filter-function (which
3462 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
3463
4465bfb4
JD
34642013-05-09 Jan Djärv <jan.h.d@swipnet.se>
3465
3466 * frame.el (display-monitor-attributes-list): Add NS case.
3467 (ns-display-monitor-attributes-list): Declare.
3468
2d809ffa 34692013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
3470
3471 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
3472
e54eeb9b
GM
34732013-05-09 Glenn Morris <rgm@gnu.org>
3474
56cd351d
GM
3475 * international/fontset.el (vertical-centering-font-regexp):
3476 Set standard-value.
3477
d84b6108
GM
3478 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
3479
a931698a
GM
3480 * bookmark.el (bookmark-search-delay):
3481 * cus-start.el (vertical-centering-font-regexp):
3482 * ps-mule.el (ps-mule-font-info-database-default):
3483 * ps-print.el (ps-default-fg, ps-default-bg):
3484 * type-break.el (type-break-good-break-interval):
3485 * whitespace.el (whitespace-indentation-regexp)
3486 (whitespace-space-after-tab-regexp):
3487 * emacs-lisp/testcover.el (testcover-1value-functions)
3488 (testcover-noreturn-functions, testcover-progn-functions)
3489 (testcover-prog1-functions):
3490 * emulation/viper-init.el (viper-emacs-state-cursor-color):
3491 * eshell/em-glob.el (eshell-glob-translate-alist):
3492 * play/tetris.el (tetris-tty-colors):
3493 * progmodes/cpp.el (cpp-face-default-list):
3494 * progmodes/flymake.el (flymake-allowed-file-name-masks):
3495 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
3496 (idlwave-help-browser-generic-args):
3497 * progmodes/make-mode.el (makefile-special-targets-list):
3498 * progmodes/python.el (python-shell-virtualenv-path):
3499 * progmodes/verilog-mode.el (verilog-active-low-regexp)
3500 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
3501 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
3502 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
3503 * textmodes/reftex-vars.el (reftex-format-label-function):
3504 * textmodes/remember.el (remember-diary-file): Fix custom types.
3505
e54eeb9b
GM
3506 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
3507 Add :version.
3508
455851dd
LL
35092013-05-09 Leo Liu <sdl.web@gmail.com>
3510
3511 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 3512 Restore file completion. (Bug#14300)
455851dd
LL
3513 (inferior-octave-startup): Fix incorrect highlighting for the
3514 first prompt.
3515
a9e4425b
SM
35162013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3517
3518 * progmodes/ruby-mode.el: First cut at SMIE support.
3519 (ruby-use-smie): New var.
3520 (ruby-smie-grammar): New constant.
3521 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
3522 (ruby-smie--forward-token, ruby-smie--backward-token)
3523 (ruby-smie-rules): New functions.
3524 (ruby-mode-variables): Setup SMIE if applicable.
3525
060ca408
EZ
35262013-05-08 Eli Zaretskii <eliz@gnu.org>
3527
3528 * simple.el (line-move-visual): Signal beginning/end of buffer
3529 only if vertical-motion moved less than it was requested. Avoids
3530 silly incorrect error messages when there are display strings with
3531 multiple newlines at EOL.
3532
1d5963cc
SM
35332013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3534
3535 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
3536 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
3537 (prolog-char-quote-workaround):
3538 * progmodes/cperl-mode.el (cperl-under-as-char):
3539 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
3540 Mark as obsolete.
3541 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
3542 their declaration.
3543 (vhdl-mode-syntax-table-init): Remove.
3544
c9990474
SM
3545 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
3546 last change.
1d5963cc
SM
3547
3548 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
3549 syntax for "_".
3550 (ld-script-font-lock-keywords):
3551 Change regexps to use things like \_< and \_>.
3552
3553 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
3554 Change all regexps to use things like \_< and \_>.
3555
3556 * progmodes/autoconf.el (autoconf-definition-regexp)
3557 (autoconf-font-lock-keywords, autoconf-current-defun-function):
3558 Handle a _ with symbol syntax.
3559 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
3560
c9990474
SM
3561 * progmodes/ada-mode.el (ada-mode-abbrev-table):
3562 Consolidate declaration.
1d5963cc
SM
3563 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
3564 the declaration.
3565 (ada-create-syntax-table): Remove.
3566 (ada-capitalize-word): Don't mess with the syntax of "_" since it
3567 already has the right syntax nowadays.
3568 (ada-goto-next-word): Don't change the syntax of "_".
3569
3570 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
3571 with-wrapper-hook.
3572
72d3cfca
SS
35732013-05-08 Sam Steingold <sds@gnu.org>
3574
3575 * thingatpt.el (thing-at-point): Accept optional second argument
3576 NO-PROPERTIES to strip the text properties from the return value.
3577 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
3578 to `thing-at-point' instead of stripping the properties ourselves.
3579 Also, when `thing-at-point' fails to find a url, prepend "http://"
3580 to the filename at point on the assumption that the user is
3581 pointing at something like gnu.org/gnu.
3582
5cb15713
JB
35832013-05-08 Juanma Barranquero <lekktu@gmail.com>
3584
3585 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
3586 * faces.el (crm-separator):
3587 Silence byte-compiler.
3588
3589 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
3590 (tool-bar-map): Remove unneeded defvars.
3591
ea78b95b
LL
35922013-05-08 Leo Liu <sdl.web@gmail.com>
3593
3594 Re-work a fix for bug#10994 based on Le Wang's patch.
3595 * ido.el (ido-remove-consecutive-dups): New helper.
3596 (ido-completing-read): Use it.
3597 (ido-chop): Revert fix for bug#10994.
3598
dc7466df
AS
35992013-05-08 Adam Spiers <emacs@adamspiers.org>
3600
3601 * cus-edit.el (custom-save-variables):
3602 Pretty-print long values. (Bug#14187)
3603
9ecf672a
GM
36042013-05-08 Glenn Morris <rgm@gnu.org>
3605
3606 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
3607 (m4-mode-syntax-table): Init in the defvar.
3608 (m4-mode-abbrev-table): Let define-derived-mode define it.
3609
3f555be8
TT
36102013-05-08 Tom Tromey <tromey@redhat.com>
3611
3612 * progmodes/m4-mode.el (m4-mode-syntax-table):
3613 Do not treat "_" as word constituent. (Bug#14167)
3614
7cc8ae06
GM
36152013-05-07 Glenn Morris <rgm@gnu.org>
3616
4f58bc06
GM
3617 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
3618 Remove explicit eshell-isearch-cancel-map.
3619
7cc8ae06
GM
3620 * progmodes/f90.el (f90-smart-end-names): New option.
3621 (f90-smart-end): Doc fix.
3622 (f90-end-block-optional-name): New constant.
3623 (f90-block-match): Respect f90-smart-end-names.
3624
ceb57e59
SM
36252013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3626
3627 * progmodes/octave.el (octave-smie-forward-token): Be more careful
3628 about implicit semi-colons (bug#14218).
3629
4e3f9230
YM
36302013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3631
3632 * frame.el (display-monitor-attributes-list)
3633 (frame-monitor-attributes): New functions.
3634
203a5572
LL
36352013-05-06 Leo Liu <sdl.web@gmail.com>
3636
3637 * progmodes/octave.el (octave-syntax-propertize-function): Change
3638 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
3639 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 3640 (octave-completion-at-point): Rename from
203a5572
LL
3641 octave-completion-at-point-function.
3642 (inferior-octave-directory-tracker): Robustify.
3643 (octave-text-functions): Remove and fix its uses. No such things
3644 any more.
3645
ee6cff99
SM
36462013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
3647
3648 * emacs-lisp/trace.el (trace--display-buffer): New function.
3649 (trace-make-advice): Use it.
3650
32985194
JL
36512013-05-06 Juri Linkov <juri@jurta.org>
3652
3653 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
3654 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
3655 Doc fix.
3656 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
3657 in the help string. (Bug#12985)
3658
a1c700de
KD
36592013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3660
3661 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
3662
c67c0839
SM
36632013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
3664
323885fd
SM
3665 * progmodes/perl-mode.el: Add support for here documents.
3666 (perl-syntax-propertize-function): Match here-doc markers.
3667 (perl-syntax-propertize-special-constructs): Find their end.
3668 (perl-imenu-generic-expression): Use [:alnum:].
3669
c67c0839
SM
3670 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
3671 (advice--add-function): Refresh the advice if already present
3672 (bug#14317).
3673
d491e7a8
IA
36742013-05-06 Ivan Andrus <darthandrus@gmail.com>
3675
3676 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
3677
ddf9925e
GM
36782013-05-06 Glenn Morris <rgm@gnu.org>
3679
7cc3af27
GM
3680 * w32-fns.el (w32-charset-info-alist): Declare.
3681
16e343d6
GM
3682 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
3683 of its defcustom properties.
3684 (eshell-cmpl-initialize): No need to load pcomplete.
3685
7d889a47
GM
3686 * generic-x.el: No need to require comint when compiling.
3687
ddf9925e
GM
3688 * net/eudc-export.el: Make it loadable without bbdb.
3689 (top-level): Use require rather than load-library.
3690 (eudc-create-bbdb-record, eudc-bbdbify-phone)
3691 (eudc-batch-export-records-to-bbdb)
3692 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
3693 Require bbdb.
3694
1e2c18df
SM
36952013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
3696
3697 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
3698 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
3699 some tweaks, instead.
3700
02502a5f
LL
37012013-05-05 Leo Liu <sdl.web@gmail.com>
3702
3703 * progmodes/octave.el (octave-font-lock-keywords)
3704 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
3705 (inferior-octave-send-list-and-digest): Improve error message.
3706 (octave-mode, inferior-octave-mode): Use setq-local.
3707 (octave-help): Set info-lookup-mode.
3708
0dc04f42
RS
37092013-05-05 Richard Stallman <rms@gnu.org>
3710
6c54491c
RS
3711 * vc/compare-w.el (compare-windows-whitespace):
3712 Treat no-break space as whitespace.
3713
0dc04f42
RS
3714 * mail/rmailsum.el (rmail-summary-rmail-update):
3715 Detect empty summary and don't change selected message.
3716 (rmail-summary-goto-msg): Likewise.
3717
df8f35df
RS
3718 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
3719 Doc fixes, rename args.
3720
5356e1a3
AM
37212013-05-05 Alan Mackenzie <acm@muc.de>
3722
3723 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
3724
d44014cb
JL
37252013-05-05 Juri Linkov <juri@jurta.org>
3726
3727 * info.el (Info-read-subfile): Use (point-min) instead of (point)
3728 to not add the length of the summary segment to the return value.
3729 (Bug#14125)
3730
c129b51f
LL
37312013-05-05 Leo Liu <sdl.web@gmail.com>
3732
3733 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
3734 (inferior-octave-output-filter): Remove.
3735 (octave-send-region, inferior-octave-startup): Fix callers.
3736 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
3737 (octave-binary-file-extensions): New user variable.
3738 (octave-find-definition): Confirm if opening binary files.
3739 (octave-help-file): Use octave-find-definition to get the binary
3740 confirmation.
3741 (octave-help): Adjust for octave-help-file change.
3742
aa7dab97
SM
37432013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3744
3745 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
3746 Merge the two entries that handle function definitions.
3747 (pascal--syntax-propertize): New const.
3748 (pascal-mode): Use it. Use setq-local.
3749
fd3a9a6b
GM
37502013-05-04 Glenn Morris <rgm@gnu.org>
3751
3752 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
3753 (diary-from-outlook): Respect diary-from-outlook-function.
3754
30c7e542
SM
37552013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3756
3757 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
3758 Move the declaration from C.
3759 (read-minibuffer, eval-minibuffer): Move from C.
3760 (completion-setup-function): Avoid minibuffer-completion-contents.
3761
b54f978b
LL
37622013-05-03 Leo Liu <sdl.web@gmail.com>
3763
3764 * progmodes/octave.el (octave-font-lock-keywords): Do not
3765 dehighlight 'end' in comments or strings.
30c7e542
SM
3766 (octave-completing-read, octave-goto-function-definition):
3767 New helpers.
d4d0f9b3
LL
3768 (octave-help-buffer): New user variable.
3769 (octave-help-file, octave-help-function): New button types.
3770 (octave-help): New command and bind it to C-h ;.
3771 (octave-find-definition): New command and bind it to M-.
d74a1581 3772 (user-error): Alias to error if not defined.
b54f978b 3773
27135018
LL
37742013-05-02 Leo Liu <sdl.web@gmail.com>
3775
3776 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
3777 for \. (bug#14332)
3778 (octave-font-lock-keywords): Include [ and {.
3779
0d634d3a
LL
37802013-05-02 Leo Liu <sdl.web@gmail.com>
3781
3782 * progmodes/octave.el (inferior-octave-startup-file): Change default.
3783 (inferior-octave): Remove calling comint-mode and return the buffer.
3784 (inferior-octave-startup): Cosmetic changes.
3785
b4c8295e
LL
37862013-05-02 Leo Liu <sdl.web@gmail.com>
3787
30c7e542
SM
3788 * progmodes/octave.el (octave-syntax-propertize-function):
3789 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 3790
f12ad6ec
GM
37912013-05-02 Glenn Morris <rgm@gnu.org>
3792
3793 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
3794 * desktop.el (vc-dir-mode): Just autoload it here.
3795
30cac1e0
AM
37962013-05-02 Alan Mackenzie <acm@muc.de>
3797
3798 Eliminate variable c-standard-font-lock-fontify-region-function.
3799 * progmodes/cc-mode.el
3800 (c-standard-font-lock-fontify-region-function): Remove.
3801 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
3802
d8ef28b1
LL
38032013-05-01 Leo Liu <sdl.web@gmail.com>
3804
2640d52e 3805 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 3806 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 3807 variables were removed from Octave in 2007.
d8ef28b1
LL
3808 (inferior-octave-startup): Fix uses.
3809 (comint-line-beginning-position): Remove compatibility code for
3810 emacs 21.
3811
ac63ec89
JL
38122013-05-01 Juri Linkov <juri@jurta.org>
3813
3814 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
3815
9e9be37c
JL
38162013-05-01 Juri Linkov <juri@jurta.org>
3817
3818 * comint.el (comint-previous-matching-input): Don't print message
3819 "History item: %d" when `isearch-mode' is active.
3820 (comint-history-isearch-message): Print message "History item: %d"
3821 when `comint-input-ring-index' is not empty and this function is
3822 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
3823
9b92c13b
LL
38242013-05-01 Leo Liu <sdl.web@gmail.com>
3825
3826 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
3827 definitions. Use completion-at-point to insert keywords.
3828 (octave-abbrev-start): Remove.
3829 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
3830
b12d33d7
LL
38312013-04-30 Leo Liu <sdl.web@gmail.com>
3832
3833 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
3834 change.
3835
3d1c39fa
AM
38362013-04-30 Alan Mackenzie <acm@muc.de>
3837
3838 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
3839 * progmodes/cc-engine.el (c-back-over-member-initializers):
3840 new function.
3d1c39fa
AM
3841 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
3842 (most) member init lists.
3843
5147fc17
RS
38442013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3845
3846 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
3847 variable.
3848
5b78d7fc
LL
38492013-04-30 Leo Liu <sdl.web@gmail.com>
3850
3851 * progmodes/octave.el (octave-variables): Remove. No builtin
3852 variables any more. All converted to functions.
3853 (octave-font-lock-keywords, octave-completion-at-point-function):
3854 Fix uses.
3855 (octave-font-lock-texinfo-comment): New user variable.
3856 (octave-texinfo-font-lock-keywords): New variable for texinfo
3857 comment block.
3858 (octave-function-comment-block): New face.
3859 (octave-font-lock-texinfo-comment): New function.
3860 (octave-mode): Font lock texinfo comment block.
3861
38d8527b
LL
38622013-04-29 Leo Liu <sdl.web@gmail.com>
3863
3864 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
3865 indexing expression.
3866 (octave-continuation-string): Do not use \.
3867 (inferior-octave-complete-impossible): Remove.
3868 (inferior-octave-completion-table)
3869 (inferior-octave-completion-at-point): Remove its uses.
3870 (inferior-octave-startup): completion_matches was introduced to
3871 Octave in 1996 so safe to assume it.
3872 (octave-function-file-comment): Improve to follow how Octave does it.
3873 (octave-update-function-file-comment): Tweak.
3874
2ec12cb0
LL
38752013-04-29 Leo Liu <sdl.web@gmail.com>
3876
3877 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
3878 (inferior-octave-startup): Remove inferior-octave-startup-hook.
3879 (octave-function-file-comment): Fix typo.
3880 (octave-sync-function-file-names): Use read-char-choice.
3881
6eaed048
JB
38822013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
3883
3884 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
3885 to t for the less important warnings.
3886
3ffa2d4f
DH
38872013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
3888
3889 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
3890
685c9501
GM
38912013-04-27 Glenn Morris <rgm@gnu.org>
3892
3893 * vc/log-view.el (log-view-current-entry):
3894 Treat "---" separator lines as part of the following rev. (Bug#14169)
3895
0208ede7
JL
38962013-04-27 Juri Linkov <juri@jurta.org>
3897
3898 * subr.el (read-number): Doc fix about using it by interactive
3899 code letter `n'. (Bug#14254)
3900
5db9dace
JL
39012013-04-27 Juri Linkov <juri@jurta.org>
3902
3903 * desktop.el (desktop-auto-save-timeout): New option.
3904 (desktop-file-checksum): New variable.
3905 (desktop-save): Add optional arg `auto-save' and don't auto-save
3906 if nothing changed.
3907 (desktop-auto-save-timer): New variable.
3908 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
3909 (after-init-hook): Call `desktop-auto-save-set-timer'.
3910 Suggested by Reuben Thomas <rrt@sc3d.org> in
3911 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
3912
b7260dd4
LL
39132013-04-27 Leo Liu <sdl.web@gmail.com>
3914
3915 * progmodes/octave.el (octave-function-file-p)
3916 (octave-skip-comment-forward, octave-function-file-comment)
3917 (octave-update-function-file-comment): New functions.
3918 (octave-mode-map): Bind C-c ; to
3919 octave-update-function-file-comment.
3920 (octave-mode-menu): Add octave-update-function-file-comment.
3921 (octave-mode, inferior-octave-mode): Fix doc-string.
3922 (octave-insert-defun): Conform to Octave's coding convention.
3923 (Bug#14285)
3924
3925 * files.el (basic-save-buffer): Don't let errors in
3926 before-save-hook prevent saving buffer.
3927
c46da669
RW
39282013-04-20 Roland Winkler <winkler@gnu.org>
3929
3930 * faces.el (read-face-name): Use completing-read if arg multiple
3931 is nil.
3932
a81ee1eb
IL
39332013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
3934
3935 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
3936 displayed, move point to after the totals line.
3937 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
3938 for the details.
3939
4fac34ce
SM
39402013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3941
3942 * emacs-lisp/package.el (package-autoload-ensure-default-file):
3943 Add current dir to the load-path.
3944 (package-generate-autoloads): Don't rely on
3945 autoload-ensure-default-file.
3946
f6bfc063
RT
39472013-04-26 Reuben Thomas <rrt@sc3d.org>
3948
d40ab5cf
BG
3949 * textmodes/remember.el (remember-store-in-files): Document that
3950 the file name format is passed to `format-time-string'.
f6bfc063 3951
e55d3b04
LL
39522013-04-26 Leo Liu <sdl.web@gmail.com>
3953
3954 * progmodes/octave.el (octave-sync-function-file-names): New function.
3955 (octave-mode): Use it in before-save-hook.
3956
e53052d3
SM
39572013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3958
140ef50c
SM
3959 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
3960 (bug#14274).
3961
e53052d3
SM
3962 * progmodes/octave.el (octave-smie-forward-token): Properly skip
3963 \n and comment, even if it's not an implicit ; (bug#14218).
3964
af80458d 39652013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
3966
3967 * subr.el (read-number): Once more use `read' rather than
3968 `string-to-number', to trap non-numeric input. (Bug#14254)
3969
af80458d 39702013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
3971
3972 * emacs-lisp/syntax.el (syntax-propertize-multiline):
3973 Use `syntax-multiline' text property consistently instead of
8a621d53 3974 `font-lock-multiline'. (Bug#14237)
70203c2e 3975
e6ea1f6c
GM
39762013-04-26 Glenn Morris <rgm@gnu.org>
3977
3978 * emacs-lisp/shadow.el (list-load-path-shadows):
3979 No longer necessary to check for duplicate simple.el, since
3980 2012-07-07 change to init_lread to not include installation lisp
3981 directories in load-path when running uninstalled. (Bug#14270)
3982
070ccca4
LL
39832013-04-26 Leo Liu <sdl.web@gmail.com>
3984
3985 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
3986 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 3987 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
3988 octave-in-string-or-comment-p.
3989 (octave-in-comment-p, octave-in-string-p)
3990 (octave-in-string-or-comment-p): Replace defsubst with defun.
3991
9d1c5fb6
PE
39922013-04-25 Paul Eggert <eggert@cs.ucla.edu>
3993
3994 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
3995
c034abda
BG
39962013-04-25 Bastien Guerry <bzg@gnu.org>
3997
3998 * textmodes/remember.el (remember-data-directory)
3999 (remember-directory-file-name-format): Fix custom types.
4000
584ea277
LL
40012013-04-25 Leo Liu <sdl.web@gmail.com>
4002
e53052d3
SM
4003 * progmodes/octave.el (octave-completion-at-point-function):
4004 Make use of inferior octave process.
584ea277
LL
4005 (octave-initialize-completions): Remove.
4006 (inferior-octave-completion-table): New function.
4007 (inferior-octave-completion-at-point): Use it.
4008 (octave-completion-alist): Remove.
4009
1693b06a
SM
40102013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4011
4012 * progmodes/opascal.el: Use font-lock and syntax-propertize.
4013 (opascal-mode-syntax-table): New var.
4014 (opascal-literal-kind, opascal-is-literal-end)
4015 (opascal-literal-token-at): Rewrite.
4016 (opascal--literal-start-re, opascal-font-lock-keywords)
4017 (opascal--syntax-propertize): New constants.
4018 (opascal-font-lock-defaults): Adjust.
4019 (opascal-mode): Use them. Set comment-<foo> variables as well.
4020 (delphi-comment-face, opascal-comment-face, delphi-string-face)
4021 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
4022 (delphi-other-face, opascal-other-face): Remove face variables.
4023 (opascal-save-state): Remove macro.
4024 (opascal-fontifying-progress-step): Remove constant.
4025 (opascal--ignore-changes): Remove var.
4026 (opascal-set-token-property, opascal-parse-next-literal)
4027 (opascal-is-stable-literal, opascal-complete-literal)
4028 (opascal-is-literal-start, opascal-face-of)
4029 (opascal-parse-region, opascal-parse-region-until-stable)
4030 (opascal-fontify-region, opascal-after-change)
4031 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
4032 (opascal-debug-parse-region, opascal-debug-parse-window)
4033 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
4034 (opascal-debug-fontify-buffer): Remove.
4035 (opascal-debug-mode-map): Adjust accordingly.
4036
be64c05d
LL
40372013-04-25 Leo Liu <sdl.web@gmail.com>
4038
4039 Merge octave-mod.el and octave-inf.el into octave.el with some
4040 cleanups.
4041 * progmodes/octave.el: New file renamed from octave-mod.el.
4042 * progmodes/octave-inf.el: Merged into octave.el.
4043 * progmodes/octave-mod.el: Renamed to octave.el.
4044
d79d37bd
TH
40452013-04-25 Tassilo Horn <tsdh@gnu.org>
4046
4047 * textmodes/reftex-vars.el
4048 (reftex-label-ignored-macros-and-environments): New defcustom.
4049
4050 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
4051
ced3fc5d
SM
40522013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4053
4054 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
4055 (smie-indent-keyword): Improve the check to ensure that the next
4056 comment is really on the same line.
4057 (smie-indent-comment): Don't align with a subsequent closer (or eob).
4058
4059 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
4060 semi-colons if the line is not otherwise empty (bug#14218).
4061
1c141dad
GM
40622013-04-25 Glenn Morris <rgm@gnu.org>
4063
4064 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
4065
5058062a
SM
40662013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4067
4068 * progmodes/opascal.el (opascal-set-token-property): Rename from
4069 opascal-set-text-properties and only set `token' (bug#14134).
4070 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
4071 (opascal-literal-text-properties): Remove.
4072 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
4073 Adjust callers.
4074
5db9dace 40752013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
4076
4077 * textmodes/remember.el (remember-handler-functions): Add an
4078 option for a new handler `remember-store-in-files'.
4079 (remember-data-directory, remember-directory-file-name-format):
4080 New options.
4081 (remember-store-in-files): New function to store remember notes
4082 as separate files within a directory.
4083
4391916c
MH
40842013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
4085
4086 * progmodes/compile.el (compilation-next-error-function):
4087 Pass "formats" to compilation-find-file (bug#11777).
4088
bb7cdf58
GM
40892013-04-24 Glenn Morris <rgm@gnu.org>
4090
3b8fe752 4091 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
4092 * vc/vc-hg.el (vc-hg-print-log):
4093 * vc/vc-svn.el (vc-svn-print-log):
4094 Fix START-REVISION with LIMIT != 1. (Bug#14168)
4095
bb7cdf58
GM
4096 * vc/vc-bzr.el (vc-bzr-print-log):
4097 * vc/vc-cvs.el (vc-cvs-print-log):
4098 * vc/vc-git.el (vc-git-print-log):
4099 * vc/vc-hg.el (vc-hg-print-log):
4100 * vc/vc-mtn.el (vc-mtn-print-log):
4101 * vc/vc-rcs.el (vc-rcs-print-log):
4102 * vc/vc-sccs.el (vc-sccs-print-log):
4103 * vc/vc-svn.el (vc-svn-print-log):
4104 * vc/vc.el (vc-print-log-internal): Doc fixes.
4105
b46a056e
GM
41062013-04-23 Glenn Morris <rgm@gnu.org>
4107
4108 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
4109 Remove venerable code attempting to avoid substitute-command-keys.
4110
0aecf718
TH
41112013-04-23 Tassilo Horn <tsdh@gnu.org>
4112
4391916c
MH
4113 * textmodes/reftex-vars.el (reftex-label-regexps):
4114 Call `reftex-compile-variables' after changes to this variable.
0aecf718 4115
117f94cf
SM
41162013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
4117
4391916c 4118 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
4119 Use lexical-binding.
4120 (jit-lock-force-redisplay): Use markers, check buffer's continued
4121 existence and beware narrowed buffers.
4122 (jit-lock-fontify-now): Adjust call accordingly.
4123
1d829c64
SM
41242013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
4125
4126 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
4127 to avoid misleading the user.
4128
72d548a9
LL
41292013-04-22 Leo Liu <sdl.web@gmail.com>
4130
4131 * info-look.el: Prefer latex2e.info. (Bug#14240)
4132
d0853629
MA
41332013-04-22 Michael Albinus <michael.albinus@gmx.de>
4134
4135 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
4136
4137 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 4138 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
4139 (tramp-set-completion-function, tramp-parse-putty):
4140 * net/tramp-adb.el (tramp-adb-execute-adb-command):
4141 * net/tramp-gvfs.el (tramp-gvfs-send-command):
4142 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4143 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
4144 (tramp-call-local-coding-command): Use `tramp-call-process'
4145 instead of `tramp-compat-call-process'.
4146
4147 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
4148 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
4149 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 4150 (tramp-find-inline-compress): Improve traces.
d0853629
MA
4151 (tramp-maybe-send-script): Check for Perl binary.
4152 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
4153
38cc0210
DU
41542013-04-22 Daiki Ueno <ueno@gnu.org>
4155
4156 * epg.el (epg-context-pinentry-mode): New function.
4157 (epg-context-set-pinentry-mode): New function.
4158 (epg--start): Pass --pinentry-mode option to gpg command.
4159
cc641ee1
XF
41602013-04-21 Xue Fuqiao <xfq.free@gmail.com>
4161
02d844b5 4162 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 4163 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 4164 `completion-at-point'. (Bug#13774)
5d4e5c31 4165
cc641ee1
XF
4166 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
4167 default key binding for `describe-distribution' has been moved to
4168 `C-h C-o'. (Bug#13970)
4169
1b42ee43
GM
41702013-04-21 Glenn Morris <rgm@gnu.org>
4171
4172 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
4173 Add doc strings.
4174 (vc-print-log): Clarify interactive prompt.
4175
a6d63d97
GM
41762013-04-20 Glenn Morris <rgm@gnu.org>
4177
4178 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
4179 No longer include timestamp etc information.
4180
d7f5c16f
RW
41812013-04-20 Roland Winkler <winkler@gnu.org>
4182
4183 * faces.el (read-face-name): Bug fix, return just one face if arg
4184 multiple is nil. (Bug#14209)
4185
bcd7a0a4
SM
41862013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4187
4188 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
4189 (remove-function): Autoload.
4190
4191 * comint.el (comint-redirect-original-filter-function): Remove.
4192 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
4193 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
4194 (vc-cvs-annotate-command):
bcd7a0a4
SM
4195 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
4196 * progmodes/prolog.el (prolog-consult-compile):
4197 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
4198 Use add/remove-function instead.
4199 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
4200 (gud-tooltip-process-output, gud-tooltip-tips):
4201 Use add/remove-function instead.
4202 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
4203 (scheme-interaction-mode, exit-scheme-interaction-mode):
4204 Use add/remove-function instead.
4205
4206 * vc/vc-dispatcher.el: Use lexical-binding.
4207 (vc--process-sentinel): Rename from vc-process-sentinel.
4208 Change last arg to be the code to run. Don't use vc-previous-sentinel
4209 and vc-sentinel-commands any more.
4210 (vc-exec-after): Allow code to be a function. Use add/remove-function.
4211 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
4212
4d3268ba
MY
42132013-04-19 Masatake YAMATO <yamato@redhat.com>
4214
bcd7a0a4 4215 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 4216 Handle function names with a single character. (Bug#14111)
4d3268ba 4217
781b4af6 42182013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
4219
4220 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
4221 for subroutines defined in an eval (bug#14182).
4222
7d688336
TV
42232013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4224
4225 * bookmark.el (bookmark-completing-read): Improve handling of empty
4226 string (bug#14176).
4227
31dcede0
SM
42282013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4229
4230 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
4231
adc31213
FEG
42322013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
4233
4234 New faster Imenu implementation (bug#14058).
4235 * progmodes/python.el:
4236 (python-imenu-prev-index-position):
4237 (python-imenu-format-item-label-function)
4238 (python-imenu-format-parent-item-label-function)
4239 (python-imenu-format-parent-item-jump-label-function):
4240 New vars.
4241 (python-imenu-format-item-label)
4242 (python-imenu-format-parent-item-label)
4243 (python-imenu-format-parent-item-jump-label)
4244 (python-imenu--put-parent, python-imenu--build-tree)
4245 (python-imenu-create-index, python-imenu-create-flat-index)
4246 (python-util-popn): New functions.
4247 (python-mode): Set imenu-create-index-function to
4248 python-imenu-create-index.
4249
cdca8255
SM
42502013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
4251
4252 * winner.el (winner-active-region): Use region-active-p, activate-mark
4253 and deactivate-mark (bug#14225).
4254
4255 * simple.el (deactivate-mark): Don't inline it.
4256
beb42340
MA
42572013-04-18 Michael Albinus <michael.albinus@gmx.de>
4258
4259 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
4260
fc7f4d7e
TH
42612013-04-18 Tassilo Horn <tsdh@gnu.org>
4262
4263 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
4264 file extensions from the archive-mode entry in order to prefer
4265 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
4266
29f47822
LL
42672013-04-18 Leo Liu <sdl.web@gmail.com>
4268
4269 * bindings.el (help-event-list): Add ?\?.
4270
d36ed1c8
SM
42712013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
4272
4273 * subr.el (with-wrapper-hook): Declare obsolete.
4274 * simple.el (filter-buffer-substring-function): New hook.
4275 (filter-buffer-substring): Use it.
4276 (filter-buffer-substring-functions): Mark obsolete.
4277 * minibuffer.el (completion-in-region-function): New hook.
4278 (completion-in-region): Use it.
4279 (completion-in-region-functions): Mark obsolete.
4280 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
4281 * abbrev.el (abbrev-expand-function): New hook.
4282 (expand-abbrev): Use it.
4283 (abbrev-expand-functions): Mark obsolete.
4284 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
4285 and :filter-return.
4286
04754d36
FEG
42872013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
4288
4289 * progmodes/python.el (python-nav--syntactically): Fix cornercases
4290 and do not care about match data.
4291
dd8791e9
SM
42922013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
4293
4294 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
4295 completion tables when completing error conditions and
4296 `declare' arguments.
4297 (lisp-complete-symbol, field-complete): Mark as obsolete.
4298 (check-parens): Unmatched parens are user errors.
4299 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
4300
ffe54a13
AM
43012013-04-17 Michal Nazarewicz <mina86@mina86.com>
4302
dd8791e9
SM
4303 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
4304 command changed buffer (ie. `flyspell-pre-buffer' is not current
4305 buffer), which prevents making decisions based on invalid value of
4306 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
4307 cause an error when `flyspell-pre-point' was nil after switching
4308 buffers.
4309 (flyspell-post-command-hook): No longer needs to change buffers when
4310 checking pre-word. While at it remove unnecessary progn.
ffe54a13 4311
ec7e39f2
AM
43122013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
4313
4314 * textmodes/ispell.el (ispell-add-per-file-word-list):
4315 Fix `flyspell-correct-word-before-point' error when accepting
4316 words and `coment-padding' is an integer by using
4317 `comment-normalize-vars' (Bug #14214).
4318
083850a6
FEG
43192013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
4320
4321 New defun movement commands.
4322 * progmodes/python.el (python-nav--syntactically)
4323 (python-nav--forward-defun, python-nav-backward-defun)
4324 (python-nav-forward-defun): New functions.
4325
619ed6e1
FEG
43262013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
4327
4328 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
4329 (python-syntax-context): Use named compiler-macro for backwards
4330 compatibility with Emacs 24.x.
4331
7a1beb6c
LL
43322013-04-17 Leo Liu <sdl.web@gmail.com>
4333
4334 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
4335 octave-hide-process-buffer.
4336
2d3fa3e5
SM
43372013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
4338
4339 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
4340 (bug#14216).
4341
7ce5be54
JPG
43422013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
4343
4344 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
4345 Fix adjustment of offset when receiving incomplete responses from GDB
4346 (bug#14129).
4347
351edece
SM
43482013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
4349
4350 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
4351 python-mode-abbrev-table.
4352 (python-skeleton-define): Adjust accordingly.
4353 (python-mode-abbrev-table): New table that inherits from it so that
4354 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
4355
4356 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
4357 (abbrev-symbol): Use it.
4358 (abbrev--before-point): Use it since we already handle inheritance.
4359
613f9481
LL
43602013-04-16 Leo Liu <sdl.web@gmail.com>
4361
4362 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
4363 binding to info-lookup-symbol.
4364
51646b62
JB
43652013-04-16 Juanma Barranquero <lekktu@gmail.com>
4366
4367 * minibuffer.el (completion--twq-all):
4368 * term/ns-win.el (ns-initialize-window-system):
4369 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
4370
efb3f01d
SM
43712013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
4372
36c0a301
SM
4373 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
4374 global bindings.
4375
efb3f01d
SM
4376 * doc-view.el (doc-view-start-process): Handle url-handler directories.
4377
fb549d64
DG
43782013-04-15 Dmitry Gutov <dgutov@yandex.ru>
4379
4380 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
4381 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
4382 to nil.
4383 (ruby-end-of-defun): Remove the unused arg, change the docstring
4384 to reflect that this function is only used as the value of
4385 `end-of-defun-function'.
4386 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
4387 to reflect an earlier change that beginning/end-of-defun functions
4388 jump between methods in a class definition, as well as top-level
4389 functions.
4390
21e8fe2f
SM
43912013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4392
4393 * minibuffer.el (minibuffer-complete): Don't just scroll
4394 a *Completions* that's been iconified.
4395 (minibuffer-force-complete): Make sure repetitions do cycle when going
4396 through completion-in-region -> minibuffer-complete.
4397
20e527d0
AM
43982013-04-15 Alan Mackenzie <acm@muc.de>
4399
4400 Correct the placement of c-cpp-delimiters when there're #s not at
4401 col 0.
4402
4403 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
4404 place a submatch around the #.
21e8fe2f
SM
4405 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
4406 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
4407 on the #, not BOL.
4408
dabefae5
SM
44092013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4410
4411 * emacs-lisp/nadvice.el: Properly test names when adding advice.
4412 (advice--member-p): New arg `name'.
4413 (advice--add-function, advice-member-p): Use it (bug#14202).
4414
85c9ab64
AM
44152013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
4416
4417 Reformulate java imenu-generic-expression.
4418 The old expression contained ill formed regexps.
4419
4420 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
4421 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
4422 (cc-imenu-java-method-arg-regexp): New defconsts.
4423 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 4424 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
4425 handling of spaces in the regexp.
4426
0f821d99
AM
44272013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4428
4429 * textmodes/ispell.el (ispell-command-loop): Remove
4430 flyspell highlight of a word when ispell accepts it (bug #14178).
4431
eb922adf
MA
44322013-04-15 Michael Albinus <michael.albinus@gmx.de>
4433
4434 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
4435 uses code from the previous `ange-ftp-run-real-handler'.
4436 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
4437 only in case that function exist. This is needed for proper
4438 unloading of Tramp.
4439
4d9a0979
TH
44402013-04-15 Tassilo Horn <tsdh@gnu.org>
4441
4442 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
4443
4444 * textmodes/reftex.el (reftex-compile-variables): Use it.
4445
a829b0dc
SM
44462013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4447
91e8293c
SM
4448 * files.el (normal-mode): Only use default major-mode if no other mode
4449 was specified.
4450
830aed4d
SM
4451 * emacs-lisp/trace.el (trace-values): New function.
4452
a829b0dc
SM
4453 * files.el: Allow : in local variables (bug#14089).
4454 (hack-local-variable-regexp): New var.
4455 (hack-local-variables-prop-line, hack-local-variables): Use it.
4456
7ae9f0fb
RW
44572013-04-13 Roland Winkler <winkler@gnu.org>
4458
4459 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
4460 data before it gets modified by bibtex-beginning-of-entry.
4461
6646e848
RW
44622013-04-13 Roland Winkler <winkler@gnu.org>
4463
4464 * textmodes/bibtex.el (bibtex-url): Doc fix.
4465
44662013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
4467
4468 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
4469 does not visit a BibTeX file, exclude it from the list of buffers
4470 returned by bibtex-initialize.
4471
0aa3616e
SB
44722013-04-13 Stephen Berman <stephen.berman@gmx.net>
4473
4474 * window.el (split-window): Remove interactive form, since as a
4475 command this function is a special case of split-window-below.
4476 Correct doc string.
4477
011cddd6
RW
44782013-04-12 Roland Winkler <winkler@gnu.org>
4479
4480 * faces.el (read-face-name): Do not override value of arg default.
4481 Allow single faces and strings as default values. Remove those
4482 elements from return value that are not faces.
4483 (describe-face): Simplify.
4484 (face-at-point): New optional args thing and multiple so that this
4485 function can provide the same functionality previously provided by
4486 read-face-name.
4487 (make-face-bold, make-face-unbold, make-face-italic)
4488 (make-face-unitalic, make-face-bold-italic, invert-face)
4489 (modify-face, read-face-and-attribute): Use face-at-point.
4490
4491 * cus-edit.el (customize-face, customize-face-other-window)
4492 * cus-theme.el (custom-theme-add-face)
4493 * face-remap.el (buffer-face-set)
4494 * facemenu.el (facemenu-set-face): Use face-at-point.
4495
f24e0036
MA
44962013-04-12 Michael Albinus <michael.albinus@gmx.de>
4497
4498 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
4499
da3cda2d
TH
45002013-04-10 Tassilo Horn <tsdh@gnu.org>
4501
4502 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
4503 off leading { and trailing } from field values.
4504
15e54145
SM
45052013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4506
78ce603d
SM
4507 * emacs-lisp/timer.el (timer--check): New function.
4508 (timer--time, timer-set-function, timer-event-handler): Use it.
4509 (timer-set-idle-time): Simplify.
4510 (timer--activate): CSE.
4511 (timer-event-handler): Give more info in error message.
4512 (internal-timer-start-idle): New function, moved from C.
4513
15e54145
SM
4514 * mpc.el (mpc-proc): Add `restart' argument.
4515 (mpc-proc-cmd): Use it.
4516 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
4517 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
4518 less often.
4519
7144c627
MY
45202013-04-10 Masatake YAMATO <yamato@redhat.com>
4521
4522 * progmodes/sh-script.el: Implement `sh-mode' own
4523 `add-log-current-defun-function' (bug#14112).
4524 (sh-current-defun-name): New function.
4525 (sh-mode): Use the function.
4526
b39792eb
BG
45272013-04-09 Bastien Guerry <bzg@gnu.org>
4528
4529 * simple.el (choose-completion-string): Fix docstring (bug#14163).
4530
8acdeb71
SM
45312013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
4532
6fcdab68
SM
4533 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
4534
8acdeb71
SM
4535 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
4536 timer (bug#14156).
4537
e3e7b504
NF
45382013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
4539
4540 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
4541 declaration.
4542
201bb296
LL
45432013-04-07 Leo Liu <sdl.web@gmail.com>
4544
4545 * pcmpl-x.el: New file.
4546
ebb19708
DA
45472013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
4548
4549 Do not set x-display-name until X connection is established.
4550 This is needed to prevent from weird situation described at
4551 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
4552 * frame.el (make-frame): Set x-display-name after call to
4553 window system initialization function, not before.
4554 * term/x-win.el (x-initialize-window-system): Add optional
4555 display argument and use it.
4556 * term/w32-win.el (w32-initialize-window-system):
4557 * term/ns-win.el (ns-initialize-window-system):
4558 * term/pc-win.el (msdos-initialize-window-system):
4559 Add compatible optional display argument.
4560
33bb237a
EZ
45612013-04-06 Eli Zaretskii <eliz@gnu.org>
4562
4563 * files.el (normal-backup-enable-predicate): On MS-Windows and
4564 MS-DOS compare truenames of temporary-file-directory and of the
4565 file, so that 8+3 aliases (usually found in $TEMP on Windows)
4566 don't fail comparison by compare-strings. Also, compare file
4567 names case-insensitively on MS-Windows and MS-DOS.
4568
134abf1f
SM
45692013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4570
4571 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
4572 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
4573
d695cb94
DG
45742013-04-05 Dmitry Gutov <dgutov@yandex.ru>
4575
e3e7b504
NF
4576 * whitespace.el (whitespace-color-on, whitespace-color-off):
4577 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 4578
f4ad7ea1 45792013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
4580
4581 * ispell.el (ispell-set-spellchecker-params):
4582 Really set `ispell-args' for all equivs.
4583
632556e4
SM
45842013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4585
4586 * ido.el (ido-completions): Use extra elements of ido-decorations
4587 (bug#14143).
4588 (ido-decorations): Update docstring.
4589
2a417372
MA
45902013-04-05 Michael Albinus <michael.albinus@gmx.de>
4591
4592 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4593 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
4594 nil during initialization, in order not to miss changes since the
4595 file was opened. (Bug#14140)
4596
fc164b0c
LL
45972013-04-05 Leo Liu <sdl.web@gmail.com>
4598
4599 * kmacro.el (kmacro-call-macro): Fix bug#14135.
4600
0ccecc08
JB
46012013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
4602
4603 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
4604
51af1aa2
GM
46052013-04-04 Glenn Morris <rgm@gnu.org>
4606
4607 * electric.el (electric-pair-inhibit-predicate): Add :version.
4608
b208ebc6
SM
46092013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4610
4611 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
4612 when a package is required several times (bug#14082).
4613
f3d3eaf0
RW
46142013-04-04 Roland Winkler <winkler@gnu.org>
4615
4616 * faces.el (read-face-name): Behave as promised by the docstring.
4617 Assume that arg default is a list of faces.
4618 (describe-face): Call read-face-name with list of default faces.
4619
2575da50
TV
46202013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4621
4622 * bookmark.el: Fix deletion of bookmarks (bug#13972).
4623 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
4624 (bookmark-bmenu-execute-deletions): Only skip first line if it's
4625 the header.
4626 (bookmark-exit-hook-internal): Save even if list is empty.
4627
397703b4
YH
46282013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
4629
4630 * emacs-lisp/package.el (package-pinned-packages): New var.
4631 (package--add-to-archive-contents): Obey it (bug#14118).
4632
691e26ae
AM
46332013-04-03 Alan Mackenzie <acm@muc.de>
4634
8a621d53
JB
4635 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
4636 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
4637
4638 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
4639 parameter `not-in-delimiter'. Handle being inside comment opener.
4640 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
4641 character in case we're typing a '*' after a '/'.
4642 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
4643 instead by passing the parameter to c-state-pp-to-literal.
4644
4645 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
4646 for elt. 7 of a parse state.
4647
4b725a70
PE
46482013-04-01 Paul Eggert <eggert@cs.ucla.edu>
4649
4650 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
4651 * international/latin1-disp.el, international/mule-util.el:
4652 * language/cyril-util.el, language/european.el, language/ind-util.el:
4653 * language/lao-util.el, language/thai.el, language/tibet-util.el:
4654 * language/tibetan.el, language/viet-util.el:
4655 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
4656
15c579f0
SM
46572013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
4658
4659 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
4660 (electric-pair-post-self-insert-function): Use it.
4661 (electric-pair-default-inhibit): New function, extracted from
4662 electric-pair-post-self-insert-function.
4663
a77e2924
RW
46642013-03-31 Roland Winkler <winkler@gnu.org>
4665
4666 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
4667
2bd8a4a8
SM
46682013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
4669
4670 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
4671
8d3655be 46722013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
4673
4674 Un-indent after "pass" and "return" statements (Bug#13888)
4675 * progmodes/python.el (python-indent-block-enders): New var.
4676 (python-indent-calculate-indentation): Use it.
4677
8d3655be 46782013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
4679
4680 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
4681 defun. Defining it as defalias could introduce too eager
4682 byte-compiler optimization. (Bug#14030)
4683
8d3655be 46842013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
4685
4686 * iswitchb.el (iswitchb-read-buffer): Fix typo.
4687
0b1619da
LL
46882013-03-30 Leo Liu <sdl.web@gmail.com>
4689
4690 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
4691 (kmacro-execute-from-register): Pass the keyboard macro to
4692 kmacro-call-macro or repeating won't work correctly.
4693
0b938190
TZ
46942013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
4695
4696 * progmodes/subword.el: Back to using `forward-symbol'.
4697
4698 * subr.el (forward-whitespace, forward-symbol)
4699 (forward-same-syntax): Move from thingatpt.el.
4700
35710234
LL
47012013-03-29 Leo Liu <sdl.web@gmail.com>
4702
4703 * kmacro.el (kmacro-to-register): New command.
4704 (kmacro-execute-from-register): New function.
4705 (kmacro-keymap): Bind to 'x'. (Bug#14071)
4706
efc0bb73
SM
47072013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
4708
4709 * mpc.el: Use defvar-local and setq-local.
4710 (mpc--proc-connect): Connection failures are not bugs.
4711 (mpc-mode-map): `follow-link' only applies to the buffer's content.
4712 (mpc-volume-map): Bind to the up-events.
4713
75a2f981
TZ
47142013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
4715
4716 * progmodes/subword.el (superword-mode): Use `forward-sexp'
4717 instead of `forward-symbol'.
4718
17c781d1
SM
47192013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
4720
4721 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
4722 (edebug--recursive-edit): Use it.
4723 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
4724 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
4725
f67bfbcf
LL
47262013-03-28 Leo Liu <sdl.web@gmail.com>
4727
4728 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
4729
b59f639d
EZ
47302013-03-27 Eli Zaretskii <eliz@gnu.org>
4731
4732 * facemenu.el (list-colors-callback): New defvar.
4733 (list-colors-redisplay): New function.
4734 (list-colors-display): Install list-colors-redisplay as the
4735 revert-buffer-function. (Bug#14063)
4736
f557c1b1
SM
47372013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4738
b1da2957
SM
4739 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
4740 and suffixes don't overlap (bug#14061).
4741
f557c1b1
SM
4742 * case-table.el: Use lexical-binding.
4743 (case-table-get-table): New function.
4744 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
4745
002668e1
TZ
47462013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
4747
4748 * progmodes/subword.el: Add `superword-mode' to do word motion
4749 over symbol_words (parallels and leverages `subword-mode' which
4750 does word motion inside MixedCaseWords).
4751
73572c72
AG
47522013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
4753
78b8f320 4754 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 4755 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 4756
69b2c07e
SM
47572013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4758
4759 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
4760 Change return value to be a sexp. Delay `get-buffer' to after
4761 restoring the desktop (bug#13951).
4762
08bb5ee2
LL
47632013-03-26 Leo Liu <sdl.web@gmail.com>
4764
4765 * register.el: Move semantic tag handling back to
4766 cedet/semantic/senator.el. (Bug#14052)
4767
8d4c974e
SM
47682013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4769
4770 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
4771 into the prompt either (bug#13963).
4772
b234d92c
SM
47732013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
4774
4775 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
4776 part of "(error-foo)".
4777
ddfa3cb4
JL
47782013-03-24 Juri Linkov <juri@jurta.org>
4779
4780 * replace.el (list-matching-lines-prefix-face): New defcustom.
4781 (occur-1): Pass `list-matching-lines-prefix-face' to the function
4782 `occur-engine' if `face-differs-from-default-p' returns t.
4783 (occur-engine): Add `,' inside backquote construct to evaluate
4784 `prefix-face'. Propertize the prefix with the `prefix-face' face.
4785 Pass `prefix-face' to the functions `occur-context-lines' and
4786 `occur-engine-add-prefix'.
4787 (occur-engine-add-prefix, occur-context-lines): Add optional arg
4788 `prefix-face' and propertize the prefix with `prefix-face'.
4789 (Bug#14017)
4790
7b0e2f85
LL
47912013-03-24 Leo Liu <sdl.web@gmail.com>
4792
4793 * nxml/rng-valid.el (rng-validate-while-idle)
4794 (rng-validate-quick-while-idle): Guard against deleted buffer.
4795 (Bug#13999)
4796
4797 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
4798 is the last entry in kill-buffer-hook.
4799
4800 * files.el (kill-buffer-hook): Doc fix.
4801
b3082f49
DG
48022013-03-23 Dmitry Gutov <dgutov@yandex.ru>
4803
b234d92c
SM
4804 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
4805 Make it safe-local.
bde73d27 4806
b3082f49
DG
4807 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
4808
a320a2db
LL
48092013-03-23 Leo Liu <sdl.web@gmail.com>
4810
7e74b0fb
LL
4811 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
4812 Remove.
4813
4814 * nxml/rng-valid.el (rng-validate-mode)
4815 (rng-after-change-function, rng-do-some-validation):
4816 * nxml/rng-maint.el (rng-validate-buffer):
4817 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
4818 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
4819 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
4820 (nxml-extend-after-change-region): Use with-silent-modifications.
4821
a320a2db
LL
4822 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
4823 timer-idle-list.
4824
4825 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
4826 (rng-next-error-1, rng-previous-error-1): Do not let-bind
4827 timer-idle-list. (Bug#13999)
4828
e38e6780
JL
48292013-03-23 Juri Linkov <juri@jurta.org>
4830
4831 * info.el (info-index-match): New face.
4832 (Info-index, Info-apropos-matches): Add a nested subgroup to the
4833 main pattern and add text properties with the new face to matches
4834 in index entries relative to the beginning of the index entry.
4835 (Bug#14015)
4836
e8cc7880
DE
48372013-03-21 Eric Ludlam <zappo@gnu.org>
4838
4839 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
4840 Inhibit read only while inserting objects.
4841
9bb0d822
TZ
48422013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
4843
4844 * progmodes/cfengine.el: Update docs to mention
4845 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
4846 symbol motion. Remove "_" from the word syntax.
4847
aa703640
TZ
48482013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
4849
4850 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
4851 syntax for both `cfengine2-mode' and `cfengine3-mode'.
4852
afff09d0
JL
48532013-03-20 Juri Linkov <juri@jurta.org>
4854
4855 * info.el (Info-next-reference-or-link)
4856 (Info-prev-reference-or-link): New functions.
4857 (Info-next-reference, Info-prev-reference): Use them.
4858 (Info-try-follow-nearest-node): Handle footnote navigation.
4859 (Info-fontify-node): Fontify footnotes. (Bug#13989)
4860
9a1ff164
SM
48612013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
4862
4863 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
4864 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
4865
2667d15d
PE
48662013-03-20 Paul Eggert <eggert@cs.ucla.edu>
4867
4868 Suppress unnecessary non-ASCII chatter during build process.
4869 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
4870 (batch-skkdic-convert): Suppress most of the chatter.
4871 It's not needed so much now that machines are faster,
4872 and its non-ASCII component was confusing; see Dmitry Gutov in
4873 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
4874
438b0579
LL
48752013-03-20 Leo Liu <sdl.web@gmail.com>
4876
4877 * ido.el (ido-chop): Fix bug#10994.
4878
c128ab07
DG
48792013-03-19 Dmitry Gutov <dgutov@yandex.ru>
4880
4881 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
4882 Remove vars.
9a1ff164
SM
4883 (whitespace-color-on, whitespace-color-off):
4884 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 4885
0e6008c5
SM
48862013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
4887
4888 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
4889 remapping in mode-line.
4890 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
4891
627b52b0
DG
48922013-03-19 Dmitry Gutov <dgutov@yandex.ru>
4893
4894 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
4895 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
4896 (whitespace-font-lock-keywords): Change description.
4897 (whitespace-color-on): Don't save `font-lock-keywords' value, save
4898 the constructed keywords instead.
4899 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 4900
50c3a20b
LL
49012013-03-19 Leo Liu <sdl.web@gmail.com>
4902
4903 * progmodes/compile.el (compilation-display-error): New command.
4904 (compilation-mode-map, compilation-minor-mode-map): Bind it to
4905 C-o. (Bug#13992)
4906
2aa2157b
PE
49072013-03-18 Paul Eggert <eggert@cs.ucla.edu>
4908
4909 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
4910
e477dbfa
JD
49112013-03-18 Jan Djärv <jan.h.d@swipnet.se>
4912
4913 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
4914
64ab82d1
MA
49152013-03-18 Michael Albinus <michael.albinus@gmx.de>
4916
4917 * net/tramp-compat.el (tramp-compat-user-error): New defun.
4918
4919 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4920 * net/tramp-gvfs.el (top):
4921 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
4922 (tramp-handle-shell-command): Use it.
4923 (tramp-dissect-file-name): Raise an error when hostname is a
4924 method name, and neither method nor user is specified.
4925
4926 * net/trampver.el: Update release number.
4927
33cef733
LL
49282013-03-18 Leo Liu <sdl.web@gmail.com>
4929
4930 Make sure eldoc can be turned off properly.
4931 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
4932 eldoc-mode.
4933 (eldoc-display-message-p): Revert last change.
4934 (eldoc-display-message-no-interference-p)
4935 (eldoc-print-current-symbol-info): Tweak.
4936
2167b7b2
TH
49372013-03-18 Tassilo Horn <tsdh@gnu.org>
4938
4939 * doc-view.el (doc-view-new-window-function): Check the new window
4940 overlay's display property instead the char property of the
4941 buffer's first char. Use `with-selected-window' instead of
4942 `save-window-excursion' with `select-window'.
4943 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 4944 display property instead the char property of the buffer's first char.
2167b7b2 4945
982efbcd
PE
49462013-03-18 Paul Eggert <eggert@cs.ucla.edu>
4947
4948 Automate the build of ja-dic.el (Bug#13984).
4949 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
4950 from the input, rather than assume that it's been done for us by the
4951 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
4952 the current date into a ja-dic.el comment, as that complicates
4953 regression testing.
4954
2fcc7665
SM
49552013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
4956
4957 * whitespace.el: Fix double evaluation.
4958 (whitespace-space, whitespace-hspace, whitespace-tab)
4959 (whitespace-newline, whitespace-trailing, whitespace-line)
4960 (whitespace-space-before-tab, whitespace-indentation)
4961 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
4962 obsolete defvars.
4963 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
4964 (whitespace-color-on): Use a single font-lock-add-keywords call.
4965 Fix double-evaluation of face variables.
4966
67c0a6e6
MA
49672013-03-17 Michael Albinus <michael.albinus@gmx.de>
4968
2fcc7665
SM
4969 * net/tramp-adb.el (tramp-adb-parse-device-names):
4970 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 4971 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 4972
69489f1d
LL
49732013-03-17 Leo Liu <sdl.web@gmail.com>
4974
4975 Extend eldoc to display info in the mode-line. (Bug#13978)
4976 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
4977 (eldoc-mode-line-string): New variable.
4978 (eldoc-minibuffer-message): New function.
4979 (eldoc-message-function): New variable.
4980 (eldoc-message): Use it.
4981 (eldoc-display-message-p)
2fcc7665
SM
4982 (eldoc-display-message-no-interference-p):
4983 Support eldoc-post-insert-mode.
69489f1d
LL
4984
4985 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
4986 (eval-expression): Run it.
4987
9c44569e
RW
49882013-03-17 Roland Winkler <winkler@gnu.org>
4989
4990 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
4991 strings in the list of return values.
4992
327f1f6f
JB
49932013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
4994
4995 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
4996 radix before checking for HMS forms.
4997
67ed8fcd
LL
49982013-03-16 Leo Liu <sdl.web@gmail.com>
4999
5000 * progmodes/scheme.el: Add indentation and font-locking for λ.
5001 (Bug#13975)
5002
78be8b64 50032013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
5004
5005 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
5006 token before point (bug#13942).
5007
78be8b64 50082013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 5009
95b43468 5010 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 5011
98e775e6
EZ
50122013-03-16 Eli Zaretskii <eliz@gnu.org>
5013
5014 * startup.el (command-line-normalize-file-name): Fix handling of
5015 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
5016 <xfq.free@gmail.com> in
5017 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
5018
2edd6029
MA
50192013-03-15 Michael Albinus <michael.albinus@gmx.de>
5020
5021 Sync with Tramp 2.2.7.
5022
5023 * net/trampver.el: Update release number.
5024
d35f5864
TH
50252013-03-14 Tassilo Horn <tsdh@gnu.org>
5026
f35ffe5e
TH
5027 * doc-view.el Fix bug#13887.
5028 (doc-view-insert-image): Don't modify overlay associated to
5029 non-live windows, and implement horizontal centering of image in
5030 case it's smaller than the window.
5031 (doc-view-new-window-function): Force redisplay of new windows on
5032 doc-view buffers.
d35f5864 5033
1c4a85ed
KF
50342013-03-13 Karl Fogel <kfogel@red-bean.com>
5035
5036 * saveplace.el (save-place-alist-to-file): Don't sort
5037 `save-place-alist', just pretty-print it (bug#13882).
5038
85b66a21
MA
50392013-03-13 Michael Albinus <michael.albinus@gmx.de>
5040
a020afb9
JB
5041 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5042 Check whether `default-file-name-coding-system' is bound.
5043 It isn't in XEmacs.
85b66a21 5044
175600da
SM
50452013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
5046
e7f7cb1a
SM
5047 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
5048 backquotes for `obsolete' (bug#13929).
5049
175600da
SM
5050 * international/mule.el (find-auto-coding): Include file name in
5051 obsolescence warning (bug#13922).
5052
ca68a22e
TZ
50532013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
5054
5055 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
5056 for CFEngine 3-specific indentation.
5057 (cfengine3-indent-line): Use it. Fix up category regex.
5058 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
5059
940e5099
SM
50602013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5061
5062 * type-break.el (type-break-file-name):
5063 * textmodes/remember.el (remember-data-file):
5064 * strokes.el (strokes-file):
5065 * shadowfile.el (shadow-initialize):
5066 * saveplace.el (save-place-file):
5067 * ps-bdf.el (bdf-cache-file):
5068 * progmodes/idlwave.el (idlwave-config-directory):
5069 * net/quickurl.el (quickurl-url-file):
5070 * international/kkc.el (kkc-init-file-name):
5071 * ido.el (ido-save-directory-list-file):
5072 * emulation/viper.el (viper-custom-file-name):
5073 * emulation/vip.el (vip-startup-file):
5074 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
5075 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
5076
cc725808
PE
50772013-03-12 Paul Eggert <eggert@cs.ucla.edu>
5078
5079 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
5080 * language/thai-word.el: Switch to UTF-8.
5081
a020afb9 5082See ChangeLog.16 for earlier changes.
e3d51b27
MR
5083
5084;; Local Variables:
5085;; coding: utf-8
e3d51b27
MR
5086;; End:
5087
ab422c4d 5088 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
5089
5090 This file is part of GNU Emacs.
5091
5092 GNU Emacs is free software: you can redistribute it and/or modify
5093 it under the terms of the GNU General Public License as published by
5094 the Free Software Foundation, either version 3 of the License, or
5095 (at your option) any later version.
5096
5097 GNU Emacs is distributed in the hope that it will be useful,
5098 but WITHOUT ANY WARRANTY; without even the implied warranty of
5099 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5100 GNU General Public License for more details.
5101
5102 You should have received a copy of the GNU General Public License
5103 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.