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