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