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