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