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