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