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