* texinfo.tex: Merge from gnulib.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
56f75efc
DG
12013-07-03 Dmitry Gutov <dgutov@yandex.ru>
2
3 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4 keywords and built-ins.
5
9b057d61
GM
62013-07-03 Glenn Morris <rgm@gnu.org>
7
208dee4d
GM
8 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9
9b057d61
GM
10 Make info-xref checks case-sensitive by default
11 * info.el (Info-find-node, Info-find-in-tag-table)
12 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
13 Add option for exact case matching of nodes.
14 * info-xref.el (info-xref): New custom group.
15 (info-xref-case-fold): New option.
16 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
17
e01aa29c
LL
182013-07-03 Leo Liu <sdl.web@gmail.com>
19
20 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
21
3086ca2e
DG
222013-07-03 Dmitry Gutov <dgutov@yandex.ru>
23
24 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
25 middle of block statement initially, lower the depth. Remove
26 FIXME comment, not longer valid. Remove middle of block statement
27 detection, no need to do that anymore since we've been using
28 `ruby-parse-region' here.
29
a3b49114
JD
302013-07-02 Jan Djärv <jan.h.d@swipnet.se>
31
32 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
33
08e5c823 342013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
35
36 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
37
2addf922
JB
382013-07-01 Juanma Barranquero <lekktu@gmail.com>
39
40 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
41 (desktop-restore-in-current-display): New customization option.
42 (desktop--excluded-frame-parameters): Add `font'.
43 (desktop--save-frames): Rename from desktop--save-windows.
44 (desktop--restore-in-this-display-p): New function.
45 (desktop--make-full-frame): Remove unwanted width/height from
46 full(width|height) frames.
47 (desktop--restore-frames): Rename from desktop--restore-windows.
48 Obey desktop-restore-current-display. Do not delete old frames or
49 select a new frame unless we were able to restore at least one frame.
50
ef099a94
MN
512013-06-30 Michal Nazarewicz <mina86@mina86.com>
52
53 * files.el (find-file-noselect): Simplify conditional expression.
54
55 * remember.el (remember-append-to-file):
56 Don't mix `find-buffer-visiting' and `get-file-buffer'.
57
58 Add `remember-notes' function to store random notes across Emacs
59 restarts.
60 * remember.el (remember-data-file): Add :set callback to affect
61 notes buffer (if any).
62 (remember-notes): New command.
63 (remember-notes-buffer-name, bury-remember-notes-on-kill):
64 New defcustoms for the `remember-notes' function.
65 (remember-notes-save-and-bury-buffer): New command.
66 (remember-notes-mode-map): New variable.
67 (remember-mode): New minor mode.
68 (remember-notes--kill-buffer-query): New function.
69 * startup.el (initial-buffer-choice): Add notes to custom type.
70
0865d506
EZ
712013-06-30 Eli Zaretskii <eliz@gnu.org>
72
0ba54312
EZ
73 * bindings.el (right-char, left-char): Don't call sit-for, this is
74 no longer needed. Use arithmetic comparison only for numerical
75 arguments.
76
ef099a94
MN
77 * international/mule-cmds.el (select-safe-coding-system):
78 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 79
2fae38e5
LMI
802013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
81
82 * net/shr.el (shr-make-table-1): Add a sanity check that allows
83 progression on degenerate tables.
ef099a94 84 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 85
a47cbd64
JB
862013-06-30 Juanma Barranquero <lekktu@gmail.com>
87
88 Some fixes and improvements for desktop frame restoration.
89 It is still experimental and disabled by default.
90 * desktop.el (desktop--save-windows): Put the selected frame at
91 the head of the list.
92 (desktop--make-full-frame): New function.
93 (desktop--restore-windows): Try to re-select the frame that was
94 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
95 just show an error message and continue. Set up maximized frames
96 so they have default non-maximized dimensions.
a47cbd64 97
6dbafa30
DG
982013-06-30 Dmitry Gutov <dgutov@yandex.ru>
99
ef099a94
MN
100 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
101 Don't start heredoc inside a string or comment.
6dbafa30 102
4c672a0f
EZ
1032013-06-29 Eli Zaretskii <eliz@gnu.org>
104
105 * bindings.el (visual-order-cursor-movement): New defcustom.
106 (right-char, left-char): Provide visual-order cursor motion by
107 calling move-point-visually. Update the doc strings.
108
50960f36
KH
1092013-06-28 Kenichi Handa <handa@gnu.org>
110
111 * international/mule.el (define-coding-system): New coding system
112 properties :inhibit-null-byte-detection,
113 :inhibit-iso-escape-detection, and :prefer-utf-8.
114 (set-buffer-file-coding-system): If :charset-list property of
115 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
116 appropriate for setting.
117
c1ea3abf
JB
118 * international/mule-cmds.el (select-safe-coding-system):
119 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
120 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
121
122 * international/mule-conf.el (prefer-utf-8): New coding system.
123 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
124 files.
125
75dbaf9d
IK
1262013-06-28 Ivan Kanis <ivan@kanis.fr>
127
eadb6068
IK
128 * net/shr.el (shr-render-region): New function.
129
75dbaf9d
IK
130 * net/eww.el: Autoload `eww-browse-url'.
131
9ea5cf9f
DG
1322013-06-27 Dmitry Gutov <dgutov@yandex.ru>
133
c1ea3abf
JB
134 * emacs-lisp/package-x.el (package-upload-buffer-internal):
135 Adapt to `package-desc-version' being a list.
136 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
137 archive element.
138
39c0e36f
JB
1392013-06-27 Juanma Barranquero <lekktu@gmail.com>
140
141 New experimental feature to save&restore window and frame setup.
142 * desktop.el (desktop-save-windows): New defcustom.
143 (desktop--saved-states): New var.
144 (desktop--excluded-frame-parameters): New defconst.
145 (desktop--filter-frame-parms, desktop--find-frame-in-display)
146 (desktop--restore-windows, desktop--save-windows): New functions.
147 (desktop-save): Call `desktop--save-windows'.
148 (desktop-read): Call `desktop--restore-windows'.
149
7f13406b
LMI
1502013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
151
ef099a94 152 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 153
1e072639
SB
1542013-06-27 Stephen Berman <stephen.berman@gmx.net>
155
156 * info.el (Info-try-follow-nearest-node): Move search for footnote
157 above search for node name to prevent missing a footnote (bug#14717).
158
f3e2cbde
SB
1592013-06-27 Stephen Berman <stephen.berman@gmx.net>
160
161 * obsolete/otodo-mode.el: Add obsolescence info to file header.
162
99906aa0
LL
1632013-06-27 Leo Liu <sdl.web@gmail.com>
164
165 * net/eww.el (eww-read-bookmarks): Check file size.
166
539f75f4
SM
1672013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
168
169 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
170 advice--pending if newdef is nil or an autoload (bug#13820).
171 (advice-mapc): New function.
172
843571cb
LMI
1732013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
174
175 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
176 probably.
23a75d7f 177 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
178 (eww-add-bookmark): New command.
179 (eww-bookmark-mode): New mode and commands.
a285ce99 180 (eww-add-bookmark): Remove newlines from the title.
47fd571b 181 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 182
f2136e1e
GM
1832013-06-26 Glenn Morris <rgm@gnu.org>
184
eab35f39
GM
185 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
186 (hfy-size): Handle ttys. (Bug#14668)
187
f2136e1e
GM
188 * info-xref.el: Update for Texinfo 5 change in *note format.
189 (info-xref-node-re, info-xref-note-re): New constants.
190 (info-xref-check-buffer): Use info-xref-note-re.
191
a49ff80c
SM
1922013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
193
a343d218
SM
194 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
195
a49ff80c
SM
196 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
197 nil terminate the loop (bug#14718).
198
8308f184
LMI
1992013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
200
201 * net/eww.el: Rework history traversal. When going forward/back,
202 put these actions into the history, too, so that they can be
203 replayed.
26bf2b82 204 (eww-render): Move the history reset to the correct buffer.
8308f184 205
ec64c273
JL
2062013-06-25 Juri Linkov <juri@jurta.org>
207
208 * files-x.el (modify-dir-local-variable): Change the header comment
209 in the file with directory local variables. (Bug#14692)
210
e080a9d7
JL
211 * files-x.el (read-file-local-variable-value): Add `default'.
212 (Bug#14710)
213
bfbc93a1
IK
2142013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
215
216 * net/eww.el (eww-make-unique-file-name): Create a unique file
217 name before saving to entering `y' accidentally asynchronously.
218
2192013-06-25 Ivan Kanis <ivan@kanis.fr>
220
221 * net/eww.el (eww-download): New command and keystroke.
222
16f74f10
LMI
2232013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
224
a49ff80c 225 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
226
227 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
228 be more consistent with Info and dired.
229
230 * net/eww.el (eww-mode-map): Ditto.
231
12059709
SM
2322013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
233
234 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
235 packages from archives.
236 (package-archive-contents): Change format; include obsolete packages.
237 (package-desc): Use `dir' to mark builtin packages.
238 (package--from-builtin): Set the `dir' field to `builtin'.
239 (generated-autoload-file, version-control): Declare.
240 (package-compute-transaction): Change first arg and return value to be
241 lists of package-descs. Adjust to new package-archive-contents format.
242 (package--add-to-archive-contents): Adjust to new
243 package-archive-contents format.
244 (package-download-transaction): Arg is now a list of package-descs.
245 (package-install): If `pkg' is a package name, pass it as
246 a requirement, so it is subject to the usual (e.g. disabled) checks.
247 (describe-package): Accept package-desc as well.
248 (describe-package-1): Describe a specific package-desc. Add links to
249 other package-descs for the same package name.
250 (package-menu-describe-package): Pass the actual package-desc.
251 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
252 works correctly.
253 (package-desc-status): New function.
254 (package-menu--refresh): New function, extracted
255 from package-menu--generate.
256 (package-menu--generate): Use it.
257 (package-delete): Update package-alist.
258 (package-menu-execute): Don't call package-initialize.
259
260 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
261 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
262 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
263 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
264 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
265 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
266
8bbdea0f
MR
2672013-06-25 Martin Rudalics <rudalics@gmx.at>
268
269 * window.el (window--state-get-1): Workaround for bug#14527.
270 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
271
e82b0991
LMI
2722013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
273
274 * net/eww.el (eww-back-url): Implement the history by stashing all
275 the data into a list.
d3f0f918 276 (eww-forward-url): Allow going forward in the history, too.
e82b0991 277
c763842b
SM
2782013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
279
280 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
281 for values and use read--expression for expressions (bug#14710).
282 (read-file-local-variable): Avoid setq.
283 (read-file-local-variable-mode): Use minor-mode-list.
284
bceff189
RW
2852013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
286
287 * lisp/textmodes/bibtex.el (bibtex-generate-url-list): Add support
288 for DOI URLs.
289
45f431c6
RW
2902013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
291
292 * lisp/textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
293 Update imenu-support when dialect changes.
294
f42d8237
LL
2952013-06-25 Leo Liu <sdl.web@gmail.com>
296
297 * ido.el (ido-read-internal): Allow forward slash on windows.
298
be549ce6
LMI
2992013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
300
301 * net/eww.el (eww): Start of strings is \\`, not ^.
302
71d4c19d
IK
3032013-06-24 Ivan Kanis <ivan@kanis.fr>
304
5196f88a
IK
305 * net/shr.el (shr-browse-url): Fix interactive spec.
306
71d4c19d
IK
307 * net/eww.el (eww): Add a trailing slash to domain names.
308
ae36ca55
JB
3092013-06-24 Juanma Barranquero <lekktu@gmail.com>
310
311 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
312
0ebd92a3
LMI
3132013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
314
bdaa086b
LMI
315 * net/shr.el (shr-browse-url): Use an external browser if given a
316 prefix.
317
c763842b 318 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 319
b89fc156
IK
3202013-06-24 Ivan Kanis <ivan@kanis.fr>
321
322 * net/eww.el (eww): Work more correctly for file: URLs.
323 (eww-detect-charset): Allow quoted charsets.
324 (eww-yank-page-url): New command and keystroke.
325
18eb4bca
DU
3262013-06-24 Daiki Ueno <ueno@gnu.org>
327
328 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
329 file name of gpg executable.
330 (epg-context-program): New function.
331 (epg-context-home-directory): New function.
332 (epg-context-set-program): New function.
333 (epg-context-set-home-directory): New function.
334 (epg--start): Use `epg-context-program' instead of
335 'epg-gpg-program'.
336 (epg--list-keys-1): Likewise.
337
6c6268c8
LL
3382013-06-24 Leo Liu <sdl.web@gmail.com>
339
340 * ido.el (ido-read-internal): Fix bug#14620.
341
5e400cb3
JB
3422013-06-23 Juanma Barranquero <lekktu@gmail.com>
343
344 * faces.el (face-documentation): Simplify.
345 (read-face-attribute, tty-find-type, x-resolve-font-name):
346 Use `string-match-p'.
347 (list-faces-display): Use `string-match-p'. Simplify.
348 (face-spec-recalc): Check face to avoid face alias loops.
349 (read-color): Use `string-match-p' and non-capturing parenthesis.
350
f3f9606c
LMI
3512013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
352
353 * net/shr.el (shr-rescale-image): Use the new
354 :max-width/:max-height functionality.
355
a3ca09b9
IK
3562013-06-23 Ivan Kanis <ivan@kanis.fr>
357
358 * net/eww.el (eww-search-prefix): New variable.
359 (eww): Use it.
f865b474
IK
360 (eww-external-browser): New variable.
361 (eww-mode-map): New keystroke.
362 (eww-browse-with-external-browser): New command.
a3ca09b9 363
e854cfc7
IK
364 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
365
18bb9e21
JB
3662013-06-23 Juanma Barranquero <lekktu@gmail.com>
367
368 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
369 Don't skip aligning the next header field when padding is 0;
370 otherwise, field width is not respected unless the title is as
371 wide as the field.
372
5b165ade
SM
3732013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
374
375 * emacs-lisp/package.el (package-el-version): Remove.
376 (package-process-define-package): Fix inf-loop.
377 (package-install): Allow symbols as arguments again.
378
12adebe9
DG
3792013-06-22 Dmitry Gutov <dgutov@yandex.ru>
380
381 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
382 add some more keyword-like methods.
383 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
384
388573ee
JB
3852013-06-22 Juanma Barranquero <lekktu@gmail.com>
386
387 * bs.el (bs-buffer-show-mark): Make defvar-local.
388 (bs-mode): Use setq-local.
389
390 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
391 (emacs-lock--try-unlocking): Make defvar-local.
392
3d94f3ad
GM
3932013-06-22 Glenn Morris <rgm@fencepost.gnu.org>
394
2663dd23
GM
395 * play/cookie1.el (cookie-apropos): Minor simplification.
396
3d94f3ad
GM
397 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
398
f72e2fdb
DG
3992013-06-22 Dmitry Gutov <dgutov@yandex.ru>
400
401 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
402 `regexp-opt', it breaks the build during dumping.
403
73eab938
DG
4042013-06-21 Dmitry Gutov <dgutov@yandex.ru>
405
c763842b
SM
406 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
407 Highlight keyword-like methods on Kernel and Module with
73eab938 408 font-lock-builtin-face.
5cf8176d
DG
409 (auto-mode-alist): Consolidate different entries into one regexp
410 and add more *file-s.
73eab938 411
d26255f6
SB
4122013-06-21 Stephen Berman <stephen.berman@gmx.net>
413
414 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
415
416 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
417 (diary-entry): Use it in the action of this button type instead of
418 diary-goto-entry.
419
420 * calendar/todo-mode.el: New version.
421 (todo-add-category): Append new category to end of file and give
422 it the highest number, instead of putting it at the beginning and
423 giving it 0. Incorporate noninteractive functionality.
424 (todo-forward-category): Adapt to 1-based category numbering.
425 Allow skipping over archived categories.
426 (todo-backward-category): Derive from todo-forward-category.
427 (todo-backward-item, todo-forward-item): Make noninteractive and
428 delegate interactive part to new commands. Make sensitive to done items.
429 (todo-categories): Make value an alist of category names and
430 vectors of item counts.
431 (todo-category-beg): Make a defconst.
432 (todo-category-number): Use 1 instead of 0 as initial value.
433 (todo-category-select): Make sensitive to overlays, optional item
434 highlighting and done items.
435 (todo-delete-item): Make sensitive to overlays and marked and done items.
436 (todo-edit-item): Make sensitive to overlays and editing of
437 date/time header optional. Add format checks.
438 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
439 no-op if point is not on an item. Advertise using todo-edit-quit.
440 (todo-edit-mode): Make sensitive to new format, font-locking, and
441 multiple todo files.
442 (todo-insert-item, todo-insert-item-here): Derive from
443 todo-basic-insert-item and extend functionality.
444 (todo-item-end, todo-item-start): Make sensitive to done items.
445 (todo-item-string): Don't return text properties. Restore point.
446 (todo-jump-to-category): Make sensitive to multiple todo files and
447 todo archives. Use extended category completion.
448 (todo-lower-item, todo-raise-item): Rename to *-priority and
449 derive from todo-set-item-priority.
450 (todo-mode): Derive from special-mode. Make sensitive to new
451 format, font-locking and multiple todo files. Make read-only.
452 (todo-mode-map): Don't suppress digit keys, so they can supply
453 prefix arguments. Add many new key bindings.
454 (todo-prefix): Insert as an overlay instead of file text.
455 Change semantics from diary date expression to purely visual mark.
456 (todo-print): Rename to todo-print-buffer. Make buffer display
457 features printable. Remove option to restrict number of items
458 printed. Add option to print to file.
459 (todo-print-function): Rename to todo-print-buffer-function.
460 (todo-quit): Extend to handle exiting new todo modes.
461 (todo-remove-item): Make sensitive to overlays.
462 (todo-save): Extend to buffers of filtered items.
463 (todo-show): Make sensitive to done items, multiple todo files and
464 new todo modes. Offer to convert legacy todo file before creating
465 first new todo file.
466 (todo-show-priorities): Rename to todo-top-priorities.
467 Change semantics of value 0.
468 (todo-top-priorities): Rename to todo-filter-top-priorities,
469 derive from todo-filter-items and extend functionality.
470 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
471 and extend functionality to other types of filtered items.
472 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
473 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
474 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
475 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
476 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
477 (todo-edit-mode-hook, todo-entry-prefix-function)
478 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
479 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
480 (todo-initials, todo-insert-threshold, todo-item-string-start)
481 (todo-line-string, todo-menu, todo-mode-hook)
482 (todo-more-important-p, todo-previous-answer, todo-previous-line)
483 (todo-print-priorities, todo-remove-separator)
484 (todo-save-top-priorities-too, todo-string-count-lines)
485 (todo-string-multiline-p, todo-time-string-format)
486 (todo-tmp-buffer-name): Remove.
487 (todo-add-file, todo-archive-done-item, todo-choose-archive)
488 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
489 (todo-edit-category-diary-inclusion)
490 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
491 (todo-edit-file, todo-edit-item-date-day)
492 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
493 (todo-edit-item-date-month, todo-edit-item-date-to-today)
494 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
495 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
496 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
497 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
498 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
499 (todo-filter-top-priorities-multifile, todo-find-archive)
500 (todo-find-filtered-items-file, todo-go-to-source-item)
501 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
502 (todo-jump-to-archive-category, todo-lower-category)
503 (todo-mark-category, todo-marked-item-p, todo-merge-category)
504 (todo-move-category, todo-move-item, todo-next-button)
505 (todo-next-item, todo-padded-string, todo-powerset)
506 (todo-previous-button, todo-previous-item)
507 (todo-print-buffer-to-file, todo-raise-category)
508 (todo-rename-category, todo-repair-categories-sexp, todo-search)
509 (todo-set-category-number, todo-set-item-priority)
510 (todo-set-top-priorities-in-category)
511 (todo-set-top-priorities-in-file, todo-show-categories-table)
512 (todo-sort-categories-alphabetically-or-numerically)
513 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
514 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
515 (todo-toggle-item-header, todo-toggle-item-highlighting)
516 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
517 (todo-toggle-view-done-items, todo-toggle-view-done-only)
518 (todo-unarchive-items, todo-unmark-category): New commands.
519 (todo-absolute-file-name, todo-add-to-buffer-list)
520 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
521 (todo-basic-insert-item, todo-category-completions)
522 (todo-category-number, todo-category-string-matcher-1)
523 (todo-category-string-matcher-2, todo-check-filtered-items-file)
524 (todo-check-format, todo-clear-matches)
525 (todo-comment-string-matcher, todo-convert-legacy-date-time)
526 (todo-current-category, todo-date-string-matcher)
527 (todo-define-insertion-command, todo-diary-expired-matcher)
528 (todo-diary-goto-entry, todo-diary-item-p)
529 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
530 (todo-display-categories, todo-display-sorted, todo-done-item-p)
531 (todo-done-item-section-p, todo-done-separator)
532 (todo-done-string-matcher, todo-files, todo-filter-items)
533 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
534 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
535 (todo-insert-category-line, todo-insert-item-from-calendar)
536 (todo-insert-sort-button, todo-insert-with-overlays)
537 (todo-insertion-command-name, todo-insertion-key-bindings)
538 (todo-label-to-key, todo-longest-category-name-length)
539 (todo-make-categories-list, todo-mode-external-set)
540 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
541 (todo-modes-set-3, todo-multiple-filter-files)
542 (todo-nondiary-marker-matcher, todo-prefix-overlays)
543 (todo-read-category, todo-read-date, todo-read-dayname)
544 (todo-read-file-name, todo-read-time)
545 (todo-reevaluate-category-completions-files-defcustom)
546 (todo-reevaluate-default-file-defcustom)
547 (todo-reevaluate-filelist-defcustoms)
548 (todo-reevaluate-filter-files-defcustom)
549 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
550 (todo-reset-done-separator, todo-reset-done-separator-string)
551 (todo-reset-done-string, todo-reset-global-current-todo-file)
552 (todo-reset-highlight-item, todo-reset-nondiary-marker)
553 (todo-reset-prefix, todo-set-categories)
554 (todo-set-date-from-calendar, todo-set-show-current-file)
555 (todo-set-top-priorities, todo-short-file-name)
556 (todo-show-current-file, todo-sort, todo-time-string-matcher)
557 (todo-total-item-counts, todo-update-buffer-list)
558 (todo-update-categories-display, todo-update-categories-sexp)
559 (todo-update-count, todo-validate-name, todo-y-or-n-p):
560 New functions.
561 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
562 New major modes.
563 (todo-categories, todo-display, todo-edit, todo-faces)
564 (todo-filtered): New defgroups.
565 (todo-archived-only, todo-button, todo-category-string, todo-date)
566 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
567 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
568 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
569 (todo-add-item-if-new-category, todo-always-add-time-string)
570 (todo-categories-align, todo-categories-archived-label)
571 (todo-categories-category-label, todo-categories-diary-label)
572 (todo-categories-done-label, todo-categories-number-separator)
573 (todo-categories-todo-label, todo-categories-totals-label)
574 (todo-category-completions-files, todo-completion-ignore-case)
575 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
576 (todo-done-separator-string, todo-done-string)
577 (todo-files-function, todo-filter-done-items, todo-filter-files)
578 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
579 (todo-initial-category, todo-initial-file, todo-item-mark)
580 (todo-legacy-date-time-regexp, todo-mode-line-function)
581 (todo-nondiary-marker, todo-number-prefix)
582 (todo-print-buffer-function, todo-show-current-file)
583 (todo-show-done-only, todo-show-first, todo-show-with-done)
584 (todo-skip-archived-categories, todo-top-priorities-overrides)
585 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
586 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
587 New defcustoms.
588 (todo-category-done, todo-date-pattern, todo-date-string-start)
589 (todo-diary-items-buffer, todo-done-string-start)
590 (todo-filtered-items-buffer, todo-item-start)
591 (todo-month-abbrev-array, todo-month-name-array)
592 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
593 (todo-top-priorities-buffer): New defconsts.
594 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
595 (todo-categories-with-marks, todo-category-string-face)
596 (todo-comment-face, todo-comment-string, todo-current-todo-file)
597 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
598 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
599 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
600 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
601 (todo-font-lock-keywords, todo-global-current-todo-file)
602 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
603 (todo-insertion-commands-args)
604 (todo-insertion-commands-args-genlist)
605 (todo-insertion-commands-names, todo-insertion-map)
606 (todo-key-bindings-t, todo-key-bindings-t+a)
607 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
608 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
609 (todo-nondiary-face, todo-print-buffer, todo-time-face)
610 (todo-visited): New variables.
611
cad5d1cb
GM
6122013-06-21 Glenn Morris <rgm@gnu.org>
613
614 * play/cookie1.el (cookie-apropos): Add optional display argument.
615 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
616 (psychoanalyze-pinhead): Use cookie-doctor.
617
9e277302
JB
6182013-06-21 Juanma Barranquero <lekktu@gmail.com>
619
620 * emacs-lisp/package.el (tar-get-file-descriptor)
621 (tar--extract): Declare.
622
c5b0993e
EW
6232013-06-21 Eduard Wiebe <usenet@pusto.de>
624
625 Extend flymake's warning predicate to be a function (bug#14217).
626 * progmodes/flymake.el (flymake-warning-predicate): New.
627 (flymake-parse-line): Use it.
628 (flymake-warning-re): Make obsolete alias to
629 `flymake-warning-predicate'.
630
a7d2d465
SM
6312013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
632
633 * emacs-lisp/package.el (package-alist): Include obsolete packages.
634 (package-obsolete-list): Remove.
635 (package-activate): Remove min-version argument. Add `force' argument.
636 Adjust to new package-alist format.
637 (package-mark-obsolete): Remove.
638 (package-unpack): Force reload of the package's autoloads.
639 (package-installed-p): Check builtins if the installed package is not
640 recent enough.
641 (package-initialize): Don't reset package-obsolete-list.
642 Don't specify which package version to activate.
643 (package-process-define-package, describe-package-1)
644 (package-menu--generate): Adjust to new package-alist format.
645
cedf5c9d
JB
6462013-06-21 Juanma Barranquero <lekktu@gmail.com>
647
648 * allout-widgets.el (allout-widgets-mode-off)
649 (allout-widgets-mode-on, allout-widgets-pre-command-business)
650 (allout-widgets-post-command-business)
651 (allout-widgets-after-copy-or-kill-function)
652 (allout-widgets-after-undo-function, allout-test-range-overlaps)
653 (allout-decorate-item-and-context)
654 (allout-graphics-modification-handler): Fix typos in docstrings.
655 (allout-get-or-create-parent-widget): Use `looking-at-p'.
656
657 * cmuscheme.el (scheme-start-file): Doc fix.
658 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
659 (scheme-input-filter): Use `string-match-p'.
660
661 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
662
663 * dired-x.el: Use Dired consistently in docstrings.
664
665 * dired.el: Use Dired consistently in docstrings.
666 (dired-readin, dired-mode): Use `setq-local'.
667 (dired-switches-alist): Make defvar-local.
668 (dired-buffers-for-dir): Use `zerop'.
669 (dired-safe-switches-p, dired-switches-escape-p)
670 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
671 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
672 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
673 (dired-goto-next-nontrivial-file): Use `string-match-p'.
674 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
675 (dired-toggle-marks, dired-mark-files-containing-regexp)
676 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
677 (dired-flag-auto-save-files, dired-flag-backup-files):
678 Use `looking-at-p'.
679 (dired-mark-files-regexp, dired-build-subdir-alist):
680 Use `string-match-p', `looking-at-p'.
681
682 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
683 (direct-print-region-helper): Use `string-match-p'.
684
aed838b5
LL
6852013-06-21 Leo Liu <sdl.web@gmail.com>
686
cedf5c9d
JB
687 * comint.el (comint-redirect-results-list-from-process):
688 Fix infinite loop.
aed838b5 689
d80a808f
LMI
6902013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
691
692 * net/eww.el (eww-update-header-line-format): Quote % characters.
693
e7a526e3
GM
6942013-06-21 Glenn Morris <rgm@gnu.org>
695
696 * play/cookie1.el (cookie): New custom group.
697 (cookie-file): New option.
698 (cookie-check-file): New function.
699 (cookie): Make it interactive. Make start and end messages optional.
700 Interactively, display the result. Default to cookie-file.
701 (cookie-insert): Default to cookie-file.
702 (cookie-snarf): Make start and end messages optional.
703 Default to cookie-file. Use with-temp-buffer.
704 (cookie-read): Rename from read-cookie.
705 Make start and end messages optional. Default to cookie-file.
706 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 707 Do not autoload it.
e7a526e3
GM
708 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
709 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
710
62efb35e
LL
7112013-06-21 Leo Liu <sdl.web@gmail.com>
712
713 * progmodes/octave.el (octave-mode): Backward compatibility fix.
714
21e3f963
GM
7152013-06-21 Glenn Morris <rgm@gnu.org>
716
717 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
718
fd846ab4
SM
7192013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
720 Daniel Hackney <dan@haxney.org>
721
722 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
723 Consolidate the single-file vs tarball code.
724 (package-desc-suffix): New function.
725 (package-desc-full-name): Don't bother inlining it.
726 (package-load-descriptor): Return the new package-desc.
727 (package-mark-obsolete): Remove unused arg `package'.
728 (package-unpack): Make it work for single files as well.
729 Make it update package-alist.
730 (package--make-autoloads-and-stuff): Rename from
731 package--make-autoloads-and-compile. Don't compile any more.
732 (package--compile): New function.
733 (package-generate-description-file): New function, extracted from
734 package-unpack-single.
735 (package-unpack-single): Remove.
736 (package--with-work-buffer): Add indentation and debugging info.
737 (package-download-single): Remove.
738 (package-install-from-archive): Rename from package-download-tar, make
739 it take a pkg-desc, and make it work for single files as well.
740 (package-download-transaction): Simplify.
741 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
742 external tar program.
743 (package-install-from-buffer): Remove `pkg-desc' argument.
744 Use package-tar-file-info for tar-mode buffers.
745 (package-install-file): Simplify accordingly.
746 (package-archive-base): Change to take a pkg-desc.
747 * tar-mode.el (tar--check-descriptor): New function, extracted from
748 tar-get-descriptor.
749 (tar-get-descriptor): Use it.
750 (tar-get-file-descriptor): New function.
751 (tar--extract): New function, extracted from tar-extract.
752 (tar--extract): Use it.
753 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
754 case the summary uses non-ascii. Adjust to new calling convention of
755 package-tar-file-info.
756
b7deae5e
LL
7572013-06-21 Leo Liu <sdl.web@gmail.com>
758
fd846ab4
SM
759 * comint.el (comint-redirect-results-list-from-process):
760 Fix random delay. (Bug#14681)
b7deae5e 761
7a65a0b2
JB
7622013-06-21 Juanma Barranquero <lekktu@gmail.com>
763
764 * profiler.el (profiler-format-number): Use log, not log10.
765
1493c2af
JB
7662013-06-20 Juanma Barranquero <lekktu@gmail.com>
767
768 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
769
aff6371e
SM
7702013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
771
772 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
773 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
774 yet available.
775 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
776 (AUTOGENEL): ... here.
777 * emacs-lisp/cl-macs.el (cl--sublis): New function.
778 (cl--defsubst-expand): Use it.
779
89561f72
PE
7802013-06-20 Paul Eggert <eggert@cs.ucla.edu>
781
782 * subr.el (log10): Move here from C code, and declare as obsolete.
783 All uses of (log10 X) replaced with (log X 10).
784
47199123
JB
7852013-06-20 Juanma Barranquero <lekktu@gmail.com>
786
787 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
788 Declare with `defvar-local'.
789 (tabulated-list-use-header-line, tabulated-list-entries)
790 (tabulated-list-padding, tabulated-list-printer)
791 (tabulated-list-sort-key): Declare with `defvar-local'.
792 (tabulated-list-init-header, tabulated-list-print-fake-header):
793 Use `setq-local'.
794
4a172eab
MA
7952013-06-20 Michael Albinus <michael.albinus@gmx.de>
796
47199123
JB
797 * arc-mode.el (archive-mode): Add `archive-write-file' to
798 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 799
5fc0acc0
JB
8002013-06-20 Juanma Barranquero <lekktu@gmail.com>
801
d5b27848
JB
802 * cus-edit.el (custom-commands): Fix typos.
803 (custom-display): Fix tooltip text.
804 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
805 Fix typos in docstrings.
806 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
807 (custom-unlispify-menu-entry, custom-magic-value-create)
808 (custom-add-see-also, custom-group-value-create): Use ?\s.
809 (custom-guess-type, customize-apropos, editable-field)
810 (custom-face-value-create): Use `string-match-p'.
811 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
812
813 * custom.el (custom-load-symbol): Use `string-match-p'.
814
a5c581d8
JB
815 * ansi-color.el: Convert to lexical binding.
816 (ansi-colors): Fix URL.
817 (ansi-color-context, ansi-color-context-region): Use defvar-local.
818 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
819 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
820
970ad972
G
8212013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
822
823 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
824
825 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
826
8272013-06-19 Tom Tromey <tromey@redhat.com>
828
829 * net/eww.el (eww-top-url): Remove.
830 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
831 (eww-render): Set new variables. Don't set eww-top-url.
832 (eww-handle-link): Handle "prev", "home", and "contents".
833 Downcase the rel text.
834 (eww-top-url): Choose best top URL.
835
8362013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
837
838 * net/eww.el: Rewrite to implement form elements "by hand" instead of
839 relying in widget.el. Using widget.el leads to too many
840 user interface inconsistencies.
841 (eww-self-insert): Implement entering commands in text fields.
842 (eww-process-text-input): New function to make text input field editing
843 work.
844 (eww-submit): Rewrite to use the new-style form methods.
845 (eww-select-display): Display the correct selected item.
846 (eww-change-select): Implement changing the select value.
847 (eww-toggle-checkbox): Implement radio/checkboxes.
848 (eww-update-field): Fix compilation error.
849 (eww-tag-textarea): Implement <textarea>.
850
851 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
852 we don't shadow mode-specific bindings.
853
854 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
855 nothing to push.
856
857 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
858
3db52056
GM
8592013-06-19 Glenn Morris <rgm@fencepost.gnu.org>
860
861 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
862
15b263dc
MA
8632013-06-19 Michael Albinus <michael.albinus@gmx.de>
864
865 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
866 not needed.
867
868 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
869
8f5297f7
LMI
8702013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
871
872 * net/browse-url.el (browse-url-browser-function):
873 `eww-browse-url' has the right calling signature, `eww' does not.
874
011c4552
GM
8752013-06-19 Glenn Morris <rgm@gnu.org>
876
2285bd27
GM
877 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
878 Only eval autoloaded macros.
879 (byte-compile-autoload): Only give the macro warning for macros.
880
1d653303
GM
881 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
882 (ps-underlined-faces): Declare.
883
bdd779ec
GM
884 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
885 (speedbar-add-supported-extension): Declare.
886
011c4552
GM
887 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
888 Don't include a date stamp in the header of the generated file;
889 it leads to needless differences between output files.
890
e59dfb0e
MA
8912013-06-19 Michael Albinus <michael.albinus@gmx.de>
892
c763842b
SM
893 * net/secrets.el (secrets-struct-secret-content-type):
894 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 895 Some servers do not offer introspection.
e59dfb0e 896
102626e2
SM
8972013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
898
899 * electric.el (electric-pair-mode): Improve interaction with
900 electric-layout-mode.
901 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
902 (electric-pair-syntax): Use text-mode-syntax-table in comments
903 and strings.
904 (electric-pair--insert): New function.
905 (electric-pair-post-self-insert-function): Use it and
906 electric--after-char-pos.
907
ad528125
LL
9082013-06-19 Leo Liu <sdl.web@gmail.com>
909
910 * progmodes/octave.el (octave-help): Fix regexp.
911
924d6997
G
9122013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
913
914 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
915 (shr-table-horizontal-line): Allow nil as a value, and change the
916 default.
917 (shr-insert-table-ruler): Respect the nil value.
918
9192013-06-18 Tom Tromey <tromey@barimba>
920
921 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
922 New defvars.
923 (eww-open-file): New defun.
924 (eww-render): Initialize new variables.
925 (eww-display-html): Handle "link" and "a".
926 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
927 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
928 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
929 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
930 New defuns.
924d6997 931
d1bbba4f
DG
9322013-06-18 Dmitry Gutov <dgutov@yandex.ru>
933
934 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
935 Distinguish ternary operator tokens from slash symbol and slash
936 char literal.
937
14dd22d2
JB
9382013-06-18 Juanma Barranquero <lekktu@gmail.com>
939
940 Convert symbol prettification into minor mode and global minor mode.
941
942 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
943 `prog-prettify-symbols', and make a local defvar instead of defcustom.
944 (prettify-symbols--keywords): Rename from
945 `prog-prettify-symbols-alist' and make a local defvar.
946 (prettify-symbols--compose-symbol): Rename from
947 `prog--prettify-font-lock-compose-symbol'.
948 (prettify-symbols--make-keywords): Rename from
949 `prog-prettify-font-lock-symbols-keywords' and simplify.
950 (prog-prettify-install): Remove.
951 (prettify-symbols-mode): New minor mode, based on
952 `prog-prettify-install'.
953 (turn-on-prettify-symbols-mode): New function.
954 (global-prettify-symbols-mode): New globalized minor mode.
955
956 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
957 * progmodes/cfengine.el (cfengine3-mode):
958 * progmodes/perl-mode.el (perl-mode): Don't call
959 `prog-prettify-install'; set `prettify-symbols-alist' instead.
960
292c880c
JL
9612013-06-18 Juri Linkov <juri@jurta.org>
962
963 * files-x.el (modify-file-local-variable-message): New function.
964 (modify-file-local-variable)
965 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
966 and call `modify-file-local-variable-message' when it's non-nil.
967 (add-file-local-variable, delete-file-local-variable)
968 (add-file-local-variable-prop-line)
969 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
970 and use it. (Bug#9820)
971
0950aa27
JL
9722013-06-18 Juri Linkov <juri@jurta.org>
973
974 * emulation/vi.el (vi-shell-op):
975 * emulation/vip.el (vip-execute-com, ex-command):
976 * emulation/viper-cmd.el (viper-exec-bang):
977 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
978 the call of `shell-command-on-region'. (Bug#14637)
979
980 * simple.el (shell-command-on-region): Doc fix.
981
8fbcca16
SM
9822013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
983
984 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
985 (bug#14633).
986
dd7426ea
GM
9872013-06-18 Glenn Morris <rgm@gnu.org>
988
4ba54f7d
GM
989 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
990
dd7426ea
GM
991 * newcomment.el (comment-search-forward, comment-search-backward):
992 Doc fix. (Bug#14376)
993
58aa805b
JB
9942013-06-18 Juanma Barranquero <lekktu@gmail.com>
995
996 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
997 (buffer-face-mode-invoke): Doc fix.
998
9a08a617
MM
9992013-06-18 Matthias Meulien <orontee@gmail.com>
1000
1001 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
1002
f2f426ca
GM
10032013-06-18 Glenn Morris <rgm@gnu.org>
1004
9445f99b
GM
1005 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
1006 Replace obsolete function generic-make-keywords with its expansion.
1007
e0df2d14
GM
1008 * progmodes/python.el (ffap-alist): Declare.
1009
f2f426ca
GM
1010 * textmodes/reftex.el (bibtex-mode-map): Declare.
1011
f7f9a720
SM
10122013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1013
1014 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
1015 (package-unpack, package-unpack-single): Return the pkg-dir.
1016 (package-download-transaction): Use it to update package-alist.
1017
57ff04e0
LMI
10182013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1019
1020 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
1021 possible choice.
1022
c048c022
JL
10232013-06-17 Juri Linkov <juri@jurta.org>
1024
1025 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
1026
b5bcaee5
DG
10272013-06-17 Dmitry Gutov <dgutov@yandex.ru>
1028
a020afb9
JB
1029 * emacs-lisp/package.el (package-load-descriptor):
1030 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
1031 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
1032
551e07e5
JB
10332013-06-17 Juanma Barranquero <lekktu@gmail.com>
1034
1035 * startup.el (command-line): Expand package name returned by
1036 `package--description-file' (bug#14639).
1037
d363bffb
DG
10382013-06-17 Dmitry Gutov <dgutov@yandex.ru>
1039
1040 * emacs-lisp/package.el (package-load-descriptor): Do not call
1041 `emacs-lisp-mode', just use its syntax table.
1042
f612933b
JB
10432013-06-17 Juanma Barranquero <lekktu@gmail.com>
1044
1045 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
1046 `font-lock-extra-managed-props' if any prettifying keyword is added.
1047 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
1048 (prog-mode): Use `setq-local'.
1049
db3b7db5
SM
10502013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1051
1052 * international/characters.el (standard-case-table): Set syntax of ?»
1053 and ?« to punctuation.
1054
f3d674df
JB
10552013-06-16 Juanma Barranquero <lekktu@gmail.com>
1056
1057 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
1058 Save relevant match data before calling `syntax-ppss' (bug#14595).
1059
31489a32
JL
10602013-06-15 Juri Linkov <juri@jurta.org>
1061
1062 * files-x.el (modify-file-local-variable-prop-line): Add local
1063 variables to the end of the existing comment on the first line.
1064 Use `file-auto-mode-skip' to skip interpreter magic line,
1065 and also skip XML declaration.
1066
66bd25ab
SM
10672013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1068
1069 * startup.el (package--builtin-versions): New var.
1070 (package-subdirectory-regexp): Remove.
1071 (package--description-file): Hard code its value instead.
1072
1073 * emacs-lisp/package.el: Don't activate packages older than builtin.
1074 (package-obsolete-list): Rename from package-obsolete-alist, and make
1075 it into a simple list of package-desc.
1076 (package-strip-version): Remove.
1077 (package-built-in-p): Use package--builtin-versions.
1078 (package-mark-obsolete): Simplify.
1079 (package-process-define-package): Mark it obsolete if older than the
1080 builtin version.
1081 (package-handle-response): Use line-end-position.
1082 (package-read-archive-contents, package--download-one-archive):
1083 Simplify.
1084 (package--add-to-archive-contents): Skip if older than the builtin or
1085 installed version.
1086 (package-menu-describe-package): Fix last change.
1087 (package-list-unversioned): New var.
1088 (package-menu--generate): Use it.
1089
1090 * emacs-lisp/autoload.el: Manage package--builtin-versions.
1091 (autoload--insert-text, autoload--insert-cookie-text): New functions.
1092 (autoload-builtin-package-versions): New variable.
1093 (autoload-generate-file-autoloads): Use them.
1094 Remove the list of autoloaded functions/macros from the
1095 (autoload...) comments.
1096
1097 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
1098
9583ec36
EZ
10992013-06-15 Eli Zaretskii <eliz@gnu.org>
1100
1101 * simple.el (line-move-partial): Don't jump to the next screen
1102 line as soon as it becomes visible. Instead, continue enlarging
1103 the vscroll until the portion of a tall screen line that's left on
1104 display is about the height of the frame's default font.
1105 (Bug#14567)
1106
f0100d8a
GM
11072013-06-15 Glenn Morris <rgm@gnu.org>
1108
b86a85ca
GM
1109 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
1110 compilation-error-regexp-alist void, or local while let-bound.
1111
f0100d8a
GM
1112 * progmodes/make-mode.el (makefile-mode-syntax-table):
1113 Treat "=" as punctuation. (Bug#14614)
1114
05e7ce90
JB
11152013-06-15 Juanma Barranquero <lekktu@gmail.com>
1116
1117 * help-fns.el (describe-variable):
1118 Add extra line for permanent-local variables.
1119
12e5e86e
SH
11202013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
1121
1122 * progmodes/scheme.el (scheme-font-lock-keywords-2):
1123 Add export, import, library. (Bug#9164)
1124 (library): Set indent function.
1125
230dcbaf
GM
11262013-06-14 Glenn Morris <rgm@gnu.org>
1127
1128 * term/xterm.el (xterm--query):
1129 Stop after first matching handler. (Bug#14615)
1130
a020afb9 11312013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
1132
1133 Add support for dired in saveplace.
1134 * dired.el (dired-initial-position-hook): New variable.
1135 (dired-initial-position): Call hook to place cursor position.
1136 * saveplace.el (save-place-to-alist): Add dired position.
1137 (save-place-dired-hook): New function.
1138
0b31660d
SM
11392013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
1140
bf1e6ae8
SM
1141 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
1142 through a symbol rather than letrec.
1143
1b8dff23
SM
1144 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
1145 (package-desc): Add `dir' field.
1146 (package-desc-full-name): New function.
1147 (package-load-descriptor): Combine the two arguments. Don't use `load'.
1148 (package-maybe-load-descriptor): Remove.
1149 (package-load-all-descriptors): Just call package-load-descriptor.
1150 (package--disabled-p): New function.
1151 (package-desc-vers, package-desc-doc): Remove aliases.
1152 (package--dir): Remove function.
1153 (package-activate): Check if a package is disabled.
1154 (package-process-define-package): New function, extracted from
1155 define-package.
1156 (define-package): Turn into a place holder.
1157 (package-unpack-single, package-tar-file-info):
1158 Use package--description-file.
1159 (package-compute-transaction): Use package--disabled-p.
1160 (package-download-transaction): Don't call
1161 package-maybe-load-descriptor since they're all loaded anyway.
1162 (package-install): Change argument to be a pkg-desc.
1163 (package-delete): Use a single pkg-desc argument.
1164 (describe-package-1): Use package-desc-dir instead of package--dir.
1165 Use package-desc property instead of package-symbol.
1166 (package-install-button-action): Adjust accordingly.
1167 (package--push): Rewrite.
1168 (package-menu--print-info): Adjust accordingly. Change the ID format
1169 to be a pkg-desc.
1170 (package-menu-describe-package, package-menu-get-status)
1171 (package-menu--find-upgrades, package-menu-mark-upgrades)
1172 (package-menu-execute, package-menu--name-predicate):
1173 Adjust accordingly.
1174 * startup.el (package--description-file): New function.
1175 (command-line): Use it.
1176 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1177 Use package-desc-version.
1178
0b31660d
SM
1179 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
1180 (byte-compile-preprocess): Use it.
1181 (byte-compile-file-form-defalias): Try a bit harder to use macros we
1182 can't quite recognize.
1183 (byte-compile-add-to-list): Remove.
1184 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
1185 (cconv-closure-convert): Add assertion.
1186
1187 * emacs-lisp/map-ynp.el: Use lexical-binding.
1188 (map-y-or-n-p): Remove unused vars `tail' and `object'.
1189 Factor out some repeated code.
1190
de0503df
SM
11912013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1192
1193 * subr.el (with-eval-after-load): New macro.
1194 (eval-after-load): Allow form to be a function.
1195 take advantage of lexical-binding.
1196 (do-after-load-evaluation): Use dolist and adjust to new format.
1197 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
1198
bc5c8c5a
JL
11992013-06-13 Juri Linkov <juri@jurta.org>
1200
1201 * replace.el (perform-replace): Display "symbol " and other search
1202 modes from `isearch-message-prefix' in the *Help* buffer.
1203
1204 * isearch.el (isearch-query-replace): Add " symbol" and other
1205 possible search modes from `isearch-message-prefix' to the prompt.
1206 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
1207 when reading a regexp to collect.
1208
a22289f7
JL
12092013-06-13 Juri Linkov <juri@jurta.org>
1210
1211 * isearch.el (word-search-regexp): Match whitespace if the search
1212 string begins or ends in whitespace. The LAX arg is applied to
1213 both ends of the search string. Use `regexp-quote' and explicit
1214 \< and \> instead of \b. Use \` and \' instead of ^ and $.
1215 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
1216 boundaries are replaced with symbol boundaries, and characters
1217 between symbols match non-word non-symbol syntax. (Bug#14602)
1218
cb89acab
JL
12192013-06-13 Juri Linkov <juri@jurta.org>
1220
1221 * isearch.el (isearch-del-char): Don't exceed the length of
1222 `isearch-string' by the prefix arg. (Bug#14563)
1223
6e8cfc81
JL
12242013-06-13 Juri Linkov <juri@jurta.org>
1225
1226 * isearch.el (isearch-yank-word, isearch-yank-line)
1227 (isearch-char-by-name, isearch-quote-char)
1228 (isearch-printing-char, isearch-process-search-char):
1229 Add optional count prefix arg. (Bug#14563)
1230
1231 * international/isearch-x.el
1232 (isearch-process-search-multibyte-characters):
1233 Add optional count prefix arg.
1234
c23d55f4
VS
12352013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1236
1237 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
1238 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
1239 lexical-binding.
1240
12412013-06-13 Vitalie Spinu <spinuvit@gmail.com>
1242
1243 * subr.el (set-temporary-overlay-map): Add on-exit argument.
1244
ba947bc4
GM
12452013-06-13 Glenn Morris <rgm@gnu.org>
1246
8baeb37a
GM
1247 * startup.el (tty-handle-args):
1248 Don't just discard "--" and anything after. (Bug#14608)
1249
ba947bc4
GM
1250 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
1251
9abefce4
MA
12522013-06-13 Michael Albinus <michael.albinus@gmx.de>
1253
1254 Implement changes in Secret Service API. Make it backward compatible.
1255 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
1256 (secrets-create-item): Use it. Prefix properties with interface.
1257
5755011f
MH
12582013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
1259
1260 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
1261 (term-emulate-terminal): Respect term-suppress-hard-newline.
1262
1261d2da
S
12632013-06-13 E Sabof <esabof@gmail.com> (tiny change)
1264
1265 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
1266 Only remove a `thumb-file' overlay. (Bug#14548)
1267
868490bb
GJ
12682013-06-12 Grégoire Jadi <daimrod@gmail.com>
1269
1270 * mail/reporter.el (reporter-submit-bug-report):
1271 Handle missing package-name. (Bug#14600)
1272
79d7167f
TH
12732013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1274
1275 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
1276 (reftex-citation-prompt, reftex-default-bibliography)
1277 (reftex-bib-or-thebib, reftex-get-bibfile-list)
1278 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
1279 (reftex-bib-sort-author, reftex-bib-sort-year)
1280 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
1281 (reftex-extract-bib-entries-from-thebibliography)
1282 (reftex-get-bibkey-default, reftex-get-bib-names)
1283 (reftex-parse-bibtex-entry, reftex-get-bib-field)
1284 (reftex-format-bib-entry, reftex-parse-bibitem)
1285 (reftex-format-bibitem, reftex-do-citation)
1286 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
1287 (reftex-restrict-bib-matches, reftex-extract-bib-file)
1288 (reftex-insert-bib-matches, reftex-format-citation)
1289 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
1290 (reftex-create-bibtex-file): Add docstrings, mostly by converting
1291 existing comments into docstrings.
1292
5f9dbd7a
XF
12932013-06-12 Xue Fuqiao <xfq.free@gmail.com>
1294
1295 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
1296
94df41ab
AS
12972013-06-12 Andreas Schwab <schwab@suse.de>
1298
1299 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
1300 for auto-save files.
1301
a7f3fecc
GM
13022013-06-12 Glenn Morris <rgm@gnu.org>
1303
001809f6
GM
1304 * ido.el (ido-delete-ignored-files): Remove.
1305 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
1306 Go back to calling ido-ignore-item-p directly.
a7f3fecc 1307
834b5ded
EL
13082013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
1309
08c73ed2
EL
1310 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
1311
834b5ded
EL
1312 * ido.el (ido-delete-ignored-files): New function,
1313 split from ido-make-file-list-1.
1314 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
1315 (ido-make-file-list-1): Use ido-delete-ignored-files.
1316
daabf15a
LL
13172013-06-12 Leo Liu <sdl.web@gmail.com>
1318
1319 * progmodes/octave.el (inferior-octave-startup)
1320 (inferior-octave-completion-table)
1321 (inferior-octave-track-window-width-change)
1322 (octave-eldoc-function-signatures, octave-help)
1323 (octave-find-definition): Use single quoted strings.
1324 (inferior-octave-startup-args): Change default value.
1325 (inferior-octave-startup): Do not hard code "-i" and
1326 "--no-line-editing".
1327 (inferior-octave-resync-dirs): Add optional arg NOERROR.
1328 (inferior-octave-directory-tracker): Use it.
1329 (octave-goto-function-definition): Robustify.
1330 (octave-help): Support highlighting operators in 'See also'.
1331 (octave-find-definition): Find subfunctions only in Octave mode.
1332
cf4e5178
SM
13332013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1334
1335 * help-fns.el (help-fns--compiler-macro): If the handler function is
1336 named, then put a link to it.
1337 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
1338 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
1339 (cl-typep): Use it.
1340 (cl-eval-when): Simplify debug spec.
1341 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
1342 compiler-macro function instead of setting `compiler-macro-file'.
1343
99c81280 13442013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
1345
1346 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
1347 * vc/vc-hooks.el (vc-stay-local): Doc fix.
1348
f56be016
SM
13492013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1350 Daniel Hackney <dan@haxney.org>
1351
1352 First part of Daniel Hackney's patch to package.el.
1353 * emacs-lisp/package.el: Use defstruct.
1354 (package-desc): New, main struct.
1355 (package--bi-desc, package--ac-desc): New structs, used to describe the
1356 format in external files.
1357 (package-desc-vers): Replace with package-desc-version accessor.
1358 (package-desc-doc): Replace with package-desc-summary accessor.
1359 (package-activate-1): Remove `package' arg since the pkg-vec now
1360 includes the name.
1361 (define-package): Use package-desc-from-define.
1362 (package-unpack-single): Change file-name arg to be a symbol.
1363 (package--add-to-archive-contents): Use package-desc-create and new
1364 accessor functions to package--ac-desc.
1365 (package-buffer-info, package-tar-file-info): Return a package-desc.
1366 (package-install-from-buffer): Remove `type' argument. Change pkg-info
1367 arg to be a package-desc.
1368 (package-install-file): Adjust accordingly. Use \' to match EOS.
1369 (package--from-builtin): New function.
1370 (describe-package-1, package-menu--generate): Use it.
1371 (package--make-autoloads-and-compile): Change name arg to be a symbol.
1372 (package-generate-autoloads): Idem and return the name of the file.
1373 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1374 Change pkg-info arg to be a package-desc.
1375 Use package-make-ac-desc.
1376 (package-upload-file): Use \' to match EOS.
1377 * finder.el (finder-compile-keywords): Use package-make-builtin.
1378
31119d63
SM
13792013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1380
931a2762
SM
1381 * vc/vc.el (vc-deduce-fileset): Change error message.
1382 (vc-read-backend): New function.
1383 (vc-next-action): Use it.
1384
5a3eb0c6
SM
1385 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
1386
e3eb1bb7
SM
1387 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
1388 (prolog-font-lock-keywords): Use regexp-opt instead.
1389 Don't manually highlight strings.
1390 (prolog-mode-variables): Simplify comment-start-skip.
1391 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
1392
31119d63
SM
1393 * emacs-lisp/generic.el (generic--normalise-comments)
1394 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
1395 (generic-mode-set-comments): Use them.
1396 (generic-bracket-support): Use setq-local.
1397 (generic-make-keywords-list): Declare obsolete.
1398
7de135d0
GM
13992013-06-11 Glenn Morris <rgm@gnu.org>
1400
1401 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1402 Prettify after setting font-lock-defaults. (Bug#14574)
1403
fa6bc6fd
JB
14042013-06-11 Juanma Barranquero <lekktu@gmail.com>
1405
1406 * replace.el (query-replace, occur-read-regexp-defaults-function)
1407 (replace-search):
1408 * subr.el (declare-function, number-sequence, local-set-key)
1409 (substitute-key-definition, locate-user-emacs-file)
1410 (with-silent-modifications, split-string, eval-after-load):
1411 Fix typos, remove unneeded backslashes and reflow some docstrings.
1412
cf1f9b9a
SM
14132013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1414
1415 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
1416 default for Elisp files.
1417
56602a4b
GM
14182013-06-11 Glenn Morris <rgm@gnu.org>
1419
1420 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
1421 although define-derived-mode was doing this anyway. (Bug#14583)
1422
30ae0b2c
JB
14232013-06-10 Juanma Barranquero <lekktu@gmail.com>
1424
1425 * allout.el (allout-encryption-plaintext-sanitization-regexps):
1426 Fix make-variable-buffer-local call to refer to the correct variable.
1427
fa472906
AG
14282013-06-10 Aidan Gauland <aidalgol@amuri.net>
1429
1430 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
1431 (eshell-visual-subcommands, eshell-visual-options):
1432 Add summary line to docstrings. Add cross-references.
fa472906 1433
ff4871b9
GM
14342013-06-10 Glenn Morris <rgm@gnu.org>
1435
1436 * epa.el (epa-read-file-name): New function. (Bug#14510)
1437 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
1438
04fcf1b0
AG
14392013-06-09 Aidan Gauland <aidalgol@amuri.net>
1440
1441 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
1442 output redirection to be ignored with visual commands.
1443
88b00caa
AG
14442013-06-09 Aidan Gauland <aidalgol@amuri.net>
1445
1446 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
1447 (eshell-term-initialize): Move long lambda to separate function
1448 eshell-visual-command-p.
e7b41c4c
JB
1449 * eshell/em-dirs.el (eshell-dirs-initialise):
1450 * eshell/em-script.el (eshell-script-initialize):
1451 Add missing #' to lambda.
88b00caa 1452
fda74125
LL
14532013-06-08 Leo Liu <sdl.web@gmail.com>
1454
1455 * progmodes/octave.el (octave-add-log-current-defun): New function.
1456 (octave-mode): Set add-log-current-defun-function.
1457 (octave-goto-function-definition): Do not move point if not found.
1458 (octave-find-definition): Enhance to try subfunctions first.
1459
467f3b33
GM
14602013-06-08 Glenn Morris <rgm@gnu.org>
1461
1462 * emacs-lisp/bytecomp.el (byte-compile-char-before)
1463 (byte-compile-backward-char, byte-compile-backward-word):
1464 Improve previous change, to handle non-explicit nil.
1465
544badc3
SM
14662013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1467
1468 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
1469 (smie--opener/closer-at-point): New function.
1470 (smie--matching-block-data): Use it. Don't match from right after an
1471 opener or right before a closer. Obey smie-blink-matching-inners.
1472 Don't signal a mismatch for repeated inners like "switch..case..case".
1473
a175bf33
LL
14742013-06-07 Leo Liu <sdl.web@gmail.com>
1475
1476 * progmodes/octave.el (octave-mode): Set comment-use-global-state
1477 to t. (Bug#14303)
ce8209d4
LL
1478 (octave-function-header-regexp): Fix. (Bug#14570)
1479 (octave-help-mode-finish-hook, octave-help-mode-finish):
1480 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
1481
1482 * newcomment.el (comment-search-backward): Revert last change.
1483 (Bug#14434)
1484
1485 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
1486
a822acff
EZ
14872013-06-07 Eli Zaretskii <eliz@gnu.org>
1488
1489 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
1490 through xargs, to avoid failure due to MS-Windows limitations on
1491 command-line length.
1492
961166f5
GM
14932013-06-06 Glenn Morris <rgm@gnu.org>
1494
d0341459
GM
1495 * font-lock.el (lisp-font-lock-keywords-2):
1496 Treat user-error like error.
1497
961166f5
GM
1498 * emacs-lisp/bytecomp.el (byte-compile-char-before)
1499 (byte-compile-backward-char, byte-compile-backward-word):
1500 Handle explicit nil arguments. (Bug#14565)
1501
80fa505f
AM
15022013-06-05 Alan Mackenzie <acm@muc.de>
1503
1504 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 1505 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 1506 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 1507 (Bug#9706)
80fa505f 1508
fccdc796
SM
15092013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1510
1511 * autorevert.el (auto-revert-notify-handler): Use memq.
1512 Hide assertion failure.
1513
1514 * skeleton.el: Use cl-lib.
1515 (skeleton-further-elements): Use defvar-local.
1516 (skeleton-insert): Use cl-progv.
1517
9bfff84b
TZ
15182013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
1519
1520 * progmodes/prog-mode.el (prog-prettify-symbols)
1521 (prog-prettify-install): Update docstrings.
1522
55577e7c
SM
15232013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1524
1525 * simple.el: Move all the prog-mode code to prog-mode.el.
1526 * progmodes/prog-mode.el: New file.
1527 * loadup.el: Add prog-mode.el.
1528
8fc57765
TZ
15292013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
1530
1531 * simple.el (prog-prettify-symbols): Add version.
1532 (prog-prettify-install): Add convenience function to prettify symbols.
1533
1534 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
1535 (perl--augmented-font-lock-keywords-1)
1536 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
1537 variables and use it.
1538
1539 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
1540 (cfengine3-mode): Remove unneeded variable and use it.
1541
1542 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
1543 (lisp--augmented-font-lock-keywords-1)
1544 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
1545 Remove unneeded variables and use it.
1546
650645d5 15472013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
1548
1549 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 1550 to point when opening the connection. (Bug#14380)
28f5da6d 1551
781b4af6
SM
15522013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1553
1554 * subr.el (load-history-regexp, load-history-filename-element)
1555 (eval-after-load, after-load-functions, do-after-load-evaluation)
1556 (eval-next-after-load, display-delayed-warnings)
1557 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
1558 definition of save-match-data.
1559 (overriding-local-map): Remove accidental obsolescence declaration.
1560
1561 * emacs-lisp/edebug.el (edebug-result): Move before first use.
1562
3ca0d0b4
TZ
15632013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
1564
1565 Generalize symbol prettify support to prog-mode and implement it
1566 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
1567 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
1568 (prog--prettify-font-lock-compose-symbol)
1569 (prog-prettify-font-lock-symbols-keywords): New variables and
1570 functions to support symbol prettification.
1571 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
1572 (lisp--augmented-font-lock-keywords-1)
1573 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
1574 (lisp--prettify-symbols-alist): Implement prettify of lambda.
1575 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
1576 (cfengine3--prettify-symbols-alist, cfengine3-mode):
1577 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
1578 * progmodes/perl-mode.el (perl-prettify-symbols)
1579 (perl--font-lock-compose-symbol)
1580 (perl--font-lock-symbols-keywords): Move to prog-mode.
1581 (perl--prettify-symbols-alist): Prettify -> => :: strings.
1582 (perl-font-lock-keywords-1)
1583 (perl-font-lock-keywords-2): Remove explicit prettify support.
1584 (perl--augmented-font-lock-keywords)
1585 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
1586 (perl--augmented-font-lock-keywords-2, perl-mode):
1587 Implement prettify support.
3ca0d0b4 1588
976cb066
LL
15892013-06-05 Leo Liu <sdl.web@gmail.com>
1590
1591 Re-implement smie matching block highlight using
1592 show-paren-data-function. (Bug#14395)
1593 * emacs-lisp/smie.el (smie-matching-block-highlight)
1594 (smie--highlight-matching-block-overlay)
1595 (smie--highlight-matching-block-lastpos)
1596 (smie-highlight-matching-block)
1597 (smie-highlight-matching-block-mode): Remove.
1598 (smie--matching-block-data-cache): New variable.
1599 (smie--matching-block-data): New function.
1600 (smie-setup): Use smie--matching-block-data for
1601 show-paren-data-function.
1602
1603 * progmodes/octave.el (octave-mode-menu): Fix.
1604 (octave-find-definition): Skip garbage lines.
1605
208d0342
SM
16062013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1607
1608 Fix compilation error with simultaneous dynamic+lexical scoping.
1609 Add warning when a defvar appears after the first let-binding.
1610 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
1611 (byte-compile-close-variables): Initialize it.
1612 (byte-compile--declare-var): New function.
1613 (byte-compile-file-form-defvar)
1614 (byte-compile-file-form-define-abbrev-table)
1615 (byte-compile-file-form-custom-declare-variable): Use it.
1616 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
1617 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
1618 (byte-compile-bind): Handle dynamic bindings that shadow
1619 lexical bindings.
1620 (byte-compile-unbind): Make arg non-optional.
1621 (byte-compile-let): Simplify.
1622 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
1623 (cconv--analyse-function, cconv-analyse-form): Populate it.
1624 Protect byte-compile-bound-variables to limit the scope of defvars.
1625 (cconv-analyse-form): Add missing rule for (defvar <foo>).
1626 Remove unneeded rule for `declare'.
1627
1628 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
1629 so as to avoid depending on cl-adjoin at run-time.
1630 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
1631
1632 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
1633 (macroexp--warn-and-return): Use it.
1634
2587b005
LL
16352013-06-05 Leo Liu <sdl.web@gmail.com>
1636
1637 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
1638
f1da3c88
LL
16392013-06-04 Leo Liu <sdl.web@gmail.com>
1640
1641 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
1642 (compilation-auto-jump): Suppress the "Mark set" message to give
1643 way to exit message.
1644
3caa391f
AM
16452013-06-04 Alan Mackenzie <acm@muc.de>
1646
1647 Remove faulty optimisation from indentation calculation.
1648 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
1649 search limit based on 2000 characters back from indent-point.
1650
068922a2
TH
16512013-06-03 Tassilo Horn <tsdh@gnu.org>
1652
1653 * eshell/em-term.el (cl-lib): Require `cl-lib'.
1654
1f8fdd53
SM
16552013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
1656
bbcc4d97
SM
1657 * emacs-lisp/lisp.el: Use lexical-binding.
1658 (lisp--local-variables-1, lisp--local-variables): New functions.
1659 (lisp--local-variables-completion-table): New var.
208d0342 1660 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 1661
1f8fdd53
SM
1662 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
1663 eagerly (bug#14422).
1664
c9628c79
MA
16652013-06-03 Michael Albinus <michael.albinus@gmx.de>
1666
1667 * autorevert.el (auto-revert-notify-enabled)
1668 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1669 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
1670 (auto-revert-notify-handler): Handle also gfilenotify.
1671
e7b41c4c 1672 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 1673 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 1674 Remove.
c9628c79 1675
e5e4a942
JL
16762013-06-03 Juri Linkov <juri@jurta.org>
1677
1678 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
1679 `M-s h .'. (Bug#14427)
1680
1681 * hi-lock.el (highlight-symbol-at-point): New alias for the new
1682 command `hi-lock-face-symbol-at-point'.
1683 (hi-lock-face-symbol-at-point): New command.
1684 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
1685 (hi-lock-menu): Add `highlight-symbol-at-point'.
1686 (hi-lock-mode): Doc fix.
1687
1688 * isearch.el (isearch-forward-symbol-at-point): New command.
1689 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
1690 (isearch-highlight-regexp): Add a regexp which matches
1691 words/symbols for word/symbol mode.
1692
1693 * subr.el (find-tag-default-bounds): New function with the body
1694 mostly moved from `find-tag-default'.
1695 (find-tag-default): Move most code to `find-tag-default-bounds',
1696 call it and apply `buffer-substring-no-properties' afterwards.
1697
26b3353a
TH
16982013-06-03 Tassilo Horn <tsdh@gnu.org>
1699
781b4af6
SM
1700 * eshell/em-term.el (eshell-term-initialize):
1701 Use `cl-intersection' rather than `intersection'.
26b3353a 1702
51b60f53
XF
17032013-06-02 Xue Fuqiao <xfq.free@gmail.com>
1704
fe054b63 1705 * vc/log-view.el: Doc fix.
d3ffe17c 1706 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 1707
a0eb10b3 17082013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
1709
1710 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
1711 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
1712 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
1713 (eieio-unbound, eieio-default-superclass)
1714 (eieio--define-field-accessors, method-static, method-before)
1715 (method-primary, method-after, method-num-lists)
1716 (method-generic-before, method-generic-primary)
1717 (method-generic-after, method-num-slots)
1718 (eieio-specialized-key-to-generic-key)
1719 (eieio--check-type, class-v, class-p)
1720 (eieio-class-name, define-obsolete-function-alias)
1721 (eieio-class-parents-fast, eieio-class-children-fast)
1722 (same-class-fast-p, class-constructor, generic-p)
1723 (generic-primary-only-p, generic-primary-only-one-p)
1724 (class-option-assoc, class-option, eieio-object-p)
1725 (class-abstract-p, class-method-invocation-order)
1726 (eieio-defclass-autoload-map, eieio-defclass-autoload)
1727 (eieio-class-un-autoload, eieio-defclass)
1728 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
1729 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
1730 (eieio--defgeneric-init-form, eieio-defgeneric-form)
1731 (eieio-defgeneric-reset-generic-form)
1732 (eieio-defgeneric-form-primary-only)
1733 (eieio-defgeneric-reset-generic-form-primary-only)
1734 (eieio-defgeneric-form-primary-only-one)
1735 (eieio-defgeneric-reset-generic-form-primary-only-one)
1736 (eieio-unbind-method-implementations)
1737 (eieio--defmethod, eieio--typep)
1738 (eieio-perform-slot-validation, eieio-validate-slot-value)
1739 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
1740 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
1741 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
1742 (eieio-slot-name-index, eieio-class-slot-name-index)
1743 (eieio-set-defaults, eieio-initarg-to-attribute)
1744 (eieio-attribute-to-initarg, eieio-c3-candidate)
1745 (eieio-c3-merge-lists, eieio-class-precedence-c3)
1746 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
1747 (eieio-class-precedence-list, eieio-generic-call-methodname)
1748 (eieio-generic-call-arglst, eieio-generic-call-key)
1749 (eieio-generic-call-next-method-list)
1750 (eieio-pre-method-execution-functions, eieio-generic-call)
1751 (eieio-generic-call-primary-only, eieiomt-method-list)
1752 (eieiomt-optimizing-obarray, eieiomt-install)
1753 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
1754 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 1755 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
1756 (defclass): Remove `eval-and-compile' from macro.
1757 (call-next-method, shared-initialize): Instead of using
1758 `scoped-class' variable, use new eieio--scoped-class, and
1759 eieio--with-scoped-class.
1760 (initialize-instance): Rename local variable 'scoped-class' to
1761 'this-class' to remove ambiguitity from old global.
1762
1763 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
1764 eieio.el.
4f405069
JB
1765 (eieio--scoped-class-stack): New variable.
1766 (eieio--scoped-class): New fcn.
890f7890
DE
1767 (eieio--with-scoped-class): New scoping macro.
1768 (eieio-defclass): Use pushnew instead of add-to-list.
1769 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
1770 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
1771 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
1772 `scoped-class' variable, use new eieio--scoped-class, and
1773 eieio--with-scoped-class.
1774
1775 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
1776
d105b0e2
TH
17772013-06-02 Tassilo Horn <tsdh@gnu.org>
1778
1779 * eshell/esh-ext.el (eshell-external-command): Pass args to
1780 `eshell-find-interpreter'.
1781 (eshell-find-interpreter): Add new second parameter ARGS.
1782
1783 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 1784 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
1785
1786 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 1787 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
1788
1789 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
1790 (eshell-visual-options): New defcustom.
1791 (eshell-escape-control-x): Adapt docstring.
1792 (eshell-term-initialize): Test `eshell-visual-subcommands' and
1793 `eshell-visual-options' in addition to `eshell-visual-commands'.
1794 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
1795
f46305c8 17962013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
1797
1798 * progmodes/python.el (python-indent-block-enders): Add break,
1799 continue and raise keywords.
1800
d870df21
GM
18012013-06-01 Glenn Morris <rgm@gnu.org>
1802
9133b82e
GM
1803 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
1804
02c992ec 1805 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
1806 * progmodes/cc-cmds.el (delete-forward-p):
1807 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
1808 * progmodes/cc-engine.el (buffer-syntactic-context):
1809 * progmodes/cc-fonts.el (face-property-instance):
1810 * progmodes/cc-mode.el (set-keymap-parents):
1811 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
1812 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
1813 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
1814 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
1815 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 1816
31e7b090
GM
1817 * progmodes/cc-vars.el (other): Emacs has this widget since
1818 at least 21.1, so don't (re)define it.
1819
d870df21
GM
1820 * eshell/em-cmpl.el (eshell-cmpl-initialize):
1821 Replace the obsolete alias pcomplete-arg-quote-list.
1822
c75c93c7
LL
18232013-06-01 Leo Liu <sdl.web@gmail.com>
1824
1825 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
1826 punctuation syntax.
1827 (inferior-octave-minimal-columns)
1828 (inferior-octave-last-column-width): New variables.
1829 (inferior-octave-track-window-width-change): New function.
1830 (inferior-octave-mode): Adjust column width so that Octave output,
1831 for example from 'ls', can fit into the window nicely.
1832
973d1e12
DG
18332013-05-31 Dmitry Gutov <dgutov@yandex.ru>
1834
1835 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
1836 Highlight expansions inside regexp literals.
1837
0888c286
GM
18382013-05-31 Glenn Morris <rgm@gnu.org>
1839
e26aac1f
GM
1840 * obsolete/sym-comp.el (symbol-complete):
1841 Replace obsolete completion-annotate-function.
1842
0888c286
GM
1843 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
1844
19bb8e62
DG
18452013-05-31 Dmitry Gutov <dgutov@yandex.ru>
1846
781b4af6
SM
1847 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
1848 New function, checks if point is inside a literal that allows
19bb8e62
DG
1849 expression expansion.
1850 (ruby-syntax-propertize-expansion): Use it.
1851 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
1852 around the body.
1853
01dea85f
JL
18542013-05-30 Juri Linkov <juri@jurta.org>
1855
1856 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
1857 to "\M-si".
1858 (isearch-invisible): New variable.
1859 (isearch-forward): Doc fix.
1860 (isearch-mode): Set `isearch-invisible'
1861 to the value of `search-invisible'.
1862 (isearch-toggle-case-fold): Doc fix.
1863 (isearch-toggle-invisible): New command.
1864 (isearch-query-replace): Let-bind `search-invisible'
1865 to the value of `isearch-invisible'.
1866 (isearch-search): Use `isearch-invisible' instead of
1867 `search-invisible'. Let-bind `search-invisible'
1868 to the value of `isearch-invisible'. (Bug#11378)
1869
ab1bdce5
JL
18702013-05-30 Juri Linkov <juri@jurta.org>
1871
1872 * replace.el (perform-replace): Avoid `isearch-range-invisible'
1873 call when `query-flag' is nil and `search-invisible' is non-nil.
1874 (Bug#11746)
1875
d6d236e2
GM
18762013-05-30 Glenn Morris <rgm@gnu.org>
1877
8accd027
GM
1878 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
1879
2a8bed1c
GM
1880 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
1881 (cc-require): Suppress spurious "noruntime" warnings.
1882 (cc-require-when-compile): Use fboundp, for sake of compiler.
1883
d6d236e2
GM
1884 * progmodes/cc-mode.el: Move load of cc-vars before that of
1885 cc-langs (which in turn loads cc-vars), to quieten compiler.
1886
9190b35b
SM
18872013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1888
1889 * paren.el: Simplify the code.
1890 (show-paren-mode): Always start the timer.
1891 (show-paren--idle-timer): Rename from show-paren-idle-timer.
1892 (show-paren--overlay, show-paren--overlay-1): Rename from
1893 show-paren-overlay and show-paren-overlay-1, and initialize to an
1894 overlay rather than to nil.
1895 (show-paren-function): Misc cleanup and simplifications.
1896
4f8d1cf6
SM
18972013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1898
1899 * paren.el (show-paren-data-function): New hook.
1900 (show-paren--default): New function, extracted from show-paren-function.
1901 (show-paren-function): Use show-paren-data-function.
1902
02d844b5
GM
19032013-05-30 Glenn Morris <rgm@gnu.org>
1904
d209d4a9
GM
1905 * ielm.el (ielm-map, ielm-complete-symbol):
1906 Use completion-at-point rather than obsolete functions.
1907 (inferior-emacs-lisp-mode): Doc fix.
1908 Set completion-at-point-functions, rather than
1909 comint-dynamic-complete-functions.
1910
2082faa6
GM
1911 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
1912 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
1913 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
1914
dd8620de
GM
1915 * image.el (image-animated-p): Tweak definition.
1916
ceca95b1
GM
1917 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
1918 (rlogin-process-connection-type): Tweak default. Add set-after.
1919 (rlogin-host): Doc fix.
1920 (rlogin): Tweak prompt.
1921 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
1922
ee9f1acc
GM
1923 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1924 * progmodes/tcl.el (inferior-tcl-mode-map):
1925 Use completion-at-point rather than obsolete alias.
1926
45ce222e
GM
1927 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
1928
02d844b5
GM
1929 * minibuffer.el (read-file-name-completion-ignore-case):
1930 Move before completion--in-region, for eager macro expansion.
1931
ac44d6c1
JL
19322013-05-29 Juri Linkov <juri@jurta.org>
1933
1934 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
1935 for total count of matching lines. Add `global-matches' for total
1936 count of matches. Rename `matches' to `lines' for count of
1937 matching lines. Add `matches' for count of matches.
1938 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
1939 to `prev-line' for line number of prev match endpt.
1940 Increment `matches' for every match. Print the number of
1941 matching lines in the header.
1942 (occur-context-lines): Rename `lines' to `curr-line'.
1943 Rename `prev-lines' to `prev-line'. (Bug#14017)
1944
3c9c9d38
JL
19452013-05-29 Juri Linkov <juri@jurta.org>
1946
1947 * replace.el (perform-replace): Add `skip-read-only-count',
1948 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
1949 Increment them for corresponding conditions and report the number
1950 of skipped occurrences in the final message. (Bug#11746)
1951 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1952 (replace-string, replace-regexp): Doc fix.
1953
33e249a2
SM
19542013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1955
8e399682
SM
1956 * emacs-lisp/trace.el (trace--read-args): Provide a default.
1957
33e249a2 1958 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 1959 prog-mode-map (bug#14504).
33e249a2 1960
f236dd84
LL
19612013-05-29 Leo Liu <sdl.web@gmail.com>
1962
1963 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
1964 (octave-help): Small simplification.
1965
1966 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
1967 off the highlight first.
1968
3694d13f
GM
19692013-05-29 Glenn Morris <rgm@gnu.org>
1970
03983bdc
GM
1971 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
1972 Handle idlwave-last-system-routine-info-cons-cell being nil.
1973
bc74a74a
GM
1974 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
1975 (idlwave-write-paths): Simplify via with-temp-buffer.
1976
8b394200
GM
1977 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
1978 * emulation/cua-rect.el: Also load cua-base at run time.
1979
3694d13f
GM
1980 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
1981 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
1982 (cperl-imenu-on-info): Require imenu.
1983
336d7284
AM
19842013-05-28 Alan Mackenzie <acm@muc.de>
1985
1986 Handle "capitalised keywords" correctly.
33e249a2 1987 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 1988
cb29c582
AG
19892013-05-28 Aidan Gauland <aidalgol@amuri.net>
1990
781b4af6 1991 * eshell/em-unix.el: Add -r option to cp.
cb29c582 1992
690e44b2
GM
19932013-05-28 Glenn Morris <rgm@gnu.org>
1994
e658d75c
GM
1995 * vc/vc-arch.el (vc-exec-after): Declare.
1996 (vc-switches): Autoload.
1997 * vc/vc-bzr.el: No need to require vc when compiling.
1998 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
1999 (vc-resynch-buffer, vc-dir-refresh): Declare.
2000 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
2001 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
2002 (vc-resynch-buffer): Declare.
2003 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 2004 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
2005 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
2006 (grep-read-regexp, grep-read-files, grep-expand-template)
2007 (vc-dir-refresh): Declare.
2008 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
2009 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
2010 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
2011 * vc/vc-mtn.el (vc-exec-after): Declare.
2012 (vc-switches): Autoload.
2013 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
2014 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
2015 (vc-file-tree-walk): Declare.
712b9732
GM
2016 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
2017 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
2018 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
2019 * vc/vc-svn.el (vc-exec-after): Declare.
2020 (vc-switches, vc-setup-buffer): Autoload.
2021 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
2022 Autoload.
2023 (vc-resynch-buffer): Declare.
2024
98e87fb3
GM
2025 * obsolete/fast-lock.el (byte-compile-warnings):
2026 Don't warn about obsolete features in this obsolete file.
2027
f5379553
GM
2028 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
2029 Move definition before use.
2030
7a20ef83
GM
2031 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
2032 (dun-unix-verbs): Remove dun-zippy.
2033 (dun-zippy): Remove function.
2034
690e44b2
GM
2035 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
2036
3a52ccf7
JL
20372013-05-27 Juri Linkov <juri@jurta.org>
2038
2039 * replace.el (replace-search): New function with code moved out
2040 from `perform-replace'.
2041 (replace-highlight, replace-dehighlight): Move function definitions
2042 up closer to `replace-search'. (Bug#11746)
2043
d289938a
JL
20442013-05-27 Juri Linkov <juri@jurta.org>
2045
2046 * replace.el (perform-replace): Ignore invisible matches.
2047 In addition to checking `query-replace-skip-read-only', also
2048 filter out matches by calling `run-hook-with-args-until-failure'
2049 on `isearch-filter-predicates', and also check `search-invisible'
2050 for t or call `isearch-range-invisible'.
2051 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
2052
66fc57e3
JL
20532013-05-27 Juri Linkov <juri@jurta.org>
2054
2055 * isearch.el (isearch-filter-predicates): Rename from
2056 `isearch-filter-predicate'. Doc fix. (Bug#11378)
2057 (isearch-message-prefix): Display text from the property
2058 `isearch-message-prefix' of the currently active filters.
2059 (isearch-search): Don't compare `isearch-filter-predicate' with
2060 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
2061 on `isearch-filter-predicates'. Also check `search-invisible' for t
2062 or call `isearch-range-invisible'.
2063 (isearch-filter-visible): Make obsolete.
2064 (isearch-lazy-highlight-search):
2065 Call `run-hook-with-args-until-failure' on
2066 `isearch-filter-predicates' and use `isearch-range-invisible'.
2067
2068 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
2069 `isearch-filter-predicates' instead of `funcall'ing
2070 `isearch-filter-predicate'.
2071 (Info-mode): Set `Info-isearch-filter' to
2072 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
2073
2074 * dired-aux.el (dired-isearch-filter-predicate-orig):
2075 Remove variable.
2076 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
2077 (dired-isearch-filenames-end): Add and remove
2078 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
2079 instead of changing the value of `isearch-filter-predicate'.
2080 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
2081 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
2082 Put property `isearch-message-prefix' to "filename " on
2083 `dired-isearch-filter-filenames'.
2084
2085 * wdired.el (wdired-change-to-wdired-mode):
2086 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
2087 locally instead of changing `isearch-filter-predicate'.
2088 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
2089
f1a60a0f
DG
20902013-05-27 Dmitry Gutov <dgutov@yandex.ru>
2091
2092 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
2093 return the commit hash (Bug#14459). Also set the
2094 `vc-git-detached' property.
2095 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
2096 (vc-git-mode-line-string): Use the same help-echo format whether
2097 in detached mode or not, because we know the actual revision now.
2098 When in detached mode, shorten the revision to 7 chars.
2099
7f17cc40
SM
21002013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
2101
2102 * emacs-lisp/easy-mmode.el (define-minor-mode):
2103 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
2104 mode hook and provide a docstring.
2105
25c8401c
AM
21062013-05-27 Alan Mackenzie <acm@muc.de>
2107
2108 Remove spurious syntax-table text properties inserted by C-y.
2109 * progmodes/cc-mode.el (c-after-change): Also clear hard
2110 syntax-table property with value nil.
2111
dde84790
MA
21122013-05-27 Michael Albinus <michael.albinus@gmx.de>
2113
2114 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
2115 when reading the events; the buffer layout shall not be changed.
2116
837fd9af
LL
21172013-05-27 Leo Liu <sdl.web@gmail.com>
2118
2119 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
2120 New variable.
2121 (inferior-octave-directory-tracker): Automatically re-sync
2122 default-directory.
2123 (octave-help): Improve handling of 'See also'.
2124
4fd996b3
SM
21252013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
2126
416f1802
SM
2127 * doc-view.el: Minor naming convention tweaks.
2128 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
2129
4fd996b3
SM
2130 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
2131 even if there's no `display' property yet (bug#14435).
2132
a052ef3b
EZ
21332013-05-25 Eli Zaretskii <eliz@gnu.org>
2134
4fd996b3 2135 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
2136
2137 * Makefile.in (custom-deps, finder-data, autoloads)
2138 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2139 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2140 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
2141
c9023370
SM
21422013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2143
2144 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
2145 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 2146 Don't burp at EOB.
c9023370 2147
24d699fa
LL
21482013-05-25 Leo Liu <sdl.web@gmail.com>
2149
2150 * comint.el (comint-previous-matching-input): Do not flood the
2151 *Messages* buffer with trivial messages.
2152
17e5c0cc
SM
21532013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2154
2155 * progmodes/flymake.el (flymake-nop): Don't return a string.
2156 (flymake-set-at): Fix typo.
2157
2158 * simple.el (read--expression): New function, extracted from
2159 eval-expression. Set completion-at-point-functions (bug#14465).
2160 (eval-expression, eval-minibuffer): Use it.
2161
5d028165
XF
21622013-05-25 Xue Fuqiao <xfq.free@gmail.com>
2163
2164 * progmodes/flymake.el (flymake-save-buffer-in-file)
2165 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
2166 (flymake-selected-frame, flymake-log, flymake-ins-after)
2167 (flymake-set-at, flymake-get-buildfile-from-cache)
2168 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
2169 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
2170 Refine the doc string.
2171 (flymake-get-file-name-mode-and-masks): Reformat.
2172 (flymake-get-real-file-name-function): Fix a minor bug.
2173
7a1d7ba7
JL
21742013-05-24 Juri Linkov <juri@jurta.org>
2175
2176 * progmodes/grep.el (grep-mode-font-lock-keywords):
2177 Support =linenumber= format used by git-grep for lines with
2178 function names. (Bug#13549)
2179
650cff3d
SM
21802013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
2181
2182 * progmodes/octave.el (octave-smie-rules): Return nil rather than
2183 0 after a semi-colon; it works better for smie-auto-fill.
2184 (octave--indent-new-comment-line): New function.
2185 (octave-indent-new-comment-line): Use it (indirectly).
2186 (octave-mode): Don't disable smie-auto-fill. Use add-function to
2187 modify comment-line-break-function.
2188
2189 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
2190 (smie-setup): Use add-function to set it.
2191
9631677d
SS
21922013-05-24 Sam Steingold <sds@gnu.org>
2193
2194 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
2195 argument (before the `interactive' argument).
2196
50105835
SM
21972013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
2198
2199 * image-mode.el (image-mode-winprops): Add winprops to
2200 image-mode-winprops-alist before running
2201 image-mode-new-window-functions.
2202 * doc-view.el (doc-view-new-window-function): Don't delay
2203 doc-view-goto-page via timers (bug#14435).
2204
57b9823e
TH
22052013-05-24 Tassilo Horn <tsdh@gnu.org>
2206
2207 * doc-view.el: Integrate with desktop.el. (Bug#14435)
2208 (doc-view-desktop-save-buffer): New function.
2209 (doc-view-restore-desktop-buffer): New function.
50105835
SM
2210 (desktop-buffer-mode-handlers):
2211 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
2212 handler.
2213 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
2214 `desktop-save-buffer' function.
2215
91aafa16
MA
22162013-05-24 Michael Albinus <michael.albinus@gmx.de>
2217
2218 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
2219 (tramp-gvfs-file-name-handler): Raise a user error when
2220 `tramp-gvfs-enabled' is nil.
2221 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
2222 Do not raise a user error when loading package. (Bug#14447)
2223
ec076379
MA
2224 * net/xesam.el: Move to obsolete/.
2225
db785726
GM
22262013-05-24 Glenn Morris <rgm@gnu.org>
2227
af5c7606
GM
2228 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
2229
e5d1916a
GM
2230 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
2231
ded62b08
GM
2232 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
2233 (Info-find-node, Man-getpage-in-background): Declare.
2234
9e614a3f
GM
2235 * mail/unrmail.el (unrmail):
2236 Replace obsolete detect-coding-with-priority.
2237
892f8ca3
GM
2238 * net/socks.el (socks-split-string): Use this rather than split-string.
2239 (socks-nslookup-host): Update for above change.
2240 (dynamic-choice, s5-dynamic-choice-match)
2241 (s5-dynamic-choice-match-inline, s5-widget-value-create):
2242 Comment out unused code.
2243
3c291973
GM
2244 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
2245 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
2246 (gud-tooltip-echo-area): Make obsolete.
2247 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
2248
43cc956b
GM
2249 * progmodes/js.el (js--optimize-arglist): Declare.
2250
dab49a3b
GM
2251 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
2252
36b9d085
GM
2253 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
2254 (ediff-window-C): Declare.
2255
e354ae76
GM
2256 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
2257 Tweak requires to silence compiler.
2258
b8e57bf4
GM
2259 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
2260 (he-search-string, he-tried-table, he-expand-list)
2261 (he-init-string, he-string-member, he-substitute-string)
2262 (he-reset-string): Declare.
2263
db785726
GM
2264 * obsolete/options.el (list-options): Use custom-variable-p,
2265 rather than obsolete alias.
2266
b3531901
SS
22672013-05-23 Sam Steingold <sds@gnu.org>
2268
2269 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 2270 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
2271 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
2272
bdda4c66
SM
22732013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
2274
2275 * emacs-lisp/smie.el (smie-indent-forward-token)
2276 (smie-indent-backward-token): Handle string tokens (bug#14381).
2277
c43d45f9
TH
22782013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2279
fe1eb856
RS
2280 * ielm.el (ielm-menu): New menu.
2281 (inferior-emacs-lisp-mode): Set comment-start.
96172128 2282
fe1eb856
RS
22832013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2284
2285 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
2286 Fix deactivate action.
2287
2288 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
2289 Add cleveref macros.
074dd971 2290
c43d45f9
TH
2291 * lisp/textmodes/reftex-parse.el
2292 (reftex-locate-bibliography-files): Accept options for
2293 bibliography commands.
2294 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
2295 Add addbibresource. Basic Biblatex support.
2296
7764286e
MA
22972013-05-23 Michael Albinus <michael.albinus@gmx.de>
2298
2299 * net/tramp-gvfs.el (top):
2300 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
2301 when loading package. (Bug#14447)
2302
d361bc10
GM
23032013-05-23 Glenn Morris <rgm@gnu.org>
2304
8fa23984
GM
2305 * progmodes/js.el: No need to load comint when compiling.
2306 (ring-insert, comint-send-string, comint-send-input)
2307 (comint-last-input-end, ido-chop): Declare.
2308
a5c7df1a
GM
2309 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
2310 * vc/ediff-mult.el: Adjust requires.
2311 (ediff-directories-internal, ediff-directory-revisions-internal)
2312 (ediff-patch-file-internal): Declare.
2313 * vc/ediff-ptch.el: Adjust requires.
2314 (ediff-use-last-dir, ediff-buffers-internal): Declare.
2315 (ediff-find-file): Autoload.
2316 * vc/ediff-util.el: No need to load ediff when compiling.
2317 (ediff-regions-internal): Declare.
2318 * vc/ediff-wind.el: Adjust requires.
2319 (ediff-compute-toolbar-width): Define when compiling.
2320 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
2321 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
2322 (dired-get-filename, dired-get-marked-files)
2323 (ediff-last-dir-patch, ediff-patch-default-directory)
2324 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
2325 (ediff-patch-buffer-internal): Declare.
2326
e2aec513
GM
2327 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
2328 (ispell-process, ispell-buffer-local-words, lm-summary)
2329 (lm-section-start, lm-section-end): Declare.
2330 (checkdoc-ispell-init): Simplify.
2331
e68bbd7c
GM
2332 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
2333 (he-string-member, he-reset-string, he-substitute-string): Declare.
2334
7efe0991
GM
2335 * eshell/em-ls.el: Adjust requires.
2336 (eshell-glob-regexp): Declare.
f87b1284
GM
2337 * eshell/em-tramp.el: Adjust requires.
2338 (eshell-parse-command): Autoload.
2339 * eshell/em-xtra.el: Adjust requires.
2340 (eshell-parse-command): Autoload.
2341 * eshell/esh-ext.el: Adjust requires.
2342 (eshell-parse-command, eshell-close-handles): Autoload.
2343 * eshell/esh-io.el: Adjust requires.
2344 (eshell-output-filter): Autoload.
2345 * eshell/esh-util.el: No need to load tramp when compiling.
2346 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
2347 Declare.
2348 (eshell-parse-ange-ls): Require ange-ftp and tramp.
2349 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2350 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
2351 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
2352 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
2353 * eshell/esh-opt.el, eshell/esh-proc.el:
2354 * eshell/esh-var.el: Adjust requires.
2355 * eshell/eshell.el: Do not require esh-util twice.
2356 (eshell-add-input-to-history): Declare.
2357 (eshell-command): Check history module is active before using it.
2358
d361bc10
GM
2359 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
2360
85d090a9
LL
23612013-05-22 Leo Liu <sdl.web@gmail.com>
2362
2363 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
2364
5d0acd9d
MA
23652013-05-22 Michael Albinus <michael.albinus@gmx.de>
2366
2367 * autorevert.el (auto-revert-notify-add-watch)
2368 (auto-revert-notify-handler): Add `attrib' for the inotify case,
2369 it indicates changes in file modification time.
2370
0cdffd7d
GM
23712013-05-22 Glenn Morris <rgm@gnu.org>
2372
ca5995ec
GM
2373 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
2374 Always delete the autoloaded function from the noruntime and
2375 unresolved functions lists.
2376
6450907e
GM
2377 * allout.el: No need to load epa, epg, overlay when compiling.
2378 (epg-context-set-passphrase-callback, epg-list-keys)
2379 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
2380 (epg-key-user-id-list): Declare.
2381
9c6906f6
GM
2382 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
2383 (viper-set-parsing-style-toggling-macro)
2384 (viper-set-emacs-state-searchstyle-macros):
2385 Use called-interactively-p on Emacs.
2386 (viper-looking-back): Make it an obsolete alias. Update callers.
2387 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
2388 Use looking-back rather than viper-looking-back.
2389 (viper-tmp-insert-at-eob, viper-enlarge-region)
2390 (viper-read-string-with-history, viper-register-to-point)
2391 (viper-append-to-register, viper-change-state-to-vi)
2392 (viper-backward-char-carefully, viper-forward-char-carefully)
2393 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
2394 (viper-change-state-to-emacs): Declare.
2395 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
2396 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
2397 * emulation/viper-mous.el: Do not load viper-cmd.
2398 (viper-backward-char-carefully, viper-forward-char-carefully)
2399 (viper-forward-word, viper-adjust-window): Declare.
2400
5f70c169
GM
2401 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
2402
b1b7f300
GM
2403 * progmodes/idlw-help.el (idlwave-help-fontify):
2404 Use called-interactively-p.
2405
f6ebbb46
GM
2406 * term/w32console.el (w32-get-console-codepage)
2407 (w32-get-console-output-codepage): Declare.
2408
0cdffd7d
GM
2409 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
2410 Remove unnecessary declarations.
2411 (dframe-message): Doc fix.
2412
2413 * info.el (dframe-select-attached-frame, dframe-current-frame):
2414 Declare.
2415
2416 * speedbar.el (speedbar-message): Make it an obsolete alias.
2417 Update all callers.
2418 (speedbar-with-attached-buffer)
2419 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
2420 (speedbar-with-writable): Use backquote.
2421 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
2422 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2423 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
2424 rather than speedbar- aliases.
2425 * mail/rmail.el: Load dframe rather than speedbar when compiling.
2426 (speedbar-make-specialized-keymap, speedbar-insert-button)
2427 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
2428 (speedbar-do-function-pointer): Declare.
2429 (rmail-speedbar-button, rmail-speedbar-find-file)
2430 (rmail-speedbar-move-message):
2431 Use dframe-with-attached-buffer rather than speedbar- alias.
2432 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
2433 (dframe-message, speedbar-make-specialized-keymap)
2434 (speedbar-add-expansion-list, speedbar-mode-functions-list)
2435 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
2436 (speedbar-insert-button, dframe-select-attached-frame)
2437 (dframe-maybee-jump-to-attached-frame)
2438 (speedbar-change-initial-expansion-list)
2439 (speedbar-previously-used-expansion-list-name): Declare.
2440 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
2441 Use dframe-message, dframe-with-attached-buffer rather than
2442 speedbar- aliases.
2443 (gud-sentinel): Silence compiler.
2444 * progmodes/vhdl-mode.el (speedbar-refresh)
2445 (speedbar-do-function-pointer, speedbar-add-supported-extension)
2446 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
2447 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
2448 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
2449 (speedbar-file-lists, speedbar-make-tag-line)
2450 (speedbar-line-directory, speedbar-goto-this-file)
2451 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
2452 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
2453 (speedbar-make-button, speedbar-reset-scanners)
2454 (speedbar-files-item-info, speedbar-line-text)
2455 (speedbar-find-file-in-frame, speedbar-set-timer)
2456 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
2457 (speedbar-with-writable): Do not (re)define it.
2458 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
2459 rather than speedbar- alias.
2460
ee44b62a
LL
24612013-05-21 Leo Liu <sdl.web@gmail.com>
2462
2463 * progmodes/octave.el (octave-mode-menu): Update and re-organize
2464 menu items.
2465 (octave-mode): Tweak fill-nobreak-predicate.
2466 (inferior-octave-startup): Check process to avoid infinite loop.
2467 (inferior-octave): Pop to buffer first to show abornmal process
2468 exit information.
2469
640f050f
GM
24702013-05-21 Glenn Morris <rgm@gnu.org>
2471
79458038
GM
2472 * printing.el (pr-menu-bar): Define when compiling.
2473
9cc3e83f
LL
24742013-05-21 Leo Liu <sdl.web@gmail.com>
2475
2476 * progmodes/octave.el (octave-auto-fill): Remove.
2477 (octave-indent-new-comment-line): Improve.
2478 (octave-mode): Use auto fill mode through
4f405069 2479 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 2480 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 2481 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
2482 (octave-help): Show parent directory.
2483
f440830d
GM
24842013-05-21 Glenn Morris <rgm@gnu.org>
2485
2486 * files.el (dired-unmark):
2487 * progmodes/gud.el (gdb-input): Update declarations.
2488
2489 * calculator.el (electric, ehelp): No need to load when compiling.
2490 (Electric-command-loop, electric-describe-mode): Declare.
2491
2492 * doc-view.el (doc-view-current-converter-processes): Move before use.
2493
2494 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2495 Move MODE-set-explicitly definition before use.
2496
2497 * international/mule-diag.el (mule-diag):
2498 Don't use obsolete window-system-version.
2499
2500 * mail/feedmail.el (smtpmail): No need to load when compiling.
2501 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
2502
2503 * mail/mail-utils.el (rfc822): No need to load when compiling.
2504 (rfc822-addresses): Autoload it.
2505 (mail-strip-quoted-names): Trivial simplification.
2506
2507 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
2508 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
2509
2510 * net/snmp-mode.el (tempo): Don't duplicate requires.
2511
2512 * progmodes/prolog.el (info): No need to load when compiling.
2513 (comint): Require before shell requires it.
2514 (Info-goto-node): Autoload it.
2515 (Info-follow-nearest-node): Declare.
2516 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
2517
2518 * textmodes/artist.el (picture-mode-exit): Declare.
2519
2520 * textmodes/reftex-parse.el (reftex-parse-from-file):
2521 Trivial rewrite so the compiler can parse it better.
2522
b4da2cbb
LL
25232013-05-20 Leo Liu <sdl.web@gmail.com>
2524
2525 * progmodes/octave.el (octave-help-mode-map)
2526 (octave-help-mode-finish-hook): New variables.
2527 (octave-help-mode, octave-help-mode-finish): New functions.
2528 (octave-help): Use octave-help-mode.
2529
33c0f65b
GM
25302013-05-20 Glenn Morris <rgm@gnu.org>
2531
2532 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
2533
1a0a0a8a
DG
25342013-05-19 Dmitry Gutov <dgutov@yandex.ru>
2535
2536 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
2537 start at point, so that expansion starting right after opening
2538 slash in a regexp is recognized.
2539 (ruby-syntax-before-regexp-re): New defvar, extracted from
2540 ruby-syntax-propertize-function. Since the value of this regexp
2541 is looked up at runtime now, we should be able to turn
2542 `ruby-syntax-methods-before-regexp' into a defcustom later.
2543 (ruby-syntax-propertize-function): Split regexp matching into two
2544 parts, for opening and closing slashes. That allows us to skip
2545 over string interpolations and support multiline regexps.
2546 Don't call `ruby-syntax-propertize-expansions', instead use another rule
2547 for them, which calls `ruby-syntax-propertize-expansion'.
2548 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
2549 call to `ruby-syntax-propertize-function'.
2550 (ruby-syntax-propertize-expansion): Extracted from
2551 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
2552 (ruby-syntax-propertize-percent-literal): Leave point right after
2553 the percent symbol, so that the expression expansion rule can
2554 propertize the contents.
462388b6
DG
2555 (ruby-syntax-propertize-heredoc): Leave point at bol following the
2556 heredoc openers.
2557 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 2558
c1a6c0a4
JL
25592013-05-18 Juri Linkov <juri@jurta.org>
2560
2561 * man.el (Man-default-man-entry): Remove `-' from the end
2562 of the default value. (Bug#14400)
2563
8051fccd
GM
25642013-05-18 Glenn Morris <rgm@gnu.org>
2565
2566 * comint.el (comint-password-prompt-regexp):
2567 Allow "password for XXX" where XXX contains colons (eg https://...).
2568
5e80b74f
LL
25692013-05-18 Leo Liu <sdl.web@gmail.com>
2570
2571 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 2572 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
2573 (octave-source-directories): Don't check process.
2574 (octave-source-directories, octave-find-definition): Doc fix.
2575
521a54c5
GM
25762013-05-18 Glenn Morris <rgm@gnu.org>
2577
86a94b05
GM
2578 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
2579 Remove backspace/delete bindings. (Bug#14392)
2580
521a54c5
GM
2581 * cus-dep.el (custom-make-dependencies): Sort the output.
2582 (custom-versions-load-alist): Convert comment to doc.
2583
42caeb89
LL
25842013-05-17 Leo Liu <sdl.web@gmail.com>
2585
2586 * newcomment.el (comment-search-backward): Stricter in finding
2587 comment start. (Bug#14303)
2588
2589 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
2590 (octave-comment-start-skip): Properly anchored.
2591
e219dd97
LL
25922013-05-17 Leo Liu <sdl.web@gmail.com>
2593
fe1eb856
RS
2594 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
2595 Clean up when turned off. (Bug#14395)
e219dd97
LL
2596 (smie--highlight-matching-block-overlay): No longer buffer-local.
2597 (smie-highlight-matching-block): Adjust.
2598
dc5dcb4b
PE
25992013-05-17 Paul Eggert <eggert@cs.ucla.edu>
2600
2601 Doc string fix for "nanoseconds" (Bug#14406).
2602 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
2603 Fix doc string typo that had "nanoseconds" instead of "microseconds".
2604
1db165f0
JB
26052013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
2606
2607 * calc/calc-units.el (math-extract-units): Preserve powers
2608 of units.
2609
c7a8fcac
LL
26102013-05-17 Leo Liu <sdl.web@gmail.com>
2611
2612 * subr.el (delete-consecutive-dups): New function.
2613 * ido.el (ido-set-matches-1): Use it.
2614 * progmodes/octave.el (inferior-octave-completion-table): Use it.
2615 * ido.el (ido-remove-consecutive-dups): Remove.
2616
f678b18a
SM
26172013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2618
2619 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
2620 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
2621 regexp-opt's `words'.
2622
ebfe68e8
LL
26232013-05-16 Leo Liu <sdl.web@gmail.com>
2624
2625 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
2626 (smie--highlight-matching-block-overlay)
2627 (smie--highlight-matching-block-lastpos)
2628 (smie--highlight-matching-block-timer): New variables.
2629 (smie-highlight-matching-block): New function.
2630 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
2631 (smie-setup): Conditionally enable smie-blink-matching-open.
2632
bc8bc17d
WS
26332013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
2634
2635 Sync with upstream verilog-mode r840.
2636 * progmodes/verilog-mode.el (verilog-mode-version)
2637 (verilog-mode-release-date): Update.
2638 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
2639 (verilog-sig-tieoff): Fix string error on
2640 AUTORESET with colon define, bug594. Reported by Andrew Hou.
2641 (verilog-read-decls): Fix parameters confusing
2642 AUTOINST interfaces, bug565. Reported by Leith Johnson.
2643
df065a0b
EZ
26442013-05-16 Eli Zaretskii <eliz@gnu.org>
2645
2646 * subr.el (reveal-filename): New function.
2647
2648 * loadup.el: Compute Emacs executable versions on MS-Windows,
2649 where executables have the .exe extension. Add a hard link
2650 emacs-XX.YY.ZZ.exe on MS-Windows.
2651
2652 * Makefile.in (XARGS_LIMIT): New variable.
2653 (custom-deps, finder-data, autoloads)
2654 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2655 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2656 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
2657 (compile-main): Limit xargs according to $(XARGS_LIMIT).
2658
2d4bf34b
LL
26592013-05-16 Leo Liu <sdl.web@gmail.com>
2660
2661 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
2662 (octave-mode-menu, octave-mode-map): Remove its uses.
2663
6b9c2d85
RZ
26642013-05-16 Reto Zimmermann <reto@gnu.org>
2665
2666 Sync with upstream vhdl mode v3.34.2.
2667 * progmodes/vhdl-mode.el: Use `push' throughout.
2668 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
2669 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
2670 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
2671 (vhdl-actual-generic-name): New option to derive actual generic name.
2672 (vhdl-port-paste-signals): Replace formal by actual generics.
2673 (vhdl-beautify): New name for old group vhdl-align. Update users.
2674 (vhdl-beautify-options): New option.
2675 (vhdl-last-input-event): New compat alias. Use throughout.
2676 (vhdl-goto-line): Replace user level function `goto-line'.
2677 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
2678 vhdl-fix-statement-buffer.
2679 (vhdl-create-mode-menu): Add some entries.
2680 (vhdl-align-region-groups): Respect vhdl-beautify-options.
2681 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
2682 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
2683 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
2684 to force statements on one line.
2685 (vhdl-remove-trailing-spaces-region):
2686 New, split from vhdl-remove-trailing-spaces.
2687 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
2688 Respect vhdl-beautify-options.
2689 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
2690 (vhdl-update-sensitivity-list): Not add with index if exists without.
2691 Not include array index with signal. Ignore keywords in comments.
2692 (vhdl-get-visible-signals): Regexp tweaks.
2693 (vhdl-template-component-inst): Handle empty library.
2694 (vhdl-template-type): Add template for 'enum' type.
2695 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
2696 Use vhdl-replace-string.
2697 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
2698 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
2699 (vhdl-speedbar-initialize): Update for above name change.
2700 (vhdl-compose-wire-components): Fix in handling of constants.
2701 (vhdl-error-regexp-emacs-alist): New variable.
2702 (vhdl-error-regexp-add-emacs): New function;
2703 adds support for new compile.el (Emacs 22+)
2704 (vhdl-generate-makefile-1): Change target order for single lib. units.
2705 Allow use of absolute file names.
2706
9df4ec5e
LL
27072013-05-16 Leo Liu <sdl.web@gmail.com>
2708
2709 * simple.el (prog-indent-sexp): Indent enclosing defun.
2710
f5ba00a6
GM
27112013-05-15 Glenn Morris <rgm@gnu.org>
2712
ed8be7ff
GM
2713 * cus-start.el (show-trailing-whitespace): Move to editing basics.
2714 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
2715 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
2716 (whitespace-highlight): Move to whitespace group.
2717
2718 * comint.el (comint-source):
2719 * pcmpl-linux.el (pcmpl-linux):
2720 * shell.el (shell-faces):
2721 * eshell/esh-opt.el (eshell-opt):
2722 * international/ccl.el (ccl): Remove empty custom groups.
2723
2724 * completion.el (dynamic-completion-mode):
2725 * jit-lock.el (jit-lock-debug-mode):
2726 * minibuffer.el (completion-in-region-mode):
2727 * type-break.el (type-break-mode-line-message-mode)
2728 (type-break-query-mode):
2729 * emulation/tpu-edt.el (tpu-edt-mode):
2730 * progmodes/subword.el (global-subword-mode, global-superword-mode):
2731 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
2732 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
2733
2734 * term/xterm.el (xterm): Change parent group to terminals.
2735
2736 * master.el (master): Remove empty custom group.
2737 (master-mode): Remove unused :group argument.
2738 * textmodes/refill.el (refill): Remove empty custom group.
2739 (refill-mode): Remove unused :group argument.
2740
2741 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
2742
82a7c41b
GM
2743 * cus-dep.el: Provide a feature.
2744 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
2745 Don't mistakenly ignore files whose basenames match a basename
2746 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 2747 Add a fallback method for getting :group.
f5ba00a6 2748
6d65486d
JL
27492013-05-15 Juri Linkov <juri@jurta.org>
2750
da547b32
JL
2751 * isearch.el (isearch-char-by-name): Rename from
2752 `isearch-insert-char-by-name'. Doc fix.
2753 (isearch-forward): Mention `isearch-char-by-name' in
2754 the docstring. (Bug#13348)
2755
6d65486d
JL
2756 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
2757 `exit-minibuffer' instead of
2758 `isearch-nonincremental-exit-minibuffer'.
2759 (isearch-edit-string): Remove mention of
2760 `isearch-nonincremental-exit-minibuffer' from docstring.
2761 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
2762 (isearch-forward-exit-minibuffer)
2763 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
2764
c9990474
SM
27652013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2766
6e911150
SM
2767 * loadup.el: Just use unversioned DOC.
2768
c9990474
SM
2769 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
2770 literals as extending to EOB.
2771 (nxml-last-fontify-end): Remove unused variable.
2772 (nxml-after-change1): Use with-silent-modifications.
2773 (nxml-extend-after-change-region): Simplify.
2774 (nxml-extend-after-change-region1): Remove function.
2775 (nxml-after-change1): Don't adjust for dependent regions.
2776 (nxml-fontify-matcher): Simplify.
2777 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
2778 (xmltok-add-dependent): Remove function.
2779 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
2780 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
2781 (xmltok-scan-prolog-after-processing-instruction-open): Treat
2782 unclosed <[[, <?, comment, and other literals as extending to EOB.
2783 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
2784 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
2785 Remove functions.
2786 (rng-do-some-validation-1): Don't mark dependent regions.
2787 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
2788 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
2789 (nxml-clear-dependent-regions): Remove functions.
2790 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
2791 (nxml-ensure-scan-up-to-date):
2792 Don't clear&mark dependent regions.
2793
e3772e98
LL
27942013-05-15 Leo Liu <sdl.web@gmail.com>
2795
c9990474
SM
2796 * progmodes/octave.el (octave-goto-function-definition):
2797 Improve and fix callers.
e3772e98 2798
5ac2eb34
SM
27992013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2800
c46c57b0
SM
2801 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
2802 the setter (bug#14387).
2803
5ac2eb34
SM
2804 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
2805 surrounding group (bug#14402).
2806
180ed218
JL
28072013-05-14 Juri Linkov <juri@jurta.org>
2808
2809 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
2810 (Bug#14390)
2811
0ac0fecb
GM
28122013-05-14 Glenn Morris <rgm@gnu.org>
2813
2814 * progmodes/f90.el (f90-imenu-generic-expression):
2815 Fix typo in 2013-05-08 change. (Bug#14402)
2816
2e78e6a7
JPG
28172013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
2818
5ac2eb34
SM
2819 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
2820 Remove signals for which replies are never received.
2e78e6a7 2821
53267cca
JPG
28222013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
2823
2824 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
2825 (gdb-handler-alist, gdb-handler-number): Remove variables.
2826 (gdb-handler-list): New variable.
2827 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
2828 (gdb-pending-handler-p, gdb-handle-reply)
2829 (gdb-remove-all-pending-triggers): New functions.
2830 (gdb-discard-unordered-replies): New defcustom.
2831 (gdb-handler): New defstruct.
2832 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
2833 instead of gdb-pending-triggers. Update docstring.
2834 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
2835 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
2836 (gdb-var-update-handler, def-gdb-auto-update-trigger)
2837 (def-gdb-auto-update-handler, gdb-get-changed-registers)
2838 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
2839 (gdb-frame-handler): Pending triggers are now automatically managed.
2840 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
2841 Remove argument.
2842 (gdb-input): Automatically handles pending triggers. Update docstring.
2843 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
2844 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
2845 Update comments.
2846 (gdb-done-or-error): Now use gdb-handle-reply.
2847
d04ce803
JPG
28482013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
2849
2850 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
2851 gdb-debug-log.
2852
0114073a
GM
28532013-05-14 Glenn Morris <rgm@gnu.org>
2854
2855 * subr.el (user-emacs-directory-warning): New option.
2856 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
2857
4d25fd7e
LL
28582013-05-14 Leo Liu <sdl.web@gmail.com>
2859
2860 * progmodes/octave.el (octave-font-lock-keywords): Fix error
2861 during redisplay.
2862 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
2863 (octave-font-lock-texinfo-comment): Fix invalid search bound
2864 error: wrong side of point.
4d25fd7e 2865
27c8b6eb
GM
28662013-05-14 Glenn Morris <rgm@gnu.org>
2867
61aaeb01
GM
2868 * progmodes/flymake.el (flymake-xml-program): New option.
2869 (flymake-xml-init): Use it.
2870
5bf90bc5
GM
2871 * term/xterm.el: Provide a feature.
2872
2873 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 2874
f4c7dfd2
GM
28752013-05-13 Glenn Morris <rgm@gnu.org>
2876
2877 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
2878 Add compat aliases as a hack workaround. (Bug#14384)
2879
2aeb3a1d
LL
28802013-05-13 Leo Liu <sdl.web@gmail.com>
2881
b0e069c2
LL
2882 * progmodes/octave.el (octave-indent-comment): Fix indentation for
2883 ###, and %!.
f5a9432f
LL
2884 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
2885 C-M-q.
b0e069c2
LL
2886 (octave-comment-start-skip): Include %!.
2887 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 2888
30ea8374
LL
28892013-05-12 Leo Liu <sdl.web@gmail.com>
2890
2891 * progmodes/octave.el (inferior-octave-startup): Store the value
2892 of __octave_srcdir__ for octave-source-directories.
2893 (inferior-octave-check-process): New function refactored out of
2894 inferior-octave-send-list-and-digest.
2895 (octave-source-directories)
2896 (octave-find-definition-filename-function): New variables.
2897 (octave-source-directories)
2898 (octave-find-definition-default-filename): New functions.
2899 (octave-find-definition): Improve to find functions implemented in C++.
2900
472a3834
GM
29012013-05-12 Glenn Morris <rgm@gnu.org>
2902
2903 * calendar/diary-lib.el (diary-outlook-format-1):
2904 Don't include dayname in the output. (Bug#14349)
2905
3191b52f
GM
29062013-05-11 Glenn Morris <rgm@gnu.org>
2907
0060ac73
GM
2908 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
2909
3191b52f
GM
2910 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
2911 Treat cc-provide like provide.
2912
e065ba74
KR
29132013-05-11 Kevin Ryde <user42@zip.com.au>
2914
2915 * cus-dep.el (custom-make-dependencies):
2916 Use generated-autoload-load-name for the sake of files such
2917 such cedet/semantic/bovine/c.el, where the base file name
2918 is not in load-path. (Bug#5277)
2919
36f84c37
GM
29202013-05-11 Glenn Morris <rgm@gnu.org>
2921
2922 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
2923 Provide features.
2924
c8730c3a
LL
29252013-05-11 Leo Liu <sdl.web@gmail.com>
2926
2927 * progmodes/octave.el (octave-indent-comment): Improve.
2928 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
2929 (octave-eldoc-function-signatures, octave-eldoc-function):
2930 New functions.
c8730c3a
LL
2931 (octave-mode, inferior-octave-mode): Add eldoc support.
2932
212e29f2
RS
29332013-05-11 Richard Stallman <rms@gnu.org>
2934
2935 * epa.el (epa-decrypt-file): Take output file name as argument
2936 and read it using `interactive'.
2937
083fe0d7
LL
29382013-05-11 Leo Liu <sdl.web@gmail.com>
2939
2940 * progmodes/octave.el (octave-beginning-of-line)
2941 (octave-end-of-line): Check before using up-list because it jumps
2942 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
2943 (octave-indent-comment): New function.
2944 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
2945 (octave-begin-keywords, octave-end-keywords)
2946 (octave-reserved-words, octave-smie-bnf-table)
2947 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 2948
8582e4c4
GM
29492013-05-11 Glenn Morris <rgm@gnu.org>
2950
f20def1f
GM
2951 * faces.el (internal-face-x-get-resource):
2952 * frame.el (ns-display-monitor-attributes-list):
d78abe37 2953 * calc/calc-aent.el (math-to-radians-2):
f20def1f 2954 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 2955 Fix declarations.
f20def1f 2956
445f95e2
GM
2957 * calc/calc-menu.el: Make it loadable in isolation.
2958
2959 * net/eudcb-bbdb.el: Make it loadable without bbdb.
2960 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
2961 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
2962 (eudc-bbdb-query-internal): Require 'bbdb.
2963
99fb2756
GM
2964 * lpr.el (lpr-headers-switches):
2965 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
2966
2967 * progmodes/sql.el (sql-login-params): Fix and improve :type.
2968
0da7ad96
GM
2969 * emulation/edt-mapper.el: In batch mode, error rather than hang.
2970
8582e4c4
GM
2971 * term.el (term-set-escape-char): Make it idempotent.
2972
f71c50d0
LL
29732013-05-10 Leo Liu <sdl.web@gmail.com>
2974
5ac2eb34
SM
2975 * progmodes/octave.el (inferior-octave-completion-table):
2976 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
2977 completion due to bug#11906.
2978 (octave-beginning-of-defun): Re-write to be more general.
2979
d5837773
GM
29802013-05-10 Glenn Morris <rgm@gnu.org>
2981
2982 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
2983
027c0f75
SM
29842013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2985
2986 * comint.el (comint-redirect-send-command-to-process): Use :around
2987 rather than :override for comint-redirect-filter.
2988 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
2989 Call it instead of comint-redirect-original-filter-function (which
2990 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
2991
4465bfb4
JD
29922013-05-09 Jan Djärv <jan.h.d@swipnet.se>
2993
2994 * frame.el (display-monitor-attributes-list): Add NS case.
2995 (ns-display-monitor-attributes-list): Declare.
2996
2d809ffa 29972013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
2998
2999 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
3000
e54eeb9b
GM
30012013-05-09 Glenn Morris <rgm@gnu.org>
3002
56cd351d
GM
3003 * international/fontset.el (vertical-centering-font-regexp):
3004 Set standard-value.
3005
d84b6108
GM
3006 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
3007
a931698a
GM
3008 * bookmark.el (bookmark-search-delay):
3009 * cus-start.el (vertical-centering-font-regexp):
3010 * ps-mule.el (ps-mule-font-info-database-default):
3011 * ps-print.el (ps-default-fg, ps-default-bg):
3012 * type-break.el (type-break-good-break-interval):
3013 * whitespace.el (whitespace-indentation-regexp)
3014 (whitespace-space-after-tab-regexp):
3015 * emacs-lisp/testcover.el (testcover-1value-functions)
3016 (testcover-noreturn-functions, testcover-progn-functions)
3017 (testcover-prog1-functions):
3018 * emulation/viper-init.el (viper-emacs-state-cursor-color):
3019 * eshell/em-glob.el (eshell-glob-translate-alist):
3020 * play/tetris.el (tetris-tty-colors):
3021 * progmodes/cpp.el (cpp-face-default-list):
3022 * progmodes/flymake.el (flymake-allowed-file-name-masks):
3023 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
3024 (idlwave-help-browser-generic-args):
3025 * progmodes/make-mode.el (makefile-special-targets-list):
3026 * progmodes/python.el (python-shell-virtualenv-path):
3027 * progmodes/verilog-mode.el (verilog-active-low-regexp)
3028 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
3029 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
3030 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
3031 * textmodes/reftex-vars.el (reftex-format-label-function):
3032 * textmodes/remember.el (remember-diary-file): Fix custom types.
3033
e54eeb9b
GM
3034 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
3035 Add :version.
3036
455851dd
LL
30372013-05-09 Leo Liu <sdl.web@gmail.com>
3038
3039 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 3040 Restore file completion. (Bug#14300)
455851dd
LL
3041 (inferior-octave-startup): Fix incorrect highlighting for the
3042 first prompt.
3043
a9e4425b
SM
30442013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3045
3046 * progmodes/ruby-mode.el: First cut at SMIE support.
3047 (ruby-use-smie): New var.
3048 (ruby-smie-grammar): New constant.
3049 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
3050 (ruby-smie--forward-token, ruby-smie--backward-token)
3051 (ruby-smie-rules): New functions.
3052 (ruby-mode-variables): Setup SMIE if applicable.
3053
060ca408
EZ
30542013-05-08 Eli Zaretskii <eliz@gnu.org>
3055
3056 * simple.el (line-move-visual): Signal beginning/end of buffer
3057 only if vertical-motion moved less than it was requested. Avoids
3058 silly incorrect error messages when there are display strings with
3059 multiple newlines at EOL.
3060
1d5963cc
SM
30612013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3062
3063 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
3064 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
3065 (prolog-char-quote-workaround):
3066 * progmodes/cperl-mode.el (cperl-under-as-char):
3067 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
3068 Mark as obsolete.
3069 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
3070 their declaration.
3071 (vhdl-mode-syntax-table-init): Remove.
3072
c9990474
SM
3073 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
3074 last change.
1d5963cc
SM
3075
3076 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
3077 syntax for "_".
3078 (ld-script-font-lock-keywords):
3079 Change regexps to use things like \_< and \_>.
3080
3081 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
3082 Change all regexps to use things like \_< and \_>.
3083
3084 * progmodes/autoconf.el (autoconf-definition-regexp)
3085 (autoconf-font-lock-keywords, autoconf-current-defun-function):
3086 Handle a _ with symbol syntax.
3087 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
3088
c9990474
SM
3089 * progmodes/ada-mode.el (ada-mode-abbrev-table):
3090 Consolidate declaration.
1d5963cc
SM
3091 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
3092 the declaration.
3093 (ada-create-syntax-table): Remove.
3094 (ada-capitalize-word): Don't mess with the syntax of "_" since it
3095 already has the right syntax nowadays.
3096 (ada-goto-next-word): Don't change the syntax of "_".
3097
3098 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
3099 with-wrapper-hook.
3100
72d3cfca
SS
31012013-05-08 Sam Steingold <sds@gnu.org>
3102
3103 * thingatpt.el (thing-at-point): Accept optional second argument
3104 NO-PROPERTIES to strip the text properties from the return value.
3105 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
3106 to `thing-at-point' instead of stripping the properties ourselves.
3107 Also, when `thing-at-point' fails to find a url, prepend "http://"
3108 to the filename at point on the assumption that the user is
3109 pointing at something like gnu.org/gnu.
3110
5cb15713
JB
31112013-05-08 Juanma Barranquero <lekktu@gmail.com>
3112
3113 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
3114 * faces.el (crm-separator):
3115 Silence byte-compiler.
3116
3117 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
3118 (tool-bar-map): Remove unneeded defvars.
3119
ea78b95b
LL
31202013-05-08 Leo Liu <sdl.web@gmail.com>
3121
3122 Re-work a fix for bug#10994 based on Le Wang's patch.
3123 * ido.el (ido-remove-consecutive-dups): New helper.
3124 (ido-completing-read): Use it.
3125 (ido-chop): Revert fix for bug#10994.
3126
dc7466df
AS
31272013-05-08 Adam Spiers <emacs@adamspiers.org>
3128
3129 * cus-edit.el (custom-save-variables):
3130 Pretty-print long values. (Bug#14187)
3131
9ecf672a
GM
31322013-05-08 Glenn Morris <rgm@gnu.org>
3133
3134 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
3135 (m4-mode-syntax-table): Init in the defvar.
3136 (m4-mode-abbrev-table): Let define-derived-mode define it.
3137
3f555be8
TT
31382013-05-08 Tom Tromey <tromey@redhat.com>
3139
3140 * progmodes/m4-mode.el (m4-mode-syntax-table):
3141 Do not treat "_" as word constituent. (Bug#14167)
3142
7cc8ae06
GM
31432013-05-07 Glenn Morris <rgm@gnu.org>
3144
4f58bc06
GM
3145 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
3146 Remove explicit eshell-isearch-cancel-map.
3147
7cc8ae06
GM
3148 * progmodes/f90.el (f90-smart-end-names): New option.
3149 (f90-smart-end): Doc fix.
3150 (f90-end-block-optional-name): New constant.
3151 (f90-block-match): Respect f90-smart-end-names.
3152
ceb57e59
SM
31532013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3154
3155 * progmodes/octave.el (octave-smie-forward-token): Be more careful
3156 about implicit semi-colons (bug#14218).
3157
4e3f9230
YM
31582013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3159
3160 * frame.el (display-monitor-attributes-list)
3161 (frame-monitor-attributes): New functions.
3162
203a5572
LL
31632013-05-06 Leo Liu <sdl.web@gmail.com>
3164
3165 * progmodes/octave.el (octave-syntax-propertize-function): Change
3166 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
3167 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 3168 (octave-completion-at-point): Rename from
203a5572
LL
3169 octave-completion-at-point-function.
3170 (inferior-octave-directory-tracker): Robustify.
3171 (octave-text-functions): Remove and fix its uses. No such things
3172 any more.
3173
ee6cff99
SM
31742013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
3175
3176 * emacs-lisp/trace.el (trace--display-buffer): New function.
3177 (trace-make-advice): Use it.
3178
32985194
JL
31792013-05-06 Juri Linkov <juri@jurta.org>
3180
3181 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
3182 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
3183 Doc fix.
3184 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
3185 in the help string. (Bug#12985)
3186
a1c700de
KD
31872013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3188
3189 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
3190
c67c0839
SM
31912013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
3192
323885fd
SM
3193 * progmodes/perl-mode.el: Add support for here documents.
3194 (perl-syntax-propertize-function): Match here-doc markers.
3195 (perl-syntax-propertize-special-constructs): Find their end.
3196 (perl-imenu-generic-expression): Use [:alnum:].
3197
c67c0839
SM
3198 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
3199 (advice--add-function): Refresh the advice if already present
3200 (bug#14317).
3201
d491e7a8
IA
32022013-05-06 Ivan Andrus <darthandrus@gmail.com>
3203
3204 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
3205
ddf9925e
GM
32062013-05-06 Glenn Morris <rgm@gnu.org>
3207
7cc3af27
GM
3208 * w32-fns.el (w32-charset-info-alist): Declare.
3209
16e343d6
GM
3210 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
3211 of its defcustom properties.
3212 (eshell-cmpl-initialize): No need to load pcomplete.
3213
7d889a47
GM
3214 * generic-x.el: No need to require comint when compiling.
3215
ddf9925e
GM
3216 * net/eudc-export.el: Make it loadable without bbdb.
3217 (top-level): Use require rather than load-library.
3218 (eudc-create-bbdb-record, eudc-bbdbify-phone)
3219 (eudc-batch-export-records-to-bbdb)
3220 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
3221 Require bbdb.
3222
1e2c18df
SM
32232013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
3224
3225 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
3226 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
3227 some tweaks, instead.
3228
02502a5f
LL
32292013-05-05 Leo Liu <sdl.web@gmail.com>
3230
3231 * progmodes/octave.el (octave-font-lock-keywords)
3232 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
3233 (inferior-octave-send-list-and-digest): Improve error message.
3234 (octave-mode, inferior-octave-mode): Use setq-local.
3235 (octave-help): Set info-lookup-mode.
3236
0dc04f42
RS
32372013-05-05 Richard Stallman <rms@gnu.org>
3238
6c54491c
RS
3239 * vc/compare-w.el (compare-windows-whitespace):
3240 Treat no-break space as whitespace.
3241
0dc04f42
RS
3242 * mail/rmailsum.el (rmail-summary-rmail-update):
3243 Detect empty summary and don't change selected message.
3244 (rmail-summary-goto-msg): Likewise.
3245
df8f35df
RS
3246 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
3247 Doc fixes, rename args.
3248
5356e1a3
AM
32492013-05-05 Alan Mackenzie <acm@muc.de>
3250
3251 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
3252
d44014cb
JL
32532013-05-05 Juri Linkov <juri@jurta.org>
3254
3255 * info.el (Info-read-subfile): Use (point-min) instead of (point)
3256 to not add the length of the summary segment to the return value.
3257 (Bug#14125)
3258
c129b51f
LL
32592013-05-05 Leo Liu <sdl.web@gmail.com>
3260
3261 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
3262 (inferior-octave-output-filter): Remove.
3263 (octave-send-region, inferior-octave-startup): Fix callers.
3264 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
3265 (octave-binary-file-extensions): New user variable.
3266 (octave-find-definition): Confirm if opening binary files.
3267 (octave-help-file): Use octave-find-definition to get the binary
3268 confirmation.
3269 (octave-help): Adjust for octave-help-file change.
3270
aa7dab97
SM
32712013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3272
3273 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
3274 Merge the two entries that handle function definitions.
3275 (pascal--syntax-propertize): New const.
3276 (pascal-mode): Use it. Use setq-local.
3277
fd3a9a6b
GM
32782013-05-04 Glenn Morris <rgm@gnu.org>
3279
3280 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
3281 (diary-from-outlook): Respect diary-from-outlook-function.
3282
30c7e542
SM
32832013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3284
3285 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
3286 Move the declaration from C.
3287 (read-minibuffer, eval-minibuffer): Move from C.
3288 (completion-setup-function): Avoid minibuffer-completion-contents.
3289
b54f978b
LL
32902013-05-03 Leo Liu <sdl.web@gmail.com>
3291
3292 * progmodes/octave.el (octave-font-lock-keywords): Do not
3293 dehighlight 'end' in comments or strings.
30c7e542
SM
3294 (octave-completing-read, octave-goto-function-definition):
3295 New helpers.
d4d0f9b3
LL
3296 (octave-help-buffer): New user variable.
3297 (octave-help-file, octave-help-function): New button types.
3298 (octave-help): New command and bind it to C-h ;.
3299 (octave-find-definition): New command and bind it to M-.
d74a1581 3300 (user-error): Alias to error if not defined.
b54f978b 3301
27135018
LL
33022013-05-02 Leo Liu <sdl.web@gmail.com>
3303
3304 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
3305 for \. (bug#14332)
3306 (octave-font-lock-keywords): Include [ and {.
3307
0d634d3a
LL
33082013-05-02 Leo Liu <sdl.web@gmail.com>
3309
3310 * progmodes/octave.el (inferior-octave-startup-file): Change default.
3311 (inferior-octave): Remove calling comint-mode and return the buffer.
3312 (inferior-octave-startup): Cosmetic changes.
3313
b4c8295e
LL
33142013-05-02 Leo Liu <sdl.web@gmail.com>
3315
30c7e542
SM
3316 * progmodes/octave.el (octave-syntax-propertize-function):
3317 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 3318
f12ad6ec
GM
33192013-05-02 Glenn Morris <rgm@gnu.org>
3320
3321 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
3322 * desktop.el (vc-dir-mode): Just autoload it here.
3323
30cac1e0
AM
33242013-05-02 Alan Mackenzie <acm@muc.de>
3325
3326 Eliminate variable c-standard-font-lock-fontify-region-function.
3327 * progmodes/cc-mode.el
3328 (c-standard-font-lock-fontify-region-function): Remove.
3329 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
3330
d8ef28b1
LL
33312013-05-01 Leo Liu <sdl.web@gmail.com>
3332
2640d52e 3333 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 3334 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 3335 variables were removed from Octave in 2007.
d8ef28b1
LL
3336 (inferior-octave-startup): Fix uses.
3337 (comint-line-beginning-position): Remove compatibility code for
3338 emacs 21.
3339
ac63ec89
JL
33402013-05-01 Juri Linkov <juri@jurta.org>
3341
3342 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
3343
9e9be37c
JL
33442013-05-01 Juri Linkov <juri@jurta.org>
3345
3346 * comint.el (comint-previous-matching-input): Don't print message
3347 "History item: %d" when `isearch-mode' is active.
3348 (comint-history-isearch-message): Print message "History item: %d"
3349 when `comint-input-ring-index' is not empty and this function is
3350 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
3351
9b92c13b
LL
33522013-05-01 Leo Liu <sdl.web@gmail.com>
3353
3354 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
3355 definitions. Use completion-at-point to insert keywords.
3356 (octave-abbrev-start): Remove.
3357 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
3358
b12d33d7
LL
33592013-04-30 Leo Liu <sdl.web@gmail.com>
3360
3361 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
3362 change.
3363
3d1c39fa
AM
33642013-04-30 Alan Mackenzie <acm@muc.de>
3365
3366 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
3367 * progmodes/cc-engine.el (c-back-over-member-initializers):
3368 new function.
3d1c39fa
AM
3369 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
3370 (most) member init lists.
3371
5147fc17
RS
33722013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3373
3374 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
3375 variable.
3376
5b78d7fc
LL
33772013-04-30 Leo Liu <sdl.web@gmail.com>
3378
3379 * progmodes/octave.el (octave-variables): Remove. No builtin
3380 variables any more. All converted to functions.
3381 (octave-font-lock-keywords, octave-completion-at-point-function):
3382 Fix uses.
3383 (octave-font-lock-texinfo-comment): New user variable.
3384 (octave-texinfo-font-lock-keywords): New variable for texinfo
3385 comment block.
3386 (octave-function-comment-block): New face.
3387 (octave-font-lock-texinfo-comment): New function.
3388 (octave-mode): Font lock texinfo comment block.
3389
38d8527b
LL
33902013-04-29 Leo Liu <sdl.web@gmail.com>
3391
3392 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
3393 indexing expression.
3394 (octave-continuation-string): Do not use \.
3395 (inferior-octave-complete-impossible): Remove.
3396 (inferior-octave-completion-table)
3397 (inferior-octave-completion-at-point): Remove its uses.
3398 (inferior-octave-startup): completion_matches was introduced to
3399 Octave in 1996 so safe to assume it.
3400 (octave-function-file-comment): Improve to follow how Octave does it.
3401 (octave-update-function-file-comment): Tweak.
3402
2ec12cb0
LL
34032013-04-29 Leo Liu <sdl.web@gmail.com>
3404
3405 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
3406 (inferior-octave-startup): Remove inferior-octave-startup-hook.
3407 (octave-function-file-comment): Fix typo.
3408 (octave-sync-function-file-names): Use read-char-choice.
3409
6eaed048
JB
34102013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
3411
3412 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
3413 to t for the less important warnings.
3414
3ffa2d4f
DH
34152013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
3416
3417 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
3418
685c9501
GM
34192013-04-27 Glenn Morris <rgm@gnu.org>
3420
3421 * vc/log-view.el (log-view-current-entry):
3422 Treat "---" separator lines as part of the following rev. (Bug#14169)
3423
0208ede7
JL
34242013-04-27 Juri Linkov <juri@jurta.org>
3425
3426 * subr.el (read-number): Doc fix about using it by interactive
3427 code letter `n'. (Bug#14254)
3428
5db9dace
JL
34292013-04-27 Juri Linkov <juri@jurta.org>
3430
3431 * desktop.el (desktop-auto-save-timeout): New option.
3432 (desktop-file-checksum): New variable.
3433 (desktop-save): Add optional arg `auto-save' and don't auto-save
3434 if nothing changed.
3435 (desktop-auto-save-timer): New variable.
3436 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
3437 (after-init-hook): Call `desktop-auto-save-set-timer'.
3438 Suggested by Reuben Thomas <rrt@sc3d.org> in
3439 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
3440
b7260dd4
LL
34412013-04-27 Leo Liu <sdl.web@gmail.com>
3442
3443 * progmodes/octave.el (octave-function-file-p)
3444 (octave-skip-comment-forward, octave-function-file-comment)
3445 (octave-update-function-file-comment): New functions.
3446 (octave-mode-map): Bind C-c ; to
3447 octave-update-function-file-comment.
3448 (octave-mode-menu): Add octave-update-function-file-comment.
3449 (octave-mode, inferior-octave-mode): Fix doc-string.
3450 (octave-insert-defun): Conform to Octave's coding convention.
3451 (Bug#14285)
3452
3453 * files.el (basic-save-buffer): Don't let errors in
3454 before-save-hook prevent saving buffer.
3455
c46da669
RW
34562013-04-20 Roland Winkler <winkler@gnu.org>
3457
3458 * faces.el (read-face-name): Use completing-read if arg multiple
3459 is nil.
3460
a81ee1eb
IL
34612013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
3462
3463 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
3464 displayed, move point to after the totals line.
3465 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
3466 for the details.
3467
4fac34ce
SM
34682013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3469
3470 * emacs-lisp/package.el (package-autoload-ensure-default-file):
3471 Add current dir to the load-path.
3472 (package-generate-autoloads): Don't rely on
3473 autoload-ensure-default-file.
3474
f6bfc063
RT
34752013-04-26 Reuben Thomas <rrt@sc3d.org>
3476
d40ab5cf
BG
3477 * textmodes/remember.el (remember-store-in-files): Document that
3478 the file name format is passed to `format-time-string'.
f6bfc063 3479
e55d3b04
LL
34802013-04-26 Leo Liu <sdl.web@gmail.com>
3481
3482 * progmodes/octave.el (octave-sync-function-file-names): New function.
3483 (octave-mode): Use it in before-save-hook.
3484
e53052d3
SM
34852013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3486
140ef50c
SM
3487 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
3488 (bug#14274).
3489
e53052d3
SM
3490 * progmodes/octave.el (octave-smie-forward-token): Properly skip
3491 \n and comment, even if it's not an implicit ; (bug#14218).
3492
af80458d 34932013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
3494
3495 * subr.el (read-number): Once more use `read' rather than
3496 `string-to-number', to trap non-numeric input. (Bug#14254)
3497
af80458d 34982013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
3499
3500 * emacs-lisp/syntax.el (syntax-propertize-multiline):
3501 Use `syntax-multiline' text property consistently instead of
8a621d53 3502 `font-lock-multiline'. (Bug#14237)
70203c2e 3503
e6ea1f6c
GM
35042013-04-26 Glenn Morris <rgm@gnu.org>
3505
3506 * emacs-lisp/shadow.el (list-load-path-shadows):
3507 No longer necessary to check for duplicate simple.el, since
3508 2012-07-07 change to init_lread to not include installation lisp
3509 directories in load-path when running uninstalled. (Bug#14270)
3510
070ccca4
LL
35112013-04-26 Leo Liu <sdl.web@gmail.com>
3512
3513 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
3514 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 3515 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
3516 octave-in-string-or-comment-p.
3517 (octave-in-comment-p, octave-in-string-p)
3518 (octave-in-string-or-comment-p): Replace defsubst with defun.
3519
9d1c5fb6
PE
35202013-04-25 Paul Eggert <eggert@cs.ucla.edu>
3521
3522 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
3523
c034abda
BG
35242013-04-25 Bastien Guerry <bzg@gnu.org>
3525
3526 * textmodes/remember.el (remember-data-directory)
3527 (remember-directory-file-name-format): Fix custom types.
3528
584ea277
LL
35292013-04-25 Leo Liu <sdl.web@gmail.com>
3530
e53052d3
SM
3531 * progmodes/octave.el (octave-completion-at-point-function):
3532 Make use of inferior octave process.
584ea277
LL
3533 (octave-initialize-completions): Remove.
3534 (inferior-octave-completion-table): New function.
3535 (inferior-octave-completion-at-point): Use it.
3536 (octave-completion-alist): Remove.
3537
1693b06a
SM
35382013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3539
3540 * progmodes/opascal.el: Use font-lock and syntax-propertize.
3541 (opascal-mode-syntax-table): New var.
3542 (opascal-literal-kind, opascal-is-literal-end)
3543 (opascal-literal-token-at): Rewrite.
3544 (opascal--literal-start-re, opascal-font-lock-keywords)
3545 (opascal--syntax-propertize): New constants.
3546 (opascal-font-lock-defaults): Adjust.
3547 (opascal-mode): Use them. Set comment-<foo> variables as well.
3548 (delphi-comment-face, opascal-comment-face, delphi-string-face)
3549 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
3550 (delphi-other-face, opascal-other-face): Remove face variables.
3551 (opascal-save-state): Remove macro.
3552 (opascal-fontifying-progress-step): Remove constant.
3553 (opascal--ignore-changes): Remove var.
3554 (opascal-set-token-property, opascal-parse-next-literal)
3555 (opascal-is-stable-literal, opascal-complete-literal)
3556 (opascal-is-literal-start, opascal-face-of)
3557 (opascal-parse-region, opascal-parse-region-until-stable)
3558 (opascal-fontify-region, opascal-after-change)
3559 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
3560 (opascal-debug-parse-region, opascal-debug-parse-window)
3561 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
3562 (opascal-debug-fontify-buffer): Remove.
3563 (opascal-debug-mode-map): Adjust accordingly.
3564
be64c05d
LL
35652013-04-25 Leo Liu <sdl.web@gmail.com>
3566
3567 Merge octave-mod.el and octave-inf.el into octave.el with some
3568 cleanups.
3569 * progmodes/octave.el: New file renamed from octave-mod.el.
3570 * progmodes/octave-inf.el: Merged into octave.el.
3571 * progmodes/octave-mod.el: Renamed to octave.el.
3572
d79d37bd
TH
35732013-04-25 Tassilo Horn <tsdh@gnu.org>
3574
3575 * textmodes/reftex-vars.el
3576 (reftex-label-ignored-macros-and-environments): New defcustom.
3577
3578 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
3579
ced3fc5d
SM
35802013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3581
3582 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
3583 (smie-indent-keyword): Improve the check to ensure that the next
3584 comment is really on the same line.
3585 (smie-indent-comment): Don't align with a subsequent closer (or eob).
3586
3587 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
3588 semi-colons if the line is not otherwise empty (bug#14218).
3589
1c141dad
GM
35902013-04-25 Glenn Morris <rgm@gnu.org>
3591
3592 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
3593
5058062a
SM
35942013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3595
3596 * progmodes/opascal.el (opascal-set-token-property): Rename from
3597 opascal-set-text-properties and only set `token' (bug#14134).
3598 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
3599 (opascal-literal-text-properties): Remove.
3600 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
3601 Adjust callers.
3602
5db9dace 36032013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
3604
3605 * textmodes/remember.el (remember-handler-functions): Add an
3606 option for a new handler `remember-store-in-files'.
3607 (remember-data-directory, remember-directory-file-name-format):
3608 New options.
3609 (remember-store-in-files): New function to store remember notes
3610 as separate files within a directory.
3611
4391916c
MH
36122013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
3613
3614 * progmodes/compile.el (compilation-next-error-function):
3615 Pass "formats" to compilation-find-file (bug#11777).
3616
bb7cdf58
GM
36172013-04-24 Glenn Morris <rgm@gnu.org>
3618
3b8fe752 3619 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
3620 * vc/vc-hg.el (vc-hg-print-log):
3621 * vc/vc-svn.el (vc-svn-print-log):
3622 Fix START-REVISION with LIMIT != 1. (Bug#14168)
3623
bb7cdf58
GM
3624 * vc/vc-bzr.el (vc-bzr-print-log):
3625 * vc/vc-cvs.el (vc-cvs-print-log):
3626 * vc/vc-git.el (vc-git-print-log):
3627 * vc/vc-hg.el (vc-hg-print-log):
3628 * vc/vc-mtn.el (vc-mtn-print-log):
3629 * vc/vc-rcs.el (vc-rcs-print-log):
3630 * vc/vc-sccs.el (vc-sccs-print-log):
3631 * vc/vc-svn.el (vc-svn-print-log):
3632 * vc/vc.el (vc-print-log-internal): Doc fixes.
3633
b46a056e
GM
36342013-04-23 Glenn Morris <rgm@gnu.org>
3635
3636 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
3637 Remove venerable code attempting to avoid substitute-command-keys.
3638
0aecf718
TH
36392013-04-23 Tassilo Horn <tsdh@gnu.org>
3640
4391916c
MH
3641 * textmodes/reftex-vars.el (reftex-label-regexps):
3642 Call `reftex-compile-variables' after changes to this variable.
0aecf718 3643
117f94cf
SM
36442013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
3645
4391916c 3646 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
3647 Use lexical-binding.
3648 (jit-lock-force-redisplay): Use markers, check buffer's continued
3649 existence and beware narrowed buffers.
3650 (jit-lock-fontify-now): Adjust call accordingly.
3651
1d829c64
SM
36522013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
3653
3654 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
3655 to avoid misleading the user.
3656
72d548a9
LL
36572013-04-22 Leo Liu <sdl.web@gmail.com>
3658
3659 * info-look.el: Prefer latex2e.info. (Bug#14240)
3660
d0853629
MA
36612013-04-22 Michael Albinus <michael.albinus@gmx.de>
3662
3663 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
3664
3665 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 3666 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
3667 (tramp-set-completion-function, tramp-parse-putty):
3668 * net/tramp-adb.el (tramp-adb-execute-adb-command):
3669 * net/tramp-gvfs.el (tramp-gvfs-send-command):
3670 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3671 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
3672 (tramp-call-local-coding-command): Use `tramp-call-process'
3673 instead of `tramp-compat-call-process'.
3674
3675 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
3676 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
3677 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 3678 (tramp-find-inline-compress): Improve traces.
d0853629
MA
3679 (tramp-maybe-send-script): Check for Perl binary.
3680 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
3681
38cc0210
DU
36822013-04-22 Daiki Ueno <ueno@gnu.org>
3683
3684 * epg.el (epg-context-pinentry-mode): New function.
3685 (epg-context-set-pinentry-mode): New function.
3686 (epg--start): Pass --pinentry-mode option to gpg command.
3687
cc641ee1
XF
36882013-04-21 Xue Fuqiao <xfq.free@gmail.com>
3689
02d844b5 3690 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 3691 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 3692 `completion-at-point'. (Bug#13774)
5d4e5c31 3693
cc641ee1
XF
3694 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
3695 default key binding for `describe-distribution' has been moved to
3696 `C-h C-o'. (Bug#13970)
3697
1b42ee43
GM
36982013-04-21 Glenn Morris <rgm@gnu.org>
3699
3700 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
3701 Add doc strings.
3702 (vc-print-log): Clarify interactive prompt.
3703
a6d63d97
GM
37042013-04-20 Glenn Morris <rgm@gnu.org>
3705
3706 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
3707 No longer include timestamp etc information.
3708
d7f5c16f
RW
37092013-04-20 Roland Winkler <winkler@gnu.org>
3710
3711 * faces.el (read-face-name): Bug fix, return just one face if arg
3712 multiple is nil. (Bug#14209)
3713
bcd7a0a4
SM
37142013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3715
3716 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
3717 (remove-function): Autoload.
3718
3719 * comint.el (comint-redirect-original-filter-function): Remove.
3720 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
3721 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
3722 (vc-cvs-annotate-command):
bcd7a0a4
SM
3723 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
3724 * progmodes/prolog.el (prolog-consult-compile):
3725 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
3726 Use add/remove-function instead.
3727 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
3728 (gud-tooltip-process-output, gud-tooltip-tips):
3729 Use add/remove-function instead.
3730 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
3731 (scheme-interaction-mode, exit-scheme-interaction-mode):
3732 Use add/remove-function instead.
3733
3734 * vc/vc-dispatcher.el: Use lexical-binding.
3735 (vc--process-sentinel): Rename from vc-process-sentinel.
3736 Change last arg to be the code to run. Don't use vc-previous-sentinel
3737 and vc-sentinel-commands any more.
3738 (vc-exec-after): Allow code to be a function. Use add/remove-function.
3739 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
3740
4d3268ba
MY
37412013-04-19 Masatake YAMATO <yamato@redhat.com>
3742
bcd7a0a4 3743 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 3744 Handle function names with a single character. (Bug#14111)
4d3268ba 3745
781b4af6 37462013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
3747
3748 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
3749 for subroutines defined in an eval (bug#14182).
3750
7d688336
TV
37512013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3752
3753 * bookmark.el (bookmark-completing-read): Improve handling of empty
3754 string (bug#14176).
3755
31dcede0
SM
37562013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3757
3758 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
3759
adc31213
FEG
37602013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
3761
3762 New faster Imenu implementation (bug#14058).
3763 * progmodes/python.el:
3764 (python-imenu-prev-index-position):
3765 (python-imenu-format-item-label-function)
3766 (python-imenu-format-parent-item-label-function)
3767 (python-imenu-format-parent-item-jump-label-function):
3768 New vars.
3769 (python-imenu-format-item-label)
3770 (python-imenu-format-parent-item-label)
3771 (python-imenu-format-parent-item-jump-label)
3772 (python-imenu--put-parent, python-imenu--build-tree)
3773 (python-imenu-create-index, python-imenu-create-flat-index)
3774 (python-util-popn): New functions.
3775 (python-mode): Set imenu-create-index-function to
3776 python-imenu-create-index.
3777
cdca8255
SM
37782013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
3779
3780 * winner.el (winner-active-region): Use region-active-p, activate-mark
3781 and deactivate-mark (bug#14225).
3782
3783 * simple.el (deactivate-mark): Don't inline it.
3784
beb42340
MA
37852013-04-18 Michael Albinus <michael.albinus@gmx.de>
3786
3787 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
3788
fc7f4d7e
TH
37892013-04-18 Tassilo Horn <tsdh@gnu.org>
3790
3791 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
3792 file extensions from the archive-mode entry in order to prefer
3793 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
3794
29f47822
LL
37952013-04-18 Leo Liu <sdl.web@gmail.com>
3796
3797 * bindings.el (help-event-list): Add ?\?.
3798
d36ed1c8
SM
37992013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
3800
3801 * subr.el (with-wrapper-hook): Declare obsolete.
3802 * simple.el (filter-buffer-substring-function): New hook.
3803 (filter-buffer-substring): Use it.
3804 (filter-buffer-substring-functions): Mark obsolete.
3805 * minibuffer.el (completion-in-region-function): New hook.
3806 (completion-in-region): Use it.
3807 (completion-in-region-functions): Mark obsolete.
3808 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
3809 * abbrev.el (abbrev-expand-function): New hook.
3810 (expand-abbrev): Use it.
3811 (abbrev-expand-functions): Mark obsolete.
3812 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
3813 and :filter-return.
3814
04754d36
FEG
38152013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
3816
3817 * progmodes/python.el (python-nav--syntactically): Fix cornercases
3818 and do not care about match data.
3819
dd8791e9
SM
38202013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
3821
3822 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
3823 completion tables when completing error conditions and
3824 `declare' arguments.
3825 (lisp-complete-symbol, field-complete): Mark as obsolete.
3826 (check-parens): Unmatched parens are user errors.
3827 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
3828
ffe54a13
AM
38292013-04-17 Michal Nazarewicz <mina86@mina86.com>
3830
dd8791e9
SM
3831 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
3832 command changed buffer (ie. `flyspell-pre-buffer' is not current
3833 buffer), which prevents making decisions based on invalid value of
3834 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
3835 cause an error when `flyspell-pre-point' was nil after switching
3836 buffers.
3837 (flyspell-post-command-hook): No longer needs to change buffers when
3838 checking pre-word. While at it remove unnecessary progn.
ffe54a13 3839
ec7e39f2
AM
38402013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
3841
3842 * textmodes/ispell.el (ispell-add-per-file-word-list):
3843 Fix `flyspell-correct-word-before-point' error when accepting
3844 words and `coment-padding' is an integer by using
3845 `comment-normalize-vars' (Bug #14214).
3846
083850a6
FEG
38472013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
3848
3849 New defun movement commands.
3850 * progmodes/python.el (python-nav--syntactically)
3851 (python-nav--forward-defun, python-nav-backward-defun)
3852 (python-nav-forward-defun): New functions.
3853
619ed6e1
FEG
38542013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
3855
3856 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
3857 (python-syntax-context): Use named compiler-macro for backwards
3858 compatibility with Emacs 24.x.
3859
7a1beb6c
LL
38602013-04-17 Leo Liu <sdl.web@gmail.com>
3861
3862 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
3863 octave-hide-process-buffer.
3864
2d3fa3e5
SM
38652013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
3866
3867 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
3868 (bug#14216).
3869
7ce5be54
JPG
38702013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
3871
3872 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
3873 Fix adjustment of offset when receiving incomplete responses from GDB
3874 (bug#14129).
3875
351edece
SM
38762013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
3877
3878 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
3879 python-mode-abbrev-table.
3880 (python-skeleton-define): Adjust accordingly.
3881 (python-mode-abbrev-table): New table that inherits from it so that
3882 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
3883
3884 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
3885 (abbrev-symbol): Use it.
3886 (abbrev--before-point): Use it since we already handle inheritance.
3887
613f9481
LL
38882013-04-16 Leo Liu <sdl.web@gmail.com>
3889
3890 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
3891 binding to info-lookup-symbol.
3892
51646b62
JB
38932013-04-16 Juanma Barranquero <lekktu@gmail.com>
3894
3895 * minibuffer.el (completion--twq-all):
3896 * term/ns-win.el (ns-initialize-window-system):
3897 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
3898
efb3f01d
SM
38992013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
3900
36c0a301
SM
3901 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
3902 global bindings.
3903
efb3f01d
SM
3904 * doc-view.el (doc-view-start-process): Handle url-handler directories.
3905
fb549d64
DG
39062013-04-15 Dmitry Gutov <dgutov@yandex.ru>
3907
3908 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
3909 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
3910 to nil.
3911 (ruby-end-of-defun): Remove the unused arg, change the docstring
3912 to reflect that this function is only used as the value of
3913 `end-of-defun-function'.
3914 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
3915 to reflect an earlier change that beginning/end-of-defun functions
3916 jump between methods in a class definition, as well as top-level
3917 functions.
3918
21e8fe2f
SM
39192013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3920
3921 * minibuffer.el (minibuffer-complete): Don't just scroll
3922 a *Completions* that's been iconified.
3923 (minibuffer-force-complete): Make sure repetitions do cycle when going
3924 through completion-in-region -> minibuffer-complete.
3925
20e527d0
AM
39262013-04-15 Alan Mackenzie <acm@muc.de>
3927
3928 Correct the placement of c-cpp-delimiters when there're #s not at
3929 col 0.
3930
3931 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
3932 place a submatch around the #.
21e8fe2f
SM
3933 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
3934 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
3935 on the #, not BOL.
3936
dabefae5
SM
39372013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3938
3939 * emacs-lisp/nadvice.el: Properly test names when adding advice.
3940 (advice--member-p): New arg `name'.
3941 (advice--add-function, advice-member-p): Use it (bug#14202).
3942
85c9ab64
AM
39432013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
3944
3945 Reformulate java imenu-generic-expression.
3946 The old expression contained ill formed regexps.
3947
3948 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
3949 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
3950 (cc-imenu-java-method-arg-regexp): New defconsts.
3951 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 3952 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
3953 handling of spaces in the regexp.
3954
0f821d99
AM
39552013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3956
3957 * textmodes/ispell.el (ispell-command-loop): Remove
3958 flyspell highlight of a word when ispell accepts it (bug #14178).
3959
eb922adf
MA
39602013-04-15 Michael Albinus <michael.albinus@gmx.de>
3961
3962 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
3963 uses code from the previous `ange-ftp-run-real-handler'.
3964 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
3965 only in case that function exist. This is needed for proper
3966 unloading of Tramp.
3967
4d9a0979
TH
39682013-04-15 Tassilo Horn <tsdh@gnu.org>
3969
3970 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
3971
3972 * textmodes/reftex.el (reftex-compile-variables): Use it.
3973
a829b0dc
SM
39742013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3975
91e8293c
SM
3976 * files.el (normal-mode): Only use default major-mode if no other mode
3977 was specified.
3978
830aed4d
SM
3979 * emacs-lisp/trace.el (trace-values): New function.
3980
a829b0dc
SM
3981 * files.el: Allow : in local variables (bug#14089).
3982 (hack-local-variable-regexp): New var.
3983 (hack-local-variables-prop-line, hack-local-variables): Use it.
3984
7ae9f0fb
RW
39852013-04-13 Roland Winkler <winkler@gnu.org>
3986
3987 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
3988 data before it gets modified by bibtex-beginning-of-entry.
3989
6646e848
RW
39902013-04-13 Roland Winkler <winkler@gnu.org>
3991
3992 * textmodes/bibtex.el (bibtex-url): Doc fix.
3993
39942013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
3995
3996 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
3997 does not visit a BibTeX file, exclude it from the list of buffers
3998 returned by bibtex-initialize.
3999
0aa3616e
SB
40002013-04-13 Stephen Berman <stephen.berman@gmx.net>
4001
4002 * window.el (split-window): Remove interactive form, since as a
4003 command this function is a special case of split-window-below.
4004 Correct doc string.
4005
011cddd6
RW
40062013-04-12 Roland Winkler <winkler@gnu.org>
4007
4008 * faces.el (read-face-name): Do not override value of arg default.
4009 Allow single faces and strings as default values. Remove those
4010 elements from return value that are not faces.
4011 (describe-face): Simplify.
4012 (face-at-point): New optional args thing and multiple so that this
4013 function can provide the same functionality previously provided by
4014 read-face-name.
4015 (make-face-bold, make-face-unbold, make-face-italic)
4016 (make-face-unitalic, make-face-bold-italic, invert-face)
4017 (modify-face, read-face-and-attribute): Use face-at-point.
4018
4019 * cus-edit.el (customize-face, customize-face-other-window)
4020 * cus-theme.el (custom-theme-add-face)
4021 * face-remap.el (buffer-face-set)
4022 * facemenu.el (facemenu-set-face): Use face-at-point.
4023
f24e0036
MA
40242013-04-12 Michael Albinus <michael.albinus@gmx.de>
4025
4026 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
4027
da3cda2d
TH
40282013-04-10 Tassilo Horn <tsdh@gnu.org>
4029
4030 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
4031 off leading { and trailing } from field values.
4032
15e54145
SM
40332013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4034
78ce603d
SM
4035 * emacs-lisp/timer.el (timer--check): New function.
4036 (timer--time, timer-set-function, timer-event-handler): Use it.
4037 (timer-set-idle-time): Simplify.
4038 (timer--activate): CSE.
4039 (timer-event-handler): Give more info in error message.
4040 (internal-timer-start-idle): New function, moved from C.
4041
15e54145
SM
4042 * mpc.el (mpc-proc): Add `restart' argument.
4043 (mpc-proc-cmd): Use it.
4044 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
4045 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
4046 less often.
4047
7144c627
MY
40482013-04-10 Masatake YAMATO <yamato@redhat.com>
4049
4050 * progmodes/sh-script.el: Implement `sh-mode' own
4051 `add-log-current-defun-function' (bug#14112).
4052 (sh-current-defun-name): New function.
4053 (sh-mode): Use the function.
4054
b39792eb
BG
40552013-04-09 Bastien Guerry <bzg@gnu.org>
4056
4057 * simple.el (choose-completion-string): Fix docstring (bug#14163).
4058
8acdeb71
SM
40592013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
4060
6fcdab68
SM
4061 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
4062
8acdeb71
SM
4063 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
4064 timer (bug#14156).
4065
e3e7b504
NF
40662013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
4067
4068 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
4069 declaration.
4070
201bb296
LL
40712013-04-07 Leo Liu <sdl.web@gmail.com>
4072
4073 * pcmpl-x.el: New file.
4074
ebb19708
DA
40752013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
4076
4077 Do not set x-display-name until X connection is established.
4078 This is needed to prevent from weird situation described at
4079 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
4080 * frame.el (make-frame): Set x-display-name after call to
4081 window system initialization function, not before.
4082 * term/x-win.el (x-initialize-window-system): Add optional
4083 display argument and use it.
4084 * term/w32-win.el (w32-initialize-window-system):
4085 * term/ns-win.el (ns-initialize-window-system):
4086 * term/pc-win.el (msdos-initialize-window-system):
4087 Add compatible optional display argument.
4088
33bb237a
EZ
40892013-04-06 Eli Zaretskii <eliz@gnu.org>
4090
4091 * files.el (normal-backup-enable-predicate): On MS-Windows and
4092 MS-DOS compare truenames of temporary-file-directory and of the
4093 file, so that 8+3 aliases (usually found in $TEMP on Windows)
4094 don't fail comparison by compare-strings. Also, compare file
4095 names case-insensitively on MS-Windows and MS-DOS.
4096
134abf1f
SM
40972013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4098
4099 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
4100 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
4101
d695cb94
DG
41022013-04-05 Dmitry Gutov <dgutov@yandex.ru>
4103
e3e7b504
NF
4104 * whitespace.el (whitespace-color-on, whitespace-color-off):
4105 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 4106
f4ad7ea1 41072013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
4108
4109 * ispell.el (ispell-set-spellchecker-params):
4110 Really set `ispell-args' for all equivs.
4111
632556e4
SM
41122013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4113
4114 * ido.el (ido-completions): Use extra elements of ido-decorations
4115 (bug#14143).
4116 (ido-decorations): Update docstring.
4117
2a417372
MA
41182013-04-05 Michael Albinus <michael.albinus@gmx.de>
4119
4120 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4121 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
4122 nil during initialization, in order not to miss changes since the
4123 file was opened. (Bug#14140)
4124
fc164b0c
LL
41252013-04-05 Leo Liu <sdl.web@gmail.com>
4126
4127 * kmacro.el (kmacro-call-macro): Fix bug#14135.
4128
0ccecc08
JB
41292013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
4130
4131 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
4132
51af1aa2
GM
41332013-04-04 Glenn Morris <rgm@gnu.org>
4134
4135 * electric.el (electric-pair-inhibit-predicate): Add :version.
4136
b208ebc6
SM
41372013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4138
4139 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
4140 when a package is required several times (bug#14082).
4141
f3d3eaf0
RW
41422013-04-04 Roland Winkler <winkler@gnu.org>
4143
4144 * faces.el (read-face-name): Behave as promised by the docstring.
4145 Assume that arg default is a list of faces.
4146 (describe-face): Call read-face-name with list of default faces.
4147
2575da50
TV
41482013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4149
4150 * bookmark.el: Fix deletion of bookmarks (bug#13972).
4151 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
4152 (bookmark-bmenu-execute-deletions): Only skip first line if it's
4153 the header.
4154 (bookmark-exit-hook-internal): Save even if list is empty.
4155
397703b4
YH
41562013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
4157
4158 * emacs-lisp/package.el (package-pinned-packages): New var.
4159 (package--add-to-archive-contents): Obey it (bug#14118).
4160
691e26ae
AM
41612013-04-03 Alan Mackenzie <acm@muc.de>
4162
8a621d53
JB
4163 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
4164 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
4165
4166 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
4167 parameter `not-in-delimiter'. Handle being inside comment opener.
4168 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
4169 character in case we're typing a '*' after a '/'.
4170 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
4171 instead by passing the parameter to c-state-pp-to-literal.
4172
4173 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
4174 for elt. 7 of a parse state.
4175
4b725a70
PE
41762013-04-01 Paul Eggert <eggert@cs.ucla.edu>
4177
4178 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
4179 * international/latin1-disp.el, international/mule-util.el:
4180 * language/cyril-util.el, language/european.el, language/ind-util.el:
4181 * language/lao-util.el, language/thai.el, language/tibet-util.el:
4182 * language/tibetan.el, language/viet-util.el:
4183 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
4184
15c579f0
SM
41852013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
4186
4187 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
4188 (electric-pair-post-self-insert-function): Use it.
4189 (electric-pair-default-inhibit): New function, extracted from
4190 electric-pair-post-self-insert-function.
4191
a77e2924
RW
41922013-03-31 Roland Winkler <winkler@gnu.org>
4193
4194 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
4195
2bd8a4a8
SM
41962013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
4197
4198 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
4199
8d3655be 42002013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
4201
4202 Un-indent after "pass" and "return" statements (Bug#13888)
4203 * progmodes/python.el (python-indent-block-enders): New var.
4204 (python-indent-calculate-indentation): Use it.
4205
8d3655be 42062013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
4207
4208 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
4209 defun. Defining it as defalias could introduce too eager
4210 byte-compiler optimization. (Bug#14030)
4211
8d3655be 42122013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
4213
4214 * iswitchb.el (iswitchb-read-buffer): Fix typo.
4215
0b1619da
LL
42162013-03-30 Leo Liu <sdl.web@gmail.com>
4217
4218 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
4219 (kmacro-execute-from-register): Pass the keyboard macro to
4220 kmacro-call-macro or repeating won't work correctly.
4221
0b938190
TZ
42222013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
4223
4224 * progmodes/subword.el: Back to using `forward-symbol'.
4225
4226 * subr.el (forward-whitespace, forward-symbol)
4227 (forward-same-syntax): Move from thingatpt.el.
4228
35710234
LL
42292013-03-29 Leo Liu <sdl.web@gmail.com>
4230
4231 * kmacro.el (kmacro-to-register): New command.
4232 (kmacro-execute-from-register): New function.
4233 (kmacro-keymap): Bind to 'x'. (Bug#14071)
4234
efc0bb73
SM
42352013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
4236
4237 * mpc.el: Use defvar-local and setq-local.
4238 (mpc--proc-connect): Connection failures are not bugs.
4239 (mpc-mode-map): `follow-link' only applies to the buffer's content.
4240 (mpc-volume-map): Bind to the up-events.
4241
75a2f981
TZ
42422013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
4243
4244 * progmodes/subword.el (superword-mode): Use `forward-sexp'
4245 instead of `forward-symbol'.
4246
17c781d1
SM
42472013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
4248
4249 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
4250 (edebug--recursive-edit): Use it.
4251 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
4252 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
4253
f67bfbcf
LL
42542013-03-28 Leo Liu <sdl.web@gmail.com>
4255
4256 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
4257
b59f639d
EZ
42582013-03-27 Eli Zaretskii <eliz@gnu.org>
4259
4260 * facemenu.el (list-colors-callback): New defvar.
4261 (list-colors-redisplay): New function.
4262 (list-colors-display): Install list-colors-redisplay as the
4263 revert-buffer-function. (Bug#14063)
4264
f557c1b1
SM
42652013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4266
b1da2957
SM
4267 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
4268 and suffixes don't overlap (bug#14061).
4269
f557c1b1
SM
4270 * case-table.el: Use lexical-binding.
4271 (case-table-get-table): New function.
4272 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
4273
002668e1
TZ
42742013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
4275
4276 * progmodes/subword.el: Add `superword-mode' to do word motion
4277 over symbol_words (parallels and leverages `subword-mode' which
4278 does word motion inside MixedCaseWords).
4279
73572c72
AG
42802013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
4281
78b8f320 4282 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 4283 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 4284
69b2c07e
SM
42852013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4286
4287 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
4288 Change return value to be a sexp. Delay `get-buffer' to after
4289 restoring the desktop (bug#13951).
4290
08bb5ee2
LL
42912013-03-26 Leo Liu <sdl.web@gmail.com>
4292
4293 * register.el: Move semantic tag handling back to
4294 cedet/semantic/senator.el. (Bug#14052)
4295
8d4c974e
SM
42962013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4297
4298 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
4299 into the prompt either (bug#13963).
4300
b234d92c
SM
43012013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
4302
4303 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
4304 part of "(error-foo)".
4305
ddfa3cb4
JL
43062013-03-24 Juri Linkov <juri@jurta.org>
4307
4308 * replace.el (list-matching-lines-prefix-face): New defcustom.
4309 (occur-1): Pass `list-matching-lines-prefix-face' to the function
4310 `occur-engine' if `face-differs-from-default-p' returns t.
4311 (occur-engine): Add `,' inside backquote construct to evaluate
4312 `prefix-face'. Propertize the prefix with the `prefix-face' face.
4313 Pass `prefix-face' to the functions `occur-context-lines' and
4314 `occur-engine-add-prefix'.
4315 (occur-engine-add-prefix, occur-context-lines): Add optional arg
4316 `prefix-face' and propertize the prefix with `prefix-face'.
4317 (Bug#14017)
4318
7b0e2f85
LL
43192013-03-24 Leo Liu <sdl.web@gmail.com>
4320
4321 * nxml/rng-valid.el (rng-validate-while-idle)
4322 (rng-validate-quick-while-idle): Guard against deleted buffer.
4323 (Bug#13999)
4324
4325 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
4326 is the last entry in kill-buffer-hook.
4327
4328 * files.el (kill-buffer-hook): Doc fix.
4329
b3082f49
DG
43302013-03-23 Dmitry Gutov <dgutov@yandex.ru>
4331
b234d92c
SM
4332 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
4333 Make it safe-local.
bde73d27 4334
b3082f49
DG
4335 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
4336
a320a2db
LL
43372013-03-23 Leo Liu <sdl.web@gmail.com>
4338
7e74b0fb
LL
4339 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
4340 Remove.
4341
4342 * nxml/rng-valid.el (rng-validate-mode)
4343 (rng-after-change-function, rng-do-some-validation):
4344 * nxml/rng-maint.el (rng-validate-buffer):
4345 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
4346 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
4347 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
4348 (nxml-extend-after-change-region): Use with-silent-modifications.
4349
a320a2db
LL
4350 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
4351 timer-idle-list.
4352
4353 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
4354 (rng-next-error-1, rng-previous-error-1): Do not let-bind
4355 timer-idle-list. (Bug#13999)
4356
e38e6780
JL
43572013-03-23 Juri Linkov <juri@jurta.org>
4358
4359 * info.el (info-index-match): New face.
4360 (Info-index, Info-apropos-matches): Add a nested subgroup to the
4361 main pattern and add text properties with the new face to matches
4362 in index entries relative to the beginning of the index entry.
4363 (Bug#14015)
4364
e8cc7880
DE
43652013-03-21 Eric Ludlam <zappo@gnu.org>
4366
4367 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
4368 Inhibit read only while inserting objects.
4369
9bb0d822
TZ
43702013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
4371
4372 * progmodes/cfengine.el: Update docs to mention
4373 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
4374 symbol motion. Remove "_" from the word syntax.
4375
aa703640
TZ
43762013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
4377
4378 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
4379 syntax for both `cfengine2-mode' and `cfengine3-mode'.
4380
afff09d0
JL
43812013-03-20 Juri Linkov <juri@jurta.org>
4382
4383 * info.el (Info-next-reference-or-link)
4384 (Info-prev-reference-or-link): New functions.
4385 (Info-next-reference, Info-prev-reference): Use them.
4386 (Info-try-follow-nearest-node): Handle footnote navigation.
4387 (Info-fontify-node): Fontify footnotes. (Bug#13989)
4388
9a1ff164
SM
43892013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
4390
4391 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
4392 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
4393
2667d15d
PE
43942013-03-20 Paul Eggert <eggert@cs.ucla.edu>
4395
4396 Suppress unnecessary non-ASCII chatter during build process.
4397 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
4398 (batch-skkdic-convert): Suppress most of the chatter.
4399 It's not needed so much now that machines are faster,
4400 and its non-ASCII component was confusing; see Dmitry Gutov in
4401 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
4402
438b0579
LL
44032013-03-20 Leo Liu <sdl.web@gmail.com>
4404
4405 * ido.el (ido-chop): Fix bug#10994.
4406
c128ab07
DG
44072013-03-19 Dmitry Gutov <dgutov@yandex.ru>
4408
4409 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
4410 Remove vars.
9a1ff164
SM
4411 (whitespace-color-on, whitespace-color-off):
4412 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 4413
0e6008c5
SM
44142013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
4415
4416 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
4417 remapping in mode-line.
4418 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
4419
627b52b0
DG
44202013-03-19 Dmitry Gutov <dgutov@yandex.ru>
4421
4422 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
4423 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
4424 (whitespace-font-lock-keywords): Change description.
4425 (whitespace-color-on): Don't save `font-lock-keywords' value, save
4426 the constructed keywords instead.
4427 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 4428
50c3a20b
LL
44292013-03-19 Leo Liu <sdl.web@gmail.com>
4430
4431 * progmodes/compile.el (compilation-display-error): New command.
4432 (compilation-mode-map, compilation-minor-mode-map): Bind it to
4433 C-o. (Bug#13992)
4434
2aa2157b
PE
44352013-03-18 Paul Eggert <eggert@cs.ucla.edu>
4436
4437 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
4438
e477dbfa
JD
44392013-03-18 Jan Djärv <jan.h.d@swipnet.se>
4440
4441 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
4442
64ab82d1
MA
44432013-03-18 Michael Albinus <michael.albinus@gmx.de>
4444
4445 * net/tramp-compat.el (tramp-compat-user-error): New defun.
4446
4447 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4448 * net/tramp-gvfs.el (top):
4449 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
4450 (tramp-handle-shell-command): Use it.
4451 (tramp-dissect-file-name): Raise an error when hostname is a
4452 method name, and neither method nor user is specified.
4453
4454 * net/trampver.el: Update release number.
4455
33cef733
LL
44562013-03-18 Leo Liu <sdl.web@gmail.com>
4457
4458 Make sure eldoc can be turned off properly.
4459 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
4460 eldoc-mode.
4461 (eldoc-display-message-p): Revert last change.
4462 (eldoc-display-message-no-interference-p)
4463 (eldoc-print-current-symbol-info): Tweak.
4464
2167b7b2
TH
44652013-03-18 Tassilo Horn <tsdh@gnu.org>
4466
4467 * doc-view.el (doc-view-new-window-function): Check the new window
4468 overlay's display property instead the char property of the
4469 buffer's first char. Use `with-selected-window' instead of
4470 `save-window-excursion' with `select-window'.
4471 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 4472 display property instead the char property of the buffer's first char.
2167b7b2 4473
982efbcd
PE
44742013-03-18 Paul Eggert <eggert@cs.ucla.edu>
4475
4476 Automate the build of ja-dic.el (Bug#13984).
4477 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
4478 from the input, rather than assume that it's been done for us by the
4479 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
4480 the current date into a ja-dic.el comment, as that complicates
4481 regression testing.
4482
2fcc7665
SM
44832013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
4484
4485 * whitespace.el: Fix double evaluation.
4486 (whitespace-space, whitespace-hspace, whitespace-tab)
4487 (whitespace-newline, whitespace-trailing, whitespace-line)
4488 (whitespace-space-before-tab, whitespace-indentation)
4489 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
4490 obsolete defvars.
4491 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
4492 (whitespace-color-on): Use a single font-lock-add-keywords call.
4493 Fix double-evaluation of face variables.
4494
67c0a6e6
MA
44952013-03-17 Michael Albinus <michael.albinus@gmx.de>
4496
2fcc7665
SM
4497 * net/tramp-adb.el (tramp-adb-parse-device-names):
4498 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 4499 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 4500
69489f1d
LL
45012013-03-17 Leo Liu <sdl.web@gmail.com>
4502
4503 Extend eldoc to display info in the mode-line. (Bug#13978)
4504 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
4505 (eldoc-mode-line-string): New variable.
4506 (eldoc-minibuffer-message): New function.
4507 (eldoc-message-function): New variable.
4508 (eldoc-message): Use it.
4509 (eldoc-display-message-p)
2fcc7665
SM
4510 (eldoc-display-message-no-interference-p):
4511 Support eldoc-post-insert-mode.
69489f1d
LL
4512
4513 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
4514 (eval-expression): Run it.
4515
9c44569e
RW
45162013-03-17 Roland Winkler <winkler@gnu.org>
4517
4518 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
4519 strings in the list of return values.
4520
327f1f6f
JB
45212013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
4522
4523 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
4524 radix before checking for HMS forms.
4525
67ed8fcd
LL
45262013-03-16 Leo Liu <sdl.web@gmail.com>
4527
4528 * progmodes/scheme.el: Add indentation and font-locking for λ.
4529 (Bug#13975)
4530
78be8b64 45312013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
4532
4533 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
4534 token before point (bug#13942).
4535
78be8b64 45362013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 4537
95b43468 4538 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 4539
98e775e6
EZ
45402013-03-16 Eli Zaretskii <eliz@gnu.org>
4541
4542 * startup.el (command-line-normalize-file-name): Fix handling of
4543 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
4544 <xfq.free@gmail.com> in
4545 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
4546
2edd6029
MA
45472013-03-15 Michael Albinus <michael.albinus@gmx.de>
4548
4549 Sync with Tramp 2.2.7.
4550
4551 * net/trampver.el: Update release number.
4552
d35f5864
TH
45532013-03-14 Tassilo Horn <tsdh@gnu.org>
4554
f35ffe5e
TH
4555 * doc-view.el Fix bug#13887.
4556 (doc-view-insert-image): Don't modify overlay associated to
4557 non-live windows, and implement horizontal centering of image in
4558 case it's smaller than the window.
4559 (doc-view-new-window-function): Force redisplay of new windows on
4560 doc-view buffers.
d35f5864 4561
1c4a85ed
KF
45622013-03-13 Karl Fogel <kfogel@red-bean.com>
4563
4564 * saveplace.el (save-place-alist-to-file): Don't sort
4565 `save-place-alist', just pretty-print it (bug#13882).
4566
85b66a21
MA
45672013-03-13 Michael Albinus <michael.albinus@gmx.de>
4568
a020afb9
JB
4569 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4570 Check whether `default-file-name-coding-system' is bound.
4571 It isn't in XEmacs.
85b66a21 4572
175600da
SM
45732013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
4574
e7f7cb1a
SM
4575 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
4576 backquotes for `obsolete' (bug#13929).
4577
175600da
SM
4578 * international/mule.el (find-auto-coding): Include file name in
4579 obsolescence warning (bug#13922).
4580
ca68a22e
TZ
45812013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
4582
4583 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
4584 for CFEngine 3-specific indentation.
4585 (cfengine3-indent-line): Use it. Fix up category regex.
4586 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
4587
940e5099
SM
45882013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4589
4590 * type-break.el (type-break-file-name):
4591 * textmodes/remember.el (remember-data-file):
4592 * strokes.el (strokes-file):
4593 * shadowfile.el (shadow-initialize):
4594 * saveplace.el (save-place-file):
4595 * ps-bdf.el (bdf-cache-file):
4596 * progmodes/idlwave.el (idlwave-config-directory):
4597 * net/quickurl.el (quickurl-url-file):
4598 * international/kkc.el (kkc-init-file-name):
4599 * ido.el (ido-save-directory-list-file):
4600 * emulation/viper.el (viper-custom-file-name):
4601 * emulation/vip.el (vip-startup-file):
4602 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4603 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
4604
cc725808
PE
46052013-03-12 Paul Eggert <eggert@cs.ucla.edu>
4606
4607 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
4608 * language/thai-word.el: Switch to UTF-8.
4609
a020afb9 4610See ChangeLog.16 for earlier changes.
e3d51b27
MR
4611
4612;; Local Variables:
4613;; coding: utf-8
e3d51b27
MR
4614;; End:
4615
ab422c4d 4616 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
4617
4618 This file is part of GNU Emacs.
4619
4620 GNU Emacs is free software: you can redistribute it and/or modify
4621 it under the terms of the GNU General Public License as published by
4622 the Free Software Foundation, either version 3 of the License, or
4623 (at your option) any later version.
4624
4625 GNU Emacs is distributed in the hope that it will be useful,
4626 but WITHOUT ANY WARRANTY; without even the implied warranty of
4627 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4628 GNU General Public License for more details.
4629
4630 You should have received a copy of the GNU General Public License
4631 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.