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