* lisp/emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
4 (byte-compile-preprocess): Use it.
5 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6 can't quite recognize.
7 (byte-compile-add-to-list): Remove.
8 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9 (cconv-closure-convert): Add assertion.
10
11 * emacs-lisp/map-ynp.el: Use lexical-binding.
12 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13 Factor out some repeated code.
14
15 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
16
17 * subr.el (with-eval-after-load): New macro.
18 (eval-after-load): Allow form to be a function.
19 take advantage of lexical-binding.
20 (do-after-load-evaluation): Use dolist and adjust to new format.
21 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
22
23 2013-06-13 Juri Linkov <juri@jurta.org>
24
25 * replace.el (perform-replace): Display "symbol " and other search
26 modes from `isearch-message-prefix' in the *Help* buffer.
27
28 * isearch.el (isearch-query-replace): Add " symbol" and other
29 possible search modes from `isearch-message-prefix' to the prompt.
30 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
31 when reading a regexp to collect.
32
33 2013-06-13 Juri Linkov <juri@jurta.org>
34
35 * isearch.el (word-search-regexp): Match whitespace if the search
36 string begins or ends in whitespace. The LAX arg is applied to
37 both ends of the search string. Use `regexp-quote' and explicit
38 \< and \> instead of \b. Use \` and \' instead of ^ and $.
39 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
40 boundaries are replaced with symbol boundaries, and characters
41 between symbols match non-word non-symbol syntax. (Bug#14602)
42
43 2013-06-13 Juri Linkov <juri@jurta.org>
44
45 * isearch.el (isearch-del-char): Don't exceed the length of
46 `isearch-string' by the prefix arg. (Bug#14563)
47
48 2013-06-13 Juri Linkov <juri@jurta.org>
49
50 * isearch.el (isearch-yank-word, isearch-yank-line)
51 (isearch-char-by-name, isearch-quote-char)
52 (isearch-printing-char, isearch-process-search-char):
53 Add optional count prefix arg. (Bug#14563)
54
55 * international/isearch-x.el
56 (isearch-process-search-multibyte-characters):
57 Add optional count prefix arg.
58
59 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
60
61 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
62 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
63 lexical-binding.
64
65 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
66
67 * subr.el (set-temporary-overlay-map): Add on-exit argument.
68
69 2013-06-13 Glenn Morris <rgm@gnu.org>
70
71 * startup.el (tty-handle-args):
72 Don't just discard "--" and anything after. (Bug#14608)
73
74 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
75
76 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
77
78 Implement changes in Secret Service API. Make it backward compatible.
79 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
80 (secrets-create-item): Use it. Prefix properties with interface.
81
82 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
83
84 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
85 (term-emulate-terminal): Respect term-suppress-hard-newline.
86
87 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
88
89 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
90 Only remove a `thumb-file' overlay. (Bug#14548)
91
92 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
93
94 * mail/reporter.el (reporter-submit-bug-report):
95 Handle missing package-name. (Bug#14600)
96
97 2013-06-12 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
98
99 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
100 (reftex-citation-prompt, reftex-default-bibliography)
101 (reftex-bib-or-thebib, reftex-get-bibfile-list)
102 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
103 (reftex-bib-sort-author, reftex-bib-sort-year)
104 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
105 (reftex-extract-bib-entries-from-thebibliography)
106 (reftex-get-bibkey-default, reftex-get-bib-names)
107 (reftex-parse-bibtex-entry, reftex-get-bib-field)
108 (reftex-format-bib-entry, reftex-parse-bibitem)
109 (reftex-format-bibitem, reftex-do-citation)
110 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
111 (reftex-restrict-bib-matches, reftex-extract-bib-file)
112 (reftex-insert-bib-matches, reftex-format-citation)
113 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
114 (reftex-create-bibtex-file): Add docstrings, mostly by converting
115 existing comments into docstrings.
116
117 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
118
119 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
120
121 2013-06-12 Andreas Schwab <schwab@suse.de>
122
123 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
124 for auto-save files.
125
126 2013-06-12 Glenn Morris <rgm@gnu.org>
127
128 * ido.el (ido-delete-ignored-files): Remove.
129 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
130 Go back to calling ido-ignore-item-p directly.
131
132 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
133
134 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
135
136 * ido.el (ido-delete-ignored-files): New function,
137 split from ido-make-file-list-1.
138 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
139 (ido-make-file-list-1): Use ido-delete-ignored-files.
140
141 2013-06-12 Leo Liu <sdl.web@gmail.com>
142
143 * progmodes/octave.el (inferior-octave-startup)
144 (inferior-octave-completion-table)
145 (inferior-octave-track-window-width-change)
146 (octave-eldoc-function-signatures, octave-help)
147 (octave-find-definition): Use single quoted strings.
148 (inferior-octave-startup-args): Change default value.
149 (inferior-octave-startup): Do not hard code "-i" and
150 "--no-line-editing".
151 (inferior-octave-resync-dirs): Add optional arg NOERROR.
152 (inferior-octave-directory-tracker): Use it.
153 (octave-goto-function-definition): Robustify.
154 (octave-help): Support highlighting operators in 'See also'.
155 (octave-find-definition): Find subfunctions only in Octave mode.
156
157 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
158
159 * help-fns.el (help-fns--compiler-macro): If the handler function is
160 named, then put a link to it.
161 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
162 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
163 (cl-typep): Use it.
164 (cl-eval-when): Simplify debug spec.
165 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
166 compiler-macro function instead of setting `compiler-macro-file'.
167
168 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
169
170 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
171 * vc/vc-hooks.el (vc-stay-local): Doc fix.
172
173 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
174 Daniel Hackney <dan@haxney.org>
175
176 First part of Daniel Hackney's patch to package.el.
177 * emacs-lisp/package.el: Use defstruct.
178 (package-desc): New, main struct.
179 (package--bi-desc, package--ac-desc): New structs, used to describe the
180 format in external files.
181 (package-desc-vers): Replace with package-desc-version accessor.
182 (package-desc-doc): Replace with package-desc-summary accessor.
183 (package-activate-1): Remove `package' arg since the pkg-vec now
184 includes the name.
185 (define-package): Use package-desc-from-define.
186 (package-unpack-single): Change file-name arg to be a symbol.
187 (package--add-to-archive-contents): Use package-desc-create and new
188 accessor functions to package--ac-desc.
189 (package-buffer-info, package-tar-file-info): Return a package-desc.
190 (package-install-from-buffer): Remove `type' argument. Change pkg-info
191 arg to be a package-desc.
192 (package-install-file): Adjust accordingly. Use \' to match EOS.
193 (package--from-builtin): New function.
194 (describe-package-1, package-menu--generate): Use it.
195 (package--make-autoloads-and-compile): Change name arg to be a symbol.
196 (package-generate-autoloads): Idem and return the name of the file.
197 * emacs-lisp/package-x.el (package-upload-buffer-internal):
198 Change pkg-info arg to be a package-desc.
199 Use package-make-ac-desc.
200 (package-upload-file): Use \' to match EOS.
201 * finder.el (finder-compile-keywords): Use package-make-builtin.
202
203 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
204
205 * vc/vc.el (vc-deduce-fileset): Change error message.
206 (vc-read-backend): New function.
207 (vc-next-action): Use it.
208
209 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
210
211 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
212 (prolog-font-lock-keywords): Use regexp-opt instead.
213 Don't manually highlight strings.
214 (prolog-mode-variables): Simplify comment-start-skip.
215 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
216
217 * emacs-lisp/generic.el (generic--normalise-comments)
218 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
219 (generic-mode-set-comments): Use them.
220 (generic-bracket-support): Use setq-local.
221 (generic-make-keywords-list): Declare obsolete.
222
223 2013-06-11 Glenn Morris <rgm@gnu.org>
224
225 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
226 Prettify after setting font-lock-defaults. (Bug#14574)
227
228 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
229
230 * replace.el (query-replace, occur-read-regexp-defaults-function)
231 (replace-search):
232 * subr.el (declare-function, number-sequence, local-set-key)
233 (substitute-key-definition, locate-user-emacs-file)
234 (with-silent-modifications, split-string, eval-after-load):
235 Fix typos, remove unneeded backslashes and reflow some docstrings.
236
237 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
238
239 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
240 default for Elisp files.
241
242 2013-06-11 Glenn Morris <rgm@gnu.org>
243
244 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
245 although define-derived-mode was doing this anyway. (Bug#14583)
246
247 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
248
249 * allout.el (allout-encryption-plaintext-sanitization-regexps):
250 Fix make-variable-buffer-local call to refer to the correct variable.
251
252 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
253
254 * eshell/em-term.el (eshell-visual-commands)
255 (eshell-visual-subcommands, eshell-visual-options):
256 Add summary line to docstrings. Add cross-references.
257
258 2013-06-10 Glenn Morris <rgm@gnu.org>
259
260 * epa.el (epa-read-file-name): New function. (Bug#14510)
261 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
262
263 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
264
265 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
266 output redirection to be ignored with visual commands.
267
268 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
269
270 * eshell/em-term.el (eshell-visual-command-p): New function.
271 (eshell-term-initialize): Move long lambda to separate function
272 eshell-visual-command-p.
273 * eshell/em-dirs.el (eshell-dirs-initialise):
274 * eshell/em-script.el (eshell-script-initialize):
275 Add missing #' to lambda.
276
277 2013-06-08 Leo Liu <sdl.web@gmail.com>
278
279 * progmodes/octave.el (octave-add-log-current-defun): New function.
280 (octave-mode): Set add-log-current-defun-function.
281 (octave-goto-function-definition): Do not move point if not found.
282 (octave-find-definition): Enhance to try subfunctions first.
283
284 2013-06-08 Glenn Morris <rgm@gnu.org>
285
286 * emacs-lisp/bytecomp.el (byte-compile-char-before)
287 (byte-compile-backward-char, byte-compile-backward-word):
288 Improve previous change, to handle non-explicit nil.
289
290 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
291
292 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
293 (smie--opener/closer-at-point): New function.
294 (smie--matching-block-data): Use it. Don't match from right after an
295 opener or right before a closer. Obey smie-blink-matching-inners.
296 Don't signal a mismatch for repeated inners like "switch..case..case".
297
298 2013-06-07 Leo Liu <sdl.web@gmail.com>
299
300 * progmodes/octave.el (octave-mode): Set comment-use-global-state
301 to t. (Bug#14303)
302 (octave-function-header-regexp): Fix. (Bug#14570)
303 (octave-help-mode-finish-hook, octave-help-mode-finish):
304 Remove. Just use temp-buffer-show-hook.
305
306 * newcomment.el (comment-search-backward): Revert last change.
307 (Bug#14434)
308
309 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
310
311 2013-06-07 Eli Zaretskii <eliz@gnu.org>
312
313 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
314 through xargs, to avoid failure due to MS-Windows limitations on
315 command-line length.
316
317 2013-06-06 Glenn Morris <rgm@gnu.org>
318
319 * font-lock.el (lisp-font-lock-keywords-2):
320 Treat user-error like error.
321
322 * emacs-lisp/bytecomp.el (byte-compile-char-before)
323 (byte-compile-backward-char, byte-compile-backward-word):
324 Handle explicit nil arguments. (Bug#14565)
325
326 2013-06-05 Alan Mackenzie <acm@muc.de>
327
328 * isearch.el (isearch-allow-prefix): New user option.
329 (isearch-other-meta-char): Don't exit isearch when a prefix
330 argument is typed whilst `isearch-allow-prefix' is non-nil.
331 (Bug#9706)
332
333 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
334
335 * autorevert.el (auto-revert-notify-handler): Use memq.
336 Hide assertion failure.
337
338 * skeleton.el: Use cl-lib.
339 (skeleton-further-elements): Use defvar-local.
340 (skeleton-insert): Use cl-progv.
341
342 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
343
344 * progmodes/prog-mode.el (prog-prettify-symbols)
345 (prog-prettify-install): Update docstrings.
346
347 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
348
349 * simple.el: Move all the prog-mode code to prog-mode.el.
350 * progmodes/prog-mode.el: New file.
351 * loadup.el: Add prog-mode.el.
352
353 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
354
355 * simple.el (prog-prettify-symbols): Add version.
356 (prog-prettify-install): Add convenience function to prettify symbols.
357
358 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
359 (perl--augmented-font-lock-keywords-1)
360 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
361 variables and use it.
362
363 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
364 (cfengine3-mode): Remove unneeded variable and use it.
365
366 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
367 (lisp--augmented-font-lock-keywords-1)
368 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
369 Remove unneeded variables and use it.
370
371 2013-06-05 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
372
373 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
374 to point when opening the connection. (Bug#14380)
375
376 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
377
378 * subr.el (load-history-regexp, load-history-filename-element)
379 (eval-after-load, after-load-functions, do-after-load-evaluation)
380 (eval-next-after-load, display-delayed-warnings)
381 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
382 definition of save-match-data.
383 (overriding-local-map): Remove accidental obsolescence declaration.
384
385 * emacs-lisp/edebug.el (edebug-result): Move before first use.
386
387 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
388
389 Generalize symbol prettify support to prog-mode and implement it
390 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
391 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
392 (prog--prettify-font-lock-compose-symbol)
393 (prog-prettify-font-lock-symbols-keywords): New variables and
394 functions to support symbol prettification.
395 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
396 (lisp--augmented-font-lock-keywords-1)
397 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
398 (lisp--prettify-symbols-alist): Implement prettify of lambda.
399 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
400 (cfengine3--prettify-symbols-alist, cfengine3-mode):
401 Implement prettify of -> => :: strings.
402 * progmodes/perl-mode.el (perl-prettify-symbols)
403 (perl--font-lock-compose-symbol)
404 (perl--font-lock-symbols-keywords): Move to prog-mode.
405 (perl--prettify-symbols-alist): Prettify -> => :: strings.
406 (perl-font-lock-keywords-1)
407 (perl-font-lock-keywords-2): Remove explicit prettify support.
408 (perl--augmented-font-lock-keywords)
409 (perl--augmented-font-lock-keywords-1)
410 (perl--augmented-font-lock-keywords-2, perl-mode):
411 Implement prettify support.
412
413 2013-06-05 Leo Liu <sdl.web@gmail.com>
414
415 Re-implement smie matching block highlight using
416 show-paren-data-function. (Bug#14395)
417 * emacs-lisp/smie.el (smie-matching-block-highlight)
418 (smie--highlight-matching-block-overlay)
419 (smie--highlight-matching-block-lastpos)
420 (smie-highlight-matching-block)
421 (smie-highlight-matching-block-mode): Remove.
422 (smie--matching-block-data-cache): New variable.
423 (smie--matching-block-data): New function.
424 (smie-setup): Use smie--matching-block-data for
425 show-paren-data-function.
426
427 * progmodes/octave.el (octave-mode-menu): Fix.
428 (octave-find-definition): Skip garbage lines.
429
430 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
431
432 Fix compilation error with simultaneous dynamic+lexical scoping.
433 Add warning when a defvar appears after the first let-binding.
434 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
435 (byte-compile-close-variables): Initialize it.
436 (byte-compile--declare-var): New function.
437 (byte-compile-file-form-defvar)
438 (byte-compile-file-form-define-abbrev-table)
439 (byte-compile-file-form-custom-declare-variable): Use it.
440 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
441 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
442 (byte-compile-bind): Handle dynamic bindings that shadow
443 lexical bindings.
444 (byte-compile-unbind): Make arg non-optional.
445 (byte-compile-let): Simplify.
446 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
447 (cconv--analyse-function, cconv-analyse-form): Populate it.
448 Protect byte-compile-bound-variables to limit the scope of defvars.
449 (cconv-analyse-form): Add missing rule for (defvar <foo>).
450 Remove unneeded rule for `declare'.
451
452 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
453 so as to avoid depending on cl-adjoin at run-time.
454 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
455
456 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
457 (macroexp--warn-and-return): Use it.
458
459 2013-06-05 Leo Liu <sdl.web@gmail.com>
460
461 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
462
463 2013-06-04 Leo Liu <sdl.web@gmail.com>
464
465 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
466 (compilation-auto-jump): Suppress the "Mark set" message to give
467 way to exit message.
468
469 2013-06-04 Alan Mackenzie <acm@muc.de>
470
471 Remove faulty optimisation from indentation calculation.
472 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
473 search limit based on 2000 characters back from indent-point.
474
475 2013-06-03 Tassilo Horn <tsdh@gnu.org>
476
477 * eshell/em-term.el (cl-lib): Require `cl-lib'.
478
479 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
480
481 * emacs-lisp/lisp.el: Use lexical-binding.
482 (lisp--local-variables-1, lisp--local-variables): New functions.
483 (lisp--local-variables-completion-table): New var.
484 (lisp-completion-at-point): Use it complete let-bound vars.
485
486 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
487 eagerly (bug#14422).
488
489 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
490
491 * autorevert.el (auto-revert-notify-enabled)
492 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
493 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
494 (auto-revert-notify-handler): Handle also gfilenotify.
495
496 * subr.el (file-notify-handle-event): New defun. Replacing ...
497 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
498 Remove.
499
500 2013-06-03 Juri Linkov <juri@jurta.org>
501
502 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
503 `M-s h .'. (Bug#14427)
504
505 * hi-lock.el (highlight-symbol-at-point): New alias for the new
506 command `hi-lock-face-symbol-at-point'.
507 (hi-lock-face-symbol-at-point): New command.
508 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
509 (hi-lock-menu): Add `highlight-symbol-at-point'.
510 (hi-lock-mode): Doc fix.
511
512 * isearch.el (isearch-forward-symbol-at-point): New command.
513 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
514 (isearch-highlight-regexp): Add a regexp which matches
515 words/symbols for word/symbol mode.
516
517 * subr.el (find-tag-default-bounds): New function with the body
518 mostly moved from `find-tag-default'.
519 (find-tag-default): Move most code to `find-tag-default-bounds',
520 call it and apply `buffer-substring-no-properties' afterwards.
521
522 2013-06-03 Tassilo Horn <tsdh@gnu.org>
523
524 * eshell/em-term.el (eshell-term-initialize):
525 Use `cl-intersection' rather than `intersection'.
526
527 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
528
529 * vc/log-view.el: Doc fix.
530 (log-view-mode-map): Copy keymap from `special-mode-map'.
531
532 2013-06-02 Eric Ludlam <zappo@gnu.org>
533
534 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
535 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
536 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
537 (eieio-unbound, eieio-default-superclass)
538 (eieio--define-field-accessors, method-static, method-before)
539 (method-primary, method-after, method-num-lists)
540 (method-generic-before, method-generic-primary)
541 (method-generic-after, method-num-slots)
542 (eieio-specialized-key-to-generic-key)
543 (eieio--check-type, class-v, class-p)
544 (eieio-class-name, define-obsolete-function-alias)
545 (eieio-class-parents-fast, eieio-class-children-fast)
546 (same-class-fast-p, class-constructor, generic-p)
547 (generic-primary-only-p, generic-primary-only-one-p)
548 (class-option-assoc, class-option, eieio-object-p)
549 (class-abstract-p, class-method-invocation-order)
550 (eieio-defclass-autoload-map, eieio-defclass-autoload)
551 (eieio-class-un-autoload, eieio-defclass)
552 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
553 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
554 (eieio--defgeneric-init-form, eieio-defgeneric-form)
555 (eieio-defgeneric-reset-generic-form)
556 (eieio-defgeneric-form-primary-only)
557 (eieio-defgeneric-reset-generic-form-primary-only)
558 (eieio-defgeneric-form-primary-only-one)
559 (eieio-defgeneric-reset-generic-form-primary-only-one)
560 (eieio-unbind-method-implementations)
561 (eieio--defmethod, eieio--typep)
562 (eieio-perform-slot-validation, eieio-validate-slot-value)
563 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
564 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
565 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
566 (eieio-slot-name-index, eieio-class-slot-name-index)
567 (eieio-set-defaults, eieio-initarg-to-attribute)
568 (eieio-attribute-to-initarg, eieio-c3-candidate)
569 (eieio-c3-merge-lists, eieio-class-precedence-c3)
570 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
571 (eieio-class-precedence-list, eieio-generic-call-methodname)
572 (eieio-generic-call-arglst, eieio-generic-call-key)
573 (eieio-generic-call-next-method-list)
574 (eieio-pre-method-execution-functions, eieio-generic-call)
575 (eieio-generic-call-primary-only, eieiomt-method-list)
576 (eieiomt-optimizing-obarray, eieiomt-install)
577 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
578 (eieio-generic-form, eieio-defmethod, make-obsolete)
579 (eieio-defgeneric, make-obsolete): Move to eieio-core.el
580 (defclass): Remove `eval-and-compile' from macro.
581 (call-next-method, shared-initialize): Instead of using
582 `scoped-class' variable, use new eieio--scoped-class, and
583 eieio--with-scoped-class.
584 (initialize-instance): Rename local variable 'scoped-class' to
585 'this-class' to remove ambiguitity from old global.
586
587 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
588 eieio.el.
589 (eieio--scoped-class-stack): New variable
590 (eieio--scoped-class): New fcn
591 (eieio--with-scoped-class): New scoping macro.
592 (eieio-defclass): Use pushnew instead of add-to-list.
593 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
594 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
595 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
596 `scoped-class' variable, use new eieio--scoped-class, and
597 eieio--with-scoped-class.
598
599 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
600
601 2013-06-02 Tassilo Horn <tsdh@gnu.org>
602
603 * eshell/esh-ext.el (eshell-external-command): Pass args to
604 `eshell-find-interpreter'.
605 (eshell-find-interpreter): Add new second parameter ARGS.
606
607 * eshell/em-script.el (eshell-script-initialize): Add second arg
608 to the function added as MATCH to `eshell-interpreter-alist'.
609
610 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
611 the function added as MATCH to `eshell-interpreter-alist'.
612
613 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
614 (eshell-visual-options): New defcustom.
615 (eshell-escape-control-x): Adapt docstring.
616 (eshell-term-initialize): Test `eshell-visual-subcommands' and
617 `eshell-visual-options' in addition to `eshell-visual-commands'.
618 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
619
620 2013-06-01 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
621
622 * progmodes/python.el (python-indent-block-enders): Add break,
623 continue and raise keywords.
624
625 2013-06-01 Glenn Morris <rgm@gnu.org>
626
627 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
628
629 Plain (f)boundp silences compilation warnings since Emacs 22.1.
630 * progmodes/cc-cmds.el (delete-forward-p):
631 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
632 * progmodes/cc-engine.el (buffer-syntactic-context):
633 * progmodes/cc-fonts.el (face-property-instance):
634 * progmodes/cc-mode.el (set-keymap-parents):
635 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
636 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
637 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
638 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
639 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
640
641 * progmodes/cc-vars.el (other): Emacs has this widget since
642 at least 21.1, so don't (re)define it.
643
644 * eshell/em-cmpl.el (eshell-cmpl-initialize):
645 Replace the obsolete alias pcomplete-arg-quote-list.
646
647 2013-06-01 Leo Liu <sdl.web@gmail.com>
648
649 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
650 punctuation syntax.
651 (inferior-octave-minimal-columns)
652 (inferior-octave-last-column-width): New variables.
653 (inferior-octave-track-window-width-change): New function.
654 (inferior-octave-mode): Adjust column width so that Octave output,
655 for example from 'ls', can fit into the window nicely.
656
657 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
658
659 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
660 Highlight expansions inside regexp literals.
661
662 2013-05-31 Glenn Morris <rgm@gnu.org>
663
664 * obsolete/sym-comp.el (symbol-complete):
665 Replace obsolete completion-annotate-function.
666
667 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
668
669 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
670
671 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
672 New function, checks if point is inside a literal that allows
673 expression expansion.
674 (ruby-syntax-propertize-expansion): Use it.
675 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
676 around the body.
677
678 2013-05-30 Juri Linkov <juri@jurta.org>
679
680 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
681 to "\M-si".
682 (isearch-invisible): New variable.
683 (isearch-forward): Doc fix.
684 (isearch-mode): Set `isearch-invisible'
685 to the value of `search-invisible'.
686 (isearch-toggle-case-fold): Doc fix.
687 (isearch-toggle-invisible): New command.
688 (isearch-query-replace): Let-bind `search-invisible'
689 to the value of `isearch-invisible'.
690 (isearch-search): Use `isearch-invisible' instead of
691 `search-invisible'. Let-bind `search-invisible'
692 to the value of `isearch-invisible'. (Bug#11378)
693
694 2013-05-30 Juri Linkov <juri@jurta.org>
695
696 * replace.el (perform-replace): Avoid `isearch-range-invisible'
697 call when `query-flag' is nil and `search-invisible' is non-nil.
698 (Bug#11746)
699
700 2013-05-30 Glenn Morris <rgm@gnu.org>
701
702 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
703
704 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
705 (cc-require): Suppress spurious "noruntime" warnings.
706 (cc-require-when-compile): Use fboundp, for sake of compiler.
707
708 * progmodes/cc-mode.el: Move load of cc-vars before that of
709 cc-langs (which in turn loads cc-vars), to quieten compiler.
710
711 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
712
713 * paren.el: Simplify the code.
714 (show-paren-mode): Always start the timer.
715 (show-paren--idle-timer): Rename from show-paren-idle-timer.
716 (show-paren--overlay, show-paren--overlay-1): Rename from
717 show-paren-overlay and show-paren-overlay-1, and initialize to an
718 overlay rather than to nil.
719 (show-paren-function): Misc cleanup and simplifications.
720
721 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
722
723 * paren.el (show-paren-data-function): New hook.
724 (show-paren--default): New function, extracted from show-paren-function.
725 (show-paren-function): Use show-paren-data-function.
726
727 2013-05-30 Glenn Morris <rgm@gnu.org>
728
729 * ielm.el (ielm-map, ielm-complete-symbol):
730 Use completion-at-point rather than obsolete functions.
731 (inferior-emacs-lisp-mode): Doc fix.
732 Set completion-at-point-functions, rather than
733 comint-dynamic-complete-functions.
734
735 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
736 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
737 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
738
739 * image.el (image-animated-p): Tweak definition.
740
741 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
742 (rlogin-process-connection-type): Tweak default. Add set-after.
743 (rlogin-host): Doc fix.
744 (rlogin): Tweak prompt.
745 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
746
747 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
748 * progmodes/tcl.el (inferior-tcl-mode-map):
749 Use completion-at-point rather than obsolete alias.
750
751 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
752
753 * minibuffer.el (read-file-name-completion-ignore-case):
754 Move before completion--in-region, for eager macro expansion.
755
756 2013-05-29 Juri Linkov <juri@jurta.org>
757
758 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
759 for total count of matching lines. Add `global-matches' for total
760 count of matches. Rename `matches' to `lines' for count of
761 matching lines. Add `matches' for count of matches.
762 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
763 to `prev-line' for line number of prev match endpt.
764 Increment `matches' for every match. Print the number of
765 matching lines in the header.
766 (occur-context-lines): Rename `lines' to `curr-line'.
767 Rename `prev-lines' to `prev-line'. (Bug#14017)
768
769 2013-05-29 Juri Linkov <juri@jurta.org>
770
771 * replace.el (perform-replace): Add `skip-read-only-count',
772 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
773 Increment them for corresponding conditions and report the number
774 of skipped occurrences in the final message. (Bug#11746)
775 (query-replace, query-replace-regexp, query-replace-regexp-eval)
776 (replace-string, replace-regexp): Doc fix.
777
778 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
779
780 * emacs-lisp/trace.el (trace--read-args): Provide a default.
781
782 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
783 prog-mode-map (bug#14504).
784
785 2013-05-29 Leo Liu <sdl.web@gmail.com>
786
787 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
788 (octave-help): Small simplification.
789
790 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
791 off the highlight first.
792
793 2013-05-29 Glenn Morris <rgm@gnu.org>
794
795 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
796 Handle idlwave-last-system-routine-info-cons-cell being nil.
797
798 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
799 (idlwave-write-paths): Simplify via with-temp-buffer.
800
801 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
802 * emulation/cua-rect.el: Also load cua-base at run time.
803
804 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
805 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
806 (cperl-imenu-on-info): Require imenu.
807
808 2013-05-28 Alan Mackenzie <acm@muc.de>
809
810 Handle "capitalised keywords" correctly.
811 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
812
813 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
814
815 * eshell/em-unix.el: Add -r option to cp.
816
817 2013-05-28 Glenn Morris <rgm@gnu.org>
818
819 * vc/vc-arch.el (vc-exec-after): Declare.
820 (vc-switches): Autoload.
821 * vc/vc-bzr.el: No need to require vc when compiling.
822 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
823 (vc-resynch-buffer, vc-dir-refresh): Declare.
824 (vc-setup-buffer, vc-switches): Autoload.
825 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
826 (vc-resynch-buffer): Declare.
827 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
828 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
829 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
830 (grep-read-regexp, grep-read-files, grep-expand-template)
831 (vc-dir-refresh): Declare.
832 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
833 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
834 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
835 * vc/vc-mtn.el (vc-exec-after): Declare.
836 (vc-switches): Autoload.
837 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
838 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
839 (vc-file-tree-walk): Declare.
840 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
841 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
842 (vc-tag-precondition, vc-rename-master): Autoload.
843 * vc/vc-svn.el (vc-exec-after): Declare.
844 (vc-switches, vc-setup-buffer): Autoload.
845 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
846 Autoload.
847 (vc-resynch-buffer): Declare.
848
849 * obsolete/fast-lock.el (byte-compile-warnings):
850 Don't warn about obsolete features in this obsolete file.
851
852 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
853 Move definition before use.
854
855 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
856 (dun-unix-verbs): Remove dun-zippy.
857 (dun-zippy): Remove function.
858
859 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
860
861 2013-05-27 Juri Linkov <juri@jurta.org>
862
863 * replace.el (replace-search): New function with code moved out
864 from `perform-replace'.
865 (replace-highlight, replace-dehighlight): Move function definitions
866 up closer to `replace-search'. (Bug#11746)
867
868 2013-05-27 Juri Linkov <juri@jurta.org>
869
870 * replace.el (perform-replace): Ignore invisible matches.
871 In addition to checking `query-replace-skip-read-only', also
872 filter out matches by calling `run-hook-with-args-until-failure'
873 on `isearch-filter-predicates', and also check `search-invisible'
874 for t or call `isearch-range-invisible'.
875 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
876
877 2013-05-27 Juri Linkov <juri@jurta.org>
878
879 * isearch.el (isearch-filter-predicates): Rename from
880 `isearch-filter-predicate'. Doc fix. (Bug#11378)
881 (isearch-message-prefix): Display text from the property
882 `isearch-message-prefix' of the currently active filters.
883 (isearch-search): Don't compare `isearch-filter-predicate' with
884 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
885 on `isearch-filter-predicates'. Also check `search-invisible' for t
886 or call `isearch-range-invisible'.
887 (isearch-filter-visible): Make obsolete.
888 (isearch-lazy-highlight-search):
889 Call `run-hook-with-args-until-failure' on
890 `isearch-filter-predicates' and use `isearch-range-invisible'.
891
892 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
893 `isearch-filter-predicates' instead of `funcall'ing
894 `isearch-filter-predicate'.
895 (Info-mode): Set `Info-isearch-filter' to
896 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
897
898 * dired-aux.el (dired-isearch-filter-predicate-orig):
899 Remove variable.
900 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
901 (dired-isearch-filenames-end): Add and remove
902 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
903 instead of changing the value of `isearch-filter-predicate'.
904 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
905 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
906 Put property `isearch-message-prefix' to "filename " on
907 `dired-isearch-filter-filenames'.
908
909 * wdired.el (wdired-change-to-wdired-mode):
910 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
911 locally instead of changing `isearch-filter-predicate'.
912 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
913
914 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
915
916 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
917 return the commit hash (Bug#14459). Also set the
918 `vc-git-detached' property.
919 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
920 (vc-git-mode-line-string): Use the same help-echo format whether
921 in detached mode or not, because we know the actual revision now.
922 When in detached mode, shorten the revision to 7 chars.
923
924 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
925
926 * emacs-lisp/easy-mmode.el (define-minor-mode):
927 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
928 mode hook and provide a docstring.
929
930 2013-05-27 Alan Mackenzie <acm@muc.de>
931
932 Remove spurious syntax-table text properties inserted by C-y.
933 * progmodes/cc-mode.el (c-after-change): Also clear hard
934 syntax-table property with value nil.
935
936 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
937
938 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
939 when reading the events; the buffer layout shall not be changed.
940
941 2013-05-27 Leo Liu <sdl.web@gmail.com>
942
943 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
944 New variable.
945 (inferior-octave-directory-tracker): Automatically re-sync
946 default-directory.
947 (octave-help): Improve handling of 'See also'.
948
949 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
950
951 * doc-view.el: Minor naming convention tweaks.
952 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
953
954 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
955 even if there's no `display' property yet (bug#14435).
956
957 2013-05-25 Eli Zaretskii <eliz@gnu.org>
958
959 * subr.el (unmsys--file-name): Rename from reveal-filename.
960
961 * Makefile.in (custom-deps, finder-data, autoloads)
962 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
963 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
964 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
965
966 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
967
968 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
969 error-completion on the first 2 args of condition-case (bug#14446).
970 Don't burp at EOB.
971
972 2013-05-25 Leo Liu <sdl.web@gmail.com>
973
974 * comint.el (comint-previous-matching-input): Do not flood the
975 *Messages* buffer with trivial messages.
976
977 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
978
979 * progmodes/flymake.el (flymake-nop): Don't return a string.
980 (flymake-set-at): Fix typo.
981
982 * simple.el (read--expression): New function, extracted from
983 eval-expression. Set completion-at-point-functions (bug#14465).
984 (eval-expression, eval-minibuffer): Use it.
985
986 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
987
988 * progmodes/flymake.el (flymake-save-buffer-in-file)
989 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
990 (flymake-selected-frame, flymake-log, flymake-ins-after)
991 (flymake-set-at, flymake-get-buildfile-from-cache)
992 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
993 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
994 Refine the doc string.
995 (flymake-get-file-name-mode-and-masks): Reformat.
996 (flymake-get-real-file-name-function): Fix a minor bug.
997
998 2013-05-24 Juri Linkov <juri@jurta.org>
999
1000 * progmodes/grep.el (grep-mode-font-lock-keywords):
1001 Support =linenumber= format used by git-grep for lines with
1002 function names. (Bug#13549)
1003
1004 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
1005
1006 * progmodes/octave.el (octave-smie-rules): Return nil rather than
1007 0 after a semi-colon; it works better for smie-auto-fill.
1008 (octave--indent-new-comment-line): New function.
1009 (octave-indent-new-comment-line): Use it (indirectly).
1010 (octave-mode): Don't disable smie-auto-fill. Use add-function to
1011 modify comment-line-break-function.
1012
1013 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
1014 (smie-setup): Use add-function to set it.
1015
1016 2013-05-24 Sam Steingold <sds@gnu.org>
1017
1018 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
1019 argument (before the `interactive' argument).
1020
1021 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
1022
1023 * image-mode.el (image-mode-winprops): Add winprops to
1024 image-mode-winprops-alist before running
1025 image-mode-new-window-functions.
1026 * doc-view.el (doc-view-new-window-function): Don't delay
1027 doc-view-goto-page via timers (bug#14435).
1028
1029 2013-05-24 Tassilo Horn <tsdh@gnu.org>
1030
1031 * doc-view.el: Integrate with desktop.el. (Bug#14435)
1032 (doc-view-desktop-save-buffer): New function.
1033 (doc-view-restore-desktop-buffer): New function.
1034 (desktop-buffer-mode-handlers):
1035 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
1036 handler.
1037 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
1038 `desktop-save-buffer' function.
1039
1040 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
1041
1042 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
1043 (tramp-gvfs-file-name-handler): Raise a user error when
1044 `tramp-gvfs-enabled' is nil.
1045 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
1046 Do not raise a user error when loading package. (Bug#14447)
1047
1048 * net/xesam.el: Move to obsolete/.
1049
1050 2013-05-24 Glenn Morris <rgm@gnu.org>
1051
1052 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
1053
1054 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
1055
1056 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
1057 (Info-find-node, Man-getpage-in-background): Declare.
1058
1059 * mail/unrmail.el (unrmail):
1060 Replace obsolete detect-coding-with-priority.
1061
1062 * net/socks.el (socks-split-string): Use this rather than split-string.
1063 (socks-nslookup-host): Update for above change.
1064 (dynamic-choice, s5-dynamic-choice-match)
1065 (s5-dynamic-choice-match-inline, s5-widget-value-create):
1066 Comment out unused code.
1067
1068 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
1069 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
1070 (gud-tooltip-echo-area): Make obsolete.
1071 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
1072
1073 * progmodes/js.el (js--optimize-arglist): Declare.
1074
1075 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
1076
1077 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
1078 (ediff-window-C): Declare.
1079
1080 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
1081 Tweak requires to silence compiler.
1082
1083 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
1084 (he-search-string, he-tried-table, he-expand-list)
1085 (he-init-string, he-string-member, he-substitute-string)
1086 (he-reset-string): Declare.
1087
1088 * obsolete/options.el (list-options): Use custom-variable-p,
1089 rather than obsolete alias.
1090
1091 2013-05-23 Sam Steingold <sds@gnu.org>
1092
1093 * simple.el (shell-command-on-region): Pass the `replace' argument
1094 down to `call-process-region' to comply with the doc as reported on
1095 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
1096
1097 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1098
1099 * emacs-lisp/smie.el (smie-indent-forward-token)
1100 (smie-indent-backward-token): Handle string tokens (bug#14381).
1101
1102 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
1103
1104 * ielm.el (ielm-menu): New menu.
1105 (inferior-emacs-lisp-mode): Set comment-start.
1106
1107 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
1108
1109 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
1110 Fix deactivate action.
1111
1112 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
1113 Add cleveref macros.
1114
1115 * lisp/textmodes/reftex-parse.el
1116 (reftex-locate-bibliography-files): Accept options for
1117 bibliography commands.
1118 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
1119 Add addbibresource. Basic Biblatex support.
1120
1121 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
1122
1123 * net/tramp-gvfs.el (top):
1124 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
1125 when loading package. (Bug#14447)
1126
1127 2013-05-23 Glenn Morris <rgm@gnu.org>
1128
1129 * progmodes/js.el: No need to load comint when compiling.
1130 (ring-insert, comint-send-string, comint-send-input)
1131 (comint-last-input-end, ido-chop): Declare.
1132
1133 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
1134 * vc/ediff-mult.el: Adjust requires.
1135 (ediff-directories-internal, ediff-directory-revisions-internal)
1136 (ediff-patch-file-internal): Declare.
1137 * vc/ediff-ptch.el: Adjust requires.
1138 (ediff-use-last-dir, ediff-buffers-internal): Declare.
1139 (ediff-find-file): Autoload.
1140 * vc/ediff-util.el: No need to load ediff when compiling.
1141 (ediff-regions-internal): Declare.
1142 * vc/ediff-wind.el: Adjust requires.
1143 (ediff-compute-toolbar-width): Define when compiling.
1144 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
1145 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
1146 (dired-get-filename, dired-get-marked-files)
1147 (ediff-last-dir-patch, ediff-patch-default-directory)
1148 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
1149 (ediff-patch-buffer-internal): Declare.
1150
1151 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
1152 (ispell-process, ispell-buffer-local-words, lm-summary)
1153 (lm-section-start, lm-section-end): Declare.
1154 (checkdoc-ispell-init): Simplify.
1155
1156 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
1157 (he-string-member, he-reset-string, he-substitute-string): Declare.
1158
1159 * eshell/em-ls.el: Adjust requires.
1160 (eshell-glob-regexp): Declare.
1161 * eshell/em-tramp.el: Adjust requires.
1162 (eshell-parse-command): Autoload.
1163 * eshell/em-xtra.el: Adjust requires.
1164 (eshell-parse-command): Autoload.
1165 * eshell/esh-ext.el: Adjust requires.
1166 (eshell-parse-command, eshell-close-handles): Autoload.
1167 * eshell/esh-io.el: Adjust requires.
1168 (eshell-output-filter): Autoload.
1169 * eshell/esh-util.el: No need to load tramp when compiling.
1170 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
1171 Declare.
1172 (eshell-parse-ange-ls): Require ange-ftp and tramp.
1173 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1174 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
1175 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
1176 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
1177 * eshell/esh-opt.el, eshell/esh-proc.el:
1178 * eshell/esh-var.el: Adjust requires.
1179 * eshell/eshell.el: Do not require esh-util twice.
1180 (eshell-add-input-to-history): Declare.
1181 (eshell-command): Check history module is active before using it.
1182
1183 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
1184
1185 2013-05-22 Leo Liu <sdl.web@gmail.com>
1186
1187 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
1188
1189 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
1190
1191 * autorevert.el (auto-revert-notify-add-watch)
1192 (auto-revert-notify-handler): Add `attrib' for the inotify case,
1193 it indicates changes in file modification time.
1194
1195 2013-05-22 Glenn Morris <rgm@gnu.org>
1196
1197 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
1198 Always delete the autoloaded function from the noruntime and
1199 unresolved functions lists.
1200
1201 * allout.el: No need to load epa, epg, overlay when compiling.
1202 (epg-context-set-passphrase-callback, epg-list-keys)
1203 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
1204 (epg-key-user-id-list): Declare.
1205
1206 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
1207 (viper-set-parsing-style-toggling-macro)
1208 (viper-set-emacs-state-searchstyle-macros):
1209 Use called-interactively-p on Emacs.
1210 (viper-looking-back): Make it an obsolete alias. Update callers.
1211 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
1212 Use looking-back rather than viper-looking-back.
1213 (viper-tmp-insert-at-eob, viper-enlarge-region)
1214 (viper-read-string-with-history, viper-register-to-point)
1215 (viper-append-to-register, viper-change-state-to-vi)
1216 (viper-backward-char-carefully, viper-forward-char-carefully)
1217 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
1218 (viper-change-state-to-emacs): Declare.
1219 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
1220 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
1221 * emulation/viper-mous.el: Do not load viper-cmd.
1222 (viper-backward-char-carefully, viper-forward-char-carefully)
1223 (viper-forward-word, viper-adjust-window): Declare.
1224
1225 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
1226
1227 * progmodes/idlw-help.el (idlwave-help-fontify):
1228 Use called-interactively-p.
1229
1230 * term/w32console.el (w32-get-console-codepage)
1231 (w32-get-console-output-codepage): Declare.
1232
1233 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
1234 Remove unnecessary declarations.
1235 (dframe-message): Doc fix.
1236
1237 * info.el (dframe-select-attached-frame, dframe-current-frame):
1238 Declare.
1239
1240 * speedbar.el (speedbar-message): Make it an obsolete alias.
1241 Update all callers.
1242 (speedbar-with-attached-buffer)
1243 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
1244 (speedbar-with-writable): Use backquote.
1245 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
1246 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1247 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
1248 rather than speedbar- aliases.
1249 * mail/rmail.el: Load dframe rather than speedbar when compiling.
1250 (speedbar-make-specialized-keymap, speedbar-insert-button)
1251 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
1252 (speedbar-do-function-pointer): Declare.
1253 (rmail-speedbar-button, rmail-speedbar-find-file)
1254 (rmail-speedbar-move-message):
1255 Use dframe-with-attached-buffer rather than speedbar- alias.
1256 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
1257 (dframe-message, speedbar-make-specialized-keymap)
1258 (speedbar-add-expansion-list, speedbar-mode-functions-list)
1259 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
1260 (speedbar-insert-button, dframe-select-attached-frame)
1261 (dframe-maybee-jump-to-attached-frame)
1262 (speedbar-change-initial-expansion-list)
1263 (speedbar-previously-used-expansion-list-name): Declare.
1264 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
1265 Use dframe-message, dframe-with-attached-buffer rather than
1266 speedbar- aliases.
1267 (gud-sentinel): Silence compiler.
1268 * progmodes/vhdl-mode.el (speedbar-refresh)
1269 (speedbar-do-function-pointer, speedbar-add-supported-extension)
1270 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
1271 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
1272 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
1273 (speedbar-file-lists, speedbar-make-tag-line)
1274 (speedbar-line-directory, speedbar-goto-this-file)
1275 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
1276 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
1277 (speedbar-make-button, speedbar-reset-scanners)
1278 (speedbar-files-item-info, speedbar-line-text)
1279 (speedbar-find-file-in-frame, speedbar-set-timer)
1280 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
1281 (speedbar-with-writable): Do not (re)define it.
1282 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
1283 rather than speedbar- alias.
1284
1285 2013-05-21 Leo Liu <sdl.web@gmail.com>
1286
1287 * progmodes/octave.el (octave-mode-menu): Update and re-organize
1288 menu items.
1289 (octave-mode): Tweak fill-nobreak-predicate.
1290 (inferior-octave-startup): Check process to avoid infinite loop.
1291 (inferior-octave): Pop to buffer first to show abornmal process
1292 exit information.
1293
1294 2013-05-21 Glenn Morris <rgm@gnu.org>
1295
1296 * printing.el (pr-menu-bar): Define when compiling.
1297
1298 2013-05-21 Leo Liu <sdl.web@gmail.com>
1299
1300 * progmodes/octave.el (octave-auto-fill): Remove.
1301 (octave-indent-new-comment-line): Improve.
1302 (octave-mode): Use auto fill mode through
1303 comment-line-break-function and fill-nobreak-predicate
1304 (octave-goto-function-definition): Support DEFUN_DLD.
1305 (octave-beginning-of-defun): Small Tweak
1306 (octave-help): Show parent directory.
1307
1308 2013-05-21 Glenn Morris <rgm@gnu.org>
1309
1310 * files.el (dired-unmark):
1311 * progmodes/gud.el (gdb-input): Update declarations.
1312
1313 * calculator.el (electric, ehelp): No need to load when compiling.
1314 (Electric-command-loop, electric-describe-mode): Declare.
1315
1316 * doc-view.el (doc-view-current-converter-processes): Move before use.
1317
1318 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1319 Move MODE-set-explicitly definition before use.
1320
1321 * international/mule-diag.el (mule-diag):
1322 Don't use obsolete window-system-version.
1323
1324 * mail/feedmail.el (smtpmail): No need to load when compiling.
1325 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
1326
1327 * mail/mail-utils.el (rfc822): No need to load when compiling.
1328 (rfc822-addresses): Autoload it.
1329 (mail-strip-quoted-names): Trivial simplification.
1330
1331 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
1332 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
1333
1334 * net/snmp-mode.el (tempo): Don't duplicate requires.
1335
1336 * progmodes/prolog.el (info): No need to load when compiling.
1337 (comint): Require before shell requires it.
1338 (Info-goto-node): Autoload it.
1339 (Info-follow-nearest-node): Declare.
1340 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
1341
1342 * textmodes/artist.el (picture-mode-exit): Declare.
1343
1344 * textmodes/reftex-parse.el (reftex-parse-from-file):
1345 Trivial rewrite so the compiler can parse it better.
1346
1347 2013-05-20 Leo Liu <sdl.web@gmail.com>
1348
1349 * progmodes/octave.el (octave-help-mode-map)
1350 (octave-help-mode-finish-hook): New variables.
1351 (octave-help-mode, octave-help-mode-finish): New functions.
1352 (octave-help): Use octave-help-mode.
1353
1354 2013-05-20 Glenn Morris <rgm@gnu.org>
1355
1356 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
1357
1358 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
1359
1360 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
1361 start at point, so that expansion starting right after opening
1362 slash in a regexp is recognized.
1363 (ruby-syntax-before-regexp-re): New defvar, extracted from
1364 ruby-syntax-propertize-function. Since the value of this regexp
1365 is looked up at runtime now, we should be able to turn
1366 `ruby-syntax-methods-before-regexp' into a defcustom later.
1367 (ruby-syntax-propertize-function): Split regexp matching into two
1368 parts, for opening and closing slashes. That allows us to skip
1369 over string interpolations and support multiline regexps.
1370 Don't call `ruby-syntax-propertize-expansions', instead use another rule
1371 for them, which calls `ruby-syntax-propertize-expansion'.
1372 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
1373 call to `ruby-syntax-propertize-function'.
1374 (ruby-syntax-propertize-expansion): Extracted from
1375 `ruby-syntax-propertize-expansions'. Handles one expansion.
1376 (ruby-syntax-propertize-percent-literal): Leave point right after
1377 the percent symbol, so that the expression expansion rule can
1378 propertize the contents.
1379 (ruby-syntax-propertize-heredoc): Leave point at bol following the
1380 heredoc openers.
1381 (ruby-syntax-propertize-expansions): Remove.
1382
1383 2013-05-18 Juri Linkov <juri@jurta.org>
1384
1385 * man.el (Man-default-man-entry): Remove `-' from the end
1386 of the default value. (Bug#14400)
1387
1388 2013-05-18 Glenn Morris <rgm@gnu.org>
1389
1390 * comint.el (comint-password-prompt-regexp):
1391 Allow "password for XXX" where XXX contains colons (eg https://...).
1392
1393 2013-05-18 Leo Liu <sdl.web@gmail.com>
1394
1395 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
1396 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
1397 (octave-source-directories): Don't check process.
1398 (octave-source-directories, octave-find-definition): Doc fix.
1399
1400 2013-05-18 Glenn Morris <rgm@gnu.org>
1401
1402 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
1403 Remove backspace/delete bindings. (Bug#14392)
1404
1405 * cus-dep.el (custom-make-dependencies): Sort the output.
1406 (custom-versions-load-alist): Convert comment to doc.
1407
1408 2013-05-17 Leo Liu <sdl.web@gmail.com>
1409
1410 * newcomment.el (comment-search-backward): Stricter in finding
1411 comment start. (Bug#14303)
1412
1413 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
1414 (octave-comment-start-skip): Properly anchored.
1415
1416 2013-05-17 Leo Liu <sdl.web@gmail.com>
1417
1418 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
1419 Clean up when turned off. (Bug#14395)
1420 (smie--highlight-matching-block-overlay): No longer buffer-local.
1421 (smie-highlight-matching-block): Adjust.
1422
1423 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
1424
1425 Doc string fix for "nanoseconds" (Bug#14406).
1426 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
1427 Fix doc string typo that had "nanoseconds" instead of "microseconds".
1428
1429 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
1430
1431 * calc/calc-units.el (math-extract-units): Preserve powers
1432 of units.
1433
1434 2013-05-17 Leo Liu <sdl.web@gmail.com>
1435
1436 * subr.el (delete-consecutive-dups): New function.
1437 * ido.el (ido-set-matches-1): Use it.
1438 * progmodes/octave.el (inferior-octave-completion-table): Use it.
1439 * ido.el (ido-remove-consecutive-dups): Remove.
1440
1441 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1442
1443 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
1444 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
1445 regexp-opt's `words'.
1446
1447 2013-05-16 Leo Liu <sdl.web@gmail.com>
1448
1449 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
1450 (smie--highlight-matching-block-overlay)
1451 (smie--highlight-matching-block-lastpos)
1452 (smie--highlight-matching-block-timer): New variables.
1453 (smie-highlight-matching-block): New function.
1454 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
1455 (smie-setup): Conditionally enable smie-blink-matching-open.
1456
1457 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
1458
1459 Sync with upstream verilog-mode r840.
1460 * progmodes/verilog-mode.el (verilog-mode-version)
1461 (verilog-mode-release-date): Update.
1462 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
1463 (verilog-sig-tieoff): Fix string error on
1464 AUTORESET with colon define, bug594. Reported by Andrew Hou.
1465 (verilog-read-decls): Fix parameters confusing
1466 AUTOINST interfaces, bug565. Reported by Leith Johnson.
1467
1468 2013-05-16 Eli Zaretskii <eliz@gnu.org>
1469
1470 * subr.el (reveal-filename): New function.
1471
1472 * loadup.el: Compute Emacs executable versions on MS-Windows,
1473 where executables have the .exe extension. Add a hard link
1474 emacs-XX.YY.ZZ.exe on MS-Windows.
1475
1476 * Makefile.in (XARGS_LIMIT): New variable.
1477 (custom-deps, finder-data, autoloads)
1478 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1479 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1480 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
1481 (compile-main): Limit xargs according to $(XARGS_LIMIT).
1482
1483 2013-05-16 Leo Liu <sdl.web@gmail.com>
1484
1485 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
1486 (octave-mode-menu, octave-mode-map): Remove its uses.
1487
1488 2013-05-16 Reto Zimmermann <reto@gnu.org>
1489
1490 Sync with upstream vhdl mode v3.34.2.
1491 * progmodes/vhdl-mode.el: Use `push' throughout.
1492 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
1493 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
1494 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
1495 (vhdl-actual-generic-name): New option to derive actual generic name.
1496 (vhdl-port-paste-signals): Replace formal by actual generics.
1497 (vhdl-beautify): New name for old group vhdl-align. Update users.
1498 (vhdl-beautify-options): New option.
1499 (vhdl-last-input-event): New compat alias. Use throughout.
1500 (vhdl-goto-line): Replace user level function `goto-line'.
1501 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
1502 vhdl-fix-statement-buffer.
1503 (vhdl-create-mode-menu): Add some entries.
1504 (vhdl-align-region-groups): Respect vhdl-beautify-options.
1505 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
1506 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
1507 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
1508 to force statements on one line.
1509 (vhdl-remove-trailing-spaces-region):
1510 New, split from vhdl-remove-trailing-spaces.
1511 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
1512 Respect vhdl-beautify-options.
1513 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
1514 (vhdl-update-sensitivity-list): Not add with index if exists without.
1515 Not include array index with signal. Ignore keywords in comments.
1516 (vhdl-get-visible-signals): Regexp tweaks.
1517 (vhdl-template-component-inst): Handle empty library.
1518 (vhdl-template-type): Add template for 'enum' type.
1519 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
1520 Use vhdl-replace-string.
1521 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
1522 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
1523 (vhdl-speedbar-initialize): Update for above name change.
1524 (vhdl-compose-wire-components): Fix in handling of constants.
1525 (vhdl-error-regexp-emacs-alist): New variable.
1526 (vhdl-error-regexp-add-emacs): New function;
1527 adds support for new compile.el (Emacs 22+)
1528 (vhdl-generate-makefile-1): Change target order for single lib. units.
1529 Allow use of absolute file names.
1530
1531 2013-05-16 Leo Liu <sdl.web@gmail.com>
1532
1533 * simple.el (prog-indent-sexp): Indent enclosing defun.
1534
1535 2013-05-15 Glenn Morris <rgm@gnu.org>
1536
1537 * cus-start.el (show-trailing-whitespace): Move to editing basics.
1538 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
1539 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
1540 (whitespace-highlight): Move to whitespace group.
1541
1542 * comint.el (comint-source):
1543 * pcmpl-linux.el (pcmpl-linux):
1544 * shell.el (shell-faces):
1545 * eshell/esh-opt.el (eshell-opt):
1546 * international/ccl.el (ccl): Remove empty custom groups.
1547
1548 * completion.el (dynamic-completion-mode):
1549 * jit-lock.el (jit-lock-debug-mode):
1550 * minibuffer.el (completion-in-region-mode):
1551 * type-break.el (type-break-mode-line-message-mode)
1552 (type-break-query-mode):
1553 * emulation/tpu-edt.el (tpu-edt-mode):
1554 * progmodes/subword.el (global-subword-mode, global-superword-mode):
1555 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
1556 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
1557
1558 * term/xterm.el (xterm): Change parent group to terminals.
1559
1560 * master.el (master): Remove empty custom group.
1561 (master-mode): Remove unused :group argument.
1562 * textmodes/refill.el (refill): Remove empty custom group.
1563 (refill-mode): Remove unused :group argument.
1564
1565 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
1566
1567 * cus-dep.el: Provide a feature.
1568 (custom-make-dependencies): Ignore dotfiles (dir-locals).
1569 Don't mistakenly ignore files whose basenames match a basename
1570 from preloaded-file-list (eg cedet/ede/simple.el).
1571 Add a fallback method for getting :group.
1572
1573 2013-05-15 Juri Linkov <juri@jurta.org>
1574
1575 * isearch.el (isearch-char-by-name): Rename from
1576 `isearch-insert-char-by-name'. Doc fix.
1577 (isearch-forward): Mention `isearch-char-by-name' in
1578 the docstring. (Bug#13348)
1579
1580 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
1581 `exit-minibuffer' instead of
1582 `isearch-nonincremental-exit-minibuffer'.
1583 (isearch-edit-string): Remove mention of
1584 `isearch-nonincremental-exit-minibuffer' from docstring.
1585 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
1586 (isearch-forward-exit-minibuffer)
1587 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
1588
1589 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1590
1591 * loadup.el: Just use unversioned DOC.
1592
1593 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
1594 literals as extending to EOB.
1595 (nxml-last-fontify-end): Remove unused variable.
1596 (nxml-after-change1): Use with-silent-modifications.
1597 (nxml-extend-after-change-region): Simplify.
1598 (nxml-extend-after-change-region1): Remove function.
1599 (nxml-after-change1): Don't adjust for dependent regions.
1600 (nxml-fontify-matcher): Simplify.
1601 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
1602 (xmltok-add-dependent): Remove function.
1603 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
1604 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
1605 (xmltok-scan-prolog-after-processing-instruction-open): Treat
1606 unclosed <[[, <?, comment, and other literals as extending to EOB.
1607 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
1608 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
1609 Remove functions.
1610 (rng-do-some-validation-1): Don't mark dependent regions.
1611 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
1612 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
1613 (nxml-clear-dependent-regions): Remove functions.
1614 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
1615 (nxml-ensure-scan-up-to-date):
1616 Don't clear&mark dependent regions.
1617
1618 2013-05-15 Leo Liu <sdl.web@gmail.com>
1619
1620 * progmodes/octave.el (octave-goto-function-definition):
1621 Improve and fix callers.
1622
1623 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1624
1625 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
1626 the setter (bug#14387).
1627
1628 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
1629 surrounding group (bug#14402).
1630
1631 2013-05-14 Juri Linkov <juri@jurta.org>
1632
1633 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
1634 (Bug#14390)
1635
1636 2013-05-14 Glenn Morris <rgm@gnu.org>
1637
1638 * progmodes/f90.el (f90-imenu-generic-expression):
1639 Fix typo in 2013-05-08 change. (Bug#14402)
1640
1641 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1642
1643 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
1644 Remove signals for which replies are never received.
1645
1646 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1647
1648 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
1649 (gdb-handler-alist, gdb-handler-number): Remove variables.
1650 (gdb-handler-list): New variable.
1651 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
1652 (gdb-pending-handler-p, gdb-handle-reply)
1653 (gdb-remove-all-pending-triggers): New functions.
1654 (gdb-discard-unordered-replies): New defcustom.
1655 (gdb-handler): New defstruct.
1656 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
1657 instead of gdb-pending-triggers. Update docstring.
1658 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
1659 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
1660 (gdb-var-update-handler, def-gdb-auto-update-trigger)
1661 (def-gdb-auto-update-handler, gdb-get-changed-registers)
1662 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
1663 (gdb-frame-handler): Pending triggers are now automatically managed.
1664 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
1665 Remove argument.
1666 (gdb-input): Automatically handles pending triggers. Update docstring.
1667 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
1668 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
1669 Update comments.
1670 (gdb-done-or-error): Now use gdb-handle-reply.
1671
1672 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1673
1674 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
1675 gdb-debug-log.
1676
1677 2013-05-14 Glenn Morris <rgm@gnu.org>
1678
1679 * subr.el (user-emacs-directory-warning): New option.
1680 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
1681
1682 2013-05-14 Leo Liu <sdl.web@gmail.com>
1683
1684 * progmodes/octave.el (octave-font-lock-keywords): Fix error
1685 during redisplay.
1686 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
1687 (octave-font-lock-texinfo-comment): Fix invalid search bound
1688 error: wrong side of point.
1689
1690 2013-05-14 Glenn Morris <rgm@gnu.org>
1691
1692 * progmodes/flymake.el (flymake-xml-program): New option.
1693 (flymake-xml-init): Use it.
1694
1695 * term/xterm.el: Provide a feature.
1696
1697 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
1698
1699 2013-05-13 Glenn Morris <rgm@gnu.org>
1700
1701 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
1702 Add compat aliases as a hack workaround. (Bug#14384)
1703
1704 2013-05-13 Leo Liu <sdl.web@gmail.com>
1705
1706 * progmodes/octave.el (octave-indent-comment): Fix indentation for
1707 ###, and %!.
1708 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
1709 C-M-q.
1710 (octave-comment-start-skip): Include %!.
1711 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
1712
1713 2013-05-12 Leo Liu <sdl.web@gmail.com>
1714
1715 * progmodes/octave.el (inferior-octave-startup): Store the value
1716 of __octave_srcdir__ for octave-source-directories.
1717 (inferior-octave-check-process): New function refactored out of
1718 inferior-octave-send-list-and-digest.
1719 (octave-source-directories)
1720 (octave-find-definition-filename-function): New variables.
1721 (octave-source-directories)
1722 (octave-find-definition-default-filename): New functions.
1723 (octave-find-definition): Improve to find functions implemented in C++.
1724
1725 2013-05-12 Glenn Morris <rgm@gnu.org>
1726
1727 * calendar/diary-lib.el (diary-outlook-format-1):
1728 Don't include dayname in the output. (Bug#14349)
1729
1730 2013-05-11 Glenn Morris <rgm@gnu.org>
1731
1732 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
1733
1734 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
1735 Treat cc-provide like provide.
1736
1737 2013-05-11 Kevin Ryde <user42@zip.com.au>
1738
1739 * cus-dep.el (custom-make-dependencies):
1740 Use generated-autoload-load-name for the sake of files such
1741 such cedet/semantic/bovine/c.el, where the base file name
1742 is not in load-path. (Bug#5277)
1743
1744 2013-05-11 Glenn Morris <rgm@gnu.org>
1745
1746 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
1747 Provide features.
1748
1749 2013-05-11 Leo Liu <sdl.web@gmail.com>
1750
1751 * progmodes/octave.el (octave-indent-comment): Improve.
1752 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
1753 (octave-eldoc-function-signatures, octave-eldoc-function):
1754 New functions.
1755 (octave-mode, inferior-octave-mode): Add eldoc support.
1756
1757 2013-05-11 Richard Stallman <rms@gnu.org>
1758
1759 * epa.el (epa-decrypt-file): Take output file name as argument
1760 and read it using `interactive'.
1761
1762 2013-05-11 Leo Liu <sdl.web@gmail.com>
1763
1764 * progmodes/octave.el (octave-beginning-of-line)
1765 (octave-end-of-line): Check before using up-list because it jumps
1766 out of more syntactic contructs since moving to smie.
1767 (octave-indent-comment): New function.
1768 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
1769 (octave-begin-keywords, octave-end-keywords)
1770 (octave-reserved-words, octave-smie-bnf-table)
1771 (octave-smie-rules): Add new keywords from Octave 3.6.4.
1772
1773 2013-05-11 Glenn Morris <rgm@gnu.org>
1774
1775 * faces.el (internal-face-x-get-resource):
1776 * frame.el (ns-display-monitor-attributes-list):
1777 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
1778
1779 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
1780
1781 * calc/calc-menu.el: Make it loadable in isolation.
1782
1783 * net/eudcb-bbdb.el: Make it loadable without bbdb.
1784 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
1785 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
1786 (eudc-bbdb-query-internal): Require 'bbdb.
1787
1788 * lpr.el (lpr-headers-switches):
1789 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
1790
1791 * progmodes/sql.el (sql-login-params): Fix and improve :type.
1792
1793 * emulation/edt-mapper.el: In batch mode, error rather than hang.
1794
1795 * term.el (term-set-escape-char): Make it idempotent.
1796
1797 2013-05-10 Leo Liu <sdl.web@gmail.com>
1798
1799 * progmodes/octave.el (inferior-octave-completion-table):
1800 No longer a function and all uses changed. Use cache to speed up
1801 completion due to bug#11906.
1802 (octave-beginning-of-defun): Re-write to be more general.
1803
1804 2013-05-10 Glenn Morris <rgm@gnu.org>
1805
1806 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
1807
1808 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1809
1810 * comint.el (comint-redirect-send-command-to-process): Use :around
1811 rather than :override for comint-redirect-filter.
1812 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
1813 Call it instead of comint-redirect-original-filter-function (which
1814 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
1815
1816 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
1817
1818 * frame.el (display-monitor-attributes-list): Add NS case.
1819 (ns-display-monitor-attributes-list): Declare.
1820
1821 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
1822
1823 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
1824
1825 2013-05-09 Glenn Morris <rgm@gnu.org>
1826
1827 * international/fontset.el (vertical-centering-font-regexp):
1828 Set standard-value.
1829
1830 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
1831
1832 * bookmark.el (bookmark-search-delay):
1833 * cus-start.el (vertical-centering-font-regexp):
1834 * ps-mule.el (ps-mule-font-info-database-default):
1835 * ps-print.el (ps-default-fg, ps-default-bg):
1836 * type-break.el (type-break-good-break-interval):
1837 * whitespace.el (whitespace-indentation-regexp)
1838 (whitespace-space-after-tab-regexp):
1839 * emacs-lisp/testcover.el (testcover-1value-functions)
1840 (testcover-noreturn-functions, testcover-progn-functions)
1841 (testcover-prog1-functions):
1842 * emulation/viper-init.el (viper-emacs-state-cursor-color):
1843 * eshell/em-glob.el (eshell-glob-translate-alist):
1844 * play/tetris.el (tetris-tty-colors):
1845 * progmodes/cpp.el (cpp-face-default-list):
1846 * progmodes/flymake.el (flymake-allowed-file-name-masks):
1847 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
1848 (idlwave-help-browser-generic-args):
1849 * progmodes/make-mode.el (makefile-special-targets-list):
1850 * progmodes/python.el (python-shell-virtualenv-path):
1851 * progmodes/verilog-mode.el (verilog-active-low-regexp)
1852 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
1853 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
1854 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
1855 * textmodes/reftex-vars.el (reftex-format-label-function):
1856 * textmodes/remember.el (remember-diary-file): Fix custom types.
1857
1858 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
1859 Add :version.
1860
1861 2013-05-09 Leo Liu <sdl.web@gmail.com>
1862
1863 * progmodes/octave.el (inferior-octave-completion-at-point):
1864 Restore file completion. (Bug#14300)
1865 (inferior-octave-startup): Fix incorrect highlighting for the
1866 first prompt.
1867
1868 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1869
1870 * progmodes/ruby-mode.el: First cut at SMIE support.
1871 (ruby-use-smie): New var.
1872 (ruby-smie-grammar): New constant.
1873 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
1874 (ruby-smie--forward-token, ruby-smie--backward-token)
1875 (ruby-smie-rules): New functions.
1876 (ruby-mode-variables): Setup SMIE if applicable.
1877
1878 2013-05-08 Eli Zaretskii <eliz@gnu.org>
1879
1880 * simple.el (line-move-visual): Signal beginning/end of buffer
1881 only if vertical-motion moved less than it was requested. Avoids
1882 silly incorrect error messages when there are display strings with
1883 multiple newlines at EOL.
1884
1885 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1886
1887 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
1888 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
1889 (prolog-char-quote-workaround):
1890 * progmodes/cperl-mode.el (cperl-under-as-char):
1891 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
1892 Mark as obsolete.
1893 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1894 their declaration.
1895 (vhdl-mode-syntax-table-init): Remove.
1896
1897 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
1898 last change.
1899
1900 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
1901 syntax for "_".
1902 (ld-script-font-lock-keywords):
1903 Change regexps to use things like \_< and \_>.
1904
1905 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
1906 Change all regexps to use things like \_< and \_>.
1907
1908 * progmodes/autoconf.el (autoconf-definition-regexp)
1909 (autoconf-font-lock-keywords, autoconf-current-defun-function):
1910 Handle a _ with symbol syntax.
1911 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
1912
1913 * progmodes/ada-mode.el (ada-mode-abbrev-table):
1914 Consolidate declaration.
1915 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
1916 the declaration.
1917 (ada-create-syntax-table): Remove.
1918 (ada-capitalize-word): Don't mess with the syntax of "_" since it
1919 already has the right syntax nowadays.
1920 (ada-goto-next-word): Don't change the syntax of "_".
1921
1922 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
1923 with-wrapper-hook.
1924
1925 2013-05-08 Sam Steingold <sds@gnu.org>
1926
1927 * thingatpt.el (thing-at-point): Accept optional second argument
1928 NO-PROPERTIES to strip the text properties from the return value.
1929 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
1930 to `thing-at-point' instead of stripping the properties ourselves.
1931 Also, when `thing-at-point' fails to find a url, prepend "http://"
1932 to the filename at point on the assumption that the user is
1933 pointing at something like gnu.org/gnu.
1934
1935 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
1936
1937 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1938 * faces.el (crm-separator):
1939 Silence byte-compiler.
1940
1941 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
1942 (tool-bar-map): Remove unneeded defvars.
1943
1944 2013-05-08 Leo Liu <sdl.web@gmail.com>
1945
1946 Re-work a fix for bug#10994 based on Le Wang's patch.
1947 * ido.el (ido-remove-consecutive-dups): New helper.
1948 (ido-completing-read): Use it.
1949 (ido-chop): Revert fix for bug#10994.
1950
1951 2013-05-08 Adam Spiers <emacs@adamspiers.org>
1952
1953 * cus-edit.el (custom-save-variables):
1954 Pretty-print long values. (Bug#14187)
1955
1956 2013-05-08 Glenn Morris <rgm@gnu.org>
1957
1958 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
1959 (m4-mode-syntax-table): Init in the defvar.
1960 (m4-mode-abbrev-table): Let define-derived-mode define it.
1961
1962 2013-05-08 Tom Tromey <tromey@redhat.com>
1963
1964 * progmodes/m4-mode.el (m4-mode-syntax-table):
1965 Do not treat "_" as word constituent. (Bug#14167)
1966
1967 2013-05-07 Glenn Morris <rgm@gnu.org>
1968
1969 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
1970 Remove explicit eshell-isearch-cancel-map.
1971
1972 * progmodes/f90.el (f90-smart-end-names): New option.
1973 (f90-smart-end): Doc fix.
1974 (f90-end-block-optional-name): New constant.
1975 (f90-block-match): Respect f90-smart-end-names.
1976
1977 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1978
1979 * progmodes/octave.el (octave-smie-forward-token): Be more careful
1980 about implicit semi-colons (bug#14218).
1981
1982 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1983
1984 * frame.el (display-monitor-attributes-list)
1985 (frame-monitor-attributes): New functions.
1986
1987 2013-05-06 Leo Liu <sdl.web@gmail.com>
1988
1989 * progmodes/octave.el (octave-syntax-propertize-function): Change
1990 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
1991 (octave-font-lock-keywords): Use octave-operator-regexp.
1992 (octave-completion-at-point): Rename from
1993 octave-completion-at-point-function.
1994 (inferior-octave-directory-tracker): Robustify.
1995 (octave-text-functions): Remove and fix its uses. No such things
1996 any more.
1997
1998 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1999
2000 * emacs-lisp/trace.el (trace--display-buffer): New function.
2001 (trace-make-advice): Use it.
2002
2003 2013-05-06 Juri Linkov <juri@jurta.org>
2004
2005 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
2006 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
2007 Doc fix.
2008 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
2009 in the help string. (Bug#12985)
2010
2011 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2012
2013 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
2014
2015 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2016
2017 * progmodes/perl-mode.el: Add support for here documents.
2018 (perl-syntax-propertize-function): Match here-doc markers.
2019 (perl-syntax-propertize-special-constructs): Find their end.
2020 (perl-imenu-generic-expression): Use [:alnum:].
2021
2022 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
2023 (advice--add-function): Refresh the advice if already present
2024 (bug#14317).
2025
2026 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
2027
2028 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
2029
2030 2013-05-06 Glenn Morris <rgm@gnu.org>
2031
2032 * w32-fns.el (w32-charset-info-alist): Declare.
2033
2034 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
2035 of its defcustom properties.
2036 (eshell-cmpl-initialize): No need to load pcomplete.
2037
2038 * generic-x.el: No need to require comint when compiling.
2039
2040 * net/eudc-export.el: Make it loadable without bbdb.
2041 (top-level): Use require rather than load-library.
2042 (eudc-create-bbdb-record, eudc-bbdbify-phone)
2043 (eudc-batch-export-records-to-bbdb)
2044 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
2045 Require bbdb.
2046
2047 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2048
2049 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
2050 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
2051 some tweaks, instead.
2052
2053 2013-05-05 Leo Liu <sdl.web@gmail.com>
2054
2055 * progmodes/octave.el (octave-font-lock-keywords)
2056 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
2057 (inferior-octave-send-list-and-digest): Improve error message.
2058 (octave-mode, inferior-octave-mode): Use setq-local.
2059 (octave-help): Set info-lookup-mode.
2060
2061 2013-05-05 Richard Stallman <rms@gnu.org>
2062
2063 * vc/compare-w.el (compare-windows-whitespace):
2064 Treat no-break space as whitespace.
2065
2066 * mail/rmailsum.el (rmail-summary-rmail-update):
2067 Detect empty summary and don't change selected message.
2068 (rmail-summary-goto-msg): Likewise.
2069
2070 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
2071 Doc fixes, rename args.
2072
2073 2013-05-05 Alan Mackenzie <acm@muc.de>
2074
2075 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
2076
2077 2013-05-05 Juri Linkov <juri@jurta.org>
2078
2079 * info.el (Info-read-subfile): Use (point-min) instead of (point)
2080 to not add the length of the summary segment to the return value.
2081 (Bug#14125)
2082
2083 2013-05-05 Leo Liu <sdl.web@gmail.com>
2084
2085 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
2086 (inferior-octave-output-filter): Remove.
2087 (octave-send-region, inferior-octave-startup): Fix callers.
2088 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
2089 (octave-binary-file-extensions): New user variable.
2090 (octave-find-definition): Confirm if opening binary files.
2091 (octave-help-file): Use octave-find-definition to get the binary
2092 confirmation.
2093 (octave-help): Adjust for octave-help-file change.
2094
2095 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2096
2097 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
2098 Merge the two entries that handle function definitions.
2099 (pascal--syntax-propertize): New const.
2100 (pascal-mode): Use it. Use setq-local.
2101
2102 2013-05-04 Glenn Morris <rgm@gnu.org>
2103
2104 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
2105 (diary-from-outlook): Respect diary-from-outlook-function.
2106
2107 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2108
2109 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
2110 Move the declaration from C.
2111 (read-minibuffer, eval-minibuffer): Move from C.
2112 (completion-setup-function): Avoid minibuffer-completion-contents.
2113
2114 2013-05-03 Leo Liu <sdl.web@gmail.com>
2115
2116 * progmodes/octave.el (octave-font-lock-keywords): Do not
2117 dehighlight 'end' in comments or strings.
2118 (octave-completing-read, octave-goto-function-definition):
2119 New helpers.
2120 (octave-help-buffer): New user variable.
2121 (octave-help-file, octave-help-function): New button types.
2122 (octave-help): New command and bind it to C-h ;.
2123 (octave-find-definition): New command and bind it to M-.
2124 (user-error): Alias to error if not defined.
2125
2126 2013-05-02 Leo Liu <sdl.web@gmail.com>
2127
2128 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
2129 for \. (bug#14332)
2130 (octave-font-lock-keywords): Include [ and {.
2131
2132 2013-05-02 Leo Liu <sdl.web@gmail.com>
2133
2134 * progmodes/octave.el (inferior-octave-startup-file): Change default.
2135 (inferior-octave): Remove calling comint-mode and return the buffer.
2136 (inferior-octave-startup): Cosmetic changes.
2137
2138 2013-05-02 Leo Liu <sdl.web@gmail.com>
2139
2140 * progmodes/octave.el (octave-syntax-propertize-function):
2141 Include the case when ' is at line beginning. (Bug#14336)
2142
2143 2013-05-02 Glenn Morris <rgm@gnu.org>
2144
2145 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
2146 * desktop.el (vc-dir-mode): Just autoload it here.
2147
2148 2013-05-02 Alan Mackenzie <acm@muc.de>
2149
2150 Eliminate variable c-standard-font-lock-fontify-region-function.
2151 * progmodes/cc-mode.el
2152 (c-standard-font-lock-fontify-region-function): Remove.
2153 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
2154
2155 2013-05-01 Leo Liu <sdl.web@gmail.com>
2156
2157 * progmodes/octave.el: Compatible with older emacs-24 releases.
2158 (inferior-octave-has-built-in-variables): Remove. Built-in
2159 variables were removed from Octave in 2007.
2160 (inferior-octave-startup): Fix uses.
2161 (comint-line-beginning-position): Remove compatibility code for
2162 emacs 21.
2163
2164 2013-05-01 Juri Linkov <juri@jurta.org>
2165
2166 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
2167
2168 2013-05-01 Juri Linkov <juri@jurta.org>
2169
2170 * comint.el (comint-previous-matching-input): Don't print message
2171 "History item: %d" when `isearch-mode' is active.
2172 (comint-history-isearch-message): Print message "History item: %d"
2173 when `comint-input-ring-index' is not empty and this function is
2174 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
2175
2176 2013-05-01 Leo Liu <sdl.web@gmail.com>
2177
2178 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
2179 definitions. Use completion-at-point to insert keywords.
2180 (octave-abbrev-start): Remove.
2181 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
2182
2183 2013-04-30 Leo Liu <sdl.web@gmail.com>
2184
2185 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
2186 change.
2187
2188 2013-04-30 Alan Mackenzie <acm@muc.de>
2189
2190 Handle arbitrarily long C++ member initialisation lists.
2191 * progmodes/cc-engine.el (c-back-over-member-initializers):
2192 new function.
2193 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
2194 (most) member init lists.
2195
2196 2013-04-30 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
2197
2198 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
2199 variable.
2200
2201 2013-04-30 Leo Liu <sdl.web@gmail.com>
2202
2203 * progmodes/octave.el (octave-variables): Remove. No builtin
2204 variables any more. All converted to functions.
2205 (octave-font-lock-keywords, octave-completion-at-point-function):
2206 Fix uses.
2207 (octave-font-lock-texinfo-comment): New user variable.
2208 (octave-texinfo-font-lock-keywords): New variable for texinfo
2209 comment block.
2210 (octave-function-comment-block): New face.
2211 (octave-font-lock-texinfo-comment): New function.
2212 (octave-mode): Font lock texinfo comment block.
2213
2214 2013-04-29 Leo Liu <sdl.web@gmail.com>
2215
2216 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
2217 indexing expression.
2218 (octave-continuation-string): Do not use \.
2219 (inferior-octave-complete-impossible): Remove.
2220 (inferior-octave-completion-table)
2221 (inferior-octave-completion-at-point): Remove its uses.
2222 (inferior-octave-startup): completion_matches was introduced to
2223 Octave in 1996 so safe to assume it.
2224 (octave-function-file-comment): Improve to follow how Octave does it.
2225 (octave-update-function-file-comment): Tweak.
2226
2227 2013-04-29 Leo Liu <sdl.web@gmail.com>
2228
2229 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
2230 (inferior-octave-startup): Remove inferior-octave-startup-hook.
2231 (octave-function-file-comment): Fix typo.
2232 (octave-sync-function-file-names): Use read-char-choice.
2233
2234 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
2235
2236 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
2237 to t for the less important warnings.
2238
2239 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
2240
2241 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
2242
2243 2013-04-27 Glenn Morris <rgm@gnu.org>
2244
2245 * vc/log-view.el (log-view-current-entry):
2246 Treat "---" separator lines as part of the following rev. (Bug#14169)
2247
2248 2013-04-27 Juri Linkov <juri@jurta.org>
2249
2250 * subr.el (read-number): Doc fix about using it by interactive
2251 code letter `n'. (Bug#14254)
2252
2253 2013-04-27 Juri Linkov <juri@jurta.org>
2254
2255 * desktop.el (desktop-auto-save-timeout): New option.
2256 (desktop-file-checksum): New variable.
2257 (desktop-save): Add optional arg `auto-save' and don't auto-save
2258 if nothing changed.
2259 (desktop-auto-save-timer): New variable.
2260 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
2261 (after-init-hook): Call `desktop-auto-save-set-timer'.
2262 Suggested by Reuben Thomas <rrt@sc3d.org> in
2263 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
2264
2265 2013-04-27 Leo Liu <sdl.web@gmail.com>
2266
2267 * progmodes/octave.el (octave-function-file-p)
2268 (octave-skip-comment-forward, octave-function-file-comment)
2269 (octave-update-function-file-comment): New functions.
2270 (octave-mode-map): Bind C-c ; to
2271 octave-update-function-file-comment.
2272 (octave-mode-menu): Add octave-update-function-file-comment.
2273 (octave-mode, inferior-octave-mode): Fix doc-string.
2274 (octave-insert-defun): Conform to Octave's coding convention.
2275 (Bug#14285)
2276
2277 * files.el (basic-save-buffer): Don't let errors in
2278 before-save-hook prevent saving buffer.
2279
2280 2013-04-20 Roland Winkler <winkler@gnu.org>
2281
2282 * faces.el (read-face-name): Use completing-read if arg multiple
2283 is nil.
2284
2285 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
2286
2287 * ls-lisp.el (ls-lisp-insert-directory): If no files are
2288 displayed, move point to after the totals line.
2289 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
2290 for the details.
2291
2292 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2293
2294 * emacs-lisp/package.el (package-autoload-ensure-default-file):
2295 Add current dir to the load-path.
2296 (package-generate-autoloads): Don't rely on
2297 autoload-ensure-default-file.
2298
2299 2013-04-26 Reuben Thomas <rrt@sc3d.org>
2300
2301 * textmodes/remember.el (remember-store-in-files): Document that
2302 the file name format is passed to `format-time-string'.
2303
2304 2013-04-26 Leo Liu <sdl.web@gmail.com>
2305
2306 * progmodes/octave.el (octave-sync-function-file-names): New function.
2307 (octave-mode): Use it in before-save-hook.
2308
2309 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2310
2311 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
2312 (bug#14274).
2313
2314 * progmodes/octave.el (octave-smie-forward-token): Properly skip
2315 \n and comment, even if it's not an implicit ; (bug#14218).
2316
2317 2013-04-26 Glenn Morris <rgm@gnu.org>
2318
2319 * subr.el (read-number): Once more use `read' rather than
2320 `string-to-number', to trap non-numeric input. (Bug#14254)
2321
2322 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
2323
2324 * emacs-lisp/syntax.el (syntax-propertize-multiline):
2325 Use `syntax-multiline' text property consistently instead of
2326 `font-lock-multiline'. (Bug#14237)
2327
2328 2013-04-26 Glenn Morris <rgm@gnu.org>
2329
2330 * emacs-lisp/shadow.el (list-load-path-shadows):
2331 No longer necessary to check for duplicate simple.el, since
2332 2012-07-07 change to init_lread to not include installation lisp
2333 directories in load-path when running uninstalled. (Bug#14270)
2334
2335 2013-04-26 Leo Liu <sdl.web@gmail.com>
2336
2337 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
2338 (octave-mode, inferior-octave-mode): Use setq-local.
2339 (octave-not-in-string-or-comment-p): Rename to
2340 octave-in-string-or-comment-p.
2341 (octave-in-comment-p, octave-in-string-p)
2342 (octave-in-string-or-comment-p): Replace defsubst with defun.
2343
2344 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
2345
2346 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
2347
2348 2013-04-25 Bastien Guerry <bzg@gnu.org>
2349
2350 * textmodes/remember.el (remember-data-directory)
2351 (remember-directory-file-name-format): Fix custom types.
2352
2353 2013-04-25 Leo Liu <sdl.web@gmail.com>
2354
2355 * progmodes/octave.el (octave-completion-at-point-function):
2356 Make use of inferior octave process.
2357 (octave-initialize-completions): Remove.
2358 (inferior-octave-completion-table): New function.
2359 (inferior-octave-completion-at-point): Use it.
2360 (octave-completion-alist): Remove.
2361
2362 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2363
2364 * progmodes/opascal.el: Use font-lock and syntax-propertize.
2365 (opascal-mode-syntax-table): New var.
2366 (opascal-literal-kind, opascal-is-literal-end)
2367 (opascal-literal-token-at): Rewrite.
2368 (opascal--literal-start-re, opascal-font-lock-keywords)
2369 (opascal--syntax-propertize): New constants.
2370 (opascal-font-lock-defaults): Adjust.
2371 (opascal-mode): Use them. Set comment-<foo> variables as well.
2372 (delphi-comment-face, opascal-comment-face, delphi-string-face)
2373 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
2374 (delphi-other-face, opascal-other-face): Remove face variables.
2375 (opascal-save-state): Remove macro.
2376 (opascal-fontifying-progress-step): Remove constant.
2377 (opascal--ignore-changes): Remove var.
2378 (opascal-set-token-property, opascal-parse-next-literal)
2379 (opascal-is-stable-literal, opascal-complete-literal)
2380 (opascal-is-literal-start, opascal-face-of)
2381 (opascal-parse-region, opascal-parse-region-until-stable)
2382 (opascal-fontify-region, opascal-after-change)
2383 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
2384 (opascal-debug-parse-region, opascal-debug-parse-window)
2385 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
2386 (opascal-debug-fontify-buffer): Remove.
2387 (opascal-debug-mode-map): Adjust accordingly.
2388
2389 2013-04-25 Leo Liu <sdl.web@gmail.com>
2390
2391 Merge octave-mod.el and octave-inf.el into octave.el with some
2392 cleanups.
2393 * progmodes/octave.el: New file renamed from octave-mod.el.
2394 * progmodes/octave-inf.el: Merged into octave.el.
2395 * progmodes/octave-mod.el: Renamed to octave.el.
2396
2397 2013-04-25 Tassilo Horn <tsdh@gnu.org>
2398
2399 * textmodes/reftex-vars.el
2400 (reftex-label-ignored-macros-and-environments): New defcustom.
2401
2402 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
2403
2404 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2405
2406 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
2407 (smie-indent-keyword): Improve the check to ensure that the next
2408 comment is really on the same line.
2409 (smie-indent-comment): Don't align with a subsequent closer (or eob).
2410
2411 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
2412 semi-colons if the line is not otherwise empty (bug#14218).
2413
2414 2013-04-25 Glenn Morris <rgm@gnu.org>
2415
2416 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
2417
2418 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2419
2420 * progmodes/opascal.el (opascal-set-token-property): Rename from
2421 opascal-set-text-properties and only set `token' (bug#14134).
2422 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
2423 (opascal-literal-text-properties): Remove.
2424 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
2425 Adjust callers.
2426
2427 2013-04-24 Reuben Thomas <rrt@sc3d.org>
2428
2429 * textmodes/remember.el (remember-handler-functions): Add an
2430 option for a new handler `remember-store-in-files'.
2431 (remember-data-directory, remember-directory-file-name-format):
2432 New options.
2433 (remember-store-in-files): New function to store remember notes
2434 as separate files within a directory.
2435
2436 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
2437
2438 * progmodes/compile.el (compilation-next-error-function):
2439 Pass "formats" to compilation-find-file (bug#11777).
2440
2441 2013-04-24 Glenn Morris <rgm@gnu.org>
2442
2443 * vc/vc-bzr.el (vc-bzr-print-log):
2444 * vc/vc-hg.el (vc-hg-print-log):
2445 * vc/vc-svn.el (vc-svn-print-log):
2446 Fix START-REVISION with LIMIT != 1. (Bug#14168)
2447
2448 * vc/vc-bzr.el (vc-bzr-print-log):
2449 * vc/vc-cvs.el (vc-cvs-print-log):
2450 * vc/vc-git.el (vc-git-print-log):
2451 * vc/vc-hg.el (vc-hg-print-log):
2452 * vc/vc-mtn.el (vc-mtn-print-log):
2453 * vc/vc-rcs.el (vc-rcs-print-log):
2454 * vc/vc-sccs.el (vc-sccs-print-log):
2455 * vc/vc-svn.el (vc-svn-print-log):
2456 * vc/vc.el (vc-print-log-internal): Doc fixes.
2457
2458 2013-04-23 Glenn Morris <rgm@gnu.org>
2459
2460 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
2461 Remove venerable code attempting to avoid substitute-command-keys.
2462
2463 2013-04-23 Tassilo Horn <tsdh@gnu.org>
2464
2465 * textmodes/reftex-vars.el (reftex-label-regexps):
2466 Call `reftex-compile-variables' after changes to this variable.
2467
2468 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2469
2470 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
2471 Use lexical-binding.
2472 (jit-lock-force-redisplay): Use markers, check buffer's continued
2473 existence and beware narrowed buffers.
2474 (jit-lock-fontify-now): Adjust call accordingly.
2475
2476 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2477
2478 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
2479 to avoid misleading the user.
2480
2481 2013-04-22 Leo Liu <sdl.web@gmail.com>
2482
2483 * info-look.el: Prefer latex2e.info. (Bug#14240)
2484
2485 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
2486
2487 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
2488
2489 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
2490 * net/tramp.el (tramp-call-process): ... here
2491 (tramp-set-completion-function, tramp-parse-putty):
2492 * net/tramp-adb.el (tramp-adb-execute-adb-command):
2493 * net/tramp-gvfs.el (tramp-gvfs-send-command):
2494 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2495 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
2496 (tramp-call-local-coding-command): Use `tramp-call-process'
2497 instead of `tramp-compat-call-process'.
2498
2499 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
2500 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
2501 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
2502 (tramp-find-inline-compress): Improve traces.
2503 (tramp-maybe-send-script): Check for Perl binary.
2504 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
2505
2506 2013-04-22 Daiki Ueno <ueno@gnu.org>
2507
2508 * epg.el (epg-context-pinentry-mode): New function.
2509 (epg-context-set-pinentry-mode): New function.
2510 (epg--start): Pass --pinentry-mode option to gpg command.
2511
2512 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
2513
2514 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
2515 `comint-dynamic-complete' is obsolete since 24.1, replaced by
2516 `completion-at-point'. (Bug#13774)
2517
2518 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
2519 default key binding for `describe-distribution' has been moved to
2520 `C-h C-o'. (Bug#13970)
2521
2522 2013-04-21 Glenn Morris <rgm@gnu.org>
2523
2524 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
2525 Add doc strings.
2526 (vc-print-log): Clarify interactive prompt.
2527
2528 2013-04-20 Glenn Morris <rgm@gnu.org>
2529
2530 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
2531 No longer include timestamp etc information.
2532
2533 2013-04-20 Roland Winkler <winkler@gnu.org>
2534
2535 * faces.el (read-face-name): Bug fix, return just one face if arg
2536 multiple is nil. (Bug#14209)
2537
2538 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2539
2540 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
2541 (remove-function): Autoload.
2542
2543 * comint.el (comint-redirect-original-filter-function): Remove.
2544 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
2545 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
2546 (vc-cvs-annotate-command):
2547 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
2548 * progmodes/prolog.el (prolog-consult-compile):
2549 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
2550 Use add/remove-function instead.
2551 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
2552 (gud-tooltip-process-output, gud-tooltip-tips):
2553 Use add/remove-function instead.
2554 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
2555 (scheme-interaction-mode, exit-scheme-interaction-mode):
2556 Use add/remove-function instead.
2557
2558 * vc/vc-dispatcher.el: Use lexical-binding.
2559 (vc--process-sentinel): Rename from vc-process-sentinel.
2560 Change last arg to be the code to run. Don't use vc-previous-sentinel
2561 and vc-sentinel-commands any more.
2562 (vc-exec-after): Allow code to be a function. Use add/remove-function.
2563 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
2564
2565 2013-04-19 Masatake YAMATO <yamato@redhat.com>
2566
2567 * progmodes/sh-script.el (sh-imenu-generic-expression):
2568 Handle function names with a single character. (Bug#14111)
2569
2570 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
2571
2572 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
2573 for subroutines defined in an eval (bug#14182).
2574
2575 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2576
2577 * bookmark.el (bookmark-completing-read): Improve handling of empty
2578 string (bug#14176).
2579
2580 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2581
2582 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
2583
2584 2013-04-19 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
2585
2586 New faster Imenu implementation (bug#14058).
2587 * progmodes/python.el:
2588 (python-imenu-prev-index-position):
2589 (python-imenu-format-item-label-function)
2590 (python-imenu-format-parent-item-label-function)
2591 (python-imenu-format-parent-item-jump-label-function):
2592 New vars.
2593 (python-imenu-format-item-label)
2594 (python-imenu-format-parent-item-label)
2595 (python-imenu-format-parent-item-jump-label)
2596 (python-imenu--put-parent, python-imenu--build-tree)
2597 (python-imenu-create-index, python-imenu-create-flat-index)
2598 (python-util-popn): New functions.
2599 (python-mode): Set imenu-create-index-function to
2600 python-imenu-create-index.
2601
2602 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2603
2604 * winner.el (winner-active-region): Use region-active-p, activate-mark
2605 and deactivate-mark (bug#14225).
2606
2607 * simple.el (deactivate-mark): Don't inline it.
2608
2609 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
2610
2611 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
2612
2613 2013-04-18 Tassilo Horn <tsdh@gnu.org>
2614
2615 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
2616 file extensions from the archive-mode entry in order to prefer
2617 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
2618
2619 2013-04-18 Leo Liu <sdl.web@gmail.com>
2620
2621 * bindings.el (help-event-list): Add ?\?.
2622
2623 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2624
2625 * subr.el (with-wrapper-hook): Declare obsolete.
2626 * simple.el (filter-buffer-substring-function): New hook.
2627 (filter-buffer-substring): Use it.
2628 (filter-buffer-substring-functions): Mark obsolete.
2629 * minibuffer.el (completion-in-region-function): New hook.
2630 (completion-in-region): Use it.
2631 (completion-in-region-functions): Mark obsolete.
2632 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
2633 * abbrev.el (abbrev-expand-function): New hook.
2634 (expand-abbrev): Use it.
2635 (abbrev-expand-functions): Mark obsolete.
2636 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
2637 and :filter-return.
2638
2639 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
2640
2641 * progmodes/python.el (python-nav--syntactically): Fix cornercases
2642 and do not care about match data.
2643
2644 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2645
2646 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
2647 completion tables when completing error conditions and
2648 `declare' arguments.
2649 (lisp-complete-symbol, field-complete): Mark as obsolete.
2650 (check-parens): Unmatched parens are user errors.
2651 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
2652
2653 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
2654
2655 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
2656 command changed buffer (ie. `flyspell-pre-buffer' is not current
2657 buffer), which prevents making decisions based on invalid value of
2658 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
2659 cause an error when `flyspell-pre-point' was nil after switching
2660 buffers.
2661 (flyspell-post-command-hook): No longer needs to change buffers when
2662 checking pre-word. While at it remove unnecessary progn.
2663
2664 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
2665
2666 * textmodes/ispell.el (ispell-add-per-file-word-list):
2667 Fix `flyspell-correct-word-before-point' error when accepting
2668 words and `coment-padding' is an integer by using
2669 `comment-normalize-vars' (Bug #14214).
2670
2671 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
2672
2673 New defun movement commands.
2674 * progmodes/python.el (python-nav--syntactically)
2675 (python-nav--forward-defun, python-nav-backward-defun)
2676 (python-nav-forward-defun): New functions.
2677
2678 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
2679
2680 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
2681 (python-syntax-context): Use named compiler-macro for backwards
2682 compatibility with Emacs 24.x.
2683
2684 2013-04-17 Leo Liu <sdl.web@gmail.com>
2685
2686 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
2687 octave-hide-process-buffer.
2688
2689 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2690
2691 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
2692 (bug#14216).
2693
2694 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
2695
2696 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
2697 Fix adjustment of offset when receiving incomplete responses from GDB
2698 (bug#14129).
2699
2700 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2701
2702 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
2703 python-mode-abbrev-table.
2704 (python-skeleton-define): Adjust accordingly.
2705 (python-mode-abbrev-table): New table that inherits from it so that
2706 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
2707
2708 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
2709 (abbrev-symbol): Use it.
2710 (abbrev--before-point): Use it since we already handle inheritance.
2711
2712 2013-04-16 Leo Liu <sdl.web@gmail.com>
2713
2714 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
2715 binding to info-lookup-symbol.
2716
2717 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
2718
2719 * minibuffer.el (completion--twq-all):
2720 * term/ns-win.el (ns-initialize-window-system):
2721 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
2722
2723 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2724
2725 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
2726 global bindings.
2727
2728 * doc-view.el (doc-view-start-process): Handle url-handler directories.
2729
2730 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
2731
2732 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
2733 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
2734 to nil.
2735 (ruby-end-of-defun): Remove the unused arg, change the docstring
2736 to reflect that this function is only used as the value of
2737 `end-of-defun-function'.
2738 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
2739 to reflect an earlier change that beginning/end-of-defun functions
2740 jump between methods in a class definition, as well as top-level
2741 functions.
2742
2743 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2744
2745 * minibuffer.el (minibuffer-complete): Don't just scroll
2746 a *Completions* that's been iconified.
2747 (minibuffer-force-complete): Make sure repetitions do cycle when going
2748 through completion-in-region -> minibuffer-complete.
2749
2750 2013-04-15 Alan Mackenzie <acm@muc.de>
2751
2752 Correct the placement of c-cpp-delimiters when there're #s not at
2753 col 0.
2754
2755 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
2756 place a submatch around the #.
2757 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
2758 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
2759 on the #, not BOL.
2760
2761 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2762
2763 * emacs-lisp/nadvice.el: Properly test names when adding advice.
2764 (advice--member-p): New arg `name'.
2765 (advice--add-function, advice-member-p): Use it (bug#14202).
2766
2767 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
2768
2769 Reformulate java imenu-generic-expression.
2770 The old expression contained ill formed regexps.
2771
2772 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
2773 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
2774 (cc-imenu-java-method-arg-regexp): New defconsts.
2775 (cc-imenu-java-build-type-args-regex): New defun.
2776 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
2777 handling of spaces in the regexp.
2778
2779 2013-03-15 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2780
2781 * textmodes/ispell.el (ispell-command-loop): Remove
2782 flyspell highlight of a word when ispell accepts it (bug #14178).
2783
2784 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
2785
2786 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
2787 uses code from the previous `ange-ftp-run-real-handler'.
2788 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
2789 only in case that function exist. This is needed for proper
2790 unloading of Tramp.
2791
2792 2013-04-15 Tassilo Horn <tsdh@gnu.org>
2793
2794 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
2795
2796 * textmodes/reftex.el (reftex-compile-variables): Use it.
2797
2798 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2799
2800 * files.el (normal-mode): Only use default major-mode if no other mode
2801 was specified.
2802
2803 * emacs-lisp/trace.el (trace-values): New function.
2804
2805 * files.el: Allow : in local variables (bug#14089).
2806 (hack-local-variable-regexp): New var.
2807 (hack-local-variables-prop-line, hack-local-variables): Use it.
2808
2809 2013-04-13 Roland Winkler <winkler@gnu.org>
2810
2811 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
2812 data before it gets modified by bibtex-beginning-of-entry.
2813
2814 2013-04-13 Roland Winkler <winkler@gnu.org>
2815
2816 * textmodes/bibtex.el (bibtex-url): Doc fix.
2817
2818 2013-04-13 Roland Winkler <winkler@gnu.org>
2819
2820 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
2821 does not visit a BibTeX file, exclude it from the list of buffers
2822 returned by bibtex-initialize.
2823
2824 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
2825
2826 * window.el (split-window): Remove interactive form, since as a
2827 command this function is a special case of split-window-below.
2828 Correct doc string.
2829
2830 2013-04-12 Roland Winkler <winkler@gnu.org>
2831
2832 * faces.el (read-face-name): Do not override value of arg default.
2833 Allow single faces and strings as default values. Remove those
2834 elements from return value that are not faces.
2835 (describe-face): Simplify.
2836 (face-at-point): New optional args thing and multiple so that this
2837 function can provide the same functionality previously provided by
2838 read-face-name.
2839 (make-face-bold, make-face-unbold, make-face-italic)
2840 (make-face-unitalic, make-face-bold-italic, invert-face)
2841 (modify-face, read-face-and-attribute): Use face-at-point.
2842
2843 * cus-edit.el (customize-face, customize-face-other-window)
2844 * cus-theme.el (custom-theme-add-face)
2845 * face-remap.el (buffer-face-set)
2846 * facemenu.el (facemenu-set-face): Use face-at-point.
2847
2848 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
2849
2850 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
2851
2852 2013-04-10 Tassilo Horn <tsdh@gnu.org>
2853
2854 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
2855 off leading { and trailing } from field values.
2856
2857 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2858
2859 * emacs-lisp/timer.el (timer--check): New function.
2860 (timer--time, timer-set-function, timer-event-handler): Use it.
2861 (timer-set-idle-time): Simplify.
2862 (timer--activate): CSE.
2863 (timer-event-handler): Give more info in error message.
2864 (internal-timer-start-idle): New function, moved from C.
2865
2866 * mpc.el (mpc-proc): Add `restart' argument.
2867 (mpc-proc-cmd): Use it.
2868 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
2869 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
2870 less often.
2871
2872 2013-04-10 Masatake YAMATO <yamato@redhat.com>
2873
2874 * progmodes/sh-script.el: Implement `sh-mode' own
2875 `add-log-current-defun-function' (bug#14112).
2876 (sh-current-defun-name): New function.
2877 (sh-mode): Use the function.
2878
2879 2013-04-09 Bastien Guerry <bzg@gnu.org>
2880
2881 * simple.el (choose-completion-string): Fix docstring (bug#14163).
2882
2883 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2884
2885 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
2886
2887 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
2888 timer (bug#14156).
2889
2890 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
2891
2892 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
2893 declaration.
2894
2895 2013-04-07 Leo Liu <sdl.web@gmail.com>
2896
2897 * pcmpl-x.el: New file.
2898
2899 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
2900
2901 Do not set x-display-name until X connection is established.
2902 This is needed to prevent from weird situation described at
2903 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
2904 * frame.el (make-frame): Set x-display-name after call to
2905 window system initialization function, not before.
2906 * term/x-win.el (x-initialize-window-system): Add optional
2907 display argument and use it.
2908 * term/w32-win.el (w32-initialize-window-system):
2909 * term/ns-win.el (ns-initialize-window-system):
2910 * term/pc-win.el (msdos-initialize-window-system):
2911 Add compatible optional display argument.
2912
2913 2013-04-06 Eli Zaretskii <eliz@gnu.org>
2914
2915 * files.el (normal-backup-enable-predicate): On MS-Windows and
2916 MS-DOS compare truenames of temporary-file-directory and of the
2917 file, so that 8+3 aliases (usually found in $TEMP on Windows)
2918 don't fail comparison by compare-strings. Also, compare file
2919 names case-insensitively on MS-Windows and MS-DOS.
2920
2921 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2922
2923 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
2924 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
2925
2926 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
2927
2928 * whitespace.el (whitespace-color-on, whitespace-color-off):
2929 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
2930
2931 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
2932
2933 * ispell.el (ispell-set-spellchecker-params):
2934 Really set `ispell-args' for all equivs.
2935
2936 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2937
2938 * ido.el (ido-completions): Use extra elements of ido-decorations
2939 (bug#14143).
2940 (ido-decorations): Update docstring.
2941
2942 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
2943
2944 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2945 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
2946 nil during initialization, in order not to miss changes since the
2947 file was opened. (Bug#14140)
2948
2949 2013-04-05 Leo Liu <sdl.web@gmail.com>
2950
2951 * kmacro.el (kmacro-call-macro): Fix bug#14135.
2952
2953 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
2954
2955 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
2956
2957 2013-04-04 Glenn Morris <rgm@gnu.org>
2958
2959 * electric.el (electric-pair-inhibit-predicate): Add :version.
2960
2961 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2962
2963 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
2964 when a package is required several times (bug#14082).
2965
2966 2013-04-04 Roland Winkler <winkler@gnu.org>
2967
2968 * faces.el (read-face-name): Behave as promised by the docstring.
2969 Assume that arg default is a list of faces.
2970 (describe-face): Call read-face-name with list of default faces.
2971
2972 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2973
2974 * bookmark.el: Fix deletion of bookmarks (bug#13972).
2975 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
2976 (bookmark-bmenu-execute-deletions): Only skip first line if it's
2977 the header.
2978 (bookmark-exit-hook-internal): Save even if list is empty.
2979
2980 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
2981
2982 * emacs-lisp/package.el (package-pinned-packages): New var.
2983 (package--add-to-archive-contents): Obey it (bug#14118).
2984
2985 2013-04-03 Alan Mackenzie <acm@muc.de>
2986
2987 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
2988 Also adapt to the new values of element 7 of a parse state.
2989
2990 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
2991 parameter `not-in-delimiter'. Handle being inside comment opener.
2992 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
2993 character in case we're typing a '*' after a '/'.
2994 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
2995 instead by passing the parameter to c-state-pp-to-literal.
2996
2997 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
2998 for elt. 7 of a parse state.
2999
3000 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
3001
3002 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
3003 * international/latin1-disp.el, international/mule-util.el:
3004 * language/cyril-util.el, language/european.el, language/ind-util.el:
3005 * language/lao-util.el, language/thai.el, language/tibet-util.el:
3006 * language/tibetan.el, language/viet-util.el:
3007 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
3008
3009 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
3010
3011 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
3012 (electric-pair-post-self-insert-function): Use it.
3013 (electric-pair-default-inhibit): New function, extracted from
3014 electric-pair-post-self-insert-function.
3015
3016 2013-03-31 Roland Winkler <winkler@gnu.org>
3017
3018 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
3019
3020 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
3021
3022 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
3023
3024 2013-03-30 FabiĂ¡n Ezequiel Gallina <fabian@anue.biz>
3025
3026 Un-indent after "pass" and "return" statements (Bug#13888)
3027 * progmodes/python.el (python-indent-block-enders): New var.
3028 (python-indent-calculate-indentation): Use it.
3029
3030 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
3031
3032 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
3033 defun. Defining it as defalias could introduce too eager
3034 byte-compiler optimization. (Bug#14030)
3035
3036 2013-03-30 Chong Yidong <cyd@gnu.org>
3037
3038 * iswitchb.el (iswitchb-read-buffer): Fix typo.
3039
3040 2013-03-30 Leo Liu <sdl.web@gmail.com>
3041
3042 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
3043 (kmacro-execute-from-register): Pass the keyboard macro to
3044 kmacro-call-macro or repeating won't work correctly.
3045
3046 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
3047
3048 * progmodes/subword.el: Back to using `forward-symbol'.
3049
3050 * subr.el (forward-whitespace, forward-symbol)
3051 (forward-same-syntax): Move from thingatpt.el.
3052
3053 2013-03-29 Leo Liu <sdl.web@gmail.com>
3054
3055 * kmacro.el (kmacro-to-register): New command.
3056 (kmacro-execute-from-register): New function.
3057 (kmacro-keymap): Bind to 'x'. (Bug#14071)
3058
3059 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
3060
3061 * mpc.el: Use defvar-local and setq-local.
3062 (mpc--proc-connect): Connection failures are not bugs.
3063 (mpc-mode-map): `follow-link' only applies to the buffer's content.
3064 (mpc-volume-map): Bind to the up-events.
3065
3066 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
3067
3068 * progmodes/subword.el (superword-mode): Use `forward-sexp'
3069 instead of `forward-symbol'.
3070
3071 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
3072
3073 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
3074 (edebug--recursive-edit): Use it.
3075 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
3076 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
3077
3078 2013-03-28 Leo Liu <sdl.web@gmail.com>
3079
3080 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
3081
3082 2013-03-27 Eli Zaretskii <eliz@gnu.org>
3083
3084 * facemenu.el (list-colors-callback): New defvar.
3085 (list-colors-redisplay): New function.
3086 (list-colors-display): Install list-colors-redisplay as the
3087 revert-buffer-function. (Bug#14063)
3088
3089 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3090
3091 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
3092 and suffixes don't overlap (bug#14061).
3093
3094 * case-table.el: Use lexical-binding.
3095 (case-table-get-table): New function.
3096 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
3097
3098 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
3099
3100 * progmodes/subword.el: Add `superword-mode' to do word motion
3101 over symbol_words (parallels and leverages `subword-mode' which
3102 does word motion inside MixedCaseWords).
3103
3104 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
3105
3106 * eshell/em-unix.el: Move su and sudo to...
3107 * eshell/em-tramp.el: ...Eshell tramp module.
3108
3109 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3110
3111 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
3112 Change return value to be a sexp. Delay `get-buffer' to after
3113 restoring the desktop (bug#13951).
3114
3115 2013-03-26 Leo Liu <sdl.web@gmail.com>
3116
3117 * register.el: Move semantic tag handling back to
3118 cedet/semantic/senator.el. (Bug#14052)
3119
3120 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3121
3122 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
3123 into the prompt either (bug#13963).
3124
3125 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
3126
3127 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
3128 part of "(error-foo)".
3129
3130 2013-03-24 Juri Linkov <juri@jurta.org>
3131
3132 * replace.el (list-matching-lines-prefix-face): New defcustom.
3133 (occur-1): Pass `list-matching-lines-prefix-face' to the function
3134 `occur-engine' if `face-differs-from-default-p' returns t.
3135 (occur-engine): Add `,' inside backquote construct to evaluate
3136 `prefix-face'. Propertize the prefix with the `prefix-face' face.
3137 Pass `prefix-face' to the functions `occur-context-lines' and
3138 `occur-engine-add-prefix'.
3139 (occur-engine-add-prefix, occur-context-lines): Add optional arg
3140 `prefix-face' and propertize the prefix with `prefix-face'.
3141 (Bug#14017)
3142
3143 2013-03-24 Leo Liu <sdl.web@gmail.com>
3144
3145 * nxml/rng-valid.el (rng-validate-while-idle)
3146 (rng-validate-quick-while-idle): Guard against deleted buffer.
3147 (Bug#13999)
3148
3149 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
3150 is the last entry in kill-buffer-hook.
3151
3152 * files.el (kill-buffer-hook): Doc fix.
3153
3154 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
3155
3156 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
3157 Make it safe-local.
3158
3159 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
3160
3161 2013-03-23 Leo Liu <sdl.web@gmail.com>
3162
3163 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
3164 Remove.
3165
3166 * nxml/rng-valid.el (rng-validate-mode)
3167 (rng-after-change-function, rng-do-some-validation):
3168 * nxml/rng-maint.el (rng-validate-buffer):
3169 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
3170 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
3171 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
3172 (nxml-extend-after-change-region): Use with-silent-modifications.
3173
3174 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
3175 timer-idle-list.
3176
3177 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
3178 (rng-next-error-1, rng-previous-error-1): Do not let-bind
3179 timer-idle-list. (Bug#13999)
3180
3181 2013-03-23 Juri Linkov <juri@jurta.org>
3182
3183 * info.el (info-index-match): New face.
3184 (Info-index, Info-apropos-matches): Add a nested subgroup to the
3185 main pattern and add text properties with the new face to matches
3186 in index entries relative to the beginning of the index entry.
3187 (Bug#14015)
3188
3189 2013-03-21 Eric Ludlam <zappo@gnu.org>
3190
3191 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
3192 Inhibit read only while inserting objects.
3193
3194 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
3195
3196 * progmodes/cfengine.el: Update docs to mention
3197 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
3198 symbol motion. Remove "_" from the word syntax.
3199
3200 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
3201
3202 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
3203 syntax for both `cfengine2-mode' and `cfengine3-mode'.
3204
3205 2013-03-20 Juri Linkov <juri@jurta.org>
3206
3207 * info.el (Info-next-reference-or-link)
3208 (Info-prev-reference-or-link): New functions.
3209 (Info-next-reference, Info-prev-reference): Use them.
3210 (Info-try-follow-nearest-node): Handle footnote navigation.
3211 (Info-fontify-node): Fontify footnotes. (Bug#13989)
3212
3213 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
3214
3215 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
3216 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
3217
3218 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
3219
3220 Suppress unnecessary non-ASCII chatter during build process.
3221 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
3222 (batch-skkdic-convert): Suppress most of the chatter.
3223 It's not needed so much now that machines are faster,
3224 and its non-ASCII component was confusing; see Dmitry Gutov in
3225 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
3226
3227 2013-03-20 Leo Liu <sdl.web@gmail.com>
3228
3229 * ido.el (ido-chop): Fix bug#10994.
3230
3231 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
3232
3233 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
3234 Remove vars.
3235 (whitespace-color-on, whitespace-color-off):
3236 Use `font-lock-fontify-buffer' (Bug#13817).
3237
3238 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
3239
3240 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
3241 remapping in mode-line.
3242 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
3243
3244 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
3245
3246 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
3247 value for `whitespace-line' face (Bug#13875).
3248 (whitespace-font-lock-keywords): Change description.
3249 (whitespace-color-on): Don't save `font-lock-keywords' value, save
3250 the constructed keywords instead.
3251 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
3252
3253 2013-03-19 Leo Liu <sdl.web@gmail.com>
3254
3255 * progmodes/compile.el (compilation-display-error): New command.
3256 (compilation-mode-map, compilation-minor-mode-map): Bind it to
3257 C-o. (Bug#13992)
3258
3259 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
3260
3261 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
3262
3263 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
3264
3265 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
3266
3267 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
3268
3269 * net/tramp-compat.el (tramp-compat-user-error): New defun.
3270
3271 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3272 * net/tramp-gvfs.el (top):
3273 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
3274 (tramp-handle-shell-command): Use it.
3275 (tramp-dissect-file-name): Raise an error when hostname is a
3276 method name, and neither method nor user is specified.
3277
3278 * net/trampver.el: Update release number.
3279
3280 2013-03-18 Leo Liu <sdl.web@gmail.com>
3281
3282 Make sure eldoc can be turned off properly.
3283 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
3284 eldoc-mode.
3285 (eldoc-display-message-p): Revert last change.
3286 (eldoc-display-message-no-interference-p)
3287 (eldoc-print-current-symbol-info): Tweak.
3288
3289 2013-03-18 Tassilo Horn <tsdh@gnu.org>
3290
3291 * doc-view.el (doc-view-new-window-function): Check the new window
3292 overlay's display property instead the char property of the
3293 buffer's first char. Use `with-selected-window' instead of
3294 `save-window-excursion' with `select-window'.
3295 (doc-view-document->bitmap): Check the current doc-view overlay's
3296 display property instead the char property of the buffer's first char.
3297
3298 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
3299
3300 Automate the build of ja-dic.el (Bug#13984).
3301 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
3302 from the input, rather than assume that it's been done for us by the
3303 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
3304 the current date into a ja-dic.el comment, as that complicates
3305 regression testing.
3306
3307 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
3308
3309 * whitespace.el: Fix double evaluation.
3310 (whitespace-space, whitespace-hspace, whitespace-tab)
3311 (whitespace-newline, whitespace-trailing, whitespace-line)
3312 (whitespace-space-before-tab, whitespace-indentation)
3313 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
3314 obsolete defvars.
3315 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
3316 (whitespace-color-on): Use a single font-lock-add-keywords call.
3317 Fix double-evaluation of face variables.
3318
3319 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
3320
3321 * net/tramp-adb.el (tramp-adb-parse-device-names):
3322 Use `start-process' instead of `call-process'. Otherwise, the
3323 function might be blocked under MS Windows. (Bug#13299)
3324
3325 2013-03-17 Leo Liu <sdl.web@gmail.com>
3326
3327 Extend eldoc to display info in the mode-line. (Bug#13978)
3328 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
3329 (eldoc-mode-line-string): New variable.
3330 (eldoc-minibuffer-message): New function.
3331 (eldoc-message-function): New variable.
3332 (eldoc-message): Use it.
3333 (eldoc-display-message-p)
3334 (eldoc-display-message-no-interference-p):
3335 Support eldoc-post-insert-mode.
3336
3337 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
3338 (eval-expression): Run it.
3339
3340 2013-03-17 Roland Winkler <winkler@gnu.org>
3341
3342 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
3343 strings in the list of return values.
3344
3345 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
3346
3347 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
3348 radix before checking for HMS forms.
3349
3350 2013-03-16 Leo Liu <sdl.web@gmail.com>
3351
3352 * progmodes/scheme.el: Add indentation and font-locking for λ.
3353 (Bug#13975)
3354
3355 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
3356
3357 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
3358 token before point (bug#13942).
3359
3360 2013-03-16 Leo Liu <sdl.web@gmail.com>
3361
3362 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
3363
3364 2013-03-16 Eli Zaretskii <eliz@gnu.org>
3365
3366 * startup.el (command-line-normalize-file-name): Fix handling of
3367 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
3368 <xfq.free@gmail.com> in
3369 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
3370
3371 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
3372
3373 Sync with Tramp 2.2.7.
3374
3375 * net/trampver.el: Update release number.
3376
3377 2013-03-14 Tassilo Horn <tsdh@gnu.org>
3378
3379 * doc-view.el Fix bug#13887.
3380 (doc-view-insert-image): Don't modify overlay associated to
3381 non-live windows, and implement horizontal centering of image in
3382 case it's smaller than the window.
3383 (doc-view-new-window-function): Force redisplay of new windows on
3384 doc-view buffers.
3385
3386 2013-03-13 Karl Fogel <kfogel@red-bean.com>
3387
3388 * saveplace.el (save-place-alist-to-file): Don't sort
3389 `save-place-alist', just pretty-print it (bug#13882).
3390
3391 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
3392
3393 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
3394 whether `default-file-name-coding-system' is bound. It isn't in
3395 XEmacs.
3396
3397 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
3398
3399 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
3400 backquotes for `obsolete' (bug#13929).
3401
3402 * international/mule.el (find-auto-coding): Include file name in
3403 obsolescence warning (bug#13922).
3404
3405 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
3406
3407 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
3408 for CFEngine 3-specific indentation.
3409 (cfengine3-indent-line): Use it. Fix up category regex.
3410 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
3411
3412 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3413
3414 * type-break.el (type-break-file-name):
3415 * textmodes/remember.el (remember-data-file):
3416 * strokes.el (strokes-file):
3417 * shadowfile.el (shadow-initialize):
3418 * saveplace.el (save-place-file):
3419 * ps-bdf.el (bdf-cache-file):
3420 * progmodes/idlwave.el (idlwave-config-directory):
3421 * net/quickurl.el (quickurl-url-file):
3422 * international/kkc.el (kkc-init-file-name):
3423 * ido.el (ido-save-directory-list-file):
3424 * emulation/viper.el (viper-custom-file-name):
3425 * emulation/vip.el (vip-startup-file):
3426 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3427 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
3428
3429 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
3430
3431 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
3432 * language/thai-word.el: Switch to UTF-8.
3433
3434 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3435
3436 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
3437
3438 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3439
3440 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
3441 Use with-current-buffer and don't move point.
3442 (net-utils-run-simple): Remove useless code.
3443 (net-utils-remove-ctl-m): Remove unused custom.
3444
3445 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
3446
3447 * international/characters.el (glyphless-set-char-table-range): New fun.
3448 (update-glyphless-char-display): Use it (bug#13744).
3449
3450 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
3451
3452 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
3453 namespaces in the syntax, indent closer for hanging brace
3454 correctly, allow single-quote delimited 'strings', and make
3455 `cfengine3-mode' the default.
3456
3457 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
3458
3459 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
3460 Use lexical-binding. Fix up docstring according to conventions.
3461 (gdbmi-debug-mode): New var.
3462 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
3463 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
3464 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
3465 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
3466 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
3467 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
3468 (gdbmi-bnf-incomplete-record-result): New functions.
3469 (gdb-car<): Remove function.
3470 (gdbmi-record-list): Remove variable.
3471 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
3472 (gdbmi-bnf-result-state-configs): New const.
3473 (gud-gdbmi-marker-filter): Rewrite.
3474 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
3475 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
3476 Add `token' argument.
3477 (gdb-done, gdb-error): New functions.
3478 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
3479
3480 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3481
3482 * term/xterm.el (xterm--report-background-handler): Don't burp
3483 upon timeout.
3484 (xterm--version-handler): Extract from terminal-init-xterm.
3485 (xterm--query): Don't mishandle timeout. Remove debugging messages.
3486 Allow multiple handlers.
3487 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
3488
3489 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
3490 (xterm--report-background-handler, xterm--query): New functions.
3491 (terminal-init-xterm): Use them.
3492
3493 2013-03-11 Michael R. Mauger <michael@mauger.com>
3494
3495 * progmodes/sql.el Version 3.2
3496 Please note that my address changed to <michael@mauger.com>;
3497 the <mmaug@yahoo.com> address remains active.
3498 (sql-connection-alist): Updates documentation to fix bug#13715.
3499 (sql-connect): Handle missing `sql-connection-alist' correctly.
3500 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
3501 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
3502 property.
3503 (sql-default-value): New function.
3504 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
3505 values were not used.
3506 (sql-rename-buffer): Make sure alternate buffer name has no text
3507 properties.
3508 (sql-input-sender, sql-execute-feature): Fetch variable with
3509 `buffer-local-value' rather than `with-current-buffer'.
3510 (sql-*): Use #' function syntax consistently.
3511 (sql-*): Use message/error/user-error consistently.
3512
3513 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3514
3515 * xt-mouse.el (xterm-mouse-event-read): Remove.
3516 (xterm-mouse--read-event-sequence-1000)
3517 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
3518
3519 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3520
3521 * term/xterm.el (xterm-function-map): Support format used with
3522 formatOtherKeys=1 (bug#13839).
3523
3524 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
3525 (with-no-warnings): Use `declare'.
3526
3527 * whitespace.el (whitespace-enable-predicate): New variable.
3528 (whitespace-enable-predicate): Use it.
3529
3530 * comint.el (comint-send-input, comint-snapshot-last-prompt)
3531 (comint-output-filter, comint-update-fence):
3532 Use with-silent-modifications.
3533
3534 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
3535
3536 * replace.el (occur-read-regexp-defaults-function): New var.
3537 (occur-read-regexp-defaults): New defun.
3538 (occur-read-primary-args): Propagate above change (bug#13892).
3539
3540 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
3541
3542 * mouse.el (mouse-drag-track): Remove left-over debugging code.
3543
3544 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
3545
3546 Major rewrite due to changed D-Bus interface of GVFS 1.14.
3547
3548 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
3549 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
3550 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
3551 New defconst.
3552 (tramp-gvfs-file-name-handler-alist) [directory-files]
3553 [directory-files-and-attributes, file-exists-p, file-modes]:
3554 Use Tramp default handler.
3555 [file-acl, file-selinux-context, process-file, set-file-acl]:
3556 [set-file-modes, set-file-selinux-context, shell-command]:
3557 [start-file-process]: Remove handler.
3558 [verify-visited-file-modtime]: New handler.
3559 (tramp-gvfs-dbus-string-to-byte-array)
3560 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
3561 calls of `dbus-string-to-byte-array' and
3562 `tramp-gvfs-dbus-byte-array-to-string'.
3563 (tramp-gvfs-handle-copy-file)
3564 (tramp-gvfs-handle-delete-directory)
3565 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
3566 (tramp-gvfs-handle-file-directory-p)
3567 (tramp-gvfs-handle-file-executable-p)
3568 (tramp-gvfs-handle-file-name-all-completions)
3569 (tramp-gvfs-handle-file-readable-p)
3570 (tramp-gvfs-handle-file-writable-p)
3571 (tramp-gvfs-handle-insert-directory)
3572 (tramp-gvfs-handle-insert-file-contents)
3573 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
3574 (tramp-gvfs-handle-set-visited-file-modtime)
3575 (tramp-gvfs-handle-write-region): Rewrite.
3576 (tramp-gvfs-handle-file-acl)
3577 (tramp-gvfs-handle-file-selinux-context)
3578 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
3579 (tramp-gvfs-handle-set-file-modes)
3580 (tramp-gvfs-handle-set-file-selinux-context)
3581 (tramp-gvfs-handle-shell-command)
3582 (tramp-gvfs-handle-start-file-process)
3583 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
3584 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
3585 over the symlinks. Fix user handling.
3586 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
3587 of the D-Bus signals.
3588 (tramp-gvfs-connection-mounted-p): Handle different names of the
3589 D-Bus methods.
3590 (tramp-gvfs-mount-spec-entry): New defun.
3591 (tramp-gvfs-mount-spec): Use it.
3592 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
3593 there is a share name. Handle different names of the D-Bus
3594 signals and methods. Set connection properties needed for
3595 `tramp-check-cached-permissions'.
3596 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
3597 Return t or nil.
3598
3599 * net/tramp.el (tramp-backtrace): Move up.
3600 (tramp-error): Dump a backtrace into the debug buffer when
3601 `tramp-verbose > 9.
3602 (tramp-file-mode-type-map, tramp-file-mode-from-int)
3603 (tramp-file-mode-permissions, tramp-get-local-uid)
3604 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
3605 tramp-sh.el.
3606
3607 * net/tramp-sh.el (tramp-file-mode-type-map)
3608 (tramp-check-cached-permissions, tramp-file-mode-from-int)
3609 (tramp-file-mode-permissions, tramp-get-local-uid)
3610 (tramp-get-local-gid): Move to tramp.el.
3611
3612 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
3613
3614 Separate mouse-1-click-follows-link from mouse-drag-region.
3615 * mouse.el (mouse--down-1-maybe-follows-link): New function.
3616 (key-translation-map): Use it to implement mouse-1-click-follows-link.
3617 (mouse-drag-line, mouse-drag-track):
3618 Remove mouse-1-click-follows-link code.
3619 (mouse--remap-link-click-p): Remove.
3620
3621 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
3622
3623 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
3624 (hi-lock-read-regexp-defaults): New defun.
3625 (hi-lock-line-face-buffer, hi-lock-face-buffer)
3626 (hi-lock-face-phrase-buffer): Propagate above change.
3627 Update docstring (bug#13892).
3628
3629 * subr.el (find-tag-default-as-regexp): New defun.
3630 * replace.el (read-regexp): Propagate above change.
3631
3632 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
3633
3634 * calc/calc-units.el (calc-convert-units): Fix the way that default
3635 new units are stored.
3636
3637 2013-03-07 Matthias Meulien <orontee@gmail.com>
3638
3639 * bookmark.el: Define a face to highlight bookmark names in
3640 bookmark menu buffers, where the default is a bold face similarly
3641 to buffer names in buffer menu buffers.
3642 (bookmark-menu-bookmark): New face to highlight bookmark names.
3643 (bookmark-insert-location): Remove duplicated text property to
3644 conform to buffer list (see `list-buffers').
3645 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
3646 `bookmark-menu-bookmark' to bookmark names.
3647
3648 2013-03-07 Matthias Meulien <orontee@gmail.com>
3649 Karl Fogel <kfogel@red-bean.com>
3650
3651 * bookmark.el: Display the bookmark list header similarly to the
3652 buffer list header (see `list-buffers'), where the default is now
3653 an immovable/immutable header line.
3654 (bookmark-bmenu-use-header-line): New variable.
3655 (bookmark-bmenu-inline-header-height): New name for
3656 `bookmark-bmenu-header-height', to avoid confusion with the code
3657 for the new immovable header. All references changed.
3658 (bookmark-bmenu-set-header): New function.
3659 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
3660 Conditionalize header construction accordingly.
3661 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
3662 the inline header height.
3663 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
3664 Conditionalize the skipping of the inline header height.
3665
3666 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
3667
3668 * progmodes/js.el (js--multi-line-declaration-indentation):
3669 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
3670
3671 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
3672
3673 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3674 Only propertize regexp when not inside a string (Bug#13885).
3675
3676 2013-03-06 Alan Mackenzie <acm@muc.de>
3677
3678 Correct the position of point in some line-up functions.
3679 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
3680 (c-lineup-assignments, c-lineup-gcc-asm-reg ): Take position of
3681 point at column 0 rather than at a random place in the line.
3682
3683 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
3684
3685 * net/tramp-compat.el (tramp-compat-delete-directory):
3686 Implement TRASH argument.
3687
3688 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
3689
3690 Keep pre-existing highlighting in completion candidates (Bug#13250).
3691 * minibuffer.el (completions-first-difference): State that the
3692 face is "added" in the docstring.
3693 (completions-common-part): Same. And don't inherit from default.
3694 (completion-hilit-commonality): Prepend 'completions-common-part
3695 and 'completion-first-difference faces to the 'face property,
3696 instead of replacing the value(s).
3697 (completion--insert-strings): Same with 'completions-annotations face.
3698 (completion-hilit-commonality): Use 'face instead of
3699 'font-lock-face, because it gets priority if the completion
3700 strings already have 'face set.
3701
3702 2013-03-04 Alan Mackenzie <acm@muc.de>
3703
3704 Replace `last-command-event' by `last-command-char' in XEmacs.
3705 * progmodes/cc-defs.el (c-last-command-char): New macro.
3706 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
3707 (c-semi&comma-no-newlines-before-nonblanks)
3708 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
3709 in place of `last-command-event'.
3710 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
3711 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
3712 (c-electric-paren, c-electric-continued-statement): Use the new
3713 macro in place of `last-command-event'.
3714
3715 2013-03-04 Glenn Morris <rgm@gnu.org>
3716
3717 * files.el (inhibit-local-variables-regexps):
3718 Add .diff and .patch. (Bug#13862)
3719
3720 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
3721
3722 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
3723 whether the "su" command is available on the device.
3724
3725 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
3726
3727 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
3728 (tramp-adb-handle-process-file): Remove superfluous setting.
3729 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
3730 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
3731 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
3732
3733 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
3734
3735 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
3736 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
3737 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
3738 Use dict-key rather than dict-name for the error message.
3739
3740 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3741
3742 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
3743 when reverting (bug#13831).
3744
3745 2013-03-01 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
3746
3747 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3748 Always expand affix-file before storing to protect against changed
3749 `default-directory'.
3750 (ispell-print-if-debug): Make sure message is printed at the end
3751 of the debug buffer.
3752
3753 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
3754
3755 * net/tramp.el (tramp-obsolete-methods): New defconst.
3756 (tramp-warned-obsolete-methods): New defvar.
3757 (tramp-find-method): Check for obsolete methods. Map them to a
3758 replacement method if appropriate.
3759
3760 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
3761 Remove methods.
3762 (top): Remove completion functions for "scp1", "scp2", "ssh1",
3763 "ssh2" and "plink1".
3764
3765 2013-02-28 Dale Sedivec <dale@codefu.org>
3766
3767 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
3768 Return valid syntax-table property value when converting
3769 quotes within text from string syntax to punctuation syntax (bug#13844).
3770
3771 2013-02-28 Juri Linkov <juri@jurta.org>
3772
3773 * dired-aux.el (dired-diff): If file at point is a backup file,
3774 use its original as the default value, and reverse the order
3775 of arguments to the `diff' call. Doc fix. (Bug#13772)
3776
3777 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
3778
3779 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
3780 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
3781
3782 2013-02-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
3783
3784 Initial support for hunspell dictionaries auto-detection (Bug#13639)
3785
3786 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3787 Ask hunspell about available and default dictionaries.
3788 (ispell-parse-hunspell-affix-file): Extract relevant info from
3789 hunspell affix file.
3790 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
3791 `ispell-dictionary-alist' entry for given dictionary after info
3792 provided by `ispell-parse-hunspell-affix-file'.
3793 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
3794 of parsed hunspell dicts and associated affix files.
3795 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
3796 of parsed hunspell dicts and associated parameters.
3797 (ispell-set-spellchecker-params):
3798 Call `ispell-find-hunspell-dictionaries' if hunspell and not
3799 previously done.
3800 (ispell-start-process):
3801 Call `ispell-hunspell-fill-dictionary-entry' for current
3802 dictionary if it is not initialized.
3803
3804 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3805
3806 * imenu.el: Comment nitpicks.
3807
3808 2013-02-28 Sam Steingold <sds@gnu.org>
3809
3810 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
3811 See <http://stackoverflow.com/questions/14720205>.
3812
3813 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3814
3815 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
3816 (net-utils-mode): Use it.
3817 (net-utils--revert-cmd): New var.
3818 (net-utils-run-simple): Set it, and remove bogus interactive spec.
3819 (traceroute): Use net-utils-run-simple.
3820
3821 2013-02-28 Glenn Morris <rgm@gnu.org>
3822
3823 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
3824
3825 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3826
3827 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
3828 (doc-view-fallback-mode): Remove overlays here.
3829 (doc-view-toggle-display): Instead of here. Don't throw away
3830 image-mode-winprops-alist.
3831 (doc-view-goto-page): Don't mess with hscroll.
3832
3833 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3834
3835 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
3836 &optional (bug#13819).
3837
3838 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
3839
3840 * net/tramp-adb.el (tramp-adb-parse-device-names)
3841 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
3842
3843 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
3844
3845 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3846 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
3847 defined. POSIX environments fall back to the "C" locale then and
3848 emit a warning, which shall be suppressed.
3849
3850 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
3851
3852 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
3853 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
3854
3855 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3856
3857 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
3858
3859 2013-02-25 Juri Linkov <juri@jurta.org>
3860
3861 * replace.el (read-regexp): Let-bind `default' to the first
3862 element of `defaults' if it's a list, otherwise it should be
3863 a string or nil. Let-bind `suggestions' to `defaults' if it's
3864 a list, otherwise make a list with the string value. Doc fix.
3865 (Bug#13805)
3866
3867 2013-02-25 Eli Zaretskii <eliz@gnu.org>
3868
3869 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
3870 that match "\`\.#", to avoid compiling lock files, even if they
3871 are readable (as they are on MS-Windows).
3872
3873 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3874
3875 * files.el (basic-save-buffer): Remove redundant directory-creation.
3876
3877 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
3878
3879 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
3880 Add option to force `pi' to remain symbolic.
3881 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
3882 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
3883 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
3884 derivatives, when necessary.
3885
3886 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
3887
3888 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
3889 (ps-mode-octal-region): Use string-make-unibyte.
3890
3891 2013-02-23 Glenn Morris <rgm@gnu.org>
3892
3893 * emulation/viper-cmd.el (viper-submit-report):
3894 * progmodes/ps-mode.el (ps-mode-maintainer-address):
3895 * progmodes/vera-mode.el (vera-mode-help-address):
3896 * textmodes/artist.el (artist-maintainer-address):
3897 * textmodes/reftex.el (reftex-report-bug):
3898 * vc/ediff-util.el (ediff-submit-report):
3899 Add bug-gnu-emacs to bug report address.
3900
3901 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
3902 Remove bug report entries.
3903 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
3904
3905 * emacs-lisp/bytecomp.el (byte-compile-level): New.
3906 (byte-compile-file, byte-compile-from-buffer):
3907 Use separate input/output buffers for each level of recursive
3908 byte-compile-file calls. (Bug#13787)
3909
3910 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
3911
3912 * net/tramp.el (tramp-methods): Fix docstring.
3913 (tramp-ssh-controlmaster-options): Rename it from
3914 `tramp-ssh-controlmaster-template'. Return a string.
3915 (tramp-default-method): Adapt check for
3916 `tramp-ssh-controlmaster-options'.
3917
3918 * net/tramp-sh.el (tramp-methods):
3919 Replace `tramp-ssh-controlmaster-template' by "%c".
3920 (tramp-do-copy-or-rename-file-out-of-band)
3921 (tramp-maybe-open-connection): Use it in format spec. Ensure,
3922 that it is applied for the first hop only.
3923
3924 2013-02-22 Juri Linkov <juri@jurta.org>
3925
3926 * isearch.el (isearch-lazy-highlight-new-loop):
3927 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
3928 to `isearch-other-end' if it is not nil. (Bug#13402)
3929
3930 * replace.el (replace-highlight): Let-bind `isearch-other-end'
3931 to `match-beg'.
3932
3933 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
3934 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
3935 and `isearch-error' to nil.
3936
3937 2013-03-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3938
3939 * progmodes/python.el (python-info-current-defun):
3940 Enhance match-data cluttering prevention.
3941
3942 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
3943
3944 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
3945
3946 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3947 Handle multibyte file names.
3948
3949 2013-02-22 Glenn Morris <rgm@gnu.org>
3950
3951 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
3952 (sgml-transformation-function): Give it a :set function.
3953 (sgml-tag): Doc fix.
3954
3955 * cmuscheme.el (scheme-buffer):
3956 * progmodes/inf-lisp.el (inferior-lisp-buffer):
3957 * progmodes/tcl.el (inferior-tcl-buffer):
3958 * textmodes/tex-mode.el (tex-command): Doc fixes.
3959
3960 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
3961
3962 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
3963
3964 2013-02-21 Bastien Guerry <bzg@gnu.org>
3965
3966 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
3967
3968 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3969
3970 * progmodes/python.el (python-info-current-defun):
3971 Enhance match-data cluttering prevention.
3972
3973 2013-02-21 Glenn Morris <rgm@gnu.org>
3974
3975 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
3976 loaded while outline-regexp is let bound. (Bug#9584)
3977
3978 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3979
3980 * progmodes/python.el (python-info-current-defun): Fix failed
3981 defun name retrieval because of unwanted match-data cluttering.
3982
3983 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
3984
3985 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
3986 defconst. Apply independent check for ControlPersist.
3987
3988 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
3989 temporarily, via "env".
3990
3991 2013-02-21 Glenn Morris <rgm@gnu.org>
3992
3993 * info.el (Info-enable-edit): Remove.
3994 (Info-edit): Disable it rather than using Info-enable.
3995 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
3996 (Info-cease-edit): Make editing of Info files obsolete.
3997
3998 * informat.el (Info-tagify):
3999 Handle buffers not visiting files. (Bug#13763)
4000
4001 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
4002
4003 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
4004
4005 2013-02-21 Glenn Morris <rgm@gnu.org>
4006
4007 * files.el (basic-save-buffer): Move check for existing parent
4008 directory after hooks. (Bug#13773)
4009
4010 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
4011
4012 * simple.el (command-execute): Move from C. Add obsolete check.
4013 (extended-command-history): Move from C.
4014
4015 2013-02-20 Ulrich MĂ¼ller <ulm@gentoo.org>
4016
4017 * jka-cmpr-hook.el (jka-compr-compression-info-list)
4018 (jka-compr-mode-alist-additions): Handle .txz suffix for
4019 XZ-compressed tar archives (bug#13770).
4020
4021 2013-02-20 Bastien Guerry <bzg@gnu.org>
4022
4023 * outline.el (outline-regexp, outline-heading-end-regexp):
4024 Make variables, not options (bug#13731).
4025
4026 2013-02-20 Glenn Morris <rgm@gnu.org>
4027
4028 * image.el (image-current-frame): Change from variable to function.
4029 (image-show-frame): Rename from image-nth-frame. Update callers.
4030 * image-mode.el (image-multi-frame): New variable.
4031 (image-mode-map, image-mode, image-goto-frame):
4032 Use image-multi-frame rather than image-current-frame.
4033 (image-mode, image-goto-frame): Use image-current-frame as
4034 function rather than as variable.
4035
4036 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
4037 * emacs-lisp/cl-macs.el (cl--make-type-test)
4038 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
4039
4040 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
4041
4042 * net/tramp-cache.el (tramp-get-hash-table): New defun.
4043 (tramp-get-file-property, tramp-set-file-property)
4044 (tramp-get-connection-property, tramp-set-connection-property): Use it.
4045 (tramp-flush-file-property, tramp-flush-directory-property):
4046 Rename argument to KEY.
4047 (tramp-flush-connection-property): Simplify a little bit.
4048 (tramp-connection-property-p): New defun.
4049 (top): Reapply saved values only if there isn't a corresponding
4050 entry in `tramp-connection-properties'.
4051
4052 2013-02-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4053
4054 * progmodes/python.el (python-indent-context):
4055 Fix python-info-line-ends-backslash-p call.
4056 (python-info-line-ends-backslash-p)
4057 (python-info-beginning-of-backslash): Respect line-number argument.
4058 (python-info-current-line-comment-p):
4059 Fix behavior when not at beginning-of-line.
4060 (python-util-position): Remove function.
4061 (python-util-goto-line): New function.
4062
4063 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
4064
4065 * eshell/em-unix.el (eshell/su): Require tramp.
4066 (eshell/sudo): Require tramp. Remove now unnecessary check.
4067
4068 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
4069 `tramp-current-connection' in order to avoid an error when several
4070 commands are invoked in a short time in eshell and friends.
4071
4072 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
4073
4074 Cleanup some of EIEIO's namespace.
4075 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
4076 Use it to define all the class-* and object-* field accessors (renamed
4077 to eieio--class-* and eieio--object-*). Update all uses.
4078 (eieio--class-num-slots, eieio--object-num-slots): Rename from
4079 class-num-slots and object-num-slots.
4080 (eieio--check-type): New macro.
4081 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
4082 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
4083 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
4084 (object-assoc-list-safe): Use it.
4085 (eieio-defclass): Tighten regexp.
4086 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
4087 Remove unreachable code.
4088 (object-class-fast): Declare obsolete.
4089 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
4090 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
4091 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
4092 Rename from class-name, object-name, object-set-name-string,
4093 object-class, object-class-name, class-parents, class-children,
4094 class-precedence-list, class-parent; with obsolete alias.
4095 (class-of, class-direct-superclasses, class-direct-subclasses):
4096 Declare obsolete.
4097 (eieio-defmethod): Use `memq'; remove unreachable code.
4098 * emacs-lisp/eieio-base.el (eieio-persistent-read):
4099 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
4100 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
4101
4102 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
4103
4104 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
4105 commentary.
4106
4107 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
4108
4109 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
4110 Use font-lock-keyword-face for macros and special forms (bug#8345).
4111
4112 2013-02-17 Didier Verna <didier@didierverna.net>
4113
4114 * net/network-stream.el (network-stream-open-starttls):
4115 Check that response to the starttls-command is non-nil. (Bug#13706)
4116
4117 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
4118
4119 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
4120 Don't assume all identifier chars have syntax word.
4121 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4122 Remove bar-not-symbol. Adjust callers.
4123 (lisp-mode-variables): Don't set a font-lock-syntax-table.
4124
4125 2013-02-17 Leo Liu <sdl.web@gmail.com>
4126
4127 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
4128
4129 2013-02-17 Glenn Morris <rgm@gnu.org>
4130
4131 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
4132
4133 * image-mode.el (image-mode-map): Add image-dired menu entry.
4134
4135 * image-dired.el (tumme): Make this alias obsolete.
4136
4137 2013-02-16 Glenn Morris <rgm@gnu.org>
4138
4139 * image.el (image-animated-types): Remove.
4140 (image-multi-frame-p): Rename from image-animated-p, and generalize.
4141 (image-animated-p): Make obsolete alias.
4142 (image-animate, image-nth-frame, image-animate-timeout):
4143 Use image-multi-frame-p.
4144 (image-animate-timeout): If no delay, use image-default-frame-delay.
4145 * image-mode.el (image-mode, image-toggle-animation):
4146 Use image-multi-frame-p. (Bug#763, bug#10739)
4147 (image-mode): Adjust startup message for a multi-frame image.
4148
4149 * image-mode.el (image-mode-map): Give it a menu.
4150
4151 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
4152
4153 * net/tramp-cache.el (tramp-connection-properties): New customer
4154 option.
4155 (tramp-get-connection-property): Use it.
4156
4157 * net/tramp-compat.el (top): Require 'trampver.
4158
4159 * net/tramp-sh.el (tramp-remote-process-environment):
4160 Set tramp-autoload cookie.
4161
4162 2013-02-16 Kevin Ryde <user42@zip.com.au>
4163
4164 * info-look.el (info-lookup-select-mode): If major-mode has no
4165 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
4166
4167 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
4168
4169 * replace.el (read-regexp): Tighten the regexp that matches tag.
4170 When tag is retrieved with `find-tag-default', use regexp that
4171 matches tag at point. Also update docstring (Bug#13687).
4172
4173 2013-02-16 Eli Zaretskii <eliz@gnu.org>
4174
4175 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
4176 add watch for the file, not its parent directory, since w32notify
4177 sets up the watch for the directory internally. (Bug#13725)
4178
4179 2013-02-16 Glenn Morris <rgm@gnu.org>
4180
4181 * image.el (image-default-frame-delay): New variable.
4182 (image-animated-p): Use image-default-frame-delay.
4183 (image-minimum-frame-delay): New constant.
4184 (image-animate-timeout): Use image-minimum-frame-delay.
4185
4186 * image.el (image-nth-frame): New, split from image-animate-timeout.
4187 (image-animate-timeout): Use image-nth-frame.
4188 * image-mode.el (image-goto-frame, image-next-frame)
4189 (image-previous-frame): New commands.
4190 (image-mode-map): Add new frame commands.
4191
4192 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
4193
4194 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
4195 If col-desc already has help-echo, use it. (Bug#13563)
4196
4197 2013-02-16 Glenn Morris <rgm@gnu.org>
4198
4199 * image.el (image-current-frame): New variable.
4200 (image-animate-timeout): Set image-current-frame.
4201 * image-mode.el (image-mode): For animated images,
4202 display a frame counter via mode-line-process.
4203
4204 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
4205
4206 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
4207
4208 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
4209
4210 2013-02-15 Alan Mackenzie <acm@muc.de>
4211
4212 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
4213 global minor mode has been enabled, call the minor mode function
4214 for a new buffer once only, after the major mode hook, whilst
4215 allowing that hook explicitly to disable the minor mode.
4216 (MODE-disable-in-buffer): New (generated) function.
4217 (disable-MODE): New (generated) buffer local variable.
4218
4219 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
4220
4221 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
4222 `iswitchb-next-match' and `iswitchb-prev-match' resply.
4223 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
4224 `ido-next-match' and `ido-prev-match' resply.
4225 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
4226 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
4227 `icomplete-backward-completions' (Bug#13708).
4228
4229 2013-02-15 Glenn Morris <rgm@gnu.org>
4230
4231 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4232
4233 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
4234
4235 * net/goto-addr.el (goto-address-fontify): Add start and end args.
4236 (goto-address-fontify-region): Use them instead of narrowing, so
4237 syntax-ppss has access to the whole buffer.
4238
4239 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4240
4241 * progmodes/python.el: Explain how to restore "cc-mode"-like
4242 forward-sexp movement in header documentation (Bug#13642).
4243 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
4244 comments and strings (GH bug 114).
4245
4246 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4247
4248 * progmodes/python.el (python-info-current-defun): Fix current
4249 defun detection (Bug#13618).
4250
4251 2013-02-15 Chong Yidong <cyd@gnu.org>
4252
4253 * xml.el (xml-parse-string): Fix typo in handling of bad character
4254 references.
4255
4256 2013-02-15 Glenn Morris <rgm@gnu.org>
4257
4258 * play/fortune.el (fortune-compile): Simplify and fix previous change.
4259
4260 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
4261
4262 * net/tramp.el (tramp-debug-message):
4263 Add `tramp-condition-case-unless-debug'.
4264 (tramp-debug-on-error): New defvar.
4265 (tramp-condition-case-unless-debug): New defun.
4266 (tramp-file-name-handler): Use it.
4267
4268 2013-02-14 Juri Linkov <juri@jurta.org>
4269
4270 * info.el (Info-isearch-filter): Treat non-nil values of
4271 `search-invisible' including its default value `open'
4272 like the value `t' to match hidden text. (Bug#13402)
4273
4274 2013-02-14 Glenn Morris <rgm@gnu.org>
4275
4276 * help-fns.el (find-lisp-object-file-name): Give special treatment
4277 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
4278
4279 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
4280
4281 * net/quickurl.el (quickurl-save-urls):
4282 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
4283
4284 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
4285
4286 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
4287 depth for unfinished percent literal. Not using it in the caller.
4288 (ruby-move-to-block): Jump over multiline literals of all types,
4289 ignoring code-looking contents inside them.
4290 (ruby-add-log-current-method): Improve performance at the expense
4291 of accuracy. `ruby-block-contains-point' is relatively slow, so
4292 only use it for method and singleton class blocks.
4293
4294 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
4295
4296 Use ControlMaster where applicable. (Bug#13677)
4297
4298 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
4299 replacing `tramp-detect-ssh-controlmaster'.
4300 (tramp-default-method): Use it.
4301
4302 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
4303 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
4304 arguments.
4305 [scpc, rsyncc]: Remove methods.
4306 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
4307 and "ssh2_old".
4308 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
4309 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
4310
4311 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
4312
4313 * emacs-lisp/package.el (package--initialized): Move before first use.
4314
4315 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
4316
4317 * icomplete.el (icomplete-hide-common-prefix): New user option.
4318 (icomplete-first-match): New face.
4319 (icomplete-completions): Correct handling of "complete but not
4320 unique" (Bug#12638).
4321
4322 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
4323
4324 * descr-text.el (describe-char): Display the script (bug#13698).
4325
4326 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
4327
4328 * tmm.el: Use lexical-binding and current-active-maps.
4329 (tmm-menubar): Use map-keymap and pcase.
4330 (tmm--completion-table): New function.
4331 (tmm-prompt): Use it to fix the menu order.
4332 (tmm-get-keybind): Use current-active-maps.
4333
4334 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
4335
4336 Add dired-hide-details-mode. (Bug#6799)
4337
4338 * locate.el (locate-mode): Set parent mode property to dired-mode.
4339
4340 * find-dired.el (find-dired): Call dired-insert-set-properties on
4341 initial information line. Set process mark on end of buffer.
4342 (find-dired-sentinel):
4343 Call dired-insert-set-properties on summary.
4344
4345 * dired.el (dired-hide-details-hide-symlink-targets)
4346 (dired-hide-details-hide-information-lines): New options.
4347 (dired-insert-directory):
4348 Set properties after final treatment of output.
4349 (dired-insert-set-properties):
4350 Set dired-hide-details-* properties.
4351 (dired-mode-map): Bind dired-hide-details-mode.
4352 (dired-mode): Set buffer-invisibility-spec to a list.
4353 (dired-next-line): Skip hidden lines.
4354 (dired-previous-line): Use dired-next-line.
4355 (dired-hide-details-mode): New minor mode.
4356 (dired-hide-details-update-invisibility-spec): New function.
4357
4358 2013-02-13 Glenn Morris <rgm@gnu.org>
4359
4360 * play/yow.el: Move to obsolete/. (Bug#9384)
4361
4362 2013-02-13 Juri Linkov <juri@jurta.org>
4363
4364 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
4365 to select `ediff-control-frame' and set input focus correctly on Xfce.
4366 (Bug#12218)
4367
4368 2013-02-13 Juri Linkov <juri@jurta.org>
4369
4370 * image-mode.el (image-mode-map):
4371 * doc-view.el (doc-view-mode-map):
4372 * vc/ediff-util.el (ediff-setup-keymap):
4373 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
4374
4375 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
4376
4377 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
4378 performance. Instead of recalculating indentation fully for each
4379 line, sum up indentation depth based only on visited lines.
4380 (ruby-parse-partial): Increase the depth after "do" even when END
4381 is right after it.
4382 (ruby-parse-partial): When END is in the middle of a percent
4383 literal, increase the depth if the delimiter chars belong to the
4384 paren syntax class.
4385
4386 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
4387
4388 * play/fortune.el (fortune-compile): Also make the compiled file
4389 if it does not exist at all, not just if it is old. (Bug#5338)
4390
4391 2013-02-13 Glenn Morris <rgm@gnu.org>
4392
4393 * emacs-lisp/package.el (package-menu-execute): Doc fix.
4394
4395 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
4396
4397 * lisp/emacs-lisp/package.el (package-menu-execute):
4398 Add optional noquery argument. (Bug#13625)
4399
4400 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
4401
4402 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
4403 if DIR exists and PARENTS is non-nil.
4404
4405 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
4406
4407 * progmodes/js.el (js--multi-line-declaration-indentation):
4408 Silence byte-compiler warning.
4409
4410 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
4411
4412 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
4413
4414 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
4415 only if it doesn't exist.
4416
4417 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4418 Set process marker.
4419
4420 2013-02-12 Tassilo Horn <tsdh@gnu.org>
4421
4422 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
4423 UserInstallation when calling soffice to work around LibreOffice
4424 bug 37531.
4425
4426 2013-02-12 Glenn Morris <rgm@gnu.org>
4427
4428 * files.el (basic-save-buffer):
4429 Offer to create a non-existing directory. (Bug#3016)
4430
4431 * calc/calc-graph.el (calc-graph-show-dumb):
4432 * calendar/calendar.el (calendar-mode-map):
4433 * cus-edit.el (custom-mode-map):
4434 * ehelp.el (electric-help-map):
4435 * emulation/vip.el (vip-mode-map):
4436 * epa.el (epa-key-list-mode-map):
4437 * info.el (Info-mode-map):
4438 * mail/rmail.el (rmail-mode-map):
4439 * mail/rmailsum.el (rmail-summary-mode-map):
4440 * man.el (Man-mode-map):
4441 * net/newst-plainview.el (newsticker-mode-map):
4442 * progmodes/cpp.el (cpp-edit-mode-map):
4443 * progmodes/grep.el (grep-mode-map):
4444 * progmodes/idlw-help.el (idlwave-help-mode-map):
4445 * simple.el (special-mode-map):
4446 * startup.el (splash-screen-keymap):
4447 * view.el (view-mode-map):
4448 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
4449
4450 2013-02-11 Elias Pipping <pipping@lavabit.com>
4451
4452 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
4453 (bug#13679).
4454
4455 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
4456
4457 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
4458
4459 2013-02-11 Glenn Morris <rgm@gnu.org>
4460
4461 * vc/diff.el (diff-use-labels): New variable.
4462 (diff-no-select): Use --label rather than -L, and first
4463 check that it is supported. (Bug#11067)
4464
4465 * files.el (enable-dir-local-variables): New variable.
4466 (hack-dir-local-variables): Respect enable-dir-local-variables.
4467 * tutorial.el (help-with-tutorial):
4468 Ignore directory-local variables. (Bug#11127)
4469
4470 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
4471 (vc-svn-global-switches): ... to here. (Bug#13513)
4472
4473 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
4474
4475 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
4476 Handle "foo (bar, default: xxx): " prompts.
4477
4478 2013-02-10 Chong Yidong <cyd@gnu.org>
4479
4480 * files.el (basic-save-buffer-1): Do not set
4481 buffer-file-coding-system-explicit (Bug#4533).
4482
4483 * mail/emacsbug.el (report-emacs-bug): Change binding of
4484 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
4485
4486 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
4487
4488 * calc/calc.el (calc-allow-units-as-numbers): New variable.
4489 * calc/calc-units.el (calc-convert-units): Use new variable.
4490
4491 2013-02-09 Eli Zaretskii <eliz@gnu.org>
4492
4493 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
4494
4495 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
4496 buffer-file-type.
4497
4498 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
4499 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
4500 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
4501 coding-system-for-write instead.
4502
4503 * jka-compr.el (jka-compr-write-region): Don't bind
4504 buffer-file-type.
4505
4506 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
4507 buffer-file-type.
4508
4509 * files.el (file-name-buffer-file-type-alist): Remove defvar.
4510 (insert-file-contents-literally): Remove reference to
4511 file-name-buffer-file-type-alist.
4512
4513 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
4514 make-obsolete.
4515 (find-buffer-file-type-match, find-buffer-file-type): Remove.
4516 (find-buffer-file-type-coding-system): Remove references to
4517 find-buffer-file-type-match, find-buffer-file-type, and
4518 buffer-file-type.
4519 Don't put find-buffer-file-type-coding-system into
4520 file-coding-system-alist.
4521 (find-file-binary, find-file-text): Bind coding-system-for-read
4522 instead of file-name-buffer-file-type-alist.
4523
4524 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
4525
4526 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
4527 converter (Bug#13622).
4528 (doc-view-unoconv-program): Make obsolete alias.
4529 (doc-view-odf->pdf-converter-program): New variable.
4530 (doc-view-odf->pdf-converter-function): New variable.
4531 (doc-view-mode-p): Use it.
4532 (doc-view-odf->pdf-converter-unoconv):
4533 Rename from `doc-view-odf->pdf-converter-unoconv'.
4534 (doc-view-odf->pdf-converter-soffice): New function.
4535 (doc-view-convert-current-doc):
4536 Use `doc-view-odf->pdf-converter-function'.
4537
4538 2013-02-09 Chong Yidong <cyd@gnu.org>
4539
4540 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
4541 view-echo-area-messages (Bug#13340).
4542
4543 * help.el (view-echo-area-messages): Use display-buffer.
4544
4545 * dired-x.el (dired-do-run-mail): Prompt for confirmation
4546 (Bug#13561).
4547
4548 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
4549
4550 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
4551 Eval body right away, now that we do eager macroexpansion (bug#13605).
4552
4553 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
4554 (fundamental-mode): Use run-mode-hooks.
4555
4556 * eshell/esh-proc.el (eshell/kill): Fix last change.
4557 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
4558
4559 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
4560
4561 * eshell/esh-proc.el (eshell/kill): Rewrite.
4562
4563 * eshell/em-ls.el (show-almost-all): Declare.
4564 (eshell-do-ls): Add support for -A argument.
4565
4566 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
4567
4568 * icomplete.el (icomplete-forward-completions)
4569 (icomplete-backward-completions): Handle corner case (bug#13602).
4570
4571 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
4572
4573 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
4574 be nil. Handle this. (Bug#13636)
4575
4576 2013-02-07 Richard Stallman <rms@gnu.org>
4577
4578 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
4579 `save-buffer-coding-system'.
4580
4581 2013-02-07 Alan Mackenzie <acm@muc.de>
4582
4583 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
4584 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
4585 (c-parse-state-get-strategy): Don't return 'BOD any more.
4586 (c-append-lower-brace-pair-to-state-cache):
4587 Extra parameter HERE instead of narrowing.
4588 Widen to top of buffer before searching backwards for a brace pair.
4589 (c-state-push-any-brace-pair): Add HERE parameter to function call.
4590 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
4591 Narrow to parameter HERE, in place of being called narrowed.
4592 (c-remove-stale-state-cache): Extra parameter HERE in place of
4593 narrowing. Check there's an open brace in the cache before
4594 searching for its match.
4595 (c-invalidate-state-cache-1): Add HERE parameter to function call.
4596 (c-parse-state-1): Don't narrow here for 'forward strategy,
4597 instead passing extra parameter HERE to several functions.
4598 Remove 'BOD strategy.
4599
4600 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
4601
4602 * emacs-lisp/package.el (describe-package-1): Tell what archive is
4603 used to install the package.
4604
4605 2013-02-06 Glenn Morris <rgm@gnu.org>
4606
4607 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
4608 if we can't get user input. (Bug#6567)
4609
4610 * startup.el (command-line): If simple.el is missing,
4611 test and warn about for some possible causes.
4612
4613 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
4614
4615 * cus-start.el (all): Add ns-use-native-fullscreen.
4616
4617 2013-02-05 Glenn Morris <rgm@gnu.org>
4618
4619 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
4620
4621 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
4622 Fix directory creation in fallback case.
4623
4624 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4625
4626 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
4627 (vc-update-change-log): Use dolist.
4628
4629 2013-02-04 Chong Yidong <cyd@gnu.org>
4630
4631 * thingatpt.el: Rewrite the URL detection routines, absorbing some
4632 code from ffap.el.
4633 (thing-at-point-beginning-of-url-regexp): New var.
4634 (thing-at-point-uri-schemes): Update list of URI schemes.
4635 (thing-at-point-url-regexp): Variable deleted.
4636 (thing-at-point-markedup-url-regexp): Disallow newlines.
4637 (thing-at-point-newsgroup-regexp)
4638 (thing-at-point-newsgroup-heads)
4639 (thing-at-point-default-mail-uri-scheme): New variables.
4640 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
4641 method to find the possible bounds of the URI at point.
4642 New optional argument to find ill-formed URIs.
4643 (thing-at-point-url-at-point): Rewrite. New arguments for finding
4644 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
4645 the scheme-adding heuristics from ffap-url-at-point.
4646 (thing-at-point--bounds-of-well-formed-url): New function.
4647 Do parens matching to decide whether to include parens in the URI
4648 (Bug#9153).
4649
4650 * ffap.el: Require thingatpt.
4651 (ffap-url-at-point): Delegate URI detection to thing-at-point.
4652 All URI-valid characters are now recognized (Bug#5673).
4653 (ffap-string-at-point): Use use-region-p.
4654 (ffap-url-regexp): Extra character is handled by thing-at-point.
4655 (ffap-string-at-point-mode-alist): Allow parentheses.
4656 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
4657 Convert to aliases; code moved to thingatpt.el.
4658 (ffap-gnus-hook): Use setq-local.
4659
4660 2013-02-04 Glenn Morris <rgm@gnu.org>
4661
4662 * emacs-lisp/ert.el (ert--explain-format-atom):
4663 Don't try to print non-characters as characters. (Bug#13543)
4664
4665 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
4666
4667 * net/tramp.el (tramp-debug-message): Extend function exclude list.
4668 (tramp-backtrace): New defun.
4669 (tramp-handle-insert-file-contents): Use `visit' when inserting
4670 the local copy.
4671
4672 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
4673 Use `remote-file-name-inhibit-cache'.
4674
4675 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
4676
4677 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
4678 (bug#13614).
4679
4680 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
4681 current-load-list (bug#13366).
4682
4683 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
4684
4685 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4686 Identify g++ template instantiation trace. (Bug#12287)
4687 (compilation-mode-hook, compilation-start-hook)
4688 (compilation-window-height): Simplify docstrings. (Bug#13379)
4689
4690 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4691
4692 * mouse.el (mouse-drag-track): Always deactivate the mark before
4693 running the final event's command since that command is in charge of
4694 activating the mark if needed (bug#13523).
4695
4696 2013-02-02 Juri Linkov <juri@jurta.org>
4697
4698 * replace.el (perform-replace): Move let-bindings of isearch-*
4699 variables deeper to the loop that searches for the next match.
4700 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
4701 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
4702 (Bug#13579)
4703
4704 * isearch.el (isearch-search-fun-default): Check for null
4705 first element of isearch-cmds as a precaution when it's used
4706 with inactive isearch.
4707
4708 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
4709
4710 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
4711 error when buffer in question is narrowed so position 1 is out of
4712 visible part.
4713
4714 2013-02-02 Glenn Morris <rgm@gnu.org>
4715
4716 * textmodes/remember.el (remember-clipboard): Doc fix.
4717
4718 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4719
4720 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
4721 properties (bug#13179).
4722
4723 2013-02-02 Juri Linkov <juri@jurta.org>
4724
4725 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
4726 instead of hard-coded default face `match'. (Bug#9438)
4727
4728 2013-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
4729
4730 * vc/vc-arch.el (vc-arch-registered):
4731 * vc/vc-bzr.el (vc-bzr-registered):
4732 * vc/vc-cvs.el (vc-cvs-registered):
4733 * vc/vc-git.el (vc-git-registered):
4734 * vc/vc-hg.el (vc-hg-registered):
4735 * vc/vc-mtn.el (vc-mtn-registered):
4736 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
4737 (Bug#13139)
4738
4739 * info.el (Info-next-reference, Info-prev-reference): Add numeric
4740 prefix argument. (Bug#11656)
4741
4742 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
4743
4744 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
4745
4746 2013-02-01 Glenn Morris <rgm@gnu.org>
4747
4748 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
4749 if the backend is known not to support it.
4750
4751 * imenu.el (imenu-default-create-index-function):
4752 Tweak infinite loop test to check for forward motion as well as none.
4753
4754 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
4755
4756 * net/soap-client.el (soap-invoke): Encode the string for
4757 `url-request-data' as UTF-8.
4758 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
4759
4760 2013-02-01 Glenn Morris <rgm@gnu.org>
4761
4762 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
4763
4764 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
4765
4766 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
4767
4768 * net/tramp.el (tramp-tramp-file-p): Comment check for
4769 `string-as-unibyte'. The function does not exist on XEmacs, and
4770 likely we need another approach.
4771
4772 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
4773 `tramp-gw-*' variables are bound.
4774
4775 2013-01-31 Glenn Morris <rgm@gnu.org>
4776
4777 * files.el (basic-save-buffer-2): Choose coding system for
4778 writing the file before backing it up, to reduce delay between
4779 backing up and writing the new version. (Bug#13522)
4780
4781 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
4782
4783 * simple.el (cycle-spacing): New command.
4784 (just-one-space): Use it.
4785
4786 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
4787
4788 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
4789 (opascal-newline-always-indents): Remove custom.
4790 (opascal-tab, opascal-newline): Remove commands.
4791 (opascal-new-comment-line): Insert "\n" instead of calling newline.
4792 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
4793 (opascal-save-match-data): Remove, use save-match-data instead.
4794 (opascal-save-state): Use with-silent-modifications.
4795
4796 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
4797 (bug#13585).
4798
4799 2013-01-30 Juri Linkov <juri@jurta.org>
4800
4801 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
4802 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
4803 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
4804
4805 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4806
4807 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
4808 column if we're just deleting the backslashes.
4809 (makefile-fill-paragraph): Use eolp.
4810
4811 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4812
4813 * autorevert.el (auto-revert-use-notify): Fix docstring.
4814
4815 2013-01-30 Leo Liu <sdl.web@gmail.com>
4816
4817 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
4818
4819 2013-01-30 Glenn Morris <rgm@gnu.org>
4820
4821 * mouse.el (mouse-drag-line): Avoid pushing same event onto
4822 unread-command-events twice in some cases. This tries to implement
4823 the 2012-07-26 changes in a different way. (Bug#13560)
4824
4825 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4826
4827 * progmodes/python.el
4828 (python-pdbtrack-comint-output-filter-function): Enhancements on
4829 stacktrace detection. (thanks @gnovak)
4830
4831 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4832
4833 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
4834 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
4835 Use defvar-local.
4836 (jit-lock-register): Use setq-local.
4837
4838 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
4839
4840 * calc-units.el (math-default-units-table): Remove initial value.
4841 (calc-convert-units): Treat expressions where all the units cancel as
4842 if they didn't have units.
4843
4844 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4845
4846 * net/tramp.el (tramp-process-connection-type): Fix docstring.
4847 (tramp-completion-reread-directory-timeout): Fix type.
4848 (tramp-connection-min-time-diff): New defcustom.
4849
4850 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4851
4852 2013-01-30 Glenn Morris <rgm@gnu.org>
4853
4854 * imenu.el (imenu-default-create-index-function):
4855 Put back a version of the infinite loop test removed 2013-01-23.
4856
4857 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4858
4859 * progmodes/python.el (python-shell-parse-command):
4860 Find python-shell-interpreter with modified environment.
4861
4862 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4863
4864 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
4865
4866 2013-01-29 Alan Mackenzie <acm@muc.de>
4867
4868 Amend to fontify /regexp/s in actions correctly.
4869 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
4870 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
4871 are no longer included.
4872 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
4873 What used to be these variables without "-line" in the name.
4874 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
4875 (c-awk-non-arith-op-bra-re): Now also matches {.
4876 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
4877 "return", and "case".
4878 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
4879 by /.
4880 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
4881 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
4882
4883 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
4884
4885 * autorevert.el (auto-revert-use-notify):
4886 Use `custom-initialize-default' for initialization. (Bug#13583)
4887
4888 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
4889
4890 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4891 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
4892 in `tramp-file-name-handler'.
4893 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
4894 compatibility.
4895 (tramp-compute-multi-hops): Check, whether
4896 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
4897
4898 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
4899
4900 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
4901 (bug#13297).
4902
4903 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
4904
4905 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
4906 checks made superfluous by the \_< operator.
4907 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
4908 temporarily) broken indentation.
4909 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4910 Highlight nested constants, too. \_< broke that.
4911
4912 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
4913
4914 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
4915 instead of "\\b".
4916
4917 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
4918
4919 * autorevert.el (auto-revert-handler): Notifications which result
4920 from a saved file shall not be taken into account. (Bug#13557)
4921
4922 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
4923
4924 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
4925 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
4926 (lisp-mode): Pass t for it. (Bug#13556)
4927
4928 2013-01-25 Alan Mackenzie <acm@muc.de>
4929
4930 AWK Mode: Fix indentation bug at top level. Bug #12274.
4931
4932 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
4933 just before CASE 5D.
4934
4935 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
4936
4937 * net/socks.el (socks-nslookup-host): Use string-to-number.
4938
4939 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
4940
4941 * autorevert.el (auto-revert-remote-files)
4942 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
4943 (auto-revert-notify-enabled, auto-revert-use-notify)
4944 (auto-revert-notify-watch-descriptor-hash-list)
4945 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
4946 (auto-revert-notify-event-descriptor)
4947 (auto-revert-notify-event-action)
4948 (auto-revert-notify-event-file-name): Doc fix.
4949 (global-auto-revert-mode): Reorder checks.
4950 (auto-revert-notify-rm-watch): Respect changed values of
4951 `auto-revert-notify-watch-descriptor-hash-list'.
4952 (auto-revert-notify-add-watch): Check for
4953 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
4954 `inotify-add-watch'. Watch `default-directory' instead of
4955 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
4956 has a changed meaning now. (Bug#13540)
4957 (auto-revert-notify-handler): Change implementation wrt events
4958 returning from a directory.
4959 (auto-revert-handler): Reorder implementation for checks of remote
4960 files.
4961 (auto-revert-buffers): Fix parentheses error.
4962
4963 2013-01-25 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4964
4965 * progmodes/python.el: Enhancements to header documentation about
4966 skeletons. (Bug#5716)
4967
4968 * imenu.el (imenu-default-create-index-function): Remove useless
4969 infinite loop check. (Bug#13438)
4970
4971 2013-01-25 Alan Mackenzie <acm@muc.de>
4972
4973 Fix a bug in the state cache mechanism. Refactor this a bit.
4974
4975 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
4976 `cache-pos' element from the return value.
4977 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
4978 buffer to enable proper searching from beyond HERE. Amend the
4979 test for detecting the sought brace pair. Amend the value written
4980 to the "brace desert cache" when the brace isn't found.
4981 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
4982 and several other variables analogously.
4983 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
4984 parameter to a locally calculated variable.
4985 (c-parse-state-1): Change the calling conventions to the two
4986 defuns involving `cache-pos'.
4987
4988 2013-01-25 Chong Yidong <cyd@gnu.org>
4989
4990 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
4991
4992 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
4993
4994 * paren.el (show-paren-function): Make sure to set 'priority and
4995 'face only if the overlay does exist.
4996
4997 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
4998
4999 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
5000
5001 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
5002 basic attributes.
5003 (tramp-sh-handle-set-file-acl): Improve error checking.
5004
5005 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
5006
5007 * doc-view.el (doc-view-display): Force mode line update until all
5008 document is converted. Suggested by Stefan Monnier (Bug#13164).
5009
5010 2013-01-23 Bastien Guerry <bzg@gnu.org>
5011
5012 * paren.el (show-paren-function): Make sure an overlay exists
5013 before trying to delete it. Also use `pos' as a position only
5014 when it is an integer.
5015
5016 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
5017
5018 * play/gametree.el (gametree-break-line-here): Use point-marker.
5019
5020 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
5021
5022 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5023 Mark descriptive parts with `display' property.
5024
5025 2013-01-21 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
5026
5027 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
5028 New variable to map standard dict names to hunspell ones.
5029 (ispell-set-spellchecker-params): Make sure specific dict names
5030 are used for standard dicts with hunspell.
5031
5032 2013-01-21 Tassilo Horn <tsdh@gnu.org>
5033
5034 * textmodes/reftex-cite.el (reftex-format-citation): Add format
5035 chars for note (%N) and url (%U).
5036 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
5037
5038 2013-01-21 Juri Linkov <juri@jurta.org>
5039
5040 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
5041 in addition to existing separate binding `meta f10' in `global-map'.
5042 (Bug#13484)
5043
5044 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
5045
5046 Improve XEmacs compatibility.
5047
5048 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
5049
5050 * net/tramp-adb.el (top): Require `time-date'.
5051 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
5052 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
5053 Use `tramp-file-name-handler'.
5054 (tramp-adb-maybe-open-connection):
5055 Use `tramp-compat-set-process-query-on-exit-flag'.
5056
5057 * net/tramp-sh.el (tramp-sh-handle-file-acl):
5058 Use `tramp-compat-funcall'.
5059
5060 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
5061 `tramp-compat-funcall'.
5062
5063 2013-01-21 JĂ¼rgen Hötzel <juergen@archlinux.org>
5064
5065 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
5066 reimplementation using "adb shell command ..." instead of running
5067 remote shell interactively.
5068
5069 2013-01-20 Glenn Morris <rgm@gnu.org>
5070
5071 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
5072 Add native profiler menu entries.
5073
5074 * profiler.el (profiler-running-p): New function.
5075 (profiler-cpu-profile): Use profiler-running-p.
5076 (profiler-report-mode-map): Add some more menu entries.
5077
5078 2013-01-19 Glenn Morris <rgm@gnu.org>
5079
5080 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
5081 fixes 2012-12-07 change. (Bug#13499)
5082
5083 2013-01-19 Leo Liu <sdl.web@gmail.com>
5084
5085 * dired.el (dired-get-marked-files): Prune erroneous values due to
5086 last change. (Bug#13152)
5087
5088 2013-01-19 Glenn Morris <rgm@gnu.org>
5089
5090 * progmodes/etags.el (tags-table-check-computed-list):
5091 Preserve point in tags buffer. (Bug#13412)
5092
5093 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
5094
5095 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
5096 Chong Yidong <cyd@gnu.org>
5097
5098 * image-mode.el (image-next-file, image-previous-file):
5099 New commands (Bug#8453).
5100 (image-mode-map): Bind them to n and p.
5101 (image-mode--images-in-directory): New helper function.
5102
5103 2013-01-19 Chong Yidong <cyd@gnu.org>
5104
5105 * image-mode.el (image-mode-fit-frame): Add a frame argument.
5106 Suggested by Drew Adams (Bug#7730). Handle window decorations;
5107 save and restore the old window configuration.
5108
5109 2013-01-18 Leo Liu <sdl.web@gmail.com>
5110
5111 * progmodes/js.el: Tweak autoload cookie for alias.
5112
5113 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
5114
5115 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
5116 buffer local, again. This was lost with the fix on 2013-01-12.
5117
5118 2013-01-17 JĂ¼rgen Hötzel <juergen@archlinux.org>
5119
5120 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
5121 order to support several eshell buffers in parallel.
5122
5123 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
5124
5125 * autorevert.el (auto-revert-use-notify): In the :set function, do
5126 not modify `kill-buffer-hook'.
5127 (auto-revert-notify-rm-watch):
5128 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
5129 (auto-revert-notify-add-watch): Do not call
5130 `auto-revert-notify-rm-watch', but add it to a buffer local
5131 `kill-buffer-hook'.
5132
5133 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5134
5135 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
5136 call to `eval' rather than a backquoted lambda.
5137
5138 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
5139
5140 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
5141 to return an explicit nil.
5142 (advice--remove-function): Change accordingly.
5143
5144 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
5145 the use of nadvice.el.
5146
5147 * progmodes/which-func.el (which-function): Silence imenu errors
5148 (bug#13433).
5149
5150 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
5151
5152 * progmodes/sql.el (sql-imenu-generic-expression):
5153 (sql-mode-font-lock-object-name): Match schema qualified names.
5154 (sql-connect): Use string keys.
5155 (sql-product-interactive): Wait for interpreter prompt.
5156 (sql-comint-oracle): Set process coding based on NLS_LANG.
5157
5158 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
5159
5160 * progmodes/sql.el (sql-output-to-send): Remove, unused.
5161 (sql-interactive-remove-continuation-prompt):
5162 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
5163
5164 2013-01-14 Leo Liu <sdl.web@gmail.com>
5165
5166 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
5167 (Bug#13420)
5168
5169 2013-01-14 Glenn Morris <rgm@gnu.org>
5170
5171 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5172 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
5173
5174 2013-01-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5175
5176 * progmodes/python.el (python-nav-end-of-statement):
5177 Fix cornercase when handling multiline strings.
5178
5179 2013-01-13 Richard Stallman <rms@gnu.org>
5180
5181 * mail/sendmail.el (mail-position-on-field): Add doc string.
5182
5183 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5184 Get current message boundaries and pass them to
5185 message-forward-make-body-mime. Minor style changes.
5186
5187 2013-01-13 Eli Zaretskii <eliz@gnu.org>
5188
5189 * cus-start.el (all): Avoid warnings about
5190 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
5191
5192 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
5193
5194 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
5195
5196 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
5197
5198 * jit-lock.el (jit-lock-debug-mode): New minor mode.
5199 (jit-lock--debug-fontifying): New var.
5200 (jit-lock--debug-fontify): New function.
5201 * subr.el (condition-case-unless-debug): Don't prevent catching the
5202 error, just let the debbugger run.
5203 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
5204 timer code and don't drop errors silently.
5205
5206 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
5207
5208 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
5209 `permanent-local' property.
5210 (auto-revert-notify-handler): Use `file-equal-p'.
5211
5212 2013-01-12 Eli Zaretskii <eliz@gnu.org>
5213
5214 * autorevert.el (auto-revert-notify-handler): Fix filtering of
5215 file notification by ACTION. For filtering by file name, compare
5216 only the non-directory part of the file name.
5217
5218 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
5219
5220 * autorevert.el: Use cl-lib instead of cl.
5221
5222 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
5223 (vc-bzr-checkin): Use it.
5224 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
5225 will preserve match-data.
5226
5227 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
5228
5229 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
5230 (js--declaration-keyword-re): New var.
5231 (js--multi-line-declaration-indentation): New function.
5232 (js--proper-indentation): Use it.
5233
5234 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
5235
5236 * calc/calc.el (calc-highlight-selections-with-faces)
5237 (calc-dispatch):
5238 * comint.el (comint-history-isearch-message):
5239 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
5240 * ffap.el (ffap-string-at-point-region, ffap-next)
5241 (ffap-string-at-point, ffap-string-around)
5242 (ffap-copy-string-as-kill, ffap-highlight-overlay)
5243 (ffap-literally):
5244 * font-lock.el (font-lock-keywords-alist)
5245 (font-lock-removed-keywords-alist):
5246 * help-mode.el (help-xref-symbol-regexp):
5247 * info.el (Info-find-emacs-command-nodes):
5248 * international/mule.el (add-to-coding-system-list):
5249 * isearch.el (isearch-message-function, isearch-fail-pos):
5250 * misearch.el (multi-isearch-next-buffer-function):
5251 * newcomment.el (comment-box):
5252 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
5253 (pr-setting-database):
5254 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
5255 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
5256 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
5257 (pike-font-lock-keywords-3):
5258 * progmodes/compile.el (compile):
5259 * progmodes/etags.el (tags-table-files)
5260 (tags-table-files-function, tags-included-tables-function):
5261 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
5262 (gdb-restore-windows):
5263 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
5264 (ps-n-up-filling-database):
5265 * server.el (server-buffer, server-log):
5266 * simple.el (newline, delete-backward-char, delete-forward-char)
5267 (minibuffer-history-isearch-message, kill-line, track-eol)
5268 (temporary-goal-column):
5269 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
5270 (flyspell-default-deplacement-commands):
5271 * textmodes/ispell.el (ispell-accept-output):
5272 * textmodes/sgml-mode.el (html-tag-help):
5273 * vc/compare-w.el (compare-ignore-whitespace)
5274 (compare-ignore-case, compare-windows-dehighlight):
5275 * vc/diff.el (diff):
5276 * whitespace.el (whitespace-point)
5277 (whitespace-font-lock-refontify, whitespace-bob-marker)
5278 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
5279
5280 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
5281
5282 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
5283 (auto-revert-notify-rm-watch): Ignore errors.
5284 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
5285 inotify, and '(size last-write-time) for w32notify.
5286 Set buffer-local `auto-revert-use-notify' to nil when adding a file
5287 watch fails - this is a fallback to the file modification check.
5288 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
5289 (auto-revert-notify-event-action)
5290 (auto-revert-notify-event-file-name): New defuns.
5291 (auto-revert-notify-handler): Use them. Implement first
5292 plausibility checks.
5293 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
5294
5295 2013-01-11 Julien Danjou <julien@danjou.info>
5296
5297 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
5298 max are almost equal. Also return the correct value for V which is
5299 already between 0 and 1.
5300
5301 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
5302
5303 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
5304
5305 2013-01-11 Eli Zaretskii <eliz@gnu.org>
5306
5307 * autorevert.el (auto-revert-notify-rm-watch)
5308 (auto-revert-notify-add-watch): Fix typos in w32notify function
5309 names.
5310
5311 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
5312
5313 * autorevert.el (auto-revert-notify-enabled): Move up.
5314 (auto-revert-use-notify): New defcustom.
5315 (auto-revert-mode, global-auto-revert-mode)
5316 (auto-revert-notify-add-watch, auto-revert-handler)
5317 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
5318 `auto-revert-notify-enabled'.
5319
5320 2013-01-10 Elias Pipping <pipping@exherbo.org>
5321
5322 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
5323 * doc-view.el (doc-view-document->bitmap):
5324 Use doc-view-single-page-converter-function instead of
5325 single-page-converter arg; adjust callers.
5326
5327 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
5328
5329 * progmodes/which-func.el (which-function): Understand Semantic's use
5330 of overlays in imenu--index-alist.
5331
5332 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
5333
5334 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
5335 (Man-man-k-use-anchor): New var.
5336 (Man-parse-man-k): New function.
5337 (Man-completion-table): Use it.
5338 (man): Flush the completion cache between uses.
5339
5340 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
5341
5342 * autorevert.el: Add file watch support.
5343 (auto-revert-notify-enabled): New defconst.
5344 (auto-revert-notify-watch-descriptor-hash-list)
5345 (auto-revert-notify-watch-descriptor)
5346 (auto-revert-notify-modified-p): New defvars.
5347 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5348 (auto-revert-notify-handler): New defuns.
5349 (auto-revert-mode, global-auto-revert-mode): Remove file watches
5350 when mode is disabled.
5351 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
5352 (auto-revert-buffers): Add file watches for active buffers.
5353
5354 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
5355
5356 * cus-start.el (toplevel): Only allow float values for
5357 scroll-up-aggressively and scroll-down-aggressively.
5358 Allow any number for line-spacing.
5359
5360 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
5361
5362 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
5363 (doc-view-pdf->png-converter-function): Use mupdf if available.
5364 (doc-view-djvu->png-converter-function)
5365 (doc-view-ps->png-converter-function): Remove.
5366 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
5367 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
5368 (doc-view-already-converted-p): Adjust accordingly.
5369 (doc-view-mode-p): Simplify.
5370 (doc-view-enlarge): Use setq-local.
5371 (doc-view-pdf->png-converter-ghostscript)
5372 (doc-view-djvu->png-converter-ddjvu)
5373 (doc-view-pdf->png-converter-mupdf): Rework to call
5374 doc-view-start-process directly.
5375 (doc-view-pdf/ps->png): Simplify accordingly.
5376 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
5377 (doc-view-document->bitmap): Rename from doc-view-document->png.
5378 (doc-view-convert-current-doc): Merge pdf and djvu cases.
5379 (doc-view-set-slice-from-bounding-box): Fix completion table.
5380 (doc-view-mode): Use add-hook for after-revert-hook.
5381
5382 2013-01-10 Glenn Morris <rgm@gnu.org>
5383
5384 * emacs-lisp/authors.el (authors-ignored-files)
5385 (authors-valid-file-names, authors-renamed-files-alist):
5386 Add some more entries.
5387
5388 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
5389
5390 * image-mode.el (image-mode-winprops): Don't throw away the fallback
5391 `t' pseudo-window entry.
5392
5393 2013-01-10 Alan Mackenzie <acm@muc.de>
5394
5395 Fix bugs in the c-parse-state mechanism. Reuse some markers
5396 instead of continually generating new ones.
5397
5398 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
5399 (c-state-old-cpp-end-marker): New variables.
5400 (c-append-lower-brace-pair-to-state-cache): Start a backward
5401 search for "}" definitively outside CPP constructs.
5402 (c-remove-stale-state-cache): Inform the caller of a need to
5403 search back for a brace pair in certain circumstances.
5404 (c-state-maybe-marker): New macro.
5405 (c-parse-state): Reuse markers when appropriate.
5406
5407 2013-01-10 Glenn Morris <rgm@gnu.org>
5408
5409 * simple.el (execute-extended-command): Doc fix.
5410 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
5411
5412 2013-01-10 Chong Yidong <cyd@gnu.org>
5413
5414 * faces.el (read-face-name): Doc fix.
5415
5416 2013-01-10 Roland Winkler <winkler@gnu.org>
5417
5418 * emacs-lisp/crm.el: Allow any regexp for separators.
5419 (crm-default-separator): All spaces around the default comma separator.
5420 (crm--completion-command): New macro.
5421 (crm-completion-help, crm-complete, crm-complete-word): Use it.
5422 (crm-complete-and-exit): Handle non-single-char separators.
5423
5424 2013-01-09 Elias Pipping <pipping@lavabit.com>
5425
5426 * doc-view.el: Add support for DjVu (bug#13164).
5427 (doc-view-djvu->png-converter-function): New config var.
5428 (doc-view-single-page-converter-function, doc-view--image-type)
5429 (doc-view--image-file-extension): New vars.
5430 (doc-view-mode): Initialize them.
5431 (doc-view-goto-page): Use them.
5432 (doc-view-mode-p): Add support for ddjvu.
5433 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
5434 (doc-view-set-up-single-converter): New funs.
5435 (doc-view-pdf/ps->png): Extend for djvu.
5436 (doc-view-document->png): Rename from doc-view-pdf->png.
5437 (doc-view-convert-current-doc): Handle djvu.
5438 (doc-view-insert-image, doc-view-display)
5439 (doc-view-already-converted-p): Don't hardcode png.
5440 (doc-view-set-doc-type): Recognize djvu docs.
5441
5442 2013-01-09 Elias Pipping <pipping@lavabit.com>
5443
5444 * doc-view.el: Add support for mupdf converter (bug#13164).
5445 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
5446 (doc-view-ps->png-converter-function): New config vars.
5447 (doc-view-pdf->png-converter-ghostscript)
5448 (doc-view-ps->png-converter-ghostscript)
5449 (doc-view-pdf->png-converter-mupdf): New functions.
5450 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
5451
5452 2013-01-09 JĂ¼rgen Hötzel <juergen@archlinux.org>
5453
5454 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
5455 first in session cache: When `tramp-own-remote-path' is in
5456 `tramp-remote-path', the remote path is only set in the session
5457 cache.
5458
5459 2013-01-09 Glenn Morris <rgm@gnu.org>
5460
5461 * emacs-lisp/trace.el (trace-function-foreground)
5462 (trace-function-background): Doc fix.
5463
5464 2013-01-09 Juri Linkov <juri@jurta.org>
5465
5466 * international/mule-cmds.el (read-char-by-name): Move let-binding
5467 of completion-ignore-case around completing-read to fix regression
5468 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
5469 `string-match-p' using the nil value of `case-fold-search' and
5470 `completion-ignore-case' in `completion-pcm--all-completions'.
5471 (Bug#12615).
5472
5473 2013-01-09 Glenn Morris <rgm@gnu.org>
5474
5475 * progmodes/compile.el (compilation-parse-errors):
5476 Fix typo. (Bug#13369)
5477
5478 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
5479
5480 * comint.el (comint-send-input): Check size of buffer before
5481 waiting for process output, in case already accepted. (Bug#13290)
5482
5483 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
5484
5485 Spelling fixes.
5486 * net/tramp-adb.el (tramp-adb-get-toolbox):
5487 Fix misspelling of 'unknown'.
5488
5489 2013-01-08 Juri Linkov <juri@jurta.org>
5490
5491 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5492 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5493 Use underline style wave on terminals that support it. (Bug#13000)
5494
5495 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
5496
5497 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
5498 the predicate returns nil.
5499
5500 * simple.el: Use lexical-binding.
5501 (primitive-undo): Use pcase.
5502 (minibuffer-history-isearch-push-state): Use a closure.
5503
5504 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5505
5506 * simple.el (primitive-undo): Move from undo.c.
5507
5508 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
5509
5510 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
5511 (cvs-mode-remove-handled): Use it (bug#13380).
5512
5513 * emacs-lisp/nadvice.el (advice--tweak): New function.
5514 (advice--remove-function, advice--subst-main): Use it.
5515
5516 * emacs-lisp/advice.el: Update commentary.
5517
5518 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
5519
5520 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5521 Remove spurious entry.
5522
5523 2013-01-08 Glenn Morris <rgm@gnu.org>
5524
5525 * net/tramp.el (tramp-default-host-alist): Add :version.
5526
5527 2013-01-08 Juri Linkov <juri@jurta.org>
5528
5529 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
5530 single completion. (Bug#12456)
5531 (info--manual-names): Expand node completions into an explicit list
5532 before appending it to another list. Filter out internal buffers
5533 with the leading space in the buffer name. (Bug#10771)
5534
5535 2013-01-08 Juri Linkov <juri@jurta.org>
5536
5537 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
5538 that defaults to the Top node.
5539 (Info-goto-node, Info-read-node-name): Doc fix to mention that
5540 the short format (FILENAME) goes to the Top node.
5541 (Info-build-node-completions): Rename arg `file' to `filename'.
5542 (Bug#13365)
5543
5544 2013-01-07 Bastien Guerry <bzg@gnu.org>
5545
5546 * menu-bar.el (menu-bar-search-documentation-menu):
5547 Use `apropos-user-option' and fix the help message.
5548
5549 2013-01-07 Bastien Guerry <bzg@gnu.org>
5550
5551 * apropos.el (apropos-do-all): Update docstring.
5552 (apropos-user-option-button): New face.
5553 (apropos-user-option): Rename from `apropos-variable' and update
5554 docstring.
5555 (apropos-variable): Rewrite, now show all variables by default.
5556 (apropos-print): Mention "User option" instead of "Variable" when
5557 printing doc for user options. (Bug#13276)
5558
5559 2013-01-07 JĂ¼rgen Hötzel <juergen@archlinux.org>
5560
5561 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
5562 Handle filename correctly, when parsing "source -> target" symlink
5563 output.
5564 (tramp-adb-handle-set-file-times): New defun.
5565
5566 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
5567
5568 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
5569 advice list when the interactive-spec of ad-Advice-* changes.
5570
5571 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
5572
5573 * wid-edit.el (widget-default-get): Work for inlined elements.
5574 (Bug#12670)
5575
5576 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
5577
5578 * net/tramp.el (tramp-default-host-alist): New defcustom.
5579 (tramp-find-host): Use it.
5580 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
5581 `eshell-directory-change-hook'.
5582
5583 * net/tramp-adb.el (top): Add adb specific entry in
5584 `tramp-default-host-alist'.
5585 (tramp-adb-file-name-host): Remove function.
5586 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
5587 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
5588
5589 * net/tramp-sh.el: Move eshell integration code to tramp.el.
5590
5591 2013-01-06 JĂ¼rgen Hötzel <juergen@archlinux.org>
5592
5593 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
5594
5595 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
5596
5597 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
5598 consist of more than one digit.
5599 (tramp-adb-file-name-handler-alist):
5600 Use `tramp-handle-file-exists-p' consistently.
5601 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
5602 (tramp-adb-handle-file-exists-p): Remove function.
5603 (tramp-adb-file-name-host): New defun.
5604 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
5605 Use it.
5606 (tramp-adb-maybe-open-connection): Set "remote-path" property.
5607
5608 2013-01-06 Chong Yidong <cyd@gnu.org>
5609
5610 * vc/vc.el (vc-next-action): Detect buffer modifications
5611 conflicting with locking VCS operation (Bug#11490).
5612
5613 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
5614
5615 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
5616
5617 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
5618 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
5619
5620 2013-01-05 JĂ¼rgen Hötzel <juergen@archlinux.org>
5621
5622 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
5623 parsing of ls output using regular expression (handle filenames
5624 with spaces). Use virtual device number.
5625 (tramp-do-parse-file-attributes-with-ls): New defun (Code
5626 cleanup).
5627
5628 2013-01-04 Daiki Ueno <ueno@gnu.org>
5629
5630 * epg.el: Silence byte-compiler warnings.
5631 (epg--start): Use delete-char instead of delete-backward-char.
5632 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
5633
5634 2013-01-04 Daiki Ueno <ueno@gnu.org>
5635
5636 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
5637 Suggested by Eli Zaretskii <eliz@gnu.org>.
5638
5639 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
5640
5641 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
5642 non-negative integers. Otherwise, the default values are used.
5643 (tramp-convert-file-attributes): Convert uid and gid to integers.
5644
5645 2013-01-04 Glenn Morris <rgm@gnu.org>
5646
5647 * term.el (term-handle-colors-array): Ensure face attributes
5648 are fully specified, not nil. (Bug#13337)
5649
5650 * term.el (term-default-fg-color, term-default-bg-color):
5651 Fix custom type.
5652
5653 * progmodes/etags.el (tags-compression-info-list): Doc fix.
5654 (tag-find-file-of-tag-noselect): Check auto-compression-mode
5655 rather than 'jka-compr being loaded. (Bug#13338)
5656
5657 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
5658
5659 * icomplete.el (icomplete-completions):
5660 Honor icomplete-prospects-height once more following
5661 2012-11-29 changes. (Bug#13224)
5662
5663 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
5664
5665 * subr.el (internal--called-interactively-p--get-frame): Find aliases
5666 of called-interactively-p as well (bug#13237).
5667
5668 * view.el (view--enable, view--disable): Rename from view-mode-enable
5669 and view-mode-disable and assume it's called from view-mode.
5670 (view-mode-enable, view-mode-disable): Redefine as obsolete
5671 compatibility layer above view-mode.
5672 (view-mode-enter): Call `view-mode'.
5673
5674 * files.el (after-find-file): Call `view-mode'.
5675
5676 * doc-view.el (doc-view-scale-internally): New var.
5677 (doc-view-enlarge, doc-view-insert-image): Obey it.
5678
5679 2013-01-03 Daiki Ueno <ueno@gnu.org>
5680
5681 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
5682 exist. (Bug#13344)
5683
5684 2013-01-03 Glenn Morris <rgm@gnu.org>
5685
5686 * mail/rmail.el (rmail-set-header-1): Ignore case.
5687 Handle multi-line headers. (Bug#13330)
5688
5689 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
5690 Handle paragraph starting at beginning of buffer.
5691
5692 * subr.el (eval-after-load): Don't purecopy the form, so that it
5693 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
5694
5695 * emacs-lisp/byte-run.el (defun): Place cl declarations
5696 after any interactive spec. (Bug#13265)
5697
5698 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5699
5700 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
5701 defun. Don't check for DECL if DOCSTRING isn't a string.
5702 (defun): Likewise.
5703
5704 2013-01-02 Glenn Morris <rgm@gnu.org>
5705
5706 * eshell/em-cmpl.el (eshell-pcomplete):
5707 More thoroughly imitate pcomplete. (Bug#13293)
5708
5709 * files.el (parse-colon-path): Doc fix. (Bug#12351)
5710 Return nil for empty path elements. (Bug#13296)
5711
5712 2013-01-02 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5713
5714 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
5715 order to improve efficiency (Based on Daniel Colascione's
5716 <dancol@dancol.org> patch). (Bug#13182)
5717
5718 2013-01-02 Glenn Morris <rgm@gnu.org>
5719
5720 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
5721
5722 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5723
5724 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
5725 neither DOCSTRING nor DECL was given. (Bug#13316)
5726
5727 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
5728
5729 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
5730 `error' call.
5731 (tramp-do-copy-or-rename-file): Ignore errors when calling
5732 `set-file-extended-attributes'.
5733
5734 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5735 Add handler for `file-acl'.
5736 (tramp-smb-handle-file-acl): New defun.
5737
5738 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
5739
5740 * calc/README: Mention ISO 8601 week-numbering dates.
5741
5742 2013-01-01 Martin Rudalics <rudalics@gmx.at>
5743
5744 * view.el (view-mode-enable): New argument run-view-mode-hook.
5745 Run view-mode-hook only when it's non-nil (Bug#13315).
5746 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
5747 argument t.
5748
5749 2012-12-31 JĂ¼rgen Hötzel <juergen@archlinux.org>
5750
5751 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
5752 (No device connected, invalid device name). (Bug #13299)
5753
5754 2012-12-31 Martin Rudalics <rudalics@gmx.at>
5755
5756 * window.el (window-resizable--p): Rename to window-resizable-p.
5757 (window-resize-no-error): New function.
5758
5759 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
5760 broken in fix from 2012-12-28.
5761
5762 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
5763
5764 * subr.el (special-form-p): Don't signal errors on undef aliases.
5765
5766 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
5767
5768 * calc/calc-forms.el (math-parse-date): Try using
5769 `math-parse-iso-date' when it looks like it might be needed.
5770 Allow times of 24:00.
5771 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
5772 of 24:00.
5773
5774 2012-12-30 Glenn Morris <rgm@gnu.org>
5775
5776 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
5777 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
5778 (rmail-summary-displayed, rmail-summary): Declare.
5779 (mairix-rmail-display): Just require rmail.
5780
5781 2012-12-30 Chong Yidong <cyd@gnu.org>
5782
5783 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
5784 check for the tarball contents.
5785
5786 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
5787
5788 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
5789 tarfile content listings (Bug#13136).
5790
5791 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
5792
5793 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5794 Insert the undecoded text of the message being forwarded. (Bug#9521)
5795
5796 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
5797
5798 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
5799 integers, if they are real numbers. (Bug#13282)
5800
5801 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
5802 Return `t' on success.
5803
5804 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5805 Add handler for `set-file-selinux-context'.
5806
5807 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
5808
5809 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
5810 (tramp-sh-handle-set-file-acl): Return `t' on success.
5811
5812 2012-12-29 Eli Zaretskii <eliz@gnu.org>
5813
5814 * files.el (backup-buffer-copy, basic-save-buffer-2):
5815 If set-file-extended-attributes fails, fall back on set-file-modes
5816 instead of signaling an error. (Bug#13298)
5817 (basic-save-buffer): Likewise.
5818
5819 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5820
5821 * progmodes/python.el: Support other commands triggering
5822 python-indent-line so indentation cycling continues to work.
5823 (python-indent-trigger-commands): New defcustom.
5824 (python-indent-line): Use it.
5825
5826 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5827
5828 * progmodes/python.el (python-shell-send-region): Add blank lines
5829 for non sent code so backtraces remain correct.
5830
5831 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5832
5833 * progmodes/python.el: Remove cl dependency.
5834 (python-syntax-count-quotes): Replace incf call.
5835 (python-fill-string): Replace setf call.
5836
5837 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
5838
5839 * info.el (info-other-window): New arg, for consistency with info.
5840
5841 2012-12-28 Martin Rudalics <rudalics@gmx.at>
5842
5843 * mail/rmail.el (rmail-maybe-display-summary):
5844 Rewrite (Bug#13066).
5845
5846 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
5847
5848 * epg.el (epg--start): Modify process-environment locally.
5849
5850 2012-12-28 Daiki Ueno <ueno@gnu.org>
5851
5852 * epg.el: Support pinentry-curses.
5853 Suggested by Werner Koch in
5854 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
5855 (epg-agent-file, epg-agent-mtime): New variable.
5856 (epg--start): Record the modified time of gpg-agent socket file,
5857 to restore Emacs frame after pinentry-curses termination.
5858 (epg-wait-for-completion): Restore Emacs frame here.
5859
5860 2012-12-27 Juri Linkov <juri@jurta.org>
5861
5862 * info.el (Info-file-completions): New variable.
5863 (Info-read-node-name-1): Complete node names in the Info file
5864 when a file name is given. Call `Info-build-node-completions'
5865 with a file name.
5866 (Info-build-node-completions): Add new arg `file'. When it is
5867 non-nil, visit it in a temporary buffer and cache its completions in
5868 `Info-current-file-completions'. Move most of the function body to
5869 `Info-build-node-completions-1'.
5870 (Info-build-node-completions-1): New function with the body from
5871 `Info-build-node-completions'. (Bug#12456)
5872
5873 2012-12-27 Juri Linkov <juri@jurta.org>
5874
5875 * frame.el (frame-maximization-style): Remove user option.
5876 (cycle-frame-maximized): Remove function.
5877 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
5878 (toggle-frame-fullscreen): New command bound to <f11> instead of
5879 `toggle-frame-maximized'.
5880 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
5881
5882 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
5883
5884 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
5885
5886 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5887 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5888 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5889 for `file-accessible-directory-p'. (Bug#13275)
5890
5891 2012-12-27 Sam Steingold <sds@gnu.org>
5892
5893 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
5894 continuations, see <http://stackoverflow.com/questions/3582436>.
5895
5896 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
5897
5898 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
5899 "module" and "def" to have indentation before them.
5900 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
5901
5902 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
5903
5904 2012-12-27 Alan Mackenzie <acm@muc.de>
5905
5906 Speed up fontification where there's large brace blocks.
5907 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
5908 to a call of c-beginning-of-decl-1.
5909
5910 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
5911
5912 * comint.el (comint-adjust-window-point): New function.
5913 (comint-postoutput-scroll-to-bottom):
5914 Call comint-adjust-window-point (Bug#13248).
5915
5916 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
5917
5918 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
5919 Rakefile regexp.
5920 (auto-mode-alist): Associate .gemspec files with ruby-mode
5921 (https://bugs.ruby-lang.org/issues/5453).
5922
5923 2012-12-26 JĂ¼rgen Hötzel <juergen@archlinux.org>
5924
5925 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
5926 Suppress coloring, if possible (required for BusyBox based systems like
5927 CyanogenMod).
5928 (tramp-adb-handle-file-attributes)
5929 (tramp-adb-handle-insert-directory)
5930 (tramp-adb-handle-file-name-all-completions): Use it.
5931 (tramp-adb-get-toolbox): New defun. Check for remote shell
5932 implementation (BusyBox or Toolbox).
5933
5934 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
5935
5936 * startup.el (initial-buffer-choice): Allow function as value
5937 (Bug#13251).
5938 (command-line-1): Handle case where initial-buffer-choice
5939 specifies a function.
5940 * server.el (server-execute): Handle case where
5941 initial-buffer-choice specifies a function.
5942
5943 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5944
5945 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
5946 its own function.
5947 (smtpmail-try-auth-methods): Forget the user name/password if the
5948 login is unsuccessful (bug#12424).
5949
5950 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
5951
5952 * notifications.el (notifications-notify): Protect body with
5953 `with-demoted-errors'.
5954
5955 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5956 Check properties of remote device. Restart connection, if there is a
5957 change.
5958
5959 2012-12-21 Chong Yidong <cyd@gnu.org>
5960
5961 * sort.el (sort-subr): Doc fix (Bug#13056).
5962
5963 2012-12-21 Bastien Guerry <bzg@gnu.org>
5964
5965 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
5966
5967 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
5968
5969 * simple.el (process-file): Overwrite stderr file, if exists.
5970
5971 2012-12-21 Daiki Ueno <ueno@gnu.org>
5972
5973 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
5974 (epg-error): Set `error-message' property.
5975
5976 2012-12-21 Chong Yidong <cyd@gnu.org>
5977
5978 * international/mule-cmds.el (read-char-by-name): Signal an error
5979 if the user does not supply a valid character (Bug#13177).
5980
5981 * simple.el (transpose-subr-1): Preserve marker positions by
5982 changing the insertion sequence (Bug#13122).
5983
5984 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5985
5986 * simple.el (kill-region): Deactivate mark even for empty regions
5987 (Bug#13169).
5988
5989 2012-12-21 Chong Yidong <cyd@gnu.org>
5990
5991 * help-fns.el (describe-variable): Make sure we get the right
5992 buffer name (Bug#13105). Suggested by Kelly Dean.
5993
5994 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
5995
5996 * comint.el (comint-redirect-previous-input-string): New variable.
5997 (comint-redirect-setup, comint-redirect-cleanup)
5998 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
5999 (comint-redirect-preoutput-filter): Fix verbose message.
6000
6001 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
6002
6003 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
6004 is too long for Tramp. See discussion in
6005 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
6006
6007 * progmodes/compile.el (compilation-start): Remove line escape
6008 template.
6009
6010 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
6011
6012 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
6013 Adjust comment.
6014
6015 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
6016
6017 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
6018 following non-comment text (bug#13207).
6019 (lm-header-multiline): Continuation lines need to be indented more than
6020 the first line.
6021 (lm-homepage): New function.
6022 (lm-with-file): Don't be confused if narrowing is in effect.
6023
6024 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
6025
6026 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
6027 very beginning of a hunk (e.g. killing the first line).
6028
6029 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
6030
6031 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
6032 and text properties from returned ACL string.
6033 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
6034 for "setfacl" command.
6035
6036 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
6037
6038 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
6039 `tramp-cleanup-this-connection', when the process has died.
6040 (Bug#13151)
6041
6042 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
6043
6044 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
6045
6046 2012-12-17 Kevin Ryde <user42@zip.com.au>
6047
6048 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
6049
6050 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
6051
6052 Add support for preserving ACL entries of files.
6053
6054 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
6055 `set-file-acl' handlers.
6056
6057 * net/tramp-adb.el (tramp-adb-handle-copy-file):
6058 Handle PRESERVE-EXTENDED-ATTRIBUTES.
6059
6060 * net/tramp-compat.el (tramp-compat-copy-file):
6061 Handle PRESERVE-EXTENDED-ATTRIBUTES.
6062
6063 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6064 Add `file-acl' and `set-file-acl' handlers.
6065 (tramp-gvfs-handle-copy-file):
6066 Handle PRESERVE-EXTENDED-ATTRIBUTES.
6067 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
6068 New defuns.
6069
6070 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6071 Add `file-acl' and `set-file-acl' handlers.
6072 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
6073 (tramp-sh-handle-set-file-acl): New defuns.
6074 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
6075 Handle PRESERVE-EXTENDED-ATTRIBUTES.
6076
6077 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6078 Add `file-acl' and `set-file-acl' handlers.
6079 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
6080
6081 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6082
6083 * help-macro.el (make-help-screen): Instead of switch-to-buffer
6084 use pop-to-buffer with NORECORD argument t. As buffer name, use
6085 *Metahelp* with a leading space (Bug#13190).
6086
6087 2012-12-16 Romain Francoise <romain@orebokech.com>
6088
6089 * files.el (file-extended-attributes)
6090 (set-file-extended-attributes): New functions.
6091 (backup-buffer): Use them to handle both SELinux context and ACL
6092 entries.
6093 (backup-buffer-copy): Work with an alist of extended attributes,
6094 rather than an SELinux context.
6095 (basic-save-buffer-2): Ditto.
6096
6097 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
6098
6099 * battery.el (battery-bsd-apm): New function.
6100
6101 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
6102
6103 * calc/calc.el (calc-standard-date-formats): Adjust one of the
6104 standard date formats.
6105
6106 2012-12-15 Juri Linkov <juri@jurta.org>
6107
6108 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
6109 `isearch-insert-char-by-name'.
6110 (with-isearch-suspended): New defmacro with body mostly from
6111 `isearch-edit-string' except the part that sets
6112 `isearch-new-string' and `isearch-new-message'.
6113 (isearch-edit-string): Use new macro `with-isearch-suspended' with
6114 body that sets `isearch-new-string' and `isearch-new-message'.
6115 (isearch-insert-char-by-name): New command.
6116 * international/mule-cmds.el (read-char-by-name): Let-bind
6117 `enable-recursive-minibuffers' to t.
6118 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
6119
6120 2012-12-15 Juri Linkov <juri@jurta.org>
6121
6122 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
6123 (Bug#13175)
6124
6125 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
6126
6127 * dired-x.el (dired-guess-shell-command): Put colon at the end of
6128 the prompt. (Bug#13045)
6129
6130 2012-12-14 Glenn Morris <rgm@gnu.org>
6131
6132 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
6133 Try to include filename in non-bytecomp warning. (Bug#13132)
6134
6135 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
6136
6137 Fix permissions bugs with setgid directories etc. (Bug#13125)
6138 * files.el (backup-buffer): Don't rely on 9th output of
6139 file-attributes, as it's now a placeholder. Instead, use the new
6140 optional arg of file-ownership-preserved-p.
6141 (file-ownership-preserved-p): New optional arg GROUP.
6142 Fix mishandling of setuid directories that would cause this
6143 function to return t when it should have returned nil.
6144 Document what happens if the file does not exist, and when
6145 it's not known whether the ownership will be preserved.
6146 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
6147 Likewise.
6148 (tramp-get-local-gid): Use group-gid for integer, as that's
6149 faster and more reliable.
6150
6151 2012-12-14 Julien Danjou <julien@danjou.info>
6152
6153 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
6154 Update keywords list, data type and PL/pgSQL.
6155
6156 2012-12-14 Dave Abrahams <dave@boostpro.com>
6157
6158 * vc/ediff-util.el (ediff-buffer-type): New function.
6159 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
6160 rather than taking it as as argument.
6161 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
6162
6163 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
6164
6165 * json.el: Add pretty-print option (bug#12634).
6166 (json-encoding-separator, json-encoding-default-indentation)
6167 (json--encoding-current-indentation, json-encoding-pretty-print)
6168 (json-encoding-lisp-style-closings): New vars.
6169 (json--with-indentation): New macro.
6170 (json-encode-hash-table, json-encode-alist, json-encode-plist)
6171 (json-encode-array): Use it to obey json-encoding-pretty-print.
6172 (json-pretty-print-buffer, json-pretty-print): New commands.
6173
6174 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
6175
6176 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6177 Extract `ruby-syntax-propertize-expansions'.
6178 (ruby-syntax-propertize-expansions): Only change syntax on
6179 certain string delimiters, to punctuation. This way the common
6180 functions like forward-word and thing-at-point still work.
6181 (ruby-match-expression-expansion): Improve readability.
6182 (ruby-block-contains-point): New function.
6183 (ruby-add-log-current-method): Handle several edge cases.
6184
6185 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
6186
6187 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
6188 unload-feature finishes even when aborting an ongoing edebug session.
6189 Also, do not worry about edebug-mode, unload-feature takes care of it.
6190
6191 2012-12-13 Andreas Schwab <schwab@suse.de>
6192
6193 * net/tls.el (tls-program): Update customize type.
6194
6195 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
6196
6197 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
6198 (edebug-setup-hook, cl-read-load-hooks): Use it.
6199 (edebug-unload-function): New function. (Bug#13163)
6200
6201 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
6202
6203 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
6204 Otherwise, there could be errors in autoloading. (Bug#13151)
6205
6206 2012-12-13 JĂ¼rgen Hötzel <juergen@archlinux.org>
6207
6208 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
6209 sequences.
6210
6211 2012-12-13 Alan Mackenzie <acm@muc.de>
6212
6213 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
6214 * progmodes/cc-engine.el (c-backward-comments): Add code to work
6215 around `forward-comment' not recognizing ^M as whitespace.
6216
6217 2012-12-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6218
6219 * progmodes/python.el (python-skeleton-class)
6220 (python-skeleton-def): Do not add space after defun name.
6221
6222 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6223
6224 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
6225 (cl--symbol-function): Remove (now that funbound is like nil).
6226
6227 2012-12-12 Glenn Morris <rgm@gnu.org>
6228
6229 * button.el (button--area-button-p): Fix typo.
6230
6231 2012-12-12 Sam Steingold <sds@gnu.org>
6232
6233 * frame.el (frame-maximization-style): New user option.
6234 (toggle-frame-maximized): Toggle frame maximization according to
6235 `frame-maximization-style', bound to <f11>.
6236 (cycle-frame-maximized): Cycle between all maximization styles and
6237 non-maximized frame, bound to shift-<f11>.
6238
6239 2012-12-12 David Cadé <codename68@gmail.com>
6240
6241 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
6242
6243 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
6244
6245 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
6246 (eieio-override-prin1): Don't quote kewords and booleans.
6247 (object-write) <eieio-default-superclass>: Don't put closing parens
6248 on new line, avoid needless empty lines, align values that are objects
6249 with the slot keyword (instead of beginning on the same line).
6250 (eieio-list-prin1): Align value with slot keyword; increase
6251 eieio-print-depth before printing members of the list.
6252
6253 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6254
6255 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
6256 a display text-property.
6257 (report-emacs-bug-hook): Don't bother deleting it any more.
6258
6259 * hilit-chg.el (highlight-save-buffer-state): Delete.
6260 Use with-silent-modifications instead.
6261 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
6262
6263 * button.el: Handle buttons in display text-properties.
6264 (button--area-button-p, button--area-button-string):
6265 Use (STRING . STRING-POS) representation instead of just STRING.
6266
6267 2012-12-11 Eli Zaretskii <eliz@gnu.org>
6268
6269 * makefile.w32-in (compile4-SH): Fix a typo that caused term
6270 subdirectory be skipped.
6271
6272 2012-12-11 Glenn Morris <rgm@gnu.org>
6273
6274 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
6275
6276 * progmodes/f90.el (f90-line-continued, f90-indent-region):
6277 Treat preprocessor lines embedded in continuations like comments.
6278 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
6279
6280 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
6281
6282 * calc/calc.el (calc-standard-date-formats): Add more date
6283 formats.
6284 * calc/calc-forms.el (math-parse-iso-date): New function.
6285 (math-parse-date): Use `math-parse-iso-date' when appropriate.
6286 (math-parse-iso-date-validate): Add extra error checking.
6287 (calc-date-notation): Add ability to access new date formats.
6288
6289 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
6290
6291 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
6292 font-lock as well as when there's no text-property.
6293
6294 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
6295
6296 * hi-lock.el: Refine the choice of default face.
6297 (hi-lock-keyword->face): New function. Use it wherever we used
6298 cadadadr instead.
6299 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
6300 (hi-lock--last-face): Remove var.
6301 (hi-lock--unused-faces): New var to replace it.
6302 (hi-lock-read-face-name): Use/maintain it.
6303 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
6304 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
6305 if it has another face.
6306
6307 2012-12-10 Eli Zaretskii <eliz@gnu.org>
6308
6309 * subr.el (w32notify-handle-event): New function.
6310 (inotify-handle-event): Doc fix.
6311
6312 2012-12-10 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
6313
6314 * subr.el (inotify-event-p, inotify-handle-event): New functions.
6315
6316 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6317
6318 * simple.el (just-one-space): Doc fix.
6319
6320 2012-12-10 Eli Zaretskii <eliz@gnu.org>
6321
6322 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
6323
6324 2012-12-10 Le Wang <l26wang@gmail.com>
6325
6326 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
6327 narrowed buffer (bug#12361).
6328
6329 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
6330
6331 * vc/vc-hooks.el (vc-state): Doc fix.
6332
6333 2012-12-10 Glenn Morris <rgm@gnu.org>
6334
6335 * mail/rmail.el (rmail-maybe-display-summary):
6336 Preserve buffer, in case select-window changes it. (Bug#13066)
6337
6338 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
6339
6340 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
6341 cl-load-hook where they belong.
6342
6343 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
6344
6345 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
6346
6347 2012-12-09 Eli Zaretskii <eliz@gnu.org>
6348
6349 Parallelize byte compilation on MS-Windows.
6350 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
6351 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
6352 (WINS_BASIC): Define as concatenation of the above.
6353 (compile): Subdivide into 4 separate and independent jobs that can
6354 be run in parallel.
6355 (compile0-CMD, compile0-SH): New targets for compiling
6356 COMPILE_FIRST files, which are prerequisites for the rest of the
6357 byte-compilation.
6358 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
6359 New targets for parallel compilation with cmd.exe.
6360 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
6361 compiling under a Unixy shell.
6362
6363 2012-12-09 Chong Yidong <cyd@gnu.org>
6364
6365 * simple.el (set-mark-default-inactive): Delete this
6366 accidentally-introduced option.
6367 (set-mark-command, exchange-point-and-mark): Remove calls.
6368
6369 2012-12-09 Glenn Morris <rgm@gnu.org>
6370
6371 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
6372 Respect a defcustom's :set function, if appropriate. (Bug#109)
6373 (eval-defun): Doc fix.
6374
6375 2012-12-08 Juri Linkov <juri@jurta.org>
6376
6377 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
6378 (Info-fontify-node, Info-bookmark-make-record): Remove the
6379 file extension from Info-current-file (Bug#13016).
6380
6381 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
6382
6383 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
6384 point, still provide some default.
6385 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
6386 names, since we don't use it right now. Actually return the list.
6387 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
6388
6389 2012-12-07 Chong Yidong <cyd@gnu.org>
6390
6391 * novice.el (disabled-command-function): Remove a spurious help
6392 xref (Bug#13043). Suggested by Kelly Dean.
6393
6394 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
6395 syntax is specified (Bug#13025).
6396
6397 * info.el (Info-set-mode-line): Remove the file extension from
6398 Info-current-file if there is one (Bug#13016).
6399
6400 2012-12-07 Glenn Morris <rgm@gnu.org>
6401
6402 * mail/rmail.el (rmail-mime-decoded): New permanent local.
6403 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
6404 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
6405 and rmail-mime-decoded. (Bug#9841)
6406
6407 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
6408 (batch-unrmail, unrmail): Doc fixes.
6409 (unrmail): Respect unrmail-mbox-format.
6410 * mail/rmail.el (rmail-mbox-format): New option.
6411 (rmail-show-message-1): Respect rmail-mbox-format.
6412
6413 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
6414
6415 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
6416
6417 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6418
6419 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
6420 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
6421 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
6422 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
6423 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
6424 (cl-progv): Don't rely on dynamic scoping to find the body.
6425 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
6426 (cl--proclaims-deferred): Rename from the "cl-" prefix.
6427 (cl-declaim): Use backquotes.
6428 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
6429 Use "cl--" prefix for the object's tag.
6430
6431 * ses.el: Use advice-add/remove.
6432 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
6433 (copy-region-as-kill, yank): Use advice-add.
6434 (ses-unload-function): Use advice-remove.
6435
6436 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
6437
6438 * button.el: Make them work in header-lines (bug#12817).
6439 (button-map): Add bindings for header-line and mode-line use.
6440 (button-get, button-put, button-label): `button' may now be a string.
6441 (button-activate): Don't make it a defsubst.
6442 (button--area-button-p, button--area-button-string): New functions.
6443 (make-text-button): Fix the return value when `beg' was a string.
6444 (push-button): Handle the mode-line case.
6445
6446 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6447
6448 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
6449 (sql-signum): Remove. Use `cl-signum' instead.
6450 (sql-read-passwd): Remove; use read-passwd instread.
6451 (sql-get-login-ext): Use read-string.
6452 (sql-get-login): Use dolist and pcase.
6453 (sql--completion-table): Rename from sql-try-completion.
6454 Use complete-with-action.
6455 (sql-mode): Don't change abbrev-all-caps globally.
6456 (sql-connect): Don't rely on dynamic scoping for `new-name'.
6457 (sql-postgres-completion-object): Initialize vars in their `let'.
6458 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
6459 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
6460 (sql-comint-interbase): Use a single append, without setq.
6461 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
6462
6463 * hi-lock.el: Rework the default face and the serialize regexp code.
6464 (hi-lock--auto-select-face-defaults): Remove.
6465 (hi-lock-string-serialize-serial): Remove.
6466 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
6467 make weak.
6468 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
6469 equal string.
6470 (hi-lock-set-pattern): Adjust accordingly.
6471 (hi-lock--regexps-at-point): Simplify accordingly.
6472 (hi-lock--auto-select-face-defaults): Remove.
6473 (hi-lock--last-face): New var to replace it.
6474 (hi-lock-read-face-name): Rewrite (bug#11095).
6475 (hi-lock-unface-buffer): Arrange for the face to be the next default.
6476
6477 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
6478
6479 * net/tramp.el (tramp-replace-environment-variables):
6480 Hide compiler warning.
6481 (tramp-file-name-for-operation): Remove `executable-find',
6482 `start-process', `call-process' and `call-process-region'.
6483
6484 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
6485
6486 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
6487 compatibility.
6488
6489 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
6490
6491 2012-12-06 Chong Yidong <cyd@gnu.org>
6492
6493 * ffap.el (ffap-replace-file-component): Fix typo.
6494
6495 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6496
6497 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
6498 fix open-paren-like token test (bug#12785).
6499
6500 2012-12-06 Glenn Morris <rgm@gnu.org>
6501
6502 * mail/rmailsum.el (rmail-new-summary): Tweak for
6503 rmail-maybe-display-summary changing buffer. (Bug#13066)
6504
6505 2012-12-06 Juri Linkov <juri@jurta.org>
6506
6507 * info.el (Info-fontify-node): Don't hide the last newline.
6508 (Bug#12272)
6509
6510 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
6511
6512 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
6513 so as to enable message-read-from-minibuffer to expand mail aliases.
6514
6515 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6516
6517 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
6518 the `intangible' property.
6519 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
6520
6521 2012-12-05 Deniz Dogan <deniz@dogan.se>
6522
6523 * net/rcirc.el (rcirc-urls): Update documentation.
6524 (rcirc-condition-filter): New function.
6525 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
6526 and exclude consecutive duplicate URLs (Bug#6082).
6527
6528 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
6529
6530 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6531 Check return code of copy command.
6532
6533 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
6534 Use group `tramp'. Add version.
6535
6536 2012-12-05 Chong Yidong <cyd@gnu.org>
6537
6538 * ffap.el (ffap-url-regexp): Don't require matching at front of
6539 string (Bug#4952).
6540 (ffap-url-p): If only a substring matches, return that.
6541 (ffap-url-at-point): Use the return value of ffap-url-p.
6542 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
6543 (find-file-at-point, dired-at-point, dired-at-point-prompter)
6544 (ffap-guess-file-name-at-point): Likewise.
6545 (ffap-replace-file-component): Fix typo.
6546
6547 * info.el (info-display-manual): Add existing Info buffers, whose
6548 files may not be in Info-directory-list, to the completion.
6549 (info--manual-names): New helper function.
6550
6551 2012-12-05 Glenn Morris <rgm@gnu.org>
6552
6553 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
6554 New functions, for detecting and resolving conflicts. (Bug#10709)
6555
6556 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
6557
6558 * hi-lock.el (hi-lock-auto-select-face): New user variable.
6559 (hi-lock-auto-select-face-defaults): New buffer local variable.
6560 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
6561 (hi-lock-unface-buffer): Prompt user with useful defaults.
6562 With prefix arg, unhighlight all hi-lock patterns in buffer.
6563
6564 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6565
6566 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
6567
6568 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
6569
6570 * Makefile.in (TRAMP_SRC):
6571 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
6572
6573 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
6574
6575 * net/tramp-adb.el: New package.
6576
6577 2012-12-04 Chong Yidong <cyd@gnu.org>
6578
6579 * terminal.el: Move to obsolete/.
6580
6581 * longlines.el: Move to obsolete/.
6582
6583 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
6584 Remove code referring to longlines mode.
6585
6586 2012-12-03 Juri Linkov <juri@jurta.org>
6587
6588 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
6589
6590 2012-12-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6591
6592 * textmodes/ispell.el (ispell-init-process)
6593 (ispell-start-process, ispell-internal-change-dictionary):
6594 Make sure personal dictionary name is expanded after initial
6595 `default-directory' value. Use expanded strings for
6596 keep/restart checks and for value (Bug#13019).
6597
6598 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
6599
6600 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
6601
6602 2012-12-03 Leo Liu <sdl.web@gmail.com>
6603
6604 * files.el (dir-locals-read-from-file): Check file non-empty
6605 before reading. (Bug#13038)
6606
6607 2012-12-03 Glenn Morris <rgm@gnu.org>
6608
6609 * jka-cmpr-hook.el (jka-compr-get-compression-info):
6610 Remove any version extension before checking filename. (Bug#13006)
6611 (jka-compr-compression-info-list): Belated :version bump.
6612
6613 2012-12-03 Chong Yidong <cyd@gnu.org>
6614
6615 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
6616
6617 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
6618 (buffer-menu): Doc fix (Bug#12294).
6619
6620 2012-12-03 Roland Winkler <winkler@gnu.org>
6621
6622 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
6623 of diary-show-all-entries in the diary buffer (Bug#12994).
6624
6625 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
6626
6627 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
6628 "<STDIN>". This is binary safe.
6629
6630 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
6631
6632 * calc/calc-forms.el (math-absolute-from-iso-dt)
6633 (math-date-to-iso-dt, math-parse-iso-date-validate)
6634 (math-iso-dt-to-date): New functions.
6635 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
6636 (math-fd-isoweekday): New variables.
6637 (calc-date-notation, math-parse-standard-date, math-format-date)
6638 (math-format-date-part): Add support for more formatting codes.
6639
6640 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
6641
6642 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
6643 current buffer's file name when called interactively (Bug#12488).
6644
6645 2012-12-02 Juri Linkov <juri@jurta.org>
6646
6647 * info.el (info-display-manual): Don't clobber an existing Info
6648 buffer (Bug#10770). Add completion (Bug#10771).
6649
6650 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
6651
6652 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
6653 before using it for comparison (Bug#5297).
6654
6655 2012-12-01 Jari Aalto <jari.aalto@cante.net>
6656
6657 * textmodes/css-mode.el (css-current-defun-name): New function.
6658 (css-mode): Use it.
6659
6660 * textmodes/sgml-mode.el (html-current-defun-name): New function.
6661 (html-mode): Use it.
6662
6663 2012-12-01 Chong Yidong <cyd@gnu.org>
6664
6665 Modularize add-log-current-defun (Bug#2224).
6666 Suggested by Jari Aalto.
6667
6668 * vc/add-log.el (add-log-current-defun-function): Doc fix.
6669 (add-log-current-defun): Move mode-specific code to other files.
6670 (add-log-lisp-like-modes, add-log-c-like-modes)
6671 (add-log-tex-like-modes): Variables deleted.
6672
6673 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
6674 (lisp-mode-variables): Use it.
6675
6676 * progmodes/cc-mode.el (c-common-init):
6677 * progmodes/cperl-mode.el (cperl-mode): Set a value for
6678 add-log-current-defun-function.
6679
6680 * progmodes/m4-mode.el (m4-current-defun-name): New function.
6681 (m4-mode): Use it.
6682
6683 * progmodes/perl-mode.el (perl-current-defun-name): New.
6684 (perl-mode): Use it.
6685
6686 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
6687 Use lisp-current-defun-name.
6688
6689 * textmodes/tex-mode.el (tex-current-defun-name): New.
6690 (tex-common-initialization): Use it.
6691
6692 * textmodes/texinfo.el (texinfo-current-defun-name): New.
6693 (texinfo-mode): Use it.
6694
6695 2012-12-01 Chong Yidong <cyd@gnu.org>
6696
6697 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
6698 * progmodes/autoconf.el (autoconf-mode):
6699 * progmodes/js.el (js-mode):
6700 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
6701 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
6702 * progmodes/perl-mode.el (perl-mode):
6703 * progmodes/sh-script.el (sh-mode, sh-set-shell):
6704 * textmodes/css-mode.el (css-mode):
6705 * textmodes/sgml-mode.el (html-mode, sgml-mode)
6706 (sgml-tags-invisible, sgml-guess-indent):
6707 * textmodes/tex-mode.el (tex-common-initialization)
6708 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
6709 (doctex-mode, plain-tex-mode, latex-mode):
6710 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
6711
6712 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
6713
6714 * vc/vc-hg.el (vc-hg-next-revision):
6715 Ensure use of default "tip" output format. (Bug#6968)
6716
6717 2012-12-01 Kim F. Storm <storm@cua.dk>
6718
6719 * startup.el (fancy-startup-tail): Add a clickable link
6720 (Bug#2176).
6721
6722 2012-12-01 Chong Yidong <cyd@gnu.org>
6723
6724 * startup.el (fancy-startup-tail): Improve the message about
6725 auto-save files (Bug#2176).
6726
6727 * files.el (recover-session): Improve the descriptive message, and
6728 use substitute-command-keys.
6729
6730 2012-12-01 Glenn Morris <rgm@gnu.org>
6731
6732 * ido.el (ido-file-internal):
6733 Handle other-window, other-frame for dired. (Bug#13036)
6734
6735 2012-11-30 Glenn Morris <rgm@gnu.org>
6736
6737 * icomplete.el (icomplete-separator): Fix :version.
6738
6739 2012-11-30 Chong Yidong <cyd@gnu.org>
6740
6741 * shell.el (shell): For C-u M-x shell, use an inactive shell
6742 buffer as the default (Bug#1975).
6743 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
6744 (shell-mode): Use them to reapply ansi colorization if Shell mode
6745 is re-enabled.
6746
6747 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
6748
6749 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
6750
6751 2012-11-30 Samuel Bronson <naesten@gmail.com>
6752
6753 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
6754 flag to xargs, for compatibility with BSD xargs (Bug#11703).
6755
6756 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6757
6758 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
6759 by move-to-column (Bug#3234).
6760
6761 2012-11-30 Chong Yidong <cyd@gnu.org>
6762
6763 * longlines.el (longlines-wrap-line, longlines-encode-region):
6764 Preserve text properties (Bug#1425).
6765
6766 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6767
6768 * vc/vc.el (vc-register): Allow registering a file which is
6769 already registered with a different backend (Bug#10589).
6770
6771 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
6772 Stefan Monnier <monnier@iro.umontreal.ca>
6773
6774 * icomplete.el: Change separator; add ido-style commands.
6775 (icomplete-show-key-bindings): Remove custom var.
6776 (icomplete-get-keys): Remove function.
6777 (icomplete-forward-completions, icomplete-backward-completions):
6778 New commands.
6779 (icomplete-minibuffer-map): New var.
6780 (icomplete-minibuffer-setup): Use it.
6781 (icomplete-exhibit): Don't delay if the list of completions is known.
6782 (icomplete-separator): New custom.
6783 (icomplete-completions): Use it.
6784 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
6785 (minibuffer-force-complete-and-exit): New command.
6786 (minibuffer--complete-and-exit): New function extracted from
6787 minibuffer-complete-and-exit.
6788 (minibuffer-complete-and-exit): Use it.
6789
6790 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
6791 error message when the file doesn't exist (bug#12974).
6792
6793 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6794
6795 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
6796
6797 2012-11-29 Glenn Morris <rgm@gnu.org>
6798
6799 * files.el (hack-dir-local-variables): Warn if try to set
6800 coding via dir-locals, since it doesn't work. (Bug#7169)
6801
6802 Add desktop support for restoring vc-dir buffers. (Bug#10606)
6803 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
6804 Set buffer-local value of desktop-save-buffer.
6805 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
6806 New functions.
6807 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
6808 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
6809
6810 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
6811 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
6812 Doc fix.
6813 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
6814 Doc fixes.
6815
6816 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
6817
6818 * calc/calc-forms.el (calc-date-notation): Fix regexp
6819 used to find time codes. Fix symbol for seconds.
6820
6821 2012-11-27 Glenn Morris <rgm@gnu.org>
6822
6823 * emacs-lisp/derived.el (derived-mode-make-docstring):
6824 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
6825
6826 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6827
6828 * textmodes/table.el (table-insert): Don't use `symbol-name' on
6829 lexically scoped variables (bug#13005).
6830
6831 2012-11-27 Glenn Morris <rgm@gnu.org>
6832
6833 * vc/vc-hooks.el (vc-mistrust-permissions):
6834 Default to t, to avoid data-loss. (Bug#11490)
6835
6836 2012-11-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6837
6838 * progmodes/python.el (python-indent-guess-indent-offset):
6839 If indentation is guessed make python-indent-offset buffer-local.
6840
6841 Fix Imenu regression.
6842 * progmodes/python.el (python-nav-beginning-of-defun):
6843 Fix forward movement when statement(s) separates point from defun.
6844 (python-imenu-prev-index-position): New function.
6845
6846 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6847
6848 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
6849
6850 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
6851 Don't set buffer-file-type. Return nil. (Bug#12989)
6852
6853 2012-11-27 Glenn Morris <rgm@gnu.org>
6854
6855 * hippie-exp.el (hippie-expand-try-functions-list):
6856 Re-autoload it. (Bug#12982)
6857
6858 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6859
6860 * descr-text.el (describe-char-padded-string):
6861 Call internal-char-font only on GUI frames. (Bug#11964)
6862
6863 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
6864
6865 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
6866 and obsoletion message.
6867
6868 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6869
6870 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
6871 the constructs to keep outside of the `cl-block' (bug#12977).
6872
6873 2012-11-27 Chong Yidong <cyd@gnu.org>
6874
6875 * mouse.el (mouse-drag-line): Even if the line is not draggable,
6876 keep reading until we get the up-event anyway, in order to process
6877 the up-event for mouse-1-click-follows-link (Bug#12971).
6878
6879 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
6880
6881 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
6882 base function is not yet defined (bug#12965).
6883 (ad-activate-advised-definition): Use ad-compile-function.
6884 (ad-activate): Use cond.
6885
6886 2012-11-25 Leo Liu <sdl.web@gmail.com>
6887
6888 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
6889 (Bug#12979)
6890
6891 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6892
6893 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
6894 reftex-section-info-function in order to be compatible with
6895 Texinfo integration.
6896
6897 * textmodes/reftex.el (reftex-section-pre-regexp)
6898 (reftex-section-post-regexp, reftex-section-info-function):
6899 New variable.
6900 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
6901 reftex-section-post-regexp, and reftex-section-info-function in order
6902 to be compatible with Texinfo integration.
6903
6904 * textmodes/reftex-toc.el (reftex-toc-promote-action):
6905 use reftex-section-pre-regexp variable in order to be compatible with
6906 Texinfo integration.
6907
6908 2012-11-25 Chong Yidong <cyd@gnu.org>
6909
6910 * faces.el: Make face-spec-set more analogous to setq.
6911 (face-spec-set): Change the third arg to specify whether this
6912 function is being called via defface, customize, or a third party.
6913 Set the appropriate symbol properties. Clear the override spec if
6914 setting via Custom. Initialize face if necessary. (Bug#4988)
6915 (face-spec-recalc): Allow theme faces to completely replace the
6916 defface spec, in the same way as custom faces (Bug#8454).
6917
6918 * cus-face.el (custom-declare-face): Move face initialization to
6919 face-spec-set.
6920 (custom-theme-set-faces): Don't initialize the face name here, as
6921 that is now done in face-spec-set.
6922
6923 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
6924 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
6925 Simplify by using the new arg to face-spec-set.
6926
6927 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
6928 reset face-override-spec too, and use custom-declare-face.
6929
6930 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
6931
6932 * term/ns-win.el (ns-initialize-window-system): Move creation of
6933 fontsets here (Bug#11964).
6934
6935 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6936
6937 * ses.el (ses-rename-cell): Correct bug on mode-line update after
6938 cell renaming.
6939
6940 2012-11-24 Chong Yidong <cyd@gnu.org>
6941
6942 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
6943 obsolete.
6944
6945 * custom.el (custom-theme-set-variables): Use a topological sort
6946 for ordering by custom dependencies (Bug#12952).
6947 (custom--sort-vars, custom--sort-vars-1): New functions.
6948
6949 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
6950
6951 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
6952 lexical-binding (bug#12938).
6953
6954 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
6955
6956 * image-mode.el (image-transform-check-size): Use assertions only
6957 for images of type imagemagick.
6958
6959 Otherwise no error, image-transform-fit-to-{width,height} is
6960 silently ignored, as before. Doc fix.
6961
6962 2012-11-24 Chong Yidong <cyd@gnu.org>
6963
6964 * faces.el (color-defined-p): Doc fix (Bug#12853).
6965
6966 2012-11-24 Juri Linkov <juri@jurta.org>
6967
6968 * dired.el (dired-mark): Add optional arg `interactive'.
6969 Check for `use-region-p' if `interactive' is non-nil.
6970 (dired-unmark, dired-flag-file-deletion): Add optional arg
6971 `interactive'. Call `dired-mark' with the arg `interactive'.
6972 (Bug#10624)
6973
6974 * wdired.el: Revert 2012-10-17 change partly and replace it with
6975 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
6976 (wdired-finish-edit): Add marks for new file names to
6977 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
6978 after `revert-buffer'.
6979 (wdired-do-renames): Remove calls to `dired-remove-file',
6980 `dired-add-file', `dired-add-entry'. (Bug#11795)
6981
6982 2012-11-24 Alan Mackenzie <acm@muc.de>
6983
6984 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
6985
6986 Fix bugs in the state cache. Enhance a debugging mechanism.
6987 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
6988 "brace at column zero" strategy for C++.
6989 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
6990 (c-parse-state-point): New variable.
6991 (c-record-parse-state-state): Record old parse state with
6992 `copy-tree'. Record previous value of point.
6993 (c-debug-parse-state-double-cons): New debugging function.
6994 (c-debug-parse-state): Call the above new function.
6995 (c-toggle-parse-state-debug): Output a confirmatory message.
6996
6997 * progmodes/cc-mode.el (c-before-change, c-after-change):
6998 Call c-invalidate-state-cache from `c-before-change' instead of
6999 `c-after-change'.
7000
7001 2012-11-23 Chong Yidong <cyd@gnu.org>
7002
7003 * find-cmd.el (find-constituents): Add executable, ipath,
7004 readable, samefile, writable, daystart, regextype (Bug#12856).
7005
7006 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
7007
7008 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
7009
7010 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
7011
7012 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
7013 definition. This fixes a bootstrap failure.
7014 (calc-gregorian-switch): In menu, put dates before regions.
7015 This is easier to follow, lines up better in the menu, and lets us
7016 coalesce regions that switch at the same time. Give country
7017 names, not "Vatican", as that's better for non-expert users.
7018 Use names that are stable between the date of switch and now, e.g.,
7019 Bohemia and Moravia (which existed then and now) and not
7020 Czechoslovakia (which didn't exist then and doesn't exist now).
7021 What is now the U.S. mostly did not switch at the same time as
7022 Britain, so omit the U.S. Correct spelling of "Britain".
7023 Catholic Switzerland was too much of a mess, so omit it.
7024
7025 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
7026
7027 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
7028 after the variable is changed.
7029
7030 2012-11-21 Daniel Colascione <dancol@dancol.org>
7031
7032 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
7033 in SQL declarations for font-lock.
7034 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
7035
7036 2012-11-21 Glenn Morris <rgm@gnu.org>
7037
7038 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
7039 (face-italic-p): Add optional argument "inherit".
7040
7041 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
7042 Remove -p suffix from names, for consistency with other set-face-*.
7043 (set-face-inverse-video): Fix interactive spec.
7044 * play/gamegrid.el (gamegrid-make-mono-tty-face):
7045 * textmodes/table.el (table--update-cell-face):
7046 Use set-face-inverse-video rather than now obsolete alias.
7047
7048 2012-11-21 Eli Zaretskii <eliz@gnu.org>
7049
7050 * simple.el (line-move): Don't call line-move-partial if
7051 scroll-conservatively is in effect. (Bug#12927)
7052
7053 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7054
7055 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
7056 Fallback on completion-at-point rather than
7057 pcomplete-expand-and-complete, and only if pcomplete actually failed.
7058 (eshell-cmpl-initialize): Setup completion-at-point.
7059
7060 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
7061
7062 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
7063
7064 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
7065
7066 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
7067 are remote, check out-of-band property for both.
7068
7069 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7070
7071 * window.el (switch-to-buffer): Re-add the warning that was lost in the
7072 code rewrite.
7073
7074 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
7075
7076 More minor time fixes.
7077 * calendar/time-date.el: Commentary fix.
7078 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
7079 too much other code depends on (0 0) time stamps.
7080 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
7081 Add a couple of FIXME comments.
7082
7083 Minor cleanup for times as lists of four integers.
7084 * files.el (dir-locals-directory-cache):
7085 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
7086 Doc fixes.
7087 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
7088 * ps-bdf.el (bdf-file-newer-than-time):
7089 Process four-integers time stamps, not two. Doc fixes.
7090
7091 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7092
7093 * uniquify.el (uniquify-managed): Use defvar-local.
7094 (rename-buffer, create-file-buffer): Advise with advice-add.
7095 (uniquify-unload-function): Unadvise accordingly.
7096
7097 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
7098 (trace-buffer): Don't purecopy.
7099 (trace-entry-message, trace-exit-message): Add `context' arg.
7100 (trace--timer): New var.
7101 (trace-make-advice): Adjust for use in nadvice.
7102 Add `context' argument. Delay `display-buffer' via a timer.
7103 (trace-function-internal): Use advice-add.
7104 (trace--read-args): New function.
7105 (trace-function-foreground, trace-function-background): Use it.
7106 (trace-function): Rename to trace-function-foreground and redefine as
7107 an alias to that new name.
7108 (untrace-function, untrace-all): Adjust to the use of nadvice.
7109
7110 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
7111
7112 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
7113
7114 * subr.el (called-interactively-p-functions): New var.
7115 (internal--called-interactively-p--get-frame): New macro.
7116 (called-interactively-p, interactive-p): Rewrite in Lisp.
7117 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
7118 (called-interactively-p-functions): Use it.
7119 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
7120 (called-interactively-p-functions): Use it.
7121 * allout.el (allout-called-interactively-p): Don't assume
7122 called-interactively-p is a subr.
7123
7124 2012-11-20 Glenn Morris <rgm@gnu.org>
7125
7126 * profiler.el (profiler-report-mode-map): Add a menu.
7127 No need to bind `q' because we derive from special-mode.
7128 (profiler-report-find-entry): Handle calls from the menu-bar.
7129
7130 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
7131
7132 * emacs-lisp/byte-run.el (defun-declarations-alist):
7133 Allow a compiler-macro to be a lambda expression.
7134
7135 * progmodes/python.el: Use cl-lib. Move var declarations outside of
7136 eval-when-compile.
7137 (python-syntax-context): Add compiler-macro.
7138 (python-font-lock-keywords): Simplify with De Morgan.
7139
7140 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
7141
7142 * files.el (load-file): Require match in minibuffer selection, as was
7143 the case in Emacs-20 before we changed the spec to allow .elc files
7144 (bug#12935).
7145
7146 * json.el: Don't require cl since we don't use it.
7147 * color.el: Don't require cl.
7148 (color-complement): `caddr' -> `nth 2'.
7149
7150 * calendar/time-date.el (time-to-seconds): De-obsolete.
7151
7152 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
7153
7154 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
7155 year numbers.
7156 (math-date-to-julian-dt): Adjust the initial approximation for the
7157 year to deal with the new definition of the DATE.
7158
7159 2012-11-19 Daniel Colascione <dancol@dancol.org>
7160
7161 * term/w32-win.el (cygwin-convert-path-from-windows):
7162 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
7163
7164 2012-11-18 Chong Yidong <cyd@gnu.org>
7165
7166 * filecache.el (file-cache--read-list): New function.
7167 (file-cache-add-directory-list, file-cache-add-file-list)
7168 (file-cache-delete-file-list, file-cache-delete-directory-list):
7169 Use it to read a list of files or directories (Bug#12846).
7170 (file-cache-add-file, file-cache-add-directory)
7171 (file-cache-delete-file-list, file-cache-delete-file-regexp)
7172 (file-cache-delete-directory): Print an message.
7173
7174 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
7175
7176 * calc/calc-forms.el (math-date-to-dt): Use integer date when
7177 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
7178
7179 2012-11-18 Glenn Morris <rgm@gnu.org>
7180
7181 * image.el (insert-image, insert-sliced-image): Doc fix.
7182
7183 2012-11-18 Chong Yidong <cyd@gnu.org>
7184
7185 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
7186 (Bug#12810).
7187
7188 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7189
7190 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
7191 response when the target file is in a subdirectory (Bug#12757).
7192
7193 2012-11-18 Chong Yidong <cyd@gnu.org>
7194
7195 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
7196
7197 2012-11-18 Glenn Morris <rgm@gnu.org>
7198
7199 * emacs-lisp/cl-lib.el (face-underline-p):
7200 Use set-face-underline rather than the alias set-face-underline-p.
7201
7202 * window.el (with-temp-buffer-window): Doc fix.
7203 * subr.el (with-output-to-temp-buffer):
7204 Add doc xref to with-temp-buffer-window.
7205
7206 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
7207
7208 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
7209 * calc/calc.el (math-format-date-cache): Declare.
7210
7211 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
7212
7213 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
7214 It also uses January 1, 1 AD as its day number 1.
7215 * calc/calc-forms.el (math-julian-date-beginning)
7216 (math-julian-date-beginning-int): Implement this.
7217
7218 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
7219
7220 * descr-text.el (quail-find-key):
7221 * dired.el (desktop-file-name):
7222 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
7223 * generic-x.el (comint-mode, comint-exec):
7224 * image-dired.el (widget-forward):
7225 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
7226 (speedbar-change-expand-button-char)
7227 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
7228 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
7229 * printing.el (easy-menu-add-item, easy-menu-remove-item)
7230 (widget-field-action, widget-value-set):
7231 * speedbar.el (imenu--make-index-alist):
7232 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
7233 (ring-length, ring-insert):
7234 * vcursor.el (compare-windows-skip-whitespace):
7235 * woman.el (dired-get-filename):
7236 Declare functions.
7237
7238 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
7239
7240 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7241
7242 * calc/calc.el (calc-gregorian-switch): New variable.
7243
7244 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
7245 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
7246 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
7247 (math-leap-year-p): Add option to distinguish between Julian
7248 and Gregorian calendars.
7249 (math-day-number): Use `math-day-in-year' to do the computations.
7250 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
7251 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
7252 to do the computations.
7253 (math-date-to-dt): Use `math-date-to-julian-dt' and
7254 `math-date-to-gregorian-dt' to do the computations.
7255 (calcFunc-weekday, math-format-date-part): Use the new version of
7256 the DATE to determine the weekday.
7257 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
7258 when necessary.
7259
7260 2012-11-17 Eli Zaretskii <eliz@gnu.org>
7261
7262 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
7263 Cygwin; otherwise use 'file:'. (Bug#12914)
7264 (cygwin-convert-path-from-windows): Declare, to avoid
7265 byte-compiler warnings.
7266
7267 2012-11-17 Andreas Politz <politza@fh-trier.de>
7268
7269 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
7270 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
7271 prefix and negative numeric prefix args (Bug#12795).
7272
7273 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
7274
7275 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
7276 Don't signal an error with a score that is too low to add to the
7277 list of top scores. (Bug#12779)
7278
7279 2012-11-17 Chong Yidong <cyd@gnu.org>
7280
7281 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
7282
7283 * filecache.el (file-cache-add-file): Handle relative file name in
7284 the argument (Bug#12694).
7285
7286 2012-11-16 JĂ¼rgen Hötzel <juergen@archlinux.org> (tiny change)
7287
7288 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
7289
7290 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7291
7292 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
7293
7294 * emacs-lisp/cl-lib.el: Set more meaningful version number.
7295
7296 2012-11-16 Martin Rudalics <rudalics@gmx.at>
7297
7298 * window.el (enlarge-window, shrink-window): Don't mention return
7299 value in doc-string (Bug#12896).
7300 (window--display-buffer): Don't resize frames - it won't work
7301 with all window managers and defeat pop-up-frame-alist.
7302 (display-buffer-alist): In doc-string explain that CONDITION can
7303 be a function and which arguments are passed to it (Bug#12854).
7304 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
7305 expressions (Bug#12854).
7306 (display-buffer): Pass ACTION argument to
7307 display-buffer-assq-regexp.
7308
7309 2012-11-16 Glenn Morris <rgm@gnu.org>
7310
7311 * window.el (fit-frame-to-buffer-bottom-margin)
7312 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
7313
7314 * faces.el (face-underline-p): Use face-attribute-specified-or.
7315
7316 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
7317
7318 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
7319
7320 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7321
7322 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
7323
7324 2012-11-16 Glenn Morris <rgm@gnu.org>
7325
7326 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
7327 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
7328
7329 * faces.el (face-underline-p): Doc fix. Handle :underline being
7330 things other than `t' (a string, a list).
7331 (face-inverse-video-p): Doc fix.
7332 (set-face-underline): Rename it back from set-face-underline-p.
7333 Doc fix. Allow interactive input of values other than t.
7334 (read-face-attribute): Apply formatting to :underline,
7335 since like :box and :stipple it can take list values.
7336
7337 * term.el (ansi-term): Don't let C-x escape-char binding
7338 clobber the more standard C-c binding. (Bug#12842)
7339
7340 * subr.el (set-temporary-overlay-map): Doc fix.
7341
7342 2012-11-16 Martin Rudalics <rudalics@gmx.at>
7343
7344 * window.el (record-window-buffer)
7345 (display-buffer-record-window): When copying the markers to
7346 window-point preserve window-point-insertion-type. (Bug#12588)
7347
7348 2012-11-16 Glenn Morris <rgm@gnu.org>
7349
7350 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
7351 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
7352 Use new names for hooks rather than obsolete aliases.
7353
7354 2012-11-15 Daniel Colascione <dancol@dancol.org>
7355
7356 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
7357 prefix instead of "file:" so that when FILE-NAME begins with "//",
7358 as it does when the target file is on a network share, url-handler
7359 isn't confused.
7360
7361 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
7362
7363 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
7364 a preactivated advice from an old advice.el; they're not compatible!
7365
7366 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
7367
7368 * emacs-lisp/nadvice.el (advice--make-interactive-form):
7369 Fix string-spec case.
7370
7371 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
7372
7373 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
7374
7375 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
7376 (advice--buffer-local-function-sample): New var.
7377 (advice--set-buffer-local, advice--buffer-local): New functions.
7378 (add-function, remove-function): Use them.
7379
7380 2012-11-15 Drew Adams <drew.adams@oracle.com>
7381
7382 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
7383
7384 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
7385
7386 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
7387 potential binding of print-gensym to t, and prettify (back)quotes in
7388 case they appear in args's default values (bug#12884).
7389
7390 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7391
7392 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
7393 (advice-eval-interactive-spec): New function.
7394 (advice--make-interactive-form): Support around advice (bug#12844).
7395
7396 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
7397
7398 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
7399 more strict. Add docstring.
7400 (ruby-expression-expansion-re): Extract from
7401 `ruby-match-expression-expansion'.
7402 (ruby-syntax-propertize-function): After everything else, search
7403 for expansions in string literals, mark their insides as
7404 whitespace syntax and save match data for font-lock.
7405 (ruby-font-lock-keywords): Use the 2nd group from expression
7406 expansion matches.
7407 (ruby-match-expression-expansion): Use the match data saved to the
7408 text property in ruby-syntax-propertize-function.
7409
7410 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7411
7412 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
7413 (bug#12879).
7414
7415 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7416
7417 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
7418 start/end keyword a bit harder. Works with different values of N.
7419 Add more comments.
7420 (ruby-end-of-block): Update accordingly.
7421
7422 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
7423
7424 * woman.el (woman-file-name): Don't mess with unread-command-events
7425 (bug#12861).
7426
7427 * emacs-lisp/advice.el: Layer on top of nadvice.el.
7428 Remove out of date self-require hack.
7429 (ad-do-advised-functions): Use simple `dolist'.
7430 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
7431 (ad-advice-definition): Redefine as functions.
7432 (ad-advice-classes): Move before first use.
7433 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
7434 (ad-make-mapped-call, ad-make-advised-docstring)
7435 (ad-make-plain-docstring, ad--defalias-fset): Remove functions.
7436 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
7437 (ad-get-orig-definition): Rewrite.
7438 (ad-make-advised-definition-docstring): Change base docstring.
7439 (ad-real-orig-definition): Rewrite.
7440 (ad-map-arglists): Change name of called function.
7441 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
7442 (ad-make-advised-definition): Simplify.
7443 (ad-assemble-advised-definition): Tweak for new calling context.
7444 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
7445 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
7446 function and call ad-activate if needed.
7447 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
7448 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
7449 (ad-compile-function): Compile ad-Advice-*.
7450 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
7451 (ad-start-advice, ad-stop-advice): Remove.
7452
7453 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7454
7455 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
7456 period before class method names, not after. Remove handling of
7457 one impossible case. Add comments.
7458
7459 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
7460
7461 * emacs-lisp/advice.el: Remove support for freezing.
7462 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
7463 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
7464 Remove support for `freeze'.
7465
7466 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
7467 override the default.
7468 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
7469 cl--dotimes/dolist.
7470 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
7471 `cl' is loaded.
7472
7473 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
7474 from add-advice.
7475 (advice--strip-macro): New function.
7476 (advice--defalias-fset): Use them to handle macros.
7477 (advice-add): Use them.
7478 (advice-member-p): Correctly handle macros.
7479
7480 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7481
7482 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7483 Never font-lock the beginning of singleton class as heredoc.
7484
7485 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
7486
7487 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
7488
7489 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
7490
7491 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
7492 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
7493 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
7494
7495 2012-11-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7496
7497 Fix end-of-defun misbehavior.
7498 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
7499 python-beginning-of-defun-function. Handle nested defuns
7500 correctly.
7501 (python-nav-end-of-defun): Rename from
7502 python-end-of-defun-function. Ensure forward movement.
7503 (python-info-current-defun): Reimplement to work as intended
7504 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
7505 parent defuns as soon as possible.
7506
7507 2012-11-13 Glenn Morris <rgm@gnu.org>
7508
7509 * progmodes/flymake.el (flymake-error-bitmap)
7510 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
7511 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
7512
7513 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
7514
7515 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
7516 backward, always stop at indentation. Reverts the change from
7517 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
7518
7519 2012-11-13 Glenn Morris <rgm@gnu.org>
7520
7521 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
7522 Add ibuffer-filter-by-derived-mode.
7523
7524 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
7525 the same name shadowing each other.
7526
7527 * window.el (with-temp-buffer-window): Doc tweak.
7528
7529 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
7530
7531 * help.el (temp-buffer-max-height):
7532 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
7533 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
7534
7535 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
7536
7537 * emacs-lisp/nadvice.el: New package.
7538 * subr.el (special-form-p): New function.
7539 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
7540 (elp-all-instrumented-list): Remove var.
7541 (elp-not-profilable): Remove elp-wrapper.
7542 (elp-profilable-p): Use autoloadp and special-form-p.
7543 (elp--advice-name): New const.
7544 (elp-instrument-function): Use advice-add.
7545 (elp--instrumented-p): New predicate.
7546 (elp-restore-function): Use advice-remove.
7547 (elp-restore-all, elp-reset-all): Use mapatoms.
7548 (elp-set-master): Use elp--instrumented-p.
7549 (elp--make-wrapper): Rename from elp-wrapper, return a function
7550 suitable for advice-add. Use cl-inf.
7551 (elp-results): Use mapatoms+elp--instrumented-p.
7552 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
7553 (debug-function-list): Remove var.
7554 (debug): Rename arg, and then let-bind it explicitly inside.
7555 (debugger-setup-buffer): Rename arg.
7556 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
7557 (debugger-frame-number): Adjust to new debug-on-entry setup.
7558 (debug--implement-debug-on-entry): Rename from
7559 implement-debug-on-entry, add argument.
7560 (debugger-special-form-p): Remove, use special-form-p instead.
7561 (debug-on-entry): Use advice-add.
7562 (debug--function-list): New function.
7563 (cancel-debug-on-entry): Use it, along with advice-remove.
7564 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
7565 (debugger-list-functions): Use debug--function-list instead of
7566 debug-function-list.
7567 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
7568 (ad-special-form-p): Remove, use special-form-p instead.
7569 (ad-set-advice-info): Use add-function and remove-function.
7570 (ad--defalias-fset): Adjust accordingly.
7571
7572 2012-11-10 Glenn Morris <rgm@gnu.org>
7573
7574 * mail/emacsbug.el (report-emacs-bug-tracker-url)
7575 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
7576 (report-emacs-bug-create-existing-bugs-buffer)
7577 (report-emacs-bug-parse-query-results)
7578 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
7579
7580 * term.el (term-default-fg-color, term-default-bg-color):
7581 Make obsolete, rather than just saying "deprecated" in the doc.
7582
7583 * term.el (term): Rename from `term-face'.
7584 (term-current-face, ansi-term-color-vector)
7585 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
7586 Update all users.
7587
7588 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
7589
7590 * server.el (server-create-window-system-frame): Handle Nextstep
7591 specially (Bug#12780).
7592
7593 2012-11-10 Glenn Morris <rgm@gnu.org>
7594
7595 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
7596 Unautoload, and make obsolete. (Bug#7449)
7597
7598 2012-11-10 Chong Yidong <cyd@gnu.org>
7599
7600 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
7601 rename from diff-remove-trailing-whitespace (Bug#12831).
7602
7603 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7604
7605 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
7606 miscompilation of trace.el.
7607
7608 2012-11-10 Glenn Morris <rgm@gnu.org>
7609
7610 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
7611
7612 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7613
7614 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
7615 (bug#12812).
7616
7617 2012-11-10 Chong Yidong <cyd@gnu.org>
7618
7619 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
7620 a defcustom with an appropriate :set function.
7621 (minibuffer-default--in-prompt-regexps): New function.
7622
7623 2012-11-10 Glenn Morris <rgm@gnu.org>
7624
7625 * emacs-lisp/cl.el (define-setf-expander, defsetf)
7626 (define-modify-macro): Doc fixes.
7627
7628 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
7629 (gv-define-simple-setter): Update doc of `fix-return'.
7630
7631 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7632
7633 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
7634 twice when `fix-return' is set (bug#12813).
7635
7636 * emacs-lisp/cl.el (defsetf): Pass the third arg to
7637 gv-define-simple-setter (bug#12812).
7638
7639 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
7640 (bug#12756).
7641
7642 2012-11-10 Glenn Morris <rgm@gnu.org>
7643
7644 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
7645
7646 * emacs-lisp/cl-extra.el (cl-prettyexpand):
7647 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
7648 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
7649 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
7650
7651 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
7652
7653 2012-11-10 Leo Liu <sdl.web@gmail.com>
7654
7655 * ido.el (ido-set-matches-1): Improve flex matching performance by
7656 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
7657
7658 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7659
7660 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
7661 (ad--defalias-fset): New function.
7662 (ad-safe-fset): Remove.
7663 (ad-make-freeze-definition): Use cl-letf*.
7664
7665 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7666
7667 * subr.el (dolist): Don't bind VAR in RESULT.
7668
7669 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
7670 (fset, documentation): Don't save real def since we don't advise.
7671 (ad-do-advised-functions): Remove problematic `result-form'.
7672 (ad-safe-fset): `ad-real-fset' => `fset'.
7673 (ad-read-advised-function): Don't assume that ad-do-advised-functions
7674 uses CL's dolist internally.
7675 (ad-arglist): Remove unused arg `name'.
7676 (ad-docstring, ad-make-advised-docstring):
7677 `ad-real-documentation' => `documentation'.
7678 (warning-suppress-types): Declare.
7679 (ad-set-arguments): Simple CSE.
7680 (ad-recover-normality): Sanity check.
7681
7682 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
7683 (funcall '(lambda ..) ..) into ((lambda ..) ..).
7684
7685 2012-11-09 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
7686
7687 * ses.el: Symbol to coordinate mapping is made by symbol property
7688 `ses-cell'. This means that the same mapping is done for all SES
7689 sheets. That is good enough for cells with standard A1 names, but
7690 not for named cell. So a hash map is added for the latter.
7691 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
7692 (ses-sym-rowcol): Use hashmap for named cell.
7693 (ses-is-cell-sym-p): New defun.
7694 (ses-decode-cell-symbol): New defun.
7695 (ses-create-cell-variable): Add cell to hashmap when name is not
7696 A1-like.
7697 (ses-rename-cell): Check that cell new name is not already in
7698 spreadsheet with the use of ses-is-cell-sym-p
7699 (ses-rename-cell): Use hash map for named cells, but accept also
7700 renaming back to A1-like.
7701
7702 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7703
7704 * emacs-lisp/advice.el: Use new dynamic docstrings.
7705 (ad-make-advised-definition-docstring, ad-advised-definition-p):
7706 Use dynamic-docstring-function instead of ad-advice-info.
7707 (ad--make-advised-docstring): New function extracted from
7708 ad-make-advised-docstring.
7709 (ad-make-advised-docstring): Use it.
7710 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
7711 from sql-help.
7712 (sql-help): Use it with dynamic-docstring-function.
7713
7714 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
7715
7716 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7717
7718 * files.el (hack-one-local-variable--obsolete): New function.
7719 (hack-one-local-variable): Use it for obsolete settings.
7720
7721 * subr.el (locate-user-emacs-file): If both old and new name exist, use
7722 the new name.
7723
7724 * progmodes/js.el (js--filling-paragraph): New var.
7725 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
7726 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
7727 less sneaky.
7728
7729 2012-11-08 Julien Danjou <julien@danjou.info>
7730
7731 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
7732 `auto-mode-alist' (Bug#12835).
7733
7734 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7735
7736 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
7737 (perl--prettify-symbols-alist): New const.
7738 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
7739 New functions.
7740 (perl-font-lock-keywords-2): Use them.
7741 (perl-electric-noindent-p): New function.
7742 (perl-mode): Use it to set up electric-indent-mode.
7743 (perl-electric-terminator, perl-indent-command): Mark obsolete.
7744 (perl-mode-map): Remove bindings for them.
7745 (perl-imenu-generic-expression, perl-outline-level):
7746 Match functions&packages in column>0.
7747
7748 * env.el (env--substitute-vars-regexp): New const.
7749 (substitute-env-vars): Use it. Add `only-defined' arg.
7750 * net/tramp.el (tramp-replace-environment-variables): Use it.
7751
7752 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
7753 Byte-compile *before* eval in eval-and-compile.
7754 (byte-compile-log-warning): Remove redundant inhibit-read-only.
7755 (byte-compile-file-form-autoload): Don't hide actual definition.
7756 (byte-compile-maybe-guarded): Accept `functionp' as well.
7757
7758 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
7759
7760 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
7761
7762 * notifications.el (notifications-get-server-information-method):
7763 New defconst.
7764 (notifications-get-capabilities): Fix docstring.
7765 (notifications-get-server-information): New defun.
7766
7767 2012-11-06 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
7768
7769 * textmodes/ispell.el (ispell-region): Standard re-indent for better
7770 readability.
7771
7772 * textmodes/ispell.el: Experimental support for support debugging.
7773 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
7774 buffer for ispell.
7775 (ispell-print-if-debug): New function to print stuff to
7776 `ispell-debug-buffer' if debugging is enabled.
7777 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
7778 show some debugging info.
7779 (ispell-buffer-with-debug): New function that creates a debugging
7780 buffer and calls `ispell-buffer' with debugging enabled.
7781
7782 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
7783 comment in autoconf mode. (Bug#12768)
7784
7785 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
7786
7787 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
7788 frame-first-window, frame-root-window, frame-selected-window,
7789 minibuffer-selected-window, minibuffer-window,
7790 window-absolute-pixel-edges, window-at, window-body-height,
7791 window-body-width, window-display-table, window-combination-limit,
7792 window-frame, window-fringes, window-inside-absolute-pixel-edges,
7793 window-inside-edges, window-inside-pixel-edges, window-left-child,
7794 window-left-column, window-margins, window-next-buffers,
7795 window-next-sibling, window-new-normal, window-new-total,
7796 window-normal-size, window-parameter, window-parameters, window-parent,
7797 window-pixel-edges, window-point, window-prev-buffers,
7798 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
7799 window-start, window-text-height, window-top-child, window-top-line,
7800 window-total-height, window-total-width and window-use-time to the list
7801 of functions without side-effects.
7802 (toplevel): Add window-valid-p to the list of error-free functions
7803 without side-effects.
7804
7805 2012-11-05 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
7806
7807 * textmodes/ispell.el (ispell-program-name):
7808 Update spellchecker parameters when customized.
7809
7810 2012-11-04 Glenn Morris <rgm@gnu.org>
7811
7812 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
7813
7814 2012-11-04 Chong Yidong <cyd@gnu.org>
7815
7816 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
7817 same-window-* variables.
7818
7819 2012-11-04 Juri Linkov <juri@jurta.org>
7820
7821 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
7822 (isearch-describe-key, isearch-describe-mode): Use a display
7823 action instead of binding same-window-* variables (Bug#10040).
7824
7825 2012-11-03 Glenn Morris <rgm@gnu.org>
7826
7827 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
7828 Rename handler properties back from cl-- to cl-. (Bug#12788)
7829
7830 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
7831
7832 2012-11-03 Eli Zaretskii <eliz@gnu.org>
7833
7834 * term/pc-win.el: Don't load term/internal from here.
7835
7836 * loadup.el: Load term/internal from here.
7837
7838 2012-11-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7839
7840 * progmodes/python.el (inferior-python-mode): Fix hang in
7841 jit-lock (Bug#12645).
7842
7843 2012-11-03 Martin Rudalics <rudalics@gmx.at>
7844
7845 * window.el (switch-to-visible-buffer)
7846 (switch-to-buffer-preserve-window-point): Fix doc-strings.
7847
7848 2012-11-03 Glenn Morris <rgm@gnu.org>
7849
7850 * emacs-lisp/cl-lib.el (cl--random-time):
7851 Rename from cl-random-time. (Bug#12773)
7852 (cl--gensym-counter, cl--random-state): Update callers.
7853 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
7854
7855 2012-11-03 Chong Yidong <cyd@gnu.org>
7856
7857 * cus-start.el: Make cursor-type customizable (Bug#11633).
7858
7859 2012-11-02 Glenn Morris <rgm@gnu.org>
7860
7861 * filecache.el: No need to load find-lisp when compiling.
7862 (find-lisp-find-files): Autoload it.
7863 (file-cache-add-directory-recursively): Don't require find-lisp.
7864
7865 * image.el (image-type-from-file-name): Trivial simplification.
7866
7867 * emacs-lisp/bytecomp.el (byte-compile-eval):
7868 Decouple "noruntime" and "cl-functions" warnings.
7869
7870 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
7871
7872 * play/gomoku.el (gomoku-display-statistics): Update mode line
7873 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
7874
7875 2012-10-31 Martin Rudalics <rudalics@gmx.at>
7876
7877 * window.el (quit-restore-window): If the window has been
7878 created on an existing frame and ended up as the sole window on
7879 that frame, do not delete it (Bug#12764).
7880
7881 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
7882
7883 * progmodes/sh-script.el (sh--inside-noncommand-expression):
7884 Rename from sh--inside-arithmetic-expression, handle more cases
7885 (bug#11263).
7886
7887 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
7888 (sh-font-lock-open-heredoc): Use it (bug#12770).
7889
7890 2012-10-30 Glenn Morris <rgm@gnu.org>
7891
7892 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
7893
7894 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
7895
7896 2012-10-29 Chong Yidong <cyd@gnu.org>
7897
7898 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
7899 function key is stored in a keyboard macro (Bug#4894).
7900
7901 * thingatpt.el (number-at-point): Apply a thing-at-point property.
7902
7903 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7904
7905 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
7906 header comments".
7907 (diff-unified->context, diff-context->unified)
7908 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
7909
7910 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
7911
7912 * files.el (find-alternate-file): Only ask one question (bug#12487).
7913
7914 2012-10-29 Chong Yidong <cyd@gnu.org>
7915
7916 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
7917 Suggested by Dan Nicolaescu (Bug#6326).
7918
7919 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
7920
7921 * startup.el (fancy-about-screen): Don't message (Bug#12680).
7922
7923 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
7924
7925 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
7926
7927 * face-remap.el (face-remap-add-relative): Handle the case where a
7928 face-remapping-alist entry is a cons cell (Bug#12762).
7929
7930 2012-10-29 Kevin Ryde <user42@zip.com.au>
7931
7932 * woman.el (woman-parse-numeric-value): Handle picas correctly
7933 (Bug#12639).
7934
7935 2012-10-29 Glenn Morris <rgm@gnu.org>
7936
7937 * emacs-lisp/cl.el (defsetf): Doc fix.
7938
7939 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7940
7941 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
7942 syntax to the matching opener, if any (bug#12547).
7943 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
7944 matching open as a "case-(".
7945 (sh-smie-rc-grammar): Add a corresponding rule for it.
7946
7947 2012-10-28 Daniel Hackney <dan@haxney.org>
7948
7949 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
7950 "PKGNAME-autoloads.el" in case we created it.
7951
7952 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7953
7954 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
7955 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
7956 (completion--twq-all): Disable too-strict assertions.
7957
7958 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
7959
7960 2012-10-27 Eli Zaretskii <eliz@gnu.org>
7961
7962 * profiler.el (profiler-report-make-entry-part): Fix help-echo
7963 text to match the real keybindings.
7964
7965 2012-10-27 Juri Linkov <juri@jurta.org>
7966
7967 * wdired.el (wdired-keep-marker-rename): New defcustom.
7968 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
7969 (Bug#11795)
7970
7971 * dired.el (dired-keep-marker-rename): Add reference to
7972 `wdired-keep-marker-rename' in the docstring.
7973 Add default character value ?R to display initially in
7974 Customization UI instead of ?@.
7975
7976 2012-10-27 Martin Rudalics <rudalics@gmx.at>
7977
7978 * window.el (display-buffer): In doc-string describe
7979 window-height and window-width alist entries.
7980
7981 * time.el (display-time-world): Restore fit-window-to-buffer
7982 behavior.
7983
7984 2012-10-27 Chong Yidong <cyd@gnu.org>
7985
7986 * subr.el (insert-buffer-substring-as-yank): Doc fix.
7987
7988 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
7989
7990 * minibuffer.el (completion-category-overrides): New completion
7991 category `bookmark' (bug#11131).
7992
7993 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7994
7995 * emacs-lisp/advice.el (ad-assemble-advised-definition):
7996 Silence bogus compiler warnings for ad-do-it.
7997
7998 * bookmark.el (bookmark-completing-read): Set the completion category
7999 to `bookmark' (bug#11131).
8000
8001 2012-10-26 Bastien <bzg@altern.org>
8002 Stefan Monnier <monnier@iro.umontreal.ca>
8003
8004 * face-remap.el: Use lexical-binding.
8005 (text-scale-adjust): Improve docstring. Use itself for the temporary
8006 overlay-map bindings, so as to repeat the "Use..." message each time.
8007
8008 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8009
8010 * emacs-lisp/macroexp.el (macroexp--expand-all):
8011 Obey byte-compile-warning-enabled-p (bug#12486).
8012
8013 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
8014 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
8015
8016 2012-10-26 Martin Rudalics <rudalics@gmx.at>
8017
8018 * mouse.el (mouse-drag-line): Move last form into preceding when
8019 clause (Bug#12731).
8020
8021 * help.el (resize-temp-buffer-window): Fix doc-string.
8022
8023 2012-10-25 David Engster <deng@randomsample.de>
8024
8025 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
8026 Remove. This feature is already integrated in imenu.
8027
8028 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
8029 always loaded. Require `speedbar' unconditionally.
8030
8031 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8032
8033 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
8034
8035 * minibuffer.el (minibuffer-force-complete): Fix thinko.
8036
8037 * net/ldap.el (ldap-search-internal): The official ldif format starts
8038 with a "version: 1" header (bug#12724).
8039
8040 * emacs-lisp/package.el (package-installed-p): Warn if not ready
8041 (bug#12721).
8042
8043 2012-10-25 Glenn Morris <rgm@gnu.org>
8044
8045 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
8046
8047 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8048
8049 * minibuffer.el (minibuffer-force-complete): Use one more marker
8050 for the temporary-overlay-map command (bug#12619).
8051
8052 2012-10-24 Chong Yidong <cyd@gnu.org>
8053
8054 * time.el (display-time-world-mode): Derive from special-mode.
8055 (display-time-world): Use display-buffer (Bug#12708).
8056 (display-time-world-mode-map): Variable deleted.
8057 (display-time-world-display): Wrap the final delete-char inside
8058 inhibit-read-only.
8059
8060 2012-10-24 Chong Yidong <cyd@gnu.org>
8061
8062 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
8063 Doc fix.
8064
8065 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
8066
8067 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8068
8069 * minibuffer.el (completion--all-sorted-completions-location): New var.
8070 (completion--cache-all-sorted-completions)
8071 (completion--flush-all-sorted-completions): Use it.
8072 (completion-in-region, completion-in-region--postch)
8073 (completion-at-point, completion-help-at-point): Use markers in
8074 completion-in-region--data (bug#12619).
8075
8076 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8077
8078 * progmodes/compile.el (compilation-start): Try to handle common
8079 quoting of `cd' argument (bug#12640).
8080
8081 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
8082 (bug#12671).
8083
8084 2012-10-23 Glenn Morris <rgm@gnu.org>
8085
8086 * progmodes/gud.el (gud-menu-map):
8087 Check gdb-active-process is bound. (Bug#12358)
8088
8089 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8090
8091 * repeat.el (repeat): Set real-this-command (bug#12232).
8092
8093 * htmlfontify.el (hfy-post-html-hook):
8094 * filesets.el (filesets-cache-fill-content-hook):
8095 * arc-mode.el (archive-extract-hook):
8096 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
8097 * net/rcirc.el (rcirc-sentinel-functions)
8098 (rcirc-receive-message-functions, rcirc-activity-functions)
8099 (rcirc-print-functions):
8100 * net/dbus.el (dbus-event-error-functions):
8101 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
8102 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
8103 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
8104 * term/sun.el (sun-raw-prefix-hooks):
8105 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
8106
8107 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
8108
8109 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8110 Set `tramp-chunksize' to 1. This improves the performance.
8111 (tramp-smb-wait-for-output): Add timeout to
8112 `tramp-accept-process-output' calls.
8113
8114 2012-10-23 Chong Yidong <cyd@gnu.org>
8115
8116 * faces.el (font-list-limit): Define as an obsolete variable.
8117
8118 * startup.el (command-line):
8119 * cus-start.el: Don't refer to font-list-limit.
8120
8121 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
8122
8123 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8124
8125 * subr.el (internal-temp-output-buffer-show): Rename from
8126 temp-output-buffer-show, since previously compiled files expect this name.
8127
8128 2012-10-23 Glenn Morris <rgm@gnu.org>
8129
8130 * image.el (image-type-from-file-name): If multiple types match,
8131 return the first one that is supported. (Bug#9045)
8132
8133 2012-10-22 Glenn Morris <rgm@gnu.org>
8134
8135 * image.el (imagemagick-enabled-types): Doc fix.
8136
8137 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
8138
8139 * progmodes/which-func.el (which-func-current): The hash-table may have
8140 an explicit nil (bug#12338).
8141
8142 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
8143
8144 * electric.el (electric-pair-delete-selection-self-insert-function):
8145 Rename to electric-pair-will-use-region, return a boolean.
8146 (electric-pair-mode): Adjust accordingly. Don't require delsel.
8147
8148 * delsel.el (delete-selection-helper): Use a function instead of a hook.
8149 (delete-selection-pre-hook): Use use-region-p.
8150 (delete-selection-self-insert-function): Remove.
8151 (self-insert-command): Obey self-insert-uses-region-functions.
8152 (self-insert-iso): Revert to previous setting, since we don't actually
8153 know what that command does.
8154 (delete-selection-self-insert-hooks): Remove.
8155
8156 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
8157
8158 * delsel.el (delete-selection-helper): New function, extracted from
8159 delete-selection-pre-hook.
8160 (delete-selection-pre-hook): Use it.
8161 (delete-selection-self-insert-function): New function.
8162 (delete-selection-self-insert-hooks): New hook.
8163 (self-insert-command, self-insert-iso): Use it.
8164 * electric.el (electric-pair-syntax): New function, extracted from
8165 electric-pair-post-self-insert-function.
8166 (electric-pair-post-self-insert-function): Use it.
8167 (electric-pair-delete-selection-self-insert-function): New function.
8168 (electric-pair-mode): Require delsel and setup
8169 delete-selection-self-insert-hooks (bug#11520).
8170
8171 2012-10-20 Chong Yidong <cyd@gnu.org>
8172
8173 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
8174 no changes to show (Bug#12586).
8175
8176 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
8177 list explicitly (Bug#12571).
8178
8179 2012-10-20 Arne Jørgensen <arne@arnested.dk>
8180
8181 * progmodes/flymake.el (flymake-create-temp-inplace):
8182 Use file-truename.
8183
8184 2012-10-20 Eli Zaretskii <eliz@gnu.org>
8185
8186 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
8187
8188 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
8189
8190 * calc/calc-units.el (math-extract-units): Properly extract powers
8191 of units.
8192
8193 2012-10-20 Daniel Colascione <dancol@dancol.org>
8194
8195 * frame.el (make-frame): Set x-display-name as we used to in order
8196 to unbreak creating an X11 frame from an Emacs daemon started
8197 without a display.
8198
8199 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8200
8201 * minibuffer.el (minibuffer-force-complete): Make the next completion use
8202 the same completion-field (bug#12221).
8203
8204 2012-10-19 Martin Rudalics <rudalics@gmx.at>
8205
8206 * emacs-lisp/debug.el (debug): Record height of debugger window
8207 also when debugger will be back (Bug#8789).
8208
8209 2012-10-18 Chong Yidong <cyd@gnu.org>
8210
8211 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
8212 Convert to defcustom.
8213 (gdb-get-source-file): Don't bind pop-up-windows.
8214
8215 * progmodes/gud.el (gud-display-line): Don't specially re-use
8216 other frames for the gdb-mi case (Bug#12648).
8217
8218 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8219
8220 * emacs-lisp/advice.el: Clean up commentary a bit.
8221 (ad-do-advised-functions, ad-with-originals): Use `declare'.
8222 (byte-code-function-p): Never redefine.
8223
8224 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
8225
8226 2012-10-18 Glenn Morris <rgm@gnu.org>
8227
8228 * dired.el (dired-sort-toggle): Some ls implementations only allow
8229 a single option string. (Bug#12666)
8230
8231 * minibuffer.el (completion-cycle-threshold): Doc fix.
8232
8233 2012-10-17 Kenichi Handa <handa@gnu.org>
8234
8235 * international/mule.el (set-keyboard-coding-system):
8236 Recover input meta mode when the new coding system doesn not use 8-bit.
8237 Supply TERMINAL arg to set-input-meta-mode.
8238
8239 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
8240
8241 * wdired.el (wdired-old-marks): New variable.
8242 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
8243 (wdired-do-renames): Move point with renamed file and don't lose
8244 mark status (Bug#11795).
8245
8246 2012-10-16 Juri Linkov <juri@jurta.org>
8247
8248 * replace.el (query-replace-help): Mention multi-buffer replacement
8249 keys in the Help message. (Bug#12655)
8250
8251 2012-10-15 Chong Yidong <cyd@gnu.org>
8252
8253 * emacs-lisp/byte-run.el (defsubst): Doc fix.
8254
8255 2012-10-14 Eli Zaretskii <eliz@gnu.org>
8256
8257 * window.el (display-buffer): Doc fix.
8258
8259 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8260 Adjust the msft regexp to the output of Studio 2010, and move msft
8261 before edg-1. See the discussion on emacs-devel,
8262 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
8263 for the details.
8264
8265 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8266
8267 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
8268 (oset): Move uses of object-class-fast macro after its definition.
8269
8270 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
8271
8272 2012-10-13 Chong Yidong <cyd@gnu.org>
8273
8274 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
8275 enabled, re-enable it (Bug#11963).
8276
8277 2012-10-13 Martin Rudalics <rudalics@gmx.at>
8278
8279 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
8280 non-nil, restore window configuration (Bug#12623).
8281
8282 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8283
8284 * help-fns.el (describe-variable, describe-function-1):
8285 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
8286
8287 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
8288
8289 2012-10-12 Glenn Morris <rgm@gnu.org>
8290
8291 * mail/rmailsum.el (rmail-header-summary):
8292 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
8293
8294 2012-10-12 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8295
8296 * progmodes/python.el (python-mode-map):
8297 Replace subtitute-key-definition with proper command remapping.
8298 (python-nav--up-list): Fix behavior for blocks on the same level.
8299
8300 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8301
8302 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
8303
8304 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
8305 changes to the format of load-history.
8306
8307 * international/mule-cmds.el (read-char-by-name): Move let-binding of
8308 completion-ignore-case in case that var is buffer-local (bug#12615).
8309
8310 2012-10-11 Kenichi Handa <handa@gnu.org>
8311
8312 * international/eucjp-ms.el: Re-generated.
8313
8314 2012-10-10 Kenichi Handa <handa@gnu.org>
8315
8316 * select.el (xselect--encode-string): If a coding is specified for
8317 selection, and that is compatible with COMPOUND_TEXT, use it.
8318
8319 2012-10-10 Martin Rudalics <rudalics@gmx.at>
8320
8321 * window.el (switch-to-buffer-preserve-window-point): New option.
8322 (switch-to-buffer):
8323 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
8324
8325 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8326
8327 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
8328 Don't document nil as a useful value (bug#12583).
8329
8330 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
8331
8332 * net/tramp.el (tramp-debug-message):
8333 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
8334 (with-tramp-progress-reporter): Rename from
8335 `tramp-with-progress-reporter'.
8336 (with-tramp-file-property, with-tramp-connection-property):
8337 Move from tramp-cache.el, rename from `with-file-property' and
8338 `with-connection-property', respectively.
8339
8340 * net/tramp-cache.el: Remove `with-file-property' and
8341 `with-connection-property'.
8342
8343 * net/tramp.el:
8344 * net/tramp-gvfs.el:
8345 * net/tramp-sh.el:
8346 * net/tramp-smb.el: Adapt callees.
8347
8348 * net/trampver.el: Update release number.
8349
8350 2012-10-09 Glenn Morris <rgm@gnu.org>
8351
8352 * w32-fns.el (set-message-beep):
8353 * term/w32-win.el (set-message-beep): Update declarations.
8354
8355 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8356
8357 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
8358 (mode-line-widen, mode-line-input-method-map)
8359 (mode-line-coding-system-map, mode-line-remote)
8360 (mode-line-unbury-buffer, mode-line-bury-buffer)
8361 (mode-line-next-buffer, mode-line-previous-buffer):
8362 Replace save-selected-window+select-window => with-selected-window.
8363
8364 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
8365 * progmodes/cc-vars.el (bq-process): Remove, unused.
8366
8367 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
8368
8369 2012-10-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8370
8371 Implemented `backward-up-list'-like navigation.
8372 * progmodes/python.el (python-nav-up-list)
8373 (python-nav-backward-up-list): New functions.
8374 (python-mode-map): Define substitute key for backward-up-list to
8375 python-nav-backward-up-list.
8376
8377 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8378
8379 * progmodes/python.el (python-fill-paragraph): Rename from
8380 python-fill-paragraph-function. Fixed fill-paragraph for
8381 decorators (Bug#12605).
8382
8383 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8384
8385 * progmodes/python.el (python-shell-output-filter): Handle extra
8386 carriage return in OSX (Bug#12409).
8387
8388 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8389
8390 Fix shell handling of unbalanced quotes and parens in output.
8391 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
8392 (python-syntax-propertize-function): Use it.
8393 (python-shell-output-syntax-table): New var.
8394 (inferior-python-mode): Prevent unbalanced parens/quotes from
8395 previous output mess with current input context.
8396
8397 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
8398
8399 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
8400 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
8401
8402 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
8403
8404 * ffap.el (ffap-replace-file-component): Support Tramp file name
8405 syntax, not only ange-ftp's one.
8406
8407 2012-10-08 Glenn Morris <rgm@gnu.org>
8408
8409 * cus-start.el (message-log-max): Set :version.
8410
8411 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
8412
8413 2012-10-08 Martin Rudalics <rudalics@gmx.at>
8414
8415 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
8416 the minibuffer window (Bug#10851).
8417
8418 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8419
8420 Enhancements on forward-sexp movement.
8421 * progmodes/python.el (python-nav-beginning-of-statement)
8422 (python-nav-end-of-statement): Return point-marker.
8423 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
8424 (python-info-current-symbol)
8425 (python-info-statement-starts-block-p): Rename from
8426 python-info-beginning-of-block-p.
8427 (python-info-statement-ends-block-p): Rename from
8428 python-info-end-of-block-p.
8429 (python-info-beginning-of-statement-p)
8430 (python-info-end-of-statement-p)
8431 (python-info-beginning-of-block-p, python-info-end-of-block-p):
8432 New functions.
8433
8434 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8435
8436 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
8437 frame-selected-windows.
8438
8439 2012-10-08 Daniel Colascione <dancol@dancol.org>
8440
8441 * battery.el (battery-status-function): Check for
8442 w32-battery-status itself, not system-time windows-nt.
8443
8444 * frame.el: Require cl-lib.
8445 (display-format-alist): New variable mapping frame types to
8446 functions that initialize them.
8447 (window-system-for-display): New function: interprets
8448 display-format-alist.
8449 (make-frame-on-display): Remove existing display-selection logic
8450 and just forward to make-frame, which will now DTRT.
8451 (make-frame): Restructure to use window-system-for-display to
8452 figure out how to create a frame on a given display.
8453 (display-mouse-p): Look for frame-type w32, not a particular
8454 system-type.
8455
8456 * loadup.el: Load w32 lisp code when we have the w32 feature.
8457
8458 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
8459 system-type windows-nt.
8460
8461 * server.el (server-create-window-system-frame): Look for window
8462 type.
8463 (server-proces-filter): Only force a window system when windows-nt
8464 _and_ w32. Explain why.
8465
8466 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
8467 of window systems we configure for the mode.
8468
8469 * startup.el (command-line): Mark window system is initialized
8470 after we've done it.
8471
8472 * common-win.el (x-select-text): Look for w32, not windows-nt.
8473
8474 * ns-win.el: Require cl-lib. Add ourselves to
8475 display-format-alist.
8476 (ns-initialize-window-system): Assert we're not initialized twice.
8477
8478 * w32-win.el: Enable lexical binding; require cl-lib; add
8479 ourselves to display-format-alist.
8480 (w32-handle-dropped-file): Convert incoming dropped files from
8481 Windows paths to Cygwin ones before passing them on to the rest of
8482 Emacs.
8483 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
8484 (w32-initialize-window-system): Assert we're not initialized twice.
8485
8486 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
8487 (x-initialize-window-system): Assert we're not initialized twice.
8488
8489 * w32-common-fns.el: New File.
8490 (w32-version, w32-using-nt, w32-get-clipboard-data)
8491 (w32-set-clipboard-data, x-set-selection, x-get-selection)
8492 (w32-charset-info-alist, x-last-selected, text)
8493 (x-get-selection-value, x-selection-value): Move here.
8494
8495 * w32-fns.el: Require w32-common-fns.
8496 (w32-version, w32-using-nt, w32-get-clipboard-data)
8497 (w32-set-clipboard-data, x-set-selection, x-get-selection)
8498 (w32-charset-info-alist, x-last-selected, text)
8499 (x-get-selection-value, x-selection-value): Move to
8500 w32-common-fns.
8501
8502 * w32-vars.el:
8503 (w32-allow-system-shell, w32-system-shells): Define only in
8504 non-cygwin case.
8505
8506 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8507
8508 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
8509 (read-passwd): Remove a few more potential sources of leaks.
8510
8511 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8512
8513 * progmodes/python.el (inferior-python-mode)
8514 (python-shell-make-comint): Fix initialization of local
8515 variables copied from parent buffer.
8516
8517 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
8518
8519 * term/ns-win.el (ns-read-file-name): Update declaration to match
8520 nsfns.m.
8521 (ns-respond-to-change-font): Change fontsize separately so we are sure
8522 it is set when font is acted upon.
8523
8524 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8525
8526 Enhancements to indentation.
8527 * progmodes/python.el (python-indent-context): Give priority to
8528 inside-string context. Make comments indentation markers.
8529 (python-indent-region): Do not mess with strings, unless it's the
8530 enclosing set of quotes.
8531
8532 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8533
8534 * window.el (internal--before-save-selected-window)
8535 (internal--after-save-selected-window): New functions extracted from
8536 save-selected-window. Make sure we return the `alist' we construct.
8537 (save-selected-window): Use them.
8538
8539 * textmodes/tex-mode.el (tex-recenter-output-buffer):
8540 Use with-selected-window.
8541
8542 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
8543 forms that define macros (bug#12593).
8544
8545 2012-10-07 Kenichi Handa <handa@gnu.org>
8546
8547 * international/mule-conf.el (compound-text-with-extensions):
8548 Add :mime-charset property as x-ctext.
8549
8550 2012-10-07 Stefan Merten <smerten@oekonux.de>
8551
8552 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
8553 (rst-indent-literal-normal, rst-indent-literal-minimized)
8554 (rst-indent-comment): Correct :version tag.
8555 (rst-official-cvs-rev): Correct version string.
8556
8557 2012-10-07 Glenn Morris <rgm@gnu.org>
8558
8559 * mail/rmailmm.el (rmail-mime-process-multipart):
8560 Do not confuse a multipart message with an epilogue
8561 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
8562
8563 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8564
8565 Fix shell output retrieval and comint-prompt-regexp init.
8566 * progmodes/python.el (inferior-python-mode):
8567 (python-shell-make-comint): Fix initialization of
8568 comint-prompt-regexp from copied file local variables.
8569 (python-shell-fetched-lines): Remove var.
8570 (python-shell-output-filter-in-progress): Rename from
8571 python-shell-fetch-lines-in-progress.
8572 (python-shell-output-filter-buffer): Rename from
8573 python-shell-fetch-lines-string.
8574 (python-shell-fetch-lines-filter): Delete function.
8575 (python-shell-output-filter): New function.
8576 (python-shell-send-string-no-output): Use them.
8577
8578 2012-10-07 Glenn Morris <rgm@gnu.org>
8579
8580 * hi-lock.el (hi-lock-process-phrase):
8581 Try to make it less fragile. (Bug#7161)
8582
8583 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
8584
8585 2012-10-06 Glenn Morris <rgm@gnu.org>
8586
8587 * ehelp.el (electric-help-mode): Use help-mode rather than
8588 non-existent mode `help'.
8589 (electric-help-map): Use button-buffer-map. (Bug#10917)
8590
8591 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
8592 (reftex-create-bibtex-footer): Fix custom types.
8593
8594 * progmodes/sh-script.el (sh-indent-after-continuation):
8595 Add explicit :group.
8596
8597 * textmodes/rst.el (rst-preferred-decorations)
8598 (rst-shift-basic-offset): Clarify obsolescence versions.
8599
8600 * profiler.el (profiler): Add missing group :version tag.
8601 * avoid.el (mouse-avoidance-banish-position):
8602 * proced.el (proced-renice-command):
8603 * calc/calc.el (calc-ensure-consistent-units):
8604 * calendar/icalendar.el (icalendar-import-format-uid):
8605 * net/tramp.el (tramp-save-ad-hoc-proxies):
8606 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8607 * progmodes/flymake.el (flymake-error-bitmap)
8608 (flymake-warning-bitmap, flymake-fringe-indicator-position):
8609 * progmodes/sh-script.el (sh-indent-after-continuation):
8610 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
8611 (verilog-before-save-font-hook, verilog-after-save-font-hook):
8612 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
8613 (vhdl-array-index-record-field-in-sensitivity-list)
8614 (vhdl-indent-comment-like-next-code-line):
8615 * textmodes/reftex-vars.el (reftex-ref-style-alist)
8616 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
8617 (reftex-cite-key-separator, reftex-create-bibtex-header)
8618 (reftex-create-bibtex-footer):
8619 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
8620 (rst-indent-literal-normal, rst-indent-literal-minimized)
8621 (rst-indent-comment): Add missing custom :version tags.
8622
8623 * calendar/timeclock.el (timeclock-modeline-display):
8624 Add missing obsolete alias for renamed user option.
8625
8626 * strokes.el (strokes-modeline-string):
8627 * emulation/crisp.el (crisp-mode-modeline-string):
8628 * eshell/esh-mode.el (eshell-status-in-modeline):
8629 Aliases to defcustoms must come before the defcustom.
8630
8631 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
8632 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
8633 (cal-tex-cursor-week-monday): Doc fixes.
8634 (cal-tex-cursor-week2-summary): Doc fix.
8635 Rename from cal-tex-cursor-week-at-a-glance.
8636
8637 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
8638 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
8639
8640 * calendar/calendar.el (calendar-mode-map):
8641 Add cal-tex-cursor-week2-summary.
8642
8643 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
8644
8645 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
8646
8647 * subr.el (read-passwd-map): New var.
8648 (read-passwd): Use `read-string' again.
8649 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
8650
8651 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
8652
8653 * register.el (append-to-register, prepend-to-register):
8654 Deactivate mark, as does `copy-to-register' (bug#12389).
8655
8656 2012-10-06 Chong Yidong <cyd@gnu.org>
8657
8658 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
8659
8660 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
8661
8662 * international/characters.el: Fix simple mistake ((car chars) ->
8663 elt), delete duplicated code.
8664
8665 2012-10-06 Glenn Morris <rgm@gnu.org>
8666
8667 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
8668
8669 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
8670
8671 * color.el (color-hsl-to-rgb): Fix incorrect results for
8672 small and large hue values. (Bug#12559)
8673
8674 2012-10-05 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8675
8676 Enhancements to docstring formatting when filling paragraphs.
8677 * progmodes/python.el (python-fill-docstring-style): Rename from
8678 python-fill-string-style. Added new style.
8679 (python-fill-string): Use new style. Better checks for
8680 docstrings.
8681
8682 2012-10-05 Glenn Morris <rgm@gnu.org>
8683
8684 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
8685
8686 * color.el (color-name-to-rgb, color-rgb-to-hex)
8687 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
8688 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
8689 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8690 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
8691
8692 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
8693
8694 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
8695
8696 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
8697 to get the correct size across symlinks.
8698
8699 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
8700
8701 2012-10-04 Juri Linkov <juri@jurta.org>
8702
8703 * replace.el (query-replace-interactive): Declare obsolete.
8704 (query-replace-read-from): Add the last incremental search string
8705 to the list of default values accessible via M-n.
8706 (map-query-replace-regexp): Use `read-regexp'.
8707 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8708 (map-query-replace-regexp, replace-string, replace-regexp):
8709 Fix docstrings to replace mentions of `query-replace-interactive'
8710 with alternatives. (Bug#12526)
8711
8712 2012-10-04 Juri Linkov <juri@jurta.org>
8713
8714 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
8715 (dired-pop-to-buffer): Declare obsolete.
8716 (dired-mark-pop-up): Doc fix.
8717
8718 2012-10-04 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8719
8720 Allow user to set docstring style for fill-paragraph.
8721 * progmodes/python.el
8722 (python-fill-comment-function, python-fill-string-function)
8723 (python-fill-decorator-function, python-fill-paren-function):
8724 Remove :safe for defcustoms.
8725 (python-fill-string-style): New defcustom
8726 (python-fill-paragraph-function): Enhance context detection.
8727 (python-fill-string): Honor python-fill-string-style settings.
8728
8729 2012-10-04 Martin Rudalics <rudalics@gmx.at>
8730
8731 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
8732 after setting its buffer (Bug#10805).
8733
8734 2012-10-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8735
8736 Fix cornercase for string syntax.
8737 * progmodes/python.el (python-syntax-propertize-function):
8738 Simplify and enhance the regexp for unescaped quotes. Now it also
8739 matches quotes in weird situations like the single quote in
8740 "something\"'".
8741 (python-syntax-stringify): Simplify num-quotes detecting code.
8742
8743 2012-10-03 Glenn Morris <rgm@gnu.org>
8744
8745 * help-macro.el (three-step-help):
8746 Revert 2012-09-29 change. (Bug#12567)
8747
8748 2012-10-03 Martin Rudalics <rudalics@gmx.at>
8749
8750 * menu-bar.el (kill-this-buffer): Don't do anything when
8751 `menu-frame' is not alive or visible (Bug#8184).
8752
8753 * emacs-lisp/debug.el (debug): When quitting the debugger window
8754 restore current buffer (Bug#12502).
8755
8756 2012-10-02 Chong Yidong <cyd@gnu.org>
8757
8758 * progmodes/hideif.el (hif-lookup, hif-defined):
8759 Handle semantic-c-takeover-hideif.
8760
8761 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
8762
8763 Change sampling interval units from ms to ns.
8764 * profiler.el (profiler-sampling-interval): Change units
8765 from ms to ns, multiplying the default by 1000000 so that
8766 it remains 1 ms.
8767 (profiler-report-cpu-line-format): Give enough room for
8768 the maximum counters on 64-bit hosts.
8769 (profiler-report-render-calltree-1): Call them "CPU samples",
8770 not "Time (ms)", since they are not milliseconds now (and
8771 never really were).
8772
8773 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8774
8775 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
8776 Fix querying BBDB for entries without a last name (Bug#11580).
8777
8778 2012-10-02 Chong Yidong <cyd@gnu.org>
8779
8780 * emacs-lisp/eieio.el: Restore Version header.
8781
8782 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8783
8784 * vc/diff-mode.el (diff--auto-refine-data): New var.
8785 (diff-hunk): Use it to delay refinement.
8786 (diff-mode): Remove overlays when we turn off font-lock.
8787
8788 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
8789 (table-initialize-table-fixed-width-mode)
8790 (table-set-table-fixed-width-mode): Remove functions.
8791 (table-command-list): Move initialization into declaration.
8792 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
8793 (table-with-cache-buffer): Use `declare'.
8794 (table-span-cell): Simplify via CSE.
8795 (table-fixed-width-mode): Use define-minor-mode.
8796 (table-call-interactively, table-funcall, table-apply): Remove.
8797 (table-function): New function, to replace them.
8798
8799 * bookmark.el (bookmark-search-pattern): Remove var.
8800 (bookmark-read-search-input): Remove function.
8801 (bookmark-bmenu-search): Reimplement using a minibuffer.
8802
8803 * faces.el (modeline): Remove obsolete face name.
8804
8805 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
8806 and give a non-nil default value.
8807 (add-change-log-entry): Simplify accordingly.
8808
8809 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
8810
8811 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
8812 (vc-git-log-edit-toggle-amend): New function.
8813 (vc-git-log-edit-toggle-signoff): New function.
8814 (vc-git-log-edit-mode): New major mode.
8815 (vc-git-log-edit-mode-map): Keymap for it.
8816 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
8817
8818 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
8819 header names.
8820 (log-edit-toggle-header): New function.
8821 (log-edit-extract-headers): Accept function values in HEADERS alist.
8822
8823 2012-10-01 David Engster <deng@randomsample.de>
8824
8825 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
8826 from symbol property and change message to be more consistent with
8827 Emacs proper.
8828 (eieio-describe-generic): Add filename for each implementation.
8829 Fix indices for generic and normal methods.
8830 (eieio-method-def, eieio-class-def): New buttons.
8831 (eieio-help-find-method-definition)
8832 (eieio-help-find-class-definition): New functions.
8833 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
8834 class, constructor and method definitions.
8835
8836 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
8837 information in symbol property.
8838 (scoped-class): Remove.
8839 (eieio-slot-name-index, call-next-method): Check if it is bound.
8840
8841 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
8842
8843 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
8844 (eieio-custom-mode): New major mode.
8845 (eieio-customize-object): Use it.
8846
8847 2012-10-01 Eric Ludlam <zappo@gnu.org>
8848
8849 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
8850 specifying the expected class, and whether subclassing is allowed.
8851 (eieio-persistent-convert-list-to-object):
8852 (eieio-persistent-validate/fix-slot-value)
8853 (eieio-persistent-slot-type-is-class-p): New functions.
8854 (eieio-named::slot-missing): Doc fix.
8855
8856 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
8857 Stop using unused publd variable.
8858
8859 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8860 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
8861 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
8862 (eieio-speedbar-handle-click): Do not specify a class for the
8863 method. Fixes method invocation order problems with EDE.
8864
8865 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8866
8867 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
8868 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
8869
8870 2012-10-01 Karl Fogel <kfogel@red-bean.com>
8871
8872 * bookmark.el (bookmark-version-control): Give tags in the
8873 :type choices (Bug#12309), and improve doc string.
8874 (bookmark-write-file): Bind `print-circle' to `t' to allow
8875 circular custom bookmark types. (Bug#12503)
8876
8877 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
8878
8879 Revert the FOLLOW-SYMLINKS change for file-attributes.
8880 * files.el (remote-file-name-inhibit-cache, after-find-file):
8881 * time.el (display-time-file-nonempty-p): Undo last change.
8882
8883 * profiler.el (profiler-sampling-interval): Change default back to 1.
8884 See Stefan Monnier in
8885 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
8886
8887 2012-10-01 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8888
8889 Shell output catching a la gud-gdb.
8890 * progmodes/python.el (python-shell-fetch-lines-in-progress)
8891 (python-shell-fetch-lines-string, python-shell-fetched-lines):
8892 New Vars.
8893 (python-shell-fetch-lines-filter): New function.
8894 (python-shell-send-string-no-output): Use them.
8895
8896 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
8897
8898 * profiler.el (profiler-sampling-interval): Rename from
8899 profiler-sample-interval.
8900 (profiler-sampling-interval): Default to 10.
8901 (profiler-find-profile): New command (was profiler-find-log).
8902 (profiler-find-profile-other-window): New command.
8903 (profiler-find-profile-other-frame): New command.
8904 (profiler-profile): Introduce API-level data structure.
8905
8906 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
8907
8908 file-attributes has a new optional arg FOLLOW-SYMLINKS.
8909 * files.el (remote-file-name-inhibit-cache):
8910 * time.el (display-time-file-nonempty-p): Use it.
8911 * files.el (after-find-file): Don't chase links before calling
8912 file-exists-p, as file-exists-p already does the right thing.
8913
8914 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
8915
8916 Merge from standalone RefTeX repository.
8917
8918 The following ChangeLog entries are shortened versions of the
8919 original ones with file paths adapted. A not so strongly edited
8920 version of the original ChangeLog can be found in the commit log.
8921
8922 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
8923 (reftex-arg-cite): Use `reftex-cite-key-separator'.
8924 Correctly handle new value type returned by `reftex-citation'.
8925
8926 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
8927 that entries with whitespace at various places are found.
8928 Doc fix. Include entries that are cross-referenced from cited entries.
8929 Include @String definitions in the resulting bib file. Add header
8930 and footer defined in `reftex-create-bibtex-header' and
8931 `reftex-create-bibtex-footer'.
8932 (reftex-do-citation): Make it possible again to insert
8933 non-existent entries. Save match data when asking for optional
8934 arguments. Return all keys, not just the first one.
8935 (reftex-all-used-citation-keys): Fix regexp to correctly extract
8936 all citations in the same line.
8937 (reftex-parse-bibtex-entry): Accept additional optional argument
8938 `raw' and keep quotes or braces if it is non-nil. Match fields
8939 containing hyphens besides word constituents.
8940 (reftex-get-string-refs): New function.
8941 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
8942 and ask if it should be reread in case it did.
8943 (reftex-pop-to-bibtex-entry)
8944 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
8945 entries with spaces or tabs in front of arguments.
8946 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8947 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
8948 Match entries containing numbers and symbol constituents.
8949 (reftex-do-citation, reftex-figure-out-cite-format):
8950 Use `reftex-cite-key-separator'.
8951
8952 * textmodes/reftex-dcr.el: Move provide statement to end of file.
8953 (reftex-mouse-view-crossref): Explain why point is set.
8954
8955 * textmodes/reftex-global.el: Whitespace changes.
8956
8957 * textmodes/reftex-index.el: Move provide statement to end of
8958 file.
8959 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
8960 (reftex-index-visit-phrases-buffer): Set marker when visiting
8961 buffer. This allows for returning from the phrases file to the
8962 file one was just editing instead of the file where the last
8963 phrases was added from.
8964 (reftex-index-phrases-syntax-table): New variable. Give ?\"
8965 punctuation syntax as it usually is not used as string quote in
8966 TeX-related modes and may occur unmatched. The change also
8967 prevents fontification of quoted content.
8968 (reftex-index-phrases-mode): Use it.
8969
8970 * textmodes/reftex-parse.el (reftex-parse-from-file):
8971 Move backward one char if a `\' was matched after a section macro.
8972 (reftex-parse-from-file): Use beginning of match instead of end as
8973 bound.
8974
8975 * textmodes/reftex-ref.el: Adapt creation of
8976 `reftex-<package>-<macro>' functions to new structure of
8977 `reftex-ref-style-alist'.
8978 (reftex-reference): Use `reftex-ref-style-list' function.
8979 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
8980 reference macro if `reftex-ref-macro-prompt' is non-nil.
8981 (reftex-reference): Pass refstyle to `reftex-format-special'.
8982 Determine reference macro by looking at
8983 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
8984 Use only one special format function.
8985 (reftex-varioref-vref, reftex-fancyref-fref)
8986 (reftex-fancyref-Fref): Remove definitions. The functions are now
8987 generated from `reftex-ref-style-alist'.
8988 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
8989 Remove.
8990 (reftex-format-special): New function.
8991
8992 * textmodes/reftex-sel.el
8993 (reftex-select-cycle-ref-style-internal): Adapt to new structure
8994 of `reftex-ref-style-alist'. Remove code for testing macro type.
8995 (reftex-select-toggle-varioref)
8996 (reftex-select-toggle-fancyref): Remove.
8997 (reftex-select-cycle-ref-style-internal)
8998 (reftex-select-cycle-ref-style-forward)
8999 (reftex-select-cycle-ref-style-backward): New functions.
9000 (reftex-select-label-map): Use `v' and `V' for general cycling
9001 through reference styles. Add `p' for switching between number
9002 and page reference types.
9003
9004 * textmodes/reftex-toc.el (reftex-re-enlarge):
9005 Call `enlarge-window' only if there is something to do because in Emacs
9006 the horizontal version throws an error even if the parameter is 0.
9007
9008 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
9009 (reftex-plug-into-AUCTeX): Doc fix.
9010 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
9011 string. Adapt to new name.
9012 (reftex-ref-style-alist): Change structure so that it is not
9013 possible to use multiple different package names within a style.
9014 Remove the symbols for symbols for macro type distinction.
9015 Add characters for macro selection.
9016 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
9017 (reftex-create-bibtex-footer): New variables.
9018 (reftex-format-ref-function): Mention third argument of special
9019 format function.
9020 (reftex-ref-style-alist, reftex-ref-style-default-list):
9021 New variables.
9022 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
9023 to new implementation. Mark as obsolete. Add compatibility code
9024 for honoring the variable values in case they are set.
9025 (reftex-cite-format-builtin, reftex-bibliography-commands):
9026 Add support for ConTeXt.
9027 (reftex-format-ref-function, reftex-format-cite-function):
9028 Fix custom type.
9029 (reftex-cite-key-separator): New variable.
9030
9031 * textmodes/reftex.el (reftex-syntax-table-for-bib)
9032 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
9033 `reftex-syntax-table' because parens have to retain their paren
9034 syntax in order for parsing of BibTeX entries like @book(...) to
9035 work.
9036 (reftex-in-comment): Do not error out if `comment-start-skip' is
9037 not set. Deal correctly with escaped comment characters.
9038 (reftex-tie-multifile-symbols): Add doc string.
9039 Initialize `reftex-ref-style-list'.
9040 (reftex-untie-multifile-symbols): Add doc string.
9041 (reftex-add-index-macros): Doc fix.
9042 (reftex-ref-style-activate, reftex-ref-style-toggle)
9043 (reftex-ref-style-list): New functions.
9044 (reftex-mode-menu): Use them. Adapt to new structure of
9045 `reftex-ref-style-alist'.
9046 (reftex-select-with-char): Kill the RefTeX Select buffer when
9047 done.
9048 (reftex-remove-if): New function.
9049 (reftex-erase-all-selection-and-index-buffers)
9050 (reftex-mode-menu): Reference styles are now computed from
9051 `reftex-ref-style-alist'. Fix typo.
9052 (reftex-report-bug): New function.
9053 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
9054 algorithms with O(n log n). Introduce optional argument SORT (not
9055 yet used).
9056
9057 2012-09-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9058
9059 Enhancements for triple-quote string syntax.
9060 * progmodes/python.el (python-syntax-propertize-function):
9061 Match both quote cases in one regexp.
9062 (python-syntax-stringify): Handle matches properly.
9063
9064 2012-09-30 Juri Linkov <juri@jurta.org>
9065
9066 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
9067 to nil around the call to `insert' to prevent
9068 directory time modification by lock_file. (Bug#2295)
9069 * tar-mode.el (tar-summarize-buffer): Idem.
9070
9071 2012-09-30 Juri Linkov <juri@jurta.org>
9072
9073 * facemenu.el (list-colors-sort): Add option "Luminance".
9074 (list-colors-sort-key): Implement it.
9075
9076 * vc/diff-mode.el (diff-refine-removed):
9077 * vc/ediff-init.el (ediff-fine-diff-A):
9078 * vc/smerge-mode.el (smerge-refined-removed):
9079 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
9080
9081 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
9082
9083 * term/ns-win.el (x-file-dialog): New function.
9084
9085 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
9086
9087 * ido.el (ido-max-directory-size): Default to nil; the current
9088 default is small for POSIX systems, and impractical on Windows 7
9089 now that lstat returns directory sizes for NTFS.
9090
9091 2012-09-30 Martin Rudalics <rudalics@gmx.at>
9092
9093 In buffer display functions handle window-height/window-width
9094 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
9095 * window.el (window--display-buffer): New argument ALIST.
9096 Obey window-height and window-width alist entries.
9097 (window--try-to-split-window): New argument ALIST.
9098 Bind window-combination-limit to t when the window's size shall be
9099 changed and window-combination-limit equals `window-size'.
9100 (display-buffer-in-atom-window)
9101 (display-buffer-in-major-side-window)
9102 (display-buffer-in-side-window, display-buffer-same-window)
9103 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9104 (display-buffer-pop-up-window, display-buffer-below-selected)
9105 (display-buffer-at-bottom, display-buffer-in-previous-window)
9106 (display-buffer-use-some-window): Adjust all callers of
9107 window--display-buffer and window--try-to-split-window.
9108 (fit-frame-to-buffer): New option.
9109 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
9110 is non-nil.
9111 (display-buffer-in-major-side-window): Evaluate window-height /
9112 window-width alist entries.
9113
9114 * help.el (temp-buffer-resize-frames)
9115 (temp-buffer-resize-regexps): Remove options.
9116 (temp-buffer-resize-mode): Adjust doc-string.
9117 (resize-temp-buffer-window): Don't consult
9118 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
9119 temp-buffer-resize-frames.
9120
9121 * dired.el (dired-mark-pop-up):
9122 Call display-buffer-below-selected with a fit-window-to-buffer alist
9123 entry.
9124
9125 2012-09-30 Chong Yidong <cyd@gnu.org>
9126
9127 * server.el (server-host): Document the security implications.
9128 (server-auth-key): Doc fix.
9129
9130 * startup.el (initial-buffer-choice): Doc fix.
9131
9132 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
9133
9134 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
9135 restriction change.
9136
9137 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
9138
9139 * help-fns.el (help-fns--obsolete): Fix last change.
9140
9141 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
9142
9143 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
9144 (minor-mode-map-alist): Remove redundant code.
9145
9146 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
9147 visited in a buffer.
9148 (cvs-insert-visited-file): New function.
9149 (find-file-hook): Use it.
9150
9151 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
9152
9153 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
9154 chose face.
9155 (log-edit-empty-buffer-p): Don't require a space after a header.
9156
9157 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
9158
9159 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
9160
9161 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
9162 a proper minor-mode.
9163
9164 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
9165
9166 2012-09-29 Glenn Morris <rgm@gnu.org>
9167
9168 * winner.el (winner-mode): Remove variable (let define-minor-mode
9169 handle it).
9170 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
9171 Doc fixes.
9172 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
9173 (winner-mode): Use define-minor-mode.
9174
9175 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
9176 the full definition in loaddefs, rather than duplicating it.
9177
9178 * help-macro.el (three-step-help): No need to autoload defcustom.
9179
9180 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
9181 (inferior-lisp-program, inferior-lisp-load-command)
9182 (inferior-lisp-prompt, inferior-lisp-mode-hook):
9183 No need to autoload defcustoms.
9184
9185 * hippie-exp.el (hippie-expand-try-functions-list)
9186 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
9187 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
9188 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
9189 (hippie-expand-only-buffers): No need to autoload defcustoms.
9190 * progmodes/vhdl-mode.el (vhdl-line-expand):
9191 Explicitly load hippie-exp, so it does not get autoloaded
9192 while hippie-expand-try-functions-list is let-bound.
9193
9194 2012-09-28 Glenn Morris <rgm@gnu.org>
9195
9196 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
9197
9198 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
9199 Only "cl.el" counts as cl these days.
9200
9201 2012-09-28 Juri Linkov <juri@jurta.org>
9202
9203 Display archive errors in the echo area instead of inserting
9204 to the file buffer.
9205
9206 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
9207 to STDERR-TEST that can be a regexp matching a successful output.
9208 Create a temporary file and redirect stderr to it. Search for
9209 STDERR-TEST in the stderr output and display it in the echo area
9210 if no match is found.
9211 (archive-extract-by-file): New function like
9212 `archive-extract-by-stdout' but extracting archives to files
9213 and looking for successful matches in stdout. Function body is
9214 mostly copied from `archive-rar-extract'.
9215 (archive-rar-extract): Use `archive-extract-by-file'.
9216 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
9217
9218 2012-09-28 Leo Liu <sdl.web@gmail.com>
9219
9220 * pcomplete.el (pcomplete-show-completions):
9221 Use minibuffer-message to make pcomplete usable in minibuffer.
9222
9223 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
9224
9225 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9226
9227 * type-break.el: Use lexical-binding.
9228 (type-break-mode): Use define-minor-mode.
9229
9230 * emacs-lisp/pcase.el (pcase--mark-used): New.
9231 (pcase--u1): Use it (bug#12512).
9232
9233 * custom.el (load-theme): Set buffer-file-name so the load is recorded
9234 in load-history with the right file name.
9235
9236 2012-09-28 Tassilo Horn <tsdh@gnu.org>
9237
9238 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
9239 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
9240 (doc-view-get-bounding-box): Make bounding box slicing work for
9241 ODF and DVI documents.
9242
9243 2012-09-28 Glenn Morris <rgm@gnu.org>
9244
9245 * type-break.el (type-break-mode, type-break-interval)
9246 (type-break-good-rest-interval, type-break-keystroke-threshold):
9247 No need to autoload.
9248 (type-break-good-rest-interval, type-break-keystroke-threshold):
9249 Add :set-after.
9250
9251 2012-09-28 Chong Yidong <cyd@gnu.org>
9252
9253 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
9254 Add :version tag.
9255
9256 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
9257
9258 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9259
9260 2012-09-27 Glenn Morris <rgm@gnu.org>
9261
9262 * faces.el (x-display-name): Declare (for without-x builds).
9263
9264 * linum.el (linum-format): Don't autoload it. Improve :type.
9265
9266 * progmodes/tcl.el: Don't require outline when compiling.
9267 (outline-regexp, outline-level): Declare.
9268 * textmodes/sgml-mode.el: Don't require outline when compiling.
9269 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
9270
9271 * term.el (term-ansi-reset):
9272 Try setting term-ansi-face-already-done to nil. (Bug#11785)
9273
9274 * vc/vc.el (vc-next-action): Only gripe about committing read-only
9275 files for RCS and SCCS. (Bug#9781)
9276
9277 2012-09-27 Chong Yidong <cyd@gnu.org>
9278
9279 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
9280 change; value should be t.
9281
9282 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
9283
9284 * image-mode.el: Use lexical-binding.
9285 (image-mode-winprops): Use t to stand for the window of
9286 a buffer that's not displayed.
9287 * doc-view.el (doc-view-new-window-function): Handle the new
9288 t in winprops.
9289 (doc-view-enlarge): Make it a real nop if the size is not changed.
9290 (doc-view-display): Handle the case where the buffer is not (yet?)
9291 displayed in any window.
9292 (doc-view-saved-settings): New var.
9293 (doc-view-mode): Use it.
9294 (doc-view-fallback-mode): Set it.
9295
9296 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
9297 Set lexical-binding.
9298 (minibuffer-eldef-shorten-default): New var.
9299 (minibuffer-default-in-prompt-regexps): Use it for new default.
9300 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
9301
9302 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
9303
9304 * international/uni-bidi.el:
9305 * international/uni-category.el:
9306 * international/uni-name.el:
9307 * international/uni-numeric.el: Regenerate.
9308
9309 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
9310 Stefan Monnier <monnier@iro.umontreal.ca>
9311
9312 * profiler.el: New file.
9313
9314 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
9315
9316 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
9317 (testcover-reinstrument): Simplify with CSE.
9318
9319 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
9320
9321 * window.el (temp-buffer-window-setup): Fix typo in docstring.
9322
9323 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
9324
9325 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
9326 (verilog-auto-input, verilog-auto-insert-lisp)
9327 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
9328 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
9329 (verilog-auto-unused, verilog-auto-wire)
9330 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
9331 newline. Reported by Andrew Jones.
9332 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
9333 Reported by Brad Dobbie.
9334 (verilog-batch-delete-trailing-whitespace):
9335 Create verilog-batch-delete-trailing-whitespace.
9336 Reported by Brad Dobbie.
9337 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
9338 parameters from another module. Reported by Dan Katz.
9339 (verilog-auto, verilog-auto-assign-modport)
9340 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
9341 AUTOINOUTMODPORT for UVM interface module shell generation.
9342 Reported by Brad Dobbie.
9343 (verilog-auto-inst-interfaced-ports): Make default nil, as more
9344 standard behavior.
9345 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
9346 Reported by Matt Martin.
9347
9348 2012-09-25 Martin Rudalics <rudalics@gmx.at>
9349
9350 * window.el (window--resize-child-windows): When resizing child
9351 windows proportionally, process them in reverse order to
9352 preserve the "when splitting a window the new one gets the odd
9353 line" behavior.
9354 (window--resize-root-window-vertically): When resizing the
9355 minibuffer window try to affect only windows at the bottom of the
9356 frame. (Bug#12419)
9357
9358 2012-09-25 Chong Yidong <cyd@gnu.org>
9359
9360 * subr.el (declare): Doc fix.
9361
9362 * help-fns.el (help-fns--obsolete): Handle macros properly.
9363
9364 2012-09-25 Chong Yidong <cyd@gnu.org>
9365
9366 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
9367 this function obsolete.
9368
9369 * calendar/cal-x.el (calendar-two-frame-setup)
9370 (calendar-only-one-frame-setup, calendar-one-frame-setup):
9371 * calendar/calendar.el (american-calendar, european-calendar)
9372 (calendar-for-loop):
9373 * comint.el (comint-dynamic-simple-complete)
9374 (comint-dynamic-complete-as-filename, comint-unquote-filename):
9375 * desktop.el (desktop-load-default):
9376 * dired-x.el (dired-omit-here-always)
9377 (dired-hack-local-variables, dired-default-directory):
9378 * emacs-lisp/derived.el (derived-mode-class):
9379 * emacs-lisp/timer.el (timer-set-time-with-usecs):
9380 * emacs-lock.el (toggle-emacs-lock):
9381 * epa.el (epa-display-verify-result):
9382 * epg.el (epg-sign-keys, epg-start-sign-keys)
9383 (epg-passphrase-callback-function):
9384 * eshell/esh-util.el (eshell-for):
9385 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
9386 (eshell-add-to-window-buffer-names):
9387 * files.el (locate-file-completion):
9388 * imenu.el (imenu-example--create-c-index)
9389 (imenu-example--create-lisp-index)
9390 (imenu-example--lisp-extract-index-name)
9391 (imenu-example--name-and-position):
9392 * international/mule-cmds.el (princ-list):
9393 * international/mule-diag.el (decode-codepage-char):
9394 * international/mule-util.el (detect-coding-with-priority):
9395 * iswitchb.el (iswitchb-read-buffer):
9396 * mail/mailalias.el (mail-complete):
9397 * mail/sendmail.el (mail-sent-via):
9398 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
9399 (mouse-major-mode-menu):
9400 * password-cache.el (password-read-and-add):
9401 * pcomplete.el (pcomplete-parse-comint-arguments):
9402 * progmodes/sh-script.el (sh-maybe-here-document):
9403 * replace.el (query-replace-regexp-eval):
9404 * savehist.el (savehist-load):
9405 * simple.el (choose-completion-delete-max-match):
9406 * term.el (term-dynamic-simple-complete):
9407 * vc/ediff-init.el (ediff-check-version):
9408 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
9409 * vc/vc.el (vc-diff-switches-list):
9410 * view.el (view-return-to-alist-update): Likewise.
9411
9412 * subr.el (eval-next-after-load, makehash, insert-string)
9413 (assoc-ignore-representation, assoc-ignore-case): Use declare to
9414 mark obsolete.
9415 (mode-line-inverse-video): Variable deleted.
9416
9417 * international/mule-util.el (string-to-sequence): Remove.
9418
9419 * calendar/calendar.el (calendar-version):
9420 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
9421 (icalendar-convert-diary-to-ical):
9422 * cus-edit.el (custom-mode):
9423 * ansi-color.el (ansi-color-unfontify-region):
9424 * international/latin1-disp.el (latin1-char-displayable-p):
9425 * progmodes/cwarn.el (turn-on-cwarn-mode):
9426 * progmodes/which-func.el (which-func-update-1):
9427 Use define-obsolete-function-alias.
9428
9429 * net/newst-backend.el (newsticker-cache-filename):
9430 * net/newst-treeview.el (newsticker-groups-filename):
9431 Fix incorrect obsolescence declaration.
9432
9433 * allout.el (allout-passphrase-hint-string): Likewise.
9434 (allout-init): Use a declare form to mark obsolete.
9435
9436 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
9437 this applies to functions.
9438
9439 * iswitchb.el (iswitchb-read-buffer): Move code of
9440 iswitchb-define-mode-map here, and delete that obsolete function.
9441
9442 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
9443 font-lock-reference-face.
9444
9445 2012-09-25 Glenn Morris <rgm@gnu.org>
9446
9447 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
9448 Doc fixes.
9449
9450 * eshell/em-term.el (eshell-term-name):
9451 Default to term-term-name. (Bug#12485)
9452
9453 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9454
9455 * progmodes/python.el (python-shell-send-buffer): Better handling
9456 of "if __name__ == '__main__':" conditionals when sending the buffer.
9457
9458 2012-09-24 Glenn Morris <rgm@gnu.org>
9459
9460 * eshell/esh-cmd.el (eshell-find-alias-function):
9461 Tighten up file-name regexp. (Bug#12499)
9462
9463 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9464
9465 Enhancements for triple-quote string syntax.
9466 * progmodes/python.el (python-quote-syntax): Remove.
9467 (python-syntax-propertize-function): New value.
9468 (python-syntax-count-quotes, python-syntax-stringify):
9469 New functions.
9470
9471 2012-09-24 Chong Yidong <cyd@gnu.org>
9472
9473 * mail/supercite.el (sc-version): Remove obsolete function.
9474 (sc-describe): Don't mark as obsolete, since it is bound.
9475 (sc-submit-bug-report): Remove.
9476
9477 * vc/log-edit.el (cvs-changelog-full-paragraphs)
9478 (cvs-commit-buffer-require-final-newline): Remove.
9479 (log-edit-require-final-newline)
9480 (log-edit-changelog-full-paragraphs): Default to t.
9481
9482 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
9483 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
9484 * vc/vc.el (vc-checkout-carefully): Likewise.
9485
9486 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
9487 (emerge-version): Remove.
9488
9489 * progmodes/compile.el (compile-internal): Remove.
9490 (compilation-parse-errors-function): Fix typo.
9491
9492 * international/mule.el (set-char-table-default): Remove.
9493 (set-coding-priority, make-coding-system, generic-char-p)
9494 (charset-list, charset-bytes, charset-id): Use declare to mark
9495 functions as obsolete.
9496
9497 * vc/pcvs-defs.el (cvs-buffer-name-alist)
9498 (cvs-invert-ignore-marks): Remove references to obsolete vars.
9499 * vc/vc-hooks.el (vc-default-registered): Don't use
9500 vc-master-templates.
9501
9502 * font-lock.el (font-lock-reference-face):
9503 Use define-obsolete-variable-alias.
9504
9505 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
9506 * calendar/calendar.el (calendar-font-lock-keywords):
9507 * calendar/diary-lib.el (diary-font-lock-keywords)
9508 (diary-fancy-font-lock-keywords):
9509 * textmodes/reftex-sel.el (reftex-insert-docstruct):
9510 * textmodes/reftex-index.el (reftex-insert-index):
9511 * textmodes/reftex-cite.el (reftex-format-bib-entry):
9512 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9513 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
9514 * progmodes/prolog.el (prolog-font-lock-keywords):
9515 * progmodes/idlwave.el (idlwave-idl-keywords):
9516 * progmodes/ada-mode.el (ada-font-lock-keywords):
9517 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
9518
9519 2012-09-24 Glenn Morris <rgm@gnu.org>
9520
9521 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
9522
9523 2012-09-23 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9524
9525 * progmodes/python.el (python-indent-line): More consistent cursor
9526 movement behavior.
9527
9528 2012-09-23 Stefan Merten <smerten@oekonux.de>
9529
9530 * textmodes/rst.el: Fix compiler warning.
9531
9532 2012-09-23 Roland Winkler <winkler@gnu.org>
9533
9534 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
9535 Transcribe also LaTeX hyphenation.
9536 (bibtex-reformat): Bug fix. Do not quote twice the elements of
9537 bibtex-reformat-previous-options.
9538
9539 2012-09-23 Roland Winkler <winkler@gnu.org>
9540
9541 * proced.el (proced-renice-command): New variable.
9542 (proced-marked-processes): New function.
9543 (proced-with-processes-buffer): New macro.
9544 (proced-send-signal): Use them.
9545 (proced-renice): New command bound to r.
9546
9547 2012-09-23 Roland Winkler <winkler@gnu.org>
9548
9549 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
9550 ibuffer-saved-filter-groups has one element, shortcut the call of
9551 completing-read. (Bug#12331)
9552
9553 2012-09-23 Chong Yidong <cyd@gnu.org>
9554
9555 * bindings.el (mode-line-toggle-read-only):
9556 * bs.el (bs-toggle-readonly):
9557 * buff-menu.el (Buffer-menu-toggle-read-only):
9558 * dired.el (dired-toggle-read-only):
9559 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
9560
9561 2012-09-23 Chong Yidong <cyd@gnu.org>
9562
9563 * image.el (image-type-available-p): Adapt to init-image-library
9564 argument changes.
9565
9566 2012-09-22 Juri Linkov <juri@jurta.org>
9567
9568 * dired.el (dired-mode-map): Add [remap read-only-mode] for
9569 `dired-toggle-read-only'. (Bug#12462)
9570
9571 2012-09-22 Martin Rudalics <rudalics@gmx.at>
9572
9573 * subr.el (temp-output-buffer-show): New function.
9574 (with-output-to-temp-buffer): Call temp-output-buffer-show
9575 instead of internal-temp-output-buffer-show.
9576
9577 2012-09-22 Chong Yidong <cyd@gnu.org>
9578
9579 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
9580 (Bug#12462).
9581
9582 * repeat.el (repeat): Doc fix (Bug#12348).
9583
9584 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
9585 (Bug#10909).
9586
9587 * simple.el (shell-command-on-region): Doc fix.
9588 (read-only-mode): Doc fix.
9589
9590 2012-09-22 Eli Zaretskii <eliz@gnu.org>
9591
9592 * emacs-lisp/timer.el (run-with-idle-timer)
9593 (timer-activate-when-idle): Warn against reinvoking an idle timer
9594 from within its own timer action. (Bug#12447)
9595
9596 2012-09-22 Martin Rudalics <rudalics@gmx.at>
9597
9598 * cus-start.el (window-combination-limit): Add new optional
9599 values.
9600 * window.el (temp-buffer-window-show)
9601 (window--try-to-split-window): Handle new values of
9602 window-combination-limit (Bug#1806).
9603 (split-window): Test window-combination-limit for t instead of
9604 non-nil.
9605 (display-buffer-at-bottom): New buffer display action function.
9606 * help.el (temp-buffer-resize-regexps): New option.
9607 (temp-buffer-resize-mode): Rewrite doc-string.
9608 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
9609 Don't resize reused window. Suggested by Glenn Morris.
9610
9611 2012-09-22 Stefan Merten <smerten@oekonux.de>
9612
9613 * textmodes/rst.el: Revamp section title faces.
9614 (rst-official-version)
9615 (rst-package-emacs-version-alist): Sync with official version
9616 V1.4.0.
9617 (rst-faces-defaults, rst-set-level-default)
9618 (rst-level-face-max, rst-level-face-base-color)
9619 (rst-level-face-base-light, rst-level-face-format-light)
9620 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
9621 (rst-adornment-faces-alist): Match new setup.
9622 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
9623 (rst-level-5, rst-level-6): New faces.
9624
9625 2012-09-22 Chong Yidong <cyd@gnu.org>
9626
9627 * simple.el (undo): Handle indirect buffers (Bug#8207).
9628
9629 2012-09-21 Leo Liu <sdl.web@gmail.com>
9630
9631 IDO: Disable match re-ordering for buffer switching.
9632 * ido.el (ido-buffer-disable-smart-matches): New variable.
9633 (ido-set-matches-1): Use it. (Bug#2042)
9634
9635 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
9636
9637 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9638 Fix 2011-05-17 change. (Bug#12418)
9639
9640 2012-09-21 Leo Liu <sdl.web@gmail.com>
9641
9642 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
9643
9644 2012-09-21 Glenn Morris <rgm@gnu.org>
9645
9646 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
9647 Be more robust about locating simple.el.
9648
9649 2012-09-21 Glenn Morris <rgm@gnu.org>
9650
9651 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
9652
9653 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
9654
9655 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
9656
9657 2012-09-20 Juri Linkov <juri@jurta.org>
9658
9659 * replace.el (query-replace-read-from): Use `read-regexp' instead
9660 of `read-from-minibuffer' when `regexp-flag' is non-nil.
9661 (occur-read-primary-args): Use `read-regexp' instead of
9662 `read-string'.
9663 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
9664 `read-from-minibuffer'.
9665 * isearch.el (isearch-occur): Use `read-regexp' instead of
9666 `read-string'.
9667 * dired.el (dired-read-regexp): Use `read-regexp' instead of
9668 `read-from-minibuffer'.
9669 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
9670 of `read-string'. (Bug#7567)
9671
9672 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
9673 and allow accepting a list of strings prepended to a list of
9674 standard default values. Doc fix. (Bug#12321)
9675
9676 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
9677
9678 * replace.el (read-regexp): Don't add ": " when PROMPT already
9679 ends with a colon and space. (Bug#12321)
9680
9681 2012-09-20 Tassilo Horn <tsdh@gnu.org>
9682
9683 * doc-view.el (doc-view-display): Better fix for the cl-assertion
9684 error.
9685
9686 2012-09-20 Stefan Merten <smerten@oekonux.de>
9687
9688 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
9689 Fixes feature request bug#11711.
9690 (rst-mode): Create `imenu-create-index-function'.
9691 (rst-get-stripped-line): Delete after refactoring.
9692 (rst-section-tree, rst-section-tree-rec)
9693 (rst-section-tree-point): Refactor and document properly.
9694 (rst-imenu-find-adornments-for-position)
9695 (rst-imenu-convert-cell, rst-imenu-create-index):
9696 New function.
9697
9698 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9699
9700 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
9701 (macroexp--expand-all): Use it.
9702 (macroexp--funcall-and-return): Remove by folding it into its sole
9703 caller (macroexp--warn-and-return).
9704 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
9705 Use macroexp--obsolete-warning.
9706
9707 * calc/calc.el: Fix last change by removing the whole chunk, since it
9708 was only needed back when Calc was not bundled.
9709
9710 2012-09-20 Martin Rudalics <rudalics@gmx.at>
9711
9712 * emacs-lisp/debug.el (debug): Restore assignment to
9713 debugger-old-buffer removed on 2012-09-08.
9714
9715 2012-09-20 Juri Linkov <juri@jurta.org>
9716
9717 * dired-aux.el (dired-diff): Remove (require 'diff) since
9718 `diff-latest-backup-file' is now autoloaded.
9719
9720 2012-09-20 Chong Yidong <cyd@gnu.org>
9721
9722 * vc/diff.el (diff-latest-backup-file): Autoload.
9723
9724 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9725
9726 * calc/calc.el: Remove redundant autoload shape check.
9727 (sel-mode): Don't defvar.
9728 (calc-get-stack-element): Add `sel-mode' arg instead.
9729 (calc-top, calc-top-list): Pass it this additional argument.
9730 * calc/calc-store.el (calc-store-map):
9731 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
9732 (calc-map-equation, calc-outer-product, calc-inner-product):
9733 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
9734
9735 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
9736
9737 2012-09-19 Juri Linkov <juri@jurta.org>
9738
9739 * dired-aux.el (dired-diff): Add (require 'diff) because
9740 `diff-latest-backup-file' is not autoloaded.
9741 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
9742 of `dired-get-filename' to t to not report error when there is
9743 no default file on the current line.
9744
9745 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9746
9747 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
9748 macroexp--eval-if-compile.
9749 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
9750 (macroexp--expand-all): Use them (bug#12371).
9751
9752 * doc-view.el (doc-view-guess-paper-size)
9753 (doc-view-scale-bounding-box): Fix unbound `caddr'.
9754
9755 2012-09-19 Tassilo Horn <tsdh@gnu.org>
9756
9757 New feature: set optimal slice from BoundingBox information.
9758 * doc-view.el (doc-view-mode-map): Add keybinding.
9759 (doc-view-menu): Add menu entry.
9760 (doc-view-set-slice): Adapt docstring.
9761 (doc-view-get-bounding-box, doc-view-guess-paper-size)
9762 (doc-view-scale-bounding-box)
9763 (doc-view-set-slice-from-bounding-box): New functions.
9764 (doc-view-paper-sizes): New defvar.
9765
9766 2012-09-19 Glenn Morris <rgm@gnu.org>
9767
9768 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
9769 (byte-compile-log-warning): Autoload. (Bug#12371)
9770
9771 * calendar/calendar.el (calendar-american-month-header)
9772 (calendar-european-month-header, calendar-iso-month-header)
9773 (calendar-month-header): New options.
9774 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
9775 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
9776
9777 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
9778
9779 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
9780
9781 2012-09-18 Juri Linkov <juri@jurta.org>
9782
9783 * dired-aux.el (dired-diff): Restore original functionality of
9784 getting the default value, but keep new feature of using the
9785 latest existing backup file (`diff-latest-backup-file').
9786
9787 2012-09-18 Juri Linkov <juri@jurta.org>
9788
9789 * dired.el (dired-mark): If the region is active in Transient Mark
9790 mode, mark all files in the active region. Doc fix.
9791 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
9792 Doc fix. (Bug#10624)
9793
9794 2012-09-18 Juri Linkov <juri@jurta.org>
9795
9796 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
9797 attributes for M-n are pulled from the file at point.
9798 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
9799 Suggested by Drew Adams. (Bug#10624)
9800
9801 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
9802
9803 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
9804 whitespace after "end".
9805 (ruby-do-end-to-brace): Collapse block to one line if it fits
9806 within fill-column.
9807
9808 2012-09-18 Martin Rudalics <rudalics@gmx.at>
9809
9810 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
9811 value.
9812 (debug): Don't remove debugger window when debugger is expected
9813 to be back.
9814
9815 2012-09-18 Chong Yidong <cyd@gnu.org>
9816
9817 * custom.el (defface): Doc fix.
9818
9819 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
9820
9821 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
9822
9823 * progmodes/compile.el (compilation-start): Use compilation-always-kill
9824 to initialize query-on-exit; then test that instead (bug#12288).
9825
9826 2012-09-17 Stefan Merten <smerten@oekonux.de>
9827
9828 * textmodes/rst.el: Add support for `testcover'.
9829 (rst-defcustom-testcover, rst-testcover-add-compose)
9830 (rst-testcover-add-1value): New functions.
9831 (rst-portable-mark-active-p): Replace by `use-region-p'.
9832 (rst-update-section, rst-classify-adornment)
9833 (rst-find-title-line): Mark `1value' forms.
9834 (rst-classify-adornment): Remove superfluous form.
9835 (rst-update-section, rst-get-adornments-around)
9836 (rst-adornment-complete-p, rst-get-next-adornment)
9837 (rst-adjust, rst-promote-region)
9838 (rst-display-adornments-hierarchy, rst-straighten-adornments)
9839 (rst-find-pfx-in-region, rst-section-tree-rec)
9840 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
9841 (rst-toc-node, rst-toc, rst-forward-section)
9842 (rst-iterate-leftmost-paragraphs)
9843 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
9844 (rst-bullet-list-region)
9845 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
9846 (rst-compile-find-conf, rst-compile)
9847 (rst-repeat-last-character): Fix style.
9848
9849 2012-09-17 Chong Yidong <cyd@gnu.org>
9850
9851 * comint.el (comint--complete-file-name-data): Don't add a space
9852 if the status is `sole'; that adds a gratuitous space in the
9853 completion-cycling case (Bug#12092).
9854
9855 * pcomplete.el (pcomplete-completions-at-point): Likewise.
9856
9857 2012-09-17 Richard Stallman <rms@gnu.org>
9858
9859 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
9860 only in the mime-shown mode, not in raw mode.
9861 (rmail-mime): Toggle off mime by displaying the message without
9862 mime processing. (Bug#12305)
9863
9864 * mail/rmail.el (rmail-retry-failure):
9865 Turn off mime processing first. (Bug#12037)
9866
9867 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
9868
9869 2012-09-17 Chong Yidong <cyd@gnu.org>
9870
9871 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
9872 (shell-dynamic-complete-functions): Convert to defcustom.
9873 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
9874
9875 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
9876 * comint.el (comint-prompt-read-only):
9877 * custom.el (defcustom):
9878 * hi-lock.el (hi-lock-mode):
9879 * ibuffer.el (ibuffer-formats):
9880 * ielm.el (ielm-prompt-read-only):
9881 * novice.el (disable-command):
9882 * saveplace.el (toggle-save-place):
9883 * speedbar.el (speedbar-supported-extension-expressions):
9884 * startup.el (auto-save-list-file-prefix, init-file-user)
9885 (after-init-hook, inhibit-startup-echo-area-message):
9886 * strokes.el (strokes-help):
9887 * time-stamp.el (time-stamp):
9888 * calendar/calendar.el (calendar, diary-file):
9889 * calendar/diary-lib.el (diary-mail-entries, diary)
9890 (diary-list-entries-hook):
9891 * calendar/holidays.el (holidays, calendar-holidays):
9892 * calendar/lunar.el (lunar-phases):
9893 * calendar/solar.el (sunrise-sunset):
9894 * emulation/edt.el (edt-load-keys):
9895 * emulation/viper.el (viper-mode):
9896 * eshell/em-alias.el (eshell-command-aliases-list):
9897 * eshell/esh-util.el (eshell-convert-numeric-arguments):
9898 * international/ogonek.el (ogonek-information):
9899 * net/tramp-cmds.el (tramp-bug):
9900 * net/quickurl.el (quickurl-reread-hook-postfix):
9901 * play/decipher.el (decipher-font-lock-keywords):
9902 * progmodes/cc-styles.el (c-set-style):
9903 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
9904 * progmodes/inf-lisp.el (inferior-lisp-prompt):
9905 * progmodes/octave-mod.el (octave-mode):
9906 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
9907 * progmodes/verilog-mode.el (verilog-read-defines):
9908 * textmodes/two-column.el (2C-mode): Likewise.
9909
9910 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
9911
9912 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
9913 that holds many addresses.
9914
9915 2012-09-16 Chong Yidong <cyd@gnu.org>
9916
9917 * align.el (align-areas): Call the indication function with
9918 positions instead of markers for arguments (Bug#12343).
9919
9920 * files.el (parse-colon-path): Use split-string (Bug#12351).
9921
9922 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9923 (display-buffer-function): Mark as obsolete.
9924
9925 * progmodes/compile.el (compilation-parse-errors): Accept list
9926 values similar to font-lock-keywords (Bug#12136).
9927 Suggested by Oleksandr Manzyuk.
9928 (compilation-error-regexp-alist): Doc fix.
9929
9930 2012-09-15 Glenn Morris <rgm@gnu.org>
9931
9932 * version.el (emacs-bzr-version-bzr): New function.
9933 (emacs-bzr-get-version): Add optional EXTERNAL argument.
9934
9935 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
9936 checkouts, check the parent dirstate matches the branch.
9937 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
9938 empty string.
9939
9940 * version.el (emacs-bzr-version): Doc fix.
9941 (emacs-bzr-version-dirstate): New function.
9942 (emacs-bzr-get-version): For lightweight checkouts, if the parent
9943 is local try and check that it matches the branch. If not, just
9944 use dirstate information. (Bug#12441)
9945
9946 2012-09-14 Juri Linkov <juri@jurta.org>
9947
9948 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
9949 (Bug#12399)
9950
9951 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9952
9953 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
9954
9955 * emacs-lisp/edebug.el: Miscellaneous cleanup.
9956 Remove obsolete byte-compiler hack that tried to silence some warnings.
9957 (edebug-submit-bug-report): Remove.
9958 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
9959 Remove aliases, use the un-prefixed name instead.
9960 (edebug-pop-to-buffer): Consider other frames.
9961 (edebug-original-read):: Make it more obvious that it's always defined.
9962 (edebug--make-form-data-entry, edebug--form-data-name)
9963 (edebug--form-data-begin, edebug--form-data-end): Rename from the
9964 single-dashed name, and implement with cl-defstruct.
9965 (edebug-set-form-data-entry): Use the standard accessors.
9966 (edebug-make-top-form-data-entry): Use push.
9967 (edebug-no-match): Drop useless `funcall'.
9968 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
9969 to functions.
9970 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
9971 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
9972 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
9973 (easy-menu-define, with-custom-print): Remove redundant specs.
9974 (edebug-outside-overriding-local-map)
9975 (edebug-outside-overriding-terminal-local-map): Remove, unused.
9976 (edebug--display): Bind unread-command-events directly to nil rather
9977 than binding it to unread-command-events and later setting it to nil.
9978 (edebug--display): Kill edebug-eval-buffer here...
9979 (edebug--recursive-edit): ...rather than here.
9980 Bind standard-output and standard-input.
9981 (edebug-eval): Check cl-macroexpand-all is fboundp.
9982 (edebug-temp-display-freq-count): Fix last change.
9983
9984 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
9985 * subr.el (noreturn, 1value): Add `debug' spec.
9986 * emacs-lisp/advice.el: Require cl-lib.
9987 (ad-copy-tree): Remove, use copy-tree instead.
9988 (ad-dolist): Remove use dolist or cl-dolist instead.
9989 (ad-do-return): Remove, use cl-return instead.
9990 (defadvice): Add `debug' spec.
9991
9992 2012-09-13 Juri Linkov <juri@jurta.org>
9993
9994 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
9995 (Bug#12399)
9996
9997 2012-09-13 Glenn Morris <rgm@gnu.org>
9998
9999 * calc/calc.el (math-compose-expr):
10000 * calc/calc-ext.el (math-compose-expr):
10001 * progmodes/cc-defs.el (cl-macroexpand-all):
10002 * progmodes/cc-langs.el (delete-duplicates, mapcan)
10003 (cl-macroexpand-all): Update declarations.
10004
10005 * vc/vc.el: No need to require ediff.
10006 (ediff-load-version-control): Declare.
10007 (ediff-vc-internal): Fix declaration.
10008 (vc-version-ediff): Require ediff.
10009
10010 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
10011
10012 Use a more backwards-compatible timer format (Bug#12430).
10013 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
10014 being right after USECS, as that better supports old code that
10015 inadvisedly looked directly at the timer vector.
10016
10017 2012-09-13 Kenichi Handa <handa@gnu.org>
10018
10019 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
10020 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
10021 `coding-priority' property of these language environment.
10022
10023 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
10024
10025 Fix glitches caused by addition of psec to timers (Bug#12430).
10026 * image.el (image-animate-timer):
10027 * time.el (display-time-world-timer):
10028 Use timer--function and timer--args rather than raw access to
10029 timer vector.
10030
10031 2012-09-13 Glenn Morris <rgm@gnu.org>
10032
10033 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
10034 If not compiling a file, try using load-file-name.
10035
10036 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
10037
10038 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
10039 Fix last change.
10040 (edebug-update-eval-list): Use `push'.
10041
10042 * emacs-lisp/edebug.el: Use lexical-binding.
10043 Remove the "edebug-" prefix from non-dynamically-scoped variables.
10044 Mark unused args with underscore.
10045 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
10046 (edebug-form-data): Use defvar-local.
10047 (edebug-make-before-and-after-form, edebug-make-after-form):
10048 Use backquote.
10049 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
10050 Not dynamically scoped any more.
10051 (edebug--enter-trace): Add arguments `function' and `args'.
10052 Rename from edebug-enter-trace.
10053 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
10054 (edebug--update-coverage): Add `after-index' and `value' args.
10055 Rename from edebug-update-coverage.
10056 (edebug-slow-after): Call it accordingly.
10057 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
10058 edebug-recursive-edit.
10059 (edebug--display): Call it accordingly. Add args `value',
10060 `offset-index', and `arg-mode'. Rename from edebug-display.
10061 (edebug-debugger, edebug): Call it accordingly.
10062 (edebug-eval-display-list): Use dolist.
10063
10064 2012-09-12 Juri Linkov <juri@jurta.org>
10065
10066 * info.el (Info-search): Don't check for isearch-mode and
10067 isearch-regexp before let-binding search-spaces-regexp to
10068 Info-search-whitespace-regexp.
10069 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
10070 search-whitespace-regexp if isearch-lax-whitespace or
10071 isearch-regexp-lax-whitespace is non-nil.
10072 (Info-mode): Don't set local variable search-whitespace-regexp.
10073 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
10074
10075 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10076
10077 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
10078 (debugger-env-macro): Remove support for unread-command-char.
10079
10080 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
10081 the temporary map re-appearing on emulation-mode-map-alists.
10082
10083 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
10084 since 22.1.
10085
10086 * ehelp.el (with-electric-help): Accept functions in
10087 electric-help-form-to-execute.
10088 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
10089 And replace unread-command-char -> unread-command-events.
10090
10091 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
10092
10093 Sync with Tramp 2.2.6.
10094
10095 * net/tramp.el (tramp-accept-process-output): Don't use
10096 JUST-THIS-ONE in the XEmacs case.
10097
10098 * net/trampver.el: Update release number.
10099
10100 2012-09-12 Martin Rudalics <rudalics@gmx.at>
10101
10102 * emacs-lisp/debug.el (debugger-previous-window-height):
10103 New variable.
10104 (debug): When debugger-jumping-flag is non-nil try to restore
10105 height of debugger window. (Bug#8789)
10106
10107 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10108
10109 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
10110 overriding-local-map and pre/post-command-hook here.
10111 (edebug-recursive-edit): Do it here instead (bug#12345).
10112 (edebug-outside-unread-command-char): Remove all uses of
10113 unread-command-char.
10114
10115 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
10116 inhibit-debugger is bound instead.
10117
10118 2012-09-11 Bastien Guerry <bzg@gnu.org>
10119
10120 * subr.el (set-temporary-overlay-map): Add a docstring.
10121 (Bug#12346)
10122
10123 2012-09-11 Bastien Guerry <bzg@gnu.org>
10124
10125 * minibuffer.el (completion-table-subvert): Fix docstring.
10126 (Bug#12347)
10127
10128 2012-09-11 Bastien Guerry <bzg@gnu.org>
10129
10130 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
10131
10132 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
10133
10134 * progmodes/sql.el: Version 3.1
10135 (sql-db2-escape-newlines): New variable.
10136 (sql-escape-newlines-filter): Use it.
10137
10138 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
10139
10140 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
10141
10142 2012-09-10 Dan Nicolaescu <dann@gnu.org>
10143
10144 * vc/diff-mode.el (diff-mode-menu):
10145 Bind diff-remove-trailing-whitespace.
10146
10147 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
10148
10149 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
10150 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
10151 (emacs-lisp-byte-code-mode): New functions.
10152 (eval-sexp-add-defvars): Don't skip defvars in column >0.
10153 (eval-defun-2): Remove bogus interactive spec.
10154 (lisp-indent-line): Remove redundant whole-exp code, now done in
10155 indent-according-to-mode.
10156 (save-match-data): Remove redundant indent data.
10157
10158 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
10159 Use `declare'.
10160
10161 2012-09-09 Juri Linkov <juri@jurta.org>
10162
10163 * replace.el (replace-regexp-lax-whitespace): New defcustom.
10164 (replace-lax-whitespace, query-replace-regexp)
10165 (query-replace-regexp-eval, replace-regexp): Doc fix.
10166 (perform-replace, replace-highlight): Let-bind
10167 isearch-lax-whitespace to replace-lax-whitespace and
10168 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
10169
10170 * isearch.el (isearch-query-replace): Let-bind
10171 replace-lax-whitespace to isearch-lax-whitespace and
10172 replace-regexp-lax-whitespace to
10173 isearch-regexp-lax-whitespace. (Bug#10885)
10174
10175 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
10176
10177 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
10178
10179 2012-09-09 Alan Mackenzie <acm@muc.de>
10180
10181 * progmodes/cc-engine.el (c-state-cache-init):
10182 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
10183 (c-record-parse-state-state):
10184 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
10185
10186 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
10187
10188 * register.el (register-separator): Rename from
10189 separator-register. All uses changed. Doc fix.
10190 (register): Fix version.
10191
10192 2012-09-09 Chong Yidong <cyd@gnu.org>
10193
10194 * replace.el (query-replace-map): Bind four new symbols for
10195 requesting window scrolling.
10196
10197 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
10198 query-replace-map (Bug#8948).
10199
10200 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
10201
10202 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
10203 since they are now in query-replace-map.
10204
10205 * window.el (scroll-other-window-down): Make the arg optional.
10206
10207 2012-09-09 Chong Yidong <cyd@gnu.org>
10208
10209 * files.el (hack-local-variables-confirm): Use quit-window to kill
10210 the *Local Variables* buffer.
10211
10212 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
10213
10214 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
10215 not just expect to be at its beginning. Adjust callees.
10216 Succeed when do-end block has no space before the pipe character.
10217 (ruby-brace-to-do-end): When the original block is one-liner,
10218 convert to multiline. Reindent the result.
10219
10220 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
10221
10222 * register.el (register): New group.
10223 (separator-register): New user option.
10224 (increment-register): Route it to `append-to-register', if
10225 register contains text. Implication is that `C-x r +' can now be
10226 used for appending to a text register (bug#12217).
10227 (append-to-register, prepend-to-register): Add separator based on
10228 `separator-register'.
10229
10230 2012-09-08 Alan Mackenzie <acm@muc.de>
10231
10232 AWK Mode: make auto-newline work when there's "==" in the pattern.
10233 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
10234 correctly.
10235 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
10236 Test more rigorously for "=" token.
10237
10238 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
10239
10240 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
10241 Only fail when reached LIMIT.
10242
10243 2012-09-08 Chong Yidong <cyd@gnu.org>
10244
10245 * dired.el (dired-mode-map): Don't bind M-=.
10246
10247 * dired-aux.el (dired-diff): Use backup file as default.
10248
10249 2012-09-08 Drew Adams <drew.adams@oracle.com>
10250
10251 * subr.el (add-to-history): Fix delete usage (Bug#12314).
10252
10253 2012-09-08 Chong Yidong <cyd@gnu.org>
10254
10255 * subr.el (syntax-after, syntax-class): Doc fix.
10256
10257 2012-09-08 Martin Rudalics <rudalics@gmx.at>
10258
10259 * window.el (display-buffer-in-previous-window): New buffer
10260 display action function.
10261
10262 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
10263 (debugger-previous-window): New variable.
10264 (debug): Rewrite using display-buffer-in-previous-window,
10265 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
10266
10267 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10268
10269 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
10270
10271 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
10272
10273 * progmodes/python.el (python-shell-send-string):
10274 When default-directory is remote, create temp file on remote
10275 filesystem.
10276 (python-shell-send-file): When file is remote, pass local view of
10277 file paths to remote Python interpreter. (Bug#12340)
10278
10279 2012-09-07 Chong Yidong <cyd@gnu.org>
10280
10281 * window.el (switch-to-buffer): Doc fix (Bug#12181).
10282
10283 * files.el (after-find-file): Don't fail on a read-only buffer if
10284 require-final-newline is `visit' or `visit-save' (Bug#11156).
10285
10286 * subr.el (read-char-choice): Allow quitting via ESC ESC.
10287
10288 * userlock.el (ask-user-about-supersession-threat):
10289 Use read-char-choice (Bug#12093).
10290
10291 2012-09-07 Chong Yidong <cyd@gnu.org>
10292
10293 * subr.el (buffer-narrowed-p): New function.
10294
10295 * ses.el (ses-widen):
10296 * simple.el (count-words--buffer-message):
10297 * net/browse-url.el (browse-url-of-buffer): Use it.
10298
10299 * simple.el (count-words-region): Don't signal an error if there
10300 is a non-nil prefix arg and the mark is not set.
10301
10302 * help.el (describe-key-briefly): Allow the message to be seen
10303 when invoked from the minibuffer (Bug#7014).
10304
10305 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
10306
10307 * progmodes/ruby-mode.el (ruby-end-of-defun)
10308 (ruby-beginning-of-defun): Simplify, allow indentation before
10309 block beginning and end keywords.
10310 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
10311 (ruby-end-of-defun): Expect that the point is at the beginning of
10312 the defun.
10313
10314 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
10315
10316 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
10317 (bug#12367).
10318 (cl--make-usage-args): Strip _ from argument names.
10319
10320 2012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
10321
10322 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
10323 obsolete alias speedbar-key-map.
10324 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
10325 (vhdl-index-menu-init): Don't use obsolete variable
10326 font-lock-maximum-size.
10327
10328 2012-09-06 Chong Yidong <cyd@gnu.org>
10329
10330 * frame.el (window-system-version): Mark as obsolete.
10331
10332 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
10333 of obsolete variable speedbar-key-map.
10334
10335 2012-09-06 Juri Linkov <juri@jurta.org>
10336
10337 * replace.el (replace-lax-whitespace): New defcustom.
10338 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10339 (replace-string, replace-regexp): Mention it in docstrings.
10340 (perform-replace, replace-highlight): Let-bind
10341 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
10342 to the values of replace-lax-whitespace and regexp-flag.
10343 Don't let-bind search-whitespace-regexp. (Bug#10885)
10344
10345 * isearch.el (isearch-query-replace): Let-bind
10346 replace-lax-whitespace instead of let-binding
10347 replace-search-function and replace-re-search-function.
10348 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
10349 and isearch-regexp-lax-whitespace to lazy-highlight variables.
10350 (isearch-toggle-symbol): Set isearch-regexp to nil
10351 in isearch-word mode (like in isearch-toggle-word).
10352
10353 2012-09-06 Juri Linkov <juri@jurta.org>
10354
10355 * replace.el (replace-search-function)
10356 (replace-re-search-function): Set default values to nil.
10357 (perform-replace): Let-bind isearch-related variables based on
10358 replace-related values, call `isearch-search-fun' and let-bind
10359 the result to `search-function'. Remove code that sets
10360 `search-function' and `search-string' separately for
10361 `delimited-flag'.
10362 (replace-highlight): Add new argument `delimited-flag' and
10363 rename other arguments to the names used in `perform-replace'.
10364 Let-bind `isearch-word' to the argument `delimited-flag'.
10365 (Bug#10885, bug#10887)
10366
10367 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
10368
10369 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
10370 ruby-beginning-of-indent, simplify, allow all keywords to have
10371 indentation before them.
10372 (ruby-beginning-of-indent): Adjust for above. Search until the
10373 found point is not inside a string or comment.
10374 (ruby-font-lock-keywords): Allow symbols to start with "@"
10375 character, give them higher priority than variables.
10376 (ruby-syntax-propertize-function)
10377 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
10378 matchers. Expression expansions are not comments when inside a
10379 string, and there comment syntax status is irrelevant.
10380 (ruby-match-expression-expansion): New function. Check that
10381 expression expansion is inside a string, and it's not escaped.
10382 (ruby-font-lock-keywords): Use it.
10383
10384 2012-09-05 Martin Rudalics <rudalics@gmx.at>
10385
10386 * help.el (temp-buffer-max-height): New default value.
10387 (temp-buffer-resize-frames): New option.
10388 (resize-temp-buffer-window): Optionally resize frame.
10389
10390 * window.el (fit-frame-to-buffer-bottom-margin): New option.
10391 (fit-frame-to-buffer): New function.
10392
10393 2012-09-05 Glenn Morris <rgm@gnu.org>
10394
10395 * emulation/cua-rect.el (cua--init-rectangles):
10396 * textmodes/picture.el (picture-mode-map):
10397 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
10398 like forward-char and backward-char. (Bug#12317)
10399
10400 2012-09-05 Leo Liu <sdl.web@gmail.com>
10401
10402 * progmodes/flymake.el (flymake-warning-re): New variable.
10403 (flymake-parse-line): Use it.
10404
10405 2012-09-05 Glenn Morris <rgm@gnu.org>
10406
10407 * calendar/holidays.el (holiday-christian-holidays):
10408 Rename an entry. (Bug#12289)
10409
10410 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
10411
10412 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
10413 (bug#12222).
10414
10415 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
10416
10417 * loadup.el: Load macroexp. Remove hack.
10418 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
10419 (macroexp--expand-all): Use it to get better warnings.
10420 (macroexp--backtrace, macroexp--trim-backtrace-frame)
10421 (internal-macroexpand-for-load): New functions.
10422 (macroexp--pending-eager-loads): New var.
10423 (emacs-startup-hook): New hack to replace one in loadup.el.
10424 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
10425 (cl--compiler-macro-cXXr): Move to top, before they can be used.
10426 (cl-psetf): Simplify.
10427 (cl-defstruct): Add indent rule.
10428
10429 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
10430
10431 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
10432 over `user-mail-address' for the SMTP MAIL FROM envelope.
10433 (smtpmail-via-smtp): Ditto.
10434
10435 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
10436
10437 * progmodes/ruby-mode.el: Clean up keybindings.
10438 (ruby-mode-map): Don't bind ruby-electric-brace,
10439 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
10440 backward-kill-word, reindent-then-newline-and-indent.
10441 (ruby-mark-defun): Remove.
10442 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
10443 (ruby-mode): Set local beginning-of-defun-function and
10444 end-of-defun-function values.
10445
10446 2012-09-03 Martin Rudalics <rudalics@gmx.at>
10447
10448 * window.el (temp-buffer-window-setup-hook)
10449 (temp-buffer-window-show-hook): New hooks.
10450 (temp-buffer-window-setup, temp-buffer-window-show)
10451 (with-temp-buffer-window): New functions.
10452 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
10453 (special-display-popup-frame): Make sure the window used shows BUFFER.
10454
10455 * help.el (temp-buffer-resize-mode): Fix doc-string.
10456 (resize-temp-buffer-window): New optional argument WINDOW.
10457
10458 * files.el (recover-file, save-buffers-kill-emacs):
10459 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
10460
10461 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
10462
10463 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
10464 remote definition of `default-directory', ensure we can connect.
10465
10466 2012-09-02 Juri Linkov <juri@jurta.org>
10467
10468 Toggle whitespace matching mode with M-s SPC.
10469 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
10470
10471 * isearch.el (search-whitespace-regexp): Doc fix.
10472 Remove cons cell customization.
10473 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
10474 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
10475 New variables.
10476 (isearch-forward, isearch-forward-regexp): Doc fix.
10477 (isearch-toggle-lax-whitespace): New command.
10478 (search-forward-lax-whitespace, search-backward-lax-whitespace)
10479 (re-search-forward-lax-whitespace)
10480 (re-search-backward-lax-whitespace): New functions.
10481 (isearch-whitespace-regexp): Remove function.
10482 (isearch-query-replace): Let-bind replace-search-function and
10483 replace-re-search-function.
10484 (isearch-occur): Let-bind search-spaces-regexp according to the
10485 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
10486 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
10487 condition for C-q SPC.
10488 (isearch-search-fun-default): Use new functions mentioned above.
10489 (isearch-search-forward, isearch-search-backward): Remove functions.
10490 (isearch-search): Don't let-bind search-spaces-regexp.
10491 (isearch-lazy-highlight-space-regexp): Remove variable.
10492 (isearch-lazy-highlight-lax-whitespace)
10493 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
10494 (isearch-lazy-highlight-new-loop): Use them.
10495 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
10496
10497 2012-09-02 Chong Yidong <cyd@gnu.org>
10498
10499 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
10500
10501 2012-09-02 Glenn Morris <rgm@gnu.org>
10502
10503 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
10504
10505 2012-09-01 Glenn Morris <rgm@gnu.org>
10506
10507 * term.el: Tidy up menu definitions.
10508 (term-mode-map): Use easymenu for In/Out, Complete menus.
10509 (term-pager-break-map): Initialize in the defvar.
10510 (term-terminal-menu, term-signals-menu): Define with easymenu.
10511 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
10512 (term-pager-menu): New, extracted from term-process-pager.
10513 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
10514 (term-update-mode-line): Propertize line/char and page items.
10515 (term-process-pager): Move keymap initialization elsewhere.
10516
10517 2012-09-01 Martin Rudalics <rudalics@gmx.at>
10518
10519 * window.el (switch-to-prev-buffer): Handle additional values of
10520 BURY-OR-KILL argument. Don't switch in minibuffer window.
10521 (switch-to-next-buffer): Don't switch in minibuffer window.
10522 (quit-restore-window): New function based on quit-window.
10523 Handle additional values of former KILL argument.
10524 (quit-window): Call quit-restore-window with appropriate
10525 interpretation of KILL argument.
10526 (display-buffer-below-selected): New buffer display action
10527 function.
10528
10529 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
10530
10531 * minibuffer.el (completion-at-point-functions): Complete docstring
10532 (bug#12254).
10533
10534 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
10535
10536 Better seed support for (random).
10537 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
10538 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
10539 * play/mpuz.el, play/tetris.el, play/zone.el:
10540 * calc/calc-comb.el (math-init-random-base):
10541 * play/blackbox.el (bb-init-board):
10542 * play/life.el (life):
10543 * server.el (server-use-tcp):
10544 * type-break.el (type-break):
10545 Remove unnecessary call to (random t).
10546 * net/sasl.el (sasl-unique-id-function):
10547 Change (random t) to (random), now that the latter is more random.
10548 * play/life.el (life-initialized): Remove no-longer-needed var.
10549
10550 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
10551
10552 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10553 Consider frame's buffer predicate when choosing the buffer.
10554 (Bug#12081)
10555
10556 2012-08-30 Richard Stallman <rms@gnu.org>
10557
10558 * simple.el (special-mode-map): Delete binding for `z'.
10559
10560 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
10561
10562 * progmodes/compile.el (compilation-always-kill): Doc fix.
10563
10564 2012-08-30 Chong Yidong <cyd@gnu.org>
10565
10566 * window.el (display-buffer-reuse-frames): Make the obsolescence
10567 message more informative.
10568
10569 2012-08-30 Glenn Morris <rgm@gnu.org>
10570
10571 * paren.el (show-paren-delay):
10572 Add a :set function. Doc fix. (Bug#12297)
10573
10574 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
10575
10576 * progmodes/compile.el (compilation-always-kill): New var.
10577 (compilation-start): Use it.
10578
10579 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10580
10581 * simple.el (read-only-mode): Move from files.el for bootstrapping.
10582 * files.el (read-only-mode): Move to simple.el.
10583
10584 * files.el (read-only-mode): New minor mode.
10585 (toggle-read-only): Use it and mark obsolete.
10586 (find-file--read-only):
10587 * vc/vc.el (vc-next-action, vc-checkout):
10588 * vc/vc-cvs.el (vc-cvs-checkout):
10589 * obsolete/vc-mcvs.el (vc-mcvs-update):
10590 * ffap.el (ffap--toggle-read-only): Update callers.
10591
10592 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
10593
10594 * eshell/esh-ext.el (eshell-external-command): Do not examine
10595 remote shell scripts.
10596 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
10597
10598 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
10599 "/usr/local/sbin".
10600
10601 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10602
10603 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
10604
10605 2012-08-28 Leo Liu <sdl.web@gmail.com>
10606
10607 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
10608 completion-at-point. (Bug#12220)
10609
10610 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
10611
10612 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
10613
10614 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10615
10616 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
10617 be buffer-local; add delete-trailing-whitespace (bug#12259).
10618
10619 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
10620
10621 * progmodes/hideif.el (hif-compress-define-list):
10622 Fix typo. (Bug#11951)
10623
10624 2012-08-28 Dan Nicolaescu <dann@gnu.org>
10625
10626 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
10627 buffer local setting.
10628
10629 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
10630 rcirc-encode-coding-system.
10631
10632 2012-08-28 Leo Liu <sdl.web@gmail.com>
10633
10634 * net/rcirc.el (rcirc-split-message): New function.
10635 (rcirc-send-message): Use it. (Bug#12051)
10636
10637 2012-08-28 Juri Linkov <juri@jurta.org>
10638
10639 * info.el (Info-fontify-node): Hide empty lines at the end of
10640 the node. (Bug#12272)
10641
10642 2012-08-27 Drew Adams <drew.adams@oracle.com>
10643
10644 * dired.el (dired-pop-to-buffer): Make window start at beginning
10645 of buffer (Bug#12281).
10646
10647 2012-08-26 Chong Yidong <cyd@gnu.org>
10648
10649 * window.el (special-display-regexps, special-display-frame-alist)
10650 (special-display-buffer-names, special-display-function)
10651 (display-buffer-reuse-frames): Mark as obsolete.
10652
10653 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
10654
10655 * help.el (help-print-return-message): Don't treat
10656 display-buffer-reuse-frames specially.
10657
10658 2012-08-26 Chong Yidong <cyd@gnu.org>
10659
10660 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
10661 New variable, replacing gdb-frame-parameters.
10662 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
10663 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
10664 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
10665 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
10666 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
10667 the functions directly with gdb-display-buffer-other-frame-action.
10668 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
10669 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
10670 (gdb-display-stack-buffer, gdb-display-locals-buffer)
10671 (gdb-display-registers-buffer): Define directly.
10672 (def-gdb-display-buffer): Macro deleted.
10673 (gdb-display-buffer): Remove second and third args, callers don't
10674 use them. Defer to the default display-buffer behavior, apart
10675 from making windows dedicated.
10676 (gdb-setup-windows): Don't call display-buffer unnecessarily.
10677
10678 * progmodes/gud.el (gud-display-line): Just use display-buffer.
10679
10680 * window.el (display-buffer-pop-up-frame): Handle a
10681 pop-up-frame-parameters alist entry.
10682 (display-buffer): Document it.
10683
10684 2012-08-26 Chong Yidong <cyd@gnu.org>
10685
10686 * isearch.el (search-whitespace-regexp): Make string and nil
10687 values apply to both ordinary and regexp search. Allow a cons
10688 cell value to distinguish between the two.
10689 (isearch-whitespace-regexp, isearch-search-forward)
10690 (isearch-search-backward): New functions.
10691 (isearch-occur, isearch-search-fun-default, isearch-search)
10692 (isearch-lazy-highlight-new-loop): Use them.
10693 (isearch-forward, isearch-forward-regexp): Doc fix.
10694
10695 2012-08-26 Chong Yidong <cyd@gnu.org>
10696
10697 * faces.el (help-argument-name): Always inherit from italic
10698 (Bug#12213).
10699
10700 2012-08-25 Martin Rudalics <rudalics@gmx.at>
10701
10702 * window.el (window--even-window-heights): Even heights when
10703 WINDOW and the selected window form a vertical combination.
10704 (display-buffer-use-some-window): Provide that window used gets
10705 sized back by quit-window. (Bug#11880) and (Bug#12091)
10706
10707 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
10708
10709 Fix file time stamp problem with bzr and CVS (Bug#12001).
10710 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
10711 in the file's time stamp, since the version control system loses
10712 that information.
10713
10714 2012-08-22 Juri Linkov <juri@jurta.org>
10715
10716 * info.el (Info-fontify-node): Hide the suffix of the
10717 Info file name in the header line. (Bug#12187)
10718
10719 2012-08-22 Glenn Morris <rgm@gnu.org>
10720
10721 * calendar/cal-tex.el (cal-tex-weekly-common):
10722 Restore leading blank page.
10723
10724 2012-08-22 Le Wang <l26wang@gmail.com>
10725
10726 * misc.el (forward-to-word, backward-to-word): Activate or extend
10727 the region under `shift-select-mode'. (Bug#12231)
10728
10729 2012-08-22 Bastien Guerry <bzg@gnu.org>
10730
10731 * progmodes/executable.el (executable-prefix): Set to "#!" instead
10732 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
10733 gives details on why the space is never needed.
10734
10735 2012-08-22 Martin Rudalics <rudalics@gmx.at>
10736
10737 * window.el (walk-window-tree, window-with-parameter):
10738 New optional argument MINIBUF to control whether these functions
10739 should run on the minibuffer window.
10740 (window-at-side-list): Don't operate on minibuffer window.
10741 (window-in-direction): Simplify and rewrite doc-string.
10742 (window--size-ignore): Rename to window--size-ignore-p.
10743 Update callers.
10744 (display-buffer-in-atom-window, window--major-non-side-window)
10745 (window--major-side-window, display-buffer-in-major-side-window)
10746 (delete-side-window, display-buffer-in-side-window):
10747 New functions.
10748 (window--side-check, window-deletable-p, delete-window)
10749 (delete-other-windows, split-window): Handle side windows and
10750 atomic windows appropriately.
10751 (window--display-buffer): Call display-buffer-record-window also
10752 when the window buffer did not change.
10753
10754 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
10755
10756 * help-fns.el (help-fns--key-bindings):
10757 Abbreviate non-symbol remap targets. (Bug#12174)
10758
10759 2012-08-22 Martin Rudalics <rudalics@gmx.at>
10760
10761 * dired.el (dired-mark-remembered): Don't clobber point.
10762 (Bug#11795)
10763
10764 2012-08-22 Glenn Morris <rgm@gnu.org>
10765
10766 * progmodes/bug-reference.el (bug-reference): New custom group.
10767 (bug-reference-bug-regexp): Make it a defcustom.
10768
10769 2012-08-22 Daiki Ueno <ueno@unixuser.org>
10770
10771 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
10772 (js-paren-indent-offset, js-square-indent-offset)
10773 (js-curly-indent-offset): Add :safe (Bug#12257).
10774
10775 2012-08-22 Edward O'Connor <hober0@gmail.com>
10776
10777 * json.el (json-key-format): Add error properties.
10778 (json-encode-key): New function.
10779 (json-encode-hash-table, json-encode-alist, json-encode-plist):
10780 Use json-encode-key.
10781
10782 2012-08-22 Glenn Morris <rgm@gnu.org>
10783
10784 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
10785 (cal-tex-leftday, cal-tex-rightday): Remove functions.
10786 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
10787 Update for above change.
10788
10789 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
10790
10791 * cus-face.el (custom-face-attributes): Fix customize type for the
10792 :underline attribute. (Bug#11805)
10793
10794 2012-08-21 Martin Rudalics <rudalics@gmx.at>
10795
10796 * window.el (window-point-1, set-window-point-1): Remove.
10797 (window-in-direction, record-window-buffer)
10798 (set-window-buffer-start-and-point, split-window-below)
10799 (window--state-get-1, display-buffer-record-window):
10800 Replace calls to window-point-1 and set-window-point-1 by calls to
10801 window-point and set-window-point respectively.
10802
10803 2012-08-21 Glenn Morris <rgm@gnu.org>
10804
10805 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
10806 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
10807 Use it.
10808
10809 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
10810 (cal-tex-shortday): New function.
10811 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
10812 (cal-tex-cursor-filofax-daily): Use the above.
10813
10814 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
10815 New functions.
10816 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10817 (cal-tex-cursor-filofax-week): Use them.
10818
10819 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
10820 New constants.
10821 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10822 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
10823
10824 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
10825 (cal-tex-end-document): Don't rely on buffer name.
10826
10827 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
10828 Use cal-tex-vspace.
10829 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
10830 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
10831 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
10832 Use cal-tex-arg.
10833
10834 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
10835 (cal-tex-cursor-week, cal-tex-cursor-week2)
10836 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
10837 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10838 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
10839 (cal-tex-insert-preamble, cal-tex-b-document)
10840 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
10841 Improve cal-tex-cmd usage.
10842
10843 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
10844 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
10845 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
10846 (cal-tex-weekly-paper): New function.
10847 (cal-tex-cursor-week, cal-tex-cursor-week2)
10848 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
10849 (cal-tex-cursor-day): Use it.
10850
10851 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
10852 (cal-tex-cursor-filofax-week): Remove leading blank page.
10853
10854 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10855 Add autoload cookie. For now at least, don't use color, since
10856 no other cal-tex function does.
10857
10858 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
10859 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10860 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
10861
10862 2012-08-21 Juri Linkov <juri@jurta.org>
10863
10864 * info.el (Info-file-attributes): New variable.
10865 (info-insert-file-contents): Add file attributes to
10866 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
10867 `Info-toc-nodes' when previous modtime of the Info file is less
10868 than new modtime.
10869 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
10870 of info.el. (Bug#12230)
10871
10872 2012-08-20 Glenn Morris <rgm@gnu.org>
10873
10874 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
10875 * calendar/holidays.el (calendar-holiday-list):
10876 Report errors with display-warning rather than beep'n'sleep.
10877
10878 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
10879
10880 * net/tramp.el (tramp-accept-process-output): Accept only output
10881 from PROC. Otherwise, process filters and sentinels might be
10882 confused. (Bug#12145)
10883
10884 2012-08-20 Chong Yidong <cyd@gnu.org>
10885
10886 * descr-text.el (describe-text-properties-1): Use overlays-in to
10887 report on empty overlays (Bug#3322).
10888
10889 2012-08-20 Glenn Morris <rgm@gnu.org>
10890
10891 * mail/rmailout.el (rmail-output-read-file-name):
10892 Trap and report errors in rmail-output-file-alist elements.
10893
10894 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
10895 since most non-font-lock faces are not also variables).
10896
10897 2012-08-20 Edward Reingold <reingold@iit.edu>
10898
10899 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10900 New function. (Bug12160)
10901
10902 2012-08-19 Glenn Morris <rgm@gnu.org>
10903
10904 * mail/rmailout.el (rmail-output-read-file-name):
10905 Fix previous change (when the alist is nil or does not match).
10906
10907 2012-08-19 Chong Yidong <cyd@gnu.org>
10908
10909 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
10910 (Bug#12228).
10911
10912 2012-08-18 Chong Yidong <cyd@gnu.org>
10913
10914 * simple.el (yank-handled-properties): New defcustom.
10915 (yank-excluded-properties): Add font-lock-face and category.
10916 (yank): Doc fix.
10917
10918 * subr.el (remove-yank-excluded-properties):
10919 Obey yank-handled-properties. The special handling of font-lock-face
10920 and category is now done this way, instead of being hard-coded.
10921 (insert-for-yank-1): Remove font-lock-face handling.
10922 (yank-handle-font-lock-face-property)
10923 (yank-handle-category-property): New function.
10924
10925 2012-08-17 Glenn Morris <rgm@gnu.org>
10926
10927 * mail/rmailout.el (rmail-output-read-file-name):
10928 Check rmail-output-file-alist against the full message body
10929 in the correct rmail buffer. (Bug#12214)
10930
10931 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
10932
10933 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10934 Eliminate superfluous prompt. (Bug#12203)
10935
10936 2012-08-17 Chong Yidong <cyd@gnu.org>
10937
10938 * mouse.el (mouse-appearance-menu): If x-select-font returns a
10939 font spec, set the font directly (Bug#3228).
10940
10941 2012-08-17 Martin Rudalics <rudalics@gmx.at>
10942
10943 * window.el (delete-window): Fix last fix.
10944
10945 2012-08-16 Martin Rudalics <rudalics@gmx.at>
10946
10947 * window.el (window-valid-p): Move to window.c.
10948 (window-child, window-child-count, window-last-child)
10949 (window-normalize-window, window-combined-p)
10950 (window-combinations, window-atom-root, window-min-size)
10951 (window-sizable, window-sizable-p, window-size-fixed-p)
10952 (window-min-delta, window-max-delta, window--resizable)
10953 (window--resizable-p, window-resizable, window-total-size)
10954 (window-full-height-p, window-full-width-p, window-body-size)
10955 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
10956 (minimize-window, window-deletable-p, delete-window)
10957 (delete-other-windows, set-window-buffer-start-and-point)
10958 (next-buffer, previous-buffer, split-window, balance-windows-2)
10959 (set-window-text-height, window-buffer-height)
10960 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
10961 (truncated-partial-width-window-p): Minor code adjustments.
10962 In doc-strings state whether the argument window has to denote a
10963 live, valid or any window.
10964
10965 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
10966
10967 * progmodes/subword.el (subword-forward-function)
10968 (subword-backward-function, subword-forward-regexp)
10969 (subword-backward-regexp): New variables.
10970 (subword-forward, subword-forward-internal, subword-backward-internal):
10971 Use new variables, eg so that different "word" definitions
10972 can be easily used. (Bug#11411)
10973
10974 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10975
10976 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
10977 for composite selectors.
10978 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
10979 operation just because we can't find a previous revision.
10980
10981 2012-08-15 Chong Yidong <cyd@gnu.org>
10982
10983 * frame.el (set-frame-font): Accept font objects.
10984
10985 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10986
10987 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
10988
10989 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
10990
10991 * man.el (Man-overstrike-face, Man-underline-face)
10992 (Man-reverse-face): Remove variables.
10993 (Man-overstrike, Man-underline, Man-reverse): New faces.
10994 (Man-fontify-manpage): Use them instead of the variables.
10995 (Man-cleanup-manpage): Comment change.
10996 (Man-ansi-color-map): New variable.
10997 (Man-fontify-manpage): Use it.
10998 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
10999
11000 Implement ANSI SGR parameters 22-27 (bug#12146).
11001 * ansi-color.el (ansi-colors): Doc fix.
11002 (ansi-color-context, ansi-color-context-region): Doc fix.
11003 (ansi-color--find-face): New function.
11004 (ansi-color-apply, ansi-color-apply-on-region): Use it.
11005 Rename the local variable `face' to `codes' since it is now a list of
11006 ansi codes. Doc fix.
11007 (ansi-color-get-face): Remove.
11008 (ansi-color-parse-sequence): New function, derived from
11009 ansi-color-get-face.
11010 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
11011 codes 22-27.
11012
11013 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
11014
11015 * subr.el (read-passwd): Allow use from a minibuffer.
11016
11017 2012-08-14 Eli Zaretskii <eliz@gnu.org>
11018
11019 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
11020 inside comments and strings as identifiers.
11021
11022 * progmodes/gud.el (gud-tooltip-print-command): Quote the
11023 expression to evaluate. This allows to evaluate expressions with
11024 embedded whitespace.
11025 (gud-tooltip-tips): Add a blank before the newline in the
11026 message-box text, for the benefit of message-box emulation on
11027 MS-Windows.
11028
11029 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
11030 messages from GDB, pop them up in a tooltip to give feedback to
11031 user.
11032 (gdb-tooltip-print-1): Quote the expression to evaluate.
11033 This allows to evaluate expressions with embedded whitespace.
11034 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
11035 if the TTY name is nil or empty (which happens when communicating
11036 with the inferior via pipes, e.g. on MS-Windows).
11037 (gdb-internals): If GDB sends a "&\n" empty debugging message,
11038 don't send that to the GUD buffer.
11039
11040 2012-08-14 Glenn Morris <rgm@gnu.org>
11041
11042 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
11043 Optimize away setq-default with no args, as for setq. (Bug#12195)
11044
11045 2012-08-14 Chong Yidong <cyd@gnu.org>
11046
11047 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
11048
11049 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
11050 (Bug#12085).
11051
11052 2012-08-14 Glenn Morris <rgm@gnu.org>
11053
11054 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
11055
11056 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
11057
11058 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
11059 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
11060 Use cached shell name.
11061
11062 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11063
11064 * progmodes/python.el (python-shell-send-string):
11065 (python-shell-send-setup-code): Do not use `format' with `message'.
11066
11067 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
11068
11069 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
11070 (ruby-percent-literal-beg-re): New constant.
11071 (ruby-syntax-general-delimiters-goto-beg): Rename to
11072 `ruby-syntax-enclosing-percent-literal', improve literal type check.
11073 (ruby-syntax-propertize-general-delimiters): Rename to
11074 `ruby-syntax-propertize-percent-literal', it's a shorter and more
11075 popular term. Adjust comments everywhere.
11076 (ruby-syntax-propertize-percent-literal): Only propertize when not
11077 inside a simple string or comment. When the literal is unclosed,
11078 leave the text after it unpropertized.
11079 (ruby-syntax-methods-before-regexp): New constant.
11080 (ruby-syntax-propertize-function): Use it to recognize regexps.
11081 Don't look at the text after regexp, just use the whitelist.
11082
11083 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
11084
11085 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
11086 non-nil always load the compiled file if it exists. (Bug#12197)
11087
11088 2012-08-14 Chong Yidong <cyd@gnu.org>
11089
11090 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
11091 (hi-lock-set-pattern): When deciding whether to use font lock or
11092 overlays, look at font-lock-mode instead of font-lock-fontified
11093 (Bug#12168).
11094 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
11095 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
11096
11097 2012-08-14 Daiki Ueno <ueno@unixuser.org>
11098
11099 * subr.el (internal--after-with-selected-window): Fix typo
11100 (Bug#12193).
11101
11102 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11103
11104 Use `completion-table-dynamic' for completion functions.
11105 * progmodes/python.el
11106 (python-shell-completion--do-completion-at-point)
11107 (python-shell-completion--get-completions):
11108 Remove functions.
11109 (python-shell-completion-complete-at-point): New function.
11110 (python-completion-complete-at-point): Use it.
11111
11112 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
11113
11114 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
11115 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
11116
11117 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
11118
11119 * subr.el (function-get): Refine `autoload' arg so it can also
11120 autoload functions for gv.el (bug#12191).
11121 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
11122 autoloads macros.
11123
11124 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
11125 Prefer pcase-let over destructuring-bind.
11126 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
11127 Also, remove whitespace as we go, rather than after accumulating the
11128 various places.
11129
11130 * subr.el (internal--before-with-selected-window)
11131 (internal--after-with-selected-window): Fix typo seleted->selected.
11132 (with-selected-window): Adjust callers.
11133 Reported by Dmitry Gutov <dgutov@yandex.ru>.
11134
11135 2012-08-13 Bastien Guerry <bzg@gnu.org>
11136
11137 * window.el (special-display-popup-frame): Minor docstring
11138 enhancement. (Bug#12172)
11139
11140 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
11141
11142 * tar-mode.el (tar-header-data-end): Only ignore size for files of
11143 type 1-6.
11144 (tar-header-block-summarize, tar-get-descriptor): Handle pax
11145 extended headers.
11146
11147 * files.el (hack-local-variables-filter): Remove useless eval.
11148
11149 2012-08-13 Martin Rudalics <rudalics@gmx.at>
11150
11151 * subr.el (with-selected-window): Fix last change.
11152
11153 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11154
11155 * subr.el (internal--before-with-seleted-window)
11156 (internal--after-with-seleted-window): New functions.
11157 (with-selected-window): Use them, to replace dependency on
11158 tty-top-frame.
11159
11160 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
11161
11162 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
11163 binding for `newline'.
11164 (ruby-move-to-block): When moving backward, stop at block opening,
11165 not indentation.
11166 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
11167 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
11168 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
11169 `ruby-toggle-block'.
11170
11171 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11172
11173 * ibuffer.el (ibuffer-do-toggle-read-only):
11174 * dired.el (dired-toggle-read-only):
11175 * buff-menu.el (Buffer-menu-toggle-read-only):
11176 * bindings.el (mode-line-toggle-read-only):
11177 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
11178
11179 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
11180
11181 * descr-text.el (describe-char): Put the overlays over the
11182 "displayed as" character.
11183
11184 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
11185
11186 * calc/calc-units.el (math-default-units-table): Give an
11187 initial value.
11188 (math-put-default-units): Add options to put composite units and
11189 unit systems in the default units table.
11190 (calc-convert-units): Send composite units to
11191 `math-put-default-units' when appropriate.
11192
11193 2012-08-11 Glenn Morris <rgm@gnu.org>
11194
11195 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
11196
11197 * tutorial.el (help-with-tutorial):
11198 * emacs-lisp/copyright.el (copyright-update-directory):
11199 * emacs-lisp/autoload.el (autoload-find-generated-file)
11200 (autoload-find-file): Disable local eval: (for insurance).
11201
11202 * files.el (hack-local-variables-filter): If an eval: form is not
11203 known to be safe, and enable-local-variables is :safe, then ignore
11204 the form totally, as is done for non-eval forms. (Bug#12155)
11205 This is CVE-2012-3479.
11206
11207 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
11208
11209 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
11210 (rx-form): Simplify.
11211
11212 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
11213
11214 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
11215 ?, _, and : are symbol constituents, ! is not (but kinda should be).
11216 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
11217 (ruby-syntax-propertize-function): Adjust for changes in
11218 `ruby-syntax-propertize-heredoc'.
11219
11220 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
11221
11222 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
11223 binding (use `M-;' instead).
11224 (ruby-singleton-class-p): New function.
11225 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
11226
11227 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
11228
11229 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
11230
11231 2012-08-10 Chong Yidong <cyd@gnu.org>
11232
11233 * progmodes/python.el (python-shell-get-process-name): Don't mess
11234 with same-window-buffer-names.
11235
11236 * eshell/eshell.el (eshell-add-to-window-buffer-names)
11237 (eshell-remove-from-window-buffer-names): Make obsolete.
11238 (eshell-buffer-name, eshell-unload-hook): Don't use them.
11239 (eshell): Just use pop-to-buffer-same-window instead.
11240
11241 2012-08-10 Chong Yidong <cyd@gnu.org>
11242
11243 * bindings.el: Bind M-= back to count-words-region.
11244
11245 * simple.el (count-words-region): Accept a prefix arg for acting
11246 on the entire buffer.
11247 (count-words--buffer-message): New helper function.
11248
11249 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
11250
11251 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
11252 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
11253 (event-start, event-end): Use posn-at-point to return a more
11254 informative posn.
11255 (posnp): New function.
11256 * mouse.el (popup-menu-normalize-position): Use it.
11257
11258 2012-08-10 Masatake YAMATO <yamato@redhat.com>
11259
11260 * mouse.el (popup-menu-normalize-position): New function.
11261 (popup-menu): Use `popup-menu-normalize-position' to normalize
11262 the form for POSITION argument.
11263
11264 * term/x-win.el (x-menu-bar-open):
11265 Use the value returend from (posn-at-point) as position
11266 passed to `popup-menu'.
11267
11268 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
11269
11270 * calc/calccomp.el (math-compose-expr): Add extra argument
11271 indicating that parentheses should be put around products in
11272 denominators. Give multiplication precedence over division during
11273 composition.
11274
11275 2012-08-09 Chong Yidong <cyd@gnu.org>
11276
11277 * man.el (Man-switches, Man-sed-command, Man-awk-command)
11278 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
11279 (Man-untabify-command, manual-program): Convert to defcustom
11280 (Bug#10429).
11281
11282 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
11283
11284 * descr-text.el (describe-char): Don't insert extra newlines
11285 (Bug#10127).
11286
11287 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
11288 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
11289
11290 * align.el (align-region): Delete temporary markers (Bug#10047).
11291 Plus some code cleanups.
11292
11293 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11294
11295 * progmodes/python.el (python-pdbtrack-tracked-buffer)
11296 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
11297 (python-shell-internal-last-output): Use make-local-variable
11298 instead of make-variable-buffer-local.
11299
11300 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11301
11302 * progmodes/python.el: Enhancements to forward-sexp.
11303 (python-nav-forward-sexp): Rename from
11304 python-nav-forward-sexp-function.
11305 (python-nav--forward-sexp, python-nav--backward-sexp):
11306 New functions.
11307
11308 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
11309
11310 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
11311 modes and simplification modes.
11312
11313 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
11314
11315 * delsel.el (delete-selection-pre-hook): Don't propagate the
11316 file-supersession signals (bug#12161).
11317
11318 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
11319
11320 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
11321 (cl-map-extents): Add compatibility aliases (bug#12135).
11322
11323 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
11324
11325 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
11326 tests by `ignore-error'.
11327 (tramp-find-shell): Open also a new shell, when cache is already
11328 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
11329
11330 2012-08-08 Juri Linkov <juri@jurta.org>
11331
11332 * bookmark.el: Add `defaults' property to the bookmark record.
11333 (bookmark-current-buffer): Doc fix.
11334 (bookmark-make-record): Add `defaults' property with default values
11335 to the bookmark record.
11336 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
11337 with `bookmark-insert-current-bookmark'.
11338 (bookmark-set): Get `defaults' property from the bookmark record
11339 and use it in `read-from-minibuffer'.
11340 (bookmark-insert-current-bookmark): Remove function.
11341
11342 * info.el (Info-bookmark-make-record): Add `defaults' property
11343 with values of canonical Info node name, the current Info file
11344 name and the current Info node name. (Bug#12107)
11345
11346 2012-08-08 Juri Linkov <juri@jurta.org>
11347
11348 * files.el (basic-save-buffer): Use `buffer-name' as the default
11349 of `read-file-name' when buffer is not visiting a file (bug#12128).
11350
11351 2012-08-08 Juri Linkov <juri@jurta.org>
11352
11353 * info.el (Info-isearch-search): Doc fix.
11354 (Info-search): Change search-failed message from "initial node" to
11355 "end of node" (bug#12078).
11356 (Info-isearch-search): Change `isearch-string-state' to
11357 `isearch--state-string'.
11358
11359 2012-08-08 Glenn Morris <rgm@gnu.org>
11360
11361 * language/persian.el: Remove file.
11362 * language/misc-lang.el: Move unique part of persian.el here.
11363 * loadup.el: Remove language/persian.
11364
11365 2012-08-08 Ă“scar Fuentes <ofv@wanadoo.es>
11366
11367 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
11368
11369 2012-08-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11370
11371 * progmodes/python.el: Fix defsubst warning.
11372 (python-syntax-context) Rename from python-info-ppss-context.
11373 (python-syntax-context-type): Rename from
11374 python-info-ppss-context-type.
11375 (python-syntax-comment-or-string-p): Rename from
11376 python-info-ppss-comment-or-string-p.
11377
11378 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
11379
11380 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
11381
11382 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
11383
11384 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
11385 a defcustom that is quoted with backquote.
11386
11387 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
11388 Fix handling of interactive spec when the body uses return.
11389 (math-do-arg-check, math-define-function-body): Use backquote forms.
11390 * calc/calc-ext.el (math-defcache): Likewise.
11391 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
11392 * allout.el (allout-new-exposure): Likewise.
11393 * calc/calcalg2.el (math-tracing-integral): Likewise.
11394 * info.el (Info-last-menu-item): Likewise.
11395 * emulation/vip.el (vip-loop): Likewise.
11396 * textmodes/artist.el (artist-funcall): Likewise.
11397 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
11398 Construct menu-item directly.
11399
11400 * progmodes/autoconf.el (font-lock-syntactic-keywords):
11401 Don't declare.
11402
11403 2012-08-07 Chong Yidong <cyd@gnu.org>
11404
11405 * simple.el (deactivate-mark): Preserve text properties when
11406 saving the primary selection (Bug#8384).
11407
11408 2012-08-07 Kevin Ryde <user42@zip.com.au>
11409
11410 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
11411 (woman-parse-numeric-value): On a bad .IP line, issue a warning
11412 and continue processing (Bug#12110).
11413
11414 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
11415
11416 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
11417 syntax-propertize-function (bug#10095).
11418
11419 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
11420
11421 * help-fns.el (help-fns--key-bindings, help-fns--signature)
11422 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
11423 describe-function-1.
11424 (describe-function-1): Use them. Move compiler macro after sig.
11425 (help-fns--compiler-macro): Use function-get. Assume we're already in
11426 standard-output. Adjust layout to new call order.
11427
11428 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
11429 re-binding a symbol that has a symbol-macro (bug#12119).
11430
11431 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
11432
11433 * language/persian.el: New file. (Bug#11812)
11434 * loadup.el: Add language/persian.el.
11435
11436 2012-08-06 Chong Yidong <cyd@gnu.org>
11437
11438 * window.el (window--maybe-raise-frame): New function.
11439 (window--display-buffer): Split off from here.
11440 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11441 (display-buffer-pop-up-window, display-buffer-use-some-window):
11442 Obey an inhibit-switch-frame action alist entry.
11443 (display-buffer): Update doc.
11444
11445 * replace.el (occur-after-change-function): Avoid losing focus by
11446 using the inhibit-switch-frame display parameter (Bug#12139).
11447
11448 2012-08-06 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11449
11450 Make internal shell process buffer names start with space.
11451 * progmodes/python.el (python-shell-make-comint): Add optional
11452 argument INTERNAL.
11453 (run-python-internal): Use it.
11454 (python-shell-internal-get-or-create-process): Check for new
11455 internal buffer names.
11456
11457 2012-08-06 Glenn Morris <rgm@gnu.org>
11458
11459 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
11460 Do less getting and setting of environment variables.
11461
11462 2012-08-05 Chong Yidong <cyd@gnu.org>
11463
11464 * proced.el (proced): Add substitution string to docstring to
11465 trigger autoloading of the proced library on C-h f (Bug#1768).
11466
11467 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11468 Don't show defvars which have no second argument (Bug#8638).
11469
11470 * imenu.el (imenu-generic-expression): Move documentation here
11471 from imenu--generic-function.
11472 (imenu--generic-function): Refer to imenu-generic-expression.
11473
11474 2012-08-05 Vegard Ă˜ye <vegard_oye@hotmail.com> (tiny change)
11475
11476 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
11477 indentation declaration.
11478 (viper-loop): Add indentation declaration (Bug#7025).
11479
11480 2012-08-05 Chong Yidong <cyd@gnu.org>
11481
11482 * help-fns.el (describe-variable): Add hyperlink for
11483 directory-local variables files. Improve buffer-local and
11484 permanent-local reporting; suggested by MON KEY (Bug#6644).
11485
11486 * help-mode.el (help-dir-local-var-def): New button type.
11487
11488 * files.el (kill-buffer-hook): Provide a defvar.
11489
11490 2012-08-05 Glenn Morris <rgm@gnu.org>
11491
11492 * eshell/esh-ext.el (eshell/addpath):
11493 Also update eshell-path-env. (Bug#12013)
11494
11495 2012-08-05 Chong Yidong <cyd@gnu.org>
11496
11497 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
11498
11499 * fringe.el (fringe-styles): Add docstring.
11500 (fringe--check-mode): New function.
11501 (set-fringe-mode, set-fringe-style): Use it.
11502 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
11503
11504 * files.el (set-auto-mode): Fix invalid setq call.
11505
11506 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11507
11508 * isearch.el: Misc simplification; use defstruct.
11509 (isearch-mode-map): Dense maps now work like sparse ones.
11510 (isearch--state): New defstruct.
11511 (isearch-string-state, isearch-message-state, isearch-point-state)
11512 (isearch-success-state, isearch-forward-state)
11513 (isearch-other-end-state, isearch-word-state, isearch-error-state)
11514 (isearch-wrapped-state, isearch-barrier-state)
11515 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
11516 replaced by defstruct's accessors.
11517 (isearch--set-state): Rename from isearch-top-state and change
11518 calling convention.
11519 (isearch-push-state): Use new isearch--get-state.
11520 (isearch-toggle-word): Disable regexp when enabling word.
11521 (isearch-message-prefix): Remove unused arg _c-q-hack.
11522 (isearch-message-suffix): Remove unused arg _ellipsis.
11523
11524 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
11525
11526 * simple.el (list-processes--refresh): For a server use :host or
11527 :local as the address.
11528 (list-processes): Doc fix.
11529
11530 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
11531
11532 * lisp/mpc.el: Support password in host argument.
11533 (mpc--proc-connect): Parse and use new password element.
11534 Set mpc-proc variable instead of returning process.
11535 (mpc-proc): Adjust accordingly.
11536
11537 2012-08-03 Eli Zaretskii <eliz@gnu.org>
11538
11539 * whitespace.el (whitespace-display-mappings): Use Unicode
11540 codepoints, instead of emacs-mule codepoints. See
11541 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
11542 for the details.
11543
11544 * files.el (file-truename): Don't skip symlink-chasing part on
11545 windows-nt. Incorporate the resolution of 8+3 short aliases on
11546 Windows into the loop that recursively chases symlinks.
11547 Compare directory and its parent case-insensitively on MS-Windows and
11548 MS-DOS.
11549
11550 2012-08-03 Chong Yidong <cyd@gnu.org>
11551
11552 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
11553
11554 * sort.el (sort-regexp-fields): Doc fix.
11555
11556 2012-08-03 Tassilo Horn <tsdh@gnu.org>
11557
11558 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
11559 labels regex position point at the expected place.
11560
11561 2012-08-03 MON KEY <monkey@sandpframing.com>
11562
11563 * net/imap.el (imap-interactive-login, imap-authenticate)
11564 (imap-mailbox-lsub, imap-mailbox-list)
11565 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
11566 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
11567 (imap-parse-response): Doc fix.
11568
11569 2012-08-03 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
11570
11571 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
11572 if sexp scanning does not move point (Bug#5734).
11573
11574 2012-08-02 Tassilo Horn <tsdh@gnu.org>
11575
11576 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
11577 Add listings, minted, and ctable packages.
11578 (reftex-label-alist-builtin): Move listings, minted, and ctable
11579 entries before LaTeX.
11580 (reftex-label-alist): Docfix.
11581
11582 2012-08-02 Bastien Guerry <bzg@gnu.org>
11583
11584 * replace.el (occur): Fix docstring (bug#12122).
11585
11586 2012-08-02 Glenn Morris <rgm@gnu.org>
11587
11588 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
11589
11590 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
11591
11592 Obsolete alias inactivate-current-input-method-function (Bug#10150).
11593 * international/mule-cmds.el: Create
11594 inactivate-current-input-method-function as an obsolete alias for
11595 deactivate-current-input-method-function. See Katsumi Yamaoka in
11596 <http://bugs.gnu.org/10150#46>.
11597
11598 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
11599
11600 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
11601 of nested `if's.
11602
11603 2012-08-01 Glenn Morris <rgm@gnu.org>
11604
11605 * progmodes/autoconf.el (autoconf-definition-regexp):
11606 Add AH_TEMPLATE, adjust submatch numbering.
11607 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
11608 (autoconf-current-defun-function): Update for above change.
11609 (autoconf-current-defun-function): First skip to end of current word.
11610
11611 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
11612
11613 * calendar/cal-html.el (cal-html-insert-agenda-days):
11614 Fix typo. (Bug#12018)
11615
11616 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11617
11618 Shell processes: enhancements to startup and CEDET compatibility.
11619 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
11620 (python-shell-make-comint): accept-process-output at startup.
11621 (run-python-internal): Set inferior-python-mode-hook to nil.
11622 (python-shell-internal-get-or-create-process): Call sit-for.
11623 (python-preoutput-result): Add obsolete alias.
11624 (python-shell-internal-send-string): Use it.
11625 (python-shell-send-setup-code): Remove call to
11626 accept-process-output.
11627
11628 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
11629
11630 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
11631 (Bug#12108)
11632
11633 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
11634
11635 * calc-mode.el (calc-basic-simplification-mode): Rename from
11636 `calc-limited-simplification-mode'.
11637 (calc-alg-simplification-mode): New function.
11638 (calc-set-simplify-mode): Adjust message.
11639
11640 * calc.el (calc-set-mode-line): Adjust mode line display for
11641 basic simplification mode.
11642
11643 * calc-help.el (calc-m-prefix-help): Update help message.
11644
11645 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
11646 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
11647
11648 2012-07-31 Bastien Guerry <bzg@gnu.org>
11649
11650 * man.el (man): Fix comment. (bug#12101)
11651
11652 2012-07-31 Martin Rudalics <rudalics@gmx.at>
11653
11654 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
11655 Don't return a non-nil value when no suitable buffer was found.
11656
11657 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11658
11659 * progmodes/python.el (run-python-internal): Disable font lock for
11660 internal shells.
11661
11662 2012-07-30 Stefan Merten <smerten@oekonux.de>
11663
11664 * textmodes/rst.el: Silence `checkdoc-ispell'.
11665 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
11666 (rst-official-version, rst-official-cvs-rev)
11667 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
11668 (rst-mode-map): New key binding.
11669
11670 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
11671
11672 Update .PHONY listings in makefiles.
11673 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
11674 autoloads, update-subdirs, updates, bzr-update, update-authors,
11675 compile-onefile, compile-calc, backup-compiled-files,
11676 compile-after-backup, compile-one-process, mh-autoloads,
11677 bootstrap-clean, distclean, maintainer-clean.
11678
11679 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
11680
11681 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
11682 (calc-set-mode-line): Don't display "AlgSimp ".
11683
11684 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
11685 (calc-lim-simplify-mode): New function.
11686 (calc-set-simplify-mode): Default to 'alg.
11687 (calc-default-simplify-mode): Make algebraic simplifications
11688 the default.
11689
11690 * calc/calc-ext.el (calc-init-extensions): Remove binding for
11691 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
11692
11693 * calc/calc-help.el (calc-m-prefix-help): Change messages to
11694 indicate new simplification modes.
11695
11696 * calc/README: Mention new default simplification mode.
11697
11698 * calc/calc.el (math-normalize-error): New variable.
11699 (math-normalize): Set `math-normalize-error' to t
11700 when there's an error.
11701
11702 * calc/calc-alg.el (math-simplify): Don't simplify when
11703 `math-normalize' returns an error.
11704
11705 2012-07-29 Eli Zaretskii <eliz@gnu.org>
11706
11707 * international/mule-cmds.el (set-locale-environment): Revert last
11708 change, since display-graphic-p returns nil when this function is
11709 called during startup. Instead...
11710
11711 * term/w32console.el (terminal-init-w32console): ...setup the
11712 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
11713
11714 2012-07-29 Juri Linkov <juri@jurta.org>
11715
11716 * simple.el (goto-line): Don't display default line number in the
11717 prompt because it should be displayed by `read-number' (bug#9952).
11718 Add the current line number to the defaults of `goto-line' to
11719 allow its easier modification by users with `M-n' (bug#9201).
11720
11721 * subr.el (read-number): Support multiple default values like in
11722 other minibuffer reading functions. Replace `read' with
11723 `string-to-number' for consistency with `number-to-string'.
11724
11725 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
11726
11727 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
11728 * emulation/viper-init.el (viper-deactivate-input-method-action):
11729 Rename from viper-inactivate-input-method-action.
11730 (viper-deactivate-input-method):
11731 Rename from viper-inactivate-input-method.
11732 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
11733 * international/mule-cmds.el (deactivate-input-method):
11734 Rename from inactivate-input-method.
11735 Also run input-method-deactivate-hook.
11736 (deactivate-current-input-method-function):
11737 Rename from inactivate-current-input-method-function.
11738 (input-method-deactivate-hook): New hook.
11739 (input-method-inactivate-hook): Mark obsolete.
11740 (inactivate-input-method): Mark obsolete.
11741
11742 * international/quail.el (quail-activate):
11743 Also run quail-deactivate-hook.
11744 (quail-deactivate): Rename from quail-inactivate.
11745 * international/robin.el (robin-activate):
11746 Also run robin-deactivate-hook.
11747 (robin-deactivate): Rename from robin-inactivate.
11748
11749 2012-07-29 Chong Yidong <cyd@gnu.org>
11750
11751 * simple.el (indicate-copied-region): New function.
11752 (kill-ring-save): Split off from here.
11753
11754 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
11755 (kill-rectangle): Set deactivate-mark to t on read-only error.
11756
11757 * register.el (copy-to-register, copy-rectangle-to-register):
11758 Deactivate the mark, and use indicate-copied-region (Bug#10056).
11759 (append-to-register, prepend-to-register): Call indicate-copied-region.
11760
11761 2012-07-29 Juri Linkov <juri@jurta.org>
11762
11763 * simple.el (async-shell-command-buffer): New defcustom.
11764 (shell-command): Use it. (Bug#4719)
11765
11766 2012-07-28 Eli Zaretskii <eliz@gnu.org>
11767
11768 * international/mule-cmds.el (set-locale-environment): In a
11769 console session on MS-Windows, set up keyboard and terminal
11770 encoding from the OEM codepage, not the ANSI codepage.
11771 (Bug#12055)
11772
11773 2012-07-28 Chong Yidong <cyd@gnu.org>
11774
11775 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
11776 gdb-get-location.
11777
11778 2012-07-28 Leo Liu <sdl.web@gmail.com>
11779
11780 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
11781 the alist (bug#12029).
11782
11783 2012-07-28 Eli Zaretskii <eliz@gnu.org>
11784
11785 * makefile.w32-in (custom-deps, finder-data, updates, compile)
11786 (compile-always, compile-first)
11787 ($(lisp)/calendar/cal-loaddefs.el)
11788 ($(lisp)/calendar/diary-loaddefs.el)
11789 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11790 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
11791 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
11792 instead of on update-subdirs.
11793 (bootstrap-clean): Delete $(lisp)/subdirs.el.
11794
11795 2012-07-28 Chong Yidong <cyd@gnu.org>
11796
11797 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
11798 directory if vc-deduce-backend returns nil (Bug#7350).
11799
11800 * simple.el (delete-trailing-lines): New option.
11801 (delete-trailing-whitespace): Obey it (Bug#11879).
11802
11803 2012-07-28 David Engster <deng@randomsample.de>
11804
11805 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
11806 Explanation of new 'symbol-qnames feature in doc-strings.
11807 (xml-maybe-do-ns): Return expanded names as plain symbols if
11808 'symbol-qnames was provided in XML-NS argument (Bug#11916).
11809 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
11810
11811 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11812
11813 Consistent completion in inferior python with emacs -nw.
11814 * progmodes/python.el (inferior-python-mode): Replace "<tab>"
11815 binding in inferior-python-mode-map with "\t".
11816 (python-shell-completion-complete-at-point)
11817 (python-completion-complete-at-point): Remove interactive spec.
11818
11819 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11820
11821 * calc/calccomp.el (math-compose-expr): Undo previous change.
11822
11823 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11824
11825 * progmodes/python.el (python-mode-map): Add keybinding for
11826 run-python.
11827 (python-shell-make-comint): Fix pop-to-buffer call.
11828 (run-python): Autoload. New arg SHOW.
11829 (python-shell-get-or-create-process): Do not pop python process
11830 buffer.
11831
11832 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
11833
11834 * notifications.el (notifications-on-action-signal)
11835 (notifications-on-closed-signal): Use also the bus address for the map.
11836 (notifications-notify, notifications-close-notification)
11837 (notifications-get-capabilities): Add optional argument BUS.
11838
11839 2012-07-27 Tassilo Horn <tsdh@gnu.org>
11840
11841 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
11842 Add support for the lstlisting and minted environments, and for the
11843 ctable macro.
11844 * textmodes/reftex.el (reftex-compile-variables): Also recognize
11845 labels written in keyvals syntax.
11846
11847 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11848
11849 * calc/calccomp.el (math-compose-expr): Use parentheses when
11850 there is a product in the denominator of a fraction.
11851
11852 2012-07-26 Eli Zaretskii <eliz@gnu.org>
11853
11854 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
11855 ($(lisp)/calendar/diary-loaddefs.el)
11856 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11857 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
11858 Fixes failures in parallel bootstrap because subdirs.el is being
11859 rewritten while the autoload files are built at the same time,
11860 which needs to load subdirs.el.
11861
11862 2012-07-26 Martin Rudalics <rudalics@gmx.at>
11863
11864 * mouse.el (popup-menu): Fix doc-string and re-indent code.
11865 (mouse-drag-line): Don't exit tracking when a switch-frame or
11866 switch-window event occurs (Bug#12006).
11867
11868 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11869
11870 * mouse.el (popup-menu): Fix last change.
11871
11872 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11873
11874 Autoload from Lisp with more care. Follow aliases when looking for
11875 function properties.
11876 * subr.el (autoloadp): New function.
11877 (symbol-file): Use it.
11878 (function-get): New function.
11879 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
11880 autoload-do-load.
11881 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
11882 (lisp-indent-function):
11883 * emacs-lisp/gv.el (gv-get):
11884 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
11885 * emacs-lisp/byte-opt.el (byte-optimize-form):
11886 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11887 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
11888 Use function-get.
11889 * emacs-lisp/cl.el: Don't propagate function properties any more.
11890
11891 * speedbar.el (speedbar-add-localized-speedbar-support):
11892 * emacs-lisp/disass.el (disassemble-internal):
11893 * desktop.el (desktop-load-file):
11894 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
11895 (describe-function-1):
11896 * emacs-lisp/find-func.el (find-function-noselect):
11897 * emacs-lisp/elp.el (elp-instrument-function):
11898 * emacs-lisp/advice.el (ad-has-proper-definition):
11899 * apropos.el (apropos-safe-documentation, apropos-macrop):
11900 * emacs-lisp/debug.el (debug-on-entry):
11901 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
11902 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
11903 * calc/calc.el (name): Use autoloadp & autoload-do-load.
11904
11905 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
11906
11907 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
11908 function, not an obsolete variable (Bug#12046).
11909
11910 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11911
11912 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
11913
11914 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
11915
11916 * emacs-lisp/pp.el (pp-display-expression): Select old selected
11917 window only if it is still live (Bug#12034).
11918
11919 2012-07-25 Martin Rudalics <rudalics@gmx.at>
11920
11921 * subr.el (redirect-frame-focus): Add advertised calling
11922 convention (Bug#12030).
11923
11924 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
11925
11926 Prefer typical American spelling for "acknowledgment".
11927 * vc/add-log.el (change-log-acknowledgment): Rename from
11928 change-log-acknowledgement, with an alias for the old name.
11929
11930 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
11931
11932 * calc-alg.el (math-simplify-divide): Don't cross multiply
11933 in an equation when the lhs is a variable.
11934
11935 2012-07-24 Julien Danjou <julien@danjou.info>
11936
11937 * net/netrc.el (netrc-find-service-number, netrc-store-data):
11938 Remove, unused.
11939
11940 2012-07-23 Eli Zaretskii <eliz@gnu.org>
11941
11942 * startup.el (command-line): Don't display an empty user name in
11943 the error message about non-existent home directory, when
11944 init-file-user was set to an empty string. See
11945 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
11946 for the details and context.
11947
11948 2012-07-22 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11949
11950 * ses.el (ses-cell-formula-aset): New macro.
11951 (ses-cell-references-aset): New macro.
11952 (ses-cell-p): New function.
11953 (ses-rename-cell): Do no longer rely on complex operations like
11954 ses-cell-set-formula or ses-set-cell to change the cell and handle
11955 the undo at the same time, but rather use lower level new macros
11956 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
11957 the undo directly. Refresh the mode line.
11958
11959 2012-07-21 Leo Liu <sdl.web@gmail.com>
11960
11961 * progmodes/cc-cmds.el (c-defun-name):
11962 Use match-string-no-properties instead for consistency.
11963
11964 2012-07-20 Leo Liu <sdl.web@gmail.com>
11965
11966 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
11967 (Bug#7879)
11968
11969 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
11970
11971 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
11972
11973 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
11974 * progmodes/bug-reference.el, misearch.el: Provide themselves
11975 (bug#11915).
11976
11977 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
11978 of narrowed buffer (bug#11966).
11979
11980 2012-07-20 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11981
11982 * ses.el (ses-rename-cell): Set new name also in reference list of
11983 cells of which the renamed cell depends.
11984
11985 2012-07-20 Masatake YAMATO <yamato@redhat.com>
11986
11987 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
11988 to check whether menu-bar is shown or not. If not shown,
11989 show the menu-bar as a popup menu instead of using tmm.
11990 * mouse.el (popup-menu): Accept `point' as `position' argument.
11991
11992 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
11993
11994 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
11995 up inside string symbol literal (bug#11923).
11996
11997 2012-07-20 Eli Zaretskii <eliz@gnu.org>
11998
11999 * startup.el (fancy-startup-text): Read the whole tutorial, not
12000 just its first 256 bytes. Prevents gibberish in display of the
12001 tutorial title.
12002
12003 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
12004
12005 Drop idle buffer compaction due to an absence of the
12006 proved efficiency.
12007 * compact.el: Remove.
12008
12009 2012-07-19 Sam Steingold <sds@gnu.org>
12010
12011 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
12012 vc-bzr-pull & vc-bzr-merge-branch.
12013 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
12014 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
12015 for consistency with compilation-error-regexp-alist.
12016 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
12017 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
12018 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
12019 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
12020
12021 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
12022
12023 * emacs-lisp/chart.el: Use lexical-binding.
12024 (chart-emacs-storage): Don't hardcode the list of entries.
12025
12026 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
12027
12028 Next round of tweaks caused by Fgarbage_collect changes.
12029 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
12030
12031 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
12032
12033 Compact buffers when idle.
12034 * compact.el: New file.
12035
12036 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
12037
12038 * subr.el (eventp): Presume that if it looks vaguely like an event,
12039 it's an event (bug#10190).
12040
12041 2012-07-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12042
12043 Enhancements to ppss related code (thanks Stefan).
12044 * progmodes/python.el (python-indent-context)
12045 (python-indent-calculate-indentation, python-indent-dedent-line)
12046 (python-indent-electric-colon, python-nav-forward-block)
12047 (python-mode-abbrev-table)
12048 (python-info-assignment-continuation-line-p): Simplify checks
12049 for ppss context.
12050 (python-info-continuation-line-p): Cleanup.
12051 (python-info-ppss-context): Do not catch 'quote.
12052 (python-info-ppss-context-type)
12053 (python-info-ppss-comment-or-string-p): Simplify.
12054
12055 2012-07-18 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12056
12057 * progmodes/python.el: Enhancements to eldoc support.
12058 (python-info-current-symbol): New function.
12059 (python-eldoc-at-point): Use python-info-current-symbol.
12060 (python-info-current-defun): Fix cornercase on first defun scan.
12061 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
12062 and signal error when no inferior python process is available.
12063
12064 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
12065
12066 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
12067 assume it's always t.
12068 (vc-git-registered): Remove caching, the function is only called
12069 once.
12070 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
12071
12072 2012-07-18 Chong Yidong <cyd@gnu.org>
12073
12074 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
12075
12076 * simple.el (count-words): Report on narrowing (Bug#9959).
12077
12078 * bindings.el: Bind M-= to count-words.
12079
12080 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
12081
12082 2012-07-18 Masatake YAMATO <yamato@redhat.com>
12083
12084 * progmodes/sh-script.el (sh-imenu-generic-expression):
12085 Capture a function with `function' keyword and without parentheses
12086 like "function FOO" (bug#11856).
12087
12088 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
12089
12090 * window.el (split-window-sensibly): Make WINDOW argument
12091 optional.
12092
12093 2012-07-18 Chong Yidong <cyd@gnu.org>
12094
12095 * subr.el (keyboard-translate): Doc fix (Bug#7261).
12096
12097 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
12098 and make C-x 8 RET exit isearch (Bug#11439).
12099
12100 * international/iso-transl.el: Move isearch-mode-map key
12101 definitions to isearch.el.
12102
12103 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
12104
12105 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
12106 (eieio-defclass): Use gv-define-setter when possible.
12107
12108 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
12109
12110 Reflect recent changes in Fgarbage_collect.
12111 * emacs-lisp/chart.el (chart-emacs-storage): Change to
12112 reflect new format of data returned by Fgarbage_collect.
12113
12114 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12115
12116 New utility functions + python-info-ppss-context fix (Bug#11910).
12117 * progmodes/python.el (python-info-beginning-of-block-statement-p)
12118 (python-info-ppss-comment-or-string-p): New functions.
12119 (python-info-ppss-context): Small fix for string check.
12120
12121 2012-07-17 Juri Linkov <juri@jurta.org>
12122
12123 * dired-aux.el (dired-do-async-shell-command): Doc fix.
12124 (dired-do-async-shell-command): Don't add `*' at the end of the
12125 command (Bug#11815).
12126 (dired-do-shell-command): Doc fix.
12127 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
12128 Join the individual commands using either "&" or ";" as the
12129 separator depending on the values of these trailing characters.
12130 At the end re-add the trailing "&". (Bug#10598)
12131
12132 * simple.el (async-shell-command): Sync the interactive spec with
12133 `shell-command'. Doc fix.
12134 (shell-command): Doc fix.
12135
12136 2012-07-17 Juri Linkov <juri@jurta.org>
12137
12138 * descr-text.el (describe-char): Fix format args. (Bug#10129)
12139
12140 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12141
12142 Final renames and doc fixes for movement commands (bug#11899).
12143 * progmodes/python.el (python-nav-beginning-of-statement):
12144 Rename from python-nav-statement-start.
12145 (python-nav-end-of-statement): Rename from
12146 python-nav-statement-end.
12147 (python-nav-beginning-of-block): Rename from
12148 python-nav-block-start.
12149 (python-nav-end-of-block): Rename from python-nav-block-end.
12150
12151 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12152
12153 * progmodes/python.el (python-shell-send-string-no-output):
12154 Allow accept-process-output to quit, keeping shell process ready for
12155 future interactions (Bug#11868).
12156
12157 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
12158
12159 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
12160
12161 * emacs-lisp/elint.el (elint-find-args-in-code):
12162 Use help-function-arglist, so as to handle lexical byte-code.
12163
12164 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
12165 change (bug#11826).
12166
12167 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
12168
12169 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
12170 Avoid spuriously marking the buffer as modified because of c-is-sws.
12171
12172 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
12173 as not-a-comment (bug#11946).
12174
12175 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
12176 for uninterned vars.
12177
12178 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
12179 Use read-event since we don't really want to read chars but bytes.
12180
12181 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
12182 $$..$$ but also $..$ using regexps (bug#11953).
12183 Use tex-verbatim for \url and \path.
12184 (tex-font-lock-keywords): Define as defconst like the others.
12185 (tex-common-initialization): Don't use font-lock-syntax-table any more.
12186
12187 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
12188
12189 * international/mule-cmds.el (ucs-insert): Make it an obsolete
12190 alias for insert-char.
12191
12192 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12193
12194 * progmodes/python.el: Simplified imenu implementation.
12195 (python-nav-jump-to-defun): Remove command.
12196 (python-mode-map): Use `imenu' instead.
12197 (python-nav-list-defun-positions-cache)
12198 (python-imenu-include-defun-type, python-imenu-make-tree)
12199 (python-imenu-subtree-root-label, python-imenu-index-alist):
12200 Remove vars.
12201 (python-nav-list-defun-positions, python-nav-read-defun)
12202 (python-imenu-tree-assoc, python-imenu-make-element-tree)
12203 (python-imenu-make-tree, python-imenu-create-index):
12204 Remove functions.
12205 (python-mode): Update to interact with imenu by setting
12206 `imenu-extract-index-name-function' only.
12207
12208 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12209
12210 * progmodes/python.el: Enhancements to navigation commands.
12211 (python-nav-backward-sentence)
12212 (python-nav-forward-sentence): Remove.
12213 (python-nav-backward-statement, python-nav-forward-statement)
12214 (python-nav-statement-start, python-nav-statement-end)
12215 (python-nav-backward-block, python-nav-forward-block)
12216 (python-nav-block-start, python-nav-block-end)
12217 (python-nav-forward-sexp-function)
12218 (python-info-current-line-comment-p)
12219 (python-info-current-line-empty-p): New functions.
12220 (python-indent-context): Use `python-nav-statement-start'.
12221
12222 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
12223
12224 * eshell/em-ls.el (eshell/ls): Use `apply'.
12225
12226 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
12227 multi-hops, instead of Tramp internals.
12228
12229 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
12230
12231 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
12232 when F1 and F2 are located on different hosts.
12233
12234 2012-07-14 Chong Yidong <cyd@gnu.org>
12235
12236 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
12237 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
12238 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
12239 (xterm-mouse--read-event-sequence-1000)
12240 (xterm-mouse--read-event-sequence-1006): New functions. For old
12241 mouse protocol, handle M-mouse-X events correctly.
12242 (xterm-mouse-event): New arg specifying mouse protocol.
12243 (turn-on-xterm-mouse-tracking-on-terminal)
12244 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
12245 sequence to toggle extended coordinates on newer XTerms.
12246 This appears to be harmless on terminals which do not support this.
12247
12248 2012-07-14 Leo Liu <sdl.web@gmail.com>
12249
12250 Add fringe bitmap indicators for flymake. (Bug#11253)
12251 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
12252 (flymake-make-overlay): New arg BITMAP.
12253 (flymake-error-bitmap, flymake-warning-bitmap)
12254 (flymake-fringe-indicator-position): New user variables.
12255
12256 * fringe.el: New bitmap exclamation-mark.
12257
12258 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
12259
12260 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
12261 also (Bug#7879).
12262
12263 2012-07-14 Chong Yidong <cyd@gnu.org>
12264
12265 * electric.el (electric-pair-post-self-insert-function): Fix pair
12266 insertion in empty-region case (Bug#11520).
12267
12268 2012-07-14 Chong Yidong <cyd@gnu.org>
12269
12270 * bindings.el: Consolidate ctl-x-r-map bindings.
12271 Bind copy-rectangle-as-kill to C-x r w.
12272
12273 * rect.el, register.el: Move bindings to bindings.el.
12274
12275 2012-07-14 Reuben Thomas <rrt@sc3d.org>
12276
12277 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
12278
12279 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
12280
12281 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
12282
12283 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
12284
12285 * bindings.el (top): Use `mapc' instead of `mapcar'.
12286
12287 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
12288
12289 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
12290
12291 * progmodes/sql.el (sql-comint): Suppress the check for program on
12292 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
12293 (Bug#11908)
12294
12295 2012-07-13 Chong Yidong <cyd@gnu.org>
12296
12297 * bindings.el: Assign a non-nil permanent-local property to
12298 per-buffer variables which lack a default value (Bug#11930).
12299
12300 * help-fns.el (describe-variable): In the "automatically becomes
12301 local" notice, take note of permanent-local variables.
12302
12303 2012-07-13 Chong Yidong <cyd@gnu.org>
12304
12305 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
12306 to allow printing the message when called from Lisp.
12307
12308 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12309 Remove toggle-read-only.
12310
12311 * bs.el (bs-toggle-readonly):
12312 * buff-menu.el (Buffer-menu-toggle-read-only):
12313 Remove with-no-warnings around toggle-read-only.
12314
12315 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
12316 Remove with-no-warnings around toggle-read-only.
12317 (ffap-read-only, ffap-read-only-other-window)
12318 (ffap-read-only-other-frame): Callers changed.
12319
12320 * help-mode.el: Don't require view package.
12321 (help-mode-finish): Set buffer-read-only instead of calling
12322 toggle-read-only.
12323
12324 * bindings.el (mode-line-toggle-read-only):
12325 * dired.el (dired-toggle-read-only):
12326 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
12327 with non-nil second arg.
12328
12329 * emacs-lisp/eieio-custom.el (eieio-customize-object):
12330 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
12331 directly.
12332
12333 2012-07-12 Eli Zaretskii <eliz@gnu.org>
12334
12335 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
12336 not incf.
12337
12338 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
12339
12340 More CL cleanups and reduction of use of cl.el.
12341 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
12342 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
12343 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
12344 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
12345 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
12346 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
12347 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
12348 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
12349 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
12350 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
12351 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
12352 * eshell/em-cmpl.el, eshell/em-banner.el:
12353 * calendar/parse-time.el: Use cl-lib.
12354 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
12355 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
12356 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
12357 * term/ns-win.el, term.el, shell.el, ps-samp.el:
12358 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
12359 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
12360 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
12361 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
12362 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
12363 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
12364 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
12365 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
12366 `lambda' rather than with `quote'.
12367 (eshell-do-opt): Adjust accordingly.
12368 (eshell-process-option): Simplify.
12369 * eshell/esh-var.el:
12370 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
12371 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
12372 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
12373 to `pcase--dontcare'.
12374 * emacs-lisp/cl.el (labels): Mark obsolete.
12375 (cl--letf, letf): Move to cl-lib.
12376 (cl--letf*, letf*): Remove.
12377 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
12378 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
12379 (cl-progv): Rewrite.
12380 (cl--letf, cl-letf): Move from cl.el.
12381 (cl-letf*): New macro.
12382 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
12383
12384 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
12385
12386 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
12387
12388 2012-07-11 Chong Yidong <cyd@gnu.org>
12389
12390 * vc/log-edit.el (log-edit-vc-backend): New variable.
12391 (log-edit): Doc fix.
12392
12393 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
12394 argument of log-edit to set up all local variables.
12395 (vc-start-logentry): New optional arg specifying VC backend.
12396
12397 * vc/vc.el (vc-checkin): Use it.
12398 (vc-deduce-fileset): Handle Log Edit buffers.
12399 (vc-diff): Make first argument optional too.
12400
12401 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
12402
12403 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
12404
12405 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
12406 command, just in case. The function is not needed anymore.
12407 (eshell-external-command): Do not call `eshell-remote-command'.
12408
12409 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
12410
12411 Reduce use of (require 'cl).
12412 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
12413 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
12414 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
12415 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
12416 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
12417 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
12418 * battery.el, avoid.el, abbrev.el: Use cl-lib.
12419 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
12420 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
12421 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
12422 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
12423 * calculator.el, autorevert.el, apropos.el: Don't require CL.
12424 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
12425 (byte-compile-unfold-bcf, byte-compile-check-variable):
12426 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
12427 (byte-compile-nilconstp):
12428 * emacs-lisp/autoload.el (make-autoload): Use pcase.
12429 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
12430
12431 * emacs-lisp/gv.el (cond): Make it a valid place.
12432 (if): Simplify slightly.
12433
12434 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
12435 (pcase--self-quoting-p): New function.
12436 (pcase--u1): Use it.
12437
12438 2012-07-10 Glenn Morris <rgm@gnu.org>
12439
12440 * emacs-lisp/authors.el (authors-fixed-entries):
12441 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
12442
12443 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
12444
12445 Rename configure.in to configure.ac (Bug#11603).
12446 * emacs-lisp/authors.el (authors-canonical-file-name):
12447 * progmodes/autoconf.el (autoconf-mode):
12448 Prefer configure.ac to configure.in.
12449
12450 2012-07-08 Chong Yidong <cyd@gnu.org>
12451
12452 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
12453 Implement the mouse-1-click-follows-link handling properly.
12454
12455 * info.el (Info-link-keymap): Use follow-link mechanism for
12456 header-line links (Bug#374).
12457
12458 * simple.el (deactivate-mark): Do not set the primary selection
12459 if another program has acquired it (Bug#11772).
12460
12461 2012-07-07 Kevin Ryde <user42@zip.com.au>
12462
12463 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
12464 (woman-decode-region): Replace escaped-escapes without destroying
12465 bold or underline (Bug#11552).
12466 (woman2-process-escapes): Handle nofill regions (Bug#11591).
12467
12468 2012-07-07 Chong Yidong <cyd@gnu.org>
12469
12470 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
12471 (interprogram-cut-function, interprogram-paste-function):
12472 Mention that we typically mean the clipboard.
12473
12474 2012-07-06 Glenn Morris <rgm@gnu.org>
12475
12476 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
12477
12478 * files.el (toggle-read-only): Restrict message to interactive use.
12479
12480 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
12481
12482 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
12483
12484 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
12485
12486 2012-07-06 Glenn Morris <rgm@gnu.org>
12487
12488 * Makefile.in (compile-one-process): Rename from "recompile".
12489
12490 * Makefile.in (bzr-update): "compile" is the same as "recompile
12491 autoloads", but parallelizable, so use that instead.
12492
12493 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
12494
12495 * window.el (quit-window): Always restore window height when
12496 it's saved in quit-restore parameter (Bug#11810).
12497
12498 2012-07-06 Glenn Morris <rgm@gnu.org>
12499
12500 * simple.el (kill-whole-line): Doc tweak.
12501
12502 2012-07-06 Eli Zaretskii <eliz@gnu.org>
12503
12504 * files.el (file-relative-name): Compare file names
12505 case-insensitively if on MS-Windows or MS-DOS, or if
12506 read-file-name-completion-ignore-case is non-nil. Don't use
12507 case-fold-search for this purpose. (Bug#11827)
12508
12509 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
12510
12511 * calendar/cal-dst.el (calendar-current-time-zone):
12512 Return calendar-current-time-zone-cache if non-nil.
12513
12514 2012-07-17 Masatake YAMATO <yamato@redhat.com>
12515 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
12516
12517 * calendar/cal-dst.el (calendar-current-time-zone):
12518 Return calendar-current-time-zone-cache if non-nil.
12519
12520 2012-07-06 Glenn Morris <rgm@gnu.org>
12521
12522 * Makefile.in (cvs-update): Remove old alias.
12523
12524 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
12525
12526 Sync with Tramp 2.2.6-pre.
12527
12528 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
12529 compatible declaration.
12530
12531 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12532 Protect `list-load-path-shadows' call.
12533
12534 * net/tramp-compat.el (top): Require packages, which aren't
12535 autoloaded anymore for XEmacs. Protect call of
12536 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
12537 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
12538 it hurts at least for SXEmacs.
12539 (tramp-compat-temporary-file-directory): In XEmacs, there is no
12540 standard-value for `temporary-file-directory'.
12541
12542 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
12543 Redirect stderr to /dev/null.
12544 (tramp-sh-handle-write-region): uid and gid can be floats.
12545 Reported by Russell Sim <russell.sim@gmail.com>.
12546 (tramp-sh-handle-vc-registered): Hide errors.
12547 (tramp-vc-file-name-handler): Use dummy results for `process-file'
12548 and `start-file-process'.
12549 (tramp-maybe-open-connection): Check also whether `non-essential'
12550 is bound.
12551
12552 2012-07-04 Chong Yidong <cyd@gnu.org>
12553
12554 * xml.el (xml--parse-buffer): Use xml-syntax-table.
12555 (xml-parse-tag): Likewise, and avoid changing entity tables.
12556 (xml-syntax-table): Define from scratch, making sure not to give
12557 x2000 and other Unicode spaces whitespace syntax, since those are
12558 not spaces in XML.
12559 (xml-parse-fragment): Delete unused function.
12560 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
12561 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
12562 (xml-entity-ref, xml-pe-reference-re)
12563 (xml-reference-re, xml-att-value-re, xml-tokenized-type-re)
12564 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
12565 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
12566 (xml-entity-value-re): Use syntax references in regexps where
12567 possible; no need to define inside a let-binding.
12568 (xml-parse-dtd): Use xml-pe-reference-re.
12569 (xml-entity-or-char-ref-re): New defconst.
12570 (xml-parse-string, xml-substitute-special): Use it.
12571
12572 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12573
12574 * files.el (locate-dominating-file): Allow `name' to be a predicate.
12575 (find-file--read-only): New function.
12576 (find-file-read-only, find-file-read-only-other-window)
12577 (find-file-read-only-other-frame): Use it.
12578 (insert-file-contents-literally): Don't `fset'.
12579 (get-free-disk-space): Use locate-dominating-file.
12580
12581 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
12582 function is already compiled.
12583
12584 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
12585
12586 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
12587
12588 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
12589 files on the same host.
12590
12591 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
12592
12593 * help-fns.el (describe-function-1): Only call
12594 help-fns--autoloaded-p when we have a file name. (Bug#11848)
12595
12596 2012-07-03 Chong Yidong <cyd@gnu.org>
12597
12598 * xml.el: Protect parser against XML bombs.
12599 (xml-entity-expansion-limit): New variable.
12600 (xml-parse-string, xml-substitute-special): Use it.
12601 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
12602
12603 2012-07-03 Glenn Morris <rgm@gnu.org>
12604
12605 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12606 Allow linking to specific messages in debbugs reports (eg 123#5).
12607
12608 2012-07-02 Chong Yidong <cyd@gnu.org>
12609
12610 * xml.el: Fix entity and character reference expansion, allowing
12611 them to expand into markup as per XML spec.
12612 (xml-default-ns): New variable.
12613 (xml-entity-alist): Use XML spec definitions for lt and amp.
12614 (xml-parse-region): Make first two arguments optional.
12615 Discard text properties.
12616 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
12617 All callers changed.
12618 (xml-parse-tag): Call xml-parse-tag-1. For backward
12619 compatibility, this function should not modify buffer contents.
12620 (xml-parse-tag-1): Fix opening-tag regexp.
12621 (xml-parse-string): Rewrite, handling entity and character
12622 references properly.
12623 (xml--entity-replacement-text): Signal an error if a parameter
12624 entity is undefined.
12625
12626 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12627
12628 * comint.el (comint-output-filter): Filter out repeated prompts.
12629
12630 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
12631 and file-name-absolute-p.
12632 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
12633 internal calls.
12634
12635 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
12636
12637 Spelling fixes.
12638 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
12639 Rename from byte-compile--refiy-function. All uses changed.
12640
12641 2012-07-01 Chong Yidong <cyd@gnu.org>
12642
12643 * xml.el (xml--parse-buffer): New function. Move most of
12644 xml-parse-region here.
12645 (xml-parse-region): Copy region into a temporary buffer, since
12646 parameter entity substitution requires changing buffer contents.
12647 Use xml--parse-buffer.
12648 (xml-parse-file): Use xml--parse-buffer.
12649 (xml-parse-dtd): Make parameter entity substitution work right.
12650 Use proper regexps for ELEMENT declarations (Bug#7172).
12651
12652 2012-06-30 Glenn Morris <rgm@gnu.org>
12653
12654 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
12655
12656 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
12657 Remove outdated and unnecessary dbus declarations.
12658
12659 2012-06-30 Eli Zaretskii <eliz@gnu.org>
12660
12661 * emacs-lisp/timer.el (timer-until): Subtract results of
12662 float-time, instead of taking float-time of the result of
12663 time-subtract, since float-time signals an error for negative time
12664 arguments.
12665
12666 2012-06-30 Chong Yidong <cyd@gnu.org>
12667
12668 * xml.el (xml-*-re): Convert defvars into defconsts, and
12669 eval-and-compile them so eval-and-compile works on derivatives.
12670 (xml--entity-replacement-text): Use eval-and-comple.
12671
12672 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
12673
12674 * vc/vc-git.el (vc-git-registered): Use cache property
12675 `git-registered'.
12676 (vc-git-mode-line-string): Call `vc-working-revision' instead of
12677 `vc-git-working-revision' in order to benefit from the cache.
12678 (vc-git-root): Use cache property `git-root'. (Bug#11757)
12679
12680 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
12681
12682 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
12683 removed (likely outside Emacs). (Bug#11757)
12684
12685 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
12686
12687 * emacs-lisp/cl-lib.el: Require macroexp.
12688
12689 2012-06-30 Chong Yidong <cyd@gnu.org>
12690
12691 * xml.el: Implement XML parameter entities.
12692 (xml-parameter-entity-alist): New variable.
12693 (xml-parse-region, xml-parse-fragment): Preserve previous values
12694 of xml-entity-alist and xml-parameter-entity-alist, so that
12695 repeated calls on different documents do not change them.
12696 (xml-parse-tag): Fix doctype regexp.
12697 (xml--entity-replacement-text): New function.
12698 (xml-parse-dtd): Use it. Don't handle system entities; doing that
12699 properly requires url retrieval which is unimplemented.
12700 (xml-escape-string): Doc fix.
12701
12702 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
12703
12704 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
12705
12706 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
12707
12708 * fringe.el (fringe-mode): Doc fix.
12709
12710 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
12711
12712 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
12713 is non-nil.
12714 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
12715 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
12716
12717 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
12718
12719 * calendar/cal-dst.el (calendar-current-time-zone):
12720 Return calendar-current-time-zone-cache if non-nil.
12721
12722 2012-06-29 Masatake YAMATO <yamato@redhat.com>
12723
12724 * progmodes/which-func.el (which-func-format):
12725 Add mouse-face. (Bug#11698)
12726
12727 2012-06-29 Leo Liu <sdl.web@gmail.com>
12728
12729 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
12730
12731 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
12732
12733 * minibuffer.el (minibuffer-confirm-exit-commands):
12734 Add completion-at-point (bug#11725).
12735
12736 2012-06-29 Glenn Morris <rgm@gnu.org>
12737
12738 * progmodes/f90.el (f90-font-lock-keywords-2):
12739 Add some preprocessor elements. (Bug#10499)
12740
12741 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
12742
12743 * progmodes/cperl-mode.el (cperl-update-syntaxification):
12744 Use syntax-propertize (bug#11739).
12745
12746 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
12747
12748 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
12749
12750 2012-06-28 Julien Danjou <julien@danjou.info>
12751
12752 * term.el (term-handle-colors-array): Use a set of new faces to
12753 color the terminal. Also uses :inverse-video property.
12754 (term-default-fg-color): Set to nil by default, deprecate in favor
12755 of `term-face'.
12756 (term-default-bg-color): Set to nil by default, deprecate in favor
12757 of `term-face'.
12758 (term-current-face): Use `term-face' by default.
12759 (term-bold-attribute): Variable deleted.
12760
12761 2012-06-28 Glenn Morris <rgm@gnu.org>
12762
12763 * simple.el (completion-list-mode-finish):
12764 Don't use toggle-read-only. (Since completion-list-mode has
12765 a special mode-class, it wasn't doing anything extra anyway.)
12766
12767 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
12768
12769 Make inlining of other-mode interpreted functions work (bug#11799).
12770 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
12771 (byte-compile): Use it to fix compilation of lexical-binding closures.
12772 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
12773 function, if needed.
12774
12775 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12776
12777 * help-mode.el (help-make-xrefs): Don't just withstand
12778 cyclic-variable-indirection but any error in documentation-property.
12779
12780 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
12781 memory use.
12782 * bindings.el (bindings--define-key): New function.
12783 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
12784 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
12785 * bindings.el: Use it to purecopy define-key bindings.
12786
12787 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
12788
12789 * emacs-lisp/cl.el (flet): Mark obsolete.
12790 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
12791 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
12792 * progmodes/js.el (js-c-fill-paragraph):
12793 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
12794 (ebrowse-switch-member-buffer-to-derived-class):
12795 * play/5x5.el (5x5-solver): Use cl-flet.
12796
12797 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
12798 (cl--symbol-function): New macro.
12799 (cl--letf, cl--letf*): Use it.
12800
12801 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
12802 Strip "toggle-" if any.
12803
12804 2012-06-27 Glenn Morris <rgm@gnu.org>
12805
12806 * info.el (Info-default-directory-list): Move here from paths.el.
12807 * paths.el: Remove file, which is now empty.
12808 * loadup.el: No longer load "paths".
12809
12810 * custom.el (custom-initialize-delay): Doc fix.
12811
12812 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12813 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
12814 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
12815 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
12816 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
12817 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
12818 * eshell/eshell.el (eshell-defgroup): Remove alias.
12819
12820 2012-06-27 Chong Yidong <cyd@gnu.org>
12821
12822 * help.el (help-enable-auto-load): New variable.
12823
12824 * help-fns.el (help-fns--autoloaded-p): New function.
12825 (describe-function-1): Refer to a function as "autoloaded" if it
12826 was autoloaded at any time in the past. Perform autoloading if
12827 help-enable-auto-load is non-nil.
12828
12829 2012-06-26 Eli Zaretskii <eliz@gnu.org>
12830
12831 * makefile.w32-in (compile, compile-always): Depend on
12832 update-subdirs, not on subdirs.el. Otherwise, several different
12833 sub-targets of 'bootstrap' running in parallel could
12834 simultaneously write to subdirs.el, producing a garbled file.
12835
12836 2012-06-26 Sam Steingold <sds@gnu.org>
12837
12838 * files.el (file-name-base): New convenience function.
12839 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
12840 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
12841 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
12842 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
12843 * textmodes/ispell.el, textmodes/reftex-ref.el:
12844 * textmodes/tex-mode.el: Use it.
12845 Did not touch cedet and org because they are maintained elsewhere.
12846
12847 2012-06-26 Martin Rudalics <rudalics@gmx.at>
12848
12849 * calendar/calendar.el (calendar-exit): Don't try to delete or
12850 iconify last frame. See:
12851 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
12852
12853 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
12854
12855 * server.el (server-process-filter): Remember dir in the
12856 process's `server-client-directory' properties.
12857
12858 2012-06-24 Chong Yidong <cyd@gnu.org>
12859
12860 * xml.el (xml-parse-tag): Correctly handle comment embedded in
12861 non-tag text.
12862
12863 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
12864
12865 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
12866
12867 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12868
12869 * help-fns.el (describe-variable): Don't croak when doc is not found.
12870 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
12871 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
12872 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
12873 * emacs-lisp/smie.el (smie-next-sexp): CSE.
12874 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
12875 ((lambda ..) ..).
12876 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
12877
12878 2012-06-23 Chong Yidong <cyd@gnu.org>
12879
12880 * info.el (Info-mouse-follow-link): Accept symbol values of
12881 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
12882 (Info-fontify-node): Use Info-link-keymap for all navigation
12883 buttons, with link-args property to perform the desired action.
12884 (Info-link-keymap): Doc fix.
12885 (Info-next-link-keymap, Info-prev-link-keymap)
12886 (Info-up-link-keymap): Delete now-unused keymaps.
12887
12888 2012-06-23 Chong Yidong <cyd@gnu.org>
12889
12890 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
12891
12892 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
12893 system abbrevs.
12894
12895 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
12896
12897 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12898
12899 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
12900 (bug#11719).
12901
12902 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
12903 the requote function doesn't work properly (bug#11714).
12904
12905 2012-06-23 Glenn Morris <rgm@gnu.org>
12906
12907 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
12908
12909 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12910
12911 Further GV/CL cleanups.
12912 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
12913 gv-expander.
12914 (gv--defun-declaration): New function.
12915 (defun-declarations-alist): Use it.
12916 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
12917 (gv-place): Autoload.
12918 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
12919 original definition of dotimes and dolist.
12920 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
12921 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
12922 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
12923 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12924 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
12925 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
12926 to the function's definition.
12927 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
12928 * window.el:
12929 * files.el:
12930 * faces.el:
12931 * env.el: Don't use CL.
12932
12933 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
12934
12935 Support higher-resolution time stamps (Bug#9000).
12936
12937 * calendar/time-date.el (with-decoded-time-value): New arg
12938 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
12939 (encode-time-value): New optional arg PICO. New type 3.
12940 (time-to-seconds) [!float-time]: Support the new picoseconds
12941 component if it's used.
12942 (seconds-to-time, time-subtract, time-add):
12943 Support ps-resolution time stamps as well.
12944
12945 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
12946 (timerp): Timer vectors now have length 9, not 8.
12947 (timer--time): Support new-style (4-part) time stamps.
12948 (timer-next-integral-multiple-of-time): Time stamps now have
12949 picosecond resolution, so take a bit more care about rounding.
12950 (timer-relative-time, timer-inc-time): New optional arg psecs.
12951 (timer-set-time-with-usecs): Set psecs to 0.
12952 (timer--activate): Check psecs component, too.
12953
12954 * proced.el (proced-time-lessp): Support ps-resolution stamps.
12955
12956 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12957
12958 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
12959 Move the non-essential binding to the post/pre-command-hook where it is
12960 more obviously correct.
12961
12962 * subr.el (read-passwd): Don't use a history at all.
12963 * savehist.el (savehist-save): Remove password saved accidentally
12964 because of the above bug.
12965
12966 2012-06-22 Bastien Guerry <bzg@gnu.org>
12967
12968 * files.el (toggle-read-only): Display a message telling whether
12969 the buffer is read-only or not (bug#11726).
12970
12971 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12972
12973 * emacs-lisp/gv.el: New file.
12974 * subr.el (push, pop): Extend to generalized variables.
12975 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
12976 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
12977 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
12978 gv-define-simple-setter, and gv-define-expander.
12979 Remove setf-methods defined in gv. Rename cl-setf -> setf.
12980 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
12981 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
12982 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
12983 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
12984 gv-letplace.
12985 (cl-defstruct): Don't define setf-method any more.
12986 * emacs-lisp/cl.el (flet): Don't autoload.
12987 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
12988 (define-setf-expander, defsetf, define-modify-macro)
12989 (cl-struct-setf-expander): Move from cl-lib.el.
12990 * emacs-lisp/syntax.el:
12991 * emacs-lisp/ewoc.el:
12992 * emacs-lisp/smie.el:
12993 * emacs-lisp/cconv.el:
12994 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
12995 (timer--time): Use gv-define-simple-setter.
12996 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
12997 to avoid coding-system problems in subr.el. Adjust all users.
12998 (macroexp--maxsize, macroexp-small-p): New functions.
12999 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
13000 * scroll-bar.el (scroll-bar-mode):
13001 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
13002 (normal-erase-is-backspace-mode): Don't use the `eq' place.
13003 * winner.el (winner-configuration, winner-make-point-alist)
13004 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
13005 * files.el (locate-file-completion-table): Avoid list*.
13006
13007 2012-06-22 Chong Yidong <cyd@gnu.org>
13008
13009 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
13010 (dired-create-files): Doc fix (Bug#11329).
13011 (dired-do-copy): Doc fix (Bug#11334).
13012 (dired-mark-read-string): Doc fix (Bug#11553).
13013
13014 * dired.el (dired-recursive-copies, dired-recursive-deletes):
13015 Doc fix (Bug#11326).
13016 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
13017 (dired-dwim-target): Doc fix.
13018
13019 * wdired.el (wdired-mode): Doc fix.
13020
13021 2012-06-22 Glenn Morris <rgm@gnu.org>
13022
13023 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
13024 (pcmpl-rpm-cache-stamp-file): New constant.
13025 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
13026 (pcmpl-rpm-packages): Optionally cache list of packages.
13027
13028 * pcmpl-rpm.el (pcmpl-rpm): New group.
13029 (pcmpl-rpm-query-options): New option.
13030 (pcmpl-rpm-packages): No need to inline it.
13031 Use pcmpl-rpm-query-options.
13032
13033 * calendar/calendar.el (calendar-in-read-only-buffer):
13034 Avoid some needless mode changes.
13035
13036 2012-06-21 Chong Yidong <cyd@gnu.org>
13037
13038 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
13039 (desktop-path): Remove . from the default value (Bug#10977).
13040 (desktop-read): Use user-emacs-directory if desktop-path is nil.
13041
13042 2012-06-20 Chong Yidong <cyd@gnu.org>
13043
13044 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
13045
13046 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
13047
13048 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
13049 (bug#11201).
13050
13051 2012-06-20 Chong Yidong <cyd@gnu.org>
13052
13053 * term.el (term-window-width): Handle the case of a missing right
13054 fringe (Bug#8837).
13055 (term-check-size): Use window-text-height (Bug#5445).
13056 (term-mode): Use define-derived-mode. Minor cleanups.
13057 Set font-lock-defaults (Bug#7692).
13058 (term-move-columns, term-insert-char, term-emulate-terminal)
13059 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
13060
13061 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
13062
13063 * net/ange-ftp.el (ange-ftp-get-passwd):
13064 Bind `enable-recursive-minibuffers'.
13065 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
13066
13067 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
13068
13069 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
13070
13071 2012-06-19 Glenn Morris <rgm@gnu.org>
13072
13073 * progmodes/python.el (python-mode): Derive from prog-mode.
13074
13075 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
13076
13077 * emulation/edt.el (edt-default-menu-bar-update-buffers)
13078 (edt-user-menu-bar-update-buffers): New functions.
13079 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
13080
13081 2012-06-19 Chong Yidong <cyd@gnu.org>
13082
13083 * subr.el (with-selected-window): Preserve the selected window's
13084 terminal's top-frame (Bug#4702).
13085
13086 * window.el (save-selected-window): Likewise.
13087
13088 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13089
13090 * progmodes/python.el (python-rx-constituents): Move backquote.
13091 (python-skeleton-define, python-define-auxiliary-skeleton):
13092 Use `declare'.
13093
13094 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
13095
13096 * minibuffer.el (read-file-name-default): Revert the patch from
13097 2012-06-17.
13098
13099 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13100
13101 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
13102 (pcase--u1, pcase--q1): Don't use apply-partially.
13103
13104 2012-06-18 Glenn Morris <rgm@gnu.org>
13105
13106 * progmodes/python.el (python-proc, python-buffer)
13107 (python-send-receive, python-send-string): Fix obsolete versions.
13108
13109 2012-06-18 Martin Rudalics <rudalics@gmx.at>
13110
13111 * window.el (special-display-p): Completely remove stringp
13112 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
13113
13114 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
13115
13116 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
13117
13118 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
13119
13120 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
13121 * net/tramp-sh.el (tramp-maybe-open-connection):
13122 Throw if `non-essential' is non-nil.
13123
13124 2012-06-17 Martin Rudalics <rudalics@gmx.at>
13125
13126 * window.el (special-display-p): Signal an error if BUFFER-NAME
13127 is not a string (Bug#11713).
13128
13129 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
13130
13131 * progmodes/python.el (python-info-beginning-of-backslash):
13132 Rename from python-info-beginning-of-backlash, as a spelling fix.
13133
13134 2012-06-17 Chong Yidong <cyd@gnu.org>
13135
13136 * term.el (term-emulate-terminal): If term-check-size is called,
13137 move point to the process mark without resetting point (Bug#4635).
13138
13139 2012-06-17 Glenn Morris <rgm@gnu.org>
13140
13141 * international/mule-cmds.el (mule-menu-keymap)
13142 (set-language-environment, set-locale-environment): Doc tweaks.
13143
13144 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
13145
13146 * cus-face.el (custom-face-attributes): Add wave-style underline
13147 attribute.
13148 * faces.el (set-face-attribute): Update docstring to describe
13149 wave-style underline attribute.
13150
13151 2012-06-16 Chong Yidong <cyd@gnu.org>
13152
13153 * term/xterm.el (terminal-init-xterm): Discard input before
13154 querying background mode (Bug#10959).
13155
13156 2012-06-16 Stefan Merten <smerten@oekonux.de>
13157
13158 * textmodes/rst.el: Added and corrected some comments.
13159 (rst-re-alist-def): Improve symbol syntax.
13160 (rst-mode-syntax-table): Correct syntax entries.
13161 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
13162 (rst-official-version, rst-official-cvs-rev): Update version
13163 information.
13164
13165 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
13166
13167 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
13168 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
13169
13170 2012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
13171
13172 * progmodes/python.el: New python.el merge.
13173 (python-guess-indent): Obsolete var.
13174 (python-indent-guess-indent-offset): New defcustom.
13175 (python-indent): Obsolete var.
13176 (python-indent-offset): New defcustom.
13177 (python-python-command, python-jython-command): Delete var.
13178 (python-shell-interpreter): New defcustom.
13179 (python-pdbtrack-do-tracking-p): Delete var.
13180 (python-pdbtrack-activate): New defcustom.
13181 (python-use-skeletons): Obsolete var.
13182 (python-skeleton-autoinsert): New defcustom.
13183 (inferior-python-filter-regexp, python-continuation-offset)
13184 (python-honour-comment-indentation, python-indent-string-contents)
13185 (python-jython-packages, python-mode-hook)
13186 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
13187 (python-shell-prompt-alist)
13188 (python-source-modes): Delete defcustoms.
13189 (python-check-buffer-name, python-eldoc-setup-code)
13190 (python-eldoc-string-code, python-ffap-setup-code)
13191 (python-ffap-string-code, python-fill-comment-function)
13192 (python-fill-decorator-function, python-fill-paren-function)
13193 (python-fill-string-function, python-imenu-include-defun-type)
13194 (python-imenu-make-tree, python-imenu-subtree-root-label)
13195 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
13196 (python-shell-compilation-regexp-alist)
13197 (python-shell-completion-module-string-code)
13198 (python-shell-completion-pdb-string-code)
13199 (python-shell-completion-setup-code)
13200 (python-shell-completion-string-code)
13201 (python-shell-enable-font-lock, python-shell-exec-path)
13202 (python-shell-extra-pythonpaths)
13203 (python-shell-internal-buffer-name, python-shell-interpreter-args)
13204 (python-shell-process-environment)
13205 (python-shell-prompt-block-regexp)
13206 (python-shell-prompt-output-regexp)
13207 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
13208 (python-shell-send-setup-max-wait, python-shell-setup-codes)
13209 (python-shell-virtualenv-path): New defcustoms.
13210 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
13211 (inferior-python-mode-syntax-table, python--prompt-regexp)
13212 (python-buffer, python-command python-python-command)
13213 (python-default-template, python-imports, python-indent-index)
13214 (python-indent-list, python-indent-list-length)
13215 (python-mode-running, python-pdbtrack-is-tracking-p)
13216 (python-preoutput-continuation, python-preoutput-leftover)
13217 (python-preoutput-result, python-preoutput-skip-next-prompt)
13218 (python-prev-dir/file, python-recursing)
13219 (python-saved-check-command, python-version-checked)
13220 (python-which-func-length-limit)
13221 (view-return-to-alist): Delete vars.
13222 (python-check-custom-command, python-dotty-syntax-table)
13223 (python-imenu-index-alist, python-indent-current-level)
13224 (python-indent-dedenters, python-indent-levels)
13225 (python-nav-beginning-of-defun-regexp)
13226 (python-nav-list-defun-positions-cache)
13227 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
13228 (python-shell-internal-buffer)
13229 (python-skeleton-available): New vars.
13230 (def-python-skeleton): Delete macro.
13231 (python-skeleton-define): New macro.
13232 (python-define-auxiliary-skeleton, python-rx): New macros.
13233 (python-insert-class): Delete command.
13234 (python-skeleton-class): New command.
13235 (python-insert-def): Delete command.
13236 (python-skeleton-def): New command.
13237 (python-insert-for): Delete command.
13238 (python-skeleton-for): New command.
13239 (python-insert-if): Delete command.
13240 (python-skeleton-if): New command.
13241 (python-insert-try/except, python-insert-try/finally): Delete commands.
13242 (python-skeleton-try): New command.
13243 (python-insert-while): Delete command.
13244 (python-skeleton-while): New command.
13245 (python-backspace): Delete command.
13246 (python-indent-dedent-line-backspace): New command.
13247 (python-electric-colon): Delete command.
13248 (python-indent-electric-colon): New command.
13249 (python-guess-indent): Delete command.
13250 (python-indent-guess-indent-offset): New command.
13251 (python-shift-left): Delete command.
13252 (python-indent-shift-left): New command.
13253 (python-shift-right): Delete command.
13254 (python-indent-shift-right): New command.
13255 (python-find-function): Delete command.
13256 (python-nav-jump-to-defun): New command.
13257 (python-next-statement): Delete command.
13258 (python-nav-forward-sentence): New command.
13259 (python-previous-statement): Delete command.
13260 (python-nav-backward-sentence): New command.
13261 (python-fill-paragraph): Delete command.
13262 (python-fill-paragraph-function): New command.
13263 (python-send-buffer): Delete command.
13264 (python-shell-send-buffer): New command.
13265 (python-send-defun): Delete command.
13266 (python-shell-send-defun): New command.
13267 (python-send-region, python-send-region-and-go): Delete commands.
13268 (python-shell-send-region)
13269 (python-shell-switch-to-shell): New commands.
13270 (python-send-string): Delete command.
13271 (python-shell-send-string): New command.
13272 (python-switch-to-python): Delete command.
13273 (python-shell-switch-to-shell): New command.
13274 (python-describe-symbol): Delete command.
13275 (python-eldoc-at-point): New command.
13276 (python--set-prompt-regexp, python-args-to-list)
13277 (python-after-info-look, python-check-version)
13278 (python-check-comint-prompt, python-find-imports)
13279 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
13280 (python-unload-function, python-expand-template)
13281 (python-maybe-jython, python-preoutput-filter)
13282 (python-pdbtrack-get-source-buffer)
13283 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
13284 (python-pdbtrack-toggle-stack-tracking)
13285 (python-pdbtrack-track-stack-file, python-initial-text)
13286 (python-first-word, python-comment-line-p, python-send-command)
13287 (python-setup-brm, python-sentinel, python-set-proc)
13288 (python-skip-out, python-input-filter, python-outdent-p)
13289 (python-outline-level, python-backslash-continuation-line-p)
13290 (python-end-of-block, python-end-of-statement, python-mark-block)
13291 (python-beginning-of-block, python-beginning-of-statement)
13292 (python-blank-line-p, python-beginning-of-string)
13293 (python-open-block-statement-p): Delete functions.
13294 (python-indent-line, python-indent-line-1): Delete functions.
13295 (python-indent-line): New function.
13296 (python-indentation-levels): Delete function.
13297 (python-indent-calculate-levels): New function.
13298 (python-proc): Delete function.
13299 (python-shell-get-process): New function.
13300 (python-send-receive): Delete function.
13301 (python-shell-send-string-no-output): New function.
13302 (python-module-path): Delete function.
13303 (python-ffap-module-path): New function.
13304 (python-completion-at-point)
13305 (python-symbol-completions): Delete functions.
13306 (python-completion-complete-at-point): New function.
13307 (python-load-file): Delete function.
13308 (python-shell-send-file): New function.
13309 (python-calculate-indentation): Delete function.
13310 (python-indent-calculate-indentation): New function.
13311 (python-skip-comments/blanks): Delete function.
13312 (python-util-forward-comment): New function.
13313 (python-continuation-line-p): Delete function.
13314 (python-info-continuation-line-p): New function.
13315 (python-which-func, python-current-defun): Delete function.
13316 (python-info-current-defun): New function.
13317 (python-beginning-of-defun): Delete function.
13318 (python-nav-beginning-of-defun): New function.
13319 (python-close-block-statement-p)
13320 (python-block-end-p): Delete function.
13321 (python-info-closing-block): New function.
13322 (python-comint-output-filter-function)
13323 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
13324 (python-fill-comment, python-fill-decorator, python-fill-paren)
13325 (python-fill-string, python-imenu-make-element-tree)
13326 (python-imenu-make-tree, python-imenu-tree-assoc)
13327 (python-indent-context, python-indent-dedent-line)
13328 (python-indent-line-function)
13329 (python-indent-post-self-insert-function)
13330 (python-indent-toggle-levels)
13331 (python-info-assignment-continuation-line-p)
13332 (python-info-beginning-of-backlash)
13333 (python-info-block-continuation-line-p)
13334 (python-info-closing-block-message)
13335 (python-info-line-ends-backslash-p)
13336 (python-info-looking-at-beginning-of-defun)
13337 (python-info-ppss-context, python-info-ppss-context-type)
13338 (python-nav-list-defun-positions, python-nav-read-defun)
13339 (python-nav-sentence-end, python-nav-sentence-start)
13340 (python-pdbtrack-comint-output-filter-function)
13341 (python-pdbtrack-set-tracked-buffer)
13342 (python-shell-calculate-exec-path)
13343 (python-shell-calculate-process-environment)
13344 (python-shell-completion--do-completion-at-point)
13345 (python-shell-completion--get-completions)
13346 (python-shell-completion-complete-at-point)
13347 (python-shell-completion-complete-or-indent)
13348 (python-shell-get-or-create-process)
13349 (python-shell-get-process-name)
13350 (python-shell-internal-get-or-create-process)
13351 (python-shell-internal-get-process-name)
13352 (python-shell-internal-send-string, python-shell-make-comint)
13353 (python-shell-parse-command, python-shell-send-setup-code)
13354 (python-skeleton-add-menu-items)
13355 (python-util-clone-local-variables, python-util-position)
13356 (run-python-internal, python-indentation-levels)
13357 (python-nav-beginning-of-defun)
13358 (python-completion-complete-at-point): New functions.
13359 (run-python): Change arguments. New API requirements.
13360
13361 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13362
13363 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
13364 (bug#11649).
13365
13366 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
13367 (macroexp--expand-all): Use it.
13368
13369 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
13370 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
13371 Use `cl-function' instead.
13372
13373 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
13374
13375 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
13376 Suggested by Stefan Monnier while discussing bug#11657.
13377
13378 2012-06-14 Sam Steingold <sds@gnu.org>
13379
13380 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
13381
13382 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
13383
13384 * play/doctor.el (doctor-doc): Remove parameter and use
13385 doctor-sent instead of sent.
13386 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
13387
13388 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13389
13390 * files.el: Require cl-lib.
13391 (file-name-non-special): Replace case -> cl-case.
13392
13393 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
13394
13395 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
13396 mapping from #' to function*.
13397
13398 2012-06-13 Chong Yidong <cyd@gnu.org>
13399
13400 * mouse.el (mouse-drag-track): Do not set the mark if the user
13401 releases the mouse without selecting anything (Bug#11588).
13402
13403 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13404
13405 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
13406 as well (bug#11646).
13407
13408 * loadup.el: Count byte-code functions as well.
13409
13410 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
13411 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
13412
13413 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
13414 (bug#11649). Add cl-defun and cl-defmacro.
13415
13416 2012-06-13 Drew Adams <drew.adams@oracle.com>
13417
13418 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
13419 Fix last change.
13420
13421 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
13422
13423 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
13424 Otherwise, it blocks in batch mode.
13425
13426 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
13427
13428 * help-mode.el (bookmark-make-record-default): Declare.
13429
13430 2012-06-13 Chong Yidong <cyd@gnu.org>
13431
13432 * emacs-lisp/package.el (list-packages): Compute a list of
13433 packages that are newly-available since the last list-packages
13434 invocation.
13435 (package-menu--new-package-list): New var.
13436 (package-menu--generate, package-menu--print-info)
13437 (package-menu--status-predicate, package-menu-mark-install):
13438 Handle new status label "new".
13439
13440 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13441
13442 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
13443 conversion to backquotes.
13444
13445 2012-06-12 Chong Yidong <cyd@gnu.org>
13446
13447 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
13448 Rename from gud-inhibit-global-bindings.
13449
13450 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
13451
13452 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
13453 hook from nxml-glyph-set-hook.
13454
13455 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
13456 declaration.
13457
13458 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
13459
13460 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
13461 Convert to defcustom.
13462
13463 2012-06-12 Drew Adams <drew.adams@oracle.com>
13464
13465 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
13466 New functions.
13467 (help-mode): Use them.
13468
13469 2012-06-11 Glenn Morris <rgm@gnu.org>
13470
13471 * progmodes/fortran.el (fortran-font-lock-keywords-3):
13472 Use preprocessor face for directives.
13473 (fortran-directive-re): Doc fix.
13474
13475 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13476
13477 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
13478 conversion to backquotes (bug#11652).
13479
13480 Fix compiler-expansion of CL's cXXr functions (bug#11673).
13481 * emacs-lisp/cl-lib.el (cl--defalias): New function.
13482 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
13483 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
13484 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
13485 (cl-ninth, cl-tenth): Mark them as inlinable.
13486 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
13487 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
13488 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
13489 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
13490 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
13491 (cl-list*, cl-adjoin): Don't put an autoload manually.
13492 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
13493 (cl--compiler-macro-list*): Add autoload cookie.
13494 (cl--compiler-macro-cXXr): New function.
13495
13496 * help-fns.el (help-fns--compiler-macro): New function extracted from
13497 describe-function-1; follow aliases and use `compiler-macro' property.
13498 (describe-function-1): Use it.
13499
13500 2012-06-11 Chong Yidong <cyd@gnu.org>
13501
13502 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
13503 is uninstalled, if imagemagick is installed.
13504
13505 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13506
13507 * emacs-lisp/cl-lib.el: Use lexical-binding.
13508 (cl-map-extents, cl-maclisp-member): Remove.
13509 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
13510 (cl--set-substring, cl--block-wrapper, cl--block-throw)
13511 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
13512 * emacs-lisp/cl-extra.el: Use lexical-binding.
13513 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
13514 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
13515 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
13516 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
13517 * emacs-lisp/cl-seq.el: Use lexical-binding.
13518 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
13519 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
13520 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
13521 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
13522 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
13523 CL's internals.
13524
13525 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
13526
13527 Sync with Tramp 2.2.6-pre.
13528
13529 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
13530 `print-length' and `print-level' to nil, in order to avoid
13531 truncation. Reported by Christopher Schmidt
13532 <christopher@ristopher.com>.
13533
13534 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
13535
13536 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
13537 New defmacro.
13538 (tramp-compat-copy-directory): Add optional argument
13539 COPY-CONTENTS. It is not handled yet.
13540
13541 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
13542 (tramp-ftp-file-name-p): Simplify.
13543
13544 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
13545 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
13546 connection vector.
13547
13548 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
13549 (tramp-methods): Do not use `tramp-password-end-of-line'.
13550 (tramp-completion-function-alist-putty): Handle UNIX case.
13551 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
13552 (tramp-do-file-attributes-with-stat)
13553 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
13554 gid as real numbers. They could run out of integer range on cygwin.
13555 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
13556 (tramp-sh-handle-expand-file-name): Handle hops.
13557 (tramp-open-connection-setup-interactive-shell):
13558 Use `tramp-cleanup'. Move check for busyboxes ...
13559 (tramp-find-shell): ... here. Simplify implementation.
13560 Set "remote-shell" property also for alternative shells.
13561 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
13562 If failing, a regular file would be written otherwise.
13563 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
13564 (tramp-find-inline-encoding): Cache the coding commands in the
13565 process cache. Apply test command on the remote side, if defined.
13566 (tramp-find-inline-compress): Cache the compress commands in the
13567 process cache.
13568 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
13569 when requested. Handle hops.
13570 (tramp-current-connection): New defvar.
13571 (tramp-maybe-open-connection): Use `tramp-cleanup'.
13572 Throw `suppress', if there was a failed connection shortly before.
13573 Handle user interrupt. (Bug#10187)
13574 (tramp-get-inline-compress, tramp-get-inline-coding):
13575 Read connection properties from the process cache.
13576
13577 * net/tramp-smb.el (tramp-smb-server-version)
13578 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
13579 New defconsts.
13580 (tramp-smb-prompt): Extend for powershell prompt.
13581 (tramp-smb-file-name-handler-alist): Add handlers for
13582 `process-file', `shell-command' and `start-file-process'.
13583 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
13584 (tramp-smb-winexe-shell-command-switch): New defcustoms.
13585 (tramp-smb-file-name-p): Simplify.
13586 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
13587 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
13588 (tramp-smb-shell-quote-argument): New defuns.
13589 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
13590 Implement using "tar". By this, time-stamps are preserved.
13591 (tramp-smb-handle-copy-file): Handle also the case of directories.
13592 (tramp-smb-do-file-attributes-with-stat)
13593 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
13594 Use `tramp-get-connection-buffer').
13595 (tramp-smb-handle-rename-file): Use "rename", when source and
13596 target are on the same share.
13597 (tramp-smb-maybe-open-connection): Handle wrong passwords.
13598 Use `tramp-smb-server-version'.
13599 (tramp-smb-wait-for-output): Remove prompt.
13600
13601 * net/tramp.el (top): Require 'cl.
13602 (tramp-methods, tramp-rsh-end-of-line):
13603 Remove `tramp-password-end-of-line' from docstring.
13604 (tramp-save-ad-hoc-proxies): New defcustom.
13605 (tramp-completion-function-alist): Adapt docstring.
13606 (tramp-default-password-end-of-line): Remove defcustom.
13607 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
13608 (tramp-user-regexp, tramp-file-name-regexp-unified)
13609 (tramp-file-name-regexp-url): Extend regexp by hop separator.
13610 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
13611 (tramp-remote-file-name-spec-regexp): New defconst.
13612 (tramp-file-name-structure): Extend structure for hops.
13613 (tramp-get-method-parameter): Move up.
13614 (tramp-file-name-p, tramp-dissect-file-name)
13615 (with-parsed-tramp-file-name): Handle hops.
13616 (tramp-file-name-hop): New defun.
13617 (tramp-make-tramp-file-name): New optional arg HOP.
13618 (tramp-message-show-progress-reporter-message): New defvar.
13619 (tramp-with-progress-reporter): Use it. We cannot use
13620 `tramp-message-show-message' here, because this suppresses also
13621 error buffers.
13622 (tramp-error-with-buffer): Suppress buffer view, if
13623 `tramp-message-show-message' is nil.
13624 Use `tramp-get-connection-buffer'.
13625 (tramp-cleanup): New defun.
13626 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
13627 (tramp-file-name-handler): If `debug-on-error' is set, propagate
13628 an error unchanged.
13629 (tramp-completion-handle-file-name-all-completions): Handle hops.
13630 Fix an error when called from ido.
13631 (tramp-completion-dissect-file-name): Use better local variable
13632 name. Add hop to the vector.
13633 (tramp-handle-insert-file-contents): Use progress-reporter for the
13634 whole scenario.
13635 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
13636 to `t'.
13637 (tramp-check-for-regexp): Simplify search.
13638 (tramp-enter-password): Remove it. Move implementation ...
13639 (tramp-action-password): ... here.
13640 (tramp-mode-string-to-int, tramp-local-host-p)
13641 (tramp-make-tramp-temp-file, tramp-read-passwd)
13642 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
13643 Set tramp-autoload cookie.
13644
13645 * net/trampver.el: Update release number.
13646
13647 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13648 Michael Albinus <michael.albinus@gmx.de>
13649
13650 * net/tramp.el (tramp-set-completion-function): Fix docstring.
13651 (tramp-parse-group, tramp-parse-file)
13652 (tramp-parse-shostkeys-sknownhosts): New defuns.
13653 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
13654 (tramp-parse-shosts-group, tramp-parse-sconfig)
13655 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
13656 (tramp-parse-sknownhosts, tramp-parse-hosts)
13657 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
13658 Use them.
13659 (tramp-parse-passwd-group, tramp-parse-netrc-group)
13660 (tramp-parse-putty-group): Don't narrow.
13661 (tramp-parse-putty): Make a loop.
13662 (tramp-file-name-handler): Catch the `suppress' signal.
13663
13664 2012-06-11 Chong Yidong <cyd@gnu.org>
13665
13666 * image.el (imagemagick-register-types): Put the ImageMagick entry
13667 at the end of image-type-file-name-regexps.
13668
13669 2012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
13670
13671 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
13672 (pcase, pcase-let*, pcase-dolist): Use them.
13673
13674 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13675
13676 * emacs-lisp/pcase.el (pcase--let*): New function.
13677 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
13678 (pcase--expand): Use macroexp-let².
13679
13680 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
13681
13682 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
13683 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
13684 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
13685 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
13686 * emacs-lisp/derived.el: Use pcase instead of `cl'.
13687 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
13688
13689 2012-06-10 Glenn Morris <rgm@gnu.org>
13690
13691 * mail/rmail.el (rmail-yank-current-message): Leave point at
13692 correct position. (Bug#11660)
13693
13694 2012-06-10 Chong Yidong <cyd@gnu.org>
13695
13696 * allout-widgets.el: Fix code header.
13697
13698 2012-06-10 Chong Yidong <cyd@gnu.org>
13699
13700 * cus-edit.el (customize-changed-options-previous-release):
13701 Bump to 24.1.
13702
13703 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
13704
13705 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
13706
13707 2012-06-09 Chong Yidong <cyd@gnu.org>
13708
13709 * ebuff-menu.el (electric-buffer-list): Preserve header line.
13710
13711 2012-06-09 Martin Rudalics <rudalics@gmx.at>
13712
13713 * window.el (special-display-popup-frame): Don't use
13714 window--display-buffer (Bug#11651).
13715
13716 2012-06-09 Eli Zaretskii <eliz@gnu.org>
13717
13718 Fix parallel builds: make sure loaddefs.el is not being written
13719 while Lisp files are compiled.
13720 (compile): Don't depend on 'mh-autoloads'.
13721 (compile-CMD, compile-SH): Depend on 'autoloads'.
13722 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
13723
13724 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
13725
13726 2012-06-09 Chong Yidong <cyd@gnu.org>
13727
13728 * face-remap.el (face-remap-add-relative, face-remap-set-base)
13729 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
13730 Doc fixes (Bug#11225).
13731
13732 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
13733
13734 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
13735 a function if there's a clear indication that it has a compiler-macro.
13736 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
13737 (macro-declarations-alist): Add arglist to declaration functions.
13738 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
13739 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
13740 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
13741 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
13742 Also add autoload to find the compiler macro.
13743 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
13744 (cl--compiler-macro-member, cl--compiler-macro-assoc)
13745 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
13746 (cl--compiler-macro-get): New functions, replacing calls to
13747 cl-define-compiler-macro.
13748 (cl-typep) [compiler-macro]: Use macroexp-let².
13749
13750 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
13751
13752 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
13753 string properly, fixes Bug#11473.
13754
13755 2012-06-08 Chong Yidong <cyd@gnu.org>
13756
13757 * faces.el (set-face-attribute): Doc fix.
13758 (modify-face): Don't use :bold and :italic.
13759 (error, warning, success): Tweak definitions.
13760
13761 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
13762 (custom-modified, custom-set, custom-changed, custom-themed)
13763 (custom-saved, custom-button, custom-button-mouse)
13764 (custom-button-pressed, custom-state, custom-comment-tag)
13765 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
13766 (custom-group-subtitle): Use new-style face specs.
13767 (custom-invalid-face, custom-rogue-face, custom-modified-face)
13768 (custom-set-face, custom-changed-face, custom-saved-face)
13769 (custom-button-face, custom-button-pressed-face)
13770 (custom-documentation-face, custom-state-face)
13771 (custom-comment-face, custom-comment-tag-face)
13772 (custom-variable-tag-face, custom-variable-button-face)
13773 (custom-face-tag-face, custom-group-tag-face-1)
13774 (custom-group-tag-face): Remove obsolete face alias.
13775
13776 * epa.el (epa-validity-high, epa-validity-medium)
13777 (epa-validity-low, epa-mark, epa-field-name, epa-string)
13778 (epa-field-name, epa-field-body):
13779 * font-lock.el (font-lock-comment-face, font-lock-string-face)
13780 (font-lock-keyword-face, font-lock-builtin-face)
13781 (font-lock-function-name-face, font-lock-variable-name-face)
13782 (font-lock-type-face, font-lock-constant-face):
13783 * ido.el (ido-first-match, ido-only-match, ido-subdir)
13784 (ido-virtual, ido-indicator, ido-incomplete-regexp):
13785 * speedbar.el (speedbar-button-face, speedbar-file-face)
13786 (speedbar-directory-face, speedbar-tag-face)
13787 (speedbar-selected-face, speedbar-highlight-face)
13788 (speedbar-separator-face):
13789 * whitespace.el (whitespace-newline, whitespace-space)
13790 (whitespace-hspace, whitespace-tab, whitespace-trailing)
13791 (whitespace-line, whitespace-space-before-tab)
13792 (whitespace-space-after-tab, whitespace-indentation)
13793 (whitespace-empty):
13794 * emulation/cua-base.el (cua-global-mark):
13795 * eshell/em-prompt.el (eshell-prompt):
13796 * net/newst-plainview.el (newsticker-new-item-face)
13797 (newsticker-old-item-face, newsticker-immortal-item-face)
13798 (newsticker-obsolete-item-face, newsticker-date-face)
13799 (newsticker-statistics-face, newsticker-default-face):
13800 * net/newst-reader.el (newsticker-feed-face)
13801 (newsticker-extra-face, newsticker-enclosure-face):
13802 * net/newst-treeview.el (newsticker-treeview-face)
13803 (newsticker-treeview-new-face, newsticker-treeview-old-face)
13804 (newsticker-treeview-immortal-face)
13805 (newsticker-treeview-obsolete-face)
13806 (newsticker-treeview-selection-face):
13807 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
13808 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
13809 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
13810 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
13811 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
13812 (nxml-outline-active-indicator, nxml-outline-ellipsis):
13813 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
13814 (mpuz-text):
13815 * progmodes/vera-mode.el (vera-font-lock-number)
13816 (vera-font-lock-function, vera-font-lock-interface):
13817 * textmodes/table.el (table-cell): Use new-style face specs, and
13818 don't use the old :bold and :italic attributes.
13819
13820 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
13821 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
13822 (ebrowse-member-class, ebrowse-progress): Likewise.
13823 (ebrowse-tree-mark-face, ebrowse-root-class-face)
13824 (ebrowse-file-name-face, ebrowse-default-face)
13825 (ebrowse-member-attribute-face, ebrowse-member-class-face)
13826 (ebrowse-progress-face): Remove obsolete faces.
13827
13828 * progmodes/flymake.el (flymake-errline, flymake-warnline):
13829 Inherit from error and warning faces respectively.
13830
13831 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
13832 Likewise.
13833 (flyspell-incorrect-face, flyspell-duplicate-face):
13834 Remove obsolete aliases.
13835
13836 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
13837
13838 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13839 Avoid infloop.
13840
13841 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13842
13843 * startup.el (argv, argi): Make lexically scoped.
13844 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
13845 * emacs-lisp/cl-macs.el: Use lexical-binding.
13846 Rename cl-bind-* to cl--bind-*.
13847 * files.el: Don't require `cl' since it doesn't use it.
13848 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
13849
13850 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
13851
13852 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
13853 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
13854 instead of calling external sort utility.
13855 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
13856
13857 2012-06-08 Eli Zaretskii <eliz@gnu.org>
13858
13859 * descr-text.el (describe-char): Mention how to insert the
13860 character, if the current input method doesn't support it.
13861 See the discussion in this thread for the details:
13862 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
13863
13864 2012-06-08 Sam Steingold <sds@gnu.org>
13865
13866 * bindings.el (global-map): Bind XF86Forward to next-buffer and
13867 XF86Back to previous-buffer.
13868 (minibuffer-local-map): Bind them to next-history-element and
13869 previous-history-element respectively.
13870 * help-mode.el (help-mode-map): Bind them to help-go-forward and
13871 help-go-back respectively.
13872 * info.el (Info-mode-map): Bind them to Info-history-forward and
13873 Info-history-back respectively.
13874 These are the keys next to Up on the ThinkPad keyboard.
13875
13876 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13877
13878 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
13879 * emacs-lisp/cl-macs.el: Provide itself.
13880 (cl--labels-convert-cache): New var.
13881 (cl--labels-convert): New function.
13882 (cl-flet, cl-labels): New implementation with new semantics, relying on
13883 lexical-binding.
13884 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
13885 (cl-closure-vars, cl--function-convert-cache)
13886 (cl--function-convert): Move from cl-macs.el.
13887 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
13888 rename by removing the "cl-" prefix.
13889 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
13890
13891 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13892
13893 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
13894 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
13895 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
13896 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
13897 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
13898 (cl-hash-table-count): Add old compatibility aliases.
13899
13900 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
13901 Use macroexpand-all-environment instead.
13902 (cl--old-macroexpand): New var.
13903 (cl--sm-macroexpand): New function.
13904 (cl-symbol-macrolet): Use it during macro expansion.
13905 (cl--function-convert-cache): New var.
13906 (cl--function-convert): New function, extracted from
13907 cl-macroexpand-all.
13908 (cl-lexical-let): Use it.
13909
13910 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
13911 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
13912 (cl-member): Remove old alias.
13913
13914 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
13915 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
13916 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
13917 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
13918 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
13919 (cl-macroexpand-cmacs): Remove var.
13920 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
13921 Use macroexpand-all instead.
13922
13923 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13924
13925 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
13926 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
13927 (macroexp-copyable-p): New functions and macros.
13928 * emacs-lisp/edebug.el (edebug-unwrap):
13929 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
13930 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
13931 (pcase--let*): Remove.
13932 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
13933 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
13934 macroexp-const-p instead.
13935 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
13936
13937 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
13938 instead of "cl-" for internal definitions. Use macroexp-const-p.
13939 (cl-old-bc-file-form): Remove var.
13940 (cl-const-exprs-p): Remove fun.
13941 (cl-labels, cl-macrolet): Use backquote.
13942 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
13943 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
13944 (cl-define-setf-expander): Rename from cl-define-setf-method.
13945 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
13946
13947 * international/mule-cmds.el: Don't require CL.
13948 (view-hello-file): Don't use `letf'.
13949
13950 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13951
13952 * tmm.el (tmm-prompt): Use string-prefix-p.
13953 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
13954 (tmm-add-prompt): Use minibuffer-completion-help.
13955 (tmm-delete-map): Remove.
13956
13957 * subr.el (kbd): Make it its own function.
13958
13959 2012-06-07 Stefan Merten <smerten@oekonux.de>
13960
13961 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
13962 Silence compiler warnings. Fix versions.
13963 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
13964 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
13965 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
13966 (rst-package-emacs-version-alist): Correct Emacs version to
13967 represent major merge with upstream.
13968 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
13969
13970 2012-06-06 Glenn Morris <rgm@gnu.org>
13971
13972 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
13973 Only print environment variables if set.
13974
13975 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13976
13977 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
13978 (macroexp--cons): Rename from maybe-cons.
13979 (macroexp--accumulate): Rename from macroexp-accumulate.
13980 (macroexp--all-forms): Rename from macroexpand-all-forms.
13981 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
13982 (macroexp--expand-all): Rename from macroexpand-all-1.
13983
13984 2012-06-06 Sam Steingold <sds@gnu.org>
13985
13986 * calendar/calendar.el (calendar-in-read-only-buffer):
13987 Call `special-mode' to enable the standard read-only keybindings.
13988
13989 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13990
13991 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
13992 with "loading" messages (bug#11635).
13993
13994 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
13995
13996 * files.el (enable-remote-dir-locals): New option.
13997 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
13998
13999 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
14000 Ensure, that the temp directory is local.
14001
14002 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
14003 `temporary-file-directory'.
14004
14005 * progmodes/python.el (python-send-region): Ensure, that the
14006 temporary file is created also in the remote case.
14007
14008 2012-06-06 Glenn Morris <rgm@gnu.org>
14009
14010 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
14011 (vc-rcs-update-changelog): Use it.
14012
14013 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
14014
14015 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
14016 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
14017 (vc-sccs-diff): Replace use of the external vcdiff script.
14018
14019 2012-06-05 Glenn Morris <rgm@gnu.org>
14020
14021 * ledit.el: Move to obsolete/.
14022
14023 2012-06-05 Sam Steingold <sds@gnu.org>
14024
14025 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
14026 patch (Bug#11140).
14027
14028 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14029
14030 * emacs-lisp/cust-print.el: Move to obsolete.
14031
14032 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
14033 compiler-macro expansion.
14034
14035 Add native compiler-macro support.
14036 * emacs-lisp/macroexp.el (macroexpand-all-1):
14037 Support compiler-macros directly. Properly follow aliases and apply
14038 the compiler macros more thoroughly.
14039 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
14040 macroexpand now properly follows aliases.
14041 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
14042 (cl-compiler-macroexpand): Use new prop.
14043 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
14044
14045 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
14046
14047 2012-06-05 Martin Rudalics <rudalics@gmx.at>
14048
14049 * window.el (get-lru-window, get-mru-window, get-largest-window):
14050 New argument NOT-SELECTED to avoid picking the selected window.
14051 (window--display-buffer-1, window--display-buffer-2): Replace by
14052 new function window--display-buffer
14053 (display-buffer-same-window, display-buffer-reuse-window)
14054 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14055 Use window--display-buffer.
14056 (display-buffer-use-some-window): Remove temporary dedication
14057 hack by calling get-lru-window and get-largest-window with
14058 NOT-SELECTED argument non-nil. Call window--display-buffer.
14059
14060 2012-06-05 Glenn Morris <rgm@gnu.org>
14061
14062 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
14063 Replace external vcdiff script.
14064
14065 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14066
14067 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
14068
14069 2012-06-04 Chong Yidong <cyd@gnu.org>
14070
14071 * image.el (imagemagick-types-inhibit): Revert last change.
14072 Add INFO and M.
14073 (imagemagick-enabled-types): Remove CIN and EPS*.
14074
14075 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14076
14077 * emacs-lisp/cl-lib.el: Rename from cl.el.
14078 * emacs-lisp/cl.el: New compatibility file.
14079 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
14080 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
14081 to obey the "cl-" prefix.
14082 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
14083
14084 2012-06-03 Glenn Morris <rgm@gnu.org>
14085
14086 * emacs-lisp/authors.el (authors-aliases): Addition.
14087
14088 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
14089 Fix :version.
14090
14091 2012-06-03 Stefan Merten <smerten@oekonux.de>
14092
14093 * textmodes/rst.el: Add comments.
14094 (rst-transition, rst-adornment): New faces.
14095 (rst-adornment-faces-alist): Make default safe to reevaluate.
14096 Fixes
14097 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
14098 Improve customization tags.
14099 (rst-define-level-faces): Clarify meaning.
14100
14101 2012-06-03 Chong Yidong <cyd@gnu.org>
14102
14103 * progmodes/compile.el (compilation-mode-line-fail)
14104 (compilation-mode-line-run, compilation-mode-line-exit):
14105 New faces.
14106 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
14107
14108 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
14109
14110 * progmodes/which-func.el (which-func-update-ediff-windows):
14111 New function. Use it in ediff-select-hook (Bug#11478).
14112
14113 2012-06-03 Chong Yidong <cyd@gnu.org>
14114
14115 * bindings.el: Remove explicit help text from format-mode-line.
14116 It is now supplied by mode-line-default-help-echo.
14117 (mode-line-front-space, mode-line-end-spaces)
14118 (mode-line-misc-info): New variables.
14119 (mode-line-modes, mode-line-position): Move the default value to
14120 the variable definition.
14121 (mode-line-default-help-echo): New defcustom.
14122 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
14123 (mode-line-modified-help-echo): New functions.
14124 (mode-line-mule-info, mode-line-modified): Use them.
14125 (mode-line-eol-desc, propertized-buffer-identification):
14126 Consistency fixes for help text.
14127 (mode-line-coding-system-map): Allow using mouse-3 to invoke
14128 set-buffer-file-coding-system (Bug#289).
14129 (mode-line-mule-info-help-echo): Update help text.
14130
14131 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14132
14133 * simple.el (execute-extended-command): Set real-this-command
14134 (bug#11506).
14135
14136 2012-06-02 Chong Yidong <cyd@gnu.org>
14137
14138 Remove incorrect uses of "modeline" in comments, docstrings, and
14139 function/variable names (Bug#10329).
14140
14141 * cus-edit.el (mode-line):
14142 * dframe.el (dframe-mouse-hscroll):
14143 * emacs-lisp/re-builder.el:
14144 * emacs-lisp/easy-mmode.el (define-minor-mode):
14145 * frame.el (set-frame-name):
14146 * help.el (lookup-minor-mode-from-indicator):
14147 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
14148 * progmodes/cc-cmds.el (c-toggle-auto-newline)
14149 (c-toggle-hungry-state):
14150 * progmodes/antlr-mode.el (antlr-language-alist):
14151 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
14152 * progmodes/vhdl-mode.el (vhdl-mode):
14153 * progmodes/which-func.el (which-func, which-func-cleanup-function):
14154 * term/ns-win.el (ns-face-at-pos):
14155 * term/sup-mouse.el (sup-mouse-report):
14156 * textmodes/flyspell.el (flyspell-mode-line-string):
14157 * textmodes/ispell.el (ispell-highlight-face):
14158 * textmodes/reftex-global.el:
14159 * vc/vc-arch.el (vc-arch-mode-line-string):
14160 * vc/vc-cvs.el (vc-cvs-mode-line-string):
14161 * vc/vc-git.el (vc-git-mode-line-string):
14162 * vc/vc-hooks.el (vc-display-status)
14163 (vc-default-mode-line-string):
14164 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
14165
14166 * ansi-color.el (ansi-color-faces-vector): Change default faces.
14167
14168 * dired.el (dired-sort-set-mode-line): Rename from
14169 dired-sort-set-modeline. All callers changed.
14170
14171 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
14172 eshell-status-in-modeline.
14173
14174 * foldout.el (foldout-mode-line-string): Rename from
14175 foldout-modeline-string. All callers changed.
14176 (foldout-update-mode-line): Rename from foldout-update-modeline.
14177
14178 * subr.el (redraw-modeline): Make into obsolete alias.
14179
14180 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
14181 timeclock-modeline-display. Make old name an alias.
14182 (timeclock-update-mode-line): Likewise. All callers changed.
14183 (timeclock-mode-line-display): No need to check before using
14184 add-hook.
14185 (timeclock-relative, timeclock-day-over-hook)
14186 (timeclock-use-elapsed, timeclock-mode-string)
14187 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
14188
14189 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
14190 crisp-mode-modeline-string.
14191
14192 * play/solitaire.el (solitaire-build-mode-line): Rename from
14193 solitaire-build-modeline. All callers changed.
14194
14195 * play/zone.el (zone-hiding-mode-line): Rename from
14196 zone-hiding-modeline. All callers changed.
14197 (zone): Remove unusued `modeline-hidden-level' property.
14198
14199 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
14200 xscheme-modeline-initialize. All callers changed.
14201
14202 * strokes.el (strokes-lighter): Rename from
14203 strokes-modeline-string.
14204
14205 * textmodes/sgml-mode.el (html-face-tag-alist)
14206 (html-tag-face-alist): Use mode-line face instead of obsolete
14207 alias modeline.
14208
14209 2012-06-02 Stefan Merten <smerten@oekonux.de>
14210
14211 * textmodes/rst.el: Always require `cl'.
14212 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
14213
14214 2012-06-02 Chong Yidong <cyd@gnu.org>
14215
14216 * image.el (imagemagick-enabled-types): Rename from
14217 imagemagick-types-enable. Add many more types.
14218 (imagemagick-types-inhibit): Change default to nil.
14219 (imagemagick-filter-types): Caller changed.
14220
14221 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14222
14223 * emacs-lisp/cl-macs.el: Use backquotes.
14224 (cl-transform-function-property): Use eval-and-compile rather than
14225 abusing `require'.
14226 (defstruct): Use declare-function instead of with-no-warnings.
14227
14228 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
14229 (byte-compile-output-docform): Re-add the print-circle bindings.
14230 (byte-compile-fix-header): Use #$ just because it's shorter.
14231 (byte-compile-output-file-form): Remove defun/defmacro.
14232
14233 2012-06-01 Martin Rudalics <rudalics@gmx.at>
14234
14235 * simple.el (choose-completion): Remove now obsolete binding for
14236 owindow.
14237
14238 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
14239
14240 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
14241 in order to avoid "Stack overflow in regexp matcher".
14242
14243 2012-05-31 Glenn Morris <rgm@gnu.org>
14244
14245 * image.el: For clarity, call imagemagick-register-types at
14246 top-level, rather than relying on a custom :initialize.
14247 (imagemagick-types-enable): New option. (Bug#11557)
14248 (imagemagick-filter-types): New function. (Bug#7406)
14249 (imagemagick-register-types): Use imagemagick-filter-types.
14250 If disabling support, remove elements altogether rather
14251 than using an impossible regexp.
14252 (imagemagick-types-inhibit): Give it the default init function.
14253
14254 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14255
14256 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
14257 Handle arbitrary file name lengths (Bug#11585).
14258
14259 2012-05-31 Martin Rudalics <rudalics@gmx.at>
14260
14261 * desktop.el (desktop-read): Clear previous and next buffers for
14262 all windows and bury *Messages* buffer (bug#11556).
14263
14264 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14265
14266 Add `declare' for `defun'. Align `defmacro's with it.
14267 * emacs-lisp/easy-mmode.el (define-minor-mode)
14268 (define-globalized-minor-mode): Don't autoload the var definitions.
14269 * emacs-lisp/byte-run.el: Use lexical-binding.
14270 (defun-declarations-alist, macro-declarations-alist): New vars.
14271 (defmacro, defun): Use them.
14272 (make-obsolete, define-obsolete-function-alias)
14273 (make-obsolete-variable, define-obsolete-variable-alias):
14274 Use `declare'.
14275 (macro-declaration-function): Mark obsolete.
14276 * emacs-lisp/autoload.el: Use lexical-binding.
14277 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
14278
14279 2012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14280
14281 * textmodes/ispell.el (ispell-with-no-warnings):
14282 Define as a macro.
14283 (ispell-kill-ispell, ispell-change-dictionary):
14284 Use `called-interactively-p' for Emacs instead of obsolete
14285 `interactive-p'.
14286
14287 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14288
14289 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
14290 (macro-declaration-function): Move var from C code.
14291 (macro-declaration-function): Define function with defalias.
14292 * emacs-lisp/macroexp.el (macroexpand-all-1):
14293 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
14294 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
14295 defun/defmacro any more.
14296 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
14297 Provide fallback for unknown arglist.
14298 (byte-compile-arglist-warn): Change calling convention.
14299 (byte-compile-output-file-form): Move print-vars binding.
14300 (byte-compile-output-docform): Simplify accordingly.
14301 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
14302 (byte-compile-defmacro-declaration): Remove.
14303 (byte-compile-file-form-defmumble): Generalize to defalias.
14304 (byte-compile-output-as-comment): Return byte-positions.
14305 Simplify callers accordingly.
14306 (byte-compile-lambda): Use `assert'.
14307 (byte-compile-defun, byte-compile-defmacro): Remove.
14308 (byte-compile-file-form-defalias):
14309 Use byte-compile-file-form-defmumble.
14310 (byte-compile-defalias-warn): Remove.
14311
14312 2012-05-29 Stefan Merten <smerten@oekonux.de>
14313
14314 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
14315 possible. Fix authors. Improve comments. Improve loading of `cl'.
14316
14317 (rst-mode-abbrev-table): Merge definition.
14318 (rst-mode): Make sure `font-lock-defaults' is buffer local.
14319 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
14320
14321 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
14322
14323 * calendar/icalendar.el
14324 (icalendar-export-region): Export UID properly.
14325
14326 2012-05-29 Leo Liu <sdl.web@gmail.com>
14327 * calendar/icalendar.el (icalendar-import-format):
14328 Add `icalendar-import-format-uid' (Bug#11525).
14329 (icalendar-import-format-uid): New.
14330 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
14331 Export UID.
14332
14333 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14334
14335 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
14336 different alternative patterns.
14337 (pcase-codegen): Be more careful to preserve identity.
14338 (pcase--u1): Don't forget to mark vars as used.
14339
14340 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
14341 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
14342 (byte-compile-from-buffer): ...rather than here.
14343
14344 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
14345 functions from byte-compile-function-environment.
14346
14347 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
14348
14349 * window.el (window-deletable-p): Avoid deleting the root window
14350 of a frame with an active minibuffer.
14351
14352 2012-05-29 Martin Rudalics <rudalics@gmx.at>
14353
14354 * simple.el (choose-completion): Use quit-window (Bug#11567).
14355
14356 2012-05-29 Chong Yidong <cyd@gnu.org>
14357
14358 * whitespace.el (whitespace-cleanup): Fix usage of
14359 whitespace-empty-at-bob-regexp (Bug#11492).
14360
14361 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14362
14363 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
14364 revert (Bug#11488).
14365
14366 2012-05-29 Juri Linkov <juri@jurta.org>
14367
14368 * isearch.el (isearch-mode-map): Bind `M-s _' to
14369 `isearch-toggle-symbol'. Bind `M-s c' to
14370 `isearch-toggle-case-fold'.
14371 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
14372 (isearch-forward): Add `M-s _' to the docstring.
14373 (isearch-forward-symbol, isearch-toggle-case-fold)
14374 (isearch-symbol-regexp): New functions. (Bug#11381)
14375
14376 2012-05-29 Juri Linkov <juri@jurta.org>
14377
14378 * isearch.el (isearch-word): Add docstring. (Bug#11381)
14379 (isearch-occur, isearch-search-and-update): If `isearch-word' is
14380 a function, call it to get the regexp.
14381 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
14382 property `isearch-message-prefix' instead of the string "word ".
14383 (isearch-search-fun-default): For the case of `isearch-word',
14384 return a lambda that calls re-search-forward/re-search-backward
14385 with a regexp returned by `word-search-regexp' or by the function
14386 in `isearch-word'.
14387
14388 2012-05-29 Juri Linkov <juri@jurta.org>
14389
14390 * isearch.el (isearch-search-fun-default): New function.
14391 (isearch-search-fun): Move default part to the new function
14392 `isearch-search-fun-default'.
14393 (isearch-search-fun-function): Set the default value to
14394 `isearch-search-fun-default'. (Bug#11381)
14395
14396 * comint.el (comint-history-isearch-end):
14397 Use `isearch-search-fun-default'.
14398 (comint-history-isearch-search): Use `isearch-search-fun-default'
14399 and remove spacial case for `isearch-word'.
14400 (comint-history-isearch-wrap): Remove spacial case for
14401 `isearch-word'.
14402
14403 * hexl.el (hexl-isearch-search-function):
14404 Use `isearch-search-fun-default'.
14405
14406 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
14407 Use `word-search-regexp' for `isearch-word'.
14408
14409 * misearch.el (multi-isearch-search-fun):
14410 Use `isearch-search-fun-default'.
14411
14412 * simple.el (minibuffer-history-isearch-search):
14413 Use `isearch-search-fun-default' and remove spacial case for
14414 `isearch-word'.
14415 (minibuffer-history-isearch-wrap): Remove spacial case for
14416 `isearch-word'.
14417
14418 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
14419 Remove spacial case for `isearch-word'.
14420 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
14421
14422 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14423
14424 Decrease XEmacs incompatibilities.
14425 * textmodes/flyspell.el (flyspell-check-pre-word-p):
14426 Use `string-match'.
14427 (flyspell-delete-region-overlays): Use alternative definition for
14428 XEmacs.
14429 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
14430 (flyspell-word): Use `process-kill-without-query' if XEmacs.
14431 (flyspell-mode-on): Use `interactive-p' if XEmacs.
14432 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
14433 `define-obsolete-face-alias' under XEmacs, but old method.
14434
14435 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
14436 `with-no-warnings' definition or Emacs alias.
14437 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
14438 (ispell-word): Do not use `region-p' if XEmacs.
14439
14440 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14441
14442 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
14443 Check for `ispell-dictionary-base-alist' instead of full
14444 `ispell-dictionary-alist'.
14445 (ispell-init-process): Show spellchecker when starting new Ispell
14446 process.
14447
14448 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14449
14450 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
14451 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
14452
14453 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
14454
14455 * version.el (motif-version-string, gtk-version-string)
14456 (ns-version-string): Declare.
14457
14458 2012-05-27 Juri Linkov <juri@jurta.org>
14459
14460 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
14461 after the `eval-defun-1' specialcaseing
14462 like in `edebug-eval-defun' (bug#10181).
14463
14464 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
14465 like in `eval-defun-1'.
14466
14467 2012-05-27 Eli Zaretskii <eliz@gnu.org>
14468
14469 * mail/sendmail.el (mail-yank-region):
14470 Recognize rmail-yank-current-message in addition to insert-buffer.
14471 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
14472 a *mail* buffer created through rmail-start-mail with sendmail as
14473 mail-user-agent.
14474
14475 2012-05-27 Chong Yidong <cyd@gnu.org>
14476
14477 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
14478 Default to 256 (Bug#11267).
14479
14480 * help.el (describe-mode): Doc fix.
14481
14482 2012-05-26 Glenn Morris <rgm@gnu.org>
14483
14484 * w32-fns.el (w32-init-info): Remove.
14485 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
14486
14487 * info.el (info-initialize): For self-contained NS builds, put the
14488 included info/ directory at the front. (Bug#2791)
14489
14490 * paths.el (Info-default-directory-list): Make it a defcustom,
14491 mainly so that we can use custom-initialize-delay.
14492
14493 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
14494
14495 * subr.el (buffer-has-markers-at): Mark obsolete.
14496
14497 * subr.el (lambda): Use declare.
14498
14499 * emacs-lisp/lisp-mode.el (lambda):
14500 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
14501
14502 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14503
14504 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
14505
14506 2012-05-26 Glenn Morris <rgm@gnu.org>
14507
14508 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
14509
14510 2012-05-25 Glenn Morris <rgm@gnu.org>
14511
14512 * paths.el: Remove no-byte-compile.
14513 * loadup.el: No need to load paths.el uncompiled.
14514
14515 * image.el (imagemagick-types-inhibit): Doc fix.
14516
14517 * version.el: Remove no-byte-compile and associated formatting.
14518 * loadup.el: No need to load version.el uncompiled. AFAICS, this
14519 is ancient code from when there was an "inc-vers.el".
14520
14521 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14522
14523 * progmodes/gdb-mi.el: Minor style changes.
14524 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
14525 Turn into minor modes.
14526 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
14527 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
14528 (gdb-shell): Remove unneeded let-binding.
14529 (gdb-get-many-fields): Eliminate O(n²) behavior.
14530
14531 2012-05-25 Eli Zaretskii <eliz@gnu.org>
14532
14533 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
14534 platforms that don't link in fontset.c.
14535
14536 2012-05-25 Juri Linkov <juri@jurta.org>
14537
14538 Use the same diff color scheme as in modern VCSes (bug#10181).
14539
14540 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
14541 to avoid confusion with `diff-added' that now uses green colors.
14542 (diff-removed): Use shades of red.
14543 (diff-added): Use shades of green.
14544 (diff-changed): Leave just the yellow color.
14545 (diff-use-changed-face): New variable.
14546 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
14547 how to highlight context diff changes.
14548 (diff-refine-change): Use shades of yellow.
14549 (diff-refine-removed): New face that uses shades of red.
14550 (diff-refine-added): New face that uses shades of green.
14551 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
14552 `diff-refine-removed' in the call to `smerge-refine-subst'
14553 depending on the value of `diff-use-changed-face'.
14554
14555 * vc/smerge-mode.el (smerge-mine): Use shades of red.
14556 (smerge-other): Use shades of green.
14557 (smerge-base): Use shades of yellow.
14558 (smerge-refined-change): Empty face.
14559 (smerge-refined-removed): New face that uses shades of red.
14560 (smerge-refined-added): New face that uses shades of green.
14561 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
14562 args `props-r' and `props-a', and use them. Doc fix.
14563 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
14564 on its value use different faces `smerge-refined-change',
14565 `smerge-refined-removed', `smerge-refined-added' in the call to
14566 `smerge-refine-subst'.
14567
14568 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
14569 Add face condition `min-colors 88' with shades of red.
14570 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
14571 `min-colors 88' with shades of green.
14572 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
14573 `min-colors 88' with shades of yellow.
14574
14575 2012-05-24 Glenn Morris <rgm@gnu.org>
14576
14577 * paths.el (prune-directory-list, remote-shell-program): Move to...
14578 * files.el (prune-directory-list, remote-shell-program): ...here.
14579 For the latter, delay initialization, prefer ssh, just search PATH.
14580
14581 * paths.el (term-file-prefix): Move to faces.el (the only user).
14582 * faces.el (term-file-prefix): Move here, make it a defcustom.
14583
14584 * paths.el (news-directory, news-path, news-inews-program):
14585 Move to gnus/nnspool.el.
14586
14587 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
14588
14589 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
14590 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
14591 Make the latter a defcustom, with a delayed initialization.
14592
14593 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
14594 These were deleted from Gnus itself late 2010.
14595
14596 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
14597
14598 * progmodes/which-func.el (which-func-ff-hook):
14599 Check against user-error, not error.
14600
14601 * emacs-lisp/edebug.el (top): Do not load or set up loading of
14602 cl-specs.el, which no longer exists.
14603
14604 2012-05-22 Glenn Morris <rgm@gnu.org>
14605
14606 * info.el (info-emacs-bug): New command.
14607 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
14608 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
14609
14610 2012-05-21 Glenn Morris <rgm@gnu.org>
14611
14612 * makefile.w32-in (update-subdirs-SH):
14613 * Makefile.in (update-subdirs): Update for moved update-subdirs.
14614
14615 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14616
14617 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
14618
14619 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14620 Simplify Maven regexp, and make sure the file can't start with a space
14621 (bug#11517).
14622
14623 2012-05-21 Glenn Morris <rgm@gnu.org>
14624
14625 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
14626 Scrap superfluous subshells.
14627
14628 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
14629
14630 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
14631 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
14632
14633 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
14634
14635 * calc/calc.el (calc-ensure-consistent-units): New variable.
14636
14637 * calc/calc-units.el (math-consistent-units-p)
14638 (math-check-unit-consistency): New functions.
14639 (calc-quick-units, calc-convert-units):
14640 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
14641 is non-nil.
14642 (calc-extract-units): Fix typo.
14643
14644 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
14645
14646 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
14647
14648 * textmodes/flyspell.el: Commenting style, plus code simplifications.
14649 (flyspell-default-deplacement-commands): Don't spell check after
14650 repeated window/frame switches (e.g. triggered by mouse-movement).
14651 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
14652 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
14653 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
14654 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
14655 Remove unused vars.
14656 (flyspell-get-casechars, flyspell-get-not-casechars):
14657 Simplify; Don't bother removing a ] just to add it back.
14658 * textmodes/ispell.el (ispell-program-name): Use executable-find.
14659
14660 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
14661
14662 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
14663 New functions.
14664 (math-function-table): Add support for more C functions.
14665
14666 2012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14667
14668 * textmodes/flyspell.el (flyspell-check-pre-word-p)
14669 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
14670 Protect delay handling for otherchars against empty otherchars.
14671
14672 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
14673
14674 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
14675 their respective macro declarations.
14676 * skeleton.el (define-skeleton):
14677 * progmodes/compile.el (define-compilation-mode):
14678 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
14679 (define-ibuffer-filter):
14680 * emacs-lisp/generic.el (define-generic-mode):
14681 * emacs-lisp/easy-mmode.el (define-minor-mode)
14682 (define-globalized-minor-mode):
14683 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
14684 * emacs-lisp/byte-run.el (defsubst):
14685 * custom.el (deftheme): Add doc-string metadata.
14686
14687 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14688
14689 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
14690
14691 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14692
14693 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
14694
14695 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
14696 * emacs-lisp/cl-macs.el: Idem.
14697 * emacs-lisp/cl-specs.el: Remove.
14698
14699 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14700
14701 Minor renaming of internal CL functions and variables.
14702 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
14703 (cl--position): Rename from cl-position.
14704 (cl--delete-duplicates): Rename from cl-delete-duplicates.
14705 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
14706 (cl--random-state): Rename from *random-state*.
14707
14708 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14709
14710 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
14711 parens around the arg list (bug#11499).
14712
14713 2012-05-17 Juri Linkov <juri@jurta.org>
14714
14715 * isearch.el (word-search-regexp, word-search-backward)
14716 (word-search-forward, word-search-backward-lax)
14717 (word-search-forward-lax): Move functions from search.c
14718 (bug#10145, bug#11381).
14719
14720 2012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14721
14722 * textmodes/flyspell.el (flyspell-check-pre-word-p)
14723 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
14724 Delay for otherchars as for normal word components.
14725
14726 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14727
14728 * minibuffer.el (completion--sifn-requote): Fix last change.
14729 (minibuffer-local-must-match-filename-map):
14730 Move define-obsolete-variable-alias before its var.
14731
14732 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14733
14734 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
14735
14736 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
14737 behavior.
14738 (completion--string-equal-p): New function.
14739 (completion--twq-all): Use it to get better assertion failure data.
14740
14741 Only handle ".." and '..' quoting in shell-mode (bug#11466).
14742 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
14743 (shell--requote-argument): New functions.
14744 (shell-completion-vars): Use them.
14745 (shell--parse-pcomplete-arguments): Rename from
14746 shell-parse-pcomplete-arguments.
14747 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
14748 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
14749 Obey comint-file-name-quote-list.
14750
14751 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
14752 (smie-indent-keyword): Use it.
14753
14754 2012-05-14 Stefan Merten <smerten@oekonux.de>
14755
14756 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
14757
14758 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
14759
14760 * net/rlogin.el (rlogin-mode-map): Fix last change.
14761
14762 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
14763
14764 * mail/smtpmail.el (smtpmail-send-command): Send the command and
14765 the following \r\n using a single `process-send-string', since the
14766 Lotus SMTP server refuses to accept any commands if they are sent
14767 with two `process-send-string's (Bug#11444).
14768
14769 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
14770
14771 * shell.el (shell-parse-pcomplete-arguments):
14772 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
14773
14774 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
14775
14776 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
14777 (image-transform-scale, image-transform-right-angle-fudge): New vars.
14778 (image-transform-width, image-transform-fit-width): New functions.
14779 (image-transform-properties): Use them.
14780 (image-transform-check-size): New function.
14781 (image-toggle-display-image): Use it (for testing).
14782 (image-transform-set-rotation): Reduce angle mod 360.
14783 Delete obsolete comment.
14784
14785 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
14786
14787 * image-mode.el: Fix scaling (bug#11399).
14788 (image-transform-resize): Doc fix.
14789 (image-transform-properties): Default scale is 1 and height should
14790 be an integer.
14791
14792 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
14793
14794 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
14795 than hard-coding `car', to fix misbehavior when moving forward.
14796
14797 2012-05-13 Chong Yidong <cyd@gnu.org>
14798
14799 * emacs-lisp/tabulated-list.el (tabulated-list-format)
14800 (tabulated-list-entries, tabulated-list-padding)
14801 (tabulated-list-sort-key): Make permanent-local.
14802
14803 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
14804 (electric-buffer-list): Put electric buffer menu
14805 command descriptions in this docstring, instead of the docstring
14806 of electric-buffer-menu-mode. Code cleanups.
14807 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
14808 Electric-buffer-menu-mode.
14809 (electric-buffer-update-highlight): Minor code cleanup.
14810
14811 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
14812
14813 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
14814 (Bug#11447)
14815
14816 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14817
14818 Move define-obsolete-variable-alias before the var's definition.
14819 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
14820 * tooltip.el (tooltip-hook):
14821 * textmodes/reftex-toc.el (reftex-toc-map):
14822 * textmodes/reftex-sel.el (reftex-select-label-map)
14823 (reftex-select-bib-map):
14824 * textmodes/reftex-index.el (reftex-index-map)
14825 (reftex-index-phrases-map):
14826 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
14827 * progmodes/meta-mode.el (meta-mode-map):
14828 * novice.el (disabled-command-hook):
14829 * loadhist.el (unload-hook-features-list):
14830 * frame.el (blink-cursor):
14831 * files.el (find-file-not-found-hooks, write-file-hooks)
14832 (write-contents-hooks):
14833 * emulation/tpu-edt.el (GOLD-map):
14834 * emacs-lock.el (emacs-lock-from-exiting):
14835 * emacs-lisp/generic.el (generic-font-lock-defaults):
14836 * emacs-lisp/chart.el (chart-map):
14837 * dos-fns.el (register-name-alist):
14838 * dired-x.el (dired-omit-files-p):
14839 * desktop.el (desktop-enable):
14840 * cus-edit.el (custom-mode-hook):
14841 * buff-menu.el (buffer-menu-mode-hook):
14842 * bookmark.el (bookmark-read-annotation-text-func)
14843 (bookmark-exit-hooks):
14844 * allout.el (allout-mode-deactivate-hook)
14845 (allout-exposure-change-hook, allout-structure-added-hook)
14846 (allout-structure-deleted-hook, allout-structure-shifted-hook):
14847 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
14848 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
14849 comes before the corresponding variable's definition.
14850
14851 2012-05-12 Chong Yidong <cyd@gnu.org>
14852
14853 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
14854 (Buffer-menu-mouse-select): Restore function (Bug#11459).
14855 (Buffer-menu-mode-map): Bind it.
14856 (Buffer-menu--pretty-name): Add a mouse-face property.
14857
14858 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
14859
14860 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
14861 (prolog-upper-case-string, prolog-lower-case-string)
14862 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
14863 (prolog-use-smie, prolog-smie-grammar): New vars.
14864 (prolog-smie-forward-token, prolog-smie-backward-token)
14865 (prolog-smie-rules): New funs.
14866 (prolog-comment-indent): Remove.
14867 (prolog-mode-variables): Use default comment indentation instead.
14868 Setup SMIE.
14869 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
14870 (prolog-mode): Don't call them any more.
14871 (prolog-electric-colon, prolog-electric-dash)
14872 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
14873
14874 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
14875
14876 * minibuffer.el (completion--twq-all): Again, allow case differences.
14877
14878 * term.el: Move keymap initialization code to be more idiomatic.
14879 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
14880 (term-terminal-menu): Move initialization into declaration.
14881 (term-escape-char): Let the user set it in her .emacs.
14882
14883 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
14884 Provide SMIE-based indentation (not enabled by default yet).
14885 (sh-mode-map): Don't bind electric keys.
14886 Use electric-pair-mode instead of skeleton-pair.
14887 (sh-assignment-regexp): Fit within 80 columns.
14888 (sh-indent-supported): Specify actual shell name instead of boolean.
14889 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
14890 (sh-maybe-here-document): Use it. Make obsolete.
14891 (sh-electric-here-document-mode) New minor mode.
14892 (sh-mode): Use it. Don't set sh-indent-supported-here here.
14893 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
14894 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
14895 (sh-smie-rc-grammar, sh-use-smie): New vars.
14896 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
14897 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
14898 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
14899 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
14900 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
14901 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
14902 (sh-set-shell): Use smie-setup if requested.
14903
14904 * term.el (term-set-escape-char): Properly set term-escape-char.
14905 See http://stackoverflow.com/questions/10524656.
14906
14907 2012-05-10 Chong Yidong <cyd@gnu.org>
14908
14909 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
14910 Use url-generic-parse-url, and handle host names and Windows
14911 filenames properly.
14912 (ffap-url-unwrap-remote): Use url-generic-parse-url.
14913 (ffap-url-unwrap-remote): Accept list values, specifying a list of
14914 URL schemes to work on.
14915 (ffap--toggle-read-only): New function.
14916 (ffap-read-only, ffap-read-only-other-window)
14917 (ffap-read-only-other-frame): Use it.
14918 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
14919 necessary for ffap-url-unwrap-remote.
14920
14921 2012-05-10 Dave Abrahams <dave@boostpro.com>
14922
14923 * cus-start.el (create-lockfiles): Add it.
14924
14925 2012-05-09 Chong Yidong <cyd@gnu.org>
14926
14927 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
14928 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
14929
14930 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14931
14932 * shell.el (shell-completion-vars): Fix last change (bug#11348).
14933
14934 2012-05-09 Chong Yidong <cyd@gnu.org>
14935
14936 * ansi-color.el (ansi-color-process-output): Check for validity of
14937 comint-last-output-start before using it. This avoids a bad
14938 interaction with gdb-mi's input/output buffer.
14939
14940 2012-05-09 Glenn Morris <rgm@gnu.org>
14941
14942 * files.el (dir-locals-read-from-file):
14943 Mention dir-locals in any error message.
14944
14945 2012-05-09 Chong Yidong <cyd@gnu.org>
14946
14947 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
14948 package (Bug#11410).
14949
14950 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
14951 variables into description.
14952
14953 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14954
14955 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
14956 shell-delimiter-argument-list (bug#11348).
14957 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
14958
14959 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
14960
14961 * textmodes/rst.el: Silence byte-compiler warnings.
14962 (rst-re-alist, rst-reset-section-caches): Move around.
14963 (rst-re): Use `characterp', not `char-valid-p'.
14964 (font-lock-beg, font-lock-end): Declare.
14965
14966 * progmodes/idlw-shell.el (specs): Remove reference to deleted
14967 variable `idlwave-shell-activate-alt-keybindings' and simplify.
14968
14969 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
14970
14971 2012-05-08 Glenn Morris <rgm@gnu.org>
14972
14973 * files.el (auto-mode-alist): Treat ".make" like ".mk".
14974
14975 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14976
14977 * vc/log-edit.el: Add GNU coding standards highlighting.
14978 (log-edit-font-lock-gnu-style)
14979 (log-edit-font-lock-gnu-keywords): New vars.
14980 (log-edit-font-lock-keywords): New fun.
14981 (log-edit-mode): Don't fold case in font-lock.
14982 (log-edit-font-lock-keywords): Do not assume case-folding.
14983
14984 * imenu.el: Misc cleanup. Make docstrings out of comments.
14985 Use lexical-binding.
14986 (imenu--index-alist, imenu--last-menubar-index-alist)
14987 (imenu-menubar-modified-tick): Use defvar-local.
14988 (imenu--split-menu): Remove unused var.
14989 (imenu--cleanup-seen): Declare as global.
14990 (imenu--cleanup): Use dolist.
14991
14992 * subr.el (defvar-local): Add debug spec and doc-string position.
14993
14994 2012-05-08 Glenn Morris <rgm@gnu.org>
14995
14996 * language/burmese.el, language/cham.el, language/czech.el:
14997 * language/english.el, language/georgian.el, language/greek.el:
14998 * language/japanese.el, language/khmer.el, language/korean.el:
14999 * language/lao.el, language/misc-lang.el, language/romanian.el:
15000 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
15001 * language/thai.el, language/utf-8-lang.el:
15002 Remove no-byte-compile setting.
15003
15004 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
15005
15006 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15007
15008 * progmodes/make-mode.el (makefile-browse):
15009 Remove unnecessary interactive. (Bug#11324)
15010
15011 2012-05-07 Glenn Morris <rgm@gnu.org>
15012
15013 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
15014
15015 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
15016
15017 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15018
15019 * loadup.el: Preload newcomment.el.
15020 * newcomment.el: Move autoload-only code to toplevel.
15021
15022 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
15023 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
15024 Handle new :right-align column property.
15025 (tabulated-list-print-col): Idem, plus use `display' text-property to
15026 try and preserve alignment for variable pitch fonts.
15027
15028 2012-05-07 Chong Yidong <cyd@gnu.org>
15029
15030 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
15031 (tabulated-list-use-header-line): New var.
15032 (tabulated-list-init-header): Use it.
15033 (tabulated-list-print-fake-header): New function.
15034 (tabulated-list-print): Use it.
15035 (tabulated-list-sort-button-map): Add non-header-line commands.
15036 (tabulated-list-init-header): Add column name property to basic
15037 labels as well.
15038 (tabulated-list-col-sort): Handle non-header-line button case.
15039 (tabulated-list--sort-by-column-name): Fix a corner case.
15040
15041 * buff-menu.el (list-buffers--refresh):
15042 Handle Buffer-menu-use-header-line.
15043
15044 2012-05-06 Chong Yidong <cyd@gnu.org>
15045
15046 * buff-menu.el: Convert to Tabulated List mode.
15047 (Buffer-menu-buffer+size-width): Make obsolete.
15048 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
15049 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
15050 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
15051 documentation into docstring of buffer-menu.
15052 (Buffer-menu-toggle-files-only): Add an informative message.
15053 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
15054 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
15055 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
15056 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
15057 (Buffer-menu-execute, Buffer-menu-select)
15058 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
15059 (Buffer-menu-bury): Use Tabulated List machinery.
15060 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
15061 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
15062 Delete.
15063 (list-buffers--refresh): New function.
15064 (list-buffers-noselect): Use it.
15065 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
15066 (Buffer-menu--pretty-file-name): New helper functions.
15067
15068 * loadup.el: Preload tabulated-list.
15069
15070 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
15071 tabulated-list-sort-column.
15072 (tabulated-list-init-header): Add the initial aligning space even
15073 if tabulated-list-padding is zero.
15074
15075 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
15076
15077 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
15078 whose cdr is not a cons cell correctly (bug#11038).
15079
15080 2012-05-06 Chong Yidong <cyd@gnu.org>
15081
15082 * emacs-lisp/tabulated-list.el (tabulated-list-format):
15083 Accept additional plist in column descriptors.
15084 (tabulated-list-init-header): Obey it.
15085 (tabulated-list-get-entry): New function.
15086 (tabulated-list-put-tag): Use it. Use string-width instead of
15087 length.
15088 (tabulated-list--column-number): New function.
15089 (tabulated-list-print): Use it.
15090 (tabulated-list-print-col): New function.
15091 Set `tabulated-list-column-name' property on each column's text.
15092 (tabulated-list-print-entry): Use it.
15093 (tabulated-list-delete-entry, tabulated-list-set-col):
15094 New functions.
15095 (tabulated-list-sort-column): New command (Bug#11337).
15096
15097 * buff-menu.el (list-buffers): Move C-x C-b binding from
15098 buff-menu.el to bindings.el.
15099
15100 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
15101 :advertised-binding feature.
15102
15103 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
15104
15105 * progmodes/compile.el (compilation-internal-error-properties):
15106 Calculate start position correctly when end-col is set but
15107 end-line is not (Bug#11382).
15108
15109 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
15110
15111 * man.el (Man-unindent): Use text-property-default-nonsticky to
15112 prevent untabify from inheriting face properties (Bug#11408).
15113
15114 2012-05-05 Stefan Merten <smerten@oekonux.de>
15115
15116 * textmodes/rst.el: Major merge with upstream development up to
15117 Docutils SVN r7399 / rst.el V1.2.1.
15118
15119 Clarify maintainership and authors.
15120
15121 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
15122 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
15123 (rst-official-version, rst-official-cvs-rev, rst-version)
15124 (rst-package-emacs-version-alist): New functions and variables
15125 for version information.
15126
15127 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
15128 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
15129 (rst-mode-syntax-table, rst-mode): New and corrected functions
15130 and variables representing reStructuredText features.
15131
15132 (rst-re): New function for reStructuredText regexes. Use in
15133 many places.
15134
15135 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
15136 (rst-mode-map): Rebind keys.
15137
15138 (rst-mode-lazy, rst-font-lock-keywords)
15139 (rst-font-lock-extend-region)
15140 (rst-font-lock-extend-region-internal)
15141 (rst-font-lock-extend-region-extend)
15142 (rst-font-lock-find-unindented-line-limit)
15143 (rst-font-lock-find-unindented-line-match)
15144 (rst-adornment-level, rst-font-lock-adornment-level)
15145 (rst-font-lock-adornment-match)
15146 (rst-font-lock-handle-adornment-pre-match-form)
15147 (rst-font-lock-handle-adornment-matcher): Major revision of
15148 font-locking. Integrate with other code. Use `jit-lock-mode'.
15149
15150 (rst-preferred-adornments, rst-adjust-hook)
15151 (rst-new-adornment-down, rst-preferred-bullets)
15152 (rst-preferred-bullets, rst-indent, rst-indent-width)
15153 (rst-indent-field, rst-indent-literal-normal)
15154 (rst-indent-literal-minimized, rst-indent-comment): Change,
15155 extend and improve customization.
15156
15157 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
15158 (rst-normalize-cursor-position, rst-get-decoration)
15159 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
15160 (rst-rstrip, rst-toc-insert-find-delete-contents)
15161 (rst-shift-fill-region, rst-compute-bullet-tabs)
15162 (rst-debug-print-tabs, rst-debug-mark-found)
15163 (rst-shift-region-guts, rst-shift-region-right)
15164 (rst-shift-region-left, rst-use-char-classes)
15165 (rst-font-lock-keywords-function)
15166 (rst-font-lock-indentation-point)
15167 (rst-font-lock-find-unindented-line-begin)
15168 (rst-font-lock-find-unindented-line-end)
15169 (rst-font-lock-find-unindented-line)
15170 (rst-font-lock-adornment-point, rst-font-lock-level)
15171 (rst-adornment-level-alist): Remove functions and variables.
15172
15173 (rst-compare-adornments, rst-get-adornment-match)
15174 (rst-suggest-new-adornment, rst-get-adornments-around)
15175 (rst-adornment-complete-p, rst-get-next-adornment)
15176 (rst-adjust-adornment, rst-display-adornments-hierarchy)
15177 (rst-straighten-adornments): Standardize function names to
15178 use "adornment" instead of "decoration". Correct callers.
15179 Similar standardizing in many places.
15180
15181 (rst-update-section, rst-adjust, rst-promote-region)
15182 (rst-enumerate-region, rst-bullet-list-region)
15183 (rst-repeat-last-character): Correct use of `interactive'.
15184
15185 (rst-classify-adornment, rst-find-all-adornments)
15186 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
15187 (rst-find-leftmost-column, rst-repeat-last-character):
15188 Refactor functions.
15189
15190 (rst-find-title-line, rst-reset-section-caches)
15191 (rst-get-adornments-around, rst-adjust-adornment-work)
15192 (rst-arabic-to-roman, rst-roman-to-arabic)
15193 (rst-insert-list-pos, rst-insert-list-new-item)
15194 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
15195 New functions.
15196
15197 (rst-all-sections, rst-section-hierarchy)
15198 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
15199 New variables.
15200
15201 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
15202 configuration instead of only buffer. Change where necessary.
15203
15204 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
15205 (rst-shift-region, rst-adaptive-fill): New functions for
15206 indentation and filling.
15207
15208 (rst-comment-line-break, rst-comment-indent)
15209 (rst-comment-insert-comment, rst-comment-region)
15210 (rst-uncomment-region): New functions for handling comments.
15211
15212 (rst-compile): Quote shell arguments.
15213
15214 (rst-compile-pdf-preview, rst-compile-slides-preview):
15215 Delete temporary files after use.
15216
15217 2012-05-05 Glenn Morris <rgm@gnu.org>
15218
15219 * calendar/cal-html.el: Optionally include holidays in the output.
15220 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
15221 (cal-html-holidays): New option.
15222 (cal-html-css-default): Add holiday entry.
15223 (holiday-in-range): Autoload it.
15224 (cal-html-htmlify-entry): Add optional class argument.
15225 (cal-html-htmlify-list): Add optional holidays argument.
15226 (cal-html-insert-agenda-days): Include holidays in the output.
15227 (cal-html-one-month): Maybe include holidays.
15228
15229 * calendar/holidays.el (holiday-in-range):
15230 Move here from cal-tex-list-holidays.
15231 * calendar/cal-tex.el (cal-tex-list-holidays):
15232 Make it an obsolete alias for holiday-in-range. Update all callers.
15233
15234 2012-05-05 Chong Yidong <cyd@gnu.org>
15235
15236 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
15237 Nextstep.
15238
15239 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
15240
15241 * files.el (file-auto-mode-skip): New var.
15242 (set-auto-mode-1): Use it.
15243
15244 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15245
15246 * repeat.el: Use lexical-binding.
15247 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
15248 (repeat-undo-count): Remove.
15249 (repeat):
15250 * progmodes/octave-mod.el (octave-abbrev-start):
15251 * progmodes/f90.el (f90-abbrev-start):
15252 * face-remap.el (text-scale-adjust):
15253 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
15254
15255 * emacs-lisp/pcase.el (pcase--let*): New function.
15256 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
15257 a bit more.
15258 (pcase--split-pred): Be more clever about ruling out overlap between
15259 a predicate and some constant pattern.
15260 (pcase--q1): Use `null' instead of (eq foo nil).
15261
15262 * subr.el (setq-local, defvar-local): New macros.
15263 (kbd): Redefine as an alias.
15264 (with-selected-window): Leave unrelated frames alone.
15265 (set-temporary-overlay-map): New function.
15266
15267 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15268
15269 * subr.el (user-error): New function.
15270 * window.el (switch-to-buffer):
15271 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
15272 (smerge-match-conflict):
15273 * simple.el (previous-matching-history-element)
15274 (next-matching-history-element, goto-history-element, undo-more)
15275 (undo-start):
15276 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
15277 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
15278 (next-file, tags-loop-scan, list-tags, complete-tag):
15279 * progmodes/compile.el (compilation-loop):
15280 * mouse.el (mouse-minibuffer-check):
15281 * man.el (Man-bgproc-sentinel, Man-goto-page):
15282 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
15283 (Info-history-forward, Info-follow-reference, Info-menu)
15284 (Info-extract-menu-item, Info-extract-menu-counting)
15285 (Info-forward-node, Info-backward-node, Info-next-menu-item)
15286 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
15287 (Info-next-reference, Info-prev-reference, Info-index)
15288 (Info-index-next, Info-follow-nearest-node)
15289 (Info-copy-current-node-name):
15290 * imenu.el (imenu--make-index-alist)
15291 (imenu-default-create-index-function, imenu-add-to-menubar):
15292 * files.el (basic-save-buffer, recover-file):
15293 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15294 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
15295 (checkdoc-message-text, checkdoc-defun):
15296 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
15297 * cus-edit.el (customize-changed-options, customize-rogue)
15298 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
15299 (custom-variable-mark-to-reset-standard)
15300 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
15301 (custom-file):
15302 * completion.el (check-completion-length):
15303 * comint.el (comint-search-arg)
15304 (comint-previous-matching-input-string-position)
15305 (comint-previous-matching-input)
15306 (comint-replace-by-expanded-history-before-point, comint-send-input)
15307 (comint-copy-old-input, comint-backward-matching-input)
15308 (comint-goto-process-mark, comint-set-process-mark):
15309 * calendar/calendar.el (calendar-cursor-to-date): Use it.
15310 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
15311
15312 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15313
15314 * dabbrev.el (dabbrev--ignore-case-p): New function.
15315 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
15316 Use it.
15317
15318 * files.el (automount-dir-prefix): Mark as obsolete.
15319
15320 2012-05-04 Glenn Morris <rgm@gnu.org>
15321
15322 * patcomp.el, play/bruce.el: Move to obsolete/.
15323
15324 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
15325
15326 Fix minor Y10k bugs.
15327 * arc-mode.el (archive-unixdate):
15328 * autoinsert.el (auto-insert-alist):
15329 * calc/calc-forms.el (math-this-year):
15330 * emacs-lisp/copyright.el (copyright-current-year)
15331 (copyright-update-year, copyright):
15332 * tar-mode.el (tar-clip-time-string):
15333 * time.el (display-time-update):
15334 Don't assume years have 4 digits.
15335
15336 2012-05-04 Chong Yidong <cyd@gnu.org>
15337
15338 * dos-w32.el (file-name-buffer-file-type-alist)
15339 (direct-print-region-use-command-dot-com):
15340 * ffap.el (ffap-menu-regexp):
15341 * find-file.el (ff-special-constructs):
15342 * follow.el (follow-debug):
15343 * forms.el (forms--debug):
15344 * iswitchb.el (iswitchb-all-frames):
15345 * ido.el (ido-all-frames):
15346 * emacs-lisp/timer.el (timer-max-repeats):
15347 * mail/feedmail.el (feedmail-mail-send-hook)
15348 (feedmail-mail-send-hook-queued):
15349 * mail/footnote.el (footnote-signature-separator):
15350 * mail/mailabbrev.el (mail-alias-separator-string)
15351 (mail-abbrev-mode-regexp):
15352 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
15353 * progmodes/idlwave.el (idlwave-libinfo-file)
15354 (idlwave-default-completion-case-is-down)
15355 (idlwave-library-routines): Convert defvars to defcustoms.
15356
15357 * mail/rmail.el (rmail-decode-mime-charset):
15358 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
15359 (idlwave-shell-fix-inserted-breaks)
15360 (idlwave-shell-activate-alt-keybindings)
15361 (idlwave-shell-use-breakpoint-glyph):
15362 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
15363
15364 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15365
15366 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
15367
15368 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
15369
15370 * progmodes/verilog-mode.el (font-lock-keywords):
15371 Fix mis-highligting auto. Reported by Craig Barner.
15372 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
15373 defines from global name space. Reported by Dan Dever.
15374 (verilog-auto-reset, verilog-auto-reset-widths)
15375 (verilog-auto-tieoff): Support using unbased numbers for
15376 AUTORESET and AUTOTIEOFF.
15377 (verilog-submit-bug-report): Update variable list.
15378 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
15379 parenthesis from not matching. Reported by Michael Rytting.
15380 (verilog-auto-template-lint): Fix hash error when linting modules
15381 with no used templates.
15382 (verilog-warn, verilog-warn-error)
15383 (verilog-warn-fatal): When non-interactive report multiple
15384 warnings before exiting. Suggested by Brad Dobbie.
15385 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
15386 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
15387 to report unused template errors. Reported by Brad Dobbie.
15388 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
15389 nets, bug438. Reported by Vns Blore.
15390 (verilog-auto-inout-module, verilog-auto-reg)
15391 (verilog-read-decls, verilog-read-sub-decls-sig)
15392 (verilog-signals-edit-wire-reg, verilog-signals-with):
15393 Fix passing of Verilog data types in ANSI input/output ports
15394 such as "output logic" into the AUTOs. Special case "wire" and
15395 "reg" for backwards compatibility presuming Verilog 2001.
15396 (verilog-auto-ascii-enum): Add "auto enum" as alias.
15397 (verilog-preprocess): Fix replication of preprocess output.
15398 Reported by Brad Dobbie.
15399 (verilog-auto-inst-interfaced-ports):
15400 Create verilog-auto-inst-interfaced-ports, bug429.
15401 Reported by Julian Gorfajn.
15402 (verilog-after-save-font-hook)
15403 (verilog-before-save-font-hook): New variable.
15404 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
15405 (verilog-save-font-mods): Wrap disabling fontification, reported
15406 by David Rogoff.
15407 (verilog-do-indent, verilog-pretty-declarations-auto)
15408 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
15409 Reported by Pierre-David Pfister.
15410 (verilog-set-auto-endcomments): Fix endtask auto comments outside
15411 of class declarations, bug292. Reported by Kevin Heilman.
15412 (verilog-read-decls): Fix 'parameter type' not appearing in
15413 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
15414 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
15415 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
15416 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
15417 Reported by David Kravitz.
15418
15419 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
15420
15421 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
15422 assignment with tests in ifs and for loops.
15423 (verilog-extended-complete-re, verilog-complete-reg): Change so
15424 that DPI inport functions don't look like fuction declarations.
15425 (verilog-pretty-expr): Don't line up assignment
15426 operations to the test and increment in if and for loops
15427 (verilog-extended-complete-re, verilog-complete-reg): Change so
15428 that DPI inport functions don't look like fuction declarations.
15429
15430 2012-05-03 Kenichi Handa <handa@m17n.org>
15431
15432 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
15433 decoding, and show a warning message without signaling an error
15434 (Bug#11282).
15435
15436 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15437
15438 * emacs-lisp/bytecomp.el
15439 (byte-compile-file-form-custom-declare-variable): Compile all elements,
15440 since cconv.el might have introduced :fun-body, internal-make-closure,
15441 and friends for bytecomp to handle (bug#11391).
15442 * custom.el (defcustom): Avoid ((λ ..) ..).
15443
15444 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
15445
15446 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
15447
15448 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
15449
15450 * notifications.el (dbus-debug):
15451 * term/linux.el (gpm-mouse-enable):
15452 * term/screen.el (xterm-register-default-colors): Declare.
15453
15454 2012-05-02 Chong Yidong <cyd@gnu.org>
15455
15456 * cus-start.el (gc-cons-percentage, exec-suffixes)
15457 (dos-display-scancodes, dos-hyper-key, dos-super-key)
15458 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
15459 (make-cursor-line-fully-visible, void-text-area-pointer)
15460 (font-list-limit): Add customization data.
15461
15462 * allout.el (allout-exposure-change-functions)
15463 (allout-structure-added-functions)
15464 (allout-structure-deleted-functions)
15465 (allout-structure-shifted-functions): Rename abnormal hooks from
15466 *-hook, and convert to defcustoms.
15467 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
15468 Convert to defcustoms.
15469 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
15470
15471 * allout-widgets.el: Hook callers changed.
15472
15473 2012-05-02 Eli Zaretskii <eliz@gnu.org>
15474
15475 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
15476 the yanked message in preference to the default value of
15477 buffer-file-coding-system.
15478
15479 2012-05-02 Martin Rudalics <rudalics@gmx.at>
15480
15481 * window.el (display-buffer--action-function-custom-type):
15482 Fix entry.
15483
15484 2012-05-02 Alan Mackenzie <acm@muc.de>
15485
15486 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
15487
15488 2012-05-01 Glenn Morris <rgm@gnu.org>
15489
15490 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
15491
15492 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
15493
15494 * cus-edit.el (custom-variable-documentation): Simplify with format.
15495
15496 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15497 Stefan Monnier <monnier@iro.umontreal.ca>
15498
15499 * simple.el (suggest-key-bindings, execute-extended-command):
15500 Move from keyboard.c.
15501
15502 2012-05-01 Chong Yidong <cyd@gnu.org>
15503
15504 * follow.el: Eliminate advice.
15505 (set-process-filter, process-filter, sit-for): Advice deleted.
15506 (follow-mode-off-hook): Obsolete hook removed.
15507 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
15508 Vars deleted.
15509 (follow-auto): Use a :set function.
15510 (follow-mode): Rewritten. Don't advise process filters.
15511 (follow-switch-to-current-buffer-all, follow-scroll-up)
15512 (follow-scroll-down): Assume follow-mode is bound.
15513 (follow-comint-scroll-to-bottom)
15514 (follow-align-compilation-windows): New functions.
15515 (follow--window-sorter): New function.
15516 (follow-all-followers): Use it to explicitly sort windows by their
15517 positions; don't make assumptions about next-window order.
15518 (follow-windows-start-end, follow-delete-other-windows-and-split)
15519 (follow-calc-win-start): Doc fix.
15520 (follow-windows-aligned-p, follow-select-if-visible): Don't call
15521 vertical-motion unnecessarily.
15522 (follow-adjust-window): New function.
15523 (follow-post-command-hook): Use it.
15524 (follow-call-set-process-filter, follow-call-process-filter)
15525 (follow-intercept-process-output, follow-tidy-process-filter-alist)
15526 (follow-stop-intercept-process-output, follow-generic-filter):
15527 Functions deleted.
15528 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
15529 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
15530 New functions, replacing advice on scroll-bar-* commands.
15531 (follow-mwheel-scroll): New function (Bug#4112).
15532
15533 * comint.el (comint-adjust-point): New function.
15534 (comint-postoutput-scroll-to-bottom): Use it.
15535 Call follow-comint-scroll-to-bottom for Follow mode buffers.
15536
15537 2012-05-01 Glenn Morris <rgm@gnu.org>
15538
15539 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
15540 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
15541 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
15542 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
15543 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
15544 Remove no-byte-compile setting.
15545
15546 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
15547
15548 * minibuffer.el (completion-table-with-quoting): Fix compatibility
15549 all-completions code to not return a number in the last cdr.
15550
15551 2012-04-30 Leo Liu <sdl.web@gmail.com>
15552
15553 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
15554 read-only error.
15555
15556 2012-04-29 Chong Yidong <cyd@gnu.org>
15557
15558 * follow.el (follow-calc-win-end): Rewrite to handle partial
15559 screen lines correctly (Bug#8390).
15560 (follow-avoid-tail-recenter): Minor cleanup.
15561
15562 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15563
15564 Avoid the obsolete `assoc' package.
15565 * speedbar.el (speedbar-refresh): Avoid adelete.
15566 (speedbar-file-lists): Simplify and avoid aput.
15567 * man.el (Man--sections, Man--refpages): New vars, replacing
15568 Man-sections-alist and Man-refpages-alist.
15569 (Man-build-section-alist, Man-build-references-alist):
15570 Use them; avoid aput.
15571 (Man--last-section, Man--last-refpage): New vars.
15572 (Man-follow-manual-reference): Use them.
15573 Use the `default' arg of completing-read.
15574 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
15575
15576 2012-04-27 Chong Yidong <cyd@gnu.org>
15577
15578 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
15579
15580 * startup.el (x-apply-session-resources): New function.
15581
15582 * term/ns-win.el (ns-initialize-window-system):
15583 * term/w32-win.el (w32-initialize-window-system):
15584 * term/x-win.el (x-initialize-window-system): Use it to properly
15585 set menu-bar-mode and other vars from X resources, even if the
15586 initial frame is not a window-system frame (Bug#2299).
15587
15588 * subr.el (read-key): Avoid running filter function when setting
15589 up temporary tool bar entries (Bug#9922).
15590
15591 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
15592
15593 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
15594 (Bug#11344)
15595
15596 2012-04-27 Chong Yidong <cyd@gnu.org>
15597
15598 * select.el (xselect--encode-string): New function, split from
15599 xselect-convert-to-string.
15600 (xselect-convert-to-string): Use it.
15601 (xselect-convert-to-filename, xselect-convert-to-os)
15602 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
15603 returned strings are properly encoded (Bug#11315).
15604
15605 2012-04-27 Chong Yidong <cyd@gnu.org>
15606
15607 * simple.el (delete-active-region): Move to killing custom group.
15608
15609 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
15610
15611 * progmodes/which-func.el (which-func-current): Quote %
15612 characters for mode-line processing.
15613
15614 2012-04-27 Chong Yidong <cyd@gnu.org>
15615
15616 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
15617 reaching eob (Bug#11286).
15618
15619 2012-04-27 Eli Zaretskii <eliz@gnu.org>
15620
15621 * progmodes/gdb-mi.el (gdb-control-level): New variable.
15622 (gdb): Make it buffer-local and init to zero.
15623 (gdb-control-commands-regexp): New variable.
15624 (gdb-send): Don't wrap in "-interpreter-exec console" if
15625 gdb-control-level is positive. Increment gdb-control-level
15626 whenever the command matches gdb-control-commands-regexp, and
15627 decrement it each time the command is "end". (Bug#11279)
15628
15629 2012-04-27 Martin Rudalics <rudalics@gmx.at>
15630
15631 * window.el (adjust-window-trailing-edge, enlarge-window)
15632 (shrink-window, window-resize):
15633 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
15634 windows (Bug#11276).
15635
15636 2012-04-27 Chong Yidong <cyd@gnu.org>
15637
15638 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
15639 fix "missing prefix" warning. All callers changed.
15640
15641 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15642
15643 * emacs-lisp/assoc.el: Move to obsolete/.
15644
15645 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15646
15647 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
15648
15649 * term/ns-win.el (ns-define-service):
15650 * progmodes/pascal.el (pascal-goto-defun):
15651 * progmodes/js.el (js--read-tab):
15652 * progmodes/etags.el (tags-lazy-completion-table):
15653 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
15654 * emacs-lisp/ewoc.el (ewoc--wrap):
15655 * emacs-lisp/assoc.el (aput, adelete, amake):
15656 * doc-view.el (doc-view-convert-current-doc):
15657 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
15658
15659 2012-04-26 Chong Yidong <cyd@gnu.org>
15660
15661 * image.el (image-type-from-buffer): Only return supported image
15662 type (Bug#9045).
15663
15664 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
15665 value, for symmetry with diff-end-of-hunk.
15666 (diff-split-hunk, diff-find-source-location)
15667 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
15668 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
15669 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
15670 compute the relevant hunk or file properly (Bug#6005).
15671 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
15672
15673 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15674
15675 * vc/vc-mtn.el:
15676 * vc/vc-hg.el:
15677 * vc/vc-git.el:
15678 * vc/vc-dir.el:
15679 * vc/vc-cvs.el:
15680 * vc/vc-bzr.el:
15681 * vc/vc-arch.el:
15682 * vc/vc.el: Replace lexical-let by lexical-binding.
15683 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
15684 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
15685 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
15686
15687 2012-04-26 Chong Yidong <cyd@gnu.org>
15688
15689 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
15690 (diff-mode-shared-map): Bind it to / and [remap undo].
15691
15692 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
15693 (ediff-window-setup-function): Use it as the default, to set up
15694 windows based on whether the current frame is graphical (Bug#2138).
15695 (ediff-choose-window-setup-function-automatically): Make obsolete.
15696
15697 * vc/ediff-init.el: Always define ediff-pixel-width/height.
15698
15699 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15700
15701 * ffap.el: Remove old code for obsolete package.
15702 (ffap-complete-as-file-p): Remove.
15703
15704 Use completion-table-with-quoting for comint and pcomplete.
15705 * comint.el (comint--unquote&requote-argument)
15706 (comint--unquote-argument, comint--requote-argument): New functions.
15707 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
15708 (comint-quote-filename): Use regexp-opt-charset.
15709 (comint--common-suffix, comint--common-quoted-suffix)
15710 (comint--table-subvert): Remove.
15711 (comint-unquote-function, comint-requote-function): New vars.
15712 (comint--complete-file-name-data): Use them with
15713 completion-table-with-quoting.
15714 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
15715 * pcomplete.el (pcomplete-arg-quote-list)
15716 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
15717 (pcomplete-unquote-argument-function): Default to non-nil.
15718 (pcomplete-unquote-argument): Simplify.
15719 (pcomplete--common-quoted-suffix): Remove.
15720 (pcomplete-requote-argument-function): New var.
15721 (pcomplete--common-suffix): New function.
15722 (pcomplete-completions-at-point): Use completion-table-with-quoting
15723 and completion-table-subvert.
15724
15725 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
15726 (minibuffer--double-dollars): Preserve properties.
15727 (completion--sifn-requote): New function.
15728 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
15729
15730 * minibuffer.el: Add support for completion of quoted/escaped data.
15731 (completion-table-with-quoting, completion-table-subvert): New funs.
15732 (completion--twq-try, completion--twq-all): New functions.
15733 (completion--nth-completion): New function.
15734 (completion-try-completion, completion-all-completions): Use it.
15735
15736 2012-04-25 Leo Liu <sdl.web@gmail.com>
15737
15738 * progmodes/python.el (python-pdbtrack-get-source-buffer):
15739 Use compilation-message if available to find real filename.
15740
15741 2012-04-25 Chong Yidong <cyd@gnu.org>
15742
15743 * vc/diff-mode.el (diff-setup-whitespace): New function.
15744 (diff-mode): Use it.
15745
15746 * vc/diff.el (diff-sentinel):
15747 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
15748 Whitespace mode variables based on diff style (Bug#8612).
15749
15750 2012-04-25 Leo Liu <sdl.web@gmail.com>
15751
15752 * progmodes/python.el (python-send-region): Add suffix .py to the
15753 temp file.
15754
15755 * files.el (auto-mode-alist): Use javascript-mode instead.
15756
15757 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
15758
15759 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
15760
15761 * net/soap-client.el (soap-resolve-references-for-sequence-type)
15762 (soap-resolve-references-for-array-type): Hack to prevent self
15763 references, see Bug#9.
15764 (soap-parse-envelope): Report the contents of the 'detail' node
15765 when receiving a fault reply.
15766 (soap-parse-envelope): Report the contents of the entire 'detail' node.
15767
15768 * net/soap-inspect.el (soap-sample-value-for-simple-type)
15769 (soap-inspect-simple-type): New function.
15770
15771 * net/soap-client.el (soap-simple-type): New struct.
15772 (soap-default-xsd-types, soap-default-soapenc-types)
15773 (soap-decode-basic-type, soap-encode-basic-type):
15774 support unsignedInt and double basic types.
15775 (soap-resolve-references-for-simple-type)
15776 (soap-parse-simple-type, soap-encode-simple-type): New function.
15777 (soap-parse-schema): Parse xsd:simpleType declarations.
15778
15779 * net/soap-client.el (soap-default-xsd-types)
15780 (soap-default-soapenc-types): Add integer, byte and anyURI types.
15781 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
15782 the local name of "soapenc:Array".
15783 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
15784 decoding integer, byte and anyURI xsd types.
15785
15786 2012-04-25 Chong Yidong <cyd@gnu.org>
15787
15788 * cus-edit.el (custom-buffer-create-internal): Update header text.
15789
15790 2012-04-25 Eli Zaretskii <eliz@gnu.org>
15791
15792 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
15793 settings on 'system-type', not on 'window-system'. On MS-Windows,
15794 set interactive-mode on in GDB.
15795
15796 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15797
15798 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
15799 (ruby-syntax-propertize-regexp): Remove.
15800 (ruby-syntax-propertize-function): Split regexp into chunks.
15801 Match following code directly.
15802
15803 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
15804
15805 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
15806 (ruby-syntax-propertize-regexp): New function.
15807 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
15808 by a special keyword.
15809
15810 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
15811 (ruby-syntax-general-delimiters-goto-beg)
15812 (ruby-syntax-propertize-general-delimiters): New functions.
15813 (ruby-syntax-propertize-function): Use them to handle GDL.
15814 (ruby-font-lock-keywords): Move old handling of GDL...
15815 (ruby-font-lock-syntactic-keywords): .. to here.
15816 (ruby-calculate-indent): Adjust indentation for GDL.
15817
15818 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
15819
15820 * notifications.el (top): Remove unneeded declarations.
15821 (notifications-specification-version): Change to "1.2".
15822 (notifications-interface, notifications-notify-method)
15823 (notifications-close-notification-method): Fix docstring.
15824 (notifications-get-capabilities-method): New defconst.
15825 (notifications-notify): Add :action-items, :resident and
15826 :transient hints. Change "image_data" to "image-data" and
15827 "image_path" to "image-path".
15828 (notifications-get-capabilities): New defun.
15829
15830 2012-04-24 Leo Liu <sdl.web@gmail.com>
15831
15832 * progmodes/python.el: Move hideshow setup to the end.
15833
15834 2012-04-24 Martin Rudalics <rudalics@gmx.at>
15835
15836 * window.el (handle-select-window): Clear echo area since this is
15837 no more done by read_char (Bug#11304).
15838
15839 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15840
15841 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
15842 and `/ M' to filter-derived-mode.
15843 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
15844 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
15845 (ibuffer-mark-by-mode): Use default rather than initial-input.
15846 (ibuffer-filter-by-derived-mode): Autoload and require-match.
15847
15848 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
15849
15850 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
15851 (ibuffer-filter-by-derived-mode): New filter.
15852 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
15853
15854 2012-04-23 Andreas Politz <politza@fh-trier.de>
15855
15856 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
15857
15858 2012-04-23 Chong Yidong <cyd@gnu.org>
15859
15860 * cus-edit.el (customize-apropos, customize-apropos-options):
15861 Disable matching of non-option variables (Bug#11176).
15862 (customize-option, customize-option-other-window)
15863 (customize-changed-options): Doc fix.
15864 (customize-apropos-options, customize-apropos-faces)
15865 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
15866
15867 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
15868 Fix word list splitting (Bug#11132).
15869 (apropos-symbol, apropos-keybinding, apropos-label)
15870 (apropos-property, apropos-function-button)
15871 (apropos-variable-button, apropos-misc-button): New faces.
15872 (apropos-symbol-face, apropos-keybinding-face)
15873 (apropos-label-face, apropos-property-face, apropos-match-face):
15874 Variables removed (Bug#8396).
15875 (apropos-library-button, apropos-format-plist, apropos-print)
15876 (apropos-print-doc, apropos-describe-plist): Callers changed.
15877
15878 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
15879
15880 * net/xesam.el (xesam-mode-map): Use let-bound map in
15881 initialization. (Bug#11292)
15882
15883 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15884
15885 Preserve ispell session localwords when switching back to
15886 original buffer.
15887
15888 * textmodes/ispell.el (ispell-buffer-session-localwords):
15889 New buffer-local variable to hold buffer session localwords.
15890 (ispell-kill-ispell): Add option 'clear to delete session
15891 localwords.
15892 (ispell-command-loop, ispell-change-dictionary)
15893 (ispell-buffer-local-words): Preserve session localwords when
15894 needed.
15895
15896 * textmodes/flyspell.el (flyspell-process-localwords)
15897 (flyspell-do-correct): Preserve session localwords when needed.
15898
15899 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15900
15901 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
15902 using obsolete `translation-table-for-input'.
15903 (ispell-word, ispell-process-line, ispell-complete-word):
15904 Use plain `insert' instead of removed `ispell-insert-word'.
15905
15906 2012-04-22 Chong Yidong <cyd@gnu.org>
15907
15908 * cus-edit.el (custom-variable-menu)
15909 (custom-variable-reset-saved, custom-face-menu)
15910 (custom-face-reset-saved): If there is no saved value, make the
15911 "reset-saved" operation bring back the default (Bug#9509).
15912 (custom-face-state): Properly detect themed faces.
15913
15914 * faces.el (face-spec-set): Stop supporting deprecated form of
15915 third arg.
15916
15917 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
15918
15919 Move functions from C to Lisp. Make non-blocking method calls
15920 the default. Implement further D-Bus standard interfaces.
15921
15922 * net/dbus.el (dbus-message-internal): Declare function.
15923 Remove unneeded function declarations.
15924 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
15925 (dbus-message-type-method-return, dbus-message-type-error)
15926 (dbus-message-type-signal): Declare variables. Remove local
15927 definitions.
15928 (dbus-interface-dbus, dbus-interface-peer)
15929 (dbus-interface-introspectable, dbus-interface-properties)
15930 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
15931 Adapt docstring.
15932 (dbus-interface-objectmanager): New defconst.
15933 (dbus-call-method, dbus-call-method-asynchronously)
15934 (dbus-send-signal, dbus-method-return-internal)
15935 (dbus-method-error-internal, dbus-register-service)
15936 (dbus-register-signal, dbus-register-method): New defuns, moved
15937 from dbusbind.c
15938 (dbus-call-method-handler, dbus-setenv)
15939 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
15940 New defuns.
15941 (dbus-call-method-non-blocking): Make it an obsolete function.
15942 (dbus-unregister-object, dbus-unregister-service)
15943 (dbus-handle-event, dbus-register-property)
15944 (dbus-property-handler): Obey the new structure of
15945 `bus-registered-objects'.
15946 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
15947 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15948 Use `dbus-call-method'.
15949
15950 2012-04-22 Chong Yidong <cyd@gnu.org>
15951
15952 * cus-edit.el (custom-commands, custom-reset-menu)
15953 (Custom-reset-standard): Tweak labels.
15954 (custom-reset-button-menu): Change default to t.
15955 (custom-buffer-create-internal): For the custom-reset-button-menu
15956 case, put the revert button first.
15957 (custom-group-subtitle): New face.
15958 (custom-group-value-create): Align docstring to a specific column.
15959
15960 * wid-edit.el (widget-documentation-link-add): Don't handle
15961 indentation in this function.
15962 (widget-documentation-string-indent-to): New function.
15963 (widget-documentation-string-value-create): Use it.
15964
15965 * autorevert.el (auto-revert):
15966 * epg-config.el (epg):
15967 * ibuffer.el (ibuffer):
15968 * mpc.el (mpc):
15969 * ses.el (ses):
15970 * eshell/eshell.el (eshell):
15971 * net/ange-ftp.el (ange-ftp):
15972 * progmodes/ebnf2ps.el (postscript):
15973 * progmodes/flymake.el (flymake):
15974 * progmodes/prolog.el (prolog):
15975 * progmodes/verilog-mode.el (verilog-mode):
15976 * progmodes/which-func.el (which-func):
15977 * term/xterm.el (xterm):
15978 * textmodes/picture.el (picture):
15979 * textmodes/tildify.el (tildify):
15980 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
15981 customization buffers.
15982
15983 2012-04-22 Alan Mackenzie <acm@muc.de>
15984
15985 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15986 Adding a ) can hide the resulting (..) from searches. Fix it.
15987 Bound the backward search to the position of the existing (.
15988
15989 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
15990
15991 * progmodes/verilog-mode.el (verilog-mode): Check whether
15992 which-func-modes is t before adding verilog-mode.
15993 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
15994
15995 2012-04-21 Leo Liu <sdl.web@gmail.com>
15996
15997 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
15998
15999 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
16000
16001 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
16002 filling of the last column of a table (Bug#5635).
16003 (woman-find-next-control-line): New arg, specifying an additional
16004 regexp component for the control line.
16005 (woman2-roff-buffer): Use it.
16006 (woman-break-table): New function.
16007 (woman2-TS): Use it.
16008
16009 2012-04-21 Chong Yidong <cyd@gnu.org>
16010
16011 * woman.el (woman-set-buffer-display-table, woman-decode-region)
16012 (woman-horizontal-escapes, woman-negative-vertical-space)
16013 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
16014 (WoMan-warn-ignored): Use ?\s instead of ?\ .
16015
16016 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16017
16018 * minibuffer.el (completion-file-name-table): Complete user names.
16019
16020 2012-04-20 Leo Liu <sdl.web@gmail.com>
16021
16022 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
16023 and pcase-let*.
16024
16025 2012-04-20 Chong Yidong <cyd@gnu.org>
16026
16027 * server.el (server-execute): Respect initial-buffer-choice if it
16028 is a string and there are no files to open (Bug#2825).
16029 (server-create-window-system-frame, server-create-tty-frame):
16030 Don't switch buffers here.
16031 (server-process-filter): Only try to open a window system frame if
16032 compiled with graphical support (Bug#8314).
16033
16034 2012-04-20 Dan Nicolaescu <dann@gnu.org>
16035
16036 * battery.el (battery-echo-area-format): Display remaining time
16037 for sysfs backend too (Bug#11269).
16038 (battery-linux-sysfs): Fix conditional for the charge.
16039
16040 2012-04-20 Chong Yidong <cyd@gnu.org>
16041
16042 * progmodes/gdb-mi.el (gdb): Revert previous change.
16043 (gdb-inferior-io--init-proc): New function.
16044 (gdb-init-1): Use it.
16045 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
16046 responsible for allocating a new pty and hooking it to gdb when
16047 the old pty gets an EIO due to process exit.
16048 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
16049 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
16050 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
16051
16052 2012-04-20 Eli Zaretskii <eliz@gnu.org>
16053
16054 * window.el (window-min-size, window-sizable, window-min-delta)
16055 (window-max-delta, window--resizable, window-resizable)
16056 (window-total-size, window-full-height-p, window-full-width-p)
16057 (window-in-direction, window--resize-mini-window, window-resize)
16058 (window--resize-child-windows-normal)
16059 (window--resize-child-windows, window--resize-siblings)
16060 (window--resize-this-window, adjust-window-trailing-edge)
16061 (enlarge-window, shrink-window): Doc fixes.
16062
16063 2012-04-20 Chong Yidong <cyd@gnu.org>
16064
16065 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
16066 New function to call delete-process on the gdb-inferior buffer's pty.
16067 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
16068 pty process (Bug#11273).
16069 (gdb-update): New arg to suppress talking to the gdb process.
16070 (gdb-done-or-error): Use it.
16071 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
16072 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
16073 sentinel not being called.
16074
16075 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
16076
16077 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
16078
16079 2012-04-20 Glenn Morris <rgm@gnu.org>
16080
16081 * net/network-stream.el (open-network-stream): Doc fix.
16082
16083 2012-04-20 Chong Yidong <cyd@gnu.org>
16084
16085 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
16086
16087 2012-04-20 Alan Mackenzie <acm@muc.de>
16088
16089 Ensure searching for keywords is case sensitive.
16090
16091 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
16092 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
16093 (c-defun-name, c-mark-function, c-cpp-define-name)
16094 (c-comment-indent, c-scan-conditionals, c-indent-defun)
16095 (c-context-line-break): Bind case-fold-search to nil.
16096
16097 * progmodes/cc-mode.el (c-font-lock-fontify-region):
16098 Bind case-fold-search to nil.
16099
16100 2012-04-20 Chong Yidong <cyd@gnu.org>
16101
16102 * mail/sendmail.el (mail-bury): Call return action with the right
16103 Rmail buffer (Bug#11242).
16104
16105 * server.el (server-process-filter): Handle corner case where both
16106 tty and nowait options are present (Bug#11102).
16107
16108 2012-04-20 Eli Zaretskii <eliz@gnu.org>
16109
16110 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
16111 (top level): Put into the executable the ident-style '$Id:' tag on
16112 windows-nt as well.
16113
16114 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16115
16116 * electric.el (electric-indent-post-self-insert-function): Check that
16117 electric-indent-mode is enabled in current buffer.
16118
16119 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
16120
16121 * imenu.el (imenu-progress-message): Restore; it is "used" in
16122 erc/erc-imenu.el and net/snmp-mode.el.
16123
16124 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
16125
16126 * avoid.el (mouse-avoidance-mode): Mark unused arg.
16127 (mouse-avoidance-nudge-mouse): Remove unused binding.
16128
16129 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
16130
16131 * descr-text.el (describe-char):
16132 * progmodes/python.el (python-describe-symbol):
16133 Don't call `toggle-read-only', set `buffer-read-only'.
16134
16135 * imenu.el (imenu-default-goto-function): Mark unused args.
16136 (imenu-progress-message): Remove obsolete macro; all callers changed.
16137
16138 * subr.el (keymap-canonicalize): Remove unused binding.
16139 (read-passwd): Mark unused arg.
16140
16141 * tutorial.el (tutorial--display-changes): Remove unused binding.
16142 (tutorial--save-tutorial-to): Remove unused variable.
16143
16144 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
16145 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
16146 (package-generate-autoloads, package-menu--generate)
16147 (package-menu--find-upgrades): Remove unused bindings.
16148
16149 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
16150 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
16151 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
16152 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
16153 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
16154 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
16155 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
16156 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
16157 (cua-delete-char-rectangle): Mark unused args.
16158 (cua-align-rectangle): Remove unused binding.
16159
16160 * mail/rmail.el (compilation--message->loc)
16161 (epa--find-coding-system-for-mime-charset): Declare.
16162
16163 * net/dbus.el (dbus-register-service): Declare.
16164 (dbus-name-owner-changed-handler): Remove unused binding.
16165
16166 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
16167 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
16168 (nxml-scan-backward-within): Mark unused arg.
16169 (nxml-dynamic-markup-word): Remove unused binding.
16170
16171 * mouse.el (mouse-menu-major-mode-map):
16172 * emacs-lisp/authors.el (authors-scan-change-log)
16173 (authors-add-to-author-list):
16174 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
16175 * emacs-lisp/smie.el (smie-auto-fill):
16176 * mail/sendmail.el (mail-bury):
16177 * mail/unrmail.el (unrmail):
16178 * net/tls.el (open-tls-stream):
16179 * textmodes/picture.el (picture-mouse-set-point):
16180 Remove unused bindings.
16181
16182 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
16183
16184 * net/tramp.el (tramp-action-password): Let-bind
16185 `enable-recursive-minibuffers' to t.
16186
16187 2012-04-18 Sam Steingold <sds@gnu.org>
16188
16189 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
16190 instead of 'string to accommodate values like [f11].
16191 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
16192 * progmodes/gdb-mi.el: Likewise.
16193
16194 2012-04-18 Leo Liu <sdl.web@gmail.com>
16195
16196 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
16197 current buffer.
16198 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
16199 LOCAL is nil.
16200
16201 2012-04-18 Chong Yidong <cyd@gnu.org>
16202
16203 * simple.el (line-move): Use forward-line if in batch mode
16204 (Bug#11053).
16205
16206 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
16207
16208 * files.el (after-find-file): Do not try to add a final newline if
16209 the buffer is read-only (Bug#11156).
16210
16211 2012-04-17 Richard Stallman <rms@gnu.org>
16212
16213 * mail/rmail.el (rmail-start-mail):
16214 Pass (rmail-mail-return...) for the return-action.
16215 Pass (rmail-yank-current-message...) for the yank-action.
16216 (rmail-yank-current-message): New function.
16217 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
16218 (rmail-reply): Likewise.
16219 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
16220
16221 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
16222 buffer, not the last. Reject temp buffers. Use the rmail-mode
16223 buffer, not newbuf.
16224
16225 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
16226
16227 * server.el (server-ensure-safe-dir): Simplify.
16228
16229 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16230
16231 * emacs-lisp/smie.el: Provide smarter auto-filling.
16232 (smie-auto-fill): New function.
16233 (smie-setup): Use it.
16234
16235 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
16236
16237 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
16238
16239 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
16240 (comment-indent): Use it.
16241
16242 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
16243
16244 * ses.el: The overall change is to add cell renaming, that is
16245 setting fancy names for cell symbols other than name matching
16246 "\\`[A-Z]+[0-9]+\\'" regexp .
16247 (ses-localvars): Add ses--renamed-cell-symb-list.
16248 (ses-create-cell-variable): New defun.
16249 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
16250 (ses-relocate-formula): Relocate formulas only for cells the
16251 symbols of which are not renamed, i.e. symbols whose names do not
16252 match regexp "\\`[A-Z]+[0-9]+\\'".
16253 (ses-relocate-all): Relocate values only for cells the symbols of
16254 which are not renamed.
16255 (ses-load): Create cells variables as the (ses-cell ...) are read,
16256 in order to check row col consistency with cell symbol name only
16257 for cells that are not renamed.
16258 (ses-replace-name-in-formula): New defun.
16259 (ses-rename-cell): New defun.
16260
16261 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
16262
16263 * progmodes/perl-mode.el (perl-indent-parens-as-block):
16264 New option (bug#11118).
16265 (perl-calculate-indent): Respect it.
16266
16267 2012-04-17 Glenn Morris <rgm@gnu.org>
16268
16269 * dired-aux.el (dired-mark-read-string): Doc fix.
16270
16271 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
16272
16273 * dired-aux.el (dired-mark-read-string): Offer optional completion.
16274 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
16275
16276 2012-04-17 Glenn Morris <rgm@gnu.org>
16277
16278 * mouse.el (mouse-drag-track):
16279 * speedbar.el (speedbar-frame-mode):
16280 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
16281
16282 2012-04-16 Leo Liu <sdl.web@gmail.com>
16283
16284 * progmodes/python.el: Trivial cleanup.
16285
16286 2012-04-16 Glenn Morris <rgm@gnu.org>
16287
16288 * vc/vc.el (vc-string-prefix-p):
16289 * vc/pcvs-util.el (cvs-string-prefix-p):
16290 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
16291 * mpc.el (mpc-string-prefix-p):
16292 Make all of these into obsolete aliases for string-prefix-p.
16293 Update callers.
16294 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
16295
16296 * textmodes/two-column.el: Move custom options to the start.
16297 (frame-width): Remove compat definition.
16298 (2C-associate-buffer, 2C-dissociate):
16299 Use with-current-buffer rather than save-excursion.
16300 (2C-dissociate): Force a mode-line update.
16301 (2C-autoscroll): Use ignore-errors.
16302
16303 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
16304 Autoload trivia.
16305
16306 * emacs-lisp/cl-extra.el (*random-state*):
16307 Remove unnecessary declaration.
16308
16309 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
16310
16311 * play/cookie1.el (cookie-snarf):
16312 Give an explicit error if input file cannot be read.
16313
16314 * play/yow.el (yow-file): Use expand-file-name rather than concat.
16315
16316 * progmodes/perl-mode.el (c-macro-expand):
16317 Remove unnecessary autoload (it is in loaddefs.el).
16318
16319 * textmodes/picture.el (picture-desired-column)
16320 (picture-update-desired-column): Convert comments to doc-strings.
16321 (picture-substitute): Remove function.
16322 (picture-mode-map): Initialize in the defvar.
16323
16324 * woman.el: Remove eval-after-load for tar-mode.
16325 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
16326 (woman-tar-extract-file): Autoload it.
16327
16328 * frame.el (automatic-hscrolling): Make this alias obsolete.
16329
16330 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
16331
16332 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
16333 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
16334 (ispell-dictionary-base-alist): Revert to original XEmacs
16335 friendly version for default. [:alpha:] will be added in
16336 `ispell-set-spellchecker-params' if needed.
16337
16338 2012-04-16 Chong Yidong <cyd@gnu.org>
16339
16340 * image.el (imagemagick--file-regexp): New variable.
16341 (imagemagick-register-types): Use it.
16342 (imagemagick-types-inhibit): Add :set function. Allow new value
16343 of t to inhibit all types.
16344
16345 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
16346 so we can preload it.
16347
16348 * loadup.el (fboundp): Preload regexp-opt, needed by
16349 imagemagick-register-types.
16350
16351 2012-04-15 Chong Yidong <cyd@gnu.org>
16352
16353 * frame.el (scrolling): Remove nearly unused customization group.
16354
16355 * scroll-all.el (scroll-all-mode): Move to windows group.
16356
16357 2012-04-15 Chong Yidong <cyd@gnu.org>
16358
16359 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
16360
16361 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16362
16363 Avoid the use of ((lambda ...) ...) in lexical-binding code.
16364 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
16365
16366 2012-04-15 Glenn Morris <rgm@gnu.org>
16367
16368 * simple.el (process-file-side-effects): Doc fix.
16369
16370 2012-04-15 Glenn Morris <rgm@gnu.org>
16371
16372 * international/mule-cmds.el (set-language-environment): Doc fix.
16373
16374 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
16375
16376 * server.el (server-auth-key, server-generate-key): Doc fixes.
16377 (server-get-auth-key): Doc fix. Use `string-match-p'.
16378 (server-start): Reflow docstring.
16379
16380 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
16381
16382 * server.el (server-generate-key): `called-interactively-p'
16383 requires a parameter.
16384
16385 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
16386
16387 * server.el (server-auth-key): New variable.
16388 (server-generate-key, server-get-auth-key): New function.
16389 (server-start): Use the new variable and functions to allow
16390 setting a permanent server key (bug#9423).
16391
16392 2012-04-14 Leo Liu <sdl.web@gmail.com>
16393
16394 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
16395
16396 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
16397
16398 Spelling fixes.
16399 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
16400 Emacs uses American spelling.
16401
16402 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
16403
16404 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
16405 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
16406 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
16407 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
16408
16409 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16410
16411 * progmodes/which-func.el (which-func-modes): Change default.
16412
16413 2012-04-14 Kim F. Storm <storm@cua.dk>
16414
16415 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
16416 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
16417
16418 2012-04-14 Chong Yidong <cyd@gnu.org>
16419
16420 * custom.el (custom-theme-set-variables): Doc fix.
16421
16422 2012-04-14 Glenn Morris <rgm@gnu.org>
16423
16424 * international/mule.el (set-auto-coding-for-load): Doc fix.
16425
16426 2012-04-14 Alan Mackenzie <acm@muc.de>
16427
16428 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
16429 imenu work again for Objective C Mode. Correct the *-index values,
16430 these having been disturbed by a previous change in 2011-08.
16431
16432 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
16433 Correct two search limits.
16434
16435 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16436
16437 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
16438
16439 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
16440
16441 * international/characters.el: Fix sorting.
16442
16443 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16444
16445 * international/characters.el: Add more missing Latin case pairs.
16446
16447 2012-04-14 Glenn Morris <rgm@gnu.org>
16448
16449 * files.el (dir-locals-set-class-variables): Doc fix.
16450
16451 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16452
16453 * international/characters.el: Add set-case-syntax-pair call for
16454 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
16455 counterpart. (Bug#11209)
16456
16457 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
16458
16459 2012-04-14 Glenn Morris <rgm@gnu.org>
16460
16461 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16462
16463 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16464
16465 * textmodes/ispell.el (ispell-dictionary-base-alist):
16466 Add data for Hebrew.
16467
16468 2012-04-14 Chong Yidong <cyd@gnu.org>
16469
16470 * net/rcirc.el (rcirc-cmd-quit):
16471 Revert 2012-03-18 change (Bug#11192).
16472
16473 2012-04-14 Glenn Morris <rgm@gnu.org>
16474
16475 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
16476
16477 2012-04-14 Eli Zaretskii <eliz@gnu.org>
16478
16479 * minibuffer.el (completion-in-region-mode-map):
16480 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
16481
16482 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
16483
16484 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
16485
16486 2012-04-13 Masatake YAMATO <yamato@redhat.com>
16487
16488 * minibuffer.el (minibuffer-local-filename-syntax): New variable
16489 to allow `C-M-f' and `C-M-b' to move to the nearest path
16490 separator (bug#9511).
16491
16492 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
16493
16494 * avoid.el: Require cl when compiling. And also move the
16495 `provide' to the end.
16496
16497 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16498
16499 * avoid.el (mouse-avoidance-banish-position): New variable.
16500 (mouse-avoidance-banish-destination): Use it (bug#10165).
16501
16502 2012-04-13 Leo Liu <sdl.web@gmail.com>
16503
16504 * progmodes/which-func.el (which-func-modes): Add objc-mode.
16505
16506 2012-04-13 Ken Brown <kbrown@cornell.edu>
16507
16508 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
16509 this is no longer needed now that cygstart understands file:// URLs.
16510 (browse-url-filename-alist): For the same reason, don't modify
16511 file:// URLs on Cygwin.
16512
16513 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
16514
16515 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
16516 the region on shift if the binding is already shifted (bug#11221).
16517
16518 2012-04-12 Glenn Morris <rgm@gnu.org>
16519
16520 * mail/mailpost.el: Move to obsolete/.
16521
16522 2012-04-12 Drew Adams <drew.adams@oracle.com>
16523
16524 * imenu.el (imenu--generic-function): Ignore invisible definitions
16525 (bug#10123).
16526
16527 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
16528
16529 * hexl.el (hexl-bits): New variable.
16530 (hexl-options): Mention the variable in the doc string.
16531 (hexl-rulerise, hexl-line-displen): New functions.
16532 (hexl-mode): Mention the new variable.
16533 (hexl-mode, hexl-current-address, hexl-current-address):
16534 Use the displen.
16535 (hexl-ascii-start-column): New function.
16536 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
16537 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
16538
16539 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
16540
16541 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
16542 '("-i" ENCODING), in 2 separate command-line arguments, to specify
16543 the encoding, as expected by hunspell.
16544
16545 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
16546
16547 * battery.el (battery--linux-sysfs-regexp): New const.
16548 (battery-status-function): Use it. Remove yeeloong special case.
16549 (battery-yeeloong-sysfs): Remove.
16550 (battery-echo-area-format): Remove yeeloong special case.
16551
16552 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
16553
16554 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
16555 Reported by Noah Friedman.
16556
16557 * subr.el (read-passwd): Use read-string.
16558
16559 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16560
16561 * vcursor.el (vcursor-move): Increase the priority of the overlay
16562 (bug#9663).
16563
16564 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16565
16566 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
16567 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
16568
16569 2012-04-11 William Stevenson <yhvh2000@gmail.com>
16570
16571 * textmodes/artist.el (artist-mode): Convert artist-mode to use
16572 define-minor-mode (bug#10760).
16573
16574 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16575
16576 * progmodes/grep.el (rgrep): Tweak the find command line so
16577 that directories matching `grep-find-ignored-files' won't be
16578 pruned (bug#10351).
16579
16580 2012-04-11 Chong Yidong <cyd@gnu.org>
16581
16582 * startup.el (command-line): Remove support for long-obsolete
16583 variable font-lock-face-attributes.
16584
16585 2012-04-11 Glenn Morris <rgm@gnu.org>
16586
16587 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
16588
16589 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
16590
16591 * window.el (window--state-get-1): Obey window-point-insertion-type.
16592
16593 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
16594
16595 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
16596 to previous function when point is on the first character of a
16597 function. Take care of that in `narrow-to-defun' (bug#6157).
16598
16599 2012-04-11 Glenn Morris <rgm@gnu.org>
16600
16601 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
16602 not just file-errors.
16603
16604 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
16605 (vc-bzr-sha1): Use internal sha1.
16606
16607 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
16608
16609 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
16610
16611 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
16612
16613 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
16614 that start in the middle of the line (bug#10496).
16615
16616 2012-04-10 Dan Nicolaescu <dann@gnu.org>
16617
16618 * battery.el (battery-linux-proc-acpi): Only one battery is
16619 discharged at a time, but that seems to confuse battery.el when
16620 computing `rate-type' for the battery not being discharged
16621 (bug#10332).
16622
16623 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16624
16625 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
16626
16627 * international/quail.el: Use dolist and simplify.
16628 (quail-define-package, quail-update-keyboard-layout)
16629 (quail-define-rules): Use dolist.
16630 (quail-insert-kbd-layout, quail-get-translation): CSE.
16631
16632 * tmm.el: Use dolist, remove left over hook.
16633 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
16634 Use dolist.
16635 (calendar-load-hook): Don't mess with it.
16636
16637 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
16638 Use derived-mode-p. Run the diff asynchronously.
16639
16640 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16641
16642 * obsolete/mouse-sel.el: Add an Obsolete-since header.
16643
16644 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
16645
16646 * misc.el: Display absolute path of loaded DLLs (bug#10424).
16647 (list-dynamic-libraries--loaded): New function.
16648 (list-dynamic-libraries--refresh): Use it.
16649
16650 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
16651
16652 * progmodes/python.el (python-fill-paragraph):
16653 Make python-fill-region in a multiline string work when font-lock is
16654 disabled (bug#7018).
16655
16656 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
16657
16658 * language/european.el (cp775): Add oem/legacy (en)coding on
16659 DOS/MS Windows for the Baltic languages. There are still plenty
16660 of texts written in this encoding/codepage (bug#6519).
16661
16662 2012-04-10 Glenn Morris <rgm@gnu.org>
16663
16664 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
16665 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
16666
16667 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
16668
16669 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
16670 next-line "n" and previous-line "p" in order to make recentf more
16671 consistent with ibuffer, dired or org-mode (bug#9387).
16672
16673 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16674
16675 * image.el (put-image): Return the overlay created instead of the
16676 optional input string (bug#7834). Note that this may break code
16677 that is (for some reason or other) depending on `put-image'
16678 returning the string.
16679
16680 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
16681
16682 * simple.el (zap-to-char): Allow zapping using input methods
16683 (bug#1580).
16684
16685 * textmodes/fill.el (fill-region): Leave point and mark where they
16686 were before filling (bug#5399).
16687
16688 2012-04-09 Glenn Morris <rgm@gnu.org>
16689
16690 * version.el (emacs-bzr-get-version):
16691 Handle lightweight checkouts of local branches.
16692
16693 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
16694
16695 * international/characters.el: Recover lost case pairs. (Bug#11209)
16696
16697 2012-04-09 Chong Yidong <cyd@gnu.org>
16698
16699 * custom.el (custom-variable-p): Return nil for non-symbol
16700 arguments instead of signaling an error.
16701 (user-variable-p): Obsolete alias for custom-variable-p.
16702
16703 * apropos.el (apropos-variable):
16704 * files-x.el (read-file-local-variable):
16705 * simple.el (set-variable):
16706 * woman.el (woman-mini-help):
16707 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
16708
16709 2012-04-09 Glenn Morris <rgm@gnu.org>
16710
16711 * startup.el (normal-top-level): Don't look for leim-list.el
16712 in places where it will not be found. (Bug#910)
16713
16714 * international/mule-cmds.el (set-default-coding-systems):
16715 * files.el (normal-mode):
16716 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
16717 This function was removed with ucs-tables.el in 2008.
16718
16719 2012-04-08 Eli Zaretskii <eliz@gnu.org>
16720
16721 * textmodes/ispell.el (ispell-check-version): For hunspell, set
16722 ispell-encoding8-command to "-i", without a trailing space.
16723 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
16724 separate command-line arguments, to specify the encoding, since
16725 that's how hunspell expects it.
16726
16727 2012-04-08 Glenn Morris <rgm@gnu.org>
16728
16729 * loadup.el: Load bindings before cus-start.
16730 This reduces somewhat the number of "rogue" settings in emacs -Q.
16731
16732 2012-04-07 Glenn Morris <rgm@gnu.org>
16733
16734 * version.el (emacs-bzr-get-version): New function.
16735 (emacs-bzr-version): New variable.
16736 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
16737 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
16738
16739 2012-04-07 Eli Zaretskii <eliz@gnu.org>
16740
16741 * international/uni-bidi.el, international/uni-category.el:
16742 * international/uni-combining.el, international/uni-decimal.el:
16743 * international/uni-decomposition.el, international/uni-digit.el:
16744 * international/uni-lowercase.el, international/uni-mirrored.el:
16745 * international/uni-name.el, international/uni-numeric.el:
16746 * international/uni-titlecase.el, international/uni-uppercase.el:
16747 Update for Unicode 6.1.
16748
16749 2012-04-07 Eli Zaretskii <eliz@gnu.org>
16750
16751 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
16752
16753 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
16754
16755 * window.el (shrink-window): Mention the `window-min-height'
16756 variable in the doc string.
16757
16758 2012-04-05 Bastien Guerry <bzg@altern.org>
16759
16760 * color.el (color-lighten-name): Fix typo.
16761
16762 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16763
16764 * server.el (server--on-display-p): New function.
16765 (server--on-display-p): Use it.
16766
16767 2012-04-04 GĂ¡bor Vida <vidagabor@gmail.com> (tiny change)
16768
16769 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
16770 (bug#11145).
16771
16772 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16773
16774 * comint.el (comint--common-quoted-suffix): Check string boundary
16775 before comparing (bug#11158).
16776 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
16777
16778 2012-04-04 Chong Yidong <cyd@gnu.org>
16779
16780 * minibuffer.el (completion-extra-properties): Doc fix.
16781
16782 * subr.el (delayed-warnings-hook): Doc fix.
16783
16784 2012-04-04 Daiki Ueno <ueno@unixuser.org>
16785
16786 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
16787 selection (Bug#11159).
16788 (epa-insert-keys): Inform that the default public key will be
16789 exported if no key is selected.
16790
16791 2012-04-04 Richard Stallman <rms@gnu.org>
16792
16793 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
16794
16795 2012-04-03 Chong Yidong <cyd@gnu.org>
16796
16797 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
16798 mail-insert-file, not its obsolete alias mail-attach-file.
16799
16800 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
16801
16802 * notifications.el (notifications-notify): Fix docstring.
16803
16804 2012-04-02 Glenn Morris <rgm@gnu.org>
16805
16806 * emacs-lisp/authors.el (authors-aliases): Another addition.
16807
16808 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
16809
16810 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
16811 `tramp-compat-call-process' instead of `tramp-local-call-process'.
16812 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
16813
16814 2012-04-01 Chong Yidong <cyd@gnu.org>
16815
16816 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
16817 Handle root directory properly.
16818 (copy-directory): Caller changed.
16819
16820 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16821 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
16822
16823 2012-03-31 Glenn Morris <rgm@gnu.org>
16824
16825 * term/xterm.el (xterm-extra-capabilities): Doc fix.
16826
16827 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
16828
16829 * calendar/calendar.el (calendar-window-list)
16830 (calendar-hide-window): Restore. (Bug#11140)
16831 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
16832
16833 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
16834
16835 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16836
16837 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16838 Check if file is a symlink (Bug#10489).
16839
16840 * files.el (copy-directory): Likewise.
16841
16842 2012-03-30 Chong Yidong <cyd@gnu.org>
16843
16844 * image.el (imagemagick-types-inhibit)
16845 (imagemagick-register-types): Doc fix.
16846
16847 2012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
16848
16849 * textmodes/ispell.el (ispell-get-extended-character-mode):
16850 Disable extended-char-mode for hunspell. hunspell does not support it
16851 and treats ~word as ordinary words in pipe mode.
16852
16853 2012-03-30 Glenn Morris <rgm@gnu.org>
16854
16855 * tutorial.el (help-with-tutorial): Ensure local variables don't
16856 happen to make the buffer read-only. (Bug#11127)
16857
16858 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16859
16860 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
16861 (perl-calculate-indent): Return `noindent' in strings.
16862
16863 2012-03-28 Sam Steingold <sds@gnu.org>
16864
16865 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
16866 instead of the broken adhockery which does not prevent calendar
16867 buffers from being displayed at random after exit.
16868 (calendar-window-list, calendar-hide-window): Remove the broken
16869 adhockery.
16870
16871 2012-03-28 Glenn Morris <rgm@gnu.org>
16872
16873 * replace.el (query-replace-map): Doc fix.
16874
16875 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
16876
16877 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
16878 contents. (Bug#11109)
16879
16880 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16881
16882 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
16883 (bug#11077).
16884 (avl-tree--check, avl-tree--check-node): New funs.
16885
16886 2012-03-27 Martin Rudalics <rudalics@gmx.at>
16887
16888 * window.el (switch-to-visible-buffer): New option.
16889 (switch-to-prev-buffer, switch-to-next-buffer):
16890 Observe switch-to-visible-buffer. Make sure that checking for a window
16891 showing a buffer already is done on the same frame.
16892
16893 2012-03-27 Glenn Morris <rgm@gnu.org>
16894
16895 * startup.el (mail-host-address): Doc fix.
16896
16897 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16898
16899 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
16900 than 197 variables.
16901
16902 2012-03-26 Ami Fischman <ami@fischman.org>
16903
16904 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
16905
16906 2012-03-26 Glenn Morris <rgm@gnu.org>
16907
16908 * files.el (save-buffers-kill-emacs): Doc fix.
16909
16910 * startup.el (normal-top-level, command-line, command-line-1):
16911 Give them doc strings.
16912
16913 2012-03-25 Eli Zaretskii <eliz@gnu.org>
16914
16915 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
16916 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
16917
16918 2012-03-25 Chong Yidong <cyd@gnu.org>
16919
16920 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
16921 theme if it was previously enabled before (Bug#11031).
16922
16923 * cus-theme.el (custom-theme-write-faces): Retrieve current face
16924 spec with custom-face-get-current-spec if its :shown-value is not
16925 determined yet (Bug#9337).
16926 (customize-create-theme, custom-theme-revert): Doc fixes.
16927
16928 * button.el (button-at): Minor addition to docstring.
16929
16930 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
16931
16932 * vc/vc.el (vc-merge): Fix a prompt.
16933
16934 2012-03-24 Chong Yidong <cyd@gnu.org>
16935
16936 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
16937 point (Bug#9623).
16938
16939 * button.el (button-at): Minor addition to docstring.
16940
16941 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
16942
16943 * newcomment.el (comment-choose-indent): No space after BOL.
16944
16945 2012-03-22 Sam Steingold <sds@gnu.org>
16946
16947 * window.el (switch-to-prev-buffer): Revert last patch because the
16948 bug turned out to be an advertised feature (Elisp manual 28.14).
16949
16950 2012-03-22 Glenn Morris <rgm@gnu.org>
16951
16952 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
16953 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
16954
16955 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16956
16957 * net/network-stream.el (network-stream-open-starttls): Make error
16958 message under Windows be less misleading.
16959
16960 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
16961
16962 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
16963 understands (bug#9942).
16964
16965 2012-03-22 Chong Yidong <cyd@gnu.org>
16966
16967 * simple.el (end-of-visible-line): Handle return value of
16968 next-single-property-change properly (Bug#9371).
16969
16970 2012-03-22 Kenichi Handa <handa@m17n.org>
16971
16972 * international/quail.el (quail-insert-kbd-layout): Fix previous
16973 change. To avoid unwanted bidi reordering, use
16974 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
16975
16976 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
16977
16978 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
16979 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
16980 (ruby-beginning-of-indent): Be more careful with the difference
16981 between word-boundary and symbol boundary.
16982 (ruby-mode-syntax-table): Make : a symbol constituent.
16983
16984 2012-03-21 Andreas Politz <politza@fh-trier.de>
16985
16986 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
16987
16988 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16989
16990 * progmodes/etags.el (tags-completion-at-point-function):
16991 Improve last fix.
16992
16993 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
16994
16995 2012-03-21 Sam Steingold <sds@gnu.org>
16996
16997 * progmodes/etags.el (tags-completion-at-point-function):
16998 Avoid the error when point is inside the pattern.
16999
17000 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
17001
17002 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
17003 line (Bug#10855).
17004
17005 2012-03-21 Drew Adams <drew.adams@oracle.com>
17006
17007 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
17008
17009 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
17010
17011 * ido.el (ido-set-current-directory, ido-read-internal)
17012 (ido-choose-completion-string, ido-completion-help): Handle nil
17013 value of ido-completion-buffer (Bug#11008).
17014
17015 2012-03-21 Sam Steingold <sds@gnu.org>
17016
17017 * window.el (switch-to-prev-buffer): Do not switch to a visible
17018 window previous buffer, just like with the frame previous buffers.
17019
17020 2012-03-21 Chong Yidong <cyd@gnu.org>
17021
17022 * faces.el (make-face, make-empty-face, copy-face):
17023 * face-remap.el (face-remap-add-relative, face-remap-set-base):
17024 Doc fixes.
17025
17026 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17027
17028 * wid-edit.el (widget-complete-field): Remove (bug#11051).
17029 (widget-complete): Remove broken use of it.
17030
17031 2012-03-20 Chong Yidong <cyd@gnu.org>
17032
17033 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17034 Use string-width and truncate-string-width to handle arbitrary
17035 characters.
17036
17037 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
17038
17039 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
17040 to draw rectangles, not squares. (Regression introduced by revno
17041 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
17042
17043 2012-03-18 Chong Yidong <cyd@gnu.org>
17044
17045 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
17046 it is not yet defined (for temacs).
17047
17048 2012-03-18 Leo Liu <sdl.web@gmail.com>
17049
17050 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
17051 prefix.
17052
17053 2012-03-17 Eli Zaretskii <eliz@gnu.org>
17054
17055 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
17056 (ispell-choices-win-default-height, ispell-silently-savep)
17057 (ispell-dictionary-alist, ispell-encoding8-command)
17058 (ispell-check-version, ispell-aspell-find-dictionary)
17059 (ispell-valid-dictionary-list, ispell-words-keyword)
17060 (ispell-get-word, ispell-internal-change-dictionary)
17061 (ispell-region, ispell-skip-region-list)
17062 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
17063 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
17064 (ispell-message-text-end, ispell-message)
17065 (ispell-buffer-local-parsing): Doc fix.
17066
17067 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
17068
17069 * htmlfontify.el: Add support for code block fontification for ODT
17070 export (Bug #9914).
17071 (hfy-optimisations): Define new option
17072 `body-text-only'
17073 (hfy-fontify-buffer): Honor above setting.
17074 (hfy-begin-span, hfy-end-span): New routines factored out form
17075 `hfy-fontify-buffer'.
17076 (hfy-begin-span-handler, hfy-end-span-handler): New variables
17077 that permit insertion of custom tags.
17078 (hfy-fontify-buffer): Use above handlers.
17079 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
17080 (hfy-face-to-css): Re-defined to be a variable.
17081 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
17082 over multiple runs. This is made possible by having the caller let
17083 bind a special variable `hfy-user-sheet-assoc'.
17084 (htmlfontify-string): New defun.
17085 (hfy-compile-face-map): Make sure that the last char in the
17086 buffer is correctly fontified.
17087 (hfy-face-resolve-face): Whitespace only change.
17088
17089 2012-03-17 Eli Zaretskii <eliz@gnu.org>
17090
17091 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
17092 message more clear.
17093
17094 2012-03-16 Leo Liu <sdl.web@gmail.com>
17095
17096 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
17097
17098 2012-03-16 Alan Mackenzie <acm@muc.de>
17099
17100 Further optimize the handling of large macros.
17101
17102 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
17103 limit to a call of `c-literal-limits'.
17104 (c-determine-+ve-limit): New function.
17105 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
17106 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
17107 In CASE 5B, restrict a search limit to 500.
17108 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
17109
17110 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
17111 Restrict macro bounds to +-500 from after-change's BEG END.
17112
17113 2012-03-16 Leo Liu <sdl.web@gmail.com>
17114
17115 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
17116
17117 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
17118
17119 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
17120 `special-mode' setting of `buffer-read-only'. (Bug#11010)
17121
17122 2012-03-16 Glenn Morris <rgm@gnu.org>
17123
17124 * view.el (view-buffer, view-buffer-other-window)
17125 (view-buffer-other-frame): Doc fixes re special mode-class.
17126
17127 * subr.el (eval-after-load): If named feature is provided not from
17128 a file, run after-load forms. (Bug#10946)
17129
17130 * calendar/calendar.el (calendar-insert-at-column):
17131 Handle non-unit-width characters a bit better. (Bug#10978)
17132
17133 2012-03-15 Chong Yidong <cyd@gnu.org>
17134
17135 * emacs-lisp/ring.el (ring-extend): New function.
17136 (ring-insert+extend): Extend the ring correctly (Bug#11019).
17137
17138 * comint.el (comint-read-input-ring)
17139 (comint-add-to-input-history): Grow comint-input-ring lazily.
17140
17141 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17142
17143 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
17144 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
17145
17146 * imenu.el: Fix multiple inheritance breakage (bug#9199).
17147 (imenu-add-to-menubar): Don't add a redundant index.
17148 (imenu-update-menubar): Handle a dynamically composed keymap.
17149
17150 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
17151
17152 * mail/sendmail.el (mail-encode-header):
17153 Bind rfc2047-encode-encoded-words to nil.
17154
17155 2012-03-13 Glenn Morris <rgm@gnu.org>
17156
17157 * calendar/calendar.el (calendar-string-spread):
17158 Handle non-unit-width characters a bit better. (Bug#10978)
17159
17160 2012-03-13 Leo Liu <sdl.web@gmail.com>
17161
17162 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
17163 directory and file as argument (Bug#10822).
17164
17165 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
17166
17167 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
17168 For dynamically generated code, follow $PC.
17169 (gdb-disassembly-handler-custom): Handle no function name case.
17170
17171 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
17172
17173 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
17174 * emulation/ws-mode.el (ws-query-replace):
17175 * sort.el (sort-regexp-fields):
17176 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
17177
17178 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17179
17180 * dabbrev.el: Fix cycle completion order (bug#10963).
17181 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
17182 (dabbrev-completion): Don't use an obarray; provide
17183 a cycle-sort-function.
17184
17185 2012-03-12 Leo Liu <sdl.web@gmail.com>
17186
17187 * simple.el (kill-new): Use equal-including-properties for comparison.
17188 (kill-do-not-save-duplicates): Doc fix.
17189
17190 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17191
17192 * dabbrev.el: Fix cycle completion (bug#10963).
17193 Use lexical binding and wrap to 80 columns.
17194 (dabbrev-completion): Delay computing the list of completions.
17195
17196 2012-03-12 Kenichi Handa <handa@m17n.org>
17197
17198 * international/quail.el (quail-insert-kbd-layout): Surround each
17199 row by LRO and PDF instead of inserting many LRMs. Pad the left
17200 and right of each non-spacing marks. Insert invisible space
17201 between lower and upper characters to prevent composition.
17202
17203 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17204
17205 * minibuffer.el (minibuffer-complete): Don't get confused when the
17206 function is run twice via different commands (bug#10958).
17207 (complete-with-action): Fix docstring.
17208
17209 2012-03-12 Chong Yidong <cyd@gnu.org>
17210
17211 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
17212 (nxml-completion-at-point-function): New function.
17213 (nxml-mode): Use it.
17214 (nxml-bind-meta-tab-to-complete-flag): Default to t.
17215
17216 * emacs-lisp/package.el (package-unpack, package-unpack-single):
17217 Load generated autoloads file before byte compiling (Bug#10970).
17218 (package--make-autoloads-and-compile): New helper fun.
17219
17220 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
17221
17222 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
17223
17224 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
17225
17226 * autorevert.el (auto-revert-handler): Ensure, that
17227 file-readable-p is applied only for local files or in
17228 auto-revert-tail-mode.
17229
17230 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
17231
17232 * server.el (server-eval-at): Handle non-tcp connections.
17233 Decode result string.
17234
17235 * server.el (server-msg-size): New constant.
17236 (server-reply-print): New function.
17237 (server-eval-and-print): Use it.
17238 (server-eval-at): Use server-quote-arg and server-unquote-arg.
17239 Handle -print-nonl.
17240
17241 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
17242
17243 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
17244 (Bug#10987).
17245
17246 2012-03-11 Chong Yidong <cyd@gnu.org>
17247
17248 * simple.el (goto-line): Doc fix (Bug#9938).
17249
17250 * subr.el (save-window-excursion): Doc fix (Bug#9979).
17251
17252 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
17253 when finished (Bug#10963).
17254
17255 2012-03-11 Martin Rudalics <rudalics@gmx.at>
17256
17257 * window.el (split-window-below): Fix bug in case where
17258 split-window-keep-point is nil (Bug#10971).
17259
17260 2012-03-11 Juri Linkov <juri@jurta.org>
17261
17262 * replace.el (replace-highlight): Set isearch-word to nil
17263 unconditionally. (Bug#10887)
17264
17265 2012-03-10 Eli Zaretskii <eliz@gnu.org>
17266
17267 * net/mairix.el (mairix-replace-invalid-chars): Rename from
17268 mairix-replace-illegal-chars; all callers changed. Don't remove
17269 ^, ~, and = characters: they are meaningful in mairix search specs.
17270 (mairix-widget-create-query): Add usage information about mairix
17271 search forms: negating words, searching for substrings, etc.
17272
17273 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
17274
17275 * international/fontset.el (font-encoding-alist): Add an entry for
17276 ksx1001 (Bug#5667).
17277
17278 2012-03-10 Richard Stallman <rms@gnu.org>
17279
17280 * mail/sendmail.el (mail-encode-header):
17281 Set rfc2047-encode-encoded-words.
17282
17283 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
17284
17285 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
17286 view buffer means not swapped.
17287 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
17288 (rmail-write-region-annotate): Error if real text has disappeared.
17289
17290 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
17291
17292 2012-03-10 Chong Yidong <cyd@gnu.org>
17293
17294 * emulation/cua-rect.el (cua--init-rectangles):
17295 * emulation/cua-base.el (cua--init-keymaps):
17296 Add delete-forward-char to remappings (Bug#9666).
17297
17298 2012-03-10 Martin Rudalics <rudalics@gmx.at>
17299
17300 * speedbar.el (speedbar-unhighlight-one-tag-line):
17301 Avoid unhighlighting due to frame switching (Bug#10275).
17302
17303 2012-03-10 Chong Yidong <cyd@gnu.org>
17304
17305 * minibuffer.el (completion-in-region, completion-help-at-point):
17306 Give the completion field overlay a high priority (Bug#6830).
17307
17308 * dired.el (dired-goto-file): Recognize absolute file name
17309 listings (Bug#7126).
17310 (dired-goto-file-1): New helper function.
17311 (dired-toggle-read-only): Inhibit warnings.
17312
17313 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
17314
17315 * net/dbus.el (dbus-property-handler): Return empty array if
17316 there are no properties.
17317
17318 2012-03-09 Leo Liu <sdl.web@gmail.com>
17319
17320 * savehist.el (savehist-printable): Stricter check for string
17321 value (Bug#10937).
17322
17323 2012-03-09 Eli Zaretskii <eliz@gnu.org>
17324
17325 * mail/smtpmail.el (smtpmail-send-it):
17326 Bind coding-system-for-write to *-unix, so that FCC files are kept in
17327 valid mbox format.
17328
17329 2012-03-09 Glenn Morris <rgm@gnu.org>
17330
17331 * files.el (dir-locals-find-file):
17332 Don't check result is regular, readable.
17333 (dir-locals-read-from-file): Demote errors.
17334
17335 2012-03-08 Eli Zaretskii <eliz@gnu.org>
17336
17337 * international/quail.el (quail-insert-kbd-layout):
17338 Insert invisible LRM characters before each character in a keyboard
17339 layout cell, to prevent their reordering by bidi display engine.
17340 For details, see the discussion in
17341 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
17342
17343 2012-03-08 Alan Mackenzie <acm@muc.de>
17344
17345 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
17346 the starting position; make it extend the marked region when
17347 invoked repeatedly - all under appropriate circumstances.
17348 Fixes bugs #5525, #10906.
17349
17350 2012-03-08 Glenn Morris <rgm@gnu.org>
17351
17352 * files.el (locate-dominating-file, dir-locals-find-file):
17353 Undo 2012-03-06 change.
17354
17355 2012-03-07 Eli Zaretskii <eliz@gnu.org>
17356
17357 * international/quail.el (quail-help):
17358 Force bidi-paragraph-direction be left-to-right. See discussion in
17359 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
17360 for the reason.
17361
17362 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
17363
17364 Avoid superfluous registering of signals. (Bug#10807)
17365
17366 * notifications.el (notifications-on-action-object)
17367 (notifications-on-close-object): New defvars.
17368 (notifications-on-action-signal, notifications-on-closed-signal):
17369 Unregister the signal if not needed any longer.
17370 (notifications-notify): Register `notifications-action-signal' or
17371 `notifications-closed-signal', if :on-action or :on-close has been
17372 passed as argument.
17373
17374 2012-03-07 Chong Yidong <cyd@gnu.org>
17375
17376 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
17377 non-X platforms.
17378
17379 2012-03-06 Glenn Morris <rgm@gnu.org>
17380
17381 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17382 (x-disown-selection-internal, x-get-selection-internal):
17383 Doc fix (add arglist signatures). (Bug#10783)
17384
17385 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
17386
17387 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
17388 Handle breakpoints with no "type".
17389
17390 2012-03-06 Glenn Morris <rgm@gnu.org>
17391
17392 * files.el (locate-dominating-file): Add optional predicate argument.
17393 (dir-locals-find-file): Make use of above change.
17394
17395 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
17396
17397 * info.el (Info-insert-dir): Also try "dir.gz".
17398
17399 2012-03-06 Glenn Morris <rgm@gnu.org>
17400
17401 * files.el (dir-locals-find-file):
17402 Ignore non-readable or non-regular files. (Bug#10928)
17403
17404 * files.el (locate-dominating-file): Doc fix.
17405
17406 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
17407
17408 * calendar/calendar.el (calendar-set-mode-line):
17409 `getenv' returns a string. (Bug#10951)
17410
17411 2012-03-05 Leo Liu <sdl.web@gmail.com>
17412
17413 * simple.el (backward-delete-char-untabify): Constrain point to
17414 field (Bug#10939).
17415
17416 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
17417
17418 2012-03-05 Chong Yidong <cyd@gnu.org>
17419
17420 * simple.el (count-words): If called from Lisp, return the word
17421 count, for symmetry with `count-lines'. Arglist changed.
17422 (count-words--message): Args changed. Consolidate counting code
17423 from count-words and count-words-region.
17424 (count-words-region): Caller changed.
17425 (count-lines-region): Make it an obsolete alias.
17426
17427 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
17428
17429 * saveplace.el (save-place-to-alist)
17430 (save-place-ignore-files-regexp): Allow value nil to disable this
17431 feature.
17432
17433 2012-03-04 Chong Yidong <cyd@gnu.org>
17434
17435 * faces.el (face-spec-reset-face): For the default face, reset the
17436 attributes to default values (Bug#10748).
17437
17438 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17439
17440 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
17441 previous patch: Check `message-send-mail-function', and not the
17442 default function (bug#10897).
17443
17444 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
17445
17446 * notifications.el (notifications-on-action-signal)
17447 (notifications-on-closed-signal): Check for unique service name of
17448 incoming event. Fix error in removing entry.
17449 (top): Register for signals with wildcard service name.
17450 (notifications-notify): Use daemon unique service name for map entries.
17451
17452 2012-03-04 Chong Yidong <cyd@gnu.org>
17453
17454 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
17455
17456 2012-03-04 Glenn Morris <rgm@gnu.org>
17457
17458 * abbrev.el (copy-abbrev-table, abbrev-table-p)
17459 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
17460 (expand-abbrev, define-abbrev-table): Doc fixes.
17461
17462 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17463
17464 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
17465 `message-default-send-mail-function' and not `send-mail-function'
17466 when doing the prompting for `sendmail-query-once' before sending
17467 in Message buffers (bug#10897).
17468
17469 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
17470 This is inconsistent with all the other stream functions, which leave
17471 the setting up to the higher levels (if so wanted) (bug#10931).
17472
17473 2012-03-02 Alan Mackenzie <acm@muc.de>
17474
17475 Depessimize the handling of very large macros.
17476
17477 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
17478 (c-macro-cache-syntactic): New variables to implement a one
17479 element macro cache.
17480 (c-invalidate-macro-cache): New function.
17481 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
17482 Adapt to use the new cache.
17483 (c-state-safe-place): Use better the cache of safe positions.
17484 (c-state-semi-nonlit-pos-cache)
17485 (c-state-semi-nonlit-pos-cache-limit):
17486 New variables for...
17487 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
17488 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
17489 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
17490 Use c-state-semi-safe-place.
17491
17492 * progmodes/cc-langs.el (c-get-state-before-change-functions):
17493 Add c-invalidate-macro-cache to the C, C++, Obj entries.
17494
17495 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
17496
17497 * jka-compr.el (jka-compr-call-process):
17498 Apply `file-accessible-directory-p' only when the default directory is
17499 not remote.
17500
17501 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
17502
17503 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
17504 access of FILE2, if FILE1 does not exist.
17505
17506 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
17507 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
17508
17509 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
17510 Add "PAGER=" to `process-environment'.
17511
17512 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
17513
17514 * progmodes/sql.el: Bug fix
17515 (sql-get-login-ext): Save login values in globals.
17516 (sql-get-login): Use new version of `sql-get-login-ext'.
17517 (sql-interactive-mode): Set global `sql-connection' to nil.
17518 (sql-connect): Set global values for connection.
17519 (sql-product-interactive): Save global values as buffer local.
17520
17521 2012-02-29 Leo Liu <sdl.web@gmail.com>
17522
17523 * abbrev.el (define-abbrevs): Reset sys to nil.
17524
17525 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17526
17527 * files.el (file-equal-p): Rename from `files-equal-p'.
17528 Return nil when one or both files don't exist.
17529 (file-subdir-of-p): Now only top directory must exists,
17530 return nil if it doesn't.
17531 (copy-directory): No need to test with `file-subdir-of-p' after
17532 creating dir.
17533 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
17534 to `file-equal-p'.
17535
17536 2012-02-28 Glenn Morris <rgm@gnu.org>
17537
17538 * shell.el (shell-mode):
17539 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
17540 * play/landmark.el (landmark-font-lock-face-O):
17541 * play/handwrite.el (handwrite):
17542 * play/gomoku.el (gomoku-O):
17543 * net/browse-url.el (browse-url-browser-display):
17544 * international/mule.el (define-charset):
17545 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
17546 * filesets.el (filesets-find-file-delay):
17547 * eshell/em-xtra.el (eshell-xtra):
17548 * eshell/em-unix.el (eshell-grep):
17549 * emulation/viper.el (viper-mode):
17550 * emacs-lisp/regexp-opt.el (regexp-opt-group):
17551 * emacs-lisp/easymenu.el (easy-menu-define):
17552 * calendar/timeclock.el (timeclock-use-display-time):
17553 * bs.el (bs-mode):
17554 * bookmark.el (bookmark-save-flag):
17555 Doc fix (standardize possessive apostrophe usage).
17556
17557 2012-02-27 Chong Yidong <cyd@gnu.org>
17558
17559 * emulation/viper-cmd.el (viper-intercept-ESC-key):
17560 Fix key-binding lookup for ESC key (Bug#9146).
17561
17562 * font-lock.el (font-lock-specified-p): Rename from
17563 font-lock-spec-present. Callers changed.
17564
17565 2012-02-27 Daniel Hackney <dan@haxney.org>
17566
17567 * emacs-lisp/package.el (package-compute-transaction):
17568 Handle holding a package version to t in package-load-list.
17569
17570 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
17571
17572 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
17573 (tramp-get-inode, tramp-get-device): Use cached values.
17574
17575 2012-02-26 Alan Mackenzie <acm@muc.de>
17576
17577 Check there is a font-lock specification before doing initial
17578 fontification.
17579
17580 * font-core.el (font-lock-mode): Move the conditional from
17581 :after-hook to font-lock-initial-fontify.
17582 (font-lock-default-function): Move the check for a specification
17583 to font-lock-spec-present.
17584
17585 * font-lock.el (font-lock-initial-fontify): Call ...
17586 (font-lock-spec-present): New function.
17587
17588 2012-02-26 Jim Blandy <jimb@red-bean.com>
17589
17590 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
17591 (gdb-send): Apply it to the operand of the '-interpreter-exec
17592 console' command, so that we can pass arguments with (say) quotes
17593 in them. Store exact string sent in gdb-debug-log (Bug#10765).
17594
17595 2012-02-26 Chong Yidong <cyd@gnu.org>
17596
17597 * help-fns.el (describe-function-1): Clarify description of
17598 remapping (Bug#10844).
17599
17600 * files.el (files-equal-p): Doc fix.
17601 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
17602 and quit the loop once a mismatch is found.
17603
17604 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
17605
17606 * bs.el (bs--show-with-configuration): Don't throw an error
17607 if the window cannot be split; otherwise, subsequent calls to
17608 bs-show fail, restoring a stale window config. (Bug#10882)
17609
17610 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
17611
17612 * term/ns-win.el (global-map): Bind ns-drag-file to
17613 ns-find-file (Bug#5855, Bug#10050).
17614
17615 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
17616
17617 * calendar/parse-time.el (parse-time-string): Allow extractor to
17618 return nil.
17619
17620 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
17621
17622 * net/tramp.el (tramp-file-name-for-operation):
17623 Add `files-equal-p' and `file-subdir-of-p'.
17624
17625 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
17626 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
17627 Add COPY-CONTENTS argument.
17628
17629 2012-02-25 Chong Yidong <cyd@gnu.org>
17630
17631 Add custom groups for VC backends, for consistency with vc-bzr.
17632
17633 * vc/vc-arch.el (vc-arch):
17634 * vc/vc-cvs.el (vc-cvs):
17635 * vc/vc-git.el (vc-git):
17636 * vc/vc-hg.el (vc-hg):
17637 * vc/vc-mtn.el (vc-mtn):
17638 * vc/vc-rcs.el (vc-rcs):
17639 * vc/vc-sccs.el (vc-sccs):
17640 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
17641 All relevant defcustoms reassigned.
17642
17643 2012-02-25 Chong Yidong <cyd@gnu.org>
17644
17645 * newcomment.el (comment-styles): Add autoload (Bug#10868).
17646
17647 * term/x-win.el (x-initialize-window-system): Reduce default for
17648 x-selection-timeout to 5 seconds (Bug#8869).
17649
17650 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17651
17652 * files.el (files-equal-p, file-subdir-of-p): New functions.
17653 (copy-directory): Error when trying to copy a directory on itself.
17654 Add missing copy-contents arg to tramp handler.
17655 * dired-aux.el (dired-copy-file-recursive): Same.
17656 (dired-create-files): Modify destination when source is equal to
17657 dest when copying files.
17658 Return also when dest is a subdir of source. (Bug#10489)
17659
17660 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
17661
17662 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
17663 (Bug#10874)
17664
17665 2012-02-23 Alan Mackenzie <acm@muc.de>
17666
17667 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
17668 parameter "after-hook:" to allow the expansion to run code after
17669 the execution of the mode hooks.
17670
17671 * font-lock.el (font-lock-initial-fontify): New function extracted
17672 from font-lock-mode-internal.
17673
17674 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
17675 :after-hook.
17676
17677 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
17678
17679 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
17680 (completion--cache-all-sorted-completions): New function.
17681 (completion-all-sorted-completions): Use it.
17682 (completion--do-completion, minibuffer-force-complete):
17683 Use it to re-instate the flush hook.
17684
17685 * icomplete.el (icomplete-completions): Replace last fix with a better
17686 one (bug#10850).
17687
17688 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
17689
17690 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
17691 when it might call us back infinitely (bug#10797).
17692
17693 2012-02-23 Glenn Morris <rgm@gnu.org>
17694
17695 * minibuffer.el (completion-category-overrides): Doc fix.
17696
17697 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
17698
17699 * minibuffer.el (completion-table-with-context): Fix inf-loop.
17700 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
17701
17702 2012-02-23 Glenn Morris <rgm@gnu.org>
17703
17704 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
17705 (authors-obsolete-files-regexps, authors-ignored-files)
17706 (authors-ambiguous-files, authors-renamed-files-alist):
17707 Add more entries.
17708
17709 2012-02-23 Juri Linkov <juri@jurta.org>
17710
17711 * isearch.el (isearch-occur): Sync interactive spec with occur's
17712 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
17713
17714 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
17715
17716 2012-02-22 Juri Linkov <juri@jurta.org>
17717
17718 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
17719 (ucs-insert): Doc fix. Check for hex digits in the string.
17720 Don't display `nil' in the error message. (Bug#10857)
17721
17722 2012-02-22 Alan Mackenzie <acm@muc.de>
17723
17724 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
17725
17726 2012-02-22 Glenn Morris <rgm@gnu.org>
17727
17728 * ffap.el (ffap-c-path):
17729 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
17730
17731 2012-02-22 Chong Yidong <cyd@gnu.org>
17732
17733 * custom.el (load-theme): Doc fix.
17734
17735 2012-02-22 Glenn Morris <rgm@gnu.org>
17736
17737 * dired-x.el (dired-guess-shell-alist-default):
17738 Remove escape sequences from nroff output. (Bug#172)
17739
17740 2012-02-21 Glenn Morris <rgm@gnu.org>
17741
17742 * vc/emerge.el (emerge-defvar-local):
17743 Set `permanent-local' property rather than unused `preserved'.
17744
17745 * textmodes/picture.el (picture-delete-char): New alias.
17746 (picture-mode-map): Use it. (Bug#10860)
17747 (picture-mode): Doc fix.
17748
17749 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
17750
17751 * newcomment.el (uncomment-region-default): Remove unused binding.
17752
17753 2012-02-21 Glenn Morris <rgm@gnu.org>
17754
17755 * textmodes/picture.el (picture-motion, picture-motion-reverse)
17756 (picture-self-insert, picture-tab-chars): Doc fix.
17757 (picture-mode-map): Fix C-a, C-e.
17758
17759 2012-02-20 Glenn Morris <rgm@gnu.org>
17760
17761 * emacs-lisp/authors.el (authors-aliases): Add another entry.
17762
17763 2012-02-20 Leo Liu <sdl.web@gmail.com>
17764
17765 * icomplete.el (icomplete-completions): Check FROM arg before
17766 passing to substring (Bug#10850).
17767
17768 2012-02-19 Chong Yidong <cyd@gnu.org>
17769
17770 * comint.el: Require ansi-color.
17771 (comint-output-filter-functions): Add ansi-color-process-output.
17772
17773 * ansi-color.el: Don't set comint-output-filter-functions; it is
17774 now in the initial value defined in comint.el.
17775 (ansi-color-apply-face-function): New variable.
17776 (ansi-color-apply-on-region): Use it.
17777 (ansi-color-apply-overlay-face): New function.
17778
17779 * shell.el (shell): No need to require ansi-color.
17780 (shell-mode): Use ansi-color-apply-face-function to highlight
17781 color escapes using font-lock-face property (Bug#10835).
17782
17783 2012-02-19 Chong Yidong <cyd@gnu.org>
17784
17785 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
17786 mode-line formats (Bug#10839).
17787
17788 2012-02-18 Glenn Morris <rgm@gnu.org>
17789
17790 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
17791
17792 * mail/undigest.el (unforward-rmail-message): Doc fix.
17793
17794 * saveplace.el (save-place-ignore-files-regexp): Add :version.
17795
17796 2012-02-18 Eli Zaretskii <eliz@gnu.org>
17797
17798 * international/characters.el (script-list): Sync with the latest
17799 Unicode Character Database.
17800
17801 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
17802
17803 * international/titdic-cnv.el: Remove duplicate coding tag.
17804 * language/cham.el: Likewise.
17805 * language/tai-viet.el: Likewise.
17806
17807 2012-02-18 Glenn Morris <rgm@gnu.org>
17808
17809 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
17810 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
17811 (calendar-bahai-all-holidays-flag, calendar-other-dates):
17812 * calendar/diary-lib.el (diary-abbreviated-year-flag):
17813 * calendar/holidays.el (holiday-bahai-holidays)
17814 (calendar-holidays, list-holidays):
17815 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
17816
17817 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
17818
17819 * saveplace.el (save-place-ignore-files-regexp): New variable
17820 allowing for excluding files from saving their location of point.
17821 The default value matches the temporary commit message editing
17822 files from Git, SVN, Bazaar, and Mercurial.
17823 (save-place-to-alist): Use it.
17824
17825 2012-02-17 Lawrence Mitchell <wence@gmx.li>
17826 Stefan Monnier <monnier@iro.umontreal.ca>
17827
17828 * newcomment.el (uncomment-region-default): Don't leave extra space
17829 when an arg is provided (bug#8150).
17830
17831 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
17832
17833 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
17834
17835 2012-02-17 Glenn Morris <rgm@gnu.org>
17836
17837 * net/socks.el: Require network-stream. (Bug#10599)
17838
17839 2012-02-17 Kenichi Handa <handa@m17n.org>
17840
17841 * international/charprop.el:
17842 * international/uni-name.el:
17843 * international/uni-old-name.el:
17844 * international/uni-comment.el: Regenerate.
17845
17846 2012-02-16 Glenn Morris <rgm@gnu.org>
17847
17848 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
17849 Interactively in calendar buffer, give an error if not on a date.
17850
17851 2012-02-15 Glenn Morris <rgm@gnu.org>
17852
17853 * shell.el (shell-delimiter-argument-list):
17854 Revert 2011-02-17 change. (Bug#8027)
17855
17856 2012-02-15 Chong Yidong <cyd@gnu.org>
17857
17858 * minibuffer.el (completion-at-point-functions): Doc fix.
17859
17860 * custom.el (defcustom): Doc fix; note use of defvar.
17861
17862 2012-02-15 Glenn Morris <rgm@gnu.org>
17863
17864 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
17865 Doc fixes.
17866
17867 2012-02-14 Glenn Morris <rgm@gnu.org>
17868
17869 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
17870
17871 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
17872
17873 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
17874 way the ports list is computed.
17875 (smtpmail-query-smtp-server): Prompt the user for a port number if
17876 we can't connect to any of the standard ports (bug#10810).
17877
17878 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
17879
17880 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
17881
17882 2012-02-13 Glenn Morris <rgm@gnu.org>
17883
17884 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
17885
17886 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
17887
17888 * net/gnutls.el (gnutls-trustfiles): New variable.
17889 (gnutls-negotiate): Use it.
17890
17891 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
17892
17893 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
17894 does its stuff if Gnus is running.
17895
17896 2012-02-13 Alan Mackenzie <acm@muc.de>
17897
17898 Fix a loop in c-set-fl-decl-start.
17899
17900 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
17901 c-backward-syntactic-ws actually moves backwards.
17902
17903 2012-02-13 Leo Liu <sdl.web@gmail.com>
17904
17905 * net/rcirc.el (rcirc-markup-attributes): Move point to the
17906 beginning so that all \C-o chars are removed.
17907
17908 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
17909
17910 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
17911
17912 2012-02-12 Alan Mackenzie <acm@muc.de>
17913
17914 Fix infinite loop with long macros.
17915 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
17916
17917 2012-02-12 Chong Yidong <cyd@gnu.org>
17918
17919 * window.el (display-buffer): Doc fix (Bug#10785).
17920
17921 2012-02-12 Glenn Morris <rgm@gnu.org>
17922
17923 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17924 (x-disown-selection-internal, x-get-selection-internal):
17925 Sync docs with the xselect.c versions.
17926
17927 * allout-widgets.el: Add missing license notice.
17928
17929 2012-02-11 Glenn Morris <rgm@gnu.org>
17930
17931 * select.el (x-get-selection-internal, x-own-selection-internal)
17932 (x-disown-selection-internal):
17933 * x-dnd.el (x-get-selection-internal): Update declarations.
17934
17935 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
17936
17937 * window.el (window-sides-slots):
17938 * tool-bar.el (tool-bar-position):
17939 * term/xterm.el (xterm-extra-capabilities):
17940 * ses.el (ses-self-reference-early-detection):
17941 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
17942 (verilog-auto-wire-type)
17943 (verilog-auto-delete-trailing-whitespace)
17944 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
17945 (verilog-auto-tieoff-declaration):
17946 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
17947 (sql-oracle-statement-starters, sql-oracle-scan-on):
17948 * progmodes/prolog.el (prolog-align-comments-flag)
17949 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
17950 (prolog-left-indent-regexp, prolog-paren-indent-p)
17951 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
17952 (prolog-types, prolog-mode-specificators)
17953 (prolog-determinism-specificators, prolog-directives)
17954 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
17955 (prolog-electric-dot-flag)
17956 (prolog-electric-dot-full-predicate-template)
17957 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
17958 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
17959 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
17960 (prolog-program-switches, prolog-prompt-regexp)
17961 (prolog-debug-on-string, prolog-debug-off-string)
17962 (prolog-trace-on-string, prolog-trace-off-string)
17963 (prolog-zip-on-string, prolog-zip-off-string)
17964 (prolog-use-standard-consult-compile-method-flag)
17965 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
17966 (prolog-imenu-max-lines, prolog-info-predicate-index)
17967 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
17968 (prolog-char-quote-workaround):
17969 * progmodes/cc-vars.el (c-defun-tactic):
17970 * net/tramp.el (tramp-encoding-command-interactive)
17971 (tramp-local-end-of-line):
17972 * net/soap-client.el (soap-client):
17973 * net/netrc.el (netrc-file):
17974 * net/gnutls.el (gnutls):
17975 * minibuffer.el (completion-category-overrides)
17976 (completion-cycle-threshold)
17977 (completion-pcm-complete-word-inserts-delimiters):
17978 * man.el (Man-name-local-regexp):
17979 * mail/feedmail.el (feedmail-display-full-frame):
17980 * international/characters.el (glyphless-char-display-control):
17981 * eshell/em-ls.el (eshell-ls-date-format):
17982 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
17983 (lisp-lambda-list-keyword-parameter-indentation)
17984 (lisp-lambda-list-keyword-parameter-alignment):
17985 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
17986 * dired-x.el (dired-omit-verbose):
17987 * cus-theme.el (custom-theme-allow-multiple-selections):
17988 * calc/calc.el (calc-highlight-selections-with-faces)
17989 (calc-lu-field-reference, calc-lu-power-reference)
17990 (calc-note-threshold):
17991 * battery.el (battery-mode-line-limit):
17992 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
17993 (archive-7z-update):
17994 * allout.el (allout-prefixed-keybindings)
17995 (allout-unprefixed-keybindings)
17996 (allout-inhibit-auto-fill-on-headline)
17997 (allout-flattened-numbering-abbreviation):
17998 * allout-widgets.el (allout-widgets-auto-activation)
17999 (allout-widgets-icons-dark-subdir)
18000 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
18001 (allout-widgets-theme-dark-background)
18002 (allout-widgets-theme-light-background)
18003 (allout-widgets-item-image-properties-emacs)
18004 (allout-widgets-item-image-properties-xemacs)
18005 (allout-widgets-run-unit-tests-on-load)
18006 (allout-widgets-time-decoration-activity)
18007 (allout-widgets-hook-error-post-time)
18008 (allout-widgets-track-decoration):
18009 Add missing :version tags to new defcustoms and defgroups.
18010
18011 * progmodes/sql.el (sql-ansi-statement-starters)
18012 (sql-oracle-statement-starters): Add custom type.
18013
18014 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
18015 (prolog-system-version): Give it a type.
18016
18017 2012-02-11 Eli Zaretskii <eliz@gnu.org>
18018
18019 * term/pc-win.el (x-select-text, x-selection-owner-p)
18020 (x-own-selection-internal, x-disown-selection-internal)
18021 (x-get-selection-internal): Sync doc strings and argument lists
18022 with xselect.c, common-win.el and x-win.el. (Bug#10783)
18023
18024 2012-02-11 Leo Liu <sdl.web@gmail.com>
18025
18026 * progmodes/python.el (python-end-of-statement): Fix infinite
18027 loop. (Bug#10788)
18028
18029 2012-02-10 Glenn Morris <rgm@gnu.org>
18030
18031 * international/mule-cmds.el (unify-8859-on-encoding-mode)
18032 (unify-8859-on-decoding-mode): Properly mark as obsolete.
18033
18034 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
18035
18036 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
18037 about SMTP before checking the From header.
18038
18039 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
18040 into own function for reuse by emacsbug.el.
18041
18042 2012-02-10 Leo Liu <sdl.web@gmail.com>
18043
18044 * subr.el (condition-case-unless-debug): Rename from
18045 condition-case-no-debug. All callers changed.
18046 (with-demoted-errors): Fix caller.
18047
18048 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
18049 * nxml/rng-valid.el (rng-do-some-validation):
18050 * emacs-lisp/package.el (package-refresh-contents)
18051 (package-menu-execute):
18052 * desktop.el (desktop-create-buffer):
18053 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
18054
18055 2012-02-10 Glenn Morris <rgm@gnu.org>
18056
18057 * textmodes/bibtex.el:
18058 Add missing :version tags for new/changed defcustoms.
18059
18060 * files.el (remote-file-name-inhibit-cache): Doc fixes.
18061
18062 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
18063
18064 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
18065 (smtpmail-via-smtp): Use it, or fall back on the From address.
18066 (smtpmail-send-it): Ditto.
18067
18068 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
18069
18070 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
18071 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
18072 (byte-compile-tmp-var): New const.
18073 (byte-compile-defvar): Use it to minimize .elc size.
18074 Just use `defvar' rather than simulate it (bug#10761).
18075
18076 2012-02-09 Glenn Morris <rgm@gnu.org>
18077
18078 * files.el (rename-uniquely): Doc fix. (Bug#3806)
18079
18080 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
18081 Add :version tags.
18082
18083 * progmodes/compile.el (compilation-error-screen-columns)
18084 (compilation-first-column, compilation-filter-start): Doc fixes.
18085
18086 * vc/log-view.el (log-view-toggle-entry-display):
18087 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
18088
18089 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
18090 (report-emacs-bug-can-use-xdg-email):
18091 (report-emacs-bug-insert-to-mailer): Doc fixes.
18092 (report-emacs-bug): Message fix.
18093
18094 * net/browse-url.el (browse-url-can-use-xdg-open)
18095 (browse-url-xdg-open): Doc fixes.
18096
18097 * electric.el (electric-indent-mode, electric-pair-mode)
18098 (electric-layout-rules, electric-layout-mode): Doc fixes.
18099 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
18100
18101 2012-02-08 Martin Rudalics <rudalics@gmx.at>
18102
18103 * server.el (server-unselect-display): Don't inadvertently kill
18104 the current buffer. (Bug#10729)
18105
18106 2012-02-08 Glenn Morris <rgm@gnu.org>
18107
18108 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
18109 (sql-list-table): Doc fixes.
18110
18111 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
18112 Comment out (does nothing).
18113
18114 * completion.el (dynamic-completion-mode):
18115 * dirtrack.el (dirtrack-debug-mode):
18116 * electric.el (electric-layout-mode):
18117 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
18118 * face-remap.el (text-scale-mode, buffer-face-mode):
18119 * iimage.el (iimage-mode):
18120 * image-mode.el (image-transform-mode):
18121 * minibuffer.el (completion-in-region-mode):
18122 * scroll-lock.el (scroll-lock-mode):
18123 * simple.el (next-error-follow-minor-mode):
18124 * tar-mode.el (tar-subfile-mode):
18125 * tooltip.el (tooltip-mode):
18126 * vcursor.el (vcursor-use-vcursor-map):
18127 * wid-browse.el (widget-minor-mode):
18128 * emulation/tpu-edt.el (tpu-edt-mode):
18129 * emulation/tpu-extras.el (tpu-cursor-free-mode):
18130 * international/iso-ascii.el (iso-ascii-mode):
18131 * language/thai-util.el (thai-word-mode):
18132 * mail/supercite.el (sc-minor-mode):
18133 * net/goto-addr.el (goto-address-mode):
18134 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
18135 * progmodes/cwarn.el (cwarn-mode):
18136 * progmodes/flymake.el (flymake-mode):
18137 * progmodes/glasses.el (glasses-mode):
18138 * progmodes/hideshow.el (hs-minor-mode):
18139 * progmodes/pascal.el (pascal-outline-mode):
18140 * textmodes/enriched.el (enriched-mode):
18141 * vc/smerge-mode.el (smerge-mode):
18142 Doc fixes (minor mode argument).
18143
18144 2012-02-07 Eli Zaretskii <eliz@gnu.org>
18145
18146 * ls-lisp.el (ls-lisp-sanitize): New function.
18147 (ls-lisp-insert-directory): Use it to fix or remove any elements
18148 in file-alist with missing attributes. (Bug#4673)
18149
18150 2012-02-07 Alan Mackenzie <acm@muc.de>
18151
18152 Fix spurious recognition of c-in-knr-argdecl.
18153
18154 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
18155 putative K&R region.
18156
18157 2012-02-07 Alan Mackenzie <acm@muc.de>
18158
18159 * progmodes/cc-engine.el (c-forward-objc-directive):
18160 Prevent looping in "#pragma mark @implementation".
18161
18162 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
18163
18164 * notifications.el (notifications-on-closed-signal): Make `reason'
18165 optional. (Bug#10744)
18166
18167 2012-02-07 Glenn Morris <rgm@gnu.org>
18168
18169 * emacs-lisp/easy-mmode.el (define-minor-mode):
18170 Doc fixes for the macro and the mode it defines.
18171
18172 * image.el (imagemagick-types-inhibit): Doc fix.
18173
18174 * cus-start.el (imagemagick-render-type): Add it.
18175
18176 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
18177
18178 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
18179 Set the default at load time, too, so that `font-lock-fontify-buffer'
18180 can be called without setting up the entire mode first. This fixes
18181 a bug in `mm-inline-text' with C MIME parts.
18182
18183 2012-02-06 Chong Yidong <cyd@gnu.org>
18184
18185 * simple.el (list-processes--refresh): Delete exited processes
18186 (Bug#8094).
18187
18188 * comint.el (comint-next-prompt): next-single-char-property-change
18189 and prev-single-char-property-change never return nil (Bug#8657).
18190
18191 * custom.el (defcustom): Doc fix (Bug#9711).
18192
18193 2012-02-05 Chong Yidong <cyd@gnu.org>
18194
18195 * cus-edit.el (custom-variable-reset-backup): Quote the value
18196 before storing it in the customized-value property (Bug#6712).
18197 (custom-display): Add a customization type tag.
18198 (custom-buffer-create-internal): Improve tooltip message.
18199
18200 * wid-edit.el (widget-field-value-get): New optional arg to
18201 suppress trailing whitespace truncation.
18202 (character): Use it (Bug#2689).
18203
18204 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
18205
18206 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
18207 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
18208
18209 2012-02-05 Chong Yidong <cyd@gnu.org>
18210
18211 * cus-edit.el (custom-variable-value-create): For mismatched
18212 types, show the current value (Bug#7600).
18213
18214 * custom.el (defcustom): Doc fix.
18215
18216 2012-02-05 Glenn Morris <rgm@gnu.org>
18217
18218 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
18219
18220 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
18221
18222 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
18223 (pp-buffer): Use `ignore-errors', `looking-at-p'.
18224 (pp-last-sexp): Use `looking-at-p'.
18225
18226 2012-02-04 Glenn Morris <rgm@gnu.org>
18227
18228 * files.el (revert-buffer):
18229 Doc fix (mention revert-buffer-in-progress-p).
18230
18231 * emacs-lisp/ert-x.el (ert-simulate-command):
18232 Check deferred-action-list (which is obsolete) is bound.
18233
18234 * subr.el (with-wrapper-hook): Doc fixes.
18235
18236 * simple.el (filter-buffer-substring-functions)
18237 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
18238
18239 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
18240
18241 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
18242 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
18243
18244 2012-02-04 Leo Liu <sdl.web@gmail.com>
18245
18246 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
18247
18248 2012-02-04 Glenn Morris <rgm@gnu.org>
18249
18250 * image.el (image-extension-data): Add obsolete alias.
18251
18252 * isearch.el (isearch-update): Doc fix.
18253
18254 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
18255
18256 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
18257
18258 2012-02-03 Glenn Morris <rgm@gnu.org>
18259
18260 * image.el (image-animated-p): Doc fix. Use image-animated-types.
18261 (image-animate-timeout): Doc fix.
18262
18263 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
18264
18265 2012-02-02 Glenn Morris <rgm@gnu.org>
18266
18267 * server.el (server-auth-dir): Doc fix.
18268 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
18269
18270 * subr.el (run-mode-hooks): Doc fix.
18271
18272 2012-02-02 Juri Linkov <juri@jurta.org>
18273
18274 * image-mode.el (image-toggle-display-image): Remove tautological
18275 `major-mode' from the `derived-mode-p' test.
18276
18277 2012-02-02 Kenichi Handa <handa@m17n.org>
18278
18279 * composite.el (compose-region): Cancel previous change.
18280
18281 2012-02-02 Kenichi Handa <handa@m17n.org>
18282
18283 * composite.el (compose-region, compose-string): Signal error for
18284 a null string component (Bug#6988).
18285
18286 2012-02-01 Chong Yidong <cyd@gnu.org>
18287
18288 * view.el (view-buffer-other-window, view-buffer-other-frame):
18289 Handle special modes like view-buffer (Bug#10650).
18290 (view-buffer): Simplify.
18291
18292 * frame.el (set-frame-font): Tweak meaning of third argument.
18293
18294 * dynamic-setting.el (font-setting-change-default-font):
18295 Use set-frame-font (Bug#9982).
18296
18297 2012-02-01 Glenn Morris <rgm@gnu.org>
18298
18299 * progmodes/compile.el (compilation-internal-error-properties):
18300 Respect compilation-first-column in the "*compilation*" buffer.
18301
18302 * emacs-lisp/easy-mmode.el (define-minor-mode):
18303 Relax :variable's test for a named function.
18304
18305 2012-01-31 Alan Mackenzie <acm@muc.de>
18306
18307 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
18308 off by one error.
18309
18310 2012-01-31 Chong Yidong <cyd@gnu.org>
18311
18312 * frame.el (set-frame-font): New arg ALL-FRAMES.
18313
18314 * menu-bar.el (menu-set-font): Use set-frame-font.
18315
18316 * faces.el (face-spec-reset-face): Don't apply unspecified
18317 attribute values to the default face.
18318
18319 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
18320
18321 * progmodes/cwarn.el (cwarn): Remove dead link.
18322 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
18323 Remove * from defcustom docstrings.
18324 (turn-on-cwarn-mode): Make obsolete.
18325 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
18326 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
18327
18328 2012-01-31 Glenn Morris <rgm@gnu.org>
18329
18330 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
18331 Fix :variable handling of mode a symbol not equal to modefun.
18332 Allow named functions to be used as the cdr of :variable.
18333
18334 2012-01-30 Glenn Morris <rgm@gnu.org>
18335
18336 * emacs-lisp/authors.el (authors-fixed-entries):
18337 Remove reference to deleted file rnewspost.el.
18338
18339 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
18340
18341 * window.el (window-with-parameter): Remove unused variable `windows'.
18342 (window--side-check): Remove unused variable `code'.
18343 (window--resize-siblings): Remove unused variable `first'.
18344 (adjust-window-trailing-edge): Remove unused variable `failed'.
18345 (window-deletable-p, window--delete): Remove unused variable `buffer'.
18346 Use `let', not `let*'.
18347 (balance-windows-2): Remove unused variable `found'.
18348 (window--state-put-2): Remove unused variable `splits'.
18349 (window-state-put): Remove unused variable `selected'.
18350 (same-window-p): Use `string-match-p'.
18351 (display-buffer-assq-regexp): Remove unused variable `value'.
18352 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18353 Mark argument ALIST as ignored.
18354 (pop-to-buffer): Remove unused variable `old-window'.
18355
18356 2012-01-29 Eli Zaretskii <eliz@gnu.org>
18357
18358 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
18359 and .lzma compressed files.
18360
18361 2012-01-29 Chong Yidong <cyd@gnu.org>
18362
18363 * frame.el (window-system-default-frame-alist): Doc fix.
18364
18365 * dynamic-setting.el (font-setting-change-default-font): Don't
18366 change the default face if SET-FONT argument is non-nil (Bug#9982).
18367
18368 2012-01-29 Samuel Bronson <naesten@gmail.com>
18369
18370 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
18371
18372 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
18373
18374 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
18375 breakpoints in files outside current directory (Bug#6098).
18376
18377 2012-01-29 Chong Yidong <cyd@gnu.org>
18378
18379 * progmodes/python.el: Require ansi-color at top-level.
18380
18381 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
18382 Define and use in Emacs Lisp mode (Bug#9360).
18383 (lisp-mode-abbrev-table): Add doc.
18384 (lisp-mode-variables): Don't set local-abbrev-table.
18385 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
18386
18387 2012-01-28 Roland Winkler <winkler@gnu.org>
18388
18389 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
18390
18391 2012-01-28 Roland Winkler <winkler@gnu.org>
18392
18393 * textmodes/bibtex.el (bibtex-entry-alist): New function.
18394 (bibtex-set-dialect): Use it. Either set global values of
18395 dialect-dependent variables or bind these variables buffer-locally
18396 (Bug#10254).
18397 (bibtex-mode): Call bibtex-set-dialect via
18398 hack-local-variables-hook.
18399 (bibtex-dialect): Update docstring.
18400 Add safe-local-variable predicate.
18401 (bibtex-entry-alist, bibtex-field-alist): Initialize via
18402 bibtex-set-dialect.
18403 (bibtex-mode-map): Define menu for each dialect.
18404 (bibtex-entry): Fix docstring.
18405
18406 2012-01-28 Chong Yidong <cyd@gnu.org>
18407
18408 * eshell/esh-arg.el (eshell-quote-argument): New function.
18409
18410 * eshell/esh-ext.el (eshell-invoke-batch-file):
18411 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
18412 first arg to eshell-parse-command (Bug#10523).
18413
18414 2012-01-28 Drew Adams <drew.adams@oracle.com>
18415
18416 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
18417 `default-directory' is non-nil.
18418
18419 2012-01-28 Eli Zaretskii <eliz@gnu.org>
18420
18421 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
18422 line that displays system-configuration-options. (Bug#9924)
18423
18424 2012-01-28 Drew Adams <drew.adams@oracle.com>
18425
18426 * descr-text.el (describe-char): Show information about POS, in
18427 addition to information about the character at POS. Improve and
18428 update the doc string. Change "code point" to "code point in
18429 charset", to avoid confusion with the character's Unicode code
18430 point shown above that. (Bug#10129)
18431
18432 2012-01-28 Eli Zaretskii <eliz@gnu.org>
18433
18434 * descr-text.el (describe-char): Show the raw character, not only
18435 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
18436 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
18437 for the reasons.
18438
18439 2012-01-28 Phil Hagelberg <phil@hagelb.org>
18440
18441 * emacs-lisp/package.el (package-install):
18442 Run package-refresh-contents if there is no archive yet (Bug#9798).
18443
18444 2012-01-28 Chong Yidong <cyd@gnu.org>
18445
18446 * emacs-lisp/package.el (package-maybe-load-descriptor):
18447 New function, split from package-maybe-load-descriptor.
18448 (package-maybe-load-descriptor): Use it.
18449 (package-download-transaction): Fully load required packages
18450 inside the loop, so that `require' calls work (Bug#10593).
18451 (package-install): No need to call package-initialize now.
18452
18453 2012-01-28 Chong Yidong <cyd@gnu.org>
18454
18455 * simple.el (deactivate-mark): Doc fix (Bug#8614).
18456
18457 * tooltip.el (tooltip-mode): Doc fix.
18458 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
18459
18460 * frame.el (set-cursor-color): Doc fix (Bug#352).
18461
18462 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
18463 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
18464
18465 * cus-edit.el (custom-buffer-create-internal): Fix search button
18466 action (Bug#10542).
18467 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
18468
18469 2012-01-27 Eduard Wiebe <usenet@pusto.de>
18470
18471 * dired.el (dired-mark-files-regexp):
18472 Include any subdirectory components. (Bug#10445)
18473
18474 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
18475
18476 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
18477 Handle [host]:port syntax. (Bug#10533)
18478
18479 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
18480
18481 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
18482
18483 2012-01-26 Glenn Morris <rgm@gnu.org>
18484
18485 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
18486 * term.el (term-raw-escape-map): Use Control-X-prefix.
18487 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
18488
18489 2012-01-25 Martin Rudalics <rudalics@gmx.at>
18490
18491 * window.el (window-state-get, window--state-get-1): Don't deal
18492 with fixed-sizeness of windows. Simplify code.
18493
18494 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
18495
18496 * window.el (window--state-get-1, window--state-put-2):
18497 Don't save and restore the mark.
18498
18499 2012-01-25 Chong Yidong <cyd@gnu.org>
18500
18501 * custom.el (custom-variable-p): Doc fix.
18502
18503 2012-01-25 Glenn Morris <rgm@gnu.org>
18504
18505 * dired.el (dired-goto-file): Handle some of the more common
18506 characters that `ls -b' escapes. (Bug#10596)
18507
18508 * progmodes/compile.el (compilation-next-error-function):
18509 Respect compilation-first-column in the "*compilation*" buffer.
18510 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
18511
18512 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
18513
18514 2012-01-24 Glenn Morris <rgm@gnu.org>
18515
18516 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
18517
18518 2012-01-24 Julien Danjou <julien@danjou.info>
18519
18520 * color.el (color-rgb-to-hsl): Fix value computing.
18521 (color-hue-to-rgb): New function.
18522 (color-hsl-to-rgb): New function.
18523 (color-clamp, color-saturate-hsl, color-saturate-name)
18524 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
18525 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
18526
18527 2012-01-24 Glenn Morris <rgm@gnu.org>
18528
18529 * vc/vc-rcs.el (vc-rcs-create-tag):
18530 * vc/vc-sccs.el (vc-sccs-create-tag):
18531 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
18532
18533 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
18534
18535 * eshell/esh-util.el (eshell-read-hosts-file):
18536 Skip comment lines. (Bug#10549)
18537
18538 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
18539
18540 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
18541
18542 * subr.el (display-delayed-warnings): Doc fix.
18543 (collapse-delayed-warnings): New function to collapse identical
18544 adjacent warnings.
18545 (delayed-warnings-hook): Add it.
18546
18547 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
18548
18549 * net/tramp.el (tramp-action-login): Set connection property "login-as".
18550
18551 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
18552 (tramp-default-user-alist): Don't add "pscp".
18553 (tramp-do-copy-or-rename-file-out-of-band): Use connection
18554 property "login-as", if set. (Bug#10530)
18555
18556 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
18557
18558 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
18559 "plink1" and "psftp". (Bug#10530)
18560
18561 2012-01-21 Kenichi Handa <handa@m17n.org>
18562
18563 * international/mule-cmds.el (prefer-coding-system): Show a
18564 warning message if the default value of file-name-coding-system
18565 was not changed.
18566
18567 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18568
18569 * windmove.el (windmove-reference-loc):
18570 Fix windmove-reference-loc miscalculation.
18571
18572 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
18573
18574 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
18575 default unit.
18576
18577 2012-01-21 Glenn Morris <rgm@gnu.org>
18578
18579 * international/mule.el (auto-coding-alist): Add .tbz.
18580
18581 * files.el (local-enable-local-variables): Doc fix.
18582 (inhibit-local-variables-regexps): Rename from
18583 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
18584 Doc fix. Add some extensions from auto-coding-alist.
18585 (inhibit-local-variables-suffixes):
18586 Rename from inhibit-first-line-modes-suffixes. Doc fix.
18587 (inhibit-local-variables-p):
18588 New function, extracted from set-auto-mode-1.
18589 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
18590 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
18591 (hack-local-variables): Doc fix. Make the mode-only case
18592 respect enable-local-variables and friends.
18593 Respect inhibit-local-variables-regexps for file-locals, but
18594 not for directory-locals.
18595 (set-visited-file-name):
18596 Take account of inhibit-local-variables-regexps.
18597 Whether it applies may change as the file name is changed.
18598 * jka-cmpr-hook.el (jka-compr-install):
18599 * jka-compr.el (jka-compr-uninstall):
18600 Update for inhibit-first-line-modes-suffixes name change.
18601
18602 2012-01-20 Martin Rudalics <rudalics@gmx.at>
18603
18604 * help-macro.el (make-help-screen): Temporarily restore original
18605 binding for minor-mode-map-alist (Bug#10454).
18606
18607 2012-01-19 Julien Danjou <julien@danjou.info>
18608
18609 * color.el (color-name-to-rgb): Use the white color to find the max
18610 color component value and return correctly computed values.
18611 (color-name-to-rgb): Add missing float conversion for max value.
18612
18613 2012-01-19 Martin Rudalics <rudalics@gmx.at>
18614
18615 * window.el (window--state-get-1, window-state-get): Do not use
18616 special state value for window-persistent-parameters.
18617 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
18618 (window--state-put-2): Reset all window parameters to nil before
18619 assigning values of persistent parameters.
18620
18621 2012-01-18 Alan Mackenzie <acm@muc.de>
18622
18623 Eliminate sluggishness and hangs in fontification of "semicolon
18624 deserts".
18625
18626 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
18627 Change value 10000 -> 3000.
18628 (c-state-safe-place): Reformulate so it doesn't stack up an
18629 infinite number of wrong entries in c-state-nonlit-pos-cache.
18630 (c-determine-limit-get-base, c-determine-limit): New functions to
18631 determine backward search limits disregarding literals.
18632 (c-find-decl-spots): Amend commenting.
18633 (c-cheap-inside-bracelist-p): New function which detects "={".
18634
18635 * progmodes/cc-fonts.el
18636 (c-make-font-lock-BO-decl-search-function): Give a limit to a
18637 backward search.
18638 (c-font-lock-declarations): Fix an occurrence of point being
18639 undefined. Check additionally for point being in a bracelist or
18640 near a macro invocation without a semicolon so as to avoid a
18641 fruitless time consuming search for a declarator. Give a more
18642 precise search limit for declarators using the new
18643 c-determine-limit.
18644
18645 2012-01-18 Glenn Morris <rgm@gnu.org>
18646
18647 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
18648 (set-auto-mode): Doc fixes.
18649
18650 2012-01-17 Glenn Morris <rgm@gnu.org>
18651
18652 * isearch.el (search-nonincremental-instead): Fix doc typo.
18653
18654 * dired.el (dired-insert-directory): Handle newlines in directory name.
18655 (dired-build-subdir-alist): Unescape newlines in directory name.
18656
18657 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
18658
18659 * net/tramp.el (tramp-local-end-of-line): New defcustom.
18660 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
18661 (tramp-action-terminal): Use it. (Bug#10530)
18662
18663 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
18664
18665 * minibuffer.el (completion--replace): Strip properties (bug#10062).
18666
18667 2012-01-16 Martin Rudalics <rudalics@gmx.at>
18668
18669 * window.el (window-state-ignored-parameters): Remove variable.
18670 (window--state-get-1): Rename argument MARKERS to IGNORE.
18671 Handle persistent window parameters. Make copy of clone-of
18672 parameter only if requested. (Bug#10348)
18673 (window--state-put-2): Install a window parameter only if it has
18674 a non-nil value or an existing parameter shall be overwritten.
18675
18676 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
18677
18678 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
18679
18680 2012-01-14 Eli Zaretskii <eliz@gnu.org>
18681
18682 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
18683 don't pass the (nil) value of `upnode' to string-match.
18684
18685 2012-01-14 Chong Yidong <cyd@gnu.org>
18686
18687 * startup.el (command-line): Fix X resource class for cursorColor.
18688 Fix values recognized by the cursorBlink resource.
18689
18690 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
18691
18692 * epg.el (epg--make-temp-file): Avoid permission race condition
18693 when running on old Emacs versions (bug#10403).
18694
18695 2012-01-14 Glenn Morris <rgm@gnu.org>
18696
18697 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
18698
18699 2012-01-13 Alan Mackenzie <acm@muc.de>
18700
18701 Fix filling for when filladapt mode is enabled.
18702
18703 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
18704 c-mask-paragraph, pass in `fill-paragraph' rather than
18705 `fill-region-as-paragraph'. (This is a reversion of a previous
18706 change.)
18707 * progmodes/cc-mode.el (c-basic-common-init):
18708 Make fill-paragraph-handle-comment buffer local and set it to nil.
18709
18710 2012-01-13 Glenn Morris <rgm@gnu.org>
18711
18712 * dired.el (dired-switches-escape-p): New function.
18713 (dired-insert-directory): Use dired-switches-escape-p.
18714 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
18715
18716 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
18717
18718 2012-01-12 Glenn Morris <rgm@gnu.org>
18719
18720 * mail/sendmail.el (mail-mode): Update paragraph-separate for
18721 changes in adaptive-fill-regexp. (Bug#10276)
18722
18723 2012-01-11 Alan Mackenzie <acm@muc.de>
18724
18725 Fix Emacs bug #10463 - put `widen's around the critical spots.
18726
18727 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
18728 widen around each invocation of c-state-pp-to-literal. Remove an
18729 unused let variable.
18730
18731 2012-01-11 Glenn Morris <rgm@gnu.org>
18732
18733 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
18734 Doc fix.
18735
18736 2012-01-10 Chong Yidong <cyd@gnu.org>
18737
18738 * net/network-stream.el (network-stream-open-starttls):
18739 Avoid emitting a confusing error message when the server gives a bad
18740 response to the capability command.
18741
18742 2012-01-10 Glenn Morris <rgm@gnu.org>
18743
18744 * mail/unrmail.el (unrmail): Tweak previous change.
18745
18746 2012-01-09 Chong Yidong <cyd@gnu.org>
18747
18748 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
18749
18750 2012-01-08 Alan Mackenzie <acm@muc.de>
18751
18752 Optimize font locking in long enum definitions.
18753
18754 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
18755 arm to a cond form to handle enums.
18756 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
18757 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
18758
18759 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
18760
18761 * files.el (move-file-to-trash): Preserve default file modes on error.
18762 (Bug#10401)
18763
18764 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18765
18766 * faces.el (set-face-attribute): Clarify the meaning of the nil
18767 frame (bug#10294).
18768
18769 * subr.el (with-selected-frame): Mention that the selected frame
18770 is restored (bug#9980).
18771
18772 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
18773 (bug#9759).
18774
18775 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
18776 (password-read): Don't autoload unused function.
18777
18778 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
18779
18780 * progmodes/which-func.el (which-func-mode): Turn into a
18781 non-interactive function and mark as obsolete (bug#10428).
18782
18783 2012-01-06 Chong Yidong <cyd@gnu.org>
18784
18785 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
18786 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
18787 functions, along with 1 and -1.
18788
18789 2012-01-06 Eli Zaretskii <eliz@gnu.org>
18790
18791 * time.el (display-time-load-average)
18792 (display-time-default-load-average): Doc fixes. See the thread
18793 starting at
18794 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
18795 for the details.
18796
18797 2012-01-06 Glenn Morris <rgm@gnu.org>
18798
18799 * mail/unrmail.el (unrmail): Give an explicit error if the input file
18800 has no messages. (Bug#10377)
18801
18802 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
18803 than Info-edit. (Bug#10385)
18804
18805 * time.el (display-time-load-average, display-time-next-load-average):
18806 Doc fixes.
18807
18808 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
18809 local setting of buffer-read-only to the input buffer. (Bug#10419)
18810
18811 * calendar/calendar.el (calendar-mode):
18812 Locally set scroll-margin to 0. (Bug#10379)
18813
18814 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
18815
18816 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
18817
18818 2012-01-05 Glenn Morris <rgm@gnu.org>
18819
18820 * eshell/em-unix.el (diff-no-select): Autoload it.
18821 (eshell/diff): Use diff-no-select. (Bug#10420)
18822
18823 2012-01-05 Chong Yidong <cyd@gnu.org>
18824
18825 * shell.el (shell-dynamic-complete-functions): Revert last change.
18826 (shell-command-completion-function): New function.
18827 (shell-completion-vars): Use it to implement
18828 shell-completion-execonly (Bug#10417).
18829
18830 * custom.el (enable-theme): Don't set custom-safe-themes.
18831
18832 * cus-theme.el (custom-theme-merge-theme):
18833 Ignore custom-enabled-themes and custom-safe-themes.
18834
18835 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
18836
18837 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
18838 first prompt in `sql-interacive-mode'.
18839 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
18840 keywords.
18841 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
18842 (sql-product-interactive): Bug fix: Set `sql-buffer' in
18843 context of original buffer. Invoke `sql-login-hook'.
18844
18845 2012-01-04 Eli Zaretskii <eliz@gnu.org>
18846
18847 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
18848 letters in cite-prefix.
18849
18850 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18851
18852 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
18853
18854 2012-01-03 Chong Yidong <cyd@gnu.org>
18855
18856 * shell.el (shell-dynamic-complete-functions):
18857 Put pcomplete-completions-at-point, so as to try
18858 comint-filename-completion first (Bug#10417).
18859
18860 2012-01-02 Richard Stallman <rms@gnu.org>
18861
18862 * battery.el (battery-status-function):
18863 Detect when to use battery-yeeloong-sysfs.
18864 (battery-echo-area-format): Add string for Yeeloong.
18865 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
18866 (battery-yeeloong-sysfs): New function.
18867
18868 2012-01-02 Chong Yidong <cyd@gnu.org>
18869
18870 * dirtrack.el (dirtrack-list): Eliminate unused third element.
18871 (dirtrack): Merge code for handling relative filenames in prompt
18872 from shell-dir-cookie-watcher.
18873 (dirtrack-debug-message): New arg to avoid excess format calls.
18874
18875 * shell.el (shell-dir-cookie-re): Variable deleted.
18876 (shell-dir-cookie-watcher): Function deleted.
18877 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
18878 with dirtrack-mode.
18879
18880 2012-01-01 Eli Zaretskii <eliz@gnu.org>
18881
18882 * term/w32-win.el (dynamic-library-alist) <gnutls>:
18883 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
18884 libgnutls-26.dll.
18885
18886 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
18887
18888 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
18889
18890 2011-12-31 Eli Zaretskii <eliz@gnu.org>
18891
18892 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
18893 headers of non-MIME messages, when rmail-enable-mime is non-nil.
18894
18895 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
18896
18897 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
18898 also for alternative shells.
18899 (tramp-open-connection-setup-interactive-shell): Check, whether
18900 the shell is a busybox.
18901 (tramp-send-command): Don't suppress multiple prompts for
18902 busyboxes, it hurts.
18903
18904 2011-12-28 Chong Yidong <cyd@gnu.org>
18905
18906 * progmodes/gdb-mi.el (gdb-get-source-file-list)
18907 (gdb-get-source-file): Move mode line update to
18908 gdb-get-source-file (Bug#10087).
18909
18910 2011-12-25 Chong Yidong <cyd@gnu.org>
18911
18912 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
18913 gud-gdb-marker-filter without taking it as an argument.
18914 (gud-gdb-run-command-fetch-lines): Caller changed.
18915 (gud-gdb-completion-function): New variable.
18916 (gud-gdb-completion-at-point): Use it.
18917 (gud-gdb-completions-1): Split from gud-gdb-completions.
18918
18919 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
18920 function as separate arguments.
18921 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
18922 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
18923 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
18924 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
18925 (gdb-stopped, def-gdb-auto-update-trigger)
18926 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
18927 (gdb-get-changed-registers, gdb-get-main-selected-frame):
18928 Callers changed.
18929 (gud-gdbmi-completions): New function.
18930 (gdb): Use it for generating the completion table.
18931
18932 2011-12-24 Alan Mackenzie <acm@muc.de>
18933
18934 Introduce a mechanism to widen the region used in context font
18935 locking. Use this to protect declarations from losing their contexts.
18936
18937 * progmodes/cc-langs.el (c-before-font-lock-functions):
18938 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
18939 (c-before-context-fontification-functions): New defvar, a list of
18940 functions to be run just before context (etc.) font locking.
18941
18942 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
18943 New, functionality extracted from
18944 c-neutralize-syntax-in-and-mark-CPP.
18945 (c-in-after-change-fontification): New variable.
18946 (c-after-change): Set c-in-after-change-fontification.
18947 (c-set-fl-decl-start): Rejig its interface, so it can be called
18948 from both after-change and context fontifying.
18949 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
18950 New functions.
18951 (c-standard-font-lock-fontify-region-function): New variable.
18952 (c-font-lock-fontify-region): New function.
18953
18954 2011-12-24 Juri Linkov <juri@jurta.org>
18955
18956 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
18957 (Bug#10348)
18958
18959 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
18960
18961 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
18962 existence of source file. (Bug#10325)
18963
18964 2011-12-23 Alan Mackenzie <acm@muc.de>
18965
18966 Fix unstable fontification inside templates.
18967
18968 * progmodes/cc-langs.el (c-before-font-lock-functions):
18969 Newly created from the singular version. The (c c++ objc) entry now
18970 additionally has c-set-fl-decl-start. The other languages (apart
18971 from AWK) have that as a single entry.
18972
18973 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18974 The functionality for "local" declarations has been extracted to
18975 c-set-fl-decl-start.
18976
18977 * progmodes/cc-mode.el (c-common-init, c-after-change):
18978 Changes due to pluralisation of c-before-font-lock-functions.
18979 (c-set-fl-decl-start): New function, extracted from
18980 c-font-lock-enclosing-decls and enhanced.
18981
18982 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
18983
18984 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
18985
18986 2011-12-22 Juri Linkov <juri@jurta.org>
18987
18988 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
18989
18990 2011-12-22 Chong Yidong <cyd@gnu.org>
18991
18992 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
18993
18994 2011-12-21 Drew Adams <drew.adams@oracle.com>
18995
18996 * files.el (file-remote-p): Fix docstring. (Bug#10319)
18997
18998 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18999
19000 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
19001
19002 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
19003
19004 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
19005 highlighting and support. Fix up comments for capitalization.
19006 (cfengine-mode-debug): New var.
19007 (cfengine3-mode): Change the modeline indicator to "CFE3".
19008 (cfengine3-font-lock-keywords): Improve defun highlighting.
19009 (cfengine2-actions): Rename from `cfengine-actions'.
19010 (cfengine2-font-lock-keywords): Rename from
19011 `cfengine-font-lock-keywords'.
19012 (cfengine2-imenu-expression): Rename from
19013 `cfengine-imenu-expression'.
19014 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
19015 (cfengine2-beginning-of-defun): Rename from
19016 `cfengine-beginning-of-defun'.
19017 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
19018 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
19019 (cfengine2-mode): Rename from `cfengine-mode'. Change the
19020 modeline indicator to "CFE2".
19021 (cfengine-mode): Defalias to `cfengine-auto-mode'.
19022 (cfengine-mode-abbrevs): Mark obsolete.
19023
19024 2011-12-21 Chong Yidong <cyd@gnu.org>
19025
19026 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
19027 filename argument.
19028
19029 2011-12-20 Martin Rudalics <rudalics@gmx.at>
19030
19031 * window.el (window-normalize-buffer-to-display): Remove.
19032 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
19033
19034 2011-12-19 Chong Yidong <cyd@gnu.org>
19035
19036 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
19037 Don't signal an error in a predicate function; return non-nil.
19038 (vc-dir-mark-file): Move the error here.
19039 (vc-dir-mark-unmark): If acting on the region, keep going if one
19040 of the entries cannot be marked/unmarked.
19041 (vc-dir-mark-all-files): If current entry is a directory, mark
19042 only child files, as documented.
19043
19044 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
19045
19046 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
19047 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
19048 addition.
19049
19050 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
19051
19052 * term/ns-win.el (ns-get-selection-internal)
19053 (ns-store-selection-internal): Declare.
19054 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
19055 Declare as obsolete.
19056 (ns-get-pasteboard, ns-paste-secondary):
19057 Use ns-get-selection-internal.
19058 (ns-set-pasteboard, ns-copy-including-secondary):
19059 Use ns-store-selection-internal.
19060
19061 2011-12-17 Chong Yidong <cyd@gnu.org>
19062
19063 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
19064 (vc-deduce-fileset): Doc fix.
19065
19066 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
19067
19068 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
19069
19070 2011-12-13 Sam Steingold <sds@gnu.org>
19071
19072 * man.el (Man-getpage-in-background): When running under a
19073 window-system, ignore $MANWIDTH and $COLUMNS.
19074
19075 2011-12-15 Kenichi Handa <handa@m17n.org>
19076
19077 * language/ethio-util.el: Change coding tag to utf-8-emacs.
19078 (setup-ethiopic-environment-internal): Comment out key-binding for
19079 ethio-toggle-punctuation.
19080
19081 2011-12-13 Alan Mackenzie <acm@muc.de>
19082
19083 Add the switch statement to AWK Mode.
19084
19085 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
19086 "default" to the keywords regexp.
19087
19088 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
19089 expression as the rest.
19090 (c-nonlabel-token-key): Allow string literals for AWK.
19091 Refactor for the other modes.
19092
19093 Large brace-block initialisation makes CC Mode slow: Fix.
19094 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
19095 routines. Limit backward searching in c-font-lock-enclosing.decl.
19096
19097 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
19098 pp-state and literal type in addition to the limits.
19099 (c-state-safe-place): New defun, extracted from c-state-literal-at.
19100 (c-state-literal-at): Use the above new defun.
19101 (c-slow-in-literal, c-fast-in-literal): Remove.
19102 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
19103
19104 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
19105 being in a literal. Add a limit for backward searching.
19106
19107 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
19108 c-slow-in-literal.
19109
19110 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
19111
19112 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
19113
19114 2011-12-13 Martin Rudalics <rudalics@gmx.at>
19115
19116 * window.el (delete-other-windows): Use correct frame in call to
19117 window-with-parameter.
19118
19119 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
19120
19121 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
19122 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
19123 (makefile-gmake-statements, makefile-makepp-statements):
19124 Use it and add new makepp keywords.
19125 (makefile-makepp-font-lock-keywords): Add new patterns.
19126 (makefile-match-function-end): Match new [...] and [[...]].
19127
19128 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
19129
19130 * ses.el (ses-call-printer-return, ses-cell-property-get)
19131 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
19132 (ses-create-cell-variable, ses-reset-header-string)
19133 (ses-cell-set-formula, ses-repair-cell-reference-all)
19134 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
19135 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
19136 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
19137 (ses-aset-with-undo, ses-load, ses-truncate-cell)
19138 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
19139 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
19140 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
19141 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
19142 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
19143 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
19144 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
19145 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
19146
19147 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
19148
19149 * ses.el: The overall change is to add cell renaming, that is
19150 setting fancy names for cell symbols other than name matching
19151 "\\`[A-Z]+[0-9]+\\'" regexp .
19152 (ses-create-cell-variable): New defun.
19153 (ses-relocate-formula): Relocate formulas only for cells the
19154 symbols of which are not renamed, i.e. symbols whose names do not
19155 match regexp "\\`[A-Z]+[0-9]+\\'".
19156 (ses-relocate-all): Relocate values only for cells the symbols of
19157 which are not renamed.
19158 (ses-load): Create cells variables as the (ses-cell ...) are read,
19159 in order to check row col consistency with cell symbol name only
19160 for cells that are not renamed.
19161 (ses-replace-name-in-formula): New defun.
19162 (ses-rename-cell): New defun.
19163
19164 2011-12-11 Chong Yidong <cyd@gnu.org>
19165
19166 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
19167 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
19168
19169 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
19170
19171 * window.el (other-window): Fix docstring.
19172
19173 2011-12-10 Eli Zaretskii <eliz@gnu.org>
19174
19175 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
19176 `from' or `to' address before taking its substring.
19177 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
19178 encoded name is chopped in the middle of the encoded string, and
19179 thus displayed encoded.
19180
19181 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
19182
19183 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
19184
19185 2011-12-10 Eli Zaretskii <eliz@gnu.org>
19186
19187 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
19188 to use texinfo-update-node and commands that call it if the
19189 Texinfo file uses @node lines without next/prev/up pointers.
19190 Correct outdated description about texinfo-master-menu.
19191 (texinfo-all-menus-update, texinfo-master-menu)
19192 (texinfo-update-node, texinfo-every-node-update)
19193 (texinfo-multiple-files-update): Doc fix. Warn against updating
19194 all the @node lines.
19195 (texinfo-master-menu): Only call texinfo-update-node if the prefix
19196 argument is numeric. Explain better in the doc string what the
19197 function really does.
19198 (texinfo-insert-master-menu-list): Improve the error message
19199 displayed if there's no menu in the Top node.
19200 (Bug#2975) See also this thread:
19201 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
19202
19203 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
19204
19205 * speedbar.el (speedbar-supported-extension-expressions):
19206 Add .adb and .ads, commonly used for Ada source code (bug#10256).
19207
19208 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
19209
19210 * printing.el (pr-mode-alist):
19211 * simple.el (filter-buffer-substring-functions)
19212 (completion-list-insert-choice-function):
19213 * window.el (window-with-parameter, window-atom-root)
19214 (window-sides-slots, window-size-fixed, window-min-delta)
19215 (window-max-delta, window--resize-mini-window)
19216 (window--resize-child-windows-normal, window-tree)
19217 (delete-other-windows, quit-window, split-window)
19218 (display-buffer-record-window, special-display-buffer-names)
19219 (special-display-regexps, special-display-popup-frame)
19220 (same-window-p, split-window-sensibly)
19221 (display-buffer-overriding-action, display-buffer-alist)
19222 (display-buffer-base-action, display-buffer, switch-to-buffer)
19223 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
19224 (fit-window-to-buffer, recenter-positions)
19225 (mouse-autoselect-window-state, mouse-autoselect-window-select):
19226 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
19227 and remove unneeded backslashes in docstrings.
19228
19229 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
19230
19231 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
19232
19233 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
19234 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
19235 end in ".mk".
19236 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
19237 when reading the makefile (bug#10116).
19238
19239 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
19240
19241 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
19242 (bug#10116).
19243
19244 2011-12-06 Glenn Morris <rgm@gnu.org>
19245
19246 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
19247
19248 2011-12-06 Chong Yidong <cyd@gnu.org>
19249
19250 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
19251
19252 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
19253
19254 * textmodes/table.el (table-shorten-cell): Fix typo.
19255
19256 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
19257
19258 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
19259
19260 2011-12-05 Eli Zaretskii <eliz@gnu.org>
19261
19262 * descr-text.el (describe-char): Fix display of strong
19263 right-to-left characters and directional embeddings and overrides.
19264
19265 * simple.el (what-cursor-position): Fix display of codepoints of
19266 strong right-to-left characters.
19267
19268 2011-12-05 Chong Yidong <cyd@gnu.org>
19269
19270 * faces.el (read-color): Doc fix.
19271
19272 2011-12-05 Glenn Morris <rgm@gnu.org>
19273
19274 * align.el (align--set-marker): Add doc-string.
19275 Don't try to move something that is not a marker. (Bug#10216)
19276
19277 2011-12-04 Glenn Morris <rgm@gnu.org>
19278
19279 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
19280 overly zealous deletion of trailing whitespace.
19281
19282 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
19283
19284 * server.el (server-delete-client): On Windows, do not try to delete
19285 the only terminal.
19286 (server-process-filter): On Windows, treat requests for a tty frame as
19287 if they were for a GUI frame if the running server is in GUI mode.
19288
19289 2011-12-03 Glenn Morris <rgm@gnu.org>
19290
19291 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
19292
19293 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
19294
19295 * electric.el: Streamline electric-indent's hook.
19296 (electric-indent-chars): Revert to simple list.
19297 (electric-indent-functions): New var.
19298 (electric-indent-post-self-insert-function): Use it.
19299
19300 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
19301 there's no inferior buffer (bug#10196).
19302 (prolog-consult-compile): Don't use toggle-read-only.
19303
19304 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
19305
19306 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
19307 interrupt. (Bug#10187)
19308
19309 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
19310
19311 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
19312 (bug#9160).
19313
19314 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
19315 (bug#10191).
19316
19317 2011-12-02 Juri Linkov <juri@jurta.org>
19318
19319 * info.el (Info-search): Display "end of manual" when Isearch
19320 reaches the end of single-file Info manual. (Bug#9918)
19321
19322 2011-12-02 Eli Zaretskii <eliz@gnu.org>
19323
19324 * isearch.el (isearch-message-prefix): Run the input method part
19325 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
19326
19327 2011-12-02 Juri Linkov <juri@jurta.org>
19328
19329 * isearch.el (isearch-occur): Use `word-search-regexp' for
19330 `isearch-word'.
19331 (isearch-search-and-update): Add condition for `isearch-word' and
19332 call `word-search-regexp'. (Bug#10145)
19333
19334 2011-12-01 Glenn Morris <rgm@gnu.org>
19335
19336 * eshell/em-hist.el (eshell-hist-initialize):
19337 Handle eshell-history-size nil and HISTSIZE set or unset.
19338 (eshell-history-file-name, eshell-history-size): Fix custom type.
19339
19340 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
19341
19342 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
19343
19344 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
19345
19346 * progmodes/verilog-mode.el (verilog-pretty-expr):
19347 Rework verilog-pretty-expr to handle new assignment operators in system
19348 verilog, such as += *= and the like.
19349 (verilog-assignment-operator-re): Regular expression to find the
19350 assigment operator in a verilog assignment.
19351 (verilog-assignment-operation-re): Regular expression to find an
19352 assignment statement for pretty-expr.
19353 (verilog-in-attribute-p): Query returns true if point is in an
19354 attribute context; used to skip these for expression line up from
19355 pretty-expr.
19356 (verilog-in-parameter-p): Query returns true if point is in an
19357 parameter definition context; used to skip these for expression
19358 line up from pretty-expr.
19359 (verilog-in-parenthesis-p): Query returns true if point is in a
19360 parenthetical expression, specifically ( ) but not [ ] or { };
19361 used by pretty-expr.
19362 (verilog-just-one-space): If there is no space, don't add one.
19363 (verilog-get-lineup-indent-2): Specifically skip just attribute
19364 contexts for expression lineup, rather than skipping all
19365 parenthetical expressions.
19366 (verilog-calculate-indent): Fix comment, and fix indent.
19367 (verilog-do-indent): Indent declarations in lists (suggested by
19368 Joachim Lechner).
19369 (verilog-mode-abbrev-table): Populate abbrev mode with the various
19370 skeleton items.
19371 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
19372 by Alain Mellan).
19373
19374 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
19375
19376 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
19377 parameters with embedded comments. Reported by Ray Stevens.
19378 (verilog-calc-1, verilog-fork-wait-re, verilog-forward-sexp)
19379 (verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
19380 Reported by Tim Holt.
19381 (verilog-auto): Fix AUTOing a upper module then AUTOing module
19382 instantiated by upper module causing wrong expansion until AUTOed a
19383 second time. Reported by K C Buckenmaier.
19384 (verilog-diff-auto): Fix showing .* as a difference when
19385 `verilog-auto-star-save' off. Reported by Dan Dever.
19386 (verilog-auto-reset, verilog-read-always-signals)
19387 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
19388 temporary signals in reset list if
19389 verilog-auto-reset-blocking-in-non is nil, and match assignment
19390 style to each signal's assignment type, bug381.
19391 Reported by Thomas Esposito.
19392 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
19393 (verilog-uvm-statement-re): Support UVM indentation and
19394 highlighting, with old OVM keywords only.
19395 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
19396 Support AUTOTIEOFF creating non-wire data types.
19397 Suggested by Jonathan Greenlaw.
19398 (verilog-auto-insert-lisp, verilog-delete-to-paren)
19399 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
19400 (verilog-inject-sense, verilog-read-inst-pins)
19401 (verilog-read-sub-decls, verilog-read-sub-decls-line):
19402 Fix mismatching parenthesis inside commented out code when deleting
19403 AUTOINST, bug383. Reported by Jonathan Greenlaw.
19404 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
19405 non-numeric vector width. Reported by Alex Reed.
19406 (verilog-auto-ascii-enum): Add "onehot" option to work around not
19407 detecting signals with parameter widths. Reported by Alex Reed.
19408 (verilog-auto-delete-trailing-whitespace):
19409 With `verilog-auto-delete-trailing-whitespace' remove trailing
19410 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
19411 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
19412 Fix verilog-scan-cache corruption when running user AUTO expansion
19413 hooks that call indentation routines.
19414 (verilog-simplify-range-expression): Fix typo ignoring lower case
19415 identifiers.
19416 (verilog-delete-auto): Fix delete-autos to also remove user created
19417 automatics, as long as they start with AUTO.
19418 (verilog-batch-diff-auto, verilog-diff-auto)
19419 (verilog-diff-function): Add `verilog-diff-auto' and bind to
19420 "C-c?" to report differences in AUTO expansion, ignoring spaces.
19421 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
19422 (verilog-in-paren-quick, verilog-re-search-backward-quick)
19423 (verilog-re-search-forward-quick, verilog-syntax-ppss):
19424 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
19425 is disabled and its cache will get corrupt, causing AUTOS not to
19426 expand. Instead use only -quick functions.
19427 (verilog-scan-region): Fix scanning over escaped quotes.
19428 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
19429 (verilog-re-search-backward-quick)
19430 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
19431 related functions now ignore strings, to fix misparsing of strings
19432 with magic comments embedded in them.
19433 (verilog-read-auto-template):
19434 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
19435 Reported by Brad Dobbie.
19436 (verilog-read-auto-template):
19437 Fix 'verilog-auto-inst-template-numbers' with comments.
19438 Reported by Brad Dobbie.
19439 (verilog-auto-inst, verilog-auto-inst-param)
19440 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
19441 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
19442 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
19443 debugging templates without merge conflicts, bug357.
19444 Reported by Brad Dobbie.
19445 (verilog-read-auto-template):
19446 Fix verilog-auto-inst-template-numbers with multiple templates.
19447 Reported by Brad Dobbie.
19448 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
19449 abbrevs so user won't be asked to save.
19450 (verilog-read-auto-lisp-present): Fix to start at beginning of
19451 buffer in case called outside of verilog-auto.
19452 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
19453 to "X-2". Reported by Matthew Myers.
19454 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
19455 all inputs from module templates. Reported by Leith Johnson.
19456 (verilog-module-inside-filename-p): Fix locating programs as with
19457 modules.
19458 (verilog-auto-inst-port): Fix vl-width expressions when using
19459 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
19460 (verilog-decls-get-regs, verilog-decls-get-signals,
19461 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
19462 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
19463 verilog-read-decls): Combine reg and wire structures into one var
19464 structure to represent SystemVerilog concepts.
19465 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
19466 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
19467 (verilog-auto-wire-type, verilog-insert-definition):
19468 Add verilog-auto-wire-type and AUTOLOGIC to support using
19469 SystemVerilog "logic" keyword instead of "wire"/"reg".
19470 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
19471 to declares outputs that also have assignments (presumably in an
19472 ifdef or generate if so there's not a driver conflict).
19473 Reported by Matthew Myers.
19474 (verilog-auto-declare-nettype, verilog-insert-definition):
19475 Add verilog-auto-declare-nettype to fix declarations using
19476 `default_nettype none. Reported by Julian Gorfajn.
19477 (verilog-read-always-signals-recurse, verilog-read-decls)
19478 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
19479 malformed end statement, bug325. Reported by Joshua Wise and
19480 Andrew Drake.
19481 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
19482 (verilog-inst-comment-re): Fix not deleting Interfaced comment
19483 when expanding .* in interfaces, bug320.
19484 Reported by Pierre-David Pfister.
19485 (verilog-read-module-name): Fix import statements between module
19486 name and open parenthesis, bug317.
19487 Reported by Pierre-David Pfister.
19488 (verilog-simplify-range-expression): Fix simplification of
19489 multiplications inside AUTOWIRE connections, bug303.
19490 (verilog-auto-inst-port): Support parameter expansion in
19491 multidimensional arrays.
19492 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
19493 after "assert property". Reported by Julian Gorfajn.
19494 (verilog-simplify-range-expression): Fix "couldn't merge" errors
19495 with multiplication, bug303.
19496 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
19497 Reported by Jan Frode Lonnum.
19498
19499 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
19500
19501 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
19502 (hfy-shell-file-name, hfy-shell):
19503 * international/fontset.el (x-decompose-font-name): Fix typos.
19504
19505 2011-11-29 Ken Brown <kbrown@cornell.edu>
19506
19507 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
19508 (gdb-version): Remove defvar.
19509 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
19510 (gdb-gud-context-command, gdb-non-stop-handler)
19511 (gdb-current-context-command, gdb-stopped): Use it.
19512 (gdb-init-1): Enable pretty printing here.
19513 (gdb-non-stop-handler): Don't enable pretty-printing here.
19514 Check to see if the target supports non-stop mode; if not, turn off
19515 non-stop mode. Use the following.
19516 (gdb-check-target-async): New defun.
19517 (gud-watch, gdb-stopped): Fix whitespace.
19518 (gdb-get-source-file): Don't try to display the source file if
19519 `gdb-main-file' is nil.
19520
19521 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
19522
19523 * align.el: Try to generate fewer markers (bug#10047).
19524 (align--set-marker): New macro.
19525 (align-region): Use it.
19526
19527 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
19528
19529 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
19530
19531 2011-11-29 Chong Yidong <cyd@gnu.org>
19532
19533 * indent.el (indent-for-tab-command, indent-according-to-mode):
19534 Doc fix.
19535 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
19536
19537 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
19538
19539 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
19540 aware of remote file names. (Bug#10124)
19541
19542 2011-11-29 Chong Yidong <cyd@gnu.org>
19543
19544 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
19545
19546 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
19547
19548 * files.el (find-file): Don't use force-same-window (bug#10144).
19549 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
19550 use pop-to-buffer if the selected window can't be used.
19551 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
19552
19553 2011-11-28 Eli Zaretskii <eliz@gnu.org>
19554
19555 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
19556 special-mode-map.
19557
19558 2011-11-28 Chong Yidong <cyd@gnu.org>
19559
19560 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
19561
19562 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
19563
19564 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
19565 gdb-get-source-file-list on gdb-create-source-file-list.
19566
19567 2011-11-26 Eli Zaretskii <eliz@gnu.org>
19568
19569 * whitespace.el (whitespace-newline): Use a different foreground
19570 color for 16-color light-background displays.
19571
19572 2011-11-24 Chong Yidong <cyd@gnu.org>
19573
19574 * window.el (display-buffer--special-action): Doc fix.
19575
19576 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
19577
19578 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
19579 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
19580 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
19581 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
19582 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
19583 (avl-tree-stack-first):
19584 * emacs-lisp/cconv.el (cconv--analyse-use):
19585 * net/gnutls.el (gnutls-negotiate): Fix typos.
19586
19587 2011-11-24 Glenn Morris <rgm@gnu.org>
19588
19589 * lpr.el (lpr-windows-system, lpr-lp-system):
19590 * mail/binhex.el (binhex-begin-line):
19591 * progmodes/grep.el (grep-history, grep-find-history):
19592 * textmodes/flyspell.el:
19593 * vc/pcvs-defs.el (cvs-global-menu):
19594 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
19595 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
19596 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
19597
19598 * net/tls.el: Fix case of "GnuTLS".
19599
19600 * paths.el (rmail-file-name): Format doc-string for make-docfile.
19601
19602 * version.el (emacs-build-system): Give it a doc-string.
19603
19604 2011-11-24 Juri Linkov <juri@jurta.org>
19605
19606 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
19607
19608 2011-11-24 Glenn Morris <rgm@gnu.org>
19609
19610 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
19611 if called on a non-mime message just toggle the headers. (Bug#8006)
19612
19613 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
19614
19615 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
19616 (allout-lead-with-comment-string, allout-structure-deleted-hook)
19617 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
19618 (allout-rebullet-heading, allout-open-sibtopic)
19619 (allout-toggle-current-subtree-encryption)
19620 (allout-toggle-subtree-encryption, allout-encrypt-string)
19621 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
19622 (allout-distinctive-bullets-string, allout-auto-activation):
19623 * window.el (window-normalize-buffer-to-display):
19624 * progmodes/verilog-mode.el (verilog-batch-indent):
19625 * textmodes/bibtex.el (bibtex-field-braces-opt)
19626 (bibtex-field-strings-opt):
19627 * vc/cvs-status.el (cvs-tree-merge):
19628 Fix typos.
19629
19630 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
19631
19632 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
19633 `non-essential' to t, in order to avoid remote connections.
19634
19635 2011-11-23 Eli Zaretskii <eliz@gnu.org>
19636
19637 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19638 On MS-DOS and MS-Windows, compare with loaddefs.el
19639 case-insensitively.
19640
19641 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19642
19643 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
19644
19645 2011-11-23 Glenn Morris <rgm@gnu.org>
19646
19647 * paths.el (rmail-file-name): Reformat the doc-string so that it
19648 is picked up.
19649
19650 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
19651 (rmail-auto-file): Ignore case in the "special" field names,
19652 as mail-fetch-field does for all others.
19653
19654 * mail/rmail.el (rmail-forward):
19655 * mail/rmailkwd.el (rmail-set-label):
19656 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
19657 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
19658
19659 * mail/rmail.el (rmail-current-message): Doc fix.
19660
19661 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
19662
19663 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
19664
19665 * server.el (server-eval-and-print): Allow C-g (bug#6585).
19666
19667 2011-11-22 Glenn Morris <rgm@gnu.org>
19668
19669 * mail/rmailmm.el (test-rmail-mime-handler)
19670 (test-rmail-mime-bulk-handler)
19671 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
19672
19673 2011-11-21 Juri Linkov <juri@jurta.org>
19674
19675 * calc/calc.el (calc-read-key-sequence):
19676 Let-bind `input-method-function' to nil. (Bug#10018)
19677
19678 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19679
19680 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
19681 Tell the caller that the next line needs recomputation, even
19682 though it doesn't start a sexp (bug#10094).
19683
19684 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
19685
19686 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
19687
19688 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
19689
19690 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19691 Use force-same-window.
19692
19693 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
19694
19695 * descr-text.el (describe-char-unicode-data):
19696 * json.el (json-string-escape):
19697 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
19698 (Footnote-unicode, Footnote-style-p):
19699 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
19700
19701 2011-11-20 Chong Yidong <cyd@gnu.org>
19702
19703 * window.el (replace-buffer-in-windows): Restore interactive spec.
19704
19705 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
19706
19707 * electric.el (electric-indent-mode): Fix last change (too optimistic).
19708
19709 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
19710 (byte-compile-global-not-obsolete-vars): New var.
19711 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
19712 Use it.
19713 (byte-compile-warn-obsolete): Align text with the one in *Help*.
19714
19715 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
19716
19717 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
19718 * progmodes/pascal.el (electric-pascal-equal):
19719 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
19720 * xml.el (xml-substitute-special): Fix typos.
19721
19722 2011-11-20 Glenn Morris <rgm@gnu.org>
19723
19724 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
19725 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
19726 Doc fixes.
19727 (rmail-decode-mime-charset): Mark as obsolete.
19728
19729 * mail/rmailsum.el (rmail-message-regexp-p-1):
19730 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
19731 Before using mime functions, check they are set. (Bug#10077)
19732
19733 2011-11-19 Juri Linkov <juri@jurta.org>
19734
19735 * info.el (Info-finder-find-node): Use `package--builtins' instead
19736 of `package-alist'. Use node names formed by the pattern "Keyword "
19737 and the keyword name.
19738
19739 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
19740
19741 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
19742
19743 2011-11-19 Juri Linkov <juri@jurta.org>
19744
19745 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
19746 that calls `revert-buffer' on all Info buffers. (Bug#9915)
19747 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
19748 `old-history', `old-history-forward'. Add let-binding
19749 `window-selected'. Remove calls to `kill-buffer',
19750 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
19751 before calling `Info-find-node', so `Info-find-node-2' will reread
19752 the Info file. Restore window positions only when `window-selected'
19753 is non-nil.
19754
19755 2011-11-19 Juri Linkov <juri@jurta.org>
19756
19757 * isearch.el (isearch-lazy-highlight-new-loop):
19758 Remove condition `(not isearch-error)'. (Bug#9918)
19759
19760 * misearch.el (multi-isearch-search-fun): Add condition
19761 `(not bound)' to ignore lazy-highlighting search.
19762 Add the search-failed message "end of multi" when the end of
19763 multi-sequence is reached. Uncapitalize the search-failed
19764 message "Repeat for next buffer".
19765
19766 * info.el (Info-search): Add the search-failed message
19767 "end of the manual" when the end of the manual is reached
19768 in Isearch mode.
19769
19770 2011-11-19 Juri Linkov <juri@jurta.org>
19771
19772 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
19773 Use non-destructive `remove' instead of `delete' because
19774 `Info-history-list' stored to `Info-isearch-initial-history-list' in
19775 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
19776
19777 2011-11-19 Juri Linkov <juri@jurta.org>
19778
19779 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
19780 to nil instead of binding `search-ring' and `regexp-search-ring'.
19781 (Bug#9185)
19782
19783 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19784
19785 * simple.el (line-move): Force movement by logical lines for any
19786 hscrolled window, not only when auto-hscroll-mode is on.
19787 (line-move-visual): Update doc string to that effect. (Bug#10076)
19788
19789 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
19790
19791 * language/european.el (macintosh): Define as alias for mac-roman.
19792
19793 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19794
19795 * mail/rmailmm.el (rmail-mime-display-header)
19796 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
19797 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
19798 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
19799 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
19800 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
19801 of a raw aref.
19802 (rmail-mime-entity-segment): To get past the tagline, move forward
19803 2 more lines, to account for the 2 empty lines that precede and
19804 follow the line with the buttons.
19805 (rmail-mime-update-tagline): Move one more line, to get past the
19806 empty line that follows the buttons in the tagline. (Bug#9520)
19807
19808 2011-11-19 Martin Rudalics <rudalics@gmx.at>
19809
19810 * window.el (window-max-delta-1, window-min-delta-1)
19811 (window-min-size-1, window-state-get-1, window-state-put-1)
19812 (window-state-put-2): Use "window--" prefix.
19813
19814 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
19815
19816 * emacs-lisp/smie.el: Improve warnings and conflict detection.
19817 (smie-warning-count): New var.
19818 (smie-set-prec2tab): Use it.
19819 (smie-bnf->prec2): Improve warnings. Add docstring.
19820 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
19821 (smie-bnf--set-class): New function.
19822 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
19823 corner case.
19824
19825 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
19826 (compilation-error-properties, compilation-move-to-column):
19827 Handle compilation-first-column while in the target buffer.
19828
19829 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
19830 Don't hardcode point-min==1.
19831
19832 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
19833 (eshell-rewrite-for-command): Remove workaround.
19834 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
19835 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
19836 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
19837
19838 * files-x.el (modify-file-local-variable): Obey commenting conventions.
19839
19840 2011-11-17 Glenn Morris <rgm@gnu.org>
19841
19842 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19843 Ignore buffer-local generated-autoload-file if it is the same
19844 as the global value. (Bug#10049)
19845
19846 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
19847
19848 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
19849 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
19850 (reftex-toc-previous-heading, reftex-toc-max-level)
19851 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
19852 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
19853 (reftex-toc-do-promote, reftex-toc-promote-prepare)
19854 (reftex-toc-promote-action, reftex-toc-extract-section-number)
19855 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
19856 (reftex-toc-rename-label, reftex-toc-visit-location)
19857 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
19858 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
19859 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
19860 leaving "*toc*" only for references to the buffer.
19861
19862 2011-11-17 Martin Rudalics <rudalics@gmx.at>
19863
19864 * window.el (window-resize, delete-window, split-window):
19865 Replace window-splits by window-combination-resize.
19866 * cus-start.el (window-splits): Replace by window-combination-resize.
19867
19868 2011-11-17 Glenn Morris <rgm@gnu.org>
19869
19870 * progmodes/sh-script.el (sh-font-lock-keywords-var):
19871 Make bash entry derive from sh entry, not shell entry.
19872
19873 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
19874
19875 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
19876 local file name.
19877
19878 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19879
19880 * menu-bar.el (menu-bar-file-menu):
19881 * printing.el (pr-ps-utility):
19882 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
19883 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
19884 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
19885 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
19886 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
19887 (icalendar--convert-cyclic-to-ical)
19888 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
19889 (icalendar--convert-ical-to-diary)
19890 (icalendar--convert-recurring-to-diary)
19891 (icalendar--convert-non-recurring-all-day-to-diary)
19892 (icalendar-import-format-sample):
19893 * progmodes/idlw-shell.el (idlwave-shell-mode):
19894 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
19895 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
19896 (vhdl-ps-print-init): Fix typos.
19897
19898 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
19899
19900 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
19901 FSF and collapse date sequence, obscure author/maintainer email address
19902 better, remove extra version line, track relocation of author's webpage.
19903
19904 * progmodes/python.el (python-pdbtrack-input-prompt)
19905 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
19906 regular python pdb prompts. Adjustments shamelessly taken exactly as
19907 suggested in EmacsWiki page (tiny change):
19908 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
19909
19910 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19911
19912 * expand.el (expand-pos, expand-index, expand-point):
19913 Remove redundant info from docstring.
19914 (expand-add-abbrevs): Doc fix.
19915 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
19916 (expand-sample-perl-mode-expand-list): Fix typos.
19917
19918 * net/dbus.el (dbus-event-member-name):
19919 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
19920 * term/pc-win.el (msdos-create-frame-with-faces):
19921 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
19922
19923 2011-11-16 Martin Rudalics <rudalics@gmx.at>
19924
19925 * window.el (split-window, window-state-get-1)
19926 (window-state-put-1, window-state-put-2): Rename occurrences of
19927 window-nest to window-combination-limit.
19928 * cus-start.el (window-nest): Rename to window-combination-limit.
19929
19930 2011-11-16 Chong Yidong <cyd@gnu.org>
19931
19932 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
19933 regexp (Bug#10033).
19934
19935 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
19936
19937 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
19938 `completing-read' will remove *Completions* and will preserve
19939 current-buffer for us.
19940 (tmm-add-prompt): Users of *Completions* will always (re)set its
19941 major mode.
19942 (tmm-old-comp-map): Remove.
19943
19944 2011-11-16 Glenn Morris <rgm@gnu.org>
19945
19946 * mail/rmailedit.el: Require rmailmm when compiling.
19947 (rmail-old-mime-state): New declaration.
19948 (rmail-edit-current-message): If editing a mime message,
19949 edit the "raw" message from the mbox buffer.
19950 (rmail-cease-edit): Handle mime messages. (Bug#9840)
19951
19952 2011-11-15 Glenn Morris <rgm@gnu.org>
19953
19954 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
19955 which wasn't being used. Add optional arg to force given state.
19956 (rmail-mime): Add optional arg to force given state.
19957
19958 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19959
19960 * allout.el (allout-encryption-plaintext-sanitization-regexps):
19961 * frame.el (display-mm-dimensions-alist):
19962 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
19963 (outline-move-subtree-down):
19964 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
19965 (newsticker--treeview-do-get-node):
19966 * net/quickurl.el (quickurl-list-buffer-name):
19967 * progmodes/dcl-mode.el (dcl-mode):
19968 * progmodes/gdb-mi.el (gdb-mapcar*):
19969 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
19970
19971 2011-11-15 Glenn Morris <rgm@gnu.org>
19972
19973 * mail/rmail.el (rmail-file-coding-system): It's only ever used
19974 in a boolean sense, so just make it a boolean, and fix the doc.
19975 (rmail-show-mime-function, rmail-mime-feature)
19976 (rmail-require-mime-maybe): Doc fixes.
19977 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
19978
19979 * mail/rmailmm.el (rmail-show-mime): Doc fix.
19980
19981 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19982
19983 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
19984 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
19985 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
19986 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
19987
19988 2011-11-15 Glenn Morris <rgm@gnu.org>
19989
19990 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
19991 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
19992 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
19993 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
19994 (rmail-mime, rmail-show-mime): Doc fixes.
19995
19996 * term/ns-win.el (mode-line-frame-identification):
19997 Leave it alone. (Bug#10051)
19998
19999 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
20000
20001 * mail/rmailout.el (rmail-output-to-rmail-buffer):
20002 Handle empty buffers. (Bug#9978)
20003
20004 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
20005
20006 * international/mule.el (define-charset):
20007 * mail/rmailmm.el (rmail-mime-find-header-encoding):
20008 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
20009 * progmodes/verilog-mode.el (verilog-backward-token):
20010 * textmodes/ispell.el (lookup-words):
20011 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
20012
20013 2011-11-14 Glenn Morris <rgm@gnu.org>
20014
20015 * progmodes/executable.el
20016 (executable-make-buffer-file-executable-if-script-p):
20017 Handle file-modes returning nil.
20018
20019 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
20020 message - not necessary, and causes problems. (Bug#9831)
20021
20022 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
20023
20024 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
20025
20026 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
20027 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
20028 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
20029
20030 2011-11-12 Martin Rudalics <rudalics@gmx.at>
20031
20032 * window.el (window-resize, delete-window): Use window-splits
20033 variable instead of function.
20034 (window-state-get-1, window-state-put-2, window-state-put):
20035 Don't deal with windows' splits status.
20036
20037 2011-11-12 Glenn Morris <rgm@gnu.org>
20038
20039 * apropos.el (apropos-do-all, apropos-library, apropos-value)
20040 (apropos-documentation): Doc fixes.
20041
20042 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
20043
20044 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
20045 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
20046
20047 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
20048
20049 * electric.el (electric-indent-post-self-insert-function): Make it
20050 possible for a char to only indent in some circumstances.
20051 (electric-indent-mode): Simplify.
20052
20053 2011-11-11 Martin Rudalics <rudalics@gmx.at>
20054
20055 * window.el (windows-with-parameter): Remove unused function.
20056 (windows-at-side): Rename to window-at-side-list.
20057 (window-check, window-atom-check, window-atom-check-1)
20058 (window-side-check, window-size-ignore, window-size-fixed-1)
20059 (window-in-direction-2): Prefix with "window--".
20060 (window-tree-1): Rename to window--subtree, fix doc-string.
20061
20062 2011-11-11 Glenn Morris <rgm@gnu.org>
20063
20064 * subr.el (eval-after-load): If FILE is already loaded,
20065 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
20066
20067 2011-11-10 Glenn Morris <rgm@gnu.org>
20068
20069 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
20070 Call svn via vc-svn-command rather than vc-do-command.
20071 (vc-svn-command): Add --non-interactive. (Bug#9993)
20072 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
20073
20074 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20075 Add toggle-read-only. (Bug#7292)
20076 * files.el (toggle-read-only): Mention that it should only
20077 be used interactively. (Bug#10006)
20078
20079 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
20080
20081 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20082 Adjust regexp for OCaml warnings.
20083
20084 * electric.el (electric-pair-post-self-insert-function): Let user
20085 turn it off buffer-locally (bug#9932).
20086
20087 * progmodes/python.el (python-beginning-of-statement):
20088 Rewrite (bug#2703).
20089
20090 * progmodes/compile.el: Better handle TABs (bug#9749).
20091 (compilation-internal-error-properties)
20092 (compilation-next-error-function): Obey the target buffer's
20093 compilation-error-screen-columns.
20094
20095 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
20096
20097 * progmodes/meta-mode.el: Remove obsolete comments.
20098 (meta-right-comment-regexp, meta-ignore-comment-regexp):
20099 Fix typos in docstrings.
20100
20101 2011-11-09 Martin Rudalics <rudalics@gmx.at>
20102
20103 * window.el (window-size-fixed-p): Rewrite doc-string.
20104 (window-resizable-p): Rename to window--resizable-p. Update callers.
20105 (window--resizable): New function. Make all callers of
20106 window-resizable call window--resizable instead.
20107 (window-resizable): Rewrite in terms of window--resizable.
20108
20109 2011-11-08 Glenn Morris <rgm@gnu.org>
20110
20111 * progmodes/delphi.el (delphi-mode-syntax-table):
20112 Let define-derived-mode define a proper syntax table. (Bug#9994)
20113
20114 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
20115
20116 * window.el: Stay away from defsubst.
20117 (window-list-no-nils): Remove.
20118 (window-state-get-1, window-state-get): Use backquote instead.
20119
20120 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20121
20122 * emacs-lisp/find-func.el (find-function-read):
20123 Fix incorrect use of default argument in `completing-read'.
20124
20125 2011-11-08 Martin Rudalics <rudalics@gmx.at>
20126
20127 * window.el (display-buffer-function, special-display-function):
20128 Mention display-buffer-record-window but do not mention
20129 help-setup parameter in doc-strings.
20130 (window-min-delta): Fix doc-string typo.
20131
20132 2011-11-08 Chong Yidong <cyd@gnu.org>
20133
20134 * window.el (window-total-height, window-total-width): Doc fix.
20135 (window-body-size): Move from C.
20136 (window-body-height, window-body-width): Move to C.
20137
20138 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
20139
20140 * window.el: Make special-display like display-buffer-alist (bug#9532).
20141 (display-buffer--special-action): New function, morphed
20142 from display-buffer--special.
20143 (display-buffer): Use it to handle special-display-buffers at higher
20144 priority (just after display-buffer-alist).
20145 (display-buffer-fallback-action, display-buffer--other-frame-action)
20146 (pop-to-buffer-same-window): Remove display-buffer--special.
20147
20148 2011-11-07 Glenn Morris <rgm@gnu.org>
20149
20150 * calendar/cal-menu.el (cal-menu-set-date-title):
20151 Do nothing if not in a calendar. (Bug#9976)
20152
20153 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
20154
20155 * files.el (find-file): Always use selected-window.
20156
20157 2011-11-07 Martin Rudalics <rudalics@gmx.at>
20158
20159 * window.el (window-combinations): Make WINDOW argument
20160 mandatory. Rewrite doc-string.
20161 (walk-window-subtree, window-atom-check, window-min-delta)
20162 (window-max-delta, window--resize-this-window)
20163 (window--resize-root-window-vertically, window-tree)
20164 (balance-windows, window-state-put): Rewrite doc-strings as to
20165 not mention the term "subwindow".
20166 (window--resize-subwindows-skip-p): Rename to
20167 window--resize-child-windows-skip-p.
20168 (window--resize-subwindows-normal): Rename to
20169 window--resize-child-windows-normal.
20170 (window--resize-subwindows): Rename to
20171 window--resize-child-windows.
20172 (window-or-subwindow-p): Rename to window--in-subtree-p.
20173
20174 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
20175
20176 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
20177 Ensure that mbox format messages end in two newlines (Bug#9974).
20178
20179 2011-11-06 Chong Yidong <cyd@gnu.org>
20180
20181 * window.el (window-combination-p): Function deleted; its
20182 side-effect is not used in any existing code.
20183 (window-combinations, window-combined-p): Call window-*-child
20184 directly.
20185
20186 2011-11-05 Chong Yidong <cyd@gnu.org>
20187
20188 * window.el (window-valid-p): Rename from window-any-p.
20189 (window-size-ignore, window-state-get): Callers changed.
20190 (window-normalize-window): Rename from window-normalize-any-window.
20191 New arg LIVE-ONLY, replacing window-normalize-live-window.
20192 (window-normalize-live-window): Delete.
20193 (window-combination-p, window-combined-p, window-combinations)
20194 (walk-window-subtree, window-atom-root, window-min-size)
20195 (window-sizable, window-sizable-p, window-size-fixed-p)
20196 (window-min-delta, window-max-delta, window-resizable)
20197 (window-resizable-p, window-full-height-p, window-full-width-p)
20198 (window-current-scroll-bars, window-point-1, set-window-point-1)
20199 (window-at-side-p, window-in-direction, window-resize)
20200 (adjust-window-trailing-edge, maximize-window, minimize-window)
20201 (window-deletable-p, delete-window, delete-other-windows)
20202 (record-window-buffer, unrecord-window-buffer)
20203 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
20204 (quit-window, split-window, window-state-put)
20205 (set-window-text-height, fit-window-to-buffer)
20206 (shrink-window-if-larger-than-buffer): Callers changed.
20207
20208 2011-11-04 Eli Zaretskii <eliz@gnu.org>
20209
20210 * mail/rmail.el (rmail-simplified-subject): Decode subject with
20211 rfc2047-decode-string.
20212 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
20213 warnings.
20214
20215 * window.el (window-body-height, window-body-width): Mention in
20216 the doc string that the return values are in frame's canonical
20217 units. (Bug#9949)
20218
20219 2011-11-03 Alan Mackenzie <acm@muc.de>
20220
20221 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
20222 change in cc-engine.el.
20223
20224 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
20225
20226 * window.el (switch-to-buffer): Use `force-same-window' interactively.
20227
20228 2011-11-02 Martin Rudalics <rudalics@gmx.at>
20229
20230 * window.el (quit-window): Call unrecord-window-buffer after
20231 showing another buffer in the window. (Bug#9937)
20232 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
20233
20234 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
20235
20236 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
20237 Accept status with more than 9 shelves. (Bug#9935)
20238 Reported by Colin D Bennett <colin@gibibit.com>.
20239
20240 2011-11-01 Martin Rudalics <rudalics@gmx.at>
20241
20242 * help.el (with-help-window): Don't reference
20243 temp-buffer-show-specifiers in doc-string.
20244
20245 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
20246
20247 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
20248 menu-item.
20249
20250 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20251
20252 * whitespace.el: New version 13.2.2.
20253 (whitespace-newline-mode): Disable properly. Reported by Sarah
20254 <EmacsWiki>.
20255
20256 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
20257
20258 * net/newst-treeview.el: Remove "Time-stamp".
20259 (newsticker--group-manage-orphan-feeds): Do not call
20260 newsticker--treeview-tree-update.
20261 (newsticker-treeview-update, newsticker-treeview):
20262 Call newsticker--treeview-tree-update if necessary.
20263
20264 2011-10-30 Martin Rudalics <rudalics@gmx.at>
20265
20266 * window.el (window-iso-combination-p, window-iso-combined-p)
20267 (window-iso-combinations): Remove "iso-" infix.
20268 Suggested by Chong Yidong.
20269 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
20270 (window-max-delta-1, window-resize, window--resize-siblings)
20271 (window--resize-this-window, adjust-window-trailing-edge)
20272 (split-window, balance-windows-1)
20273 (shrink-window-if-larger-than-buffer):
20274 * calendar/calendar.el (calendar-generate-window):
20275 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
20276
20277 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
20278
20279 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
20280 in place (bug#9907).
20281 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
20282 (eshell-rewrite-if-command, eshell-rewrite-for-command)
20283 (eshell-structure-basic-command, eshell-rewrite-while-command)
20284 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
20285 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
20286 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
20287 (eshell-do-pipelines-synchronously, eshell-eval-command):
20288 Use backquotes and prefer setq to set.
20289 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
20290 (eshell-macrop): Use functionp.
20291 (eshell-do-eval): Handle multiple expressions in `while' body.
20292
20293 2011-10-30 Chong Yidong <cyd@gnu.org>
20294
20295 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
20296 instead of set-mark (Bug#9810).
20297
20298 2011-10-30 Chong Yidong <cyd@gnu.org>
20299
20300 * window.el (split-window-below, split-window-right): Rename from
20301 split-window-above-each-other and split-window-side-by-side
20302 respectively. All callers changed.
20303 (split-window-sensibly, split-window-sensibly): Use them.
20304 (split-window-keep-point): Doc fix.
20305
20306 * isearch.el: Add isearch-scroll property to split-window-below
20307 and split-window-right.
20308
20309 * follow.el (follow-mode):
20310 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
20311 * progmodes/ada-xref.el (ada-gdb-application):
20312 * emulation/vip.el (vip-buffer-in-two-windows):
20313 * image-dired.el (image-dired-dired-with-window-configuration):
20314 * dired-x.el (dired-do-find-marked-files):
20315 * dired.el (dired-pop-to-buffer):
20316 * bs.el (bs--show-with-configuration):
20317 * vc/emerge.el (emerge-setup-windows):
20318 * textmodes/two-column.el (2C-two-columns):
20319 * textmodes/reftex-toc.el (reftex-toc):
20320 * progmodes/gdb-mi.el (gdb-setup-windows):
20321 * progmodes/fortran.el (fortran-window-create):
20322 * net/newst-treeview.el (newsticker--treeview-window-init):
20323 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
20324 * emulation/tpu-edt.el (tpu-gold-map):
20325 * emulation/crisp.el (crisp-mode-map):
20326 * calendar/calendar.el (calendar-basic-setup): Callers changed.
20327
20328 2011-10-29 Chong Yidong <cyd@gnu.org>
20329
20330 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
20331
20332 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
20333
20334 * textmodes/flyspell.el (flyspell-word): Fix char offset for
20335 forged Ispell output (Bug#7904).
20336
20337 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
20338
20339 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
20340
20341 * doc-view.el: Avoid ugly errors about not finding nil.
20342 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
20343 (doc-view-dvipdf-program, doc-view-unoconv-program)
20344 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
20345 Avoid nil or absolute file name as default value.
20346 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
20347
20348 2011-10-28 Alan Mackenzie <acm@muc.de>
20349
20350 * progmodes/cc-defs.el (c-version): -> 5.32.2.
20351
20352 2011-10-28 Alan Mackenzie <acm@muc.de>
20353
20354 Amend the handling of c-beginning/end-of-defun in nested declaration
20355 scopes.
20356
20357 * progmodes/cc-vars.el (c-defun-tactic): Move here from
20358 cc-langs.el. Change it to a defcustom.
20359
20360 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
20361 cc-vars.el.
20362
20363 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20364 Prevent "class foo : bar" being spuriously recognized as a label.
20365
20366 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
20367 Add parameter `inclusive' (to include enclosing braces in the region).
20368 (c-widen-to-enclosing-decl-scope): New function.
20369 (c-while-widening-to-decl-block): New macro.
20370 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
20371 outward for defun boundaries, and correspondingly change symbol
20372 `respect-enclosure' to `go-outward'.
20373 (c-declaration-limits): Change algorithm to report only the "innermost"
20374 defun's boundaries.
20375
20376 2011-10-28 Deniz Dogan <deniz@dogan.se>
20377
20378 * net/rcirc.el (rcirc-mode): Use hard newlines.
20379
20380 2011-10-28 Alan Mackenzie <acm@muc.de>
20381
20382 Amend to indent and fontify macros "which include their own semicolon"
20383 correctly, using the "virtual semicolon" mechanism.
20384
20385 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
20386
20387 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
20388 Recode to scan one line at a time rather than having \n and \r
20389 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
20390 (c-forward-label): Amend for virtual semicolons.
20391 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
20392
20393 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
20394 of the new C macros.
20395
20396 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
20397 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
20398 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
20399 (c-opt-cpp-macro-define): Make into a full language variable.
20400 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
20401 AWK Mode (including \n, \r) removed, no longer needed.
20402
20403 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
20404 Invoke c-make-macro-with-semi-re.
20405
20406 * progmodes/cc-vars.el (c-macro-with-semi-re):
20407 (c-macro-names-with-semicolon): New variables.
20408 (c-make-macro-with-semi-re): New function.
20409
20410 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
20411
20412 * vc/log-edit.el: Fill empty field rather than adding new one.
20413 (log-edit-add-field): New function.
20414 (log-edit-insert-changelog): Use it.
20415
20416 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
20417
20418 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
20419
20420 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
20421
20422 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
20423 (gdb--check-interpreter): New function.
20424 (gdb): Use it.
20425
20426 2011-10-27 Glenn Morris <rgm@gnu.org>
20427
20428 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
20429 (least-positive-float, least-negative-float)
20430 (least-positive-normalized-float, least-negative-normalized-float)
20431 (float-epsilon, float-negative-epsilon):
20432 Remove unnecessary declarations.
20433
20434 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
20435 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
20436 (least-positive-float, least-negative-float)
20437 (least-positive-normalized-float, least-negative-normalized-float)
20438 (float-epsilon, float-negative-epsilon): Add doc-strings,
20439 based on those in cl.texi.
20440
20441 * files.el (set-visited-file-name): If the major-mode changed,
20442 reload the local variables. (Bug#9796)
20443
20444 2011-10-27 Chong Yidong <cyd@gnu.org>
20445
20446 * subr.el (change-major-mode-after-body-hook): New hook.
20447 (run-mode-hooks): Run it.
20448
20449 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
20450 Use change-major-mode-before-body-hook.
20451
20452 * simple.el (fundamental-mode):
20453 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
20454 change introducing fundamental-mode-hook.
20455
20456 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
20457
20458 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
20459
20460 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
20461
20462 * ido.el (ido-file-name-all-completions-1): Do not require
20463 tramp.el explicitly. (Bug#7583)
20464
20465 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
20466
20467 * progmodes/octave-mod.el:
20468 * progmodes/octave-inf.el: Update maintainer.
20469
20470 2011-10-26 Chong Yidong <cyd@gnu.org>
20471
20472 * subr.el (with-wrapper-hook): Rewrite doc.
20473
20474 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
20475
20476 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
20477 filenames "/method:foo:". (Bug#9793)
20478
20479 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
20480
20481 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
20482 (bug#9865).
20483
20484 2011-10-24 Glenn Morris <rgm@gnu.org>
20485
20486 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
20487
20488 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
20489
20490 * notifications.el: Add the requirement of a running D-Bus session
20491 bus to the Commentary.
20492
20493 2011-10-24 Juri Linkov <juri@jurta.org>
20494
20495 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
20496 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
20497 (Bug#9364)
20498
20499 2011-10-24 Juri Linkov <juri@jurta.org>
20500
20501 * info.el (Info-following-node-name-re): Add newline to the list
20502 of allowed characters for leading space. (Bug#9824)
20503
20504 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
20505
20506 * progmodes/octave-inf.el (inferior-octave-mode-map):
20507 Fix C-c C-h binding.
20508 * progmodes/octave-mod.el (octave-help): Remove.
20509
20510 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
20511
20512 Sync with Tramp 2.2.3.
20513
20514 * net/tramp-cache.el (top): Pacify byte-compiler using
20515 `init-file-user' and `site-run-file'.
20516
20517 * net/trampver.el: Update release number.
20518
20519 2011-10-23 Chong Yidong <cyd@gnu.org>
20520
20521 * files.el (toggle-read-only): Remove obsolete comment about
20522 version control.
20523
20524 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
20525 for toggle-read-only. Note that this hasn't called vc-next-action
20526 since 2008-05-02, though it wasn't documented at the time.
20527
20528 * vc/ediff-init.el (ediff-toggle-read-only-function):
20529 Use toggle-read-only.
20530
20531 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
20532
20533 Fix bug #9560, sporadic wrong indentation; improve instrumentation
20534 of c-parse-state.
20535
20536 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
20537 correct faulty logical expression.
20538 (c-parse-state-state, c-record-parse-state-state):
20539 (c-replay-parse-state-state): New defvar/defuns.
20540 (c-debug-parse-state): Use new functions.
20541
20542 2011-10-22 Martin Rudalics <rudalics@gmx.at>
20543
20544 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
20545 last fix. Use window-in-direction correctly.
20546
20547 2011-10-21 Chong Yidong <cyd@gnu.org>
20548
20549 * progmodes/idlwave.el (idlwave-mode):
20550 * progmodes/vera-mode.el (vera-mode): No need to set
20551 require-final-newline; that's done in prog-mode.
20552 Suggested by Stefan Monnier.
20553
20554 2011-10-21 Martin Rudalics <rudalics@gmx.at>
20555
20556 * mouse.el (mouse-drag-window-above)
20557 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
20558 (mouse-drag-mode-line-1, mouse-drag-header-line)
20559 (mouse-drag-vertical-line-rightward-window): Remove.
20560 (mouse-drag-line): New function.
20561 (mouse-drag-mode-line, mouse-drag-header-line)
20562 (mouse-drag-vertical-line): Call mouse-drag-line.
20563 * window.el (window-at-side-p, windows-at-side): New functions.
20564
20565 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
20566
20567 * tar-mode.el (tar-grind-file-mode):
20568 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
20569
20570 2011-10-21 Chong Yidong <cyd@gnu.org>
20571
20572 * progmodes/idlwave.el (idlwave-mode):
20573 * progmodes/vera-mode.el (vera-mode):
20574 Use mode-require-final-newline.
20575
20576 2011-10-20 Glenn Morris <rgm@gnu.org>
20577
20578 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
20579
20580 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
20581
20582 * emulation/cua-base.el (cua-set-mark): Fix case of string.
20583
20584 2011-10-20 Chong Yidong <cyd@gnu.org>
20585
20586 * emulation/cua-base.el (cua-mode):
20587 * mail/footnote.el (footnote-mode):
20588 * mail/mailabbrev.el (mail-abbrevs-mode):
20589 * net/xesam.el (xesam-minor-mode):
20590 * progmodes/bug-reference.el (bug-reference-mode):
20591 * progmodes/cap-words.el (capitalized-words-mode):
20592 * progmodes/compile.el (compilation-minor-mode)
20593 (compilation-shell-minor-mode):
20594 * progmodes/gud.el (gud-tooltip-mode):
20595 * progmodes/hideif.el (hide-ifdef-mode):
20596 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
20597 * progmodes/subword.el (subword-mode):
20598 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
20599 * progmodes/which-func.el (which-function-mode):
20600 * term/tvi970.el (tvi970-set-keypad-mode):
20601 * term/vt100.el (vt100-wide-mode):
20602 * textmodes/flyspell.el (flyspell-mode):
20603 * textmodes/ispell.el (ispell-minor-mode):
20604 * textmodes/nroff-mode.el (nroff-electric-mode):
20605 * textmodes/paragraphs.el (use-hard-newlines):
20606 * textmodes/refill.el (refill-mode):
20607 * textmodes/reftex.el (reftex-mode):
20608 * textmodes/rst.el (rst-minor-mode):
20609 * textmodes/sgml-mode.el (html-autoview-mode)
20610 (sgml-electric-tag-pair-mode):
20611 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
20612 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
20613 * emulation/crisp.el (crisp-mode):
20614 * emacs-lisp/eldoc.el (eldoc-mode):
20615 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
20616 minor mode behavior.
20617
20618 2011-10-19 Juri Linkov <juri@jurta.org>
20619
20620 * descr-text.el (describe-char): Add #x2010 and #x2011 to
20621 the list of hard-coded chars with escape-glyph face.
20622
20623 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
20624
20625 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
20626
20627 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
20628
20629 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
20630 running process.
20631
20632 2011-10-19 Glenn Morris <rgm@gnu.org>
20633
20634 * vc/vc-bzr.el (vc-bzr-after-dir-status):
20635 Ignore ignored files. (Bug#9726)
20636
20637 2011-10-19 Chong Yidong <cyd@gnu.org>
20638
20639 Doc fix for minor modes, stating that an omitted argument enables
20640 the mode unconditionally when called from Lisp.
20641
20642 * abbrev.el (abbrev-mode):
20643 * allout.el (allout-mode):
20644 * autoinsert.el (auto-insert-mode):
20645 * autoarg.el (autoarg-mode, autoarg-kp-mode):
20646 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
20647 (global-auto-revert-mode):
20648 * battery.el (display-battery-mode):
20649 * composite.el (global-auto-composition-mode)
20650 (auto-composition-mode):
20651 * delsel.el (delete-selection-mode):
20652 * desktop.el (desktop-save-mode):
20653 * dired-x.el (dired-omit-mode):
20654 * dirtrack.el (dirtrack-mode):
20655 * doc-view.el (doc-view-minor-mode):
20656 * double.el (double-mode):
20657 * electric.el (electric-indent-mode, electric-pair-mode):
20658 * emacs-lock.el (emacs-lock-mode):
20659 * epa-hook.el (auto-encryption-mode):
20660 * follow.el (follow-mode):
20661 * font-core.el (font-lock-mode):
20662 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
20663 * help.el (temp-buffer-resize-mode):
20664 * hilit-chg.el (highlight-changes-mode)
20665 (highlight-changes-visible-mode):
20666 * hi-lock.el (hi-lock-mode):
20667 * hl-line.el (hl-line-mode, global-hl-line-mode):
20668 * icomplete.el (icomplete-mode):
20669 * ido.el (ido-everywhere):
20670 * image-file.el (auto-image-file-mode):
20671 * image-mode.el (image-minor-mode):
20672 * iswitchb.el (iswitchb-mode):
20673 * jka-cmpr-hook.el (auto-compression-mode):
20674 * linum.el (linum-mode):
20675 * longlines.el (longlines-mode):
20676 * master.el (master-mode):
20677 * mb-depth.el (minibuffer-depth-indicate-mode):
20678 * menu-bar.el (menu-bar-mode):
20679 * minibuf-eldef.el (minibuffer-electric-default-mode):
20680 * mouse-sel.el (mouse-sel-mode):
20681 * msb.el (msb-mode):
20682 * mwheel.el (mouse-wheel-mode):
20683 * outline.el (outline-minor-mode):
20684 * paren.el (show-paren-mode):
20685 * recentf.el (recentf-mode):
20686 * reveal.el (reveal-mode, global-reveal-mode):
20687 * rfn-eshadow.el (file-name-shadow-mode):
20688 * ruler-mode.el (ruler-mode):
20689 * savehist.el (savehist-mode):
20690 * scroll-all.el (scroll-all-mode):
20691 * scroll-bar.el (scroll-bar-mode):
20692 * server.el (server-mode):
20693 * shell.el (shell-dirtrack-mode):
20694 * simple.el (auto-fill-mode, transient-mark-mode)
20695 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
20696 (line-number-mode, column-number-mode, size-indication-mode)
20697 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
20698 * strokes.el (strokes-mode):
20699 * time.el (display-time-mode):
20700 * t-mouse.el (gpm-mouse-mode):
20701 * tool-bar.el (tool-bar-mode):
20702 * tooltip.el (tooltip-mode):
20703 * type-break.el (type-break-mode-line-message-mode)
20704 (type-break-query-mode):
20705 * view.el (view-mode):
20706 * whitespace.el (whitespace-mode, whitespace-newline-mode)
20707 (global-whitespace-mode, global-whitespace-newline-mode):
20708 * xt-mouse.el (xterm-mouse-mode): Doc fix.
20709
20710 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
20711 Fix autogenerated docstring.
20712
20713 2011-10-19 Juri Linkov <juri@jurta.org>
20714
20715 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
20716 by checking environment variables "DESKTOP_SESSION" and
20717 "XDG_CURRENT_DESKTOP". (Bug#9779)
20718
20719 2011-10-19 Juri Linkov <juri@jurta.org>
20720
20721 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
20722 (browse-url-chromium-program, browse-url-chromium-arguments):
20723 New defcustoms.
20724 (browse-url-default-browser): Check for `browse-url-chromium' and
20725 call `browse-url-chromium-program'.
20726 (browse-url-chromium): New command. (Bug#9779)
20727
20728 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
20729
20730 * facemenu.el (list-colors-duplicates): On Windows, detect more
20731 duplicates by assuming that only colors matching "^System" are
20732 special "system colors". (Bug#9722)
20733
20734 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
20735
20736 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
20737 to distinguish the author from the committer.
20738
20739 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
20740
20741 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
20742
20743 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
20744
20745 * international/mule.el (sgml-html-meta-auto-coding-function):
20746 Add support for detecting encoding in HTML5 specified only as
20747 <meta charset="UTF-8">. Implementation just makes http-equiv and
20748 content-type parts from HTML4 encoding string optional. (Bug#9716)
20749
20750 2011-10-18 Glenn Morris <rgm@gnu.org>
20751
20752 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
20753
20754 2011-10-18 Chong Yidong <cyd@gnu.org>
20755
20756 * faces.el (cursor): Doc fix.
20757
20758 2011-10-17 Chong Yidong <cyd@gnu.org>
20759
20760 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
20761
20762 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
20763
20764 * dirtrack.el (dirtrack): Support shell buffers with path
20765 prefixes, e.g. tramp-based remote shells. (Bug#9647)
20766
20767 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
20768
20769 * json.el: Bump version to 1.3 and note change in History.
20770 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
20771
20772 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
20773
20774 * comint.el (comint-insert-input, comint-send-input)
20775 (comint-get-old-input-default, comint-backward-matching-input)
20776 (comint-next-prompt): Use nil instead of `input' for field property of
20777 past user input (bug#114).
20778
20779 * minibuffer.el (completion--replace): Inherit surrounding properties
20780 (bug#114).
20781 (minibuffer-complete-and-exit): Use it.
20782
20783 * comint.el (comint--table-subvert): Quote the all-completions output
20784 (bug#9160).
20785
20786 2011-10-17 Martin Rudalics <rudalics@gmx.at>
20787
20788 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
20789
20790 * menu-bar.el (menu-bar-file-menu): Add entry for making new
20791 window on right of selected. (Bug#9350) Reword other window
20792 entries and separate them from frame entries.
20793
20794 2011-10-15 Glenn Morris <rgm@gnu.org>
20795
20796 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
20797 Doc fixes.
20798
20799 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
20800
20801 * net/network-stream.el (network-stream-open-starttls):
20802 Improve detection of failure due to lack of TLS support.
20803
20804 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
20805 putting the input text in front and in bold.
20806
20807 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
20808
20809 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
20810
20811 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
20812 empty buffer.
20813
20814 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
20815 unread-command-events rather than pushing yet-another event.
20816
20817 2011-10-14 Eli Zaretskii <eliz@gnu.org>
20818
20819 * mail/sendmail.el (sendmail-query-once): Improve the wording of
20820 the explanation of the possible choices. Make the options passed
20821 to completing-read shorter.
20822
20823 2011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
20824
20825 * textmodes/flyspell.el (flyspell-large-region): Make sure
20826 extended character mode is used if defined (Bug#1339).
20827
20828 2011-10-13 Eli Zaretskii <eliz@gnu.org>
20829
20830 * simple.el (what-cursor-position): Fix the display of the
20831 character info for LRE, LRO, RLE, and RLO characters by appending
20832 an invisible PDF.
20833
20834 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
20835
20836 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
20837 even in case of error; add debug spec; simplify data flow.
20838 (with-timeout-handler): Remove.
20839
20840 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
20841
20842 Fix Bug#6019, Bug#9315.
20843
20844 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
20845 complete `buffer-file-name', the local file name part could look
20846 remotely (for example on VMS).
20847
20848 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
20849 `tramp-run-real-handler'.
20850 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
20851 already quoted by '"'.
20852
20853 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
20854 Let `file-name-handler-alist' be nil, the local file name part
20855 could look remotely (for example on VMS).
20856
20857 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
20858
20859 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
20860 from here...
20861 (flyspell-post-command-hook): ...to here.
20862
20863 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20864
20865 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
20866 if not needed.
20867 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
20868 using completion. Protect against "slow" callers.
20869 Remove the "message hack".
20870
20871 2011-10-11 Juri Linkov <juri@jurta.org>
20872
20873 * isearch.el (isearch-lazy-highlight-word): New variable.
20874 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
20875 Use it. (Bug#9727)
20876
20877 2011-10-11 Glenn Morris <rgm@gnu.org>
20878
20879 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
20880 like f90-previous-statement does.
20881
20882 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20883
20884 * eshell/eshell.el (eshell-command): History should be saved
20885 only in interactive use, to avoid error.
20886
20887 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20888
20889 * minibuffer.el (completion-file-name-table): Fix last change,
20890 i.e. ignore normal errors but not the other ones.
20891
20892 2011-10-10 Martin Rudalics <rudalics@gmx.at>
20893
20894 * window.el (special-display-buffer-names)
20895 (special-display-regexps): Remove some remnants of earlier
20896 changes from doc-strings.
20897 (quit-windows-on): New function.
20898
20899 * vc/vc.el (vc-revert, vc-rollback):
20900 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
20901 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
20902 (Bug#6183) (Bug#7074) (Bug#7447)
20903
20904 2011-10-09 Martin Rudalics <rudalics@gmx.at>
20905
20906 * window.el (frame-auto-hide-function): Add version tag.
20907 (Bug#9699)
20908
20909 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
20910
20911 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
20912 condition.
20913
20914 2011-10-09 Leo Liu <sdl.web@gmail.com>
20915
20916 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
20917 (Bug#9701)
20918
20919 2011-10-08 Glenn Morris <rgm@gnu.org>
20920
20921 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
20922 before the first code statement zero indent. (Bug#9690)
20923
20924 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
20925
20926 * simple.el (count-words-region): Always count in the region.
20927 Report the number of lines and characters too.
20928 (count-words): New command, which counts in the buffer if the
20929 region is inactive, as count-words-region used to.
20930 (count-words--message): New function. Handle plurals.
20931 (count-lines-region): Make it an alias for count-words-region.
20932
20933 * bindings.el (esc-map): Replace count-lines-region with
20934 count-words-region.
20935
20936 2011-10-08 Martin Rudalics <rudalics@gmx.at>
20937
20938 * window.el (window--delete): Delete dedicated frame
20939 unconditionally when argument KILL is non-nil. (Bug#9699)
20940 (switch-to-buffer): Fix doc-string typo.
20941
20942 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20943
20944 * eshell/eshell.el (eshell-command): Avoid using hooks.
20945
20946 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
20947
20948 * bindings.el ([M-left], [M-right]): Bind to left-word and
20949 right-word respectively.
20950
20951 2011-10-07 Glenn Morris <rgm@gnu.org>
20952
20953 * cus-start.el (debug-on-quit): Fix custom type.
20954
20955 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20956
20957 * subr.el (define-key-after): Clarify that the function is not
20958 useful for non-menu keymaps.
20959
20960 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
20961
20962 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20963
20964 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
20965 in current minibuffer (Fix bug with recursive minibuffers).
20966
20967 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
20968
20969 * progmodes/gdb-mi.el (gdb): Doc fix.
20970
20971 2011-10-05 Martin Rudalics <rudalics@gmx.at>
20972
20973 * window.el (frame-auto-hide-function): New option replacing
20974 frame-auto-delete. Suggested by Stefan Monnier.
20975 (window--delete): Call frame-auto-hide-function instead of
20976 investigating frame-auto-delete.
20977 (window-point-1, set-window-point-1): New functions.
20978 (window-in-direction, record-window-buffer, window-state-get-1)
20979 (display-buffer-record-window): Use window-point-1 instead of
20980 window-point.
20981 (set-window-buffer-start-and-point): Use set-window-point-1.
20982
20983 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20984
20985 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
20986
20987 2011-10-05 Glenn Morris <rgm@gnu.org>
20988
20989 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
20990 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
20991
20992 2011-10-05 Leo Liu <sdl.web@gmail.com>
20993
20994 * subr.el (read-char-choice): Fix argument to buffer-live-p which
20995 works with buffer object.
20996
20997 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20998
20999 * mpc.el (mpc-tool-bar-map): Add labels.
21000
21001 2011-10-04 Glenn Morris <rgm@gnu.org>
21002
21003 * calendar/holidays.el (calendar-check-holidays): Doc fix.
21004
21005 2011-10-04 Martin Rudalics <rudalics@gmx.at>
21006
21007 * window.el (window--delete): New function.
21008 (frame-auto-delete): Resuscitate option.
21009 (bury-buffer, replace-buffer-in-windows)
21010 (quit-window): Rewrite using window--delete.
21011 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
21012 Pass display-buffer-mark-dedicated to window--display-buffer-2
21013 (Bug#9639).
21014
21015 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
21016
21017 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
21018 returns a list (bug#9554). Add remote file name completion.
21019 * comint.el (comint--table-subvert): Curry and get quote&unquote
21020 functions as arguments.
21021 (comint--complete-file-name-data): Adjust call accordingly.
21022 * pcomplete.el (pcomplete--table-subvert): Remove.
21023 (pcomplete-completions-at-point): Use comint--table-subvert instead.
21024
21025 * minibuffer.el (completion-table-case-fold): Use currying.
21026 (completion--styles-type, completion--cycling-threshold-type):
21027 New constants.
21028 (completion-styles, completion-category-overrides)
21029 (completion-cycle-threshold): Use them.
21030 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
21031 completion-table-case-fold.
21032
21033 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
21034
21035 * minibuffer.el (completion-category-overrides): Fix type of styles
21036 and add more user friendly tags (bug#9660).
21037
21038 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
21039
21040 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
21041 (mule-input-method-string): New widget.
21042 (default-input-method, language-info-custom-alist): Use it.
21043
21044 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
21045
21046 * pcomplete.el: Require comint.
21047 (pcomplete--common-suffix): Remove.
21048 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
21049 (pcomplete--table-subvert): Sync with comint--table-subvert.
21050 (pcomplete--entries): Use comint-completion-file-name-table.
21051 * comint.el (comint-unquote-filename): Simplify.
21052 (comint-completion-file-name-table): New function (bug#9616).
21053 (comint--complete-file-name-data): Use it.
21054
21055 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
21056 (pcmpl-gnu-tar-buffer): Remove.
21057 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
21058 around. Make sure pcomplete-suffix-list is only changed temporarily.
21059 Don't look inside the tar's file if it's too large.
21060
21061 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
21062
21063 * cus-edit.el (custom-mode-map):
21064 * epa.el (epa-key-list-mode-map):
21065 * man.el (Man-mode-map):
21066 * startup.el (splash-screen-keymap):
21067 * simple.el (special-mode-map): Use scroll-up-command and
21068 scroll-down-command.
21069
21070 * progmodes/idlw-help.el (idlwave-help-mode-map):
21071 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
21072 * net/newst-plainview.el (newsticker-mode-map):
21073 * emulation/ws-mode.el (wordstar-mode-map):
21074 * emulation/vi.el (vi-com-map):
21075 * calc/calc-graph.el (calc-graph-show-dumb):
21076 * term/sun.el (terminal-init-sun):
21077 * term/ns-win.el (global-map):
21078 * progmodes/grep.el (grep-mode-map):
21079 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
21080 * mail/rmail.el (rmail-mode-map):
21081 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
21082
21083 * custom.el (custom-safe-themes, load-theme): Treat value of t for
21084 custom-safe-themes as special.
21085
21086 2011-10-01 Julien Danjou <julien@danjou.info>
21087
21088 * notifications.el (notifications-notify): Fix docstring.
21089
21090 2011-10-01 Per Starbäck <per@starback.se>
21091
21092 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
21093
21094 2011-09-30 Martin Rudalics <rudalics@gmx.at>
21095
21096 * startup.el (command-line-1): Fix last fix by inserting
21097 initial-scratch-message into *scratch* before displaying it.
21098 (Bug#9605) and (Bug#9636)
21099
21100 2011-09-29 Eli Zaretskii <eliz@gnu.org>
21101
21102 * simple.el (line-move): If auto-hscroll-mode is disabled and the
21103 window is hscrolled, move by logical lines. (Bug#9607)
21104 (line-move-visual): Update the doc string to the above effect.
21105
21106 2011-09-29 Martin Rudalics <rudalics@gmx.at>
21107
21108 * window.el (display-buffer-record-window): When WINDOW is the
21109 selected window use `point' instead of `window-point'. (Bug#9626)
21110
21111 * startup.el (command-line-1): Use insert-before-markers when
21112 inserting initial-scratch-message. (Bug#9605)
21113
21114 * help.el (help-window): Remove variable.
21115
21116 2011-09-29 Glenn Morris <rgm@gnu.org>
21117
21118 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
21119
21120 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
21121
21122 * descr-text.el (describe-char-categories): Accept category
21123 descriptions more than one line long.
21124
21125 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
21126
21127 * simple.el (delete-trailing-whitespace): Fix last change.
21128
21129 * progmodes/perl-mode.el (perl-syntax-propertize-function):
21130 Don't confuse "y => 3" as the beginning of a `y' operation.
21131
21132 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
21133 object has more than 4 slots (bug#9613).
21134
21135 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
21136
21137 * subr.el (with-output-to-temp-buffer):
21138 * net/quickurl.el (quickurl, quickurl-browse-url):
21139 Fix typos in docstrings.
21140
21141 2011-09-27 Eli Zaretskii <eliz@gnu.org>
21142
21143 * minibuffer.el (completion-styles)
21144 (completion-category-overrides): Cross reference each other in doc
21145 strings.
21146
21147 2011-09-27 Glenn Morris <rgm@gnu.org>
21148
21149 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
21150 to split-string. (Bug#9606)
21151
21152 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21153
21154 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
21155 (bug#9615).
21156
21157 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
21158
21159 * emacs-lisp/package.el (list-packages): Fix echo area message.
21160
21161 2011-09-27 Leo Liu <sdl.web@gmail.com>
21162
21163 * ido.el (ido-read-internal): Accept cons cell HIST arg.
21164
21165 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
21166
21167 * net/dbus.el (dbus-unregister-object): Don't release services for
21168 registered signals. (Bug#9581)
21169
21170 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
21171
21172 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
21173 function that picks between cfengine 2 and 3 support
21174 automatically. Update docs accordingly.
21175
21176 2011-09-22 Kenichi Handa <handa@m17n.org>
21177
21178 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
21179 ZERO.
21180 (indian-itrans-v5-table-for-tamil): New variable.
21181 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
21182
21183 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
21184
21185 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
21186 that's true if the current command involved collapsing of text.
21187 It's reset to false at the beginning of the next command.
21188 (allout-post-command-business): Move the cursor to the beginning
21189 of entry if the cursor is hidden and collapsing activity just
21190 happened.
21191
21192 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
21193
21194 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
21195 tracking (Bug#9541).
21196
21197 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
21198
21199 * net/newst-reader.el (newsticker-html-renderer)
21200 (newsticker-show-news): Automatically load html rendering package
21201 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
21202 because w3m-fill-column is let-bound" and the error "Symbol's value
21203 as variable is void: w3m-fill-column".
21204
21205 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
21206
21207 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
21208 Release services only if they are defined. (Bug#9581)
21209
21210 2011-09-23 Richard Stallman <rms@gnu.org>
21211
21212 * textmodes/paragraphs.el (forward-sentence): For backwards case,
21213 distinguish start of paragraph from start of its text.
21214
21215 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
21216
21217 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
21218 (rmail-generate-viewer-buffer): Put that hook on view buffer.
21219 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
21220
21221 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
21222
21223 * international/mule-diag.el (mule-diag): Insert a newline after
21224 each fontset description.
21225
21226 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
21227
21228 * simple.el (delete-trailing-whitespace):
21229 Document last change; simplify.
21230
21231 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
21232
21233 * simple.el (delete-trailing-whitespace): Also delete
21234 extra newlines at the end of the buffer.
21235
21236 * textmodes/picture.el: Make motion commands obey shift-select-mode.
21237 (picture-newline): Use forward-line so as to ignore fields.
21238
21239 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
21240
21241 * subr.el (with-wrapper-hook): Fix edebug spec.
21242
21243 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
21244
21245 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
21246 (bug#4538).
21247
21248 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
21249
21250 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
21251 Fix nasty bug using wrong cached values.
21252
21253 2011-09-23 Alan Mackenzie <acm@muc.de>
21254
21255 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
21256
21257 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
21258
21259 * window.el (pop-to-buffer): Ensure right window is selected if we
21260 chose another frame.
21261
21262 2011-09-22 Eli Zaretskii <eliz@gnu.org>
21263
21264 * simple.el (what-cursor-position): Use get-char-property-change
21265 and next-single-char-property-change, to be able to show display
21266 properties that come from overlays as well as text properties.
21267
21268 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
21269
21270 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
21271
21272 * cmuscheme.el (run-scheme, switch-to-scheme):
21273 * cus-edit.el (customize-group, custom-buffer-create)
21274 (customize-browse):
21275 * info.el (info):
21276 * shell.el (shell):
21277 * mail/sendmail.el (mail):
21278 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
21279
21280 2011-09-22 Richard Stallman <rms@gnu.org>
21281
21282 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
21283 move back only to line beg, don't move back over blank lines.
21284
21285 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
21286
21287 * files.el (copy-directory): Set directory attributes only in case
21288 they could be retrieved from the source directory. (Bug#9565)
21289
21290 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
21291
21292 * progmodes/hideshow.el (hs-looking-at-block-start-p)
21293 (hs-find-block-beginning, hs-hide-level-recursive):
21294 Ignore strings as well as comments. (Bug#9502)
21295
21296 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
21297
21298 * progmodes/sql.el (sql-comint-postgres):
21299 Convert port number to a string. (Bug#9566)
21300
21301 2011-09-22 Martin Rudalics <rudalics@gmx.at>
21302
21303 * window.el (quit-window): Undedicate window when switching to
21304 previous buffer. Reported by Thierry Volpiatto
21305 <thierry.volpiatto@gmail.com>.
21306 (special-display-popup-frame): When popping up a new frame reset
21307 its previous buffers to nil. Simplify code.
21308
21309 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
21310
21311 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
21312 and process filter, as done also in `shell-command'.
21313
21314 2011-09-21 Martin Rudalics <rudalics@gmx.at>
21315
21316 * window.el (set-window-buffer-start-and-point):
21317 Call set-window-start with NOFORCE argument t.
21318 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21319 (quit-window): Reword doc-string. Handle new format of
21320 quit-restore parameter. Don't delete window if it has a
21321 previous buffer we can show instead of the present one.
21322 (display-buffer-record-window): Rewrite using a new format for
21323 the quit-restore window parameter
21324 (special-display-popup-frame, display-buffer-same-window)
21325 (display-buffer-reuse-window, display-buffer-pop-up-frame)
21326 (display-buffer-pop-up-window, display-buffer-use-some-window):
21327 Adapt symbol passed to display-buffer-record-window.
21328 * help.el (help-window-setup): Handle new format of quit-restore
21329 parameter.
21330
21331 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
21332
21333 * faces.el (face-list): Fix docstring (bug#9564).
21334
21335 * window.el (display-buffer--action-function-custom-type):
21336 Don't include internal functions in the Custom interface.
21337
21338 2011-09-20 Juri Linkov <juri@jurta.org>
21339
21340 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
21341 (Info-forward-node, Info-backward-node, Info-next-preorder)
21342 (Info-last-preorder): Use it. (Bug#9528)
21343
21344 2011-09-20 Juri Linkov <juri@jurta.org>
21345
21346 * info.el (Info-last-preorder): Visit last menu item only when
21347 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
21348
21349 2011-09-20 Julien Danjou <julien@danjou.info>
21350
21351 * password-cache.el (password-cache-remove): Remove entries even if the
21352 value is nil, so that password with a nil value (negative caching) is
21353 possible to invalidate.
21354
21355 2011-09-20 Lawrence Mitchell <wence@gmx.li>
21356
21357 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
21358 all whitespace around breakpoint. (Bug#9553)
21359 (f90-find-breakpoint): Only break at whitespace inside a comment.
21360
21361 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
21362
21363 * minibuffer.el (completion-file-name-table): Keep track of errors.
21364 (completion-table-with-predicate): Handle the case where pred1 is nil.
21365 * pcomplete.el (pcomplete-completions-at-point): Simplify.
21366
21367 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
21368
21369 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
21370 (debugger-return-value): Signal an error if the debugging context does
21371 not await any return value.
21372
21373 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
21374 * image-mode.el (image-toggle-display-text)
21375 (image-toggle-display-image): Stay away from evil `intangible'.
21376
21377 2011-09-19 Leo Liu <sdl.web@gmail.com>
21378
21379 * replace.el (occur-revert-arguments): Make it permanent-local.
21380 (occur-mode): Don't call font-lock-defontify.
21381
21382 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
21383
21384 * net/ldap.el (ldap-search-internal): Don't push empty search
21385 result (Bug#9508).
21386
21387 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
21388
21389 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
21390
21391 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
21392
21393 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
21394 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
21395
21396 2011-09-18 Juri Linkov <juri@jurta.org>
21397
21398 * buff-menu.el (Buffer-menu-mode-map):
21399 * dired.el (dired-mode-map):
21400 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
21401 (lisp-interaction-mode-map):
21402 * emacs-lisp/package.el (package-menu-mode-map):
21403 * epa.el (epa-key-list-mode-map):
21404 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
21405 (menu-bar-options-menu):
21406 * outline.el (outline-mode-menu-bar-map):
21407 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
21408 * vc/vc-dir.el (vc-dir-menu-map):
21409 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
21410 Capitalize non-function content words in menu item strings.
21411
21412 * dired.el (dired-mode-map): Add menu item for
21413 `image-dired-dired-toggle-marked-thumbs'.
21414
21415 2011-09-18 Juri Linkov <juri@jurta.org>
21416
21417 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
21418 to `isearch-case-fold-search' and restore its original value
21419 after the `isearch-mode' call.
21420
21421 2011-09-18 Juri Linkov <juri@jurta.org>
21422
21423 * progmodes/grep.el (grep-process-setup): Don't check code for 1
21424 because `zgrep' returns 1 for successful matches (bug#9226).
21425
21426 2011-09-18 Juri Linkov <juri@jurta.org>
21427
21428 * info.el (Info-extract-menu-node-name): Check the second match
21429 for empty string (second test-case of bug#9528).
21430 (Info-last-preorder): Let-bind `Info-history' to nil to not add
21431 intermediate nodes to the history (first test-case of bug#9528).
21432
21433 2011-09-18 Juri Linkov <juri@jurta.org>
21434
21435 * info.el (Info-mode-syntax-table): New variable.
21436 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
21437
21438 2011-09-18 Juri Linkov <juri@jurta.org>
21439
21440 * info.el (Info-file-supports-index-cookies):
21441 Increment line-beginning-position's arg from 3 to 4 because makeinfo
21442 outputs one more line for long file names (bug#4142).
21443
21444 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
21445
21446 * newcomment.el (comment-normalize-vars): If prompting for
21447 comment-start, set comment-start-skip too (Bug#8424).
21448
21449 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
21450
21451 * icomplete.el: Fix previous fix of Bug#5849.
21452 (icomplete-mode): Don't set completion-show-inline-help.
21453 (icomplete-minibuffer-setup): Set completion-show-inline-help
21454 locally during icompletion.
21455
21456 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
21457
21458 * woman.el (woman2-process-escapes): Don't delete unrecognized
21459 escapes (Bug#7843).
21460
21461 * files.el (inhibit-first-line-modes-regexps): Add image files.
21462 (hack-local-variables-prop-line): Return nil for malformed
21463 prop-lines (Bug#9044).
21464
21465 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
21466
21467 * net/tramp.el (top): Don't require 'shell.
21468 (tramp-methods): Fix docstring.
21469 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
21470 Return complete remote file name. Handle "smb" case.
21471 Use `tramp-tmpdir', if defined for the respective method.
21472 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
21473
21474 * net/tramp-compat.el (top): Require 'shell.
21475
21476 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
21477 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
21478 `tramp-current-host'.
21479 (tramp-get-remote-tmpdir): Remove.
21480
21481 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
21482 `tramp-tmpdir' entries.
21483 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
21484 (tramp-smb-handle-file-attributes): Ignore errors.
21485 (tramp-smb-wait-for-output): Check also for process end.
21486
21487 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
21488
21489 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
21490 when sending QUIT (bug#9312).
21491
21492 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
21493
21494 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
21495 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
21496 occur-mode-display-occurrence.
21497 (occur-edit-mode): Add usage message.
21498 (occur-cease-edit): New command.
21499 (occur-after-change-function): Use text properties to find the
21500 position of the prefix text.
21501 (occur-engine): Set stickiness of prefix text properties.
21502
21503 2011-09-17 Glenn Morris <rgm@gnu.org>
21504
21505 * progmodes/etags.el (complete-tag):
21506 Fix call to completion-in-region. (Bug#9526)
21507
21508 2011-09-17 Juri Linkov <juri@jurta.org>
21509
21510 * textmodes/ispell.el (ispell-word): Add to the error message
21511 the word, ispell program name and current dictionary (bug#9121).
21512 (ispell-tex-arg-end): Capitalize "error" in the error message.
21513
21514 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
21515
21516 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
21517 check. (Bug#4251)
21518
21519 2011-09-17 Juri Linkov <juri@jurta.org>
21520
21521 * window.el (window-safe-min-height, window-safe-min-width):
21522 Fix typos (followup to bug#9522).
21523
21524 2011-09-17 Sven Joachim <svenjoac@gmx.de>
21525
21526 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
21527
21528 2011-09-16 Eli Zaretskii <eliz@gnu.org>
21529
21530 * simple.el (line-move): If goal-column is set, move by logical
21531 lines, not by display lines. (Bug#971)
21532 (next-line, previous-line, goal-column, line-move-visual): Doc fix
21533 to reflect the above change.
21534
21535 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
21536
21537 * image.el (imagemagick-register-types): Use regexp-opt.
21538
21539 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
21540
21541 * window.el (display-buffer-base-action): Rename from
21542 display-buffer-default-action. Make default value empty.
21543 (display-buffer-overriding-action): Convert to defvar.
21544 (display-buffer-fallback-action): New var.
21545
21546 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
21547
21548 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
21549 declaration.
21550 (package--add-to-archive-contents): If there is a duplicate entry
21551 with an older version, remove it.
21552 (package-menu-mark-delete, package-menu-mark-install)
21553 (package-menu-mark-unmark): Make unused args optional.
21554 (package-menu-mark-obsolete-for-deletion):
21555 Use package-menu-get-status instead of a regexp search.
21556 (package-menu-get-status): Use tabulated-list-entry.
21557 (package-menu-mark-upgrades): New command.
21558 (package-menu-mode-map): Bind it to U. Add it to menu bar.
21559 (package-menu-execute): Do installation before deletion.
21560 (package-menu-refresh, package-menu-execute): Use derived-mode-p
21561 instead of checking major-mode.
21562 (package-menu--find-upgrades): New function.
21563
21564 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21565
21566 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
21567 passwords in the log buffer.
21568 (smtpmail-process-filter): Update the process marker so that the
21569 "broken by peer" status message is inserted in the right place.
21570
21571 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
21572
21573 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
21574 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
21575 bibtex-completion-at-point-function.
21576 (bibtex-completion-at-point-function): Use them.
21577
21578 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
21579
21580 * mpc.el (mpc-constraints-tag-lookup): New function.
21581 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
21582 also to browser "album|playlist".
21583
21584 2011-09-14 Juri Linkov <juri@jurta.org>
21585
21586 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
21587 (isearch-edit-string): Use length of `isearch-string' when
21588 `isearch-fail-pos' returns nil.
21589 (isearch-message): Remove duplicate code and call
21590 `isearch-fail-pos' with arg `t'.
21591
21592 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
21593
21594 * replace.el (occur-mode-goto-occurrence): Don't force using other
21595 window (Bug#9499).
21596
21597 * dired-aux.el (dired-do-chmod): Don't provide initial input.
21598
21599 2011-09-14 Martin Rudalics <rudalics@gmx.at>
21600
21601 * window.el (display-buffer-window): Remove.
21602 (display-buffer-record-window): Use help-setup window parameter
21603 instead of variable display-buffer-window.
21604 (display-buffer-function, special-display-buffer-names)
21605 (special-display-function): Mention help-setup parameter instead
21606 of display-buffer-window in doc-string.
21607 * help.el (help-window-setup): New argument help-window.
21608 Use help-window-setup parameter instead of display-buffer-window.
21609 Reword some messages.
21610 (with-help-window): Pass window used for displaying the buffer
21611 to help-window-setup. Don't set display-buffer-window.
21612
21613 2011-09-13 Glenn Morris <rgm@gnu.org>
21614
21615 * emacs-lisp/debug.el (debugger-make-xrefs):
21616 Preserve point. (Bug#9462)
21617
21618 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
21619
21620 * window.el (window-deletable-p): Use next-frame.
21621
21622 2011-09-13 Martin Rudalics <rudalics@gmx.at>
21623
21624 * window.el (window-auto-delete): Remove.
21625 (window-deletable-p): Remove argument FORCE. Don't deal with
21626 dedication and previous buffers.
21627 (switch-to-prev-buffer): Don't delete window.
21628 (delete-windows-on): Delete a window's frame if and only if the
21629 window is dedicated.
21630 (replace-buffer-in-windows): Delete buffer's window or frame if
21631 and only if window is dedicated.
21632 (quit-window): Handle quit-restore as before last change.
21633 (bury-buffer): Delete window only if window-deletable-p returns t.
21634
21635 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
21636
21637 * window.el (window-deletable-p): Never delete the last frame on a
21638 given terminal.
21639
21640 2011-09-13 Glenn Morris <rgm@gnu.org>
21641
21642 * help.el (describe-key-briefly): Copy previous standard-output change.
21643
21644 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
21645
21646 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
21647
21648 2011-09-13 Glenn Morris <rgm@gnu.org>
21649
21650 * emacs-lisp/lisp-mode.el (lisp-indent-function):
21651 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
21652
21653 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
21654
21655 * dired-aux.el (dired-mark-read-string): Don't return default
21656 value on empty input (Bug#9361).
21657 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
21658 Omit initial minibuffer contents.
21659 (dired-do-chmod): Signal an error on empty input.
21660 (dired-mark-read-string): Don't return default on empty input.
21661
21662 * files.el (file-modes-symbolic-to-number): Doc fix.
21663
21664 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
21665
21666 * international/mule-cmds.el (ucs-completions): Remove.
21667 (read-char-by-name): Use complete-with-action instead; add metadata.
21668
21669 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
21670
21671 * window.el (display-buffer--action-function-custom-type)
21672 (display-buffer--action-custom-type): New vars.
21673 (display-buffer-alist, display-buffer-default-action)
21674 (display-buffer-overriding-action): Add defcustom types.
21675
21676 * frame.el (delete-other-frames): Doc fix (Bug#276).
21677
21678 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21679
21680 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
21681
21682 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
21683
21684 Change modes that used same-window-* vars to use switch-to-buffer.
21685
21686 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
21687 Use switch-to-buffer.
21688
21689 * cus-edit.el (customize-group, custom-buffer-create)
21690 (customize-browse, custom-buffer-create-other-window):
21691 Use switch-to-buffer or switch-to-buffer-other-window.
21692
21693 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
21694 (Info-prev, Info-up, Info-speedbar-goto-node)
21695 (info-display-manual): Use switch-to-buffer.
21696 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
21697
21698 * mail/sendmail.el (mail): Use switch-to-buffer.
21699 (mail-recover): Use switch-to-buffer-other-window.
21700
21701 * cmuscheme.el (run-scheme, switch-to-scheme):
21702 * ielm.el (ielm):
21703 * shell.el (shell):
21704 * net/rlogin.el (rlogin):
21705 * net/telnet.el (telnet, rsh):
21706 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
21707
21708 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21709
21710 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
21711
21712 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21713
21714 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
21715 so don't mention it (bug#9301).
21716 (dired-sort-toggle-or-edit): Clarify string further.
21717
21718 * faces.el (face-spec-set-match-display): Make `(type graphic)'
21719 match `x', `w32' and `ns', like the manual says (bug#9029).
21720
21721 * subr.el (eval-after-load): Doc string clarification (bug#9125).
21722 (process-kill-buffer-query-function): Mention the buffer name in
21723 the query.
21724
21725 * image-mode.el (image-next-line): The line parameter is mandatory
21726 (bug#9258).
21727
21728 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
21729 which can be useful (bug#9301).
21730
21731 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
21732
21733 * subr.el (match-string): Mention that the current buffer should
21734 be the same as the search was done in (bug#9282).
21735
21736 * facemenu.el: Disable the remove-* commands if the mark isn't
21737 active (bug#9162).
21738
21739 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
21740
21741 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
21742 of display-buffer.
21743 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
21744
21745 * replace.el (occur-mode-goto-occurrence)
21746 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
21747 and display-buffer.
21748
21749 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
21750 display-buffer.
21751
21752 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
21753 special-display and same-window variables.
21754 (mail-other-window): Use switch-to-buffer-other-window.
21755 (mail-other-frame): USe switch-to-buffer-other-frame.
21756
21757 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
21758 Use display-buffer-other-frame.
21759 (gdb-display-gdb-buffer): Use pop-to-buffer.
21760
21761 * progmodes/gud.el (gud-goto-info): Use info-other-window.
21762
21763 * progmodes/python.el: Don't set same-window-buffer-names.
21764
21765 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
21766
21767 * window.el (display-buffer-alist): Add *Python*.
21768
21769 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
21770
21771 * window.el (display-buffer-alist): Add entry for buffers
21772 previously handled same-window-*.
21773 (display-buffer-alist, display-buffer-default-action)
21774 (display-buffer-overriding-action): Mark as risky.
21775 (display-buffer-alist): Document action function changes.
21776 (display-buffer--same-window-action)
21777 (display-buffer--other-frame-action): New variables.
21778 (switch-to-buffer, display-buffer-other-frame): Use them.
21779 (display-buffer): Rename reuse-frame entry to reusable-frames.
21780 (display-buffer-reuse-selected-window): Function deleted.
21781 (display-buffer-reuse-window): Handle reusable-frames alist entry.
21782 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
21783 (display-buffer-special): New function.
21784 (display-buffer--maybe-pop-up-frame-or-window): Rename from
21785 display-buffer-reuse-or-pop-window. Split off special-display
21786 part into display-buffer-special.
21787 (display-buffer-use-some-window): Don't perform any special
21788 pop-up-frames handling.
21789 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
21790 (display-buffer--maybe-same-window): Rename from
21791 display-buffer-maybe-same-window.
21792
21793 * info.el: Don't set same-window-regexps.
21794 (info-setup): New function.
21795 (info-other-window, info): Call it.
21796
21797 * cus-edit.el: Don't set same-window-regexps.
21798 (customize-group): New argument.
21799 (customize-group-other-window): Use it.
21800 (customize-face, customize-face-other-window): Likewise.
21801 (custom-buffer-create-other-window): Use pop-to-buffer directly.
21802
21803 * net/rlogin.el:
21804 * net/telnet.el:
21805 * progmodes/gud.el: Don't set same-window-regexps.
21806
21807 * cmuscheme.el:
21808 * ielm.el:
21809 * shell.el:
21810 * mail/sendmail.el:
21811 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
21812
21813 2011-09-10 Juri Linkov <juri@jurta.org>
21814
21815 * isearch.el (isearch-edit-string): Remove obsolete mention of
21816 `C-w' (`isearch-yank-word-or-char') from docstring.
21817 (isearch-query-replace): Fix typo in docstring (bug#9466).
21818
21819 2011-09-10 Juri Linkov <juri@jurta.org>
21820
21821 * paren.el (show-paren-function): Don't show escaped parens.
21822 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
21823
21824 2011-09-10 Eli Zaretskii <eliz@gnu.org>
21825
21826 * mail/sendmail.el (mml-to-mime, mml-attach-file)
21827 (mm-default-file-encoding): Remove autoload forms, they are
21828 replaced with autoload cookies in mml.el and mm-encode.el.
21829 (mail-add-attachment): New command.
21830 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
21831 (mail-mode): Mention mail-insert-file and mail-add-attachment in
21832 the doc string.
21833 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
21834
21835 2011-09-10 Reuben Thomas <rrt@sc3d.org>
21836
21837 * simple.el (count-words-region): Use buffer if there's no region
21838 (bug#9429).
21839
21840 2011-09-09 Juri Linkov <juri@jurta.org>
21841
21842 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
21843 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
21844 (wdired-isearch-filter-read-only): New function. (Bug#6362)
21845
21846 2011-09-09 Alan Mackenzie <acm@muc.de>
21847
21848 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
21849 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
21850
21851 2011-09-09 Eli Zaretskii <eliz@gnu.org>
21852
21853 Fix for Savannah bug#9392.
21854 * simple.el (mail-encode-mml): New defvar.
21855
21856 * mail/rmail.el (mail-encode-mml): Add a defvar.
21857 (rmail-enable-mime-composing): Default to t.
21858 (rmail-forward): Use MIME method of forwarding only if both
21859 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
21860 Set mail-encode-mml non-nil if the MIME method was used.
21861
21862 * mail/sendmail.el (mml-to-mime): Add autoload form.
21863 (mail-encode-mml): Add a defvar.
21864 (mail-mode): Make mail-encode-mml buffer-local and initialize it
21865 to nil.
21866 (mail-send): If mail-encode-mml is non-nil, run the outgoing
21867 message through mml-to-mime, and reset mail-encode-mml to nil.
21868
21869 2011-09-09 Glenn Morris <rgm@gnu.org>
21870
21871 * woman.el (woman-if-body): When processing an .el block,
21872 do not delete the next .el block as well. (Bug#9447)
21873 (woman-special-characters): Add oq, cq, and hy characters.
21874
21875 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21876
21877 * window.el (window-deletable-p): Make sure window is live before
21878 invoking window-prev-buffers.
21879
21880 2011-09-08 Leo Liu <sdl.web@gmail.com>
21881
21882 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
21883
21884 2011-09-08 Juri Linkov <juri@jurta.org>
21885
21886 * progmodes/compile.el (compilation-environment): Make it
21887 a defcustom (bug#8340).
21888
21889 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21890
21891 * window.el (frame-auto-delete): Rename to window-auto-delete.
21892 Make it control auto-deletion of windows and/or frames.
21893 (window-deletable-p): New argument FORCE. Rewrite conditions
21894 for deleting window/frame. (Bug#9419)
21895 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
21896 Rewrite handling of case when window/frame can be deleted.
21897 (delete-windows-on): Call window-deletable-p with new FORCE
21898 argument t. (Bug#9456)
21899
21900 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
21901
21902 * help-mode.el (help-mode): Restore autoload.
21903
21904 2011-09-07 Juri Linkov <juri@jurta.org>
21905
21906 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
21907 `compilation-environment'. Set buffer-local
21908 `compilation-environment' to `thisenv' later after (funcall mode).
21909 (Bug#8340)
21910
21911 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
21912 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
21913 instead of replacing its value. (Bug#8340)
21914
21915 2011-09-07 Juri Linkov <juri@jurta.org>
21916
21917 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
21918 based on text properties put by `grep-filter' instead of matching
21919 escape sequences.
21920 (grep-mode): Set buffer-local `compilation-error-screen-columns'
21921 to the value of `grep-error-screen-columns' (bug#9438).
21922
21923 2011-09-07 Juri Linkov <juri@jurta.org>
21924
21925 * simple.el (next-error-highlight, next-error-highlight-no-select):
21926 Doc fix (bug#9432).
21927
21928 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
21929
21930 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21931 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
21932
21933 2011-09-07 Leo Liu <sdl.web@gmail.com>
21934
21935 * net/rcirc.el (rcirc-mode): Conditionally initialize
21936 rcirc-input-ring.
21937
21938 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
21939
21940 * emacs-lisp/find-func.el (find-function-C-source): Only set
21941 find-function-C-source-directory after checking that we found a source
21942 file there (bug#9440).
21943
21944 2011-09-06 Alan Mackenzie <acm@muc.de>
21945
21946 * isearch.el (isearch-other-meta-char): Wherever a key list is
21947 unread, "unread" the prefix arg, too. This fixes bug #8901.
21948
21949 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
21950
21951 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
21952
21953 2011-09-05 Juri Linkov <juri@jurta.org>
21954
21955 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
21956
21957 2011-09-05 Juri Linkov <juri@jurta.org>
21958
21959 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
21960 keeping point where processing of grep matches begins, and
21961 continue to delete remaining escape sequences from the same point.
21962 (grep-filter): Make leading zero optional in "0?1;31m" because
21963 git-grep emits "\033[1;31m" escape sequences unlike expected
21964 "\033[01;31m" as GNU Grep does (bug#9408).
21965 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
21966
21967 2011-09-05 Juri Linkov <juri@jurta.org>
21968
21969 * subr.el (y-or-n-p): Capitalize "yes".
21970
21971 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
21972
21973 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
21974 `tramp-cache-unload-hook' where appropriate.
21975 (tramp-methods): Rename `tramp-remote-sh' to
21976 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
21977 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
21978
21979 * net/tramp-sh.el (top): Don't require 'shell.
21980 (tramp-methods): Add `tramp-remote-shell' and
21981 `tramp-remote-shell-args' entries.
21982 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
21983 (tramp-sh-handle-shell-command): Remove.
21984 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21985 Use `tramp-remote-shell'.
21986
21987 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
21988
21989 * mail/sendmail.el (sendmail-query-once-function): Delete.
21990 (sendmail-query-once): Save directly to send-mail-function.
21991 Update message-send-mail-function too.
21992
21993 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
21994
21995 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21996
21997 * progmodes/python.el (python-mode-map): Use correct function to
21998 start python interpreter from menu-bar (as reported by Geert
21999 Kloosterman).
22000 (inferior-python-mode-map): Fix typo.
22001 (python-shell-map): Remove.
22002
22003 2011-09-03 Deniz Dogan <deniz@dogan.se>
22004
22005 * net/rcirc.el (rcirc-print): Simplify code for
22006 rcirc-scroll-show-maximum-output. There is no need to walk
22007 through all windows to find the right one.
22008
22009 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
22010
22011 * help.el (help-return-method): Doc fix.
22012
22013 2011-09-03 Martin Rudalics <rudalics@gmx.at>
22014
22015 * window.el (window-deletable-p): Don't return a non-nil value
22016 when there's a buffer that was shown in the window before.
22017 (Bug#9419)
22018 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
22019 Set window's previous buffers to nil.
22020
22021 2011-09-03 Eli Zaretskii <eliz@gnu.org>
22022
22023 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
22024 newline before and after the tag line, so it doesn't interfere
22025 with determining the paragraph direction of bidirectional text.
22026
22027 2011-09-03 Leo Liu <sdl.web@gmail.com>
22028
22029 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
22030
22031 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
22032
22033 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
22034 (pop-to-buffer): Change interactive spec. Pass second argument
22035 directly to display-buffer.
22036 (display-buffer): Fix interactive spec. Use functionp to
22037 distinguish between a function and a list of functions.
22038
22039 * abbrev.el (edit-abbrevs):
22040 * arc-mode.el (archive-extract):
22041 * autoinsert.el (auto-insert):
22042 * bookmark.el (bookmark-bmenu-list):
22043 * files.el (find-file):
22044 * view.el (view-buffer):
22045 * progmodes/compile.el (compilation-goto-locus):
22046 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
22047
22048 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
22049
22050 * window.el (display-buffer-alist): Doc fix.
22051 (display-buffer): Add docstring. Don't treat
22052 display-buffer-default specially.
22053 (display-buffer-reuse-selected-window)
22054 (display-buffer-same-window, display-buffer-maybe-same-window)
22055 (display-buffer-reuse-window, display-buffer-pop-up-frame)
22056 (display-buffer-pop-up-window)
22057 (display-buffer-reuse-or-pop-window)
22058 (display-buffer-use-some-window): New functions.
22059 (display-buffer-default-action): Use them.
22060 (display-buffer-default): Delete.
22061 (pop-to-buffer-1): Fix choice of actions.
22062
22063 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
22064
22065 * minibuffer.el (completion--insert-strings): Don't get confused by
22066 completion entries that end with an LF char.
22067
22068 2011-09-01 Eli Zaretskii <eliz@gnu.org>
22069
22070 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
22071
22072 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
22073
22074 * window.el (display-buffer): Restore interactive spec.
22075 (display-buffer-same-window, display-buffer-other-window):
22076 New functions.
22077 (pop-to-buffer-1): New function. Use the above.
22078 (pop-to-buffer, pop-to-buffer-same-window): Use it.
22079 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
22080
22081 * view.el (view-buffer-other-window, view-buffer-other-frame):
22082 Just use pop-to-buffer.
22083
22084 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
22085
22086 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
22087
22088 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
22089
22090 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
22091
22092 2011-08-31 Richard Stallman <rms@gnu.org>
22093
22094 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
22095 of the separation of rmail-view-buffer from rmail-buffer.
22096 If you say no to "replace original", the decrypt is in the
22097 view buffer. If you say yes, the decrypt goes into the
22098 rmail buffer also.
22099
22100 2011-08-31 Martin Rudalics <rudalics@gmx.at>
22101
22102 * window.el (display-buffer-window): Rewrite doc-string.
22103 (display-buffer-record-window): New function.
22104 (display-buffer-macro-specifiers)
22105 (display-buffer-even-window-sizes, display-buffer-set-height)
22106 (display-buffer-set-width, display-buffer-in-window)
22107 (display-buffer-reuse-window, display-buffer-split-specifiers)
22108 (display-buffer-side-specifiers, display-buffer-split-window-1)
22109 (display-buffer-split-window, display-buffer-split-atom-window)
22110 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
22111 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
22112 (display-buffer-other-window-means-other-frame)
22113 (display-buffer-normalize-special)
22114 (display-buffer-normalize-default)
22115 (display-buffer-normalize-argument)
22116 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
22117 (display-buffer-normalize-specifiers, display-buffer-frame)
22118 (display-buffer-same-window, display-buffer-same-frame)
22119 (display-buffer-other-window)
22120 (display-buffer-same-frame-other-window)
22121 (display-buffer-other-frame, pop-to-buffer-same-window)
22122 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
22123 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
22124 (switch-to-buffer-same-frame)
22125 (switch-to-buffer-other-window-same-frame)
22126 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
22127 (display-buffer-alist-set-1, display-buffer-alist-set-2)
22128 (display-buffer-alist-set): Remove.
22129 (display-buffer-function, special-display-buffer-names)
22130 (special-display-regexps, special-display-function):
22131 In doc-string refer to display-buffer-window and quit-restore
22132 parameter.
22133 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
22134 (special-display-frame-alist, special-display-popup-frame)
22135 (same-window-buffer-names, same-window-regexps, same-window-p)
22136 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22137 (split-window-preferred-function, split-height-threshold)
22138 (split-width-threshold, window-splittable-p)
22139 (split-window-sensibly, window--try-to-split-window)
22140 (window--frame-usable-p, even-window-heights)
22141 (window--even-window-heights, window--display-buffer-1)
22142 (window--display-buffer-2, display-buffer-other-frame):
22143 Restore old Emacs 23 code, order and doc-strings where applicable.
22144 (display-buffer-default, display-buffer-assq-regexp): New functions.
22145 (display-buffer-alist): Rewrite doc-string.
22146 (display-buffer-default-action)
22147 (display-buffer-overriding-action): New variables.
22148 (display-buffer, switch-to-buffer): Rewrite.
22149 (pop-to-buffer): Restore Emacs 23 behavior but use
22150 window-normalize-buffer-to-display.
22151 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
22152 Restore Emacs 23 behavior but use
22153 window-normalize-buffer-to-switch-to.
22154 (pop-to-buffer-same-window): Rewrite.
22155 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
22156 Rewrite using Emacs 23 options.
22157
22158 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
22159
22160 * net/tramp.el (tramp-root-regexp): Remove.
22161 (tramp-completion-file-name-regexp-unified)
22162 (tramp-completion-file-name-regexp-separate)
22163 (tramp-completion-file-name-regexp-url): Don't use leading volume
22164 letter on w32 systems. (Bug#5303, Bug#9311)
22165 (tramp-drop-volume-letter): Simplify definition.
22166 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
22167
22168 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
22169
22170 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
22171 (bug#9356).
22172
22173 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
22174
22175 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
22176
22177 2011-08-29 Juri Linkov <juri@jurta.org>
22178
22179 * isearch.el (isearch-done): Don't display message "Mark saved"
22180 when arg `edit' is non-nil to prevent its flicker in the echo area.
22181
22182 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
22183
22184 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
22185 obsolete packages for deletion.
22186
22187 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
22188
22189 * help-mode.el (help-mode-map): Add special-mode-map to parent.
22190 (help-mode): Derive help-mode from special-mode. Don't invoke
22191 view-mode from help-mode.
22192 (help-xref-override-view-map): Remove.
22193 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
22194 view-mode is not used anymore.
22195
22196 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
22197
22198 * server.el (server-port): Doc fix.
22199
22200 * cus-theme.el (custom-theme-choose-mode): Inherit from
22201 special-mode (Bug#9124).
22202 (custom-theme-choose-mode-map): Add special-mode to parent.
22203
22204 2011-08-28 Alan Mackenzie <acm@muc.de>
22205
22206 * progmodes/cc-fonts.el
22207 (c-make-font-lock-BO-decl-search-function): New function.
22208 (c-basic-matchers-after - "Fontify the clauses after various
22209 keywords"): Extract the three keyword lists for the 3 erroneous
22210 constructs from the list of four, and use the new function above
22211 in place of an old one.
22212
22213 2011-08-28 Deniz Dogan <deniz@dogan.se>
22214
22215 * net/rcirc.el (rcirc-insert-prev-input)
22216 (rcirc-insert-next-input): Remove unused argument.
22217
22218 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
22219
22220 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
22221
22222 2011-08-27 Alan Mackenzie <acm@muc.de>
22223
22224 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
22225 handle function pointer parameters properly.
22226
22227 2011-08-27 Martin Rudalics <rudalics@gmx.at>
22228
22229 * window.el (display-buffer-reuse-window): Fix case where
22230 selected window was reused with non-nil OTHER-WINDOW argument.
22231 (Bug#9381)
22232
22233 2011-08-27 Deniz Dogan <deniz@dogan.se>
22234
22235 * net/rcirc.el (rcirc-check-auth-status): Adding support for
22236 oftc's NickServ messages.
22237
22238 2011-08-27 Glenn Morris <rgm@gnu.org>
22239
22240 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
22241
22242 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
22243
22244 * emacs-lisp/package.el (package-install): Call package-initialize
22245 if called interactively.
22246
22247 2011-08-26 Leo Liu <sdl.web@gmail.com>
22248
22249 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
22250
22251 2011-08-25 Juri Linkov <juri@jurta.org>
22252
22253 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
22254 `search-whitespace-regexp' (bug#9364).
22255
22256 2011-08-25 Juri Linkov <juri@jurta.org>
22257
22258 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
22259 `regexp-search-ring' to their global values to protect from
22260 updating by `read-from-minibuffer' (bug#9185).
22261
22262 2011-08-25 Juri Linkov <juri@jurta.org>
22263
22264 * textmodes/ispell.el (ispell-command-loop): Add newline
22265 at the end of the "Use option `i'..." line.
22266
22267 2011-08-25 Juri Linkov <juri@jurta.org>
22268
22269 * battery.el (display-battery-mode): If `battery-status-function'
22270 or `battery-mode-line-format' is nil, display the message and set
22271 `display-battery-mode' to nil (bug#9363).
22272
22273 2011-08-25 Eli Zaretskii <eliz@gnu.org>
22274
22275 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
22276 bidi-string-mark-left-to-right; they are unnecessary now.
22277
22278 2011-08-25 Deniz Dogan <deniz@dogan.se>
22279
22280 * net/quickurl.el: Documentation typo fixes.
22281
22282 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
22283
22284 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
22285
22286 2011-08-25 Glenn Morris <rgm@gnu.org>
22287
22288 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
22289
22290 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
22291 (smtpmail-via-smtp): Handle nil response from smtp.
22292
22293 2011-08-24 Juri Linkov <juri@jurta.org>
22294
22295 * proced.el (proced-marked): Inherit from `error' instead of
22296 `font-lock-warning-face'.
22297
22298 * ibuffer.el (ibuffer-marked-face): Change default face from
22299 `font-lock-warning-face' to `warning'.
22300 (ibuffer-deletion-face): Change default face from
22301 `font-lock-type-face' to `error'.
22302
22303 * battery.el (battery-update): Use the face `error' instead of
22304 `font-lock-warning-face' (bug#6117).
22305
22306 2011-08-24 Juri Linkov <juri@jurta.org>
22307
22308 * faces.el (success): Change face color from "Green3" to
22309 "ForestGreen" on light background (bug#9353).
22310
22311 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
22312
22313 * window.el (quit-window): Rename from quit-restore-window.
22314 Use same arglist as old quit-window.
22315 (frame-auto-delete): Doc fix.
22316
22317 * view.el (view-mode-exit): Use quit-window.
22318
22319 2011-08-24 Juri Linkov <juri@jurta.org>
22320
22321 * isearch.el (isearch-ring-adjust1): Start visiting previous
22322 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
22323 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
22324 for empty search string (when the last search string is reused
22325 automatically) to adjust the isearch ring to the last element and
22326 prepare the correct index for further M-p commands (bug#9185).
22327
22328 2011-08-24 Kenichi Handa <handa@m17n.org>
22329
22330 * international/ucs-normalize.el: If decomposition property of
22331 CHAR is the default one (i.e. a list of CHAR itself), treat it as
22332 nil.
22333 (nfd, nfkd): Likewise.
22334
22335 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
22336
22337 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
22338 from process filters aren't reliably transmitted to the surrounding
22339 accept-process-output.
22340 (mpc-proc-check): New function.
22341 (mpc-proc-sync): Use it (bug#8293)
22342
22343 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
22344
22345 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
22346 Add compatibility functions (bug#9313).
22347
22348 2011-08-23 Eli Zaretskii <eliz@gnu.org>
22349
22350 * cus-start.el (all): Add entry for bidi-paragraph-direction.
22351
22352 * international/uni-bidi.el: Regenerate.
22353
22354 2011-08-23 Kenichi Handa <handa@m17n.org>
22355
22356 * international/charprop.el:
22357 * international/uni-bidi.el:
22358 * international/uni-category.el:
22359 * international/uni-combining.el:
22360 * international/uni-comment.el:
22361 * international/uni-decimal.el:
22362 * international/uni-decomposition.el:
22363 * international/uni-digit.el:
22364 * international/uni-lowercase.el:
22365 * international/uni-mirrored.el:
22366 * international/uni-name.el:
22367 * international/uni-numeric.el:
22368 * international/uni-old-name.el:
22369 * international/uni-titlecase.el:
22370 * international/uni-uppercase.el: Regenerate.
22371
22372 2011-08-23 Martin Rudalics <rudalics@gmx.at>
22373
22374 * help.el (help-window-setup): Fix message displayed when other
22375 window is reused. (Bug#9341)
22376
22377 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
22378
22379 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
22380 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
22381
22382 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
22383 Mark obsolete.
22384 * shell.el (shell-parse-pcomplete-arguments): New function.
22385 (shell-completion-vars): Use it instead (bug#9160).
22386
22387 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
22388
22389 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
22390 strings and comments (bug#9333).
22391
22392 * emacs-lisp/debug.el (debug-arglist): New function.
22393 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
22394 (debug-on-entry-1): Handle interpreted closures (bug#9120).
22395
22396 2011-08-22 Juri Linkov <juri@jurta.org>
22397
22398 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22399 Revert regexp that highlights output switches to its old
22400 pre-2010-10-28 value and remove one `?' from it (bug#9319).
22401
22402 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
22403 to check for empty output (bug#9226).
22404
22405 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
22406
22407 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
22408 symbol-constituent as the default, as that stops font-lock from
22409 working properly (Bug#8843).
22410
22411 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22412
22413 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
22414 `coding-system-for-*' around the process open call to avoid
22415 auth-source side effects.
22416 (smtpmail-try-auth-methods): Expand the secret password.
22417 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
22418 probe hangs.
22419
22420 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
22421
22422 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
22423
22424 * emacs-lisp/find-func.el (find-function-noselect): New arg
22425 lisp-only.
22426
22427 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
22428 signal an error for built-in functions (Bug#6664).
22429
22430 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22431
22432 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
22433 (smtpmail-try-auth-methods): Use it.
22434
22435 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
22436
22437 * font-lock.el (font-lock-fontify-region)
22438 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
22439 (font-lock-default-unfontify-buffer)
22440 (font-lock-default-fontify-region)
22441 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
22442
22443 * progmodes/compile.el (compilation-error-properties):
22444 Fix confusion between file struct and message struct (Bug#9319).
22445 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
22446 `ant' regexp.
22447
22448 * net/browse-url.el (browse-url-firefox): Don't call
22449 browse-url-firefox-sentinel unless using -remote (Bug#9328).
22450
22451 2011-08-20 Glenn Morris <rgm@gnu.org>
22452
22453 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
22454
22455 * tutorial.el (tutorial--default-keys): Update some default bindings.
22456
22457 * files.el (hack-local-variables): Fully ignore case for "mode:".
22458
22459 2011-08-20 Alan Mackenzie <acm@muc.de>
22460
22461 Resolve invalid use of a regexp in regexp-opt.
22462
22463 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
22464 detection for a java annotation.
22465
22466 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
22467 detection for a java annotation.
22468
22469 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
22470 handling for java.
22471 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
22472
22473 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
22474
22475 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
22476 (Bug#9274).
22477
22478 2011-08-20 Alan Mackenzie <acm@muc.de>
22479
22480 Fontify CPP expressions correctly when starting in the middle of
22481 such a construct. Mainly for when jit-lock etc. starts a chunk
22482 here.
22483
22484 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
22485 variable.
22486 (c-make-font-lock-search-form): New function, extracted from
22487 c-make-font-lock-search-function.
22488 (c-make-font-lock-search-function): Use the above function.
22489 (c-make-font-lock-context-search-function): New function.
22490 (c-cpp-matchers): Enhance the preprocessor expression case with
22491 the above function
22492 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
22493 which takes an expression.
22494
22495 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
22496
22497 2011-08-20 Martin Rudalics <rudalics@gmx.at>
22498
22499 * window.el (display-buffer-reuse-window)
22500 (display-buffer-pop-up-window): Don't reuse or split a side
22501 window.
22502
22503 2011-08-19 Glenn Morris <rgm@gnu.org>
22504
22505 * files.el (hack-local-variables-prop-line, hack-local-variables):
22506 Downcase "Mode:". (Bug#9331)
22507
22508 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
22509
22510 * international/characters.el: Add L and R categories.
22511
22512 * subr.el (bidi-string-mark-left-to-right): Rename from
22513 string-mark-left-to-right. Use category search.
22514
22515 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
22516
22517 2011-08-18 Juri Linkov <juri@jurta.org>
22518
22519 * faces.el (error, warning, success): New faces with definitions
22520 copied from old default values of `font-lock-warning-face',
22521 `compilation-warning', `compilation-info' (bug#6117).
22522
22523 * font-lock.el (font-lock-warning-face): Inherit from `error'.
22524
22525 * progmodes/compile.el (compilation-error): Inherit from `error'.
22526 (compilation-warning): Inherit from `warning'.
22527 (compilation-info): Inherit from `success'.
22528
22529 * dired.el (dired-marked): Inherit from `warning'.
22530 (dired-flagged): Inherit from `error'.
22531
22532 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22533
22534 * mail/smtpmail.el (auth-source): Require to avoid problems with
22535 binding variables (bug#9298). Also clean up some unused
22536 autoloads.
22537
22538 * net/network-stream.el (network-stream-open-starttls):
22539 Support using starttls.el without using gnutls-cli.
22540
22541 2011-08-17 Juri Linkov <juri@jurta.org>
22542
22543 * progmodes/grep.el (rgrep): Handle the case when
22544 `grep-find-command' is a cons cell (bug#9278).
22545
22546 2011-08-17 Martin Rudalics <rudalics@gmx.at>
22547
22548 * window.el (display-buffer-pop-up-frame): Run frame creation
22549 function with BUFFER current (as special-display-popup-frame
22550 does). Reported by Drew Adams.
22551
22552 2011-08-17 Daiki Ueno <ueno@unixuser.org>
22553
22554 * epa-mail.el: Simplify GnuPG group expansion using
22555 epg-expand-group.
22556 (epa-mail-group-alist, epa-mail-group-modtime)
22557 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
22558 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
22559 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
22560 Remove.
22561
22562 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
22563
22564 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
22565
22566 2011-08-16 Alan Mackenzie <acm@muc.de>
22567
22568 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
22569 Correct, to avoid the inside of macros.
22570
22571 2011-08-16 Richard Stallman <rms@gnu.org>
22572
22573 * epa-mail.el: Handle GnuPG group definitions.
22574 (epa-mail-group-alist, epa-mail-group-modtime)
22575 (epa-mail-gnupg-conf-file): New variables.
22576 (epa-mail-parse-groups, epa-mail-sync-groups)
22577 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
22578 (epa-mail-expand-recipients): New functions.
22579 (epa-mail-encrypt): Call epa-mail-expand-recipients.
22580
22581 * mail/rmail.el (rmail-epa-decrypt): New command.
22582
22583 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
22584 Don't bind buffer-read-only, just inhibit-read-only.
22585 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
22586 (epa-decrypt-armor-in-region): Make error message clearer.
22587
22588 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
22589
22590 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
22591 and "a2b" to "ab" for `prefix'.
22592
22593 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
22594
22595 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
22596 filter groups.
22597 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
22598 Fourquet (Bug#8804).
22599
22600 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
22601
22602 * startup.el (argi): Declare as global variable (bug#9275).
22603
22604 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
22605
22606 * subr.el (string-mark-left-to-right): Search the entire string
22607 for RTL script, not just the terminating character. Doc fix.
22608
22609 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
22610
22611 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
22612 New function.
22613 (js--regexp-literal, js-syntax-propertize-function): Remove.
22614 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
22615 (js-mode-map): Don't rebind electric keys.
22616 (js-insert-and-indent): Remove.
22617 (js-mode): Setup electric-layout and electric-indent instead.
22618
22619 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
22620
22621 2011-08-12 Daiki Ueno <ueno@unixuser.org>
22622
22623 * epa.el (epa-progress-callback-function): Fix the logic of
22624 displaying progress.
22625 * epa-file.el (epa-file-insert-file-contents): Make progress
22626 display more user-friendly.
22627 (epa-file-write-region): Ditto.
22628
22629 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
22630
22631 * subr.el (string-mark-left-to-right): New function.
22632
22633 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
22634 Use string-mark-left-to-right.
22635 (list-buffers-noselect): Caller changed.
22636
22637 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22638 Use string-mark-left-to-right.
22639 (tabulated-list-print): Recenter after moving point.
22640
22641 2011-08-10 Juri Linkov <juri@jurta.org>
22642
22643 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
22644 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
22645 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
22646
22647 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
22648
22649 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
22650 (Bug#7554).
22651
22652 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
22653
22654 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
22655 character. (Bug#6594)
22656
22657 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
22658
22659 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
22660 (image-dired--with-db-file): New macro.
22661 (image-dired-write-tags, image-dired-remove-tag)
22662 (image-dired-create-gallery-lists, image-dired-write-comments)
22663 (image-dired-get-comment, image-dired-mark-tagged-files)
22664 (image-dired-list-tags, image-dired-gallery-generate): Use it.
22665 (image-dired-gallery-generate): Use insert-file-contents.
22666
22667 * time.el (display-time-world-list, display-time-world-display):
22668 * time-stamp.el (time-stamp-string):
22669 * vc/add-log.el (add-change-log-entry): Use setenv instead of
22670 set-time-zone-rule (Bug#7337).
22671
22672 2011-08-08 Daiki Ueno <ueno@unixuser.org>
22673
22674 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
22675 (epg-error-to-string, epg-errors-to-string): New function.
22676 (epg-wait-for-completion): Reverse errors list.
22677 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
22678 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
22679 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
22680 (epg-sign-keys, epg-generate-key-from-file)
22681 (epg-generate-key-from-string): Format errors by using
22682 epg-errors-to-string (bug#9255).
22683 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
22684
22685 2011-08-07 Juri Linkov <juri@jurta.org>
22686
22687 * faces.el (list-faces-display): Remove extra angle bracket
22688 from `help-mode-map'.
22689
22690 * info.el (Info-history-toc-nodes): Doc fix.
22691
22692 * longlines.el (longlines-mode): Doc fix.
22693
22694 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
22695
22696 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
22697 of statements and in a few more cases (bug#9183).
22698
22699 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
22700 New functions.
22701 (cl-transform-lambda): Use them (bug#9239).
22702
22703 2011-08-05 Martin Rudalics <rudalics@gmx.at>
22704
22705 * window.el (display-buffer-same-window)
22706 (display-buffer-same-frame, display-buffer-other-window)
22707 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22708 (pop-to-buffer-other-window)
22709 (pop-to-buffer-same-frame-other-window)
22710 (pop-to-buffer-other-frame): Make them defuns.
22711 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
22712
22713 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
22714
22715 * subr.el (make-composed-keymap): Move from C. Change calling
22716 convention, and improve docstring to bring attention to a subtle point.
22717 * minibuffer.el (completing-read-default): Adjust accordingly.
22718
22719 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
22720
22721 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
22722 (tramp-open-shell): Use `tramp-shell-quote-argument'.
22723
22724 * net/trampver.el: Update release number.
22725
22726 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
22727
22728 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
22729 "in" (bug#9190).
22730
22731 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22732
22733 * mail/sendmail.el (sendmail-query-once): Restore the current
22734 buffer after querying (bug#9074).
22735
22736 * dired.el (dired-flagged): Use different faces for marked and
22737 flagged files (bug#6117).
22738
22739 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
22740 (bug#4433).
22741
22742 * ido.el (ido-mode): Switch off the message if called
22743 non-interactively.
22744
22745 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
22746 before 587, since it appears that that's more likely to work for
22747 more people.
22748
22749 * cus-edit.el (custom-file): When running under emacs -q, always
22750 refuse to save the customizations, even if the .emacs file doesn't
22751 exist.
22752
22753 * info.el: Remove the `Info-beginning-of-buffer' function
22754 (bug#8325).
22755
22756 * net/network-stream.el (network-stream-open-starttls):
22757 Use `starttls-available-p' to see whether starttls.el can be used.
22758
22759 2011-08-01 Martin Rudalics <rudalics@gmx.at>
22760
22761 * window.el (display-buffer-in-window): Don't set dedicated status
22762 of window here (Bug#9215).
22763 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
22764 (display-buffer-pop-up-side-window)
22765 (display-buffer-in-side-window): Set dedicated status of window here.
22766
22767 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
22768
22769 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
22770 before binding generated-autoload-file.
22771
22772 2011-08-01 Deniz Dogan <deniz@dogan.se>
22773
22774 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
22775
22776 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
22777
22778 Sync with Tramp 2.2.2.
22779
22780 * net/trampver.el: Update release number.
22781
22782 2011-07-30 Juri Linkov <juri@jurta.org>
22783
22784 * dired-aux.el (dired-touch-initial): Remove function.
22785 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
22786 current time, and `default' to the last modification time of the
22787 current marked file (bug#6887).
22788
22789 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
22790
22791 * simple.el (goto-line): Use string-to-number to provide a
22792 numeric argument to read-number (bug#9163).
22793
22794 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
22795
22796 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
22797 connection process, it could be nil.
22798
22799 2011-07-27 Leo Liu <sdl.web@gmail.com>
22800
22801 Simplify url handling in rcirc-mode.
22802
22803 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
22804 (rcirc-browse-url-at-mouse): Remove.
22805 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
22806
22807 2011-07-26 Alan Mackenzie <acm@muc.de>
22808
22809 Fontify bitfield declarations properly.
22810
22811 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
22812 (c-symbol-chars): Now exported as a lang variable.
22813 (c-not-primitive-type-keywords): New lang variable.
22814
22815 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
22816 QT keyword "more" to prevent "more slots: ...." being spuriously
22817 parsed as a bitfield declaration.
22818
22819 * progmodes/cc-engine.el (c-beginning-of-statement-1):
22820 Refactor and enhance to handle bitfield declarations.
22821 (c-punctuation-in): New function.
22822 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
22823 declarations properly.
22824
22825 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
22826
22827 * calendar/icalendar.el (icalendar--all-events): Take care of
22828 multiple vcalendars in a single file.
22829 (icalendar--convert-float-to-ical): Checkdoc fixes.
22830
22831 2011-07-25 Deniz Dogan <deniz@dogan.se>
22832
22833 * image.el (insert-image): Clarifying docstring.
22834
22835 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
22836
22837 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
22838 `tramp-send-command-and-check' if there is no error.
22839 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
22840
22841 2011-07-22 Alan Mackenzie <acm@muc.de>
22842
22843 Prevent cc-langs.elc being loaded at run time.
22844
22845 * progmodes/cc-mode.el: Remove two autoload forms which loaded
22846 cc-langs.
22847
22848 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
22849 "(require 'cc-langs)". Quote a form so it will evaluate at
22850 (cc-mode's) compilation time.
22851
22852 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
22853
22854 * net/tramp.el (tramp-file-name-handler): Avoid recursive
22855 loading. (Bug#9114)
22856
22857 2011-07-21 Martin Rudalics <rudalics@gmx.at>
22858
22859 * window.el (display-buffer-pop-up-window)
22860 (display-buffer-pop-up-side-window)
22861 (display-buffer-in-side-window): Call display-buffer-set-height
22862 and display-buffer-set-width after setting the new window's
22863 buffer so `fit-window-to-buffer' and friends work on the right buffer.
22864
22865 2011-07-20 Sam Steingold <sds@gnu.org>
22866
22867 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
22868 (etags-tags-included-tables): Call `convert-standard-filename' on
22869 the file names contained in TAGS so that windows Emacs can handle
22870 TAGS files created by cygwin ctags.
22871
22872 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
22873
22874 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
22875 which apparently didn't work.
22876
22877 2011-07-19 Roland Winkler <winkler@gnu.org>
22878
22879 * proced.el (proced-send-signal): For *Marked Processes* buffer
22880 put point at beginning of buffer.
22881
22882 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
22883
22884 * proced.el (proced-format): Make header lines align with the text
22885 (bug#1779).
22886
22887 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22888
22889 * view.el (view-buffer): Allow running in `special' modes if we're
22890 visiting a file (bug#8615).
22891
22892 2011-07-19 Martin Rudalics <rudalics@gmx.at>
22893
22894 * window.el (display-buffer-alist-of-strings-p)
22895 (display-buffer-alist-set-1, display-buffer-alist-set-2):
22896 New functions.
22897 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
22898 more accurately.
22899
22900 2011-07-18 Alan Mackenzie <acm@muc.de>
22901
22902 Fontify declarators properly when, e.g., a jit-lock chunk begins
22903 inside a declaration.
22904
22905 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
22906
22907 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
22908 New function.
22909 (c-complex-decl-matchers): Insert reference to
22910 c-font-lock-enclosing-decls.
22911
22912 * progmodes/cc-engine.el (c-backward-single-comment):
22913 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
22914 to nil around calls to (forward-comment -1).
22915
22916 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22917
22918 * image.el (put-image): Doc typo fix.
22919
22920 * progmodes/etags.el (tags-search): Doc typo fix.
22921
22922 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
22923 password if we get errors 550 to 554.
22924
22925 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
22926
22927 * net/gnutls.el (gnutls-log-level): Remove.
22928
22929 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
22930 indentation character (bug#6380).
22931
22932 * files.el (buffer-offer-save): Made permanently local (bug#6241).
22933
22934 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
22935 to clarify what the problem is (bug#4291).
22936
22937 * simple.el (current-kill): Clarify what
22938 `interprogram-paste-function' does (bug#7500).
22939 (auto-fill-mode): Document `auto-fill-function' in relation to
22940 `auto-fill-mode' (bug#2470).
22941
22942 2011-07-16 Lawrence Mitchell <wence@gmx.li>
22943
22944 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
22945 method if slot is read-only (bug#9035).
22946
22947 2011-07-16 Martin Rudalics <rudalics@gmx.at>
22948
22949 * frame.el (select-frame-set-input-focus): New argument NORECORD.
22950 * window.el (pop-to-buffer): Select window used even if it was
22951 selected before, see discussion of (Bug#8615), (Bug#6954).
22952 Pass argument NORECORD on to select-frame-set-input-focus.
22953
22954 2011-07-15 Glenn Morris <rgm@gnu.org>
22955
22956 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
22957 Respect help-form.
22958
22959 2011-07-09 Lawrence Mitchell <wence@gmx.li>
22960
22961 * net/gnutls.el (gnutls-min-prime-bits): New variable.
22962 (gnutls-negotiate): Use it.
22963
22964 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22965
22966 * net/gnutls.el (gnutls-negotiate):
22967 Upcase `gnutls-algorithm-priority'.
22968
22969 2011-07-15 Glenn Morris <rgm@gnu.org>
22970
22971 * jka-compr.el (jka-compr-verbose): Move from here...
22972 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
22973 Add missing :version tag.
22974 * info.el: No need to require jka-compr when compiling.
22975
22976 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22977
22978 * net/gnutls.el (gnutls-algorithm-priority): New variable.
22979 (gnutls-negotiate): Use it.
22980
22981 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
22982
22983 * info.el (Info-beginning-of-buffer): New command.
22984 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
22985 announcing `b' as the key (bug#8325).
22986 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
22987
22988 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
22989
22990 * international/mule-cmds.el
22991 (describe-specified-language-support): Make the error message
22992 clearer (bug#8905).
22993
22994 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
22995
22996 * isearch.el (isearch-barrier): Add a doc string, since it's
22997 mentioned in a function doc string (bug#8678).
22998
22999 2011-07-15 Martin Rudalics <rudalics@gmx.at>
23000
23001 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
23002 buffer argument (Bug#9083) and self-identifying label argument.
23003
23004 2011-07-15 Glenn Morris <rgm@gnu.org>
23005
23006 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
23007
23008 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
23009
23010 * man.el (Man-fontify-manpage): Fix message when formatting the
23011 man page (bug#7929).
23012
23013 2011-07-14 Eli Zaretskii <eliz@gnu.org>
23014
23015 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
23016 argument LRM; if non-nil, append an invisible LRM character to the
23017 buffer name.
23018 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
23019 last argument non-nil, when formatting buffer names.
23020 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
23021 paragraph direction.
23022
23023 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
23024
23025 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
23026 the man page name (bug#7929).
23027
23028 * image.el (put-image): Mention the `put-image' overlay property
23029 (bug#7834).
23030
23031 * scroll-bar.el (set-scroll-bar-mode): Mention that
23032 `scroll-bar-mode' lists the values (bug#7772).
23033
23034 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
23035 command (bug#7729).
23036
23037 * rect.el (apply-on-rectangle): Return the point after the last
23038 operation.
23039 (string-rectangle): Go to the point after the last operation
23040 (bug#7522).
23041
23042 * printing.el (pr-toggle-region): Clarify the documentation
23043 slightly (bug#7493).
23044
23045 * time.el (display-time-update):
23046 Allow `display-time-mail-function' to return nil (bug#7158).
23047 Fix suggested by Detlev Zundel.
23048
23049 * vc/diff.el (diff): Clarify the order the file names are read
23050 (bug#7111).
23051
23052 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
23053 the doc string (bug#7015).
23054
23055 * font-lock.el (font-lock-maximum-decoration): Mention what
23056 numeric levels mean (bug#6935).
23057
23058 * startup.el (initial-buffer-choice): Don't mention the `none'
23059 selection, which is against policy.
23060
23061 2011-07-14 Martin Rudalics <rudalics@gmx.at>
23062
23063 * window.el (display-buffer-normalize-special):
23064 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
23065
23066 2011-07-14 Eli Zaretskii <eliz@gnu.org>
23067
23068 * subr.el (version<, version<=, version=): Mention "-CVS" and
23069 "-12345" alpha version numbers.
23070
23071 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
23072
23073 * bindings.el: Add advertised binding for set-mark-command
23074 (Bug#5772).
23075
23076 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
23077
23078 * bindings.el (mode-line-other-buffer):
23079 * bookmark.el (bookmark-bmenu-2-window):
23080 * bs.el (bs-cycle-next, bs-cycle-previous):
23081 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
23082 switch-to-buffer.
23083
23084 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
23085 Delete.
23086
23087 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
23088
23089 * follow.el (follow-debug-message, follow-redisplay):
23090 * jka-cmpr-hook.el (with-auto-compression-mode):
23091 Fix typos in docstrings.
23092
23093 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23094
23095 * subr.el (with-silent-modifications): Clarify somewhat what the
23096 macro inhibits (bug#6525).
23097
23098 * simple.el (eval-expression): Note what it does if called
23099 interactively (bug#6495).
23100
23101 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
23102
23103 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
23104 Use pop-to-buffer buffer-or-name if it is nil.
23105
23106 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
23107 Remove switch-to-buffer.
23108
23109 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23110
23111 * files.el (make-directory): Clarify that an error will be raised
23112 if there's an error (bug#6397).
23113
23114 * startup.el (initial-buffer-choice): Add `none' as a choice
23115 (bug#6234).
23116
23117 * subr.el (add-hook): Clarify section about buffer-local hooks
23118 (bug#6218).
23119
23120 * dired.el (dired-flagged): Clarify doc string (bug#6117).
23121
23122 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
23123
23124 * tabify.el (untabify): Preserve the current column so that point
23125 doesn't move (bug#6032).
23126
23127 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23128
23129 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
23130 Rewrite to avoid awkward possessive "s" (bug#5986).
23131
23132 2011-07-13 Glenn Morris <rgm@gnu.org>
23133
23134 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
23135 (dired-insert-directory): Give a message the first time
23136 if ls is found not to support --dired.
23137
23138 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23139
23140 * simple.el (toggle-truncate-lines): Clarify what is toggled
23141 (bug#5580). Text by Drew Adams.
23142
23143 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
23144
23145 * simple.el (blink-matching-open): Make the error message from the
23146 last change less verbose.
23147
23148 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
23149
23150 * font-lock.el (font-lock-comment-face): Use the high contrast
23151 "yellow" color for font-lock-comment-face on low color terminals
23152 using a dark background color (bug#4221).
23153
23154 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23155
23156 * dired.el (dired-insert-set-properties): Make the doc string
23157 reflect what it does now (bug#5325).
23158
23159 * simple.el (blink-matching-open): Say that we were unable to find
23160 the match within the limit, if we're limited (bug#5122).
23161
23162 * international/mule-cmds.el (prefer-coding-system): Add an
23163 example (bug#4869).
23164
23165 * progmodes/etags.el (tags-search): Document `file-list-form'
23166 (bug#4731).
23167
23168 2011-07-13 Lawrence Mitchell <wence@gmx.li>
23169
23170 * net/browse-url.el (browse-url-default-browser)
23171 (browse-url-browser-function): Make the default browser choice a
23172 bit more logical (bug#4300). Also clean up the doc string.
23173
23174 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
23175
23176 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
23177 binary endings (bug#4440).
23178
23179 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
23180
23181 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
23182 which can be pretty annoying (bug#8971).
23183
23184 * jka-compr.el (jka-compr-verbose): New variable, and use
23185 throughout (bug#8971).
23186
23187 * info.el (Info-find-file): Fall back on the installation
23188 directory if we can't find the info node anywhere else.
23189
23190 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
23191
23192 * vc/vc.el (vc-revert-file):
23193 Don't set file time-stamp in the past. (Bug#5181)
23194
23195 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23196
23197 * files.el (after-find-file): Give a better error message when
23198 trying to find a symlink that points to a file that doesn't exist
23199 (bug#4398).
23200
23201 * progmodes/cc-vars.el: Remove (probably) misleading comment
23202 (bug#4396).
23203
23204 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
23205
23206 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
23207
23208 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
23209
23210 * mouse-sel.el: Hack restoring functionality, while keeping
23211 compatibility with 2010-07-03 changes to mouse selection.
23212 (mouse-sel-primary-overlay): New var.
23213 (mouse-sel-selection-alist): Use it.
23214 (mouse-sel-mode): Doc fix; remove points that are default features
23215 of mouse.el.
23216
23217 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
23218
23219 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23220 Fix previous fix (bug#2490).
23221
23222 2011-07-12 Roland Winkler <winkler@gnu.org>
23223
23224 * textmodes/bibtex.el (bibtex-initialize):
23225 Use pop-to-buffer-same-window.
23226 (bibtex-search-entries): Fix interactive call.
23227
23228 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23229
23230 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23231 Fontise bytecomp Error lines more correctly (bug#2490).
23232 Fix suggested by Johan BockgĂ¥rd.
23233
23234 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
23235
23236 * dired-x.el (dired-guess-default): Use `delete-dups'.
23237
23238 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
23239
23240 * dired.el (dired-mark-prompt):
23241 * dired-aux.el (dired-read-shell-command): Doc fix.
23242
23243 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
23244
23245 * mail/sendmail.el (sendmail-query-once):
23246 Use `customize-save-variable' unconditionally, now that it works under
23247 emacs -Q.
23248
23249 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
23250
23251 * cus-edit.el (custom-file): Take an optional no-error variable.
23252 (customize-save-variable): Set the variable, and give a warning if
23253 running under "emacs -q".
23254
23255 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
23256
23257 * loadhist.el (unload-feature-special-hooks):
23258 Add `auto-coding-functions', `fill-nobreak-predicate' and
23259 `find-directory-functions' (bug#5327).
23260
23261 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
23262
23263 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
23264
23265 * cus-edit.el (custom-guess-name-alist): -alist variables should
23266 use the `alist' type (bug#3120). Suggested by Drew Adams.
23267
23268 * printing.el: Add documentation to all the `pr-toggle-' commands.
23269
23270 2011-07-11 Leo Liu <sdl.web@gmail.com>
23271
23272 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
23273 backends where it makes sense (bug#2623).
23274
23275 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
23276
23277 * dired-x.el (dired-guess-default): Remove duplicate shell command
23278 entries (bug#2028).
23279 (dired-guess-default): Fix grammar in doc string (bug#2028).
23280 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
23281
23282 * subr.el (remove-duplicates): New conveniency function.
23283
23284 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
23285
23286 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
23287 (bug#1526).
23288
23289 2011-07-10 Martin Rudalics <rudalics@gmx.at>
23290
23291 * window.el (display-buffer-normalize-default): Don't invert
23292 meaning of even-window-heights. Reported by Eli Zaretskii
23293 <eliz@gnu.org>.
23294
23295 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
23296
23297 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
23298
23299 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
23300
23301 * window.el (display-buffer): Fix arguments to
23302 display-buffer-reuse-window in last change.
23303
23304 * faces.el (link): Use a less saturated blue on light backgrounds.
23305
23306 * startup.el (fancy-startup-text, fancy-about-text)
23307 (fancy-startup-tail): Use font-lock faces, for background safety.
23308
23309 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
23310
23311 * emulation/viper-cmd.el (viper-change-state-to-vi):
23312 Limit triggering of abbrev expansion (Bug#9038).
23313
23314 2011-07-09 Martin Rudalics <rudalics@gmx.at>
23315
23316 * window.el (display-buffer-default-specifiers): Remove.
23317 (display-buffer-macro-specifiers): Remove default specifiers.
23318 (display-buffer-alist): Default to nil.
23319 (display-buffer-reuse-window): New optional argument other-window.
23320 (display-buffer-pop-up-window): Allow splitting internal
23321 windows. Check whether a live window was created.
23322 (display-buffer-other-window-means-other-frame)
23323 (display-buffer-normalize-arguments): Rename to
23324 display-buffer-normalize-argument and rewrite. Set the
23325 other-window specifier.
23326 (display-buffer-normalize-special): New function.
23327 (display-buffer-normalize-options): Rename to
23328 display-buffer-normalize-default and rewrite.
23329 (display-buffer-normalize-options-inhibit): Remove.
23330 (display-buffer-normalize-specifiers): Rewrite.
23331 (display-buffer): Process other-window specifier and call
23332 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
23333 more faithfully.
23334 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
23335 (display-buffer-alist-set): Don't handle 'unset default values.
23336 (display-buffer-in-window, display-buffer-alist-set):
23337 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
23338 <tassilo@member.fsf.org>.
23339
23340 2011-07-09 Leo Liu <sdl.web@gmail.com>
23341
23342 * register.el (insert-register): Restore accidental change on
23343 2011-06-26. (Bug#9028)
23344
23345 2011-07-09 Glenn Morris <rgm@gnu.org>
23346
23347 * subr.el (remq): Handle the empty list. (Bug#9024)
23348
23349 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
23350
23351 * mail/sendmail.el (send-mail-function): No longer delay custom
23352 initialization.
23353 * custom.el (custom-initialize-delay): Doc fix.
23354
23355 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
23356
23357 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
23358
23359 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
23360
23361 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
23362 human-friendly prompt.
23363
23364 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
23365
23366 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
23367 provided by a particular plugin.
23368
23369 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
23370
23371 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
23372 save customizations (with "emacs -Q"), just set the variable
23373 instead of erroring out.
23374
23375 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
23376
23377 2011-07-08 Juri Linkov <juri@jurta.org>
23378
23379 * arc-mode.el (archive-zip-expunge, archive-zip-update)
23380 (archive-zip-update-case): Use 7z if found by `executable-find'.
23381 The order of searching the available programs is the same as in
23382 `archive-zip-extract' (bug#8968).
23383
23384 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
23385
23386 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
23387 (menu-bar-options-menu): Tweak descriptions.
23388
23389 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
23390
23391 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
23392 menu items into verb phrases (bug#1421). Also refill to fit under
23393 80 columns.
23394
23395 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
23396
23397 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
23398 (Info-read-node-name): Doc fix (Bug#1084).
23399
23400 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
23401 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
23402 (end-of-sexp, beginning-of-sexp)
23403 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
23404 (forward-symbol, forward-same-syntax, word-at-point)
23405 (sentence-at-point): Doc fix (Bug#1144).
23406
23407 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
23408
23409 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
23410 should cover it (bug#1281).
23411
23412 * cus-edit.el (custom-show): Mark as obsolete.
23413
23414 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
23415 negotiation fails, then possibly try again with a non-encrypted
23416 connection (bug#9017).
23417
23418 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
23419 be used.
23420
23421 2011-07-07 Richard Stallman <rms@gnu.org>
23422
23423 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
23424 property, and handle its changed format.
23425 Look for the correct line number.
23426 Use file's line contents (but not past first =) to find
23427 correct line in message.
23428
23429 2011-07-07 Kenichi Handa <handa@m17n.org>
23430
23431 * international/characters.el (build-unicode-category-table):
23432 Delete it.
23433 (unicode-category-table): Set it by unicode-property-table-internal.
23434
23435 * international/mule-cmds.el (char-code-property-alist): Move to
23436 to src/chartab.c.
23437 (get-char-code-property): Call unicode-property-table-internal to
23438 load a file. Call get-unicode-property-internal where necessary.
23439 (put-char-code-property): Call unicode-property-table-internal to
23440 load a file. Call put-unicode-property-internal where necessary.
23441 put-unicode-property-internal where necessary.
23442 (char-code-property-description):
23443 Call unicode-property-table-internal to load a file.
23444
23445 * international/charprop.el:
23446 * international/uni-bidi.el:
23447 * international/uni-category.el:
23448 * international/uni-combining.el:
23449 * international/uni-comment.el:
23450 * international/uni-decimal.el:
23451 * international/uni-decomposition.el:
23452 * international/uni-digit.el:
23453 * international/uni-lowercase.el:
23454 * international/uni-mirrored.el:
23455 * international/uni-name.el:
23456 * international/uni-numeric.el:
23457 * international/uni-old-name.el:
23458 * international/uni-titlecase.el:
23459 * international/uni-uppercase.el: Regenerate.
23460
23461 * loadup.el: Load international/charprop.el before
23462 international/characters.
23463
23464 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
23465
23466 * window.el (next-buffer, previous-buffer): Signal an error if
23467 called from a minibuffer window.
23468
23469 * bindings.el: Revert 2011-07-04 change.
23470
23471 2011-07-06 Richard Stallman <rms@gnu.org>
23472
23473 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
23474 (rmail-mime-insert-bulk, rmail-mime-insert-text):
23475 Treat markers like ints.
23476 (rmail-mime-entity): Doc fix.
23477
23478 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
23479
23480 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
23481 defcustom again for backwards compatibility.
23482
23483 * simple.el (shell-command-on-region): Fill.
23484
23485 * dired-aux.el (dired-kill-line): Add a doc string.
23486
23487 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
23488 to "\\sw\\|\\s_" (bug#358).
23489
23490 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
23491 (dired-unmark-backward): Ditto.
23492 (dired-flag-backup-files): Ditto.
23493
23494 * dired-x.el (dired-mark-sexp): Ditto.
23495
23496 2011-07-06 Richard Stallman <rms@gnu.org>
23497
23498 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
23499 (rmail-mime-entity): New arg TRUNCATED.
23500 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
23501 New functions.
23502 (rmail-mime-save): Warn if entity is truncated.
23503 (rmail-mime-toggle-hidden): Likewise, for showing.
23504 (rmail-mime-process-multipart): Record when an entity is truncated.
23505
23506 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
23507 if ENTITY is a string.
23508
23509 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
23510
23511 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
23512 of faces when `M-C-x'-ing their definitions (bug#8378).
23513 Also clean up the code slightly.
23514
23515 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
23516 because that makes the colors go away.
23517
23518 * mail/sendmail.el (send-mail-function): Change the default to
23519 `sendmail-query-once'.
23520 (sendmail-query-once): Add an autoload cookie.
23521
23522 * net/network-stream.el (network-stream-open-starttls): Try using
23523 a plain connection even if the server offered STARTTLS, and we
23524 kinda wanted to use it, if Emacs doesn't have any STARTTLS
23525 capability. This should make smtpmail.el work in slightly more
23526 configurations.
23527
23528 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
23529
23530 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
23531 New defun.
23532 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
23533
23534 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
23535
23536 * progmodes/sql.el: Version 3.0
23537 (sql-product-alist): Add product :completion-object,
23538 :completion-column, and :statement attributes.
23539 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
23540 (sql-mode-syntax-table): Mark all punctuation.
23541 (sql-font-lock-keywords-builder): Temporarily remove fallback on
23542 ansi keywords.
23543 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
23544 (sql-mode-oracle-font-lock-keywords): Improve.
23545 (sql-oracle-show-reserved-words): New function for development.
23546 (sql-product-font-lock): Simplify for source code buffers.
23547 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
23548 New functions.
23549 (sql-highlight-product): Set product specific syntax table.
23550 (sql-mode-map): Add statement movement functions.
23551 (sql-ansi-statement-starters, sql-oracle-statement-starters):
23552 New variable.
23553 (sql-statement-regexp, sql-beginning-of-statement)
23554 (sql-end-of-statement, sql-signum): New functions.
23555 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
23556 (sql-show-sqli-buffer): Bug fix.
23557 (sql-interactive-mode): Store connection data as buffer local.
23558 (sql-connect): Add NEW-NAME parameter. Redesign interaction
23559 with sql-interactive-mode.
23560 (sql-save-connection): Save buffer local settings.
23561 (sql-connection-menu-filter): Change menu entry name.
23562 (sql-product-interactive): Bug fix.
23563 (sql-preoutput-hold): New variable.
23564 (sql-interactive-remove-continuation-prompt): Bug fixes.
23565 (sql-debug-redirect): New variable.
23566 (sql-str-literal): New function.
23567 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
23568 Redesign.
23569 (sql-oracle-save-settings, sql-oracle-restore-settings)
23570 (sql-oracle-list-all, sql-oracle-list-table): New functions.
23571 (sql-completion-object, sql-completion-column)
23572 (sql-completion-sqlbuf): New variables.
23573 (sql-build-completions-1, sql-build-completions)
23574 (sql-try-completion): New functions.
23575 (sql-read-table-name): Use them.
23576 (sql-contains-names): New buffer local variable.
23577 (sql-list-all, sql-list-table): Use it.
23578 (sql-oracle-completion-types): New variable.
23579 (sql-oracle-completion-object, sql-sqlite-completion-object)
23580 (sql-postgres-completion-object): New functions.
23581
23582 2011-07-06 Glenn Morris <rgm@gnu.org>
23583
23584 * window.el (pop-to-buffer): Doc fix.
23585
23586 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
23587
23588 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
23589
23590 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
23591
23592 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
23593
23594 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
23595
23596 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
23597
23598 * button.el (button): Inherit from link face. Suggested by Dan
23599 Nicolaescu.
23600
23601 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23602
23603 * progmodes/gdb-mi.el: Fit in 80 columns.
23604 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
23605 switch-to-buffer.
23606
23607 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
23608 if imenu is simply not configured (bug#8941).
23609
23610 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
23611
23612 * allout.el (allout-post-undo-hook): New allout outline-change
23613 event hook to signal undo activity.
23614 (allout-post-command-business): Run allout-post-undo-hook if an
23615 undo just occurred.
23616 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
23617 * allout-widgets.el (allout-widgets-after-undo-function):
23618 Ensure the integrity of the current item's decoration after it has been
23619 in the vicinity of an undo.
23620 (allout-widgets-mode): Include allout-widgets-after-undo-function
23621 on the new allout-post-undo-hook.
23622
23623 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23624
23625 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
23626 Let define-derived-mode define it.
23627 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
23628 cycles of abbrev-table inheritance (bug#8998).
23629
23630 2011-07-05 Roland Winkler <winkler@gnu.org>
23631
23632 * textmodes/bibtex.el: Add support for biblatex.
23633 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
23634 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
23635 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
23636 (bibtex-entry-alist, bibtex-field-alist): New variables.
23637 (bibtex-entry-field-alist): Obsolete alias for
23638 bibtex-BibTeX-entry-alist.
23639 (bibtex-entry-alist, bibtex-field-alist): New widgets.
23640 (bibtex-set-dialect): New command.
23641 (bibtex-entry-type, bibtex-entry-head)
23642 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
23643 Bind via bibtex-set-dialect.
23644 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
23645 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
23646 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
23647 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
23648 Define via bibtex-set-dialect.
23649 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
23650 Obey bibtex-no-opt-remove-re.
23651 (bibtex-vec-push, bibtex-vec-incr): New functions.
23652 (bibtex-format-entry, bibtex-field-list)
23653 (bibtex-print-help-message, bibtex-validate)
23654 (bibtex-search-entries): Use new format of bibtex-entry-alist.
23655
23656 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23657
23658 * progmodes/compile.el (compilation-goto-locus):
23659 * net/tramp-cmds.el (tramp-append-tramp-buffers):
23660 * bs.el (bs-cycle-next, bs-cycle-previous):
23661 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
23662 * bindings.el (mode-line-other-buffer):
23663 * autoinsert.el (auto-insert):
23664 * arc-mode.el (archive-extract):
23665 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
23666
23667 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23668
23669 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
23670 Fix check of `emacs-lock-unlockable-modes'.
23671 Coerce true values of `emacs-lock--try-unlocking' to t.
23672
23673 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23674
23675 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
23676 * emacs-lock.el: New file.
23677
23678 2011-07-05 Julien Danjou <julien@danjou.info>
23679
23680 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
23681 than `boundp' to check if face is set.
23682
23683 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23684
23685 * register.el (registerv-make):
23686 * window.el (window-min-height): Fix typos in docstrings.
23687
23688 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
23689
23690 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
23691 Update doc string.
23692
23693 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23694
23695 * server.el (server-execute): Catch quit and call
23696 `server-return-error' to pass the error back to emacsclient and
23697 close the connection (bug#8942).
23698
23699 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
23700
23701 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
23702 insecure exception for current topic. Also note that auto-saves
23703 are handled differently.
23704
23705 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
23706 State variables for tracking auto-save inhibition situation.
23707
23708 (allout-write-contents-hook-handler): Rename from
23709 'allout-write-file-hook-handler', and describe how it depends on
23710 write-contents-functions sensitivity to non-nil value to prevent
23711 file write.
23712
23713 (allout-auto-save-hook-handler): Remove. auto-save does not check
23714 this in individual buffers, only in the starting buffer, so this
23715 is not the right way for us to inhibit auto-save in a buffer
23716 according to its condition.
23717
23718 (allout-mode): Use new allout-write-contents-hook-handler, and
23719 only with write-contents-functions. Remove auto-save provisions -
23720 they're implemented elsewhere.
23721
23722 (allout-before-change-handler): If undo is in progress, note that
23723 for attention of allout-post-command-business.
23724
23725 (allout-post-command-business): If the command we're following was
23726 an undo, check for change in the status of encrypted items and
23727 adjust auto-save inhibitions accordingly.
23728
23729 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
23730 according to whether there are or aren't any plain-text topics
23731 pending encryption.
23732
23733 (allout-inhibit-auto-save-info-for-decryption):
23734 Adjust buffer-saved-size and some allout state to inhibit auto-saves
23735 if there are plain-text topics pending encryption.
23736
23737 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
23738 buffer-saved-size and some allout state to not inhibit auto-saves
23739 if there are no longer any plain-text topics pending encryption.
23740
23741 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
23742 No longer provide for exemption of the current topic.
23743
23744 2011-07-04 Juri Linkov <juri@jurta.org>
23745
23746 Add 7z operations to delete and save changed members (bug#8968).
23747 * arc-mode.el (archive-7z-expunge, archive-7z-update):
23748 New defcustoms.
23749 (archive-7z-write-file-member): New function.
23750 (archive-7z-summarize): Fix the number of dashes in the
23751 listing output.
23752
23753 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
23754
23755 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
23756 (bug#8958).
23757
23758 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
23759
23760 * bindings.el: Ignore next-buffer and previous-buffer in
23761 minibuffer-local-map.
23762
23763 * font-lock.el (font-lock-builtin-face): Change light background
23764 color to dark slate blue (Bug#6693).
23765
23766 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
23767
23768 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
23769
23770 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
23771
23772 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
23773 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
23774 Add switch-to-buffer.
23775
23776 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
23777
23778 * isearch.el (isearch-search-fun-function): Clarify further the
23779 meaning of the function returned.
23780
23781 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
23782
23783 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
23784
23785 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
23786 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
23787 Use it.
23788 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
23789 `tramp-default-remote-path' does not exist.
23790 (tramp-send-command-and-read): New optional argument NOERROR.
23791 (tramp-open-connection-setup-interactive-shell)
23792 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
23793 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
23794 (tramp-process-sentinel): Flush also process' connection property.
23795 (tramp-sh-handle-start-file-process): Do not set process
23796 sentinel. It is done now ...
23797 (tramp-maybe-open-connection): ... here. (Bug#8929)
23798
23799 2011-07-04 MON KEY <monkey@sandpframing.com>
23800
23801 * play/animate.el (animate-string): Doc fixes and allow changing
23802 the buffer name (bug#5417).
23803
23804 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
23805
23806 * play/animate.el (animation-buffer-name): Rename from *animate*.
23807
23808 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
23809
23810 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
23811 This is simpler and helps future-proof the code.
23812 (timer-until): Use time-subtract and float-time.
23813 (timer--time-less-p): Use time-less-p.
23814
23815 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23816
23817 * type-break.el (timep): Use the value of `float-time' to avoid a
23818 byte-compiler warning.
23819
23820 * server.el (server-eval-and-print): Return any result, even nil.
23821
23822 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
23823
23824 * type-break.el: Accept time formats that the builtins accept.
23825 (timep, type-break-time-difference): Accept any format that
23826 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
23827 This is simpler and helps future-proof the code.
23828 (type-break-time-difference): Round rather than ignoring
23829 subseconds components.
23830
23831 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23832
23833 * info.el (Info-apropos-matches): Make non-interactive, since it
23834 doesn't seem to do anything useful as a command (bug#8829).
23835
23836 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
23837
23838 * frame.el (frame-background-mode, frame-set-background-mode):
23839 Move from faces.el.
23840 (frame-default-terminal-background): New function.
23841
23842 * custom.el (custom-push-theme): Don't record faces in `changed'
23843 theme; this doesn't work correctly for per-frame face settings.
23844 (disable-theme): Use face-set-after-frame-default to reset faces.
23845 (custom--frame-color-default): New function.
23846
23847 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23848
23849 * dired.el (dired-flagging-regexp): Remove unused variable
23850 (bug#8769).
23851
23852 2011-03-29 Kevin Ryde <user42@zip.com.au>
23853
23854 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23855 `perl-Test2' extend to match possible "fail #N" rep count
23856 (bug#8377).
23857
23858 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23859
23860 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
23861 `smtpmail-via-smtp' now returns the error instead of nil.
23862
23863 * isearch.el (isearch-search-fun-function): Clarify the doc string
23864 (bug#8101).
23865
23866 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
23867
23868 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
23869 unnecessary spaces (bug#8987).
23870
23871 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23872
23873 * net/network-stream.el (open-network-stream): Use the
23874 :end-of-capability command thoughout.
23875
23876 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
23877
23878 * net/network-stream.el (open-network-stream): Add the
23879 :end-of-capability command parameter, used by pop3.el.
23880
23881 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23882
23883 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
23884
23885 * fringe.el (fringe-query-style): Remove redundant text " (type ?
23886 for list)" (bug#6475).
23887
23888 * files.el (file-expand-wildcards): Ignore non-readable
23889 sub-directories while trying to find matches instead of signaling
23890 an error (bug#6297).
23891
23892 * man.el (Man-reference-regexp): Allow matching possible
23893 word-wrapped references (bug#6289).
23894
23895 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
23896 for consistency with the other vc buffers (bug#6197).
23897 (vc-checkin): Ditto.
23898
23899 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
23900
23901 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
23902
23903 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23904
23905 * custom.el (defcustom): Clarify that :set is only used in the
23906 Customize user interface (bug#6089).
23907
23908 * progmodes/flymake.el (flymake-mode): If the buffer isn't
23909 associated with a file, refuse to run instead of erroring out
23910 (bug#6084).
23911
23912 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
23913 the doc string, since it appears that using `fill-column' always
23914 controls the width (bug#7845).
23915
23916 * simple.el (shell-command-on-region): Say where the error output
23917 went if `shell-command-default-error-buffer' is set (bug#6857).
23918
23919 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
23920
23921 * allout.el (allout-yank-processing): Adjust cursor position for
23922 backwards-deleted space.
23923
23924 (allout-rebullet-heading): Register changes with
23925 allout-exposure-changed-hook, so the modified topic is properly
23926 decorated.
23927
23928 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23929
23930 * minibuffer.el (completion-in-region): Document PREDICATE
23931 (bug#7136).
23932
23933 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
23934 of keyword/argument pairs (bug#6904).
23935
23936 * replace.el (multi-occur):
23937 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
23938
23939 2011-07-02 Drew Adams <drew.adams@oracle.com>
23940
23941 * dired.el (dired-mark-if): Make the message about whether it's
23942 marking or unmarking clearer (bug#8523).
23943
23944 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23945
23946 * disp-table.el (display-table-print-array): New function.
23947 (describe-display-table): Use it to print the vectors more pretty
23948 (Bug#8859).
23949
23950 2011-07-02 Martin Rudalics <rudalics@gmx.at>
23951
23952 * window.el (window-state-get-1): Don't assign clone numbers.
23953 Add clone-of item to list of window parameters.
23954 (window-state-put-2): Don't process clone numbers.
23955 (display-buffer-alist): Fix doc-string.
23956
23957 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
23958
23959 * subr.el (remq): Don't allocate if it's not needed.
23960 (keymap--menu-item-binding, keymap--menu-item-with-binding)
23961 (keymap--merge-bindings): New functions.
23962 (keymap-canonicalize): Use them to refine the canonicalization.
23963 * minibuffer.el (minibuffer-local-completion-map)
23964 (minibuffer-local-must-match-map): Move initialization from C.
23965 (minibuffer-local-filename-completion-map): Move initialization from C;
23966 don't inherit from anything here.
23967 (minibuffer-local-filename-must-match-map): Make obsolete.
23968 (completing-read-default): Use make-composed-keymap to combine
23969 minibuffer-local-filename-completion-map with either
23970 minibuffer-local-must-match-map or
23971 minibuffer-local-filename-completion-map.
23972
23973 2011-07-01 Glenn Morris <rgm@gnu.org>
23974
23975 * type-break.el (type-break-time-sum): Use dolist.
23976
23977 * textmodes/flyspell.el (flyspell-word-search-backward):
23978 Replace CL function.
23979
23980 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23981
23982 * mouse.el (mouse--strip-first-event): New function.
23983 (function-key-map): Use it to map fringe clicks to normal clicks
23984 by default.
23985
23986 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
23987 (vc-bzr-revision-completion-table): Add support for annotate and date.
23988
23989 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
23990 inherit from parent.
23991
23992 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23993
23994 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
23995 (dired-show-file-type): Doc fixup (bug#8818).
23996
23997 * dired.el (dired-mode): Fix up the doc string as suggested by
23998 Drew Adams (bug#8817).
23999
24000 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
24001 cookie, since the manual says that it should be possible to add
24002 this function to `find-file-hook' (bug#8709).
24003
24004 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
24005
24006 * progmodes/cfengine.el: Moved all cfengine3.el functionality
24007 here. Noted Ted Zlatanov as the maintainer.
24008 (cfengine-common-settings, cfengine-common-syntax): New functions
24009 to set up common things between `cfengine-mode' and
24010 `cfengine3-mode'.
24011 (cfengine3-mode): New mode.
24012 (cfengine3-defuns cfengine3-defuns-regex
24013 (cfengine3-class-selector-regex cfengine3-category-regex)
24014 (cfengine3-vartypes cfengine3-font-lock-keywords)
24015 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
24016 (cfengine3-indent-line): Add from cfengine3.el.
24017
24018 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
24019
24020 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
24021
24022 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
24023
24024 2011-07-01 Martin Rudalics <rudalics@gmx.at>
24025
24026 * window.el (same-window-buffer-names, same-window-regexps)
24027 (same-window-p, special-display-frame-alist)
24028 (special-display-popup-frame, special-display-function)
24029 (special-display-buffer-names, special-display-regexps)
24030 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
24031 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
24032 (split-window-preferred-function, split-height-threshold)
24033 (split-width-threshold, even-window-heights)
24034 (display-buffer-mark-dedicated, window-splittable-p)
24035 (split-window-sensibly, window-safely-shrinkable-p):
24036 Un-obsolete.
24037 (display-buffer): Don't spread args with function specifier
24038 because special-display-popup-frame won't like it.
24039
24040 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
24041
24042 Time-stamp simplifications and fixes.
24043 These improve accuracy slightly, and future-proof the code
24044 against some potential changes to current-time format.
24045
24046 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
24047 by using time-since and float-time.
24048
24049 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
24050 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
24051 + NNN microseconds".
24052
24053 * type-break.el (type-break-time-sum): Rewrite using time-add.
24054
24055 * play/hanoi.el (hanoi-current-time-float): Remove.
24056 All uses replaced by float-time.
24057
24058 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
24059 This yields a more-accurate answer.
24060 (rng-time-to-float): Remove; no longer needed.
24061
24062 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
24063
24064 * calendar/timeclock.el (timeclock-seconds-to-time):
24065 Defalias to seconds-to-time, since they're the same thing.
24066
24067 * emacs-lisp/elp.el (elp-elapsed-time):
24068 * emacs-lisp/benchmark.el (benchmark-elapse):
24069 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
24070
24071 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
24072
24073 * window.el (bury-buffer): Don't iconify the only frame.
24074 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
24075 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
24076
24077 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
24078
24079 * eshell/em-smart.el (eshell-smart-display-navigate-list):
24080 Add mouse-yank-primary.
24081
24082 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
24083
24084 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
24085
24086 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
24087
24088 * emacs-lisp/find-func.el (find-library--load-name): New fun.
24089 (find-library-name): Use it to find relative load names when provided
24090 absolute file name (bug#8803).
24091
24092 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
24093
24094 * textmodes/flyspell.el (flyspell-word): Consider words that
24095 differ only in case as potential doublons (bug#5687).
24096
24097 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
24098 Remove two rather uninteresting debugging-like messages to make
24099 debbugs.el more silent.
24100
24101 * comint.el (comint-password-prompt-regexp): Accept "Response" as
24102 a password-like phrase.
24103
24104 2011-06-30 Masatake YAMATO <yamato@redhat.com>
24105
24106 * progmodes/cc-guess.el: New file.
24107
24108 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
24109
24110 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
24111 derived from `c-basic-common-init'.
24112
24113 * progmodes/cc-mode.el (top-level): Require cc-guess.
24114 (c-basic-common-init): Use `cc-choose-style-for-mode'.
24115
24116 2011-06-30 Lawrence Mitchell <wence@gmx.li>
24117
24118 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
24119
24120 2011-06-30 Alan Mackenzie <acm@muc.de>
24121
24122 * progmodes/cc-engine.el (c-guess-continued-construct):
24123 Correct the handling of template-args-cont, particularly for when font
24124 lock is disabled. Name this case as "CASE G".
24125
24126 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
24127
24128 * allout.el (allout-yank-processing): Fix injection of extra space
24129 between bullet and non-whitespace character in first topic when
24130 pasting, ensuring that the actual spacing in the pasted topic
24131 following the bullet char is preserved. This extra space was
24132 causing pasted encrypted topics to get a decrypted status even
24133 when the content was actually still encrypted. Now the decryption
24134 status from before the paste is preserved.
24135
24136 (allout-flag-region): Set all allout overlays so they evaporate
24137 when reduced to zero length (evanescent), to prevent overlay
24138 leakage.
24139
24140 2011-06-30 Glenn Morris <rgm@gnu.org>
24141
24142 * w32-fns.el (w32-charset-info-alist): Declare.
24143
24144 * find-dired.el (find-grep-options): Simplify.
24145
24146 * term/ns-win.el (ns-set-resource): Declare.
24147
24148 * ses.el (row, col): Declare dynamic variables honestly.
24149
24150 * textmodes/reftex-parse.el (index-tags): Declare.
24151
24152 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
24153
24154 * cus-edit.el (customize-push-and-save): New function.
24155
24156 * files.el (hack-local-variables-confirm): Use it.
24157
24158 * custom.el (load-theme): New arg NO-CONFIRM.
24159 Use customize-push-and-save (Bug#8720).
24160 (custom-enabled-themes): Doc fix.
24161
24162 * cus-theme.el (customize-create-theme)
24163 (custom-theme-merge-theme): Callers to load-theme changed.
24164
24165 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
24166
24167 * thingatpt.el (thing-at-point-short-url-regexp): Require that
24168 short URLs have at least one dot in them (bug #7614).
24169
24170 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
24171 nil, because using a pty is apparently too slow (bug #895).
24172
24173 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
24174
24175 * mail/sendmail.el (sendmail-query-once): New function.
24176 (sendmail-query-once-function): New variable.
24177
24178 2011-06-29 Glenn Morris <rgm@gnu.org>
24179
24180 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
24181
24182 * ses.el (top-level): Require cl when compiling.
24183 (ses-set-localvars): Fix error statement.
24184 Call it at compile time to silence a storm of warnings.
24185
24186 2011-06-29 Martin Rudalics <rudalics@gmx.at>
24187
24188 * window.el (normalize-live-buffer): Rename to
24189 window-normalize-buffer.
24190 (normalize-live-frame): Rename to window-normalize-frame.
24191 (normalize-any-window): Rename to window-normalize-any-window.
24192 (normalize-live-window): Rename to window-normalize-live-window.
24193 (make-window-atom): Rename to window-make-atom.
24194 (window-resize-reset): Rename to window--resize-reset.
24195 (window-resize-reset-1): Rename to window--resize-reset-1.
24196 (resize-mini-window): Rename to window--resize-mini-window.
24197 (resize-subwindows-skip-p): Rename to
24198 window--resize-subwindows-skip-p.
24199 (resize-subwindows-normal): Rename to
24200 window--resize-subwindows-normal.
24201 (resize-subwindows): Rename to window--resize-subwindows.
24202 (resize-other-windows): Rename to window--resize-siblings.
24203 (resize-this-window): Rename to window--resize-this-window.
24204 (resize-root-window): Rename to window--resize-root-window.
24205 (resize-root-window-vertically): Rename to
24206 window--resize-root-window-vertically.
24207 (normalize-buffer-to-display): Rename to
24208 window-normalize-buffer-to-display.
24209 (normalize-buffer-to-switch-to): Rename to
24210 window-normalize-buffer-to-switch-to.
24211 Correspondingly update all callers of the functions listed
24212 above.
24213 (display-buffer-alist, display-buffer-normalize-arguments)
24214 (display-buffer-normalize-options, display-buffer)
24215 (display-buffer-alist-set): Use "function" instead of
24216 "fun-with-args".
24217
24218 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
24219
24220 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
24221 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
24222 debbugs.gnu.org. Mention acknowledgment email.
24223
24224 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
24225
24226 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
24227 buffer multibyteness, since it shouldn't matter.
24228
24229 2011-06-28 Martin Rudalics <rudalics@gmx.at>
24230
24231 * window.el (display-buffer-in-side-window): Handle dedicated
24232 windows as in display-buffer-reuse-window.
24233 (display-buffer-normalize-alist): Use value of override
24234 specifier.
24235 (display-buffer-normalize-specifiers): Use value of
24236 other-window-means-other-frame specifier.
24237 (display-buffer-alist): Rewrite some texts in widgets.
24238 (display-buffer): Spread arguments when calling function
24239 specified by fun-with-args.
24240
24241 2011-06-28 Deniz Dogan <deniz@dogan.se>
24242
24243 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
24244 Unnest `let'.
24245
24246 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
24247 selectors (Bug#5732).
24248 (css-proprietary-nmstart-re): Use `regexp-opt'.
24249
24250 2011-06-27 Jari Aalto <jari.aalto@cante.net>
24251
24252 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
24253 (eshell-ls-date-format): New defcustom.
24254 (eshell-ls-file): Use it.
24255
24256 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
24257
24258 * help-fns.el (describe-variable): Fix message for terminal-local vars.
24259
24260 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
24261
24262 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
24263 (ange-ftp-make-tmp-name): New arg.
24264 (ange-ftp-file-local-copy): Use it.
24265
24266 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
24267
24268 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
24269 no-conversion (Bug#8870).
24270
24271 2011-06-27 Martin Rudalics <rudalics@gmx.at>
24272
24273 * window.el (window-right, window-left, window-child)
24274 (window-child-count, window-last-child)
24275 (window-iso-combination-p, walk-window-tree-1)
24276 (window-atom-check-1, window-tree-1, delete-window)
24277 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
24278 new naming conventions - window-vchild, window-hchild,
24279 window-next and window-prev are now called window-top-child,
24280 window-left-child, window-next-sibling and window-prev-sibling
24281 respectively.
24282 (resize-window-reset): Rename to window-resize-reset.
24283 (resize-window-reset-1): Rename to window-resize-reset-1.
24284 (resize-window): Rename to window-resize.
24285 (window-min-height, window-min-width)
24286 (resize-mini-window, resize-this-window, resize-root-window)
24287 (resize-root-window-vertically, adjust-window-trailing-edge)
24288 (enlarge-window, shrink-window, maximize-window)
24289 (minimize-window, delete-window, quit-restore-window)
24290 (split-window, balance-windows, balance-windows-area-adjust)
24291 (balance-windows-area, window-state-put-2)
24292 (display-buffer-even-window-sizes, display-buffer-set-height)
24293 (display-buffer-set-width, set-window-text-height)
24294 (fit-window-to-buffer): Rename all "resize-window" prefixed
24295 calls to use the "window-resize" prefix convention.
24296 (display-buffer-alist): Fix symbol for label specifier.
24297 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
24298 corresponding specifier.
24299 Reported by Juanma Barranquero <lekktu@gmail.com>.
24300
24301 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24302
24303 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
24304 convention.
24305 (ses-call-printer): Does not pass an empty string to formatter when the
24306 cell is empty to keep from barking printer Calc math-format-value.
24307
24308 2011-06-27 Richard Stallman <rms@gnu.org>
24309
24310 * battery.el (battery-mode-line-limit): New variable.
24311 (battery-update): Handle it.
24312
24313 * mail/rmailmm.el (rmail-mime-process-multipart):
24314 Handle truncated messages.
24315
24316 2011-06-27 Glenn Morris <rgm@gnu.org>
24317
24318 * progmodes/flymake.el (flymake-err-line-patterns):
24319 Allow for column numbers in the ant/javac pattern. (Bug#8866)
24320
24321 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24322
24323 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
24324 (ses--clean-!, ses--clean-_): New functions.
24325 (ses-range): Add configurability of readout order, and conversion
24326 to Calc vector.
24327
24328 * ses.el (ses-repair-cell-reference-all): New function.
24329 (ses-cell-symbol): Set macro as safe, so that it can be used in
24330 formulas.
24331
24332 * ses.el: Update cycle detection algorithm.
24333 (ses-localvars): Add ses--Dijkstra-attempt-nb and
24334 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
24335 (ses-set-localvars): New function.
24336 (ses-make-cell): Add property-list as a cell element.
24337 (ses-cell-property-get-fun, ses-cell-property-get)
24338 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
24339 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
24340 New functions.
24341 (ses-cell-property-set, ses-cell-property-pop)
24342 (ses-cell-property-get-handle): New macro.
24343 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
24344 New aliases, used for code readability.
24345 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
24346 cycle detection.
24347 (ses-self-reference-early-detection): New defcustom.
24348 (ses-formula-references): Robustify against self-referring cells.
24349 (ses-mode): Use ses-set-localvars.
24350 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
24351 before lauching the update processing.
24352 (ses-initialize-Dijkstra-attempt): New function.
24353 (ses-recalculate-cell): Update for cycle detection based on
24354 Dijkstra algorithm.
24355
24356 * ses.el: Fix commenting and indenting convention.
24357
24358 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
24359
24360 * bs.el (bs-cycle-next): Complete last change.
24361
24362 2011-06-27 Drew Adams <drew.adams@oracle.com>
24363
24364 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
24365
24366 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
24367
24368 * net/network-stream.el (network-stream-open-starttls):
24369 Don't re-get capabilities unless we've reestablished connection.
24370 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
24371
24372 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
24373 to binary to possibly avoid line encoding issues on Windows (among
24374 other things).
24375
24376 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
24377
24378 * net/network-stream.el (open-network-stream): Return an :error
24379 saying what the problem was, if possible.
24380
24381 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
24382 server.
24383
24384 * net/network-stream.el (network-stream-open-starttls): If we
24385 wanted to use STARTTLS, and the server offered it, but we weren't
24386 able to because we had no STARTTLS support, then close the connection.
24387 (open-network-stream): Return an :error element, if present.
24388
24389 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
24390
24391 * hl-line.el (hl-line-sticky-flag): Doc fix.
24392 (global-hl-line-sticky-flag): New option (Bug#8323).
24393 (global-hl-line-highlight): Obey it.
24394
24395 * vc/vc.el (vc-revert-show-diff): Default to t.
24396
24397 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
24398
24399 * allout-widgets.el (allout-widgets-post-command-business):
24400 Stop decorating intermediate isearch matches. They're not being
24401 undecorated when an isearch is continued past, and isearch
24402 automatically collapses them. This leads to "widget leaks", where
24403 decorated items accumulate in collapsed areas. Lines with lots of
24404 hidden widgets can slow down cursor travel, substantially.
24405 Too much complicated machinery would be needed to ensure undecoration,
24406 so we're doing without this nicety.
24407
24408 (allout-widgets-tally-string): Don't try to do a hash-table-count
24409 of allout-widgets-tally when it's nil. This eliminates spurious "Error
24410 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
24411 *Messages* when allout-widgets-maintain-tally is t.
24412
24413 2011-06-26 Martin Rudalics <rudalics@gmx.at>
24414
24415 * window.el (display-buffer-normalize-argument): Rename to
24416 display-buffer-normalize-arguments. Handle special meaning of
24417 LABEL argument. Respect special-display-function when popping up
24418 a new frame. Fix code searching for a window showing the buffer
24419 on another frame.
24420 (display-buffer-normalize-specifiers):
24421 Call display-buffer-normalize-arguments.
24422 (display-buffer-in-window): Don't undedicate the window if its
24423 buffer remains the same.
24424 Reported by Drew Adams <drew.adams@oracle.com>.
24425 (display-buffer-alist): Add choice for same-window macro
24426 specfier.
24427 (display-buffer): Mention special meaning of LABEL argument in
24428 doc-string. Fix quoting. Don't pop up a new frame even as
24429 fallback.
24430
24431 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
24432
24433 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
24434 avoid deleting the current window in some cases (bug#8911).
24435
24436 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
24437
24438 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
24439 (Bug#8934)
24440
24441 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
24442
24443 * net/network-stream.el (network-stream-open-starttls):
24444 Use built-in TLS support if `gnutls-available-p' is true.
24445 (network-stream-open-tls): Ditto.
24446
24447 2011-06-26 Leo Liu <sdl.web@gmail.com>
24448
24449 * register.el (registerv): New struct.
24450 (registerv-make): New function.
24451 (jump-to-register, describe-register-1, insert-register):
24452 Support the jump-func, print-func and insert-func slot of a registerv
24453 struct. (Bug#8415)
24454
24455 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
24456
24457 * vc/vc.el (vc-revert-show-diff): New defcustom.
24458 (vc-diff-internal): New arg specifying diff buffer.
24459 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
24460 reuse an existing *vc-diff* buffer (Bug#8927).
24461
24462 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
24463
24464 2011-06-26 Glenn Morris <rgm@gnu.org>
24465
24466 * progmodes/f90.el (f90-critical-indent): New option.
24467 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
24468 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
24469 (f90-mode): Doc fix.
24470 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
24471 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
24472 (f90-beginning-of-block, f90-next-block, f90-indent-region)
24473 (f90-match-end): Handle block, critical.
24474
24475 2011-06-25 Glenn Morris <rgm@gnu.org>
24476
24477 * calendar/diary-lib.el (diary-included-files): Doc fix.
24478 (diary-include-files): New function, extracted from
24479 diary-include-other-diary-files and diary-mark-included-diary-files.
24480 (diary-include-other-diary-files, diary-mark-included-diary-files):
24481 Just call diary-include-files.
24482 (diary-mark-entries): Reset diary-included-files on first call.
24483
24484 * calendar/diary-lib.el (diary-mark-entries)
24485 (diary-mark-included-diary-files):
24486 Visit included diary-files in temp buffers.
24487
24488 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
24489 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
24490 (f90-start-block-re, f90-imenu-generic-expression)
24491 (f90-looking-at-program-block-start, f90-no-block-limit):
24492 Add support for submodules.
24493
24494 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
24495 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
24496
24497 2011-06-25 Eli Zaretskii <eliz@gnu.org>
24498
24499 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
24500 buffer-file-type before setting its value, to avoid disastrous
24501 global effects on decoding files for DOS/Windows systems. (Bug#8780)
24502
24503 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
24504
24505 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
24506
24507 * ses.el (ses-unload-function):
24508 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
24509
24510 * proced.el (proced-unload-function):
24511 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
24512
24513 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
24514
24515 * server.el (server-create-window-system-frame): Add parameters arg.
24516 (server-process-filter): Doc fix. Handle frame-parameters.
24517
24518 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
24519
24520 Fix bug#8730, bug#8781.
24521
24522 * loadhist.el (unload--set-major-mode): New function.
24523 (unload-feature): Use it.
24524
24525 * progmodes/python.el (python-after-info-look): Add autoload cookie.
24526 (python-unload-function): New function.
24527
24528 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
24529
24530 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
24531
24532 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
24533
24534 * net/browse-url.el (browse-url-firefox-program): Add icecat to
24535 the candidates list.
24536
24537 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
24538
24539 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
24540
24541 2011-06-23 Richard Stallman <rms@gnu.org>
24542
24543 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
24544 (rmail-variables): Set next-error-move-function.
24545 (rmail-what-message): Take argument POS.
24546 (rmail-next-error-move): New function.
24547
24548 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
24549
24550 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
24551 messages for adjacent non-terminals.
24552
24553 2011-06-23 Richard Stallman <rms@gnu.org>
24554
24555 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
24556 (rmail-show-message-1): Preserve buffer modified flag.
24557 (rmail-start-mail): Don't specify use of rmail-mail-return;
24558 that's done by mail-bury now.
24559 (rmail-mail-return): Handle arg NEWBUF.
24560
24561 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
24562
24563 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
24564 SIZE is a number.
24565
24566 2011-06-23 Martin Rudalics <rudalics@gmx.at>
24567
24568 * window.el (get-lru-window, get-mru-window)
24569 (get-largest-window): Never return a minibuffer window.
24570 (display-buffer-pop-up-window): Fix a bug that could lead to
24571 reusing the minibuffer window.
24572 (display-buffer): Pass original specifier argument to
24573 display-buffer-function instead of the normalized one.
24574 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
24575
24576 2011-06-22 Leo Liu <sdl.web@gmail.com>
24577
24578 * minibuffer.el (completing-read-function)
24579 (completing-read-default): Move from minibuf.c.
24580
24581 2011-06-22 Richard Stallman <rms@gnu.org>
24582
24583 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
24584 to Rmail even if not started by a special Rmail command.
24585
24586 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
24587 Copy the buffer currently showing just one message.
24588
24589 2011-06-22 Roland Winkler <winkler@gnu.org>
24590
24591 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
24592 (bibtex-clean-entry): First delete the old key so that a
24593 customized algorithm for generating the new key does not get
24594 confused by the old key.
24595 (bibtex-url): Obey regexp of first step.
24596 (bibtex-search-entries): Do not use add-to-list with local
24597 list-var.
24598
24599 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
24600
24601 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
24602 stored a user name, then query for the password first, instead of
24603 waiting for SMTP to give an error message and the trying again.
24604
24605 2011-06-22 Lawrence Mitchell <wence@gmx.li>
24606
24607 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
24608 BUFFER in call-process.
24609
24610 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
24611
24612 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
24613 QUIT twice.
24614 (smtpmail-try-auth-methods): Require user name and password from
24615 auth-source.
24616
24617 2011-06-22 Martin Rudalics <rudalics@gmx.at>
24618
24619 * window.el (display-buffer-default-specifiers)
24620 (display-buffer-alist): Remove entries for pop-up-frame-alist.
24621 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
24622 (split-window): Normalize SIDE argument (Bug#8916).
24623
24624 * frame.el (pop-up-frame-alist, pop-up-frame-function)
24625 (special-display-frame-alist, special-display-popup-frame):
24626 Remove duplicate declarations. These are now in window.el.
24627
24628 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
24629
24630 * mail/smtpmail.el (smtpmail-via-smtp):
24631 Set :use-starttls-if-possible so that we always use STARTTLS if the
24632 server supports it. SMTP servers that support STARTTLS commonly
24633 require it.
24634
24635 * net/network-stream.el (network-stream-open-starttls): Support
24636 upgrading to STARTTLS always, even if we don't have built-in support.
24637 (open-network-stream): Add the :always-query-capabilities keyword.
24638
24639 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
24640 upgrades with `open-network-stream', and rely solely on
24641 auth-source for all credentials. Big changes throughout the file,
24642 but in particular:
24643 (smtpmail-auth-credentials): Remove.
24644 (smtpmail-starttls-credentials): Remove.
24645 (smtpmail-via-smtp): Check for servers saying they want AUTH after
24646 MAIL FROM, too.
24647
24648 * net/network-stream.el (network-stream-open-starttls):
24649 Provide support for client certificates both for external and built-in
24650 STARTTLS.
24651 (auth-source): Require.
24652 (open-network-stream): Document the :client-certificate keyword.
24653 (network-stream-certificate): Change cert-cert to cert and
24654 cert-key to key.
24655
24656 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
24657
24658 * net/tramp-cache.el (top): Don't load the persistency file when
24659 "emacs -Q" has been called.
24660
24661 2011-06-21 Tim Harper <timcharper@gmail.com>
24662
24663 * term/ns-win.el (ns-initialize-window-system):
24664 Set application-specific `ApplePressAndHoldEnabled' system
24665 resource to NO as it is not yet supported by the NS port.
24666
24667 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
24668
24669 * misc.el (list-dynamic-libraries--refresh): Compute header here...
24670 (list-dynamic-libraries): ...not here.
24671
24672 2011-06-21 Leo Liu <sdl.web@gmail.com>
24673
24674 * subr.el (sha1): Implement sha1 using secure-hash.
24675
24676 2011-06-21 Martin Rudalics <rudalics@gmx.at>
24677
24678 * window.el (display-buffer-alist): In default value do not
24679 enforce searching a window on any but the selected frame.
24680 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
24681 (display-buffer-select-window): Remove function.
24682 (display-buffer-in-window): When a window on another frame gets
24683 reused, do not select it any more but just raise its frame if
24684 necessary (Bug#8851) and (Bug#8856).
24685 (display-buffer-normalize-options): Handle pop-up-frames related
24686 options more faithfully.
24687 (pop-to-buffer): Don't rely on `display-buffer' selecting the
24688 window if it is on another frame.
24689 (display-buffer-alist, display-buffer-default-specifiers):
24690 Don't make new frame unsplittable by default.
24691 (display-buffer-normalize-argument): Fix doc-string typo and use
24692 'same-frame-other-window instead of 'other-window when associating
24693 with display-buffer-macro-specifiers.
24694
24695 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
24696
24697 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
24698 New functions.
24699 (5x5-mode-map, 5x5-mode-menu): Bind them.
24700 (5x5-draw-grid): Tweak the solver's rendering.
24701
24702 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
24703
24704 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
24705 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
24706
24707 2011-06-21 Drew Adams <drew.adams@oracle.com>
24708
24709 * menu-bar.el: Use function variable instead of switch-to-buffer.
24710 (menu-bar-select-buffer-function): New variable.
24711 (menu-bar-update-buffers): Use it (bug#8876).
24712
24713 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
24714
24715 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
24716 variable's status.
24717
24718 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
24719
24720 * x-dnd.el (x-dnd-version-from-flags)
24721 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
24722 and long as number (Bug#8899).
24723 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
24724
24725 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
24726
24727 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
24728 (completion-try-completion, completion-all-completions): Compute the
24729 metadata argument if it's missing; make it optional (bug#8795).
24730
24731 * wid-edit.el: Use lex-bind and move towards completion-at-point.
24732 (widget-complete): Use new :completion-function property.
24733 (widget-completions-at-point): New function.
24734 (default): Use :completion-function instead of :complete.
24735 (widget-default-completions): Rename from widget-default-complete;
24736 Rewrite.
24737 (widget-string-complete, widget-file-complete, widget-color-complete):
24738 Remove functions.
24739 (file, symbol, function, variable, coding-system, color):
24740 * international/mule-cmds.el (default-input-method, charset)
24741 (language-info-custom-alist):
24742 * cus-edit.el (face): Use new property :completions.
24743
24744 * progmodes/pascal.el (pascal-completions-at-point): New function.
24745 (pascal-mode): Use it.
24746 (pascal-mode-map): Use completion-at-point.
24747 (pascal-toggle-completions): Make obsolete.
24748 (pascal-complete-word, pascal-show-completions):
24749 * progmodes/octave-mod.el (octave-complete-symbol):
24750 Redefine as obsolete alias.
24751 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
24752 Signal absence of completion info for old Octave,
24753 (inferior-octave-complete): Redefine as obsolete alias.
24754 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
24755 (meta-completions-at-point): Rename from meta-complete-symbol and
24756 adapt it for use on completion-at-point-functions.
24757 (meta-common-mode): Use it.
24758 (meta-looking-at-backward, meta-match-buffer): Remove.
24759 (meta-complete-symbol): Redefine as obsolete alias.
24760 (meta-common-mode-map): Use completion-at-point.
24761 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
24762 (makefile-mode-map): Use completion-at-point.
24763 (makefile-completions-at-point): Rename from makefile-complete and
24764 adapt it for use on completion-at-point-functions.
24765 (makefile-mode): Use it.
24766 (makefile-complete): Redefine as obsolete alias.
24767
24768 2011-06-20 Deniz Dogan <deniz@dogan.se>
24769
24770 * net/rcirc.el: Delete trailing whitespaces once and for all.
24771
24772 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
24773
24774 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
24775
24776 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
24777
24778 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
24779
24780 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
24781
24782 2011-06-19 Martin Rudalics <rudalics@gmx.at>
24783
24784 * window.el (display-buffer-other-window-means-other-frame):
24785 Call display-buffer-normalize-alist.
24786 (display-buffer-normalize-specifiers-1): Rename to
24787 display-buffer-normalize-argument. New argument other-frame.
24788 Rewrite.
24789 (display-buffer-normalize-specifiers-2): Rename to
24790 display-buffer-normalize-options.
24791 (display-buffer-normalize-alist-1): New function.
24792 (display-buffer-normalize-specifiers-3): Rename to
24793 display-buffer-normalize-alist.
24794 Call display-buffer-normalize-alist-1.
24795 (display-buffer-normalize-options-inhibit): New variable.
24796 (display-buffer-normalize-specifiers): Rewrite calling
24797 display-buffer-normalize-alist,
24798 display-buffer-normalize-argument, and
24799 display-buffer-normalize-options. Don't call the latter if
24800 display-buffer-normalize-options-inhibit is non-nil.
24801 (frame-auto-delete): New option.
24802 (window-deletable-p): Use frame-auto-delete.
24803 (window-list-no-nils, window-state-ignored-parameters)
24804 (window-state-get-1, window-state-get, window-state-put-list)
24805 (window-state-put-1, window-state-put-2, window-state-put):
24806 New functions.
24807 (display-buffer-normalize-options): Move special-display-p group
24808 after pop-up-frame group (Bug#8851) and (Bug#8856).
24809
24810 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
24811
24812 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
24813 groups (Bug#8776).
24814 (rx-submatch-n): New function.
24815 (rx): Document it.
24816
24817 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
24818 (Bug#8768).
24819
24820 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
24821
24822 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
24823
24824 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
24825 anytime existing face settings are present (Bug#8889).
24826
24827 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
24828 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
24829 Remove unused argument.
24830
24831 2011-06-18 Martin Rudalics <rudalics@gmx.at>
24832
24833 * window.el (display-buffer-default-specifiers):
24834 Remove pop-up-frame. Add pop-up-window-min-height,
24835 pop-up-window-min-width, and another reuse-window specifier
24836 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
24837 (display-buffer-normalize-specifiers-2):
24838 Handle split-height-threshold and split-width-threshold also when
24839 pop-up-windows is unset. Add a reuse-window specifier for the
24840 case popping up a new window fails.
24841 (special-display-popup-frame): Remove double quoting.
24842 (display-buffer-normalize-specifiers-1): Fix thinko.
24843
24844 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
24845
24846 * shell.el (shell-completion-vars): Set pcomplete-termination-string
24847 according to comint-completion-addsuffix.
24848
24849 * pcomplete.el: Convert to lexical binding and fix bug#8819.
24850 (pcomplete-suffix-list): Mark as obsolete.
24851 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
24852 pcomplete-seen in the closure.
24853 (pcomplete-comint-setup): Setup completion-at-point as well.
24854 (pcomplete--entries): New function.
24855 (pcomplete--env-regexp): New var.
24856 (pcomplete-entries): Rewrite to work with partial-completion and
24857 without relying on pcomplete-suffix-list.
24858 (pcomplete-pare-list): Remove, unused.
24859
24860 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24861
24862 * window.el (display-buffer-alist): Set pop-up-window-min-height
24863 and pop-up-window-min-width in default value. Reported by
24864 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
24865 other-window-means-other-frame.
24866 (display-buffer-macro-specifiers): Comment out entry for
24867 other-window specifier.
24868 (display-buffer-other-window-means-other-frame): New function.
24869 (display-buffer-normalize-specifiers-1): New arguments
24870 buffer-name and label. Treat other-window case specially.
24871 (display-buffer-normalize-specifiers-2): Treat other-window case
24872 specially.
24873 (display-buffer-normalize-specifiers-3): New function.
24874 (display-buffer-normalize-specifiers):
24875 Call display-buffer-normalize-specifiers-3.
24876
24877 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24878
24879 * window.el (same-window-p): Fix two typos introduced when
24880 adding with-no-warnings.
24881 (display-buffer-normalize-specifiers-1): Don't check
24882 pop-up-frames for 'unset initialization.
24883 (display-buffer-normalize-specifiers-2): Major rewrite using
24884 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
24885 (pop-up-frames, display-buffer-reuse-frames)
24886 (display-buffer-mark-dedicated): Don't initialize to 'unset.
24887 Suggested by David Engster <deng@randomsample.de>.
24888 (even-window-heights): Initialize to 'unset.
24889 (display-buffer-alist-set): Handle new 'unset initializations.
24890 (display-buffer-macro-specifiers): Don't pop up a new frame in the
24891 other window case.
24892
24893 2011-06-16 Martin Rudalics <rudalics@gmx.at>
24894
24895 * window.el (display-buffer-normalize-specifiers-1):
24896 Respect current value of pop-up-frames for most reasonable values of
24897 second argument of display-buffer (Bug#8865).
24898 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
24899 (switch-to-buffer-other-window-same-frame)
24900 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
24901 Adams (Bug#8875).
24902 (display-buffer): Don't check noninteractive when calling
24903 display-buffer-pop-up-frame.
24904 (display-buffer-pop-up-frame): Never pop up a frame in
24905 noninteractive mode (Bug#8857).
24906 (enlarge-window, shrink-window): Don't report an error when the
24907 window can't be resized as requested (Bug#8862).
24908
24909 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24910
24911 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
24912
24913 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
24914
24915 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
24916
24917 2011-06-15 Alan Mackenzie <acm@muc.de>
24918
24919 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
24920 for declarators, disable knr checking to speed up for normal files.
24921 2: Refactor, replacing a sequence of nested if forms by a cond form.
24922
24923 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
24924
24925 * net/network-stream.el (open-network-stream): Add the keyword
24926 :always-query-capabilities for the case where you want to force a
24927 `plain' network connection, but the protocol still requires the
24928 capabilitiy command (i.e., SMTP and EHLO).
24929
24930 * subr.el (process-live-p): Rename from `process-alive-p' for
24931 consistency with other `-live-p' functions.
24932
24933 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24934
24935 * window.el (same-window-buffer-names, same-window-regexps)
24936 (special-display-frame-alist, special-display-popup-frame)
24937 (special-display-function, special-display-buffer-names)
24938 (special-display-regexps, pop-up-frame-alist)
24939 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
24940 (pop-up-windows, split-window-preferred-function)
24941 (split-height-threshold, split-width-threshold, even-window-heights)
24942 (display-buffer-mark-dedicated): Don't encourage the use of
24943 display-buffer-alist from Elisp code.
24944
24945 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
24946
24947 * progmodes/python.el (python-mode): Derive from prog-mode.
24948 * progmodes/ps-mode.el (ps-mode):
24949 * progmodes/mixal-mode.el (mixal-mode):
24950 * progmodes/cfengine.el (cfengine-mode):
24951 * progmodes/ld-script.el (ld-script-mode): Likewise.
24952
24953 2011-06-15 Martin Rudalics <rudalics@gmx.at>
24954
24955 * window.el (display-buffer-alist): Trim default value to avoid
24956 popping up a new frame (Bug#8857) or reusing an arbitrary window
24957 on another frame.
24958 (display-buffer): Do not fall back on popping up a new frame in
24959 batch mode (Bug#8857).
24960
24961 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
24962
24963 * cus-theme.el (describe-theme-1): Use custom-theme-p.
24964 (custom-theme-summary): New function.
24965 (customize-themes): Use it.
24966
24967 2011-06-13 Glenn Morris <rgm@gnu.org>
24968
24969 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
24970
24971 2011-06-13 Martin Rudalics <rudalics@gmx.at>
24972
24973 * help.el (help-window): Remove variable.
24974 (help-window-point-marker, temp-buffer-max-height)
24975 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
24976 (help-print-return-message): Don't set help-window.
24977 (resize-temp-buffer-window): Rewrite cod eand doc-string.
24978 (help-window-setup-finish): Remove.
24979 (help-window-display-message, help-window-setup)
24980 (with-help-window): Major rewrite based on new
24981 display-buffer-window variable.
24982
24983 * help-mode.el (help-mode-finish): Remove help-window related
24984 code.
24985
24986 * view.el (view-exits-all-viewing-windows): Remove reference to
24987 view-return-to-alist in doc-string.
24988 (view-return-to-alist): Make obsolete.
24989 (view-buffer): Call pop-to-buffer-same-window and remove
24990 undo-window code.
24991 (view-buffer-other-window): Call pop-to-buffer-other-window and
24992 simplify code. Ignore second argument.
24993 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
24994 simplify code. Ignore second argument.
24995 (view-return-to-alist-update): Make obsolete.
24996 (view-mode-enter): Rename second argument to QUIT-RESTORE.
24997 Rewrite using quit-restore window parameters.
24998 (view-mode-exit): Rename second argument to EXIT-ONLY.
24999 Rewrite using quit-restore-window.
25000 (View-exit, View-exit-and-edit, View-leave, View-quit)
25001 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
25002 appropriate arguments.
25003 (view-end-message): Use quit-restore window parameter.
25004
25005 * window.el (display-buffer-function): Rewrite doc-string.
25006 (display-buffer-window, display-buffer-alist): New variables.
25007 (display-buffer-split-specifiers)
25008 (display-buffer-side-specifiers)
25009 (display-buffer-macro-specifiers): New constants.
25010 (display-buffer-even-window-sizes, display-buffer-set-height)
25011 (display-buffer-set-width, display-buffer-select-window)
25012 (display-buffer-in-window, display-buffer-reuse-window)
25013 (display-buffer-split-window-1, display-buffer-split-window)
25014 (display-buffer-split-atom-window, display-buffer-pop-up-window)
25015 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
25016 (display-buffer-in-side-window, normalize-buffer-to-display)
25017 (display-buffer-normalize-specifiers-1)
25018 (display-buffer-normalize-specifiers-2)
25019 (display-buffer-normalize-specifiers, display-buffer-frame):
25020 New functions.
25021 (display-buffer): Major rewrite.
25022 (display-buffer-other-window, display-buffer-other-frame)
25023 (pop-to-buffer, switch-to-buffer-other-window)
25024 (switch-to-buffer-other-frame): Rewrite.
25025 (display-buffer-same-window, display-buffer-same-frame)
25026 (display-buffer-same-frame-other-window)
25027 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
25028 (pop-to-buffer-other-window)
25029 (pop-to-buffer-same-frame-other-window)
25030 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
25031 (switch-to-buffer-other-window-same-frame): New functions.
25032 (same-window-p, special-display-p): Rewrite disabling warnings.
25033 Make obsolete.
25034 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
25035 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
25036 Make obsolete
25037 (same-window-buffer-names, same-window-regexps)
25038 (special-display-frame-alist, special-display-popup-frame)
25039 (special-display-function, special-display-buffer-names)
25040 (special-display-regexps, pop-up-frame-alist)
25041 (pop-up-frame-function, split-window-preferred-function)
25042 (split-height-threshold, split-width-threshold)
25043 (even-window-heights): Make obsolete.
25044
25045 2011-06-12 Glenn Morris <rgm@gnu.org>
25046
25047 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
25048 Misc simplifications.
25049
25050 2011-06-12 Martin Rudalics <rudalics@gmx.at>
25051
25052 * window.el (window-safely-shrinkable-p): Restore function which
25053 was inadvertently removed in change from 2011-06-11. Declare as
25054 obsolete.
25055
25056 * calendar/calendar.el (calendar-generate-window):
25057 Use window-iso-combined-p instead of combination of one-window-p and
25058 window-safely-shrinkable-p.
25059
25060 2011-06-12 Glenn Morris <rgm@gnu.org>
25061
25062 * progmodes/fortran.el (fortran-mode-syntax-table):
25063 * progmodes/f90.el (f90-mode-syntax-table):
25064 Set % to punctuation. (Bug#8820)
25065 (f90-find-tag-default): Remove, no longer needed.
25066
25067 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
25068
25069 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
25070
25071 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
25072
25073 * image.el (image-animated-p): Return animation delay in seconds.
25074 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
25075 (image-animate-timeout): Remove DELAY argument. Don't assume
25076 every subimage has the same delay; get it from image-animated-p.
25077 (image-animate): Caller changed.
25078
25079 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
25080
25081 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
25082 to ignored backtrace functions.
25083
25084 2011-06-11 Glenn Morris <rgm@gnu.org>
25085
25086 * calendar/appt.el (appt-disp-window-function): Doc fix.
25087 (appt-check): Handle overlapping appointments. (Bug#8337)
25088
25089 2011-06-11 Martin Rudalics <rudalics@gmx.at>
25090
25091 * window.el (window-tree-1, window-tree): New functions, moving
25092 the latter to window.el.
25093 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
25094 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
25095 (bw-refresh-edges): Remove.
25096 (balance-windows-1, balance-windows-2): New functions.
25097 (balance-windows): Rewrite in terms of window tree functions,
25098 balance-windows-1 and balance-windows-2.
25099 (bw-adjust-window): Remove.
25100 (balance-windows-area-adjust): New function with functionality of
25101 bw-adjust-window but using resize-window.
25102 (set-window-text-height): Rewrite doc-string.
25103 Use normalize-live-window and resize-window.
25104 (enlarge-window-horizontally, shrink-window-horizontally):
25105 Rename argument to DELTA.
25106 (window-buffer-height): New function.
25107 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
25108 Rewrite using new window resize routines.
25109 (kill-buffer-and-window, mouse-autoselect-window-select):
25110 Use ignore-errors instead of condition-case.
25111 (quit-window): Call delete-frame instead of delete-windows-on
25112 for the only buffer on frame.
25113
25114 2011-06-10 Martin Rudalics <rudalics@gmx.at>
25115
25116 * loadup.el (top-level): Load window before files for the sake
25117 of replace-buffer-in-windows.
25118
25119 * files.el (read-buffer-to-switch)
25120 (switch-to-buffer-other-window)
25121 (switch-to-buffer-other-frame, display-buffer-other-frame):
25122 Move to window.el.
25123
25124 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
25125 (previous-buffer): Move to window.el.
25126
25127 * bindings.el (unbury-buffer): Move to window.el.
25128
25129 * window.el (delete-other-windows-vertically): Move after
25130 definition of delete-other-windows.
25131 (other-window, delete-windows-on, replace-buffer-in-windows):
25132 Move here from window.c.
25133 (record-window-buffer, unrecord-window-buffer)
25134 (set-window-buffer-start-and-point, switch-to-prev-buffer)
25135 (switch-to-next-buffer): New functions.
25136 (get-next-valid-buffer, last-buffer, next-buffer): Move here
25137 from simple.el. Call switch-to-next-buffer.
25138 (previous-buffer): Move here from simple.el.
25139 Call switch-to-prev-buffer.
25140 (bury-buffer): Move here from buffer.c. Switch to previous
25141 buffer when window cannot be deleted.
25142 (unbury-buffer): Move here from bindings.el.
25143 (ctl-x-map): Move binding for other-window from window.c to
25144 here.
25145 (read-buffer-to-switch, switch-to-buffer-other-window)
25146 (switch-to-buffer-other-frame): Move here from files.el.
25147 (normalize-buffer-to-switch-to): New functions.
25148 (switch-to-buffer): Move here from buffer.c.
25149 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
25150
25151 2011-06-10 Martin Rudalics <rudalics@gmx.at>
25152
25153 * window.el (window-min-height, window-min-width): Move here
25154 from window.c. Add defcustoms and rewrite doc-strings.
25155 (resize-mini-window, resize-window): New functions.
25156 (adjust-window-trailing-edge, enlarge-window, shrink-window):
25157 Move here from window.c.
25158 (maximize-window, minimize-window): New functions.
25159 (delete-window, delete-other-windows, split-window): Move here
25160 from window.c.
25161 (window-split-min-size): New function.
25162 (split-window-keep-point): Mention split-window-above-each-other
25163 instead of split-window-vertically.
25164 (split-window-above-each-other, split-window-vertically):
25165 Rename split-window-vertically to split-window-above-each-other
25166 and provide defalias for old definition.
25167 (split-window-side-by-side, split-window-horizontally):
25168 Rename split-window-horizontally to split-window-side-by-side
25169 and provide defalias for the old definition.
25170 (ctl-x-map): Move bindings for delete-window,
25171 delete-other-windows and enlarge-window here from window.c.
25172 Replace bindings for split-window-vertically and
25173 split-window-horizontally by bindings for
25174 split-window-above-each-other and split-window-side-by-side.
25175
25176 * cus-start.el (all): Remove entries for window-min-height and
25177 window-min-width. Add entries for window-splits and
25178 window-nest.
25179
25180 2011-06-09 Glenn Morris <rgm@gnu.org>
25181
25182 * calendar/appt.el (appt-mode-line): New function.
25183 (appt-check, appt-disp-window): Use it.
25184
25185 * files.el (hack-one-local-variable-eval-safep):
25186 Allow minor-modes with explicit +/-1 arguments.
25187
25188 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
25189
25190 * term/xterm.el (xterm): Add defgroup.
25191 (xterm-extra-capabilities): Add defcustom to supply known xterm
25192 capabilities, skip querying them, or query them (default).
25193 (terminal-init-xterm): Use it.
25194 (terminal-init-xterm-modify-other-keys): New function to set up
25195 modifyOtherKeys support to simplify `terminal-init-xterm'.
25196
25197 2011-06-09 Martin Rudalics <rudalics@gmx.at>
25198
25199 * window.el (resize-window-reset, resize-window-reset-1)
25200 (resize-subwindows-skip-p, resize-subwindows-normal)
25201 (resize-subwindows, resize-other-windows, resize-this-window)
25202 (resize-root-window, resize-root-window-vertically)
25203 (window-deletable-p, window-or-subwindow-p)
25204 (frame-root-window-p): New functions.
25205
25206 2011-06-09 Glenn Morris <rgm@gnu.org>
25207
25208 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
25209 (ange-ftp-get-files): Use it.
25210
25211 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
25212
25213 * mail/sendmail.el (mail-recover-1, mail-recover):
25214 * files.el (recover-file, recover-session):
25215 Handle dired-listing-switches not being just a single short option.
25216
25217 2011-06-09 Glenn Morris <rgm@gnu.org>
25218
25219 * calendar/appt.el (appt-display-message, appt-disp-window):
25220 Handle lists of appointments.
25221
25222 2011-06-08 Martin Rudalics <rudalics@gmx.at>
25223
25224 * window.el (one-window-p): Move down in code.
25225 Rewrite doc-string.
25226 (window-current-scroll-bars): Rewrite doc-string.
25227 Normalize live window argument.
25228 (walk-windows, get-window-with-predicate, count-windows):
25229 Rewrite doc-string. Use window-list-1.
25230 (window-in-direction-2, window-in-direction, get-mru-window):
25231 New functions.
25232
25233 2011-06-08 Reuben Thomas <rrt@sc3d.org>
25234
25235 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
25236 Doc fix (Bug#8713).
25237
25238 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
25239
25240 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
25241
25242 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
25243
25244 * loadhist.el (unload-feature-special-hooks):
25245 Add `comint-output-filter-functions'.
25246
25247 2011-06-08 Ivan Kanis <gnu@kanis.fr>
25248
25249 * calendar/appt.el (appt-check): Move some initializations into the let.
25250
25251 2011-06-08 Martin Rudalics <rudalics@gmx.at>
25252
25253 * window.el (window-height): Defalias to window-total-height.
25254 (window-width): Defalias to window-body-width.
25255
25256 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
25257
25258 * image-mode.el (image-toggle-animation): New command.
25259 (image-mode-map): Bind it to RET.
25260 (image-mode): Update message.
25261 (image-toggle-display-image): Avoid a spurious cache flush.
25262 (image-transform-rotation): Doc fix.
25263 (image-transform-properties): Return quickly in the normal case.
25264 (image-animate-loop): Rename from image-animate-max-time.
25265
25266 * image.el (image-animate-max-time): Move to image-mode.el.
25267 (create-animated-image): Remove unnecessary function.
25268 (image-animate): Rename from image-animate-start. New arg.
25269 (image-animate-stop): Remove; just use image-animate-timer.
25270 (image-animate-timer): Use car-safe.
25271 (image-animate-timeout): Rename argument.
25272
25273 2011-06-07 Martin Rudalics <rudalics@gmx.at>
25274
25275 * window.el (get-lru-window, get-largest-window): Move here from
25276 window.c. Rename first argument to ALL-FRAMES.
25277 Rephrase doc-strings.
25278 (get-buffer-window-list): Rewrite using window-list-1.
25279 Rephrase doc-string.
25280 (window-safe-min-height, window-safe-min-width): New constants.
25281 (window-size-ignore, window-min-size, window-min-size-1)
25282 (window-sizable, window-sizable-p, window-size-fixed-1)
25283 (window-size-fixed-p, window-min-delta-1, window-min-delta)
25284 (window-max-delta-1, window-max-delta, window-resizable)
25285 (window-resizable-p, window-total-height, window-total-width)
25286 (window-body-width): New functions.
25287 (window-full-height-p, window-full-width-p): Rewrite using
25288 window-total-size.
25289 (window-body-height): Rewrite using window-body-size.
25290
25291 2011-06-06 Martin Rudalics <rudalics@gmx.at>
25292
25293 * window.el (window-right, window-left, window-child)
25294 (window-child-count, window-last-child, window-any-p)
25295 (normalize-live-buffer, normalize-live-frame)
25296 (normalize-any-window, normalize-live-window)
25297 (window-iso-combination-p, window-iso-combined-p)
25298 (window-iso-combinations)
25299 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
25300 (windows-with-parameter, window-with-parameter)
25301 (window-atom-root, make-window-atom, window-atom-check-1)
25302 (window-atom-check, window-side-check, window-check):
25303 New functions.
25304 (ignore-window-parameters, window-sides, window-sides-vertical)
25305 (window-sides-slots): New variables.
25306 (window-size-fixed): Move down in code. Minor doc-string fix.
25307
25308 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
25309
25310 * comint.el (comint-dynamic-complete-as-filename)
25311 (comint-dynamic-complete-filename): Correctly call
25312 completion-in-region.
25313
25314 2011-06-05 Deniz Dogan <deniz@dogan.se>
25315
25316 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
25317 in last change.
25318
25319 2011-06-05 Deniz Dogan <deniz@dogan.se>
25320
25321 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
25322 (rcirc): Use it to prompt for encryption.
25323
25324 2011-06-05 Roland Winkler <winkler@gnu.org>
25325
25326 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
25327 (bibtex-search-entries): New command bound to C-c C-a.
25328 (bibtex-display-entries): New function.
25329
25330 2011-06-05 Roland Winkler <winkler@gnu.org>
25331
25332 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
25333 (bibtex-insert-kill): After yanking insert newline if necessary.
25334 (bibtex-initialize): Call bibtex-string-files-init only once.
25335 (bibtex-mode): Do not call easy-menu-add.
25336 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
25337 (bibtex-yank): Set arg properly if nil.
25338
25339 2011-06-05 Roland Winkler <winkler@gnu.org>
25340
25341 * textmodes/bibtex.el (bibtex-search-entry-globally):
25342 New variable.
25343 (bibtex-search-entry): Use it.
25344
25345 2011-06-05 Roland Winkler <winkler@gnu.org>
25346
25347 * textmodes/bibtex.el (bibtex-entry-format): New option
25348 sort-fields.
25349 (bibtex-format-entry, bibtex-reformat): Honor this option.
25350 (bibtex-parse-entry): Return fields in proper order.
25351
25352 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
25353
25354 * doc-view.el (doc-view-remove-if): Move computation of result out
25355 of `dolist' to silence misleading lexical-binding warning.
25356
25357 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
25358
25359 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
25360 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
25361
25362 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
25363
25364 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
25365 "SunOS 5.10".
25366
25367 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
25368
25369 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
25370 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
25371 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
25372 (tramp-parse-putty):
25373 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
25374 (tramp-completion-function-alist-ssh)
25375 (tramp-completion-function-alist-telnet)
25376 (tramp-completion-function-alist-su)
25377 (tramp-completion-function-alist-putty): Set `tramp-autoload'
25378 cookie.
25379
25380 * net/tramp-ftp.el:
25381 * net/tramp-sh.el:
25382 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
25383 load "tramp.el" `tramp-set-completion-function'.
25384
25385 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
25386
25387 * shell.el: Require and use pcomplete.
25388 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
25389 (shell-completion-vars): Set pcomplete-default-completion-function.
25390
25391 2011-06-04 Deniz Dogan <deniz@dogan.se>
25392
25393 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
25394 `memq' (Bug#8799).
25395
25396 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
25397
25398 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
25399
25400 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
25401
25402 * bs.el (bs--mark-unmark, bs--nth-wrapper):
25403 * mpc.el (mpc-select-extend, mpc-songpointer-context):
25404 * vc/log-view.el (log-view-beginning-of-defun):
25405 * vc/smerge-mode.el (smerge-apply-resolution-patch)
25406 (smerge-refine-forward, smerge-refine-chopup-region):
25407 Silence warning for unused `dotimes' counter variables.
25408
25409 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
25410
25411 * net/tramp.el (tramp-with-progress-reporter): Rename from
25412 with-progress-reporter. Use `declare'.
25413 * net/tramp-smb.el:
25414 * net/tramp-sh.el:
25415 * net/tramp-gvfs.el: Update all uses.
25416
25417 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
25418
25419 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
25420 buffer isn't killed before making it current.
25421
25422 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
25423
25424 Silence various byte-compiler warnings.
25425 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
25426 `access-type' and new obsolescence format.
25427 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
25428 new format.
25429 (byte-compile-check-variable): New `access-type' argument.
25430 Only warn if the access-type is obsolete.
25431 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25432 (byte-compile-variable-set): Adjust callers.
25433 * help-fns.el (describe-variable): Adjust to new obsolescence format.
25434 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
25435 setting it as obsolete.
25436 * simple.el (minibuffer-completing-symbol):
25437 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
25438 access as obsolete.
25439 * minibuffer.el (minibuffer-completing-file-name): Don't make it
25440 obsolete yet.
25441 * international/quail.el (quail-mouse-choose-completion): Remove unused
25442 code referring to obsolete var.
25443 (quail-choose-completion-string): Remove.
25444 * server.el (server-clients-with, server-kill-buffer-query-function)
25445 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
25446 * proced.el (proced-send-signal):
25447 * emacs-lisp/lisp.el (lisp-complete-symbol):
25448 Replace completion-annotate-function with completion-extra-properties.
25449
25450 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
25451
25452 * simple.el (goto-line): Use read-number.
25453 (overriding-map-is-bound): Remove.
25454 (saved-overriding-map): Change default.
25455 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
25456 Take the map as argument.
25457 (universal-argument, negative-argument, digit-argument): Use it.
25458 (restore-overriding-map): Adjust.
25459 (do-auto-fill): Use fill-forward-paragraph.
25460 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
25461
25462 * minibuffer.el (minibuffer-inactive-mode-map): New var.
25463 (minibuffer-inactive-mode): New major mode.
25464 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
25465 the *Messages* buffer" hack.
25466 (mouse-popup-menubar): Don't burp if the event is a normal key.
25467
25468 Miscellaneous tweaks.
25469 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
25470 lexical scoping as in subr.el's dolist and dotimes.
25471 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
25472 Silence compiler warning.
25473 * thingatpt.el (forward-whitespace): Trivial coding style fix.
25474 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
25475 * international/ccl.el (ccl-compile): Trivial simplification.
25476 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
25477 * emacs-lisp/testcover.el (testcover-end): Remove spurious
25478 `printflag' argument.
25479 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
25480 Purecopy the whole obsolescence data.
25481
25482 2011-06-01 Leo Liu <sdl.web@gmail.com>
25483
25484 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
25485 improve doc-string as suggested by Marco Pessotto
25486 <melmothx@gmail.com>.
25487 (rcirc-print): Fix last change.
25488
25489 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
25490
25491 * minibuffer.el (complete-with-action): Return nil for the metadata and
25492 boundaries of non-functional tables.
25493 (completion-table-dynamic): Return nil for the metadata.
25494 (completion-table-with-terminator): Add default case, using
25495 complete-with-action.
25496 (completion--metadata): New function.
25497 (completion-all-sorted-completions, minibuffer-completion-help): Use it
25498 to try and avoid pathological performance problems.
25499 (completion--embedded-envvar-table): Return `category' metadata.
25500
25501 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
25502
25503 * subr.el (process-alive-p): New tiny convenience function.
25504
25505 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
25506
25507 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
25508 content but also its previous major mode.
25509
25510 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
25511
25512 * emacs-lisp/debug.el (debug): Restore the previous content of the
25513 *Backtrace* buffer when we exit with C-M-c.
25514
25515 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
25516
25517 * minibuffer.el: Add metadata method to completion tables.
25518 (completion-category-overrides): New defcustom.
25519 (completion-metadata, completion--field-metadata)
25520 (completion-metadata-get, completion--styles)
25521 (completion--cycle-threshold): New functions.
25522 (completion-try-completion, completion-all-completions):
25523 Add `metadata' argument to choose completion-styles.
25524 (completion--do-completion): Use metadata to choose cycling.
25525 (completion-all-sorted-completions): Use metadata for sorting.
25526 Remove :completion-cycle-penalty which is not needed any more.
25527 (completion--try-word-completion): Add `metadata' argument.
25528 (minibuffer-completion-help): Check metadata for annotation function
25529 and sorting.
25530 (completion-file-name-table): Return `category' metadata.
25531 (minibuffer-completing-file-name): Make obsolete.
25532 * simple.el (minibuffer-completing-symbol): Make obsolete.
25533 * icomplete.el (icomplete-completions): Pass new `metadata' param to
25534 completion-try-completion.
25535
25536 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
25537
25538 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
25539
25540 2011-05-30 Leo Liu <sdl.web@gmail.com>
25541
25542 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
25543 (rcirc-print): Decode all incoming messages (bug#8744).
25544 (rcirc-decode-coding-system): Allow value nil for automatic coding
25545 system detection.
25546
25547 2011-06-01 Glenn Morris <rgm@gnu.org>
25548
25549 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
25550
25551 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
25552
25553 * image.el (image-animate-max-time): Allow nil and t values.
25554 Default to nil.
25555 (create-animated-image): Doc fix.
25556 (image-animate-start): Remove second arg; just use
25557 image-animate-max-time.
25558 (image-animate-timeout): Doc fix. Args changed.
25559
25560 * image-mode.el (image-toggle-display-image): Ensure that the
25561 image spec passed to the animate timer is the same object as in
25562 the buffer's display property (Bug#6981).
25563 (image-transform-properties): Doc fix.
25564
25565 * image.el (image-animate-max-time): Default to nil.
25566
25567 2011-05-29 Martin Rudalics <rudalics@gmx.at>
25568
25569 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
25570 entire buffer list (Bug#8184).
25571
25572 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
25573
25574 * image.el (imagemagick-types-inhibit)
25575 (imagemagick-register-types): Doc fix.
25576
25577 2011-05-29 Deniz Dogan <deniz@dogan.se>
25578
25579 * net/rcirc.el (rcirc): Use the user's stored encryption method by
25580 default.
25581
25582 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
25583
25584 * select.el: Don't perform clipboard-manager saving in hooks;
25585 leave the hooks empty.
25586
25587 2011-05-28 Leo Liu <sdl.web@gmail.com>
25588
25589 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
25590 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
25591 (occur-edit-mode): New major mode (Bug#8463).
25592 (occur-after-change-function): New function.
25593 (occur-engine): Give Occur tags a read-only property.
25594
25595 2011-05-28 Kevin Ryde <user42@zip.com.au>
25596
25597 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
25598
25599 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25600
25601 * bindings.el (help-echo): Make the initial non-indicator dash
25602 empty on graphical terminals (Bug#7295).
25603
25604 * files.el (auto-mode-alist): Move config rule after the
25605 in-stripping one (Bug#8547).
25606
25607 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
25608
25609 * startup.el (normal-splash-screen): Remove gratuitous mode-line
25610 setting (Bug#8740).
25611
25612 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
25613
25614 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
25615 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
25616 (Bug#8539).
25617
25618 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25619
25620 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
25621
25622 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
25623
25624 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
25625 (hs-hide-block-at-point, hs-find-block-beginning)
25626 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
25627 (Bug#8279).
25628
25629 2011-05-28 Glenn Morris <rgm@gnu.org>
25630
25631 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
25632
25633 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25634
25635 * help-fns.el (describe-function-1): If the function is a derived
25636 major mode, print the parent mode.
25637
25638 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
25639 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
25640
25641 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
25642
25643 * minibuffer.el (completion--capf-wrapper): Check applicability before
25644 returning non-nil for non-exclusive completion data.
25645 * progmodes/etags.el (tags-completion-at-point-function):
25646 * info-look.el (info-lookup-completions-at-point): Mark as
25647 non-exclusive.
25648 (info-complete): Adjust accordingly.
25649
25650 * info-look.el: Convert to lexical-binding and completion-at-point.
25651 (info-lookup-completions-at-point): New function.
25652 (info-complete): Use it and completion-in-region.
25653
25654 2011-05-28 Drew Adams <drew.adams@oracle.com>
25655
25656 * isearch.el: Let M-e start with point at the first mismatched char.
25657 (isearch-fail-pos): New function.
25658 (isearch-edit-string): Use it.
25659
25660 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
25661
25662 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
25663
25664 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
25665
25666 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
25667 traversal functions for avl-trees.
25668 (avl-tree--stack): New struct.
25669 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
25670 (avl-tree-enter): Add optional `updatefun' arg.
25671 (avl-tree--do-enter): Add optional `updatefun' arg.
25672 Change return value.
25673 (avl-tree-delete): Add optional `test' and `nilflag' args.
25674 (avl-tree--do-delete): Add `test' and `nilflag' args.
25675 Change return value.
25676 (avl-tree-member): Add optional `nilflag'
25677 (avl-tree-member-p): New function.
25678 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
25679 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
25680 (avl-tree-stack-empty-p): New functions.
25681
25682 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
25683 avl-tree--del-balance1 and make it work both ways.
25684 (avl-tree--del-balance2): Remove.
25685 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
25686 make it work both ways.
25687 (avl-tree--enter-balance2): Remove.
25688 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
25689 New macros.
25690 (avl-tree--mapc, avl-tree-map): Add direction argument.
25691
25692 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
25693
25694 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
25695
25696 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
25697
25698 * select.el: Support clipboard managers with built-in function
25699 x-clipboard-manager-save, via delete-frame-functions and
25700 kill-emacs-hook.
25701 (xselect-convert-to-targets): Add MULTIPLE target to list.
25702 (xselect-convert-to-save-targets): New function.
25703
25704 2011-05-27 Kenichi Handa <handa@m17n.org>
25705
25706 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
25707 let-binding rfc2047-encode-encoded-words to nil.
25708
25709 2011-05-27 Glenn Morris <rgm@gnu.org>
25710
25711 * mail/emacsbug.el: Don't require url-util.
25712
25713 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
25714
25715 * files.el (set-auto-mode):
25716 Also respect mode: entries at the end of the file. (Bug#8586)
25717
25718 2011-05-26 Glenn Morris <rgm@gnu.org>
25719
25720 * files.el (hack-local-variables-prop-line, hack-local-variables):
25721 Downcase mode names, as seems to be traditional.
25722 (hack-local-variables, hack-local-variables-apply): Doc fixes.
25723
25724 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
25725 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
25726
25727 2011-05-25 Julien Danjou <julien@danjou.info>
25728
25729 * textmodes/rst.el (rst-define-level-faces): Do not define face
25730 symbol if it is already defined.
25731
25732 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
25733
25734 * play/5x5.el (5x5-new-game, 5x5-randomize):
25735 Reset 5x5-solver-output to nil when a new grid is cast.
25736 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
25737 these debugging traces, as defmacro breaks the compiled code.
25738
25739 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
25740
25741 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
25742
25743 2011-05-24 Leo Liu <sdl.web@gmail.com>
25744
25745 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
25746 (vc-bzr-sha1): Adapt.
25747
25748 * sha1.el: Remove. Function `sha1' is now builtin.
25749
25750 * bindings.el: Provide sha1 feature.
25751
25752 2011-05-24 Kenichi Handa <handa@m17n.org>
25753
25754 * mail/sendmail.el: Require `rfc2047'.
25755 (mail-insert-from-field): Do not perform RFC2047 encoding.
25756 (mail-encode-header): New function.
25757 (sendmail-send-it): Set buffer-file-coding-system of the work
25758 buffer to the return value of select-message-coding-system.
25759 Call mail-encode-header.
25760
25761 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
25762
25763 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
25764
25765 * mail/supercite.el (sc-default-cite-frame):
25766 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
25767
25768 2011-05-24 Glenn Morris <rgm@gnu.org>
25769
25770 * progmodes/python.el (brm-menu): Declare.
25771
25772 * emulation/viper.el (viper-set-hooks): Declare.
25773
25774 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
25775 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
25776 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
25777 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
25778 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
25779 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
25780
25781 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
25782
25783 Add an :exit-function for completion-at-point.
25784
25785 * minibuffer.el (completion--done): New fun.
25786 (completion--do-completion): Use it. New arg `expect-exact'.
25787 (minibuffer-complete, minibuffer-complete-word): Don't output message,
25788 since completion--do-completion does it for us now.
25789 (minibuffer-force-complete): Use completion--done and
25790 completion--replace. Handle sole-completion case with more care.
25791 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
25792 (completion-extra-properties): New var.
25793 (completion-annotate-function): Make obsolete.
25794 (minibuffer-completion-help): Adjust accordingly.
25795 Use completion-list-insert-choice-function.
25796 (completion-at-point, completion-help-at-point):
25797 Bind completion-extra-properties.
25798 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
25799 * simple.el (completion-list-insert-choice-function): New var.
25800 (completion-setup-function): Preserve it.
25801 (choose-completion): Pay attention to it, shuffle the code a bit.
25802 (choose-completion-string): New arg `insert-function'.
25803
25804 * textmodes/bibtex.el: Convert to lexical binding.
25805 (bibtex-mode-map): Use completion-at-point.
25806 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
25807 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
25808 (bibtex-complete): Define as obsolete alias.
25809 (bibtex-complete-internal): Remove.
25810 (bibtex-format-entry): Remove unused sub-group in regexp.
25811 * shell.el (shell--command-completion-data)
25812 (shell-environment-variable-completion):
25813 * pcomplete.el (pcomplete-completions-at-point):
25814 * comint.el (comint--complete-file-name-data): Use :exit-function
25815 instead of completion-table-with-terminator so it also works for
25816 choose-completion.
25817
25818 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25819
25820 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
25821
25822 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
25823 (bug#8710).
25824
25825 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
25826
25827 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
25828
25829 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
25830 customization variable and implement: If non-nil, auto-fill will
25831 be inhibited while on topic's header line.
25832
25833 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
25834
25835 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
25836 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
25837 always have a solution in grid size = 5 cases.
25838 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
25839 (5x5-solver-output, 5x5-log-buffer): New vars.
25840 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
25841 Make these variables buffer local to achieve 5x5 multi-session-ness.
25842 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
25843 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
25844 (5x5-solve-suggest): New funs.
25845 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
25846 randomize a grid so that we ensure that there is always a solution.
25847 (5x5-make-random-grid): Allow other movement than flipping.
25848
25849 2011-05-23 Kevin Ryde <user42@zip.com.au>
25850
25851 * emacs-lisp/advice.el (ad-read-advised-function):
25852 Use `function-called-at-point' as the default, if it has
25853 advice and passes PREDICATE.
25854
25855 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25856
25857 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
25858 byte-compile-lambda if it's actually a lambda.
25859
25860 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
25861 Fix function quoting. Use backquote better.
25862
25863 2011-05-22 Yuanle Song <sylecn@gmail.com>
25864
25865 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
25866 matching (Bug#8516).
25867
25868 2011-05-22 Jari Aalto <jari.aalto@cante.net>
25869
25870 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
25871 different face (Bug#8178).
25872
25873 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
25874
25875 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
25876 defface (Bug#8144).
25877
25878 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
25879
25880 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
25881 funcall as well (bug#8712). Warn when performing those conversions.
25882 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
25883
25884 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
25885
25886 2011-05-22 Glenn Morris <rgm@gnu.org>
25887
25888 * files.el (hack-local-variables-prop-line): Small simplifications.
25889 (hack-local-variables, hack-local-variables-prop-line):
25890 If MODE-ONLY, return the mode, rather than just `t'.
25891
25892 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
25893
25894 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
25895
25896 2011-05-21 Glenn Morris <rgm@gnu.org>
25897
25898 * files.el (hack-local-variables-prop-line, hack-local-variables):
25899 If only interested in the mode, don't bother doing the other stuff.
25900
25901 * image-mode.el (image-after-revert-hook):
25902 Redraw all frames on which the image is visible. (Bug#8567)
25903
25904 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
25905
25906 * wid-edit.el (widget-checklist-match-inline):
25907 Fix 2011-04-19 change. (Bug#8649)
25908
25909 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
25910
25911 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
25912 Also allow singlespace after single-letter capitals followed by a dot.
25913
25914 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
25915 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
25916
25917 2011-05-20 Nix <nix@esperi.org.uk>
25918
25919 * files.el (basic-save-buffer-2):
25920 Fix handling of break-hardlink-on-save with non-existent files.
25921
25922 2011-05-19 Deniz Dogan <deniz@dogan.se>
25923
25924 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
25925 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
25926
25927 2011-05-19 Glenn Morris <rgm@gnu.org>
25928
25929 * progmodes/f90.el (f90-type-def-re):
25930 Handle "type, bind(c)". (Bug#8691)
25931
25932 * emacs-lisp/autoload.el (batch-update-autoloads):
25933 Set autoload-excludes by parsing loadup.el rather than Makefiles.
25934
25935 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
25936
25937 * net/tramp.el (tramp-process-actions): Set "first-password-request"
25938 property for the correct connection in case of multihops.
25939
25940 2011-05-18 Glenn Morris <rgm@gnu.org>
25941
25942 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
25943 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
25944
25945 Rationalize calendar handling of day and month abbrev-arrays.
25946 * calendar/calendar.el (calendar-customized-p): New function.
25947 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
25948 (calendar-day-name-array, calendar-month-name-array): Doc fix.
25949 Add :set function.
25950 (calendar-abbrev-length, calendar-day-abbrev-array)
25951 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
25952 (calendar-day-abbrev-array, calendar-month-abbrev-array):
25953 Elements may no longer be nil.
25954 (calendar-day-name, calendar-month-name):
25955 Update for changed nature of abbrev arrays.
25956 * calendar/diary-lib.el (diary-name-pattern):
25957 Update for changed nature of abbrev arrays.
25958 (diary-mark-entries-1): Update calendar-make-alist calls.
25959 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
25960 * calendar/cal-html.el (cal-html-day-abbrev-array):
25961 Simply inherit from calendar-day-abbrev-array.
25962
25963 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
25964
25965 * progmodes/grep.el (grep-mode): Disable default
25966 compilation-directory-matcher setting (bug#8684).
25967
25968 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
25969
25970 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
25971 instead of "head" and "tail". There were problems with SunOS 5.9,
25972 and it performs better.
25973
25974 2011-05-17 Glenn Morris <rgm@gnu.org>
25975
25976 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
25977
25978 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
25979 Replace obsolete function.
25980
25981 * shell.el (pcomplete-parse-arguments-function): Declare.
25982
25983 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
25984 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
25985 (appt-check): Doc fixes.
25986 (appt-disp-window-function, appt-delete-window-function):
25987 Remove needless special case in custom :type.
25988 (appt-display-count): Default to 0, not nil.
25989 (appt-check): Reset appt-display-count to 0, not nil.
25990
25991 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
25992
25993 * progmodes/python.el (python-font-lock-keywords):
25994 Add the Python 3.X keyword "nonlocal" (bug#8639).
25995
25996 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
25997
25998 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
25999
26000 2011-05-16 Kevin Ryde <user42@zip.com.au>
26001
26002 * info-look.el (makefile-automake-mode): New setups, looking in
26003 automake manual, then makefile-mode.
26004 (makefile-mode): Remove automake manual, have it just in
26005 makefile-automake-mode since there's various things different or
26006 not relevant to plain make.
26007 (makefile-mode): Remove "other-modes" non-existent automake-mode,
26008 believe a hypothetical automake-mode would go to makefile-mode,
26009 not the other way around.
26010
26011 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
26012
26013 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
26014 hunk-end tags (Bug#8672).
26015
26016 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
26017 vc-annotate-show-diff-revision-at-line (Bug#8671).
26018
26019 2011-05-14 Glenn Morris <rgm@gnu.org>
26020
26021 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
26022 in the middle of an existing one with multiple authors. (Bug#8645)
26023 (change-log-font-lock-keywords): Also handle multiple author lines
26024 with leading tabs. (Bug#8644)
26025
26026 * calendar/appt.el (appt-check): Rename some local variables.
26027 Some simplification/reordering.
26028
26029 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
26030 (feedmail-sendmail-f-doesnt-sell-me-out)
26031 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
26032 (feedmail-debug-sit-for, feedmail-queue-express-hook)
26033 (feedmail-queue-runner-message-sender): Set :version.
26034 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
26035 (bbdb-dwim-net-address, vm-mail): Declare.
26036 (feedmail-binmail-gnulinuxish-template):
26037 Rename from feedmail-binmail-linuxish-template.
26038 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
26039 Use insert-buffer-substring.
26040
26041 2011-05-14 Bill Carpenter <bill@carpenter.org>
26042
26043 * mail/feedmail.el (feedmail-patch-level): Increase.
26044 (feedmail-debug): New custom group.
26045 (feedmail-confirm-outgoing-timeout)
26046 (feedmail-sendmail-f-doesnt-sell-me-out)
26047 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
26048 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
26049 (feedmail-sender-line, feedmail-from-line)
26050 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
26051 (feedmail-spray-this-address)
26052 (feedmail-spray-address-fiddle-plex-list)
26053 (feedmail-queue-use-send-time-for-date)
26054 (feedmail-queue-use-send-time-for-message-id)
26055 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
26056 (feedmail-buffer-eating-function):
26057 Doc fixes.
26058 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
26059 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
26060 (feedmail-message-action-scroll-down): New functions.
26061 (feedmail-queue-directory, feedmail-queue-draft-directory):
26062 Use expand-file-name.
26063 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
26064 Remove C-v help entry.
26065 (feedmail-queue-buffer-file-name): New variable.
26066 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
26067 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
26068 (feedmail-message-action-send-strong, feedmail-message-action-edit)
26069 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
26070 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
26071 (feedmail-message-action-toggle-spray)
26072 (feedmail-run-the-queue-no-prompts)
26073 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
26074 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
26075 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
26076 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
26077 (feedmail-envelope-deducer, feedmail-fiddle-from)
26078 (feedmail-fiddle-sender, feedmail-default-date-generator)
26079 (feedmail-fiddle-date, feedmail-fiddle-message-id)
26080 (feedmail-fiddle-spray-address)
26081 (feedmail-fiddle-list-of-spray-fiddle-plexes)
26082 (feedmail-fiddle-list-of-fiddle-plexes)
26083 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
26084 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
26085 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
26086 Change default. Doc fix.
26087 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
26088 (feedmail-binmail-linuxish-template): New constant.
26089 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
26090 Respect feedmail-sendmail-f-doesnt-sell-me-out.
26091 (feedmail-send-it): Add debug call.
26092 Use feedmail-queue-buffer-file-name, and
26093 feedmail-send-it-immediately-wrapper.
26094 (feedmail-message-action-send): Add debug call.
26095 Use feedmail-send-it-immediately-wrapper.
26096 (feedmail-queue-express-to-queue): Add debug call.
26097 Run feedmail-queue-express-hook.
26098 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
26099 (feedmail-message-action-help-blat):
26100 Rename from feedmail-queue-send-edit-prompt-help-first.
26101 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
26102 Check line-endings. Handle errors better.
26103 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
26104 Doc fix. Add debug call.
26105 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
26106 Use feedmail-queue-send-edit-prompt-inner.
26107 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
26108 (feedmail-queue-send-edit-prompt-inner): New function, extracted
26109 from feedmail-queue-send-edit-prompt.
26110 (feedmail-queue-send-edit-prompt-help)
26111 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
26112 (feedmail-tidy-up-slug): Add debug call.
26113 Respect feedmail-queue-slug-suspect-regexp.
26114 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
26115 (feedmail-dump-message-to-queue): Add debug call.
26116 Expand queue-directory.
26117 (feedmail-dump-message-to-queue): Change message slightly.
26118 Use feedmail-say-chatter.
26119 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
26120 (feedmail-send-it-immediately-wrapper): New function.
26121 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
26122 Insert empty string rather than newline. Handle full-frame case.
26123 Use catch/throw. Use feedmail-say-chatter.
26124 (feedmail-fiddle-from): Try mail-host-address.
26125 (feedmail-default-message-id-generator): Doc fix.
26126 Bind system-time-locale. Handle missing end.
26127 (feedmail-fiddle-x-mailer): Add debug call.
26128 Handle feedmail-x-mailer-line being nil.
26129 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
26130 Add debug call. Use buffer-substring-no-properties.
26131 (feedmail-say-debug, feedmail-say-chatter): New functions.
26132 (feedmail-find-eoh): Give an explicit error.
26133
26134 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
26135
26136 * net/newst-treeview.el (newsticker-treeview-face): Change default
26137 family from helvetica to sans.
26138 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
26139 etc/images/newsticker.
26140
26141 * net/newst-reader.el (newsticker-feed-face): Change default
26142 family from helvetica to sans.
26143
26144 * net/newst-plainview.el (newsticker-new-item-face)
26145 (newsticker-old-item-face, newsticker-immortal-item-face)
26146 (newsticker-obsolete-item-face, newsticker-date-face)
26147 (newsticker-statistics-face): Change default family from
26148 helvetica to sans.
26149 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
26150 etc/images/newsticker.
26151
26152 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
26153 (newsticker--process-auto-mark-filter-match): Tell user about
26154 auto-marking.
26155
26156 2011-05-13 Didier Verna <didier@xemacs.org>
26157
26158 Common Lisp indentation improvements on defmethod and lambda-lists.
26159 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
26160 TODO entries.
26161 (lisp-lambda-list-keyword-parameter-indentation)
26162 (lisp-lambda-list-keyword-parameter-alignment)
26163 (lisp-lambda-list-keyword-alignment): New customizable user options.
26164 (lisp-indent-defun-method): Improve docstring.
26165 (extended-loop-p): Fix comment.
26166 (lisp-indent-lambda-list-keywords-regexp): New variable.
26167 (lisp-indent-lambda-list): New function.
26168 (lisp-indent-259): Use it.
26169 (lisp-indent-defmethod): Support for more than one
26170 method qualifier and properly indent methods lambda-lists.
26171 (defgeneric): Provide a missing common-lisp-indent-function property.
26172
26173 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
26174
26175 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
26176 bounds for the empty string (bug#8667).
26177
26178 2011-05-13 Glenn Morris <rgm@gnu.org>
26179
26180 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
26181
26182 * mail/sendmail.el (sendmail-program): Try executable-find first.
26183 (sendmail-send-it): `sendmail-program' cannot be unbound.
26184
26185 * calendar/appt.el (appt-make-list): Simplify.
26186 (appt-time-msg-list): Doc fix.
26187 (appt-check): Change mode-line message at the time of the appointment.
26188
26189 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
26190
26191 * progmodes/ld-script.el (ld-script-keywords)
26192 (ld-script-builtins): Update keywords list.
26193
26194 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
26195
26196 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
26197
26198 * shell.el (shell-completion-vars): New function.
26199 (shell-mode):
26200 * simple.el (read-shell-command): Use it.
26201 (blink-matching-open): No need for " [...]" in minibuffer-message.
26202
26203 2011-05-12 Glenn Morris <rgm@gnu.org>
26204
26205 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
26206 (appt-check): Simplify.
26207
26208 2011-05-12 Eli Zaretskii <eliz@gnu.org>
26209
26210 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
26211 literal "/dev/null".
26212
26213 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
26214
26215 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
26216 Fix typo.
26217
26218 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
26219
26220 * progmodes/which-func.el (which-function):
26221 Use add-log-current-defun instead of add-log-current-defun-function,
26222 which might not be defined (Bug#8260).
26223
26224 2011-05-12 Glenn Morris <rgm@gnu.org>
26225
26226 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
26227 Let byte-compile-initial-macro-environment always take precedence.
26228
26229 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
26230
26231 * net/rcirc.el: Add support for SSL/TLS connections.
26232 (rcirc-server-alist): New field `encryption'.
26233 (rcirc): Check `encryption' settings.
26234 (rcirc-connect): New arg `encryption'. Use open-network-stream.
26235 Merge make-local-variable into `set'.
26236 (rcirc--connection-open-p): New function.
26237 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
26238 the process is not a network process (e.g. running gnutls-cli).
26239 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
26240 Make rcirc-(en|de)code-coding-system local here.
26241 (rcirc-mode): Merge make-local-variable into `set'.
26242 (rcirc-parent-buffer): Make permanent buffer-local.
26243 (rcirc-multiline-minor-mode): Don't do it here.
26244 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
26245 there's no server buffer.
26246
26247 2011-05-11 Glenn Morris <rgm@gnu.org>
26248
26249 * newcomment.el (comment-kill): Prefix "unused" local.
26250
26251 * term/w32console.el (get-screen-color): Declare.
26252
26253 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
26254 Handle symbol elements of byte-compile-initial-macro-environment.
26255
26256 2011-05-10 Leo Liu <sdl.web@gmail.com>
26257
26258 * bookmark.el (bookmark-bmenu-mode-map):
26259 Bind bookmark-bmenu-search to `/'.
26260
26261 * mail/footnote.el: Convert to utf-8 encoding.
26262 (footnote-unicode-string, footnote-unicode-regexp): New variable.
26263 (Footnote-unicode): New function.
26264 (footnote-style-alist): Add unicode style to the list.
26265 (footnote-style): Doc fix.
26266
26267 2011-05-10 Jim Meyering <meyering@redhat.com>
26268
26269 Fix doubled-word typos.
26270 * international/quail.el (quail-insert-kbd-layout): and and -> and.
26271 * kermit.el: and and -> and.
26272 * net/ldap.el (ldap-search-internal): to to -> to.
26273 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
26274 * progmodes/js.el (js-mode): and and -> and.
26275 * textmodes/artist.el (artist-move-to-xy): at at -> at.
26276 (artist-draw-region-trim-line-endings): if if -> if.
26277 And Safetyc -> Safety.
26278 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a.
26279
26280 2011-05-10 Glenn Morris <rgm@gnu.org>
26281 Stefan Monnier <monnier@iro.umontreal.ca>
26282
26283 * files.el (hack-one-local-variable-eval-safep):
26284 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
26285
26286 2011-05-10 Glenn Morris <rgm@gnu.org>
26287
26288 * calendar/diary-lib.el (diary-list-entries-hook)
26289 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
26290 (diary-nongregorian-marking-hook, diary-list-entries)
26291 (diary-include-other-diary-files, diary-mark-entries)
26292 (diary-mark-included-diary-files): Doc fixes.
26293
26294 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
26295
26296 * misc.el: Require tabulated-list.el during compilation.
26297
26298 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
26299
26300 * progmodes/compile.el (compilation-start):
26301 Run compilation-filter-hook for the async case too.
26302 (compilation-filter-hook): Doc fix.
26303
26304 2011-05-09 Deniz Dogan <deniz@dogan.se>
26305
26306 * wdired.el: Remove outdated installation comment. Fix usage
26307 comment.
26308
26309 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
26310
26311 * misc.el: Implement new command `list-dynamic-libraries'.
26312 (list-dynamic-libraries--loaded-only-p): New variable.
26313 (list-dynamic-libraries--refresh): New function.
26314 (list-dynamic-libraries): New command.
26315
26316 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
26317
26318 * progmodes/compile.el (compilation-error-regexp-alist-alist):
26319 Fix the ant regexp to handle end-line and end-column info from jikes.
26320 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
26321 higher priority to avoid clobbering by gnu.
26322
26323 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
26324
26325 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
26326 if the face has existing theme settings (Bug#8454).
26327
26328 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
26329
26330 * progmodes/perl-mode.el (perl-imenu-generic-expression):
26331 Only match variables declared via `my' or `our' (Bug#8261).
26332
26333 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
26334 special file names `.' and `..' (Bug#8259).
26335
26336 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
26337
26338 * progmodes/grep.el (grep-mode-font-lock-keywords):
26339 Remove buffer-changing entries.
26340 (grep-filter): New function.
26341 (grep-mode): Add it to compilation-filter-hook.
26342
26343 * progmodes/compile.el (compilation-filter-hook)
26344 (compilation-filter-start): New defvars.
26345 (compilation-filter): Call compilation-filter-hook prior to
26346 updating the process mark.
26347
26348 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
26349
26350 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
26351
26352 2011-05-07 Eli Zaretskii <eliz@gnu.org>
26353
26354 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
26355 mailclient-send-it even if window-system is nil. (Bug#8595)
26356
26357 * term/w32console.el (terminal-init-w32console):
26358 Call get-screen-color and use its output to set the frame
26359 background-mode. (Bug#8597)
26360
26361 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
26362
26363 Make bytecomp.el understand that defmethod defines funs (bug#8631).
26364 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
26365 New functions.
26366 (defgeneric, eieio--defmethod): Use them.
26367 (eieio-defgeneric): Remove.
26368 (defmethod): Call defgeneric in a way visible to the byte-compiler.
26369
26370 2011-05-07 Glenn Morris <rgm@gnu.org>
26371
26372 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
26373 Use let rather than let*.
26374 (timeclock-find-discrep): Remove unused local.
26375
26376 * calendar/diary-lib.el (diary-comment-start): Doc fix.
26377
26378 * calendar/appt.el (appt-time-msg-list): Doc fix.
26379
26380 2011-05-06 Noah Friedman <friedman@splode.com>
26381
26382 * apropos.el (apropos-print-doc): Only use
26383 emacs-lisp-docstring-fill-column when it is bound to an integer,
26384 per that variable's documentation.
26385
26386 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
26387
26388 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
26389 and warnings are not silently discarded (e.g. use -d instead of -P).
26390
26391 2011-05-06 Glenn Morris <rgm@gnu.org>
26392
26393 * calendar/appt.el (appt-message-warning-time): Doc fix.
26394 (appt-warning-time-regexp): New option.
26395 (appt-make-list): Respect appt-message-warning-time.
26396
26397 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
26398 New options.
26399 (diary-add-to-list): Strip comments from the displayed string.
26400 (diary-mode): Set comment-start and comment-end.
26401
26402 * vc/diff-mode.el (smerge-refine-subst): Declare.
26403 (diff-refine-hunk): Don't require smerge-mode when compiling.
26404
26405 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
26406
26407 * simple.el (list-processes): Return nil as the docstring says.
26408
26409 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
26410
26411 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
26412 to "".
26413 (ange-ftp-write-region, ange-ftp-insert-file-contents)
26414 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
26415 determining of binary transfer. (Bug#7383)
26416
26417 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
26418
26419 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26420 Fix port computation bug. (Bug#8618)
26421
26422 2011-05-05 Glenn Morris <rgm@gnu.org>
26423
26424 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
26425
26426 * simple.el (shell-dynamic-complete-functions)
26427 (comint-dynamic-complete-functions): Declare.
26428
26429 * net/network-stream.el (gnutls-negotiate):
26430 * simple.el (tabulated-list-print): Fix declarations.
26431
26432 * progmodes/gud.el (syntax-symbol, syntax-point):
26433 Remove unnecessary and incorrect declarations.
26434
26435 * emacs-lisp/check-declare.el (check-declare-scan):
26436 Handle byte-compile-initial-macro-environment in bytecomp.el.
26437
26438 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
26439
26440 Fix earlier half-done eieio-defmethod change (bug#8338).
26441 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
26442 Streamline and change calling convention.
26443 (defmethod): Adjust accordingly and simplify.
26444 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
26445 new eieio--defmethod.
26446 (slot-boundp): Minor CSE simplification.
26447
26448 2011-05-05 Milan Zamazal <pdm@zamazal.org>
26449
26450 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
26451 (glasses-make-readable): Use glasses-separate-capital-groups.
26452
26453 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
26454
26455 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
26456 (warning-series): Doc fix.
26457 (display-warning): Don't try to create the buffer if we just found it.
26458
26459 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
26460
26461 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
26462 (autoload-find-generated-file): New function.
26463 (generate-file-autoloads): Bind generated-autoload-file to
26464 buffer-file-name.
26465 (update-file-autoloads, update-directory-autoloads):
26466 Use autoload-find-generated-file. If called interactively, prompt for
26467 output file (Bug#7989).
26468 (batch-update-autoloads): Doc fix.
26469
26470 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
26471
26472 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
26473
26474 2011-05-04 Glenn Morris <rgm@gnu.org>
26475
26476 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
26477 function, so it follows changes in calendar-date-style.
26478 (diary-fancy-date-matcher): New function.
26479 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
26480 (diary-fancy-font-lock-fontify-region-function):
26481 Use diary-fancy-date-pattern as a function.
26482
26483 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
26484 non-numbers for `year' etc pseudo-variables. (Bug#8583)
26485
26486 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
26487
26488 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
26489 instead of positional arguments. Allow :keylist and :crlfiles
26490 arguments.
26491 (open-gnutls-stream): Call it.
26492
26493 * net/network-stream.el (network-stream-open-starttls): Adjust to
26494 call `gnutls-negotiate' with :process and :hostname arguments.
26495
26496 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
26497
26498 * minibuffer.el (completion--message): New function.
26499 (completion--do-completion, minibuffer-complete)
26500 (minibuffer-force-complete, minibuffer-complete-word): Use it.
26501 (completion--do-completion): Don't ignore completion-auto-help when in
26502 icomplete-mode.
26503
26504 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
26505 internal encoding (e.g. tibetan zero is not whitespace).
26506 (global-whitespace-mode): Prefer save-current-buffer.
26507 (whitespace-trailing-regexp): Remove useless save-match-data.
26508 (whitespace-empty-at-bob-regexp): Minor simplification.
26509
26510 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
26511
26512 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
26513
26514 2011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
26515
26516 * textmodes/ispell.el (ispell-add-per-file-word-list):
26517 Use `concat' to create string for insertion.
26518
26519 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
26520
26521 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
26522 Avoid open-line which runs post-self-insert-hook.
26523 (bibtex-fill-entry): Remove unused `end' var.
26524
26525 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
26526
26527 * textmodes/ispell.el (ispell-add-per-file-word-list):
26528 Protect against `nil' value of `comment-start' (Bug#8579).
26529
26530 2011-05-03 Leo Liu <sdl.web@gmail.com>
26531
26532 * isearch.el (isearch-yank-pop): New command.
26533 (isearch-mode-map): Bind it to `M-y'.
26534 (isearch-forward): Mention it.
26535
26536 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
26537
26538 * simple.el (minibuffer-complete-shell-command): Remove.
26539 (minibuffer-local-shell-command-map): Use completion-at-point.
26540 (read-shell-command): Setup completion vars here instead.
26541 (read-expression-map): Bind TAB to symbol completion.
26542
26543 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
26544 error directly rather via storing it into `results'.
26545
26546 2011-05-02 Leo Liu <sdl.web@gmail.com>
26547
26548 * vc/diff.el: Fix description.
26549
26550 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
26551
26552 * server.el (server-eval-at): New function.
26553
26554 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
26555
26556 * net/network-stream.el (open-network-stream): Take a :nowait
26557 parameter and pass it on to `make-network-process'.
26558 (network-stream-open-plain): Ditto.
26559
26560 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
26561
26562 * faces.el (face-spec-set-match-display): Don't match toolkit
26563 options on terminal frames.
26564
26565 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
26566
26567 * progmodes/pascal.el: Use lexical binding.
26568 (pascal-mode-map): Remove author preferences.
26569
26570 * pcomplete.el (pcomplete-std-complete): Don't abuse
26571 completion-at-point.
26572
26573 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
26574
26575 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
26576 removing code that has been dead since 1991 or so.
26577
26578 * startup.el (command-line): When warning about "_emacs", use a
26579 delayed warning to allow the user to filter it out.
26580
26581 2011-04-28 Deniz Dogan <deniz@dogan.se>
26582
26583 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
26584 user has not joined.
26585
26586 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
26587
26588 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
26589 aren't any completions at point.
26590
26591 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
26592
26593 * subr.el (display-delayed-warnings): New function.
26594 (delayed-warnings-hook): New variable.
26595
26596 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
26597
26598 * minibuffer.el (completion-at-point, completion-help-at-point):
26599 Don't presume that a given completion-at-point-function will always
26600 use the same calling convention.
26601
26602 * pcomplete.el (pcomplete-completions-at-point):
26603 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
26604 pcomplete-seen is non-nil.
26605 (pcomplete-comint-setup): Also recognize the new comint/shell
26606 completion functions.
26607 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
26608 pcomplete-seen is non-nil.
26609
26610 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
26611
26612 * calendar/icalendar.el (diary-lib): Add require statement.
26613 (icalendar--create-uid): Read out a uid from a text-property on
26614 the first character in the entry. This allows for code to add its
26615 own uid to the entry.
26616 (icalendar--convert-float-to-ical): Add export of
26617 `diary-float'-entries save for those with the optional DAY
26618 argument.
26619
26620 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
26621
26622 * subr.el (shell-quote-argument): Use alternate escaping strategy
26623 when we spot a variable reference in a string.
26624
26625 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
26626
26627 * cus-start.el (all): Define customization for debug-on-event.
26628
26629 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
26630
26631 * subr.el (shell-quote-argument): Escape correctly under Windows.
26632
26633 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
26634
26635 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
26636
26637 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
26638
26639 * net/tramp.el (tramp-process-actions): Add POS argument.
26640 Delete region between POS and (pos).
26641
26642 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26643 Use `nil' position in `tramp-process-actions' call.
26644 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
26645
26646 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
26647 position in `tramp-process-actions' call.
26648
26649 * net/trampver.el: Update release number.
26650
26651 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
26652
26653 * custom.el (defcustom): Obey lexical-binding.
26654
26655 Fix octave-inf completion problems reported by Alexander Klimov.
26656 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
26657 Inherit from octave-mode-syntax-table.
26658 (inferior-octave-mode): Set info-lookup-mode.
26659 (inferior-octave-completion-at-point): New function.
26660 (inferior-octave-complete): Use it and completion-in-region.
26661 (inferior-octave-dynamic-complete-functions): Use it as well, and use
26662 comint-filename-completion.
26663 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
26664 symbol elements which shouldn't be word elements.
26665 (octave-font-lock-keywords, octave-beginning-of-defun)
26666 (octave-function-header-regexp): Adjust regexps accordingly.
26667 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
26668
26669 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
26670
26671 * net/gnutls.el (gnutls-errorp): Declare before first use.
26672
26673 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
26674
26675 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
26676 verify-error, and verify-hostname-error parameters. Check whether
26677 default trustfile exists before going to use it. Add missing
26678 argument to gnutls-message-maybe call. Return value.
26679 Reported by Claudio Bley <claudio.bley@gmail.com>.
26680 (open-gnutls-stream): Add usage example.
26681
26682 * net/network-stream.el (network-stream-open-starttls): Give host
26683 parameter to `gnutls-negotiate'.
26684 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
26685 * subr.el (shell-quote-argument): Escape correctly under Windows.
26686
26687 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
26688
26689 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
26690 Use correct match group (bug#8438).
26691
26692 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
26693
26694 * emacs-lisp/package.el (package-built-in-p): Fix typo.
26695 (package-menu--generate): New arg specifying packages to show.
26696 (package-menu-refresh, package-menu-execute, list-packages):
26697 Callers changed.
26698 (package-show-package-list): New function, replacing deleted
26699 package--list-packages (renamed because it is non-internal).
26700
26701 * finder.el (finder-list-matches): Use package-show-package-list
26702 instead of deleted package--list-packages.
26703
26704 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
26705 Based on a previous implementation by Juanma Barranquero (Bug#8366).
26706 (vc-annotate-mode-map): Bind it to RET.
26707
26708 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
26709
26710 * progmodes/etags.el (next-file): Don't use set-buffer to change
26711 buffers (Bug#8478).
26712
26713 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
26714
26715 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
26716
26717 * apropos.el (apropos-label-face): Avoid variable-pitch face.
26718 (apropos-accumulator): Doc fix.
26719 (apropos-function, apropos-macro, apropos-command)
26720 (apropos-variable, apropos-face, apropos-group, apropos-widget)
26721 (apropos-plist): Add face property.
26722 (apropos-symbols-internal): Fix indentation.
26723 (apropos-print): Simplify help, and recognize apropos-multi-type.
26724 (apropos-print-doc): Use button-type-get to extract the button's
26725 face property. Fill docstring (Bug#8352).
26726
26727 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
26728
26729 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
26730
26731 * play/mpuz.el (mpuz-silent): Doc fix.
26732 (mpuz-mode-map): Use mapc.
26733 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
26734 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
26735 Fix typos in docstrings.
26736
26737 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
26738 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
26739
26740 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
26741
26742 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
26743
26744 * minibuffer.el (completion--do-completion): Avoid the "Next char
26745 not unique" prompt if icomplete-mode is enabled (Bug#5849).
26746
26747 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
26748 mouse-2 into unread-command-events, it is interpreted correctly.
26749
26750 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
26751 (image-toggle-display): Doc fix.
26752
26753 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
26754
26755 * textmodes/page.el (what-page): Use line-number-at-pos to
26756 calculate line number (Bug#6825).
26757
26758 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
26759
26760 * eshell/esh-mode.el (find-tag-interactive): Declare function.
26761 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
26762 Pass argument NO-DEFAULT to `find-tag-interactive'.
26763
26764 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
26765
26766 Lexical-binding cleanup.
26767
26768 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
26769 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
26770 * progmodes/ada-prj.el (ada-prj-initialize-values)
26771 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
26772 (ada-prj-show-value):
26773 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
26774 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
26775 (antlr-invalidate-context-cache, antlr-options-menu-filter)
26776 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
26777 * progmodes/bug-reference.el (bug-reference-push-button):
26778 * progmodes/fortran.el (fortran-line-length):
26779 * progmodes/glasses.el (glasses-change):
26780 * progmodes/octave-mod.el (octave-fill-paragraph):
26781 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
26782 (python-pdbtrack-grub-for-buffer, python-sentinel):
26783 * progmodes/sql.el (sql-save-connection):
26784 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
26785 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
26786 Mark unused parameters.
26787
26788 * progmodes/compile.el (compilation--flush-directory-cache)
26789 (compilation--flush-parse, compile-internal): Mark unused parameters.
26790 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
26791 (compilation-next-error-function): Remove unused variable `timestamp'.
26792
26793 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
26794 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
26795
26796 * progmodes/dcl-mode.el (dcl-end-of-command):
26797 Remove unused variable `start'.
26798 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
26799 (dcl-option-value-basic, dcl-option-value-offset)
26800 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
26801 Mark unused parameters.
26802 (dcl-save-local-variable): Remove unused variable `val'.
26803 (mode): Declare.
26804
26805 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
26806 Mark unused parameters.
26807 (delphi-ignore-changes): Move before first use.
26808 (delphi-charset-token-at): Remove unused variable `start'.
26809 (delphi-else-start): Remove unused variable `if-count'.
26810 (delphi-comment-block-start, delphi-comment-block-end):
26811 Remove unused variable `kind'.
26812 (delphi-indent-line): Remove unused variable `new-point'.
26813
26814 * progmodes/ebrowse.el (ebrowse-files-list)
26815 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
26816 Mark unused parameters. Don't quote `lambda'.
26817 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
26818 Don't quote `lambda'.
26819 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
26820 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
26821 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
26822 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
26823 Use `ignore-errors'.
26824 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
26825 (ebrowse-view/find-file-and-search-pattern)
26826 (ebrowse-view/find-member-declaration/definition):
26827 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
26828 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
26829 Rename parameter PREFIX-ARG to PREFIX.
26830 (ebrowse-tags-read-name): Remove unused variables `start' and
26831 `member-info'.
26832 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
26833 to `tags-file'.
26834
26835 * progmodes/etags.el (local-find-tag-hook): Declare.
26836 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
26837 Mark unused parameters.
26838
26839 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
26840 (executable-interpret): Mark unused parameter.
26841
26842 * progmodes/flymake.el (flymake-process-sentinel)
26843 (flymake-after-change-function)
26844 (flymake-create-temp-with-folder-structure)
26845 (flymake-get-include-dirs-dot): Mark unused parameters.
26846 (flymake-safe-delete-directory): Remove unused variable `err'.
26847
26848 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
26849 (speedbar-timer-fn, speedbar-line-text)
26850 (speedbar-change-expand-button-char, speedbar-delete-subblock)
26851 (speedbar-center-buffer-smartly): Declare functions.
26852 (gdb-find-watch-expression): Remove unused variable `array'.
26853 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
26854 (gdb-starting): Mark unused parameters.
26855 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
26856 (gdb-table-string): Remove unused variable `res'.
26857 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
26858 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
26859 (gdb-display-buffer): Remove unused variable `cur-size'.
26860
26861 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
26862 allow lexical-binding compilation.
26863 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
26864 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
26865 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
26866 Mark unused parameters.
26867 (gud-gdb-marker-filter): Remove unused variable `match'.
26868 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
26869 lambda expressions and funcall them, instead of using `fset'.
26870
26871 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
26872 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
26873
26874 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
26875 variable `header-beg'; use `let'.
26876
26877 * progmodes/icon.el (indent-icon-exp): Remove unused variables
26878 `restart', `last-sexp' and `at-do'.
26879
26880 * progmodes/js.el (js--debug): Mark unused parameter.
26881 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
26882 (js--splice-into-items): Remove unused variable `item'.
26883 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
26884
26885 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
26886 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
26887 (makefile-complete): Remove unused variable `try'.
26888 (makefile-fill-paragraph, makefile-match-function-end):
26889 Mark unused parameters.
26890
26891 * progmodes/octave-inf.el (inferior-octave-complete):
26892 Remove unused variable `proc'.
26893 (inferior-octave-output-digest): Mark unused parameter.
26894
26895 * progmodes/perl-mode.el (perl-calculate-indent):
26896 Remove unused variable `err'.
26897
26898 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
26899 (prolog-indent-line): Mark unused parameters.
26900 (prolog-indent-line): Remove unused variable `beg'.
26901
26902 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
26903 (reporter-dont-compact-list): Declare.
26904
26905 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
26906 Remove unused variable `char'.
26907 (sh-debug): Mark unused parameter.
26908 (sh-get-indent-info): Remove unused variable `start'.
26909 (sh-calculate-indent): Remove unused variable `var'.
26910
26911 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
26912 (simula-electric-keyword): Remove unused variable `null'.
26913 (simula-search-backward, simula-search-forward): Remove unused
26914 variables `begin' and `end'.
26915
26916 * progmodes/vera-mode.el (vera-guess-basic-syntax):
26917 Remove unused variable `pos'.
26918 (vera-electric-tab, vera-comment-uncomment-region):
26919 Mark unused parameters.
26920 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
26921
26922 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
26923
26924 * emacs-lisp/package.el (package--builtins, package-alist)
26925 (package-load-descriptor, package-built-in-p, package-activate)
26926 (define-package, package-installed-p)
26927 (package-compute-transaction, package-buffer-info)
26928 (package--push): Doc fix. Distinguish more clearly between
26929 version strings and version lists.
26930
26931 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
26932
26933 Lexical-binding cleanup.
26934
26935 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
26936 (5x5-make-mutate-best):
26937 * play/fortune.el (fortune-in-buffer):
26938 * play/gomoku.el (gomoku-init-display):
26939 * play/solitaire.el (solitaire, solitaire-do-check):
26940 * play/tetris.el (tetris-default-update-speed-function):
26941 Mark unused parameters.
26942
26943 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
26944 (bubbles--shift): Remove unused variable `char-org'.
26945 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
26946 (bubbles--show-images): Remove unused variable `char'.
26947
26948 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
26949 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
26950 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
26951 (decipher-analyze-buffer): Use ?\s.
26952 (decipher-make-checkpoint): Remove unused variable `mapping'.
26953
26954 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
26955
26956 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
26957 Remove unused variable `result'; use `let'.
26958
26959 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
26960 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
26961 (gametree-children-shown-p, gametree-compute-reduced-score):
26962 Use `ignore-errors'.
26963
26964 * play/handwrite.el (ps-lpr-switches): Declare.
26965 (handwrite): Remove unused variables `pmin' and `lastp'.
26966
26967 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
26968
26969 * play/landmark.el (landmark-init-display)
26970 (landmark-update-naught-weights): Mark unused parameters.
26971 (landmark-y): Remove unused variable `noise'. Simplify.
26972 (landmark-human-plays): Remove unused variable `score'.
26973
26974 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
26975 (mpuz-try-proposal): Remove unused variable `game'.
26976
26977 * play/zone.el (life-patterns): Declare.
26978
26979 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
26980
26981 * vc/vc.el (ediff-vc-internal): Declare function.
26982
26983 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26984
26985 * shell.el: Use lexical-binding and std completion UI.
26986 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
26987 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
26988 comint-preoutput-filter-functions rather than on
26989 comint-output-filter-functions.
26990 (shell-command-completion, shell--command-completion-data)
26991 (shell-filename-completion, shell-environment-variable-completion)
26992 (shell-c-a-p-replace-by-expanded-directory): New functions.
26993 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
26994 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
26995 (shell-dynamic-complete-environment-variable): Use them.
26996 (shell-dynamic-complete-as-environment-variable)
26997 (shell-dynamic-complete-as-command): Remove.
26998 (shell-match-partial-variable): Match past point.
26999 * comint.el: Clean up use of completion-at-point-functions.
27000 (comint-completion-at-point): New function.
27001 (comint-mode): Use it completion-at-point-functions.
27002 (comint-dynamic-complete): Make it obsolete.
27003 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
27004 (comint-c-a-p-replace-by-expanded-history): New function.
27005 (comint-dynamic-complete-functions)
27006 (comint-replace-by-expanded-history): Use it.
27007 * minibuffer.el (completion-table-with-terminator): Allow dynamic
27008 termination strings. Try harder to avoid second try-completion.
27009 (completion-in-region-mode-map): Disable bindings that don't work yet.
27010
27011 * comint.el: Use lexical-binding. Require CL.
27012 (comint-dynamic-complete-functions): Use comint-filename-completion.
27013 (comint-completion-addsuffix): Tweak custom type.
27014 (comint-filename-completion, comint--common-suffix)
27015 (comint--common-quoted-suffix, comint--table-subvert)
27016 (comint--complete-file-name-data): New functions.
27017 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
27018 (comint-dynamic-list-filename-completions): Use them.
27019 (comint-dynamic-simple-complete): Make obsolete.
27020
27021 * minibuffer.el (completion-in-region-mode):
27022 Keep completion-in-region-mode--predicate global.
27023 (completion-in-region--postch):
27024 Assume completion-in-region-mode--predicate is not null.
27025
27026 * progmodes/flymake.el (flymake-start-syntax-check-process):
27027 Obey `dir'. Simplify.
27028
27029 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
27030 we're in VC after all.
27031
27032 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
27033
27034 * vc/vc.el (vc-diff-build-argument-list-internal)
27035 (vc-version-ediff, vc-ediff): New commands.
27036 (vc-version-diff): Use vc-diff-build-argument-list-internal.
27037
27038 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
27039
27040 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
27041 add sanity check.
27042
27043 * obsolete/erc-hecomplete.el: Make obsolete.
27044 * obsolete/: Standardize obsolescence info in the header.
27045
27046 2011-04-20 Glenn Morris <rgm@gnu.org>
27047
27048 * calendar/solar.el (solar-horizontal-coordinates):
27049 Use the longitude argument rather than `calendar-longitude'.
27050 (solar-date-next-longitude): Remove unused locals.
27051
27052 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
27053
27054 * whitespace.el: New version 13.2.1.
27055
27056 2011-04-20 felix <EmacsWiki> (tiny change)
27057
27058 * whitespace.el (global-whitespace-mode): Keep highlight when
27059 switching between major modes on a file.
27060
27061 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
27062
27063 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
27064 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
27065 multi-line comments as well.
27066
27067 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
27068
27069 Lexical-binding cleanup.
27070
27071 * arc-mode.el (archive-mode-revert):
27072 * cmuscheme.el (scheme-interactively-start-process):
27073 * custom.el (custom-initialize-delay):
27074 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
27075 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
27076 * emacs-lock.el (emacs-lock-clear-sentinel):
27077 * ezimage.el (defezimage):
27078 * follow.el (follow-avoid-tail-recenter):
27079 * fringe.el (set-fringe-mode-1):
27080 * generic-x.el (bat-generic-mode-compile):
27081 * help-mode.el (help-info-variable, help-do-xref)
27082 (help-mode-revert-buffer):
27083 * help.el (view-emacs-todo):
27084 * iswitchb.el (iswitchb-completion-help):
27085 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
27086 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
27087 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
27088 * locate.el (locate-update):
27089 * longlines.el (longlines-encode-region)
27090 (longlines-after-change-function):
27091 * outline.el (outline-isearch-open-invisible):
27092 * ps-def.el (declare-function, charset-dimension, char-width)
27093 (encode-char):
27094 * ps-mule.el (ps-mule-plot-string):
27095 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
27096 (recentf-edit-list-select, recentf-edit-list-validate)
27097 (recentf-open-files-action):
27098 * rect.el (delete-whitespace-rectangle-line)
27099 (rectangle-number-line-callback):
27100 * register.el (window-configuration-to-register)
27101 (frame-configuration-to-register):
27102 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
27103 * select.el (xselect-convert-to-string, xselect-convert-to-length)
27104 (xselect-convert-to-targets, xselect-convert-to-delete)
27105 (xselect-convert-to-filename, xselect-convert-to-charpos)
27106 (xselect-convert-to-lineno, xselect-convert-to-colno)
27107 (xselect-convert-to-os, xselect-convert-to-host)
27108 (xselect-convert-to-user, xselect-convert-to-class)
27109 (xselect-convert-to-name, xselect-convert-to-integer)
27110 (xselect-convert-to-atom, xselect-convert-to-identity):
27111 * subr.el (declare, ignore, process-kill-without-query)
27112 (text-clone-maintain):
27113 * terminal.el (te-get-char, te-tic-sentinel):
27114 * tool-bar.el (tool-bar-make-keymap):
27115 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
27116 * type-break.el (type-break-mode, type-break-noninteractive-query):
27117 * view.el (View-back-to-mark):
27118 * wid-browse.el (widget-browse-action, widget-browse-widget)
27119 (widget-browse-widgets, widget-browse-sexp):
27120 * widget.el (define-widget-keywords):
27121 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
27122 Mark unused parameters.
27123
27124 * align.el (align-adjust-col-for-rule): Mark unused parameter.
27125 (align-areas): Remove unused variable `look'.
27126 (align-region): Remove unused variables `real-end' and `pos-list'.
27127
27128 * apropos.el (apropos-score-doc): Remove unused variable `i'.
27129
27130 * bindings.el (mode-line-modified, mode-line-remote):
27131 Mark unused parameters.
27132 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
27133
27134 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
27135 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
27136
27137 * comint.el (comint-history-isearch-pop-state)
27138 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
27139 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
27140 (comint-substitute-in-file-name): Doc fix.
27141
27142 * completion.el (cmpl-statistics-block): Mark unused parameter.
27143 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
27144 (save-completions-to-file, load-completions-from-file):
27145 Remove unused local variable `e'.
27146
27147 * composite.el (compose-chars): Remove unused variable `len'.
27148 (lgstring-insert-glyph): Remove unused variable `g'.
27149 (compose-glyph-string): Remove unused variables `ascent',
27150 `descent', `lbearing' and `rbearing'.
27151 (compose-glyph-string-relative): Remove unused variables
27152 `lbearing', `rbearing' and `wadjust'.
27153 (compose-gstring-for-graphic): Remove unused variables `header',
27154 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
27155 (compose-gstring-for-terminal): Remove unused variables `header'
27156 and `nchars'. Use `let', not `let*'.
27157
27158 * cus-edit.el (Custom-set, Custom-save, custom-reset)
27159 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
27160 (Custom-buffer-done, custom-buffer-create-internal)
27161 (custom-browse-visibility-action, custom-browse-group-tag-action)
27162 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
27163 (widget-magic-mouse-down-action, custom-toggle-parent)
27164 (custom-add-parent-links, custom-toggle-hide-variable)
27165 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
27166 (custom-toggle-hide-face, face, hook, custom-group-link-action)
27167 (custom-face-menu-create, custom-variable-menu-create, get)
27168 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
27169 (custom-reset-standard-save-and-update): Remove unused variable `value'.
27170 (customize-apropos): Remove unused variable `tests'.
27171 (custom-group-value-create): Remove unused variable `hidden-p'.
27172 (sort-fold-case): Declare.
27173
27174 * cus-theme.el (custom-reset-standard-faces-list)
27175 (custom-reset-standard-variables-list): Declare.
27176 (customize-create-theme, custom-theme-revert, custom-theme-write)
27177 (custom-theme-choose-mode, customize-themes, custom-theme-save):
27178 Mark unused parameters.
27179
27180 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
27181
27182 * delim-col.el (delimit-columns-max): Move defvar before first use.
27183
27184 * descr-text.el (describe-char-categories): Don't quote `lambda'.
27185 (describe-char): Don't quote `lambda'. Mark unused parameter.
27186
27187 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
27188 (auto-insert): Declare.
27189 (desktop-restore-file-buffer): Rename desktop-* parameters;
27190 mark unused ones.
27191 (desktop-create-buffer): Rename desktop-* parameters and bind them.
27192 (desktop-buffer): Rename desktop-* parameters.
27193
27194 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
27195 (dframe-reposition-frame-xemacs, dframe-help-echo)
27196 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
27197 Mark unused parameters.
27198
27199 * dired-aux.el (backup-extract-version-start, overwrite-query)
27200 (overwrite-backup-query, rename-regexp-query)
27201 (rename-non-directory-query): Declare.
27202 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
27203 (dired-add-entry): Remove unused variable `orig-file-name'.
27204 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
27205 Use parameter PRESERVE-TIME instead of accessing dynamic variable
27206 `dired-copy-preserve-time' directly.
27207 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
27208 (dired-insert-subdir-newpos): Rename unused variable `pos'.
27209
27210 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
27211 (dired-virtual-revert, dired-make-relative-symlink):
27212 Mark unused parameters.
27213 (manual-program): Declare.
27214 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
27215 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
27216 wrapped in `with-no-warnings' to avoid replacing one warning by another.
27217
27218 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
27219
27220 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
27221
27222 * echistory.el (electric-history-in-progress, Helper-return-blurb):
27223 Declare.
27224
27225 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
27226
27227 * electric.el (Electric-command-loop): Rename parameter
27228 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
27229
27230 * expand.el (expand-in-literal): Remove unused variable `here'.
27231
27232 * facemenu.el (facemenu-add-new-color):
27233 Remove unused variable `docstring'.
27234
27235 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
27236 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
27237 (face-attr-construct): Mark unused parameter. Doc fix.
27238 (read-color): Remove unused variable `hex-string'.
27239
27240 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
27241 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
27242 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
27243 (display-buffer-other-frame): Remove unused variable `old-window'.
27244 (kill-buffer-hook): Declare.
27245 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
27246 Mark unused parameters.
27247 (after-find-file): Pass 1 to `auto-save-mode', not t.
27248
27249 * files-x.el (auto-insert): Declare.
27250 (modify-file-local-variable-prop-line): Remove unused variable `val'.
27251
27252 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
27253 variable `buf'. Mark unused parameter.
27254 (find-lisp-insert-directory): Mark unused parameter.
27255
27256 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
27257 (format-encode-region): Remove unused variables `cur-buf' and `result'.
27258 (format-common-tail): Remove, unused.
27259 (format-deannotate-region): Remove unused variable `loc'.
27260 (format-annotate-region): Remove unused variable `p'.
27261 (format-annotate-single-property-change): Remove unused variables
27262 `default' and `tail'.
27263
27264 * forms.el (read-file-filter): Declare.
27265 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
27266
27267 * frame.el (frame-creation-function-alist): Mark unused parameter.
27268 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
27269
27270 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
27271 Remove unused parameters.
27272 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
27273 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
27274
27275 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
27276 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
27277 (hfy-prepare-tag-map): Mark unused parameters.
27278 (htmlfontify-buffer): Use `called-interactively-p'.
27279
27280 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
27281 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
27282 (ibuffer-do-occur): Mark unused parameters.
27283 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
27284 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
27285
27286 * ibuffer.el: Don't quote `lambda'.
27287 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
27288 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
27289 Mark unused parameters.
27290
27291 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
27292 (ido-completing-read): Mark unused parameters.
27293 (ido-copy-current-word): Mark unused parameters;
27294 remove unused variable `name'.
27295 (ido-sort-merged-list): Remove unused parameter `dirs'.
27296
27297 * ielm.el (ielm-input-sender): Mark unused parameter.
27298 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
27299 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
27300 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
27301 `ielm-string' as a dynamic variable accessible from the IELM prompt.
27302 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
27303
27304 * image-dired.el (image-dired-display-thumbs): Remove unused
27305 variables `curr-file' and `count'.
27306 (image-dired-remove-tag): Remove unused variable `start'.
27307 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
27308 variable `curr-file'
27309 (image-dired-rotate-original): Remove unused variable `temp-file'.
27310 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
27311 Remove unused variable `file'.
27312 (image-dired-gallery-generate): Remove unused variable `curr'.
27313 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
27314
27315 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
27316
27317 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
27318
27319 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
27320
27321 * isearch.el (minibuffer-history-symbol): Declare.
27322 (isearch-edit-string): Remove unused variable `err'.
27323 (isearch-message-prefix, isearch-message-suffix):
27324 Mark unused parameters.
27325
27326 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
27327
27328 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
27329
27330 * makesum.el (double-column): Remove unused variable `cnt'.
27331
27332 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
27333 (ido-ignore-item-temp-list): Declare.
27334
27335 * mouse-drag.el (mouse-drag-throw): Remove unused variables
27336 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
27337 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
27338 (mouse-drag-drag): Remove unused variables `mouse-delta' and
27339 `mouse-col-delta'.
27340
27341 * mouse-sel.el (mouse-extend-internal):
27342 Remove unused variable `orig-window-frame'.
27343
27344 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
27345 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
27346 Move declarations before first use.
27347 (pcomplete-opt): Mark unused parameters; doc fix.
27348
27349 * proced.el (proced-revert): Mark unused parameter.
27350 (proced-send-signal): Remove unused variable `err'.
27351
27352 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
27353 Rename parameter PREFIX-ARG to ARG.
27354 (ps-basic-plot-string, ps-basic-plot-whitespace):
27355 Mark unused parameters.
27356
27357 * replace.el (replace-count): Define.
27358 (occur-revert-function): Mark unused parameters.
27359 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
27360 (isearch-case-fold-search, isearch-string): Declare.
27361 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
27362 bind `case-fold-search'. Remove unused variables `beg' and `end',
27363 and simplify.
27364 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
27365 COUNT and bind `replace-count'.
27366 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
27367 to COUNT.
27368
27369 * savehist.el (print-readably, print-string-length): Declare.
27370
27371 * shadowfile.el (shadow-expand-cluster-in-file-name):
27372 Remove unused variable `cluster'.
27373 (shadow-copy-file): Remove unused variable `i'.
27374 (shadow-noquery, shadow-clusters, shadow-site-cluster)
27375 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
27376 (shadow-define-literal-group, shadow-define-regexp-group)
27377 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
27378
27379 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
27380 (shell): Use `called-interactively-p'.
27381 (shell-directory-tracker): Remove unused variable `chdir-failure'.
27382
27383 * simple.el (compilation-context-lines, comint-file-name-quote-list)
27384 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
27385 (delete-backward-char): Remove unused variable `ocol'.
27386 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
27387 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
27388 (event-apply-hyper-modifier, event-apply-shift-modifier)
27389 (event-apply-control-modifier, event-apply-meta-modifier):
27390 Mark unused parameters.
27391 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
27392 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
27393
27394 * speedbar.el (speedbar-ignored-directory-expressions)
27395 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
27396 (speedbar-find-file, speedbar-dir-follow)
27397 (speedbar-directory-buttons-follow, speedbar-tag-find)
27398 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
27399 (speedbar-buffers-line-directory, speedbar-buffer-click):
27400 Mark unused parameters.
27401 (speedbar-tag-file): Remove unused variable `mode'.
27402 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
27403
27404 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
27405
27406 * talk.el (talk): Remove unused variable `display'.
27407
27408 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
27409 (tar-write-region-annotate): Mark unused parameter.
27410
27411 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
27412 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
27413 Declare them, wrapped in `with-no-warnings' to avoid replacing one
27414 warning by another.
27415
27416 * time-stamp.el (time-stamp-string-preprocess):
27417 Remove unused variable `require-padding'.
27418
27419 * tree-widget.el (widget-glyph-enable): Declare.
27420 (tree-widget-action): Mark unused parameter.
27421
27422 * w32-fns.el (x-get-selection): Mark unused parameter.
27423 (autoload-make-program, generated-autoload-file): Declare.
27424
27425 * wdired.el (wdired-revert): Mark unused parameters.
27426 (wdired-xcase-word): Remove unused variable `err'.
27427
27428 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
27429 (whitespace-help-scroll): Remove unused variable `data-help'.
27430
27431 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
27432 (widget-image-insert, widget-after-change, default)
27433 (widget-default-format-handler, widget-default-notify)
27434 (widget-default-prompt-value, widget-info-link-action)
27435 (widget-url-link-action, widget-function-link-action)
27436 (widget-variable-link-action, widget-file-link-action)
27437 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
27438 (widget-field-prompt-internal, widget-field-action, widget-field-match)
27439 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
27440 (widget-insert-button-action, widget-delete-button-action, visibility)
27441 (widget-documentation-link-action, widget-documentation-string-action)
27442 (widget-const-prompt-value, widget-regexp-match, symbol)
27443 (widget-coding-system-prompt-value)
27444 (widget-key-sequence-value-to-external, sexp)
27445 (widget-sexp-value-to-internal, character, vector, cons)
27446 (widget-choice-prompt-value, widget-boolean-prompt-value)
27447 (widget-color--choose-action): Mark unused parameters.
27448 (widget-item-match-inline, widget-choice-match-inline)
27449 (widget-checklist-match, widget-checklist-match-inline)
27450 (widget-group-match): Rename parameter VALUES to VALS.
27451 (widget-field-value-set): Remove unused variable `size'.
27452 (widget-color-action): Remove unused variables `value' and `start'.
27453
27454 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
27455 variable `dir'. Doc fix.
27456 (windmove-find-other-window): Don't pass it.
27457
27458 * window.el (count-windows): Mark unused parameter.
27459 (bw-adjust-window): Remove unused variable `err'.
27460
27461 * woman.el (woman-file-name): Remove unused variable `default'.
27462 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
27463 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
27464 (global-font-lock-mode): Declare.
27465 (woman-decode-region): Mark unused parameter.
27466 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
27467
27468 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
27469 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
27470 (x-dnd-handle-moz-url): Remove unused variable `title'.
27471 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
27472
27473 * xml.el (xml-parse-tag, xml-parse-attlist):
27474 Remove unused variable `pos'.
27475
27476 2011-04-19 Glenn Morris <rgm@gnu.org>
27477
27478 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
27479 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
27480 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
27481 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
27482 * calendar/cal-html.el (cal-html-insert-minical):
27483 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
27484 (calendar-mark-date-pattern):
27485 Prefix "unused" locals.
27486
27487 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
27488 optional argument `style'.
27489
27490 * calendar/appt.el (appt-make-list):
27491 * calendar/cal-china.el (calendar-chinese-date-string):
27492 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
27493 (diary-hebrew-yahrzeit):
27494 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
27495 * calendar/calendar.el (calendar-generate-window):
27496 * calendar/time-date.el (time-to-days):
27497 Remove unused local variables.
27498
27499 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
27500
27501 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
27502 glyphless-char-display table.
27503 (tabulated-list-glyphless-char-display): New var.
27504
27505 2011-04-18 Sam Steingold <sds@gnu.org>
27506
27507 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
27508 to acknowledgments.
27509
27510 2011-04-17 Glenn Morris <rgm@gnu.org>
27511
27512 * calendar/diary-lib.el (diary-sexp-entry):
27513 * calendar/holidays.el (holiday-sexp):
27514 Set debug-on-error rather than the removed stack-trace-on-error.
27515
27516 2011-04-16 Glenn Morris <rgm@gnu.org>
27517
27518 * progmodes/f90.el: Use lexical-binding.
27519 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
27520
27521 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
27522
27523 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
27524 (mail-mode): Setup mailalias completion here instead.
27525 * mail/mailalias.el: Use lexical-binding.
27526 (pattern, mailalias-done): Declare dynamic.
27527 (mail-completion-at-point-function): New function, from mail-complete.
27528 (mail-complete): Use it.
27529 (mail-completion-expand): New function.
27530 (mail-get-names): Use it.
27531 (mail-directory, mail-directory-process, mail-directory-stream):
27532 Don't use `pattern' for lexically bound arg.
27533
27534 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
27535
27536 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
27537 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
27538 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
27539
27540 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
27541 (byte-save-window-excursion, byte-temp-output-buffer-setup)
27542 (byte-interactive-p): Define them again, for use when inlining
27543 old code.
27544
27545 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
27546
27547 * loadup.el: Use `string-to-number', not `string-to-int'.
27548
27549 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
27550
27551 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
27552 gud-gdb-complete-command.
27553 (gud-gdb-completions): New function, from gud-gdb-complete-command.
27554 (gud-gdb-completion-at-point): New function.
27555 (gud-gdb-completions): Remove.
27556
27557 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
27558
27559 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
27560 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
27561 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
27562 whether `executable-find' is bound.
27563
27564 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
27565
27566 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
27567
27568 * minibuffer.el (completion-in-region-mode-predicate)
27569 (completion-in-region-mode--predicate): New vars.
27570 (completion-in-region, completion-in-region--postch)
27571 (completion-in-region-mode): Use them.
27572 (completion--capf-wrapper): Also return the hook function.
27573 (completion-at-point, completion-help-at-point):
27574 Adjust and provide a predicate.
27575
27576 Preserve arg names for advice of subr and lexical functions (bug#8457).
27577 * help-fns.el (help-function-arglist): Consolidate the subr and
27578 new-byte-code cases. Add argument `preserve-names' to extract names
27579 from the docstring when needed.
27580 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
27581 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
27582 (ad-arglist): Use help-function-arglist's new arg.
27583 (ad-definition-type): Use cond.
27584
27585 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
27586
27587 * autorevert.el (auto-revert-handler):
27588 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
27589 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
27590 Don't quote lambda.
27591
27592 * image-mode.el (image-transform-set-scale):
27593 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
27594
27595 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
27596
27597 * net/network-stream.el (network-stream-open-starttls): Only do
27598 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
27599 Upgrades via gnutls-cli are too slow to be done opportunistically.
27600
27601 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
27602
27603 * dframe.el (dframe-current-frame): Remove spurious quote.
27604
27605 2011-04-12 Glenn Morris <rgm@gnu.org>
27606
27607 * calendar/cal-tex.el (cal-tex-end-document):
27608 Try to automatically use latin1 input if needed.
27609
27610 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
27611 Don't try to cons a mark onto an empty element.
27612
27613 2011-04-11 Leo Liu <sdl.web@gmail.com>
27614
27615 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
27616 buffers.
27617 (ido-kill-buffer-at-head): Support killing virtual buffers.
27618
27619 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
27620
27621 * minibuffer.el (completion-show-inline-help): New var.
27622 (completion--do-completion, minibuffer-complete)
27623 (minibuffer-force-complete, minibuffer-complete-word):
27624 Inhibit minibuffer messages if completion-show-inline-help is nil.
27625
27626 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
27627 to avoid interference from inline help (Bug#5849).
27628
27629 2011-04-10 Leo Liu <sdl.web@gmail.com>
27630
27631 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
27632 Fix typo.
27633
27634 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
27635
27636 * image-mode.el (image-toggle-display-image): Signal an error if
27637 not in Image mode.
27638 (image-transform-mode, image-transform-resize)
27639 (image-transform-set-rotation): Doc fix.
27640 (image-transform-set-resize): Delete.
27641 (image-transform-set-scale, image-transform-fit-to-height)
27642 (image-transform-fit-to-width): Handle image-toggle-display-image
27643 and image-transform-resize directly.
27644
27645 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
27646
27647 * doc-view.el (doc-view-fit-width-to-window)
27648 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
27649 New functions for fitting the shown image to the Emacs window size.
27650 (doc-view-mode-map): Add bindings for the new functions.
27651
27652 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
27653
27654 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
27655 Fix typo in docstring.
27656
27657 2011-04-08 Eli Zaretskii <eliz@gnu.org>
27658
27659 * files.el (file-size-human-readable): Produce one digit after
27660 decimal, like "ls -lh" does.
27661
27662 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
27663 the file size representation.
27664
27665 * simple.el (list-processes): If async subprocesses are not
27666 available, error out with a clear error message.
27667
27668 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
27669
27670 * help.el (help-form-show): New function, to be called from C.
27671 Put help-form output in a buffer named differently than *Help*.
27672
27673 2011-04-08 Eli Zaretskii <eliz@gnu.org>
27674
27675 * files.el (file-size-human-readable): New function.
27676
27677 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
27678 computing the representation inline. Don't require `cl'.
27679
27680 2011-04-08 Glenn Morris <rgm@gnu.org>
27681
27682 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
27683
27684 * net/browse-url.el (browse-url-firefox):
27685 Test system-type, not system-configuration.
27686
27687 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
27688 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
27689 Use log-edit-empty-buffer-p. (Bug#7598)
27690
27691 * net/rlogin.el (rlogin-process-connection-type): Simplify.
27692 (rlogin-mode-map): Initialize in the defvar.
27693 (rlogin): Use ignore-errors.
27694
27695 * replace.el (occur-mode-map): Some fixes for menu items.
27696
27697 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
27698
27699 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
27700
27701 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
27702
27703 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
27704 issuing unused warnings.
27705
27706 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
27707 macro directly.
27708
27709 * simple.el: Lisp reimplement of list-processes. Based on an
27710 earlier reimplementation by Leo Liu, but using tabulated-list.el.
27711 (process-menu-mode): New major mode.
27712 (list-processes--refresh, list-processes):
27713 (process-menu-visit-buffer): New functions.
27714
27715 * files.el (save-buffers-kill-emacs): Don't assume any return
27716 value of list-processes, which is undocumented anyway.
27717
27718 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
27719
27720 * emacs-lisp/tabulated-list.el: New file.
27721
27722 * emacs-lisp/package.el: Use Tabulated List mode.
27723 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
27724 (package-menu-mode): Derive from tabulated-list-mode. Set up the
27725 table format using Tabulated List mode variables.
27726 (package--push): New macro, replacing package-list-maybe-add.
27727 (package-menu--generate): Use package--push. Renamed from
27728 package--generate-package-list.
27729 (package-menu-refresh, list-packages): Use it.
27730 (package-menu--print-info): Rename from package-print-package.
27731 Return insertion data instead of inserting it directly.
27732 (package-menu-describe-package, package-menu-execute):
27733 Use tabulated-list-get-id.
27734 (package-menu-mark-delete, package-menu-mark-install)
27735 (package-menu-mark-unmark, package-menu-backup-unmark)
27736 (package-menu-mark-obsolete-for-deletion):
27737 Use tabulated-list-put-tag.
27738 (package--list-packages, package-menu-revert)
27739 (package-menu-get-package, package-menu-get-version)
27740 (package-menu-sort-by-column): Functions deleted.
27741 (package-menu-package-list, package-menu-sort-key): Vars deleted.
27742 (package-menu--status-predicate, package-menu--version-predicate)
27743 (package-menu--name-predicate)
27744 (package-menu--description-predicate): Handle arguments in the
27745 Tabulated List format.
27746 (package-list-packages-no-fetch): Call list-packages.
27747
27748 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
27749
27750 * files.el (after-find-file-from-revert-buffer): Remove variable.
27751 (after-find-file): Don't bind it.
27752 (revert-buffer-in-progress-p): New variable.
27753 (revert-buffer): Bind it.
27754 Pass nil for `after-find-file-from-revert-buffer'.
27755
27756 * saveplace.el (save-place-find-file-hook): Use new variable
27757 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
27758
27759 2011-04-06 Glenn Morris <rgm@gnu.org>
27760
27761 * Makefile.in (AUTOGEN_VCS): New variable.
27762 (autoloads): Use $AUTOGEN_VCS.
27763
27764 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
27765 * calendar/calendar.el (calendar-mode-map):
27766 Check for toolkit scroll bars. (Bug#8305)
27767
27768 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
27769
27770 * minibuffer.el (completion-in-region--postch)
27771 (completion-in-region-mode): Remove unnecessary messages.
27772
27773 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
27774
27775 * font-lock.el (font-lock-refresh-defaults):
27776 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
27777 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
27778
27779 * info.el (Info-directory-list, Info-read-node-name-2)
27780 (Info-split-parameter-string): Doc fixes.
27781 (Info-virtual-nodes): Reflow docstring.
27782 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
27783 (Info-apropos-toc-nodes, info-finder, Info-get-token)
27784 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
27785 Fix typos in docstrings.
27786 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
27787 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
27788 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
27789 (Info-restore-desktop-buffer): Mark unused parameters.
27790 (Info-directory-find-file, Info-directory-find-node)
27791 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
27792 (Info-virtual-index-find-node, Info-apropos-find-file)
27793 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
27794 Mark unused parameters; fix typos in docstrings.
27795 (Info-virtual-index): Remove unused local variable `nodename'.
27796
27797 2011-04-05 Deniz Dogan <deniz@dogan.se>
27798
27799 * net/rcirc.el: Update my e-mail address.
27800 (rcirc-mode-map): Remove M-o binding.
27801
27802 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
27803
27804 * startup.el (command-line): Save the cursor's theme-face
27805 directly, instead of using face-override-spec.
27806
27807 * custom.el (load-theme): Minor optimization in assigning faces.
27808
27809 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27810
27811 * help-fns.el (describe-variable): Complete all variables having
27812 documentation, including keywords.
27813 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
27814
27815 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27816
27817 Convert to lexical-binding.
27818
27819 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
27820 (bs--get-marked-string, bs--get-modified-string)
27821 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
27822 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
27823 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
27824
27825 * ehelp.el (electric-help-execute-extended)
27826 (electric-help-ctrl-x-prefix):
27827 * hexl.el (hexl-revert-buffer-function):
27828 * linum.el (linum-after-change, linum-after-scroll):
27829 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
27830
27831 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
27832
27833 2011-04-04 Daiki Ueno <ueno@unixuser.org>
27834
27835 * epa-dired.el:
27836 * epa-mail.el:
27837 * epa-hook.el:
27838 * epa-file.el:
27839 * epa.el:
27840 * epg.el: Use lexical binding.
27841
27842 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
27843
27844 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
27845
27846 * textmodes/flyspell.el (flyspell-word): Recognize default
27847 dictionary case for flyspell-mark-duplications-exceptions.
27848 Use regexp matching for languages.
27849 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
27850 default dictionary (Bug#7926).
27851
27852 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
27853
27854 * emacs-lisp/package.el (package--with-work-buffer):
27855 Recognize https URLs.
27856
27857 * net/network-stream.el: Move from gnus/proto-stream.el.
27858 Change prefix to network-stream throughout.
27859 (open-protocol-stream): Merge into open-network-stream, leaving
27860 open-protocol-stream as an alias. Handle nil BUFFER args.
27861
27862 * subr.el (open-network-stream): Move to net/network-stream.el.
27863
27864 2011-04-02 Glenn Morris <rgm@gnu.org>
27865
27866 * find-dired.el (find-exec-terminator): New option.
27867 (find-ls-option): Test for -ls support.
27868 (find-ls-subdir-switches): Test for -b in find-ls-option.
27869 (find-dired, find-grep-dired): Doc fixes.
27870 (find-dired): Use find-exec-terminator.
27871
27872 * find-dired.el (find-ls-option, find-ls-subdir-switches)
27873 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
27874 (find-name-arg): Remove purecopy.
27875
27876 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
27877 (grep-compute-defaults): Check for `-exec COMMAND +' support.
27878 Set grep-find-use-xargs, grep-find-command, and grep-find-template
27879 accordingly. Don't add the null-device if not needed.
27880
27881 * files.el (save-some-buffers): Doc fix.
27882
27883 2011-04-02 Eli Zaretskii <eliz@gnu.org>
27884
27885 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
27886
27887 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
27888
27889 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
27890 Use `dolist' rather than `mapcar'.
27891
27892 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
27893
27894 Add lexical binding.
27895
27896 * subr.el (apply-partially): Use new closures rather than CL.
27897 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
27898 (dolist, dotimes): Use slightly different expansion for lexical code.
27899 (functionp): Move to C.
27900 (letrec): New macro.
27901 (with-wrapper-hook): Use it and apply-partially instead of CL.
27902 (eval-after-load): Preserve lexical-binding.
27903 (save-window-excursion, with-output-to-temp-buffer): Turn them
27904 into macros.
27905
27906 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
27907
27908 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
27909 than the arglist.
27910 (help-add-fundoc-usage): Don't add `Not documented'.
27911 (help-function-arglist): Handle closures, subroutines, and new
27912 byte-code-functions.
27913 (help-make-usage): Remove leading underscores.
27914 (describe-function-1): Handle closures.
27915 (describe-variable): Use special-variable-p for completion.
27916
27917 * files.el (lexical-binding): Declare safe.
27918
27919 * emacs-lisp/pcase.el: Don't use destructuring-bind.
27920 (pcase--memoize): Rename from pcase-memoize. Change weakness.
27921 (pcase): Add `let' pattern.
27922 Change memoization so it actually works.
27923 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
27924 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
27925 <let>: New case.
27926
27927 * emacs-lisp/macroexp.el: Use lexical binding.
27928 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
27929 Don't convert ' to #' without checking that it's indeed quoting
27930 a lambda.
27931
27932 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
27933 Use eval-sexp-add-defvars.
27934 (eval-sexp-add-defvars): New fun.
27935
27936 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
27937
27938 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
27939 Don't autoload.
27940 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
27941 than the internal `byte-compile-lambda'.
27942 (defmethod): Don't hide code under quotes.
27943 (eieio-defmethod): New `code' argument.
27944
27945 * emacs-lisp/eieio-comp.el: Remove.
27946
27947 * emacs-lisp/edebug.el (edebug-eval-defun)
27948 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
27949 (edebug-toggle): Avoid `eval'.
27950
27951 * emacs-lisp/disass.el (disassemble-internal): Handle new
27952 `closure' objects.
27953 (disassemble-1): Handle new byte codes.
27954
27955 * emacs-lisp/cl.el (pushnew): Silence warning.
27956
27957 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
27958 (cl-byte-compile-throw): Remove.
27959 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
27960
27961 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
27962 closures.
27963
27964 * emacs-lisp/cconv.el: New file.
27965
27966 * emacs-lisp/bytecomp.el: Use lexical binding instead of
27967 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
27968 (byte-compile-initial-macro-environment):
27969 Handle declare-function here.
27970 (byte-compile--lexical-environment): New var.
27971 (byte-stack-ref, byte-stack-set, byte-discardN)
27972 (byte-discardN-preserve-tos): New lap codes.
27973 (byte-interactive-p): Don't use any more.
27974 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
27975 New macros.
27976 (byte-compile-lapcode): Use them and handle new lap codes.
27977 (byte-compile-obsolete): Remove.
27978 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
27979 (byte-compile-arglist-warn): Check late def of inlinable funs.
27980 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
27981 since they should have been expanded by now.
27982 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
27983 (byte-compile-from-buffer): Remove unused second arg.
27984 (byte-compile-preprocess): New function.
27985 (byte-compile-toplevel-file-form): New function to distinguish
27986 file-form calls from outside from file-form calls from hunk-handlers.
27987 (byte-compile-file-form): Simplify.
27988 (byte-compile-file-form-defsubst): Remove.
27989 (byte-compile-file-form-defmumble): Simplify now that
27990 byte-compile-lambda always returns a byte-code-function.
27991 (byte-compile): Preprocess.
27992 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
27993 Remove, not used any more.
27994 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
27995 (byte-compile-make-args-desc): New funs.
27996 (byte-compile-lambda): Handle lexical functions. Always return
27997 a byte-code-function.
27998 (byte-compile-reserved-constants): New var, to make up room for
27999 closed-over variables.
28000 (byte-compile-constants-vector): Obey it.
28001 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
28002 (byte-compile-macroexpand-declare-function): New function.
28003 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
28004 byte-code-functions.
28005 (byte-compile-form): Check obsolescence here.
28006 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
28007 (byte-compile-variable-ref): Remove.
28008 (byte-compile-dynamic-variable-op): New fun.
28009 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
28010 (byte-compile-variable-set): New funs.
28011 (byte-compile-discard): Add 2 args.
28012 (byte-compile-stack-ref, byte-compile-stack-set)
28013 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
28014 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
28015 macroexpand-all instead.
28016 (byte-compile-quote-form): Remove.
28017 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
28018 (byte-compile-bind, byte-compile-unbind): New funs.
28019 (byte-compile-let): Handle let* and lexical binding.
28020 (byte-compile-let*): Remove.
28021 (byte-compile-catch, byte-compile-unwind-protect)
28022 (byte-compile-track-mouse, byte-compile-condition-case):
28023 Handle a new :fun-body form, used for lexical scoping.
28024 (byte-compile-save-window-excursion)
28025 (byte-compile-with-output-to-temp-buffer): Remove.
28026 (byte-compile-defun): Simplify.
28027 (byte-compile-stack-adjustment): New fun.
28028 (byte-compile-out): Use it.
28029 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
28030
28031 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
28032 handler any more.
28033
28034 * emacs-lisp/byte-opt.el: Use lexical binding.
28035 (byte-inline-lapcode): Remove (to bytecomp).
28036 (byte-compile-inline-expand): Pay attention to inlining to/from
28037 lexically bound code.
28038 (byte-compile-unfold-lambda): Don't handle byte-code-functions
28039 any more.
28040 (byte-optimize-form-code-walker): Don't handle save-window-excursion
28041 any more and don't call compiler-macros.
28042 (byte-compile-splice-in-already-compiled-code): Remove.
28043 (byte-code): Don't inline any more.
28044 (disassemble-offset): Receive `bytes' as argument rather than via
28045 dynamic scoping.
28046 (byte-compile-tag-number): Declare before first use.
28047 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
28048 `return' even if make-spliceable.
28049 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
28050 obsolete interactive-p.
28051 (byte-optimize-lapcode): Optimize new lap-codes.
28052 Don't trip up on new form of `byte-constant' lap code.
28053
28054 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
28055
28056 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
28057
28058 * custom.el (custom-initialize-default, custom-declare-variable):
28059 Use `defvar'.
28060
28061 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
28062 New variables.
28063 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
28064 (COMPILE_FIRST): Add macroexp and cconv.
28065 * makefile.w32-in: Mirror changes in Makefile.in.
28066
28067 * vc/cvs-status.el:
28068 * vc/diff-mode.el:
28069 * vc/log-edit.el:
28070 * vc/log-view.el:
28071 * vc/smerge-mode.el:
28072 * textmodes/bibtex-style.el:
28073 * textmodes/css-mode.el:
28074 * startup.el:
28075 * uniquify.el:
28076 * minibuffer.el:
28077 * newcomment.el:
28078 * reveal.el:
28079 * server.el:
28080 * mpc.el:
28081 * emacs-lisp/smie.el:
28082 * doc-view.el:
28083 * dired.el:
28084 * abbrev.el: Use lexical binding.
28085
28086 2011-04-01 Eli Zaretskii <eliz@gnu.org>
28087
28088 * info.el (info-display-manual): New function.
28089
28090 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
28091
28092 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
28093
28094 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
28095
28096 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
28097 an entry for that server in rcirc-authinfo. (Bug#8385)
28098
28099 2011-03-31 Glenn Morris <rgm@gnu.org>
28100
28101 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
28102
28103 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
28104
28105 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
28106
28107 * progmodes/python.el (python-default-interpreter)
28108 (python-python-command-args, python-jython-command-args)
28109 (python-which-shell, python-which-args, python-which-bufname)
28110 (python-file-queue, python-comint-output-filter-function)
28111 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
28112 variables and functions.
28113
28114 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
28115
28116 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
28117 (completion-in-region-mode): New minor mode.
28118 (completion-in-region): Use it.
28119 (completion-in-region--data, completion-in-region-mode-map): New vars.
28120 (completion-in-region--postch): New function.
28121 (completion--capf-misbehave-funs, completion--capf-safe-funs):
28122 New vars.
28123 (completion--capf-wrapper): New function.
28124 (completion-at-point): Use it to track well-behavedness of
28125 hook functions.
28126 (completion-help-at-point): New command.
28127
28128 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
28129
28130 * vc/add-log.el (add-change-log-entry): Don't use whitespace
28131 syntax class to search for whitespace on a single line
28132 (Message-ID: <4D938140.4030905@redhat.com>).
28133
28134 2011-03-30 Leo Liu <sdl.web@gmail.com>
28135
28136 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
28137 New commands.
28138 (edit-abbrevs-map): Bind them here.
28139 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
28140
28141 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
28142
28143 * allout.el (allout-hide-by-annotation, allout-flag-region):
28144 Reduce possibility of overlay leakage by making them volatile.
28145
28146 * allout-widgets.el (allout-widgets-tally): Define as nil so the
28147 hash is not shared between buffers. Mode initialization is
28148 responsible for giving it a useful starting value.
28149 (allout-item-span): Reduce possibility of overlay leakage by
28150 making them volatile.
28151 (allout-widgets-count-buttons-in-region): Add diagnostic function
28152 for tracking down button overlay leaks.
28153
28154 2011-03-29 Leo Liu <sdl.web@gmail.com>
28155
28156 * ido.el (ido-read-internal): Use the default history var
28157 minibuffer-history if no HISTORY is specified.
28158
28159 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
28160
28161 * net/imap.el (imap-shell-open, imap-process-connection-type):
28162 Use imap-process-connection-type for 'shell' streams as well as
28163 Kerberos, SSL, other subprocesses.
28164
28165 2011-03-28 Leo Liu <sdl.web@gmail.com>
28166
28167 * abbrev.el (abbrev-table-empty-p): New function.
28168 (prepare-abbrev-list-buffer): Place empty abbrev tables after
28169 nonempty ones. (Bug#5937)
28170
28171 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
28172
28173 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
28174
28175 2011-03-27 Leo Liu <sdl.web@gmail.com>
28176
28177 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
28178 for foreground and background colors.
28179 (ansi-color-make-color-map): Adapt.
28180
28181 2011-03-25 Leo Liu <sdl.web@gmail.com>
28182
28183 * midnight.el (midnight-time-float): Remove. Note it calculates
28184 the microsecond component incorrectly and seconds-to-time does the
28185 same job.
28186 Remove redundant (require 'timer).
28187
28188 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
28189 (ido-completions): Remove unused arguments. (Bug#8329)
28190
28191 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
28192
28193 * minibuffer.el (completion--flush-all-sorted-completions):
28194 Remove itself from hook.
28195 (completion-at-point): Let the functions perform the completion
28196 immediately and return nil or t.
28197 * comint.el (comint-dynamic-complete-functions): Now identical to
28198 completion-at-point-functions.
28199 (comint-dynamic-list-input-ring): Remove unused var `index'.
28200 (comint--match-partial-filename, comint--unquote&expand-filename):
28201 New funs, split from comint-match-partial-filename.
28202 (comint-dynamic-complete): Use completion-at-point.
28203 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
28204
28205 2011-03-24 Drew Adams <drew.adams@oracle.com>
28206
28207 * thingatpt.el: Support `defun'.
28208
28209 2011-03-23 Leo Liu <sdl.web@gmail.com>
28210
28211 * abbrevlist.el: Move to obsolete/abbrevlist.el.
28212
28213 * help-mode.el (help-mode-finish): Tweak regexp.
28214
28215 2011-03-23 Glenn Morris <rgm@gnu.org>
28216
28217 * eshell/esh-opt.el (eshell-eval-using-options):
28218 Do not bind unused local variable `eshell-option-stub'.
28219
28220 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
28221
28222 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
28223
28224 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
28225 keymap variable in `with-no-warnings' to avoid a warning when the
28226 keymap has been already `defconst'ed.
28227
28228 2011-03-22 Leo Liu <sdl.web@gmail.com>
28229
28230 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
28231 encode all chars in abbrevs; otherwise use emacs-mule or
28232 utf-8-emacs. (Bug#8308)
28233
28234 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
28235
28236 * simple.el (backward-delete-char-untabify):
28237 Avoid warning about using `delete-backward-char'.
28238
28239 * image.el (image-type-file-name-regexps): Make it variable.
28240 `imagemagick-register-types' modifies it, and the user may want
28241 to add new extensions for known image types.
28242 (imagemagick-register-types): Throw error if not using ImageMagick.
28243
28244 2011-03-22 Leo Liu <sdl.web@gmail.com>
28245
28246 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
28247 located before rcirc-prompt-end-marker.
28248 (rcirc-complete): Error if point is not after rcirc prompt.
28249 Handle the case when table is nil.
28250 (rcirc-user-authenticated): Define to fix compiler warning.
28251
28252 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
28253
28254 * custom.el (custom--inhibit-theme-enable): Make it affect only
28255 custom-theme-set-variables and custom-theme-set-faces.
28256 (provide-theme): Ignore custom--inhibit-theme-enable.
28257 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
28258 (custom-enabling-themes): Delete variable.
28259 (enable-theme): Accept only loaded themes as arguments.
28260 Ignore the special custom-enabled-themes variable.
28261 (custom-enabled-themes): Forbid themes from setting this.
28262 Eliminate use of custom-enabling-themes.
28263 (custom-push-theme): Quote "changed" custom var entry.
28264
28265 2011-03-21 Leo Liu <sdl.web@gmail.com>
28266
28267 * ido.el (ido-read-internal): Add ido-selected to history instead
28268 of user input.
28269
28270 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
28271
28272 * subr.el (deferred-action-list, deferred-action-function):
28273 Mark obsolete.
28274
28275 2011-03-21 Leo Liu <sdl.web@gmail.com>
28276
28277 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
28278 change on 2011-02-13 (bug#8309).
28279
28280 * minibuffer.el (read-file-name-function): Change default value.
28281 (read-file-name--defaults): Rename from read-file-name-defaults.
28282 (read-file-name-default): Rename from read-file-name.
28283 (read-file-name): Call read-file-name-function.
28284
28285 2011-03-21 Glenn Morris <rgm@gnu.org>
28286
28287 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
28288 Doc fixes.
28289
28290 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
28291
28292 * cus-theme.el: Add missing provide statement.
28293 (customize-create-theme): Extract theme value correctly.
28294 (custom-theme-visit-theme): Autoload.
28295 (customize-create-theme): Prompt before inserting default faces.
28296
28297 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
28298
28299 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
28300 units and musical notes.
28301
28302 2011-03-20 Leo Liu <sdl.web@gmail.com>
28303
28304 * ido.el (ido-read-internal): Use completing-read-default.
28305 (ido-completing-read): Fix compatibility with completing-read.
28306
28307 2011-03-20 Christian Ohler <ohler@gnu.org>
28308
28309 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
28310 (ert-delete-all-tests): Use `called-interactively-p' rather than
28311 `interactive-p'.
28312 (ert--make-xrefs-region): Respect END.
28313
28314 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
28315
28316 * dired-aux.el (dired-create-directory): Signal an error if the
28317 directory already exists (Bug#8246).
28318
28319 * facemenu.el (list-colors-display): Call list-faces-display
28320 inside with-help-window.
28321 (list-colors-print): Use display property to align the final
28322 column, instead of checking window-width.
28323
28324 2011-03-19 Eli Zaretskii <eliz@gnu.org>
28325
28326 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
28327 windows-nt systems.
28328 (emerge-protect-metachars): Quote correctly for ms-dos and
28329 windows-nt systems.
28330
28331 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
28332
28333 * info.el (info-initialize): Replace all uses of `:' with
28334 path-separator for compatibility with non-Unix systems.
28335 Cache quoting of path-separator. (Bug#8258)
28336
28337 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
28338
28339 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
28340 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
28341 (mouse-avoidance-mode): Fix typos in docstrings.
28342
28343 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
28344
28345 * startup.el (package-subdirectory-regexp): Move from package.el.
28346 Omit \\` and \\', and let callers add them.
28347
28348 * emacs-lisp/package.el (package-strip-version)
28349 (package-load-all-descriptors): Add \\` and \\' to
28350 package-subdirectory-regexp before using it.
28351 (package-untar-buffer): New arg DIR; ensure that file untars only
28352 into this expected directory. Remove superfluous delete-region.
28353 (package-unpack): Caller changed.
28354 (package-tar-file-info): Use package-subdirectory-regexp.
28355
28356 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
28357
28358 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
28359 diff-mode-shared-map (bug#8284).
28360 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
28361
28362 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
28363
28364 * calendar/time-date.el (format-seconds): Use assoc instead of
28365 assoc-string, since assoc-string doesn't exist in XEmacs.
28366
28367 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
28368
28369 * custom.el (custom-known-themes): Reflow docstring.
28370 (custom-theme-load-path): Fix typo in docstring.
28371 (load-theme): Fix typo in error message.
28372 (custom-available-themes, custom-variable-theme-value):
28373 Use `let', not `let*'.
28374
28375 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
28376
28377 * calc/README: Mention inclusion of musical notes.
28378
28379 * calc/calc-units.el (calc-lu-quant): Rename from
28380 `calc-logunits-quantity'.
28381 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
28382 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
28383 (calc-db): Rename from `calc-dblevel'.
28384 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
28385 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
28386 (calc-np): Rename from `calc-nplevel'.
28387 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
28388 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
28389 (calc-lu-plus): Rename from `calc-logunits-add'.
28390 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
28391 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
28392 (calc-lu-minus): Rename from `calc-logunits-sub'.
28393 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
28394 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
28395 (calc-lu-times): Rename from `calc-logunits-mul'.
28396 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
28397 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
28398 (calc-lu-divide): Rename from `calc-logunits-div'.
28399 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
28400 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
28401
28402 * calc/calc-ext.el (calc-init-extensions): Update the names of the
28403 functions being autoloaded.
28404
28405 * calc/calc.el (calc-lu-power-reference): Rename from
28406 `calc-logunits-power-reference'.
28407 (calc-lu-field-reference): Rename from
28408 `calc-logunits-field-reference'.
28409
28410 * calc/calc-help.el (calc-l-prefix-help):
28411 Mention musical note functions.
28412
28413 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
28414
28415 * minibuffer.el (completion-all-sorted-completions):
28416 Use :completion-cycle-penalty text property if present.
28417
28418 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
28419
28420 * allout.el (allout-yank-processing): Adjust for new rebulleting
28421 regime so bullet being yanked is used without prompting the user
28422 for a choice.
28423
28424 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
28425
28426 * startup.el (command-line): Warn the user that _emacs is deprecated.
28427
28428 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
28429
28430 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
28431 (delphi-verbose, delphi-comment-face, delphi-string-face)
28432 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
28433 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
28434 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
28435 (delphi-new-comment-line, delphi-font-lock-defaults)
28436 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
28437 Fix typos in docstrings.
28438
28439 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
28440
28441 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
28442 Invert the roles of character and string values for INSTEAD, so a
28443 string is used for the more common case of a defaulting prompt.
28444
28445 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
28446
28447 * progmodes/ruby-mode.el (ruby-backward-sexp):
28448 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
28449 * play/gamegrid.el (gamegrid-make-face):
28450 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
28451 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
28452 * notifications.el (notifications-notify):
28453 * net/xesam.el (xesam-search-engines):
28454 * net/quickurl.el (quickurl-list-insert):
28455 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
28456
28457 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
28458
28459 * startup.el (command-line): Update package subdirectory regexp.
28460
28461 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
28462
28463 * allout.el (allout-abbreviate-flattened-numbering)
28464 (allout-mode-deactivate-hook): Fix up obsolescence "date".
28465
28466 * subr.el (read-char-choice): Only show the cursor after the prompt,
28467 not after the answer.
28468
28469 2011-03-15 Kevin Ryde <user42@zip.com.au>
28470
28471 * help-fns.el (variable-at-point): Skip leading quotes, if any
28472 (bug#8253).
28473
28474 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
28475
28476 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
28477 warning message.
28478
28479 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
28480
28481 * shell.el (shell): When called interactively, offer to change the
28482 shell file name on remote hosts.
28483
28484 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
28485
28486 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
28487 integration for LDAP parameters. The host, base, user or binddn,
28488 and secret tokens can be specified in a netrc file, for instance.
28489 This is optional because an `auth-source' parameter must be
28490 specified in the search attributes.
28491
28492 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
28493
28494 * help.el (describe-mode): Link to the mode's definition (bug#8185).
28495
28496 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
28497
28498 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
28499 into declaration. Remove redundant and harmful binding.
28500
28501 2011-03-12 Eli Zaretskii <eliz@gnu.org>
28502
28503 * files.el (file-ownership-preserved-p): Pass `integer' as an
28504 explicit 2nd argument to `file-attributes'. If the file's owner
28505 is the Administrators group on Windows, and the current user is
28506 Administrator, consider that a match.
28507
28508 * server.el (server-ensure-safe-dir): Consider server directory
28509 safe on MS-Windows if its owner is the Administrators group while
28510 the current Emacs user is Administrator. Use `=' to compare
28511 numerical UIDs, since they could be integers or floats.
28512
28513 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
28514
28515 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
28516
28517 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
28518
28519 Sync with Tramp 2.2.1.
28520
28521 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
28522
28523 * net/trampver.el: Update release number.
28524
28525 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
28526
28527 * progmodes/compile.el (compilation--previous-directory): Fix up
28528 various nil/dead-marker mismatches (bug#8014).
28529 (compilation-directory-properties, compilation-error-properties):
28530 Don't call it at a position past the one we're about to change.
28531
28532 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
28533 Disable obsolescence warnings in the file that declares it.
28534
28535 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
28536
28537 * allout-widgets.el (allout-widgets-tally):
28538 Initialize allout-widgets-tally as a hash table rather than nil to
28539 prevent mode-line redisplay warnings. Also, clarify the module
28540 description and fix a comment typo.
28541
28542 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
28543
28544 * help-fns.el (describe-variable): Don't complete keywords.
28545 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
28546
28547 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
28548
28549 * emacs-lisp/package.el (package-version-join): Impose a standard
28550 string representation for pre/alpha/beta version lists.
28551 (package-unpack-single): Standardize the directory name by passing
28552 it through package-version-join.
28553 (package-strip-rcs-id): Accept any version string that does not
28554 signal an error in version-to-list.
28555
28556 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
28557
28558 * simple.el (delete-trailing-whitespace): Return nil for the
28559 benefit of `write-file-functions'.
28560
28561 2011-03-10 Glenn Morris <rgm@gnu.org>
28562
28563 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
28564
28565 * vc/vc-git.el (vc-git-program): New option.
28566 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
28567 (vc-git--call): Use it.
28568
28569 * eshell/esh-util.el (eshell-condition-case): Doc fix.
28570
28571 * cus-edit.el (Custom-newline): If no button at point, look
28572 for a subgroup button at start-of-line. (Bug#2298)
28573
28574 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
28575
28576 2011-03-10 Julien Danjou <julien@danjou.info>
28577
28578 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
28579 `cursor-type' is nil.
28580
28581 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
28582
28583 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
28584
28585 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
28586
28587 * allout.el: Change so yank of distinctive-bullet items
28588 preserves the existing header prefix, rebulleting it if necessary,
28589 rather than replacing it. This is necessary for proper operation
28590 of cooperative addons like allout-widgets.
28591 (allout-make-topic-prefix, allout-rebullet-heading):
28592 Change SOLICIT arg to INSTEAD, and interpret additionally a string
28593 value as alternate bullet to be used, instead of prompting the user
28594 for a bullet character.
28595
28596 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
28597
28598 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
28599 Do not use `tramp-file-name-port', because this returns also
28600 `tramp-default-port'.
28601
28602 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
28603
28604 * net/rcirc.el (rcirc-handler-001): Remove useless
28605 with-rcirc-process-buffer.
28606 (rcirc-check-auth-status): Swap arguments to string-match.
28607
28608 2011-03-09 Glenn Morris <rgm@gnu.org>
28609
28610 * shell.el (shell-mode):
28611 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
28612
28613 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
28614 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
28615
28616 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
28617
28618 * emacs-lisp/package.el (package-refresh-contents)
28619 (package-menu-execute): Use condition-case-no-debug.
28620
28621 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
28622
28623 * simple.el (shell-command-to-string): Use `process-file'.
28624
28625 * emacs-lisp/package.el (package-tar-file-info): Handle also
28626 remote files.
28627
28628 * emacs-lisp/package-x.el (package-upload-buffer-internal):
28629 Use `equal' for upload base check.
28630
28631 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
28632
28633 * textmodes/texinfo.el (texinfo-environments):
28634 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
28635
28636 2011-03-08 Glenn Morris <rgm@gnu.org>
28637
28638 * cus-start.el (cursor-in-non-selected-windows):
28639 Fix :set quoting oddness. (Bug#8192)
28640
28641 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
28642 in some setf expressions. (Bug#2159)
28643
28644 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
28645
28646 * custom.el (custom-available-themes): Return themes in
28647 alphabetical order.
28648
28649 See ChangeLog.15 for earlier changes.
28650
28651 ;; Local Variables:
28652 ;; coding: utf-8
28653 ;; End:
28654
28655 Copyright (C) 2011-2013 Free Software Foundation, Inc.
28656
28657 This file is part of GNU Emacs.
28658
28659 GNU Emacs is free software: you can redistribute it and/or modify
28660 it under the terms of the GNU General Public License as published by
28661 the Free Software Foundation, either version 3 of the License, or
28662 (at your option) any later version.
28663
28664 GNU Emacs is distributed in the hope that it will be useful,
28665 but WITHOUT ANY WARRANTY; without even the implied warranty of
28666 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28667 GNU General Public License for more details.
28668
28669 You should have received a copy of the GNU General Public License
28670 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.