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