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