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