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