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